/* Swara landing. "Royal": porcelain white and pure black grounds, one royal sapphire for every action and link,
   a deep royal-night band for the promise. Green only means "on a call". No gold.
   Type: Geist for Latin, Noto Sans for Telugu and Devanagari. All self-hosted. */

@font-face { font-family: "Geist"; src: url("fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; src: url("fonts/geist-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Noto Sans Telugu"; src: url("fonts/noto-telugu.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0951-0952, U+0964-0965, U+0C00-0C7F, U+1CDA, U+200C-200D, U+25CC; }
@font-face { font-family: "Noto Sans Devanagari"; src: url("fonts/noto-devanagari.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }

/* ---------- tokens ---------- */
:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --bg-alt: #F5F5F7;
  --ink: #1D1D1F;
  --ink-2: #424245;
  --mute: #6E6E73;
  --line: #D2D2D7;
  --hair: #E8E8ED;
  --royal: #2440B3;          /* sapphire: buttons, links, focus. 8.1:1 on white */
  --royal-hover: #1B3290;
  --royal-soft: #EEF1FC;
  --royal-light: #7C9CFF;    /* sapphire on black */
  --btn: #2440B3;
  --btn-ink: #FFFFFF;
  --good: #1E7B4C;
  --live: #30D158;           /* on a call */
  --night: #0A1638;          /* royal night band */
  --night-2: #12224F;
  --night-ink: #F5F5F7;
  --night-mute: #AEB8DA;
  --shadow: 0 1px 2px rgb(0 0 0 / .04), 0 12px 40px -12px rgb(10 22 56 / .18);
  --phone-shadow: 0 2px 6px rgb(0 0 0 / .08), 0 40px 80px -24px rgb(10 22 56 / .35);
  --nav-bg: rgb(255 255 255 / .78);
  --sans: "Geist", "Noto Sans Telugu", "Noto Sans Devanagari", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #000000; --bg-alt: #0E0E11; --ink: #F5F5F7; --ink-2: #D2D2D7; --mute: #A1A1A6; --line: #3A3A3F; --hair: #232327;
    --royal: #7C9CFF; --royal-hover: #A3B9FF; --royal-soft: #10183A; --btn: #3D5BD9; --btn-ink: #FFFFFF; --good: #4CC08A;
    --night: #0A1638; --night-2: #12224F;
    --shadow: 0 1px 2px rgb(0 0 0 / .5), 0 12px 40px -12px rgb(0 0 0 / .8);
    --phone-shadow: 0 0 0 1px rgb(255 255 255 / .06), 0 40px 90px -20px rgb(61 91 217 / .35);
    --nav-bg: rgb(0 0 0 / .72);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000; --bg-alt: #0E0E11; --ink: #F5F5F7; --ink-2: #D2D2D7; --mute: #A1A1A6; --line: #3A3A3F; --hair: #232327;
  --royal: #7C9CFF; --royal-hover: #A3B9FF; --royal-soft: #10183A; --btn: #3D5BD9; --btn-ink: #FFFFFF; --good: #4CC08A;
  --night: #0A1638; --night-2: #12224F;
  --shadow: 0 1px 2px rgb(0 0 0 / .5), 0 12px 40px -12px rgb(0 0 0 / .8);
  --phone-shadow: 0 0 0 1px rgb(255 255 255 / .06), 0 40px 90px -20px rgb(61 91 217 / .35);
  --nav-bg: rgb(0 0 0 / .72);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; scrollbar-color: color-mix(in oklab, var(--mute) 45%, transparent) transparent; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.5; letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-feature-settings: "ss01", "cv11"; caret-color: var(--royal); }
::selection { background: color-mix(in oklab, var(--royal) 22%, transparent); }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--royal); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--royal); outline-offset: 3px; border-radius: 6px; }
:lang(te), :lang(hi) { line-height: 1.7; letter-spacing: 0; }
.tabular { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--btn); color: var(--btn-ink); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px;
  font: 500 17px/1 var(--sans); letter-spacing: -0.01em; border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn-solid { background: var(--btn); color: var(--btn-ink); }
.btn-solid:hover { background: var(--royal-hover); }
:root[data-theme="dark"] .btn-solid:hover { background: #4F6CF0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-solid:hover { background: #4F6CF0; } }
.btn-line { border-color: var(--royal); color: var(--royal); background: transparent; }
.btn-line:hover { background: var(--royal-soft); }
.btn-sm { min-height: 32px; padding: 0 14px; font-size: 14px; }
.btn-lg { min-height: 50px; padding: 0 28px; font-size: 17px; }
.link-more { display: inline-flex; align-items: center; gap: 2px; font-size: 17px; font-weight: 500; min-height: 44px; }
.link-more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.link-more:hover svg { transform: translateX(3px); }
.link-quiet { color: var(--ink-2); font-size: 14px; }
.link-quiet:hover { color: var(--ink); text-decoration: none; }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 60%, transparent); }
.top-row { display: flex; align-items: center; gap: 24px; height: 56px; }
.lockup { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.lockup:hover { text-decoration: none; }
.mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: #fff;
  background: linear-gradient(180deg, #3A5BE0, #1F37A3); box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), 0 1px 2px rgb(10 22 56 / .25); }
.mark svg { width: 19px; height: 19px; }
.top-nav { display: flex; gap: 28px; margin: 0 auto; }
.top-nav a { color: var(--ink-2); font-size: 14px; }
.top-nav a:hover { color: var(--ink); text-decoration: none; }
.top-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.top-nav + .top-actions { margin-left: 0; }
.icon-btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; }
.icon-btn:hover { background: var(--bg-alt); color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: none; }
.icon-btn[data-mode="system"] .i-sys, .icon-btn:not([data-mode]) .i-sys, .icon-btn[data-mode="light"] .i-sun, .icon-btn[data-mode="dark"] .i-moon { display: block; }

/* ---------- hero ---------- */
.hero { padding: 88px 0 0; text-align: center; overflow: hidden; }
.hero-name { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.6rem, 1.2rem + 5.6vw, 5rem); line-height: 1.04; letter-spacing: -0.04em; font-weight: 650; }
.hero .lede { max-width: 640px; margin: 22px auto 0; font-size: clamp(1.125rem, 1rem + .5vw, 1.3125rem); line-height: 1.45; color: var(--mute); letter-spacing: -0.015em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; margin-top: 32px; }
.fine { margin-top: 18px; font-size: 13px; color: var(--mute); }
.hero .fine { max-width: 420px; margin-left: auto; margin-right: auto; }

.stage { position: relative; max-width: 1120px; margin: 64px auto 0; padding: 0 22px 96px; display: grid; place-items: center; }
.stage::before { content: ""; position: absolute; inset: 18% 0 0; background: radial-gradient(60% 55% at 50% 40%, color-mix(in oklab, var(--royal) 14%, transparent), transparent 70%); pointer-events: none; }

/* the phone: an on-call screen that plays the example */
.phone { position: relative; margin: 0; width: 340px; max-width: 100%; padding: 11px; border-radius: 56px; background: #1C1C1E;
  box-shadow: inset 0 0 0 1.5px #3A3A3C, inset 0 0 0 4px #0B0B0C, var(--phone-shadow); animation: rise 1.1s var(--ease) both; }
.screen { position: relative; display: flex; flex-direction: column; min-height: 640px; padding: 54px 18px 18px; border-radius: 46px; overflow: hidden; color: #F5F5F7;
  background: linear-gradient(180deg, #13204A 0%, #0A1230 38%, #05070F 100%); text-align: left; }
.island { position: absolute; top: 12px; left: 50%; width: 110px; height: 32px; margin-left: -55px; border-radius: 20px; background: #000; }
.call-head { text-align: center; }
.avatar { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; font-weight: 600; letter-spacing: 0;
  background: linear-gradient(180deg, #8E9BC4, #5C6A96); color: #fff; }
.call-who { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.call-sub { display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; font-size: 14px; color: #C7CDE0; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgb(48 209 88 / .6); animation: ping 2s var(--ease) infinite; }
.wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 44px; margin: 18px 0 14px; }
.wave i { display: block; width: 3px; height: calc(var(--h) * 100%); border-radius: 3px; background: #9DB2FF; transform-origin: center; animation: breathe 1.2s ease-in-out infinite; animation-delay: var(--d); }
.wave.listen i { background: #F5F5F7; opacity: .55; }
.langs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 2px; border-radius: 10px; background: rgb(255 255 255 / .1); }
.langs button { min-height: 32px; border: 0; border-radius: 8px; background: transparent; color: #D7DCEA; font: 500 13px/1.2 var(--sans); cursor: pointer; transition: background-color .2s var(--ease); }
.langs button[aria-selected="true"] { background: rgb(255 255 255 / .2); color: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .25); }
.langs button:focus-visible { outline-color: #9DB2FF; }
.tx { flex: 1; display: flex; flex-direction: column; gap: 8px; margin-top: 14px; min-height: 290px; }
.tx li { max-width: 86%; padding: 9px 13px; border-radius: 18px; font-size: 14px; line-height: 1.4; animation: pop .45s var(--ease) both; }
.tx li.agent { align-self: flex-start; background: #2F4FD0; border-bottom-left-radius: 6px; }
.tx li.caller { align-self: flex-end; background: #2C2C2E; border-bottom-right-radius: 6px; }
.tx .who { display: block; font-size: 11px; font-weight: 600; letter-spacing: .02em; color: rgb(255 255 255 / .72); margin-bottom: 2px; }
.tx small { display: block; margin-top: 4px; font-size: 12px; line-height: 1.35; color: rgb(255 255 255 / .74); }
.call-result { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 11px 13px; border-radius: 14px; background: rgb(48 209 88 / .14); color: #D6F5DF; font-size: 13px; font-weight: 500; }
.tick { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--live); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.notes li { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 16px; background: color-mix(in oklab, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--hair); box-shadow: var(--shadow); text-align: left; font-size: 14px; }
.notes b { font-weight: 600; letter-spacing: -0.01em; }
.notes span { color: var(--mute); font-size: 13px; }
@media (min-width: 900px) {
  .notes li { position: absolute; width: 230px; }
  .note-a { top: 14%; left: calc(50% - 440px); }
  .note-b { top: 40%; right: calc(50% - 450px); }
  .note-c { top: 70%; left: calc(50% - 420px); }
}
@media (max-width: 899px) {
  .notes { display: grid; gap: 10px; width: 100%; max-width: 340px; margin-top: 28px; position: relative; }
}

/* ---------- languages ---------- */
.speaks { padding: 120px 0; background: var(--bg-alt); text-align: center; }
.speaks h2, .band h2, .close h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); line-height: 1.08; letter-spacing: -0.035em; }
.scripts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px clamp(28px, 5vw, 72px); margin: 48px 0 40px; }
.scripts li { font-size: clamp(2rem, 1.2rem + 3.4vw, 4rem); line-height: 1.2; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.scripts li:not(:lang(en)):not(:lang(es)) { letter-spacing: 0; }
.scripts li:nth-child(n+4) { color: var(--mute); }
.scripts li:nth-child(2) { color: var(--royal); }
.section-lede { max-width: 620px; margin: 18px auto 0; font-size: 19px; line-height: 1.5; color: var(--mute); }
.speaks .section-lede { margin-top: 0; }

/* ---------- bands ---------- */
.band { padding: 120px 0; text-align: center; }
.band-alt { background: var(--bg-alt); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 72px; text-align: left; counter-reset: s; }
.steps li { position: relative; padding-top: 28px; border-top: 1px solid var(--line); }
.step-n { display: block; font-size: 15px; font-weight: 600; color: var(--royal); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.25; }
.steps p { margin-top: 10px; color: var(--mute); font-size: 16px; }

/* royal night: the promise */
.night { padding: 128px 0; background: radial-gradient(80% 120% at 85% 0%, var(--night-2), var(--night) 60%); color: var(--night-ink); }
.night-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.night h2 { font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4rem); line-height: 1.05; letter-spacing: -0.04em; }
.night-lede { margin-top: 20px; max-width: 480px; font-size: 19px; color: var(--night-mute); }
.night .ticks { margin-top: 32px; }
.night .ticks li { color: var(--night-ink); }
.night .ticks li::before { background-color: #9DB2FF; }
.exchange { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 28px; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); }
.bubble { max-width: 85%; padding: 12px 16px; border-radius: 20px; font-size: 17px; line-height: 1.4; }
.bubble span { display: block; font-size: 12px; font-weight: 600; color: rgb(255 255 255 / .7); margin-bottom: 3px; }
.bubble.caller { align-self: flex-end; background: #2C2C2E; border-bottom-right-radius: 6px; }
.bubble.agent { align-self: flex-start; background: #2F4FD0; border-bottom-left-radius: 6px; }
.handoff { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 14px; color: var(--night-mute); }
.royal-dot { width: 8px; height: 8px; border-radius: 50%; background: #9DB2FF; }

.ticks { display: grid; gap: 12px; text-align: left; }
.ticks li { position: relative; padding-left: 30px; font-size: 16px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background-color: var(--royal);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 100 20 10 10 0 000-20zm-1.2 14.2L4.6 10l1.4-1.4 2.8 2.8 5.2-5.2 1.4 1.4-6.6 6.6z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 100 20 10 10 0 000-20zm-1.2 14.2L4.6 10l1.4-1.4 2.8 2.8 5.2-5.2 1.4 1.4-6.6 6.6z'/%3E%3C/svg%3E") center/contain no-repeat; }

.feat-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 48px; margin-top: 72px; text-align: left; }
.feat-list svg { width: 30px; height: 30px; margin-bottom: 18px; fill: none; stroke: var(--royal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feat-list h3 { font-size: 19px; letter-spacing: -0.02em; }
.feat-list p { margin-top: 8px; color: var(--mute); font-size: 16px; }

.ind { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; text-align: left; border-top: 1px solid var(--line); }
.ind li { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.ind li:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.ind h3 { font-size: 19px; letter-spacing: -0.02em; }
.ind p { margin-top: 6px; color: var(--mute); font-size: 15px; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 24px; margin-top: 64px; text-align: left; }
.plan { display: flex; flex-direction: column; gap: 16px; padding: 36px; border-radius: 28px; background: var(--bg-alt); }
.plan > p:not(.price) { color: var(--mute); font-size: 16px; }
.plan h3 { font-size: 21px; letter-spacing: -0.02em; }
.price { font-size: 17px; color: var(--mute); }
.amt { font-size: 48px; font-weight: 650; letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; margin-right: 4px; }
.plan .ticks { margin: 4px 0 8px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan-main { background: var(--bg); box-shadow: inset 0 0 0 2px var(--royal), var(--shadow); }

/* ---------- faq ---------- */
.faq-wrap { max-width: 820px; }
.faq { margin-top: 56px; text-align: left; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; cursor: pointer; list-style: none; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--mute); border-bottom: 2px solid var(--mute); transform: translateY(-3px) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq summary:hover { color: var(--royal); }
.faq details p { padding: 0 40px 24px 0; color: var(--mute); font-size: 17px; }

/* ---------- close ---------- */
.close { padding: 140px 0; text-align: center; }
.close h2 { font-size: clamp(2.5rem, 1.2rem + 5vw, 4.75rem); letter-spacing: -0.045em; }
.close p { margin: 18px auto 0; max-width: 520px; font-size: 19px; color: var(--mute); }

/* ---------- footer ---------- */
.foot { padding: 36px 0 48px; border-top: 1px solid var(--hair); background: var(--bg-alt); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot nav a { color: var(--ink-2); font-size: 14px; }
.foot .fine { margin: 0 0 0 auto; }


/* ---------- scroll story ---------- */
.story { padding: 120px 0 40px; text-align: center; }
.story h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); line-height: 1.08; letter-spacing: -0.035em; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 56px; text-align: left; }
.story-stage { position: sticky; top: 96px; height: min(560px, calc(100vh - 140px)); border-radius: 32px; background: var(--bg-alt); overflow: hidden; order: 2; }
.story-stage::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--hair); pointer-events: none; }
.panel { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 32px;
  opacity: 0; transform: translateY(24px) scale(.96); filter: blur(6px); transition: opacity .6s var(--ease), transform .8s var(--ease), filter .6s var(--ease); pointer-events: none; }
.story-stage[data-step="1"] .p1, .story-stage[data-step="2"] .p2, .story-stage[data-step="3"] .p3, .story-stage[data-step="4"] .p4 { opacity: 1; transform: none; filter: none; }
.pc { width: min(340px, 100%); padding: 24px; border-radius: 24px; background: var(--bg); box-shadow: var(--shadow), 0 0 0 1px var(--hair); }
.pc-top { display: flex; justify-content: space-between; align-items: center; }
.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; background: var(--royal-soft); color: var(--royal); font-size: 13px; font-weight: 600; }
.pill.ok { background: color-mix(in oklab, var(--good) 14%, transparent); color: var(--good); }
.pc .t { font-size: 14px; color: var(--mute); font-variant-numeric: tabular-nums; }
.pc-name { margin-top: 18px; font-size: 28px; font-weight: 650; letter-spacing: -0.03em; }
.pc-dl { margin: 16px 0 0; display: grid; gap: 0; }
.pc-dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--hair); font-size: 15px; }
.pc-dl dt { color: var(--mute); }
.pc-dl dd { margin: 0; font-weight: 500; text-align: right; }
.ring { position: relative; width: 132px; height: 132px; display: grid; place-items: center; }
.ring span { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--royal); opacity: 0; animation: wave-out 2.4s var(--ease) infinite; }
.ring span:nth-child(2) { animation-delay: .8s; } .ring span:nth-child(3) { animation-delay: 1.6s; }
.ring-av { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; font-weight: 600; color: #fff; background: linear-gradient(180deg, #3A5BE0, #1F37A3); box-shadow: 0 12px 30px -10px rgb(36 64 179 / .6); }
.p2-t { font-size: 28px; font-weight: 650; letter-spacing: -0.03em; }
.p2-s { color: var(--mute); font-size: 15px; margin-top: -8px; }
.p3 { align-items: stretch; padding: 40px; }
.p3 .bubble { color: #F5F5F7; }
.src { display: flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 4px; padding: 6px 12px 6px 9px; border-radius: 999px; background: var(--bg); box-shadow: 0 0 0 1px var(--hair); font-size: 13px; color: var(--ink-2); }
.src svg { width: 16px; height: 16px; fill: none; stroke: var(--royal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.story-steps { order: 1; }
.story-steps li { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .5s var(--ease); }
.story-steps li:first-child { min-height: 46vh; justify-content: flex-start; padding-top: 80px; }
.story-steps li:last-child { min-height: 70vh; }
.story-steps li.on { opacity: 1; }
.story-steps .time { font-size: 15px; font-weight: 600; color: var(--royal); font-variant-numeric: tabular-nums; }
.story-steps h3 { margin-top: 8px; font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.1; letter-spacing: -0.035em; }
.story-steps p { margin-top: 12px; max-width: 400px; font-size: 19px; color: var(--mute); }
@keyframes wave-out { 0% { transform: scale(.7); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }

/* hero phone grows into place as it scrolls in, where the browser supports scroll-driven animation */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .phone { animation: grow linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    .notes li { animation: drift linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; }
  }
}
@keyframes grow { from { transform: translateY(60px) scale(.9); } to { transform: none; } }
@keyframes drift { from { transform: translateY(40px); } to { transform: none; } }

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-stage { order: 0; top: 64px; height: 340px; z-index: 2; border-radius: 24px; }
  .story-steps li, .story-steps li:first-child, .story-steps li:last-child { min-height: 52vh; padding-top: 0; justify-content: center; }
  .pc { padding: 18px; } .pc-name { font-size: 22px; margin-top: 12px; } .pc-dl div { padding: 8px 0; font-size: 14px; }
  .ring { width: 104px; height: 104px; } .ring-av { width: 70px; height: 70px; font-size: 24px; }
  .p3 { padding: 20px; } .p3 .bubble { font-size: 15px; }
}
@media (max-width: 640px) { .story { padding-top: 88px; } }

/* ---------- motion ---------- */
@keyframes rise { from { transform: translateY(48px) scale(.97); } to { transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes breathe { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgb(48 209 88 / .55); } 80%, 100% { box-shadow: 0 0 0 7px rgb(48 209 88 / 0); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .top-nav { display: none; }
  .top-actions { margin-left: auto; }
  .steps, .feat-list { grid-template-columns: 1fr 1fr; }
  .ind { grid-template-columns: 1fr 1fr; }
  .ind li, .ind li:not(:nth-child(3n+1)) { padding: 24px 20px 24px 0; border-left: 0; }
  .ind li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .night-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hide-sm { display: none; }
  .br-lg { display: none; }
  .hero { padding-top: 56px; }
  .stage { margin-top: 48px; padding: 0 16px 72px; }
  .phone { width: 100%; max-width: 330px; border-radius: 52px; }
  .screen { min-height: 600px; border-radius: 42px; padding-left: 14px; padding-right: 14px; }
  .speaks, .band { padding: 88px 0; }
  .night { padding: 96px 0; }
  .close { padding: 104px 0; }
  .steps, .feat-list, .ind { grid-template-columns: 1fr; }
  .steps { gap: 36px; margin-top: 48px; }
  .feat-list { gap: 40px; margin-top: 48px; }
  .ind li:nth-child(even) { padding-left: 0; border-left: 0; }
  .plans { grid-template-columns: 1fr; }
  .plan { padding: 28px 24px; }
  .exchange { padding: 20px; }
  .faq summary { font-size: 17px; }
  .faq details p { padding-right: 0; }
  .foot .fine { margin-left: 0; width: 100%; }
}
