:root {
  --ink: #14110f;
  --ink-2: #3b3530;
  --muted: #6f665e;
  --paper: #faf6ef;
  --paper-2: #f2ebdf;
  --line: #e3d9c9;
  --accent: #e8590c;      /* saffron */
  --accent-2: #c2410c;
  --teal: #0f766e;
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(20, 17, 15, .35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font), "Noto Sans Devanagari", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h1 em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); max-width: 22ch; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem;
  font-weight: 600; color: var(--accent-2); margin-bottom: .8em;
}
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 54ch; }
.sub { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85em 1.4em; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--ink); color: var(--paper); font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; font-family: inherit;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--accent); border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { color: #fff; }
.btn-small { padding: .55em 1.1em; font-size: .9rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 239, .85); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.scrolled { border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .95rem; }
.nav-links a:not(.btn):hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s; }

/* Hero */
.hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -200px;
  background: radial-gradient(circle, rgba(232, 89, 12, .18), transparent 65%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; position: relative; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 24px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .93rem; }
.hero-points li::before { content: "✓ "; color: var(--teal); font-weight: 700; }

/* Call card */
.call-card {
  background: var(--ink); color: #f5efe6; border-radius: 26px; padding: 22px;
  box-shadow: var(--shadow); min-height: 440px; display: flex; flex-direction: column;
}
.call-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid #2d2824; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), #f59f00); font-weight: 700; color: #fff;
}
.call-name { margin: 0; font-weight: 600; }
.call-meta { margin: 0; font-size: .82rem; color: #b5aa9c; display: flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.wave { margin-left: auto; display: flex; gap: 3px; align-items: center; height: 24px; }
.wave i { width: 3px; background: var(--accent); border-radius: 2px; height: 30%; animation: wave 1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: .1s; } .wave i:nth-child(3) { animation-delay: .2s; }
.wave i:nth-child(4) { animation-delay: .3s; } .wave i:nth-child(5) { animation-delay: .4s; }
.call-card:not(.talking) .wave i { animation-play-state: paused; }
@keyframes wave { 50% { height: 100%; } }

.transcript { list-style: none; margin: 0; padding: 16px 0; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.transcript li {
  max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: .94rem; line-height: 1.45;
  animation: rise .35s ease both;
}
.transcript li.agent { background: #2a2420; border-bottom-left-radius: 4px; }
.transcript li.caller { background: var(--accent); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.transcript li.event { align-self: center; background: transparent; color: #8fd3c9; font-size: .8rem; padding: 2px 0; }
.transcript li small { display: block; font-size: .72rem; opacity: .65; margin-bottom: 2px; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.call-foot { display: flex; gap: 18px; align-items: center; font-size: .82rem; color: #b5aa9c; padding-top: 14px; border-top: 1px solid #2d2824; }
.call-foot strong { color: #fff; }
.replay { margin-left: auto; background: none; border: 1px solid #4a423b; color: #f5efe6; border-radius: 999px; padding: 4px 12px; cursor: pointer; font: inherit; }
.replay:hover { border-color: var(--accent); }

/* Strip */
.strip { border-block: 1px solid var(--line); background: var(--paper-2); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 26px 0; gap: 20px; }
.strip strong { display: block; font-family: var(--display); font-size: 2rem; color: var(--accent-2); }
.strip span { color: var(--muted); font-size: .9rem; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--ink); color: #f1ebe2; }
.section-dark .eyebrow { color: #fb923c; }
.section-dark h2 { color: #fff; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step-n {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: var(--paper); font-weight: 700; margin-bottom: 16px;
}
.step p { color: var(--muted); margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 40px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--paper); padding: 30px; }
.feature h3::before { content: ""; display: block; width: 28px; height: 4px; background: var(--accent); border-radius: 2px; margin-bottom: 14px; }
.feature p { color: var(--muted); margin: 0; }

/* Languages */
.langs { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 24px; }
.lang {
  font: inherit; font-size: 1.05rem; font-weight: 600; padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; cursor: pointer; color: var(--ink);
  transition: all .15s;
}
.lang small { font-weight: 400; color: var(--muted); font-size: .78rem; margin-left: 4px; }
.lang:hover, .lang.active { border-color: var(--accent); background: var(--accent); color: #fff; }
.lang:hover small, .lang.active small { color: #ffe8d9; }
.lang-soon { border-style: dashed; background: transparent; color: var(--muted); font-weight: 500; font-size: .9rem; cursor: default; }
.lang-soon:hover { background: transparent; color: var(--muted); border-color: var(--line); }
.greet {
  margin: 0; padding: 26px 30px; background: var(--ink); color: #fff; border-radius: var(--radius);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem); font-family: var(--display), "Noto Sans Devanagari", serif;
  min-height: 96px; position: relative;
}
.greet::before { content: "Priya says"; display: block; font-family: var(--font); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #fb923c; margin-bottom: 8px; }

/* Cases */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.case { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case p { color: var(--muted); margin: 0; }

/* Pricing */
.currency { display: inline-flex; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin: 24px 0 32px; }
.currency button { font: inherit; font-weight: 600; border: 0; background: none; padding: 8px 18px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.currency button[aria-selected="true"] { background: var(--ink); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; position: relative; }
.plan ul { list-style: none; padding: 0; margin: 8px 0 26px; flex: 1; }
.plan li { padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.plan li::before { content: "✓"; color: var(--teal); font-weight: 700; margin-right: 8px; }
.plan-featured { background: var(--ink); color: #f1ebe2; border-color: var(--ink); transform: translateY(-10px); box-shadow: var(--shadow); }
.plan-featured li { border-color: #3a332e; }
.plan-featured li::before { color: #fb923c; }
.plan-featured .plan-note { color: #b5aa9c; }
.plan-featured .btn { background: var(--accent); border-color: var(--accent); }
.tag { position: absolute; top: -12px; left: 30px; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; margin: 0; }
.price { font-family: var(--display); font-size: 3rem; font-weight: 700; margin: 4px 0 4px; line-height: 1; }
.price small { font-family: var(--font); font-size: 1rem; font-weight: 500; color: var(--muted); margin-left: 4px; }
.plan-note { color: var(--muted); font-size: .93rem; }
.pricing-facts { list-style: none; padding: 0; margin: 36px 0 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.pricing-facts li { background: var(--paper-2); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; font-size: .9rem; font-weight: 500; }
.fine { font-size: .82rem; color: var(--muted); }

/* Developers */
.dev-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.ticks { list-style: none; padding: 0; }
.ticks li { padding: 6px 0; }
.ticks li::before { content: "→ "; color: #fb923c; }
.code {
  margin: 0; background: #0b0908; border: 1px solid #2d2824; border-radius: var(--radius); padding: 24px;
  overflow-x: auto; font-size: .86rem; line-height: 1.6; color: #e7dfd4;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
}
.code .c { color: #7d7268; } .code .s { color: #fdba74; } .code .k { color: #5eead4; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 12px 0 0; }

/* Waitlist */
.section-cta { background: linear-gradient(160deg, var(--paper-2), #fde7d6); }
.section-cta h2 { max-width: none; }
.waitlist { margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: grid; gap: 16px; box-shadow: var(--shadow); }
.waitlist .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.waitlist label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.waitlist input, .waitlist select {
  font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper);
}
.waitlist input:focus, .waitlist select:focus { outline: none; border-color: var(--accent); background: #fff; }
.waitlist input.invalid { border-color: #dc2626; }
.waitlist .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.form-msg { margin: 0; font-weight: 500; min-height: 1.4em; }
.form-msg.ok { color: var(--teal); } .form-msg.err { color: #dc2626; }

/* Footer */
.footer { background: var(--ink); color: #b5aa9c; padding: 48px 0; font-size: .92rem; }
.footer .brand { color: #fff; margin-bottom: 8px; }
.footer-grid { display: grid; grid-template-columns: 2fr 2fr 1fr; gap: 24px; align-items: start; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer nav a { text-decoration: none; } .footer nav a:hover { color: #fff; }
.copy { text-align: right; margin: 0; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .dev-grid { grid-template-columns: 1fr; }
  .features, .cases, .steps { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 460px; }
  .plan-featured { transform: none; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 14px; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .section { padding: 68px 0; }
  .hero { padding-top: 44px; }
  .features, .cases, .steps { grid-template-columns: 1fr; }
  .waitlist .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .copy { text-align: left; }
  .call-card { min-height: 400px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* keep the featured plan lifted after the reveal animation */
@media (min-width: 961px) { .plan-featured.reveal.in { transform: translateY(-10px); } }

/* minimal pass */
.section h2 { margin-bottom: 0; }
.features { grid-template-columns: repeat(3, 1fr); }
.feature { padding: 26px; }
.plan { align-items: flex-start; gap: 6px; }
.plan .btn { margin-top: 18px; align-self: stretch; }
.muted { font-weight: 400; color: var(--muted); font-size: .8rem; }
.plan-featured .muted { color: #b5aa9c; }
.langs { margin-top: 28px; }
.waitlist .btn { justify-self: stretch; }
.footer { padding: 28px 0; }
.footer-row { display: flex; justify-content: space-between; align-items: center; }
.footer-row .brand { margin: 0; }
.foot-links { display: flex; gap: 20px; }
.foot-links a { text-decoration: none; } .foot-links a:hover { color: #fff; }
.waitlist .fine { margin: 0; }
/* legal pages */
.legal { padding: 64px 0 96px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.25rem; font-family: var(--font); letter-spacing: 0; margin: 32px 0 8px; max-width: none; }
.legal p, .legal li { color: var(--ink-2); }
.legal .updated { color: var(--muted); font-size: .9rem; }
.legal { min-height: calc(100vh - 160px); }
