/* Vivid Relay — public site
   Palette: deep relay ink, cool mint paper, signal lime, relay teal, a warm "sindoor" for caution. */
:root {
  --deep: #0B2B2A;
  --deep-2: #0F3A37;
  --teal: #138A7A;
  --teal-ink: #0E6B5F;
  --signal: #C8F25A;
  --signal-ink: #3E5A00;
  --sindoor: #E8552F;
  --paper: #F3F7F4;
  --card: #FFFFFF;
  --text: #102221;
  --muted: #4A5E5B;
  --line: #D5E2DD;
  --line-2: #E6EEEA;
  --tint: #E5F2EC;
  --code-bg: #0B2B2A;
  --code-text: #DDEDE6;
  --shadow: 0 1px 0 rgba(11, 43, 42, .04), 0 12px 32px -14px rgba(11, 43, 42, .22);
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 26px;
  --f-display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-hi: "Tiro Devanagari Hindi", "Noto Sans Devanagari", serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #071918;
    --card: #0D2422;
    --text: #E4F0EC;
    --muted: #9DB5AF;
    --line: #1E3D3A;
    --line-2: #163331;
    --tint: #0F2E2B;
    --teal: #3CC2AD;
    --teal-ink: #6FD8C6;
    --signal-ink: #C8F25A;
    --code-bg: #04100F;
    --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 18px 40px -18px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 17px/1.6 var(--f-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--teal-ink); text-underline-offset: 3px; }
a:hover { color: var(--teal); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 650; }
h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
code, pre, kbd { font-family: var(--f-mono); font-size: .88em; }
:not(pre) > code { background: var(--tint); padding: .1em .38em; border-radius: 5px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--signal); color: var(--deep); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.hi { font-family: var(--f-hi); letter-spacing: 0; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .98rem/1 var(--f-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--signal { background: var(--signal); color: var(--deep); box-shadow: 0 6px 20px -8px rgba(160, 210, 40, .8); }
.btn--signal:hover { background: #D6F77A; color: var(--deep); }
.btn--deep { background: var(--deep); color: #fff; }
.btn--deep:hover { background: var(--deep-2); color: #fff; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--teal); color: var(--text); }
.btn--lg { min-height: 52px; padding: 0 26px; font-size: 1.04rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Announcement */
.announce { background: var(--deep); color: var(--signal); text-align: center; font-size: .9rem; padding: 8px var(--gutter); }
.announce p { margin: 0; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 72%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .2s, background-color .2s; }
.nav.is-scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--paper) 86%, transparent); }
.nav__in { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font: 700 1.16rem/1 var(--f-display); letter-spacing: -.02em; }
.brand:hover { color: var(--text); }
.brand__mark { width: 34px; height: 34px; flex: none; }
.nav__menu { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav__links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 500; font-size: .96rem; }
.nav__links a:hover { background: var(--tint); }
.nav__links a[aria-current="page"] { background: var(--tint); color: var(--teal-ink); }
.nav__cta { display: flex; gap: 8px; }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); cursor: pointer; }
.burger, .burger::before, .burger::after { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; margin: 0 auto; position: relative; transition: transform .2s; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; } .burger::after { top: 6px; }
.nav__toggle[aria-expanded="true"] .burger { background: transparent; }
.nav__toggle[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 920px) {
  .nav__toggle { display: block; }
  .nav__menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 14px; padding: 14px var(--gutter) 22px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav__menu.is-open { display: flex; }
  .nav__links { flex-direction: column; }
  .nav__links a { padding: 12px 14px; font-size: 1.05rem; }
  .nav__cta .btn { flex: 1; }
}

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tint { background: var(--tint); }
.section--deep { background: var(--deep); color: #E4F0EC; }
.section--deep h2, .section--deep h3 { color: #fff; }
.section--deep .lede, .section--deep .muted { color: #A9C4BD; }
.section--deep a { color: var(--signal); }
.head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.head.center { margin-inline: auto; }
.kicker { display: inline-block; font-family: var(--f-hi); color: var(--teal-ink); font-size: 1.05rem; margin-bottom: 10px; }
.section--deep .kicker { color: var(--signal); }

/* Reveal (single motion vocabulary) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ============ HERO ============ */
.hero { position: relative; overflow: hidden; background: var(--deep); color: #E4F0EC; padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 120px); isolation: isolate; }
.hero__mesh { position: absolute; inset: -20%; z-index: -1; background:
  radial-gradient(40% 50% at 18% 30%, rgba(19, 138, 122, .55), transparent 70%),
  radial-gradient(35% 45% at 80% 20%, rgba(200, 242, 90, .22), transparent 70%),
  radial-gradient(45% 55% at 70% 85%, rgba(19, 138, 122, .35), transparent 70%);
  filter: blur(10px); animation: mesh 22s ease-in-out infinite alternate; }
.hero__grid-bg { position: absolute; inset: 0; z-index: -1; opacity: .18; background-image: radial-gradient(rgba(200, 242, 90, .5) 1px, transparent 1.4px); background-size: 26px 26px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
@keyframes mesh { 0% { transform: translate3d(0, 0, 0) rotate(0); } 50% { transform: translate3d(3%, -2%, 0) rotate(4deg); } 100% { transform: translate3d(-3%, 2%, 0) rotate(-3deg); } }
.hero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 .line { display: block; }
.hero h1 .line--relay { color: var(--signal); }
.hero__sub { font-size: clamp(1.08rem, 1.7vw, 1.28rem); color: #B9D2CB; max-width: 34em; }
.hero__hi { font-family: var(--f-hi); color: var(--signal); font-size: 1.2rem; margin-bottom: 18px; opacity: .9; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .28); }
.hero .btn--ghost:hover { border-color: var(--signal); color: #fff; }
.hero__fine { font-size: .9rem; color: #8FAEA6; margin: 0; }
.hero__fine strong { color: #CFE3DD; font-weight: 600; }

/* Phone stage */
.stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.phone { position: relative; width: 290px; height: 580px; border-radius: 44px; background: #051615; padding: 12px; box-shadow: 0 0 0 1.5px rgba(200, 242, 90, .25), 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 0 0 2px #1B3B38; }
.phone__screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: #EAF1EC; display: flex; flex-direction: column; }
.phone__notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 86px; height: 22px; border-radius: 20px; background: #051615; z-index: 3; }
.phone__bar { display: flex; align-items: center; gap: 10px; padding: 42px 14px 12px; background: var(--deep-2); color: #fff; }
.phone__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--signal); display: grid; place-items: center; color: var(--deep); font: 800 .8rem var(--f-display); flex: none; }
.phone__who { line-height: 1.2; font-size: .86rem; }
.phone__who b { display: block; font-weight: 600; }
.phone__who span { font-size: .72rem; color: #9FC3BA; }
.phone__chat { flex: 1; min-height: 0; overflow: hidden; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; background-image: radial-gradient(rgba(11, 43, 42, .06) 1px, transparent 1.2px); background-size: 14px 14px; }
.bub { max-width: 84%; padding: 8px 10px 6px; border-radius: 14px; font-size: .8rem; line-height: 1.38; color: #102221; background: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.bub--out { align-self: flex-end; background: #DDF7B4; border-bottom-right-radius: 4px; }
.bub--in { align-self: flex-start; border-bottom-left-radius: 4px; }
.bub__meta { display: flex; justify-content: flex-end; align-items: center; gap: 4px; font-size: .64rem; color: #5D706C; margin-top: 2px; }
.ticks { width: 16px; height: 10px; }
.ticks path { fill: none; stroke: #7C8F8B; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ticks.is-read path { stroke: #1A8FD6; }
.bub__media { height: 74px; border-radius: 9px; margin: -2px -4px 6px; background: linear-gradient(135deg, var(--teal), var(--deep) 70%); position: relative; overflow: hidden; }
.bub__media::after { content: "Diwali offer"; position: absolute; left: 10px; bottom: 8px; color: var(--signal); font: 800 1rem var(--f-display); letter-spacing: -.02em; }
.bub__media::before { content: ""; position: absolute; right: -14px; top: -14px; width: 70px; height: 70px; border-radius: 50%; border: 10px solid rgba(200, 242, 90, .5); }
.poll { font-size: .78rem; }
.poll b { display: block; margin-bottom: 6px; }
.poll__opt { display: grid; grid-template-columns: 14px 1fr auto; gap: 6px; align-items: center; margin: 5px 0; }
.poll__dot { width: 13px; height: 13px; border: 1.5px solid #7C8F8B; border-radius: 50%; }
.poll__opt.is-chosen .poll__dot { background: var(--teal); border-color: var(--teal); }
.poll__track { grid-column: 2 / 4; height: 4px; border-radius: 4px; background: #E3ECE8; overflow: hidden; }
.poll__fill { display: block; height: 100%; width: 0; background: var(--teal); transition: width 1.2s cubic-bezier(.2, .7, .2, 1) .3s; }
.typing { align-self: flex-start; background: #fff; border-radius: 14px; padding: 10px 12px; display: flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #8AA19C; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
.phone__input { margin: 0 10px 12px; height: 36px; border-radius: 20px; background: #fff; display: flex; align-items: center; padding: 0 14px; color: #8AA19C; font-size: .76rem; }
/* bubble sequence: hidden until the stage runs */
.js .seq { opacity: 0; transform: translateY(10px) scale(.96); transform-origin: bottom; transition: opacity .45s ease, transform .45s cubic-bezier(.2, .8, .2, 1.1); }
.js .seq.is-shown { opacity: 1; transform: none; }
.js .seq.is-gone { display: none; }

.chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; background: rgba(255, 255, 255, .96); color: var(--deep); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55); font-size: .8rem; line-height: 1.25; animation: float 7s ease-in-out infinite; }
.chip b { display: block; font: 800 1.12rem/1.1 var(--f-display); letter-spacing: -.02em; }
.chip__ico { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--deep); color: var(--signal); flex: none; }
.chip__ico svg { width: 16px; height: 16px; }
.chip--a { top: 8%; left: -4%; }
.chip--b { top: 46%; right: -6%; animation-delay: -2.4s; }
.chip--c { bottom: 14%; left: 0; animation-delay: -4.6s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
/* relay route lines behind the phone */
.route { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.route path { fill: none; stroke: rgba(200, 242, 90, .35); stroke-width: 1.5; stroke-dasharray: 4 8; animation: dash 3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -48; } }

/* Trust strip */
.trust { border-bottom: 1px solid var(--line); background: var(--card); }
.trust__in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding: 22px 0; justify-content: center; }
.trust__in p { margin: 0; color: var(--muted); font-size: .92rem; }
.trust__list { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; justify-content: center; }
.trust__list li { font: 650 1.02rem var(--f-display); color: var(--text); letter-spacing: -.01em; opacity: .78; }

/* Feature grid: varied sizes, not identical cards */
.fgrid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.fgrid > * { background: var(--card); padding: 26px 24px 24px; grid-column: span 4; }
.fgrid .wide { grid-column: span 6; }
.fgrid .span8 { grid-column: span 8; }
.fgrid .full { grid-column: span 12; display: grid; grid-template-columns: 40px 1fr; column-gap: 18px; align-items: start; }
.fgrid .full h3 { margin-top: 0; }
.fgrid .full .ico { grid-row: span 2; }
.fgrid h3 { margin: 14px 0 6px; font-size: 1.12rem; }
.fgrid p { margin: 0; color: var(--muted); font-size: .96rem; }
.ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--teal-ink); }
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fgrid .feature--hot { background: var(--deep); color: #E4F0EC; }
.fgrid .feature--hot h3 { color: #fff; }
.fgrid .feature--hot p { color: #A9C4BD; }
.fgrid .feature--hot .ico { background: var(--signal); color: var(--deep); }

/* Steps (a real sequence) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding-top: 72px; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--signal); color: var(--deep); font: 800 1.4rem var(--f-display); }
.steps li::after { content: ""; position: absolute; top: 26px; left: 64px; right: -24px; border-top: 2px dashed var(--line); }
.steps li:last-child::after { display: none; }
.steps p { color: var(--muted); }

/* Safety */
.safety { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.guards { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.guards li { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.guards li:first-child { border-top: 0; }
.guards b { font: 800 1.5rem/1.1 var(--f-display); color: var(--signal); letter-spacing: -.02em; }
.guards span { display: block; color: #A9C4BD; font-size: .95rem; }
.guards strong { display: block; color: #fff; font-weight: 600; margin-bottom: 2px; }
.honest { margin-top: 26px; padding: 18px 20px; border-radius: var(--r-m); border: 1px solid rgba(232, 85, 47, .5); background: rgba(232, 85, 47, .1); color: #F7D7CC; font-size: .95rem; }
.honest strong { color: #fff; }
.warmup { margin: 28px 0 0; }
.warmup__bars { display: flex; align-items: flex-end; gap: 8px; height: 150px; padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.warmup__bars span { flex: 1; background: linear-gradient(180deg, var(--signal), rgba(200, 242, 90, .35)); border-radius: 6px 6px 2px 2px; height: var(--h); transform-origin: bottom; }
.js .warmup:not(.is-in) .warmup__bars span { transform: scaleY(.05); }
.warmup__bars span { transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.warmup__bars span:nth-child(2) { transition-delay: .08s; } .warmup__bars span:nth-child(3) { transition-delay: .16s; } .warmup__bars span:nth-child(4) { transition-delay: .24s; } .warmup__bars span:nth-child(5) { transition-delay: .32s; } .warmup__bars span:nth-child(6) { transition-delay: .4s; } .warmup__bars span:nth-child(7) { transition-delay: .48s; }
.warmup__axis { display: flex; gap: 8px; font-size: .74rem; color: #8FAEA6; margin-top: 6px; }
.warmup__axis span { flex: 1; text-align: center; }
.warmup figcaption { font-size: .88rem; color: #A9C4BD; margin-top: 10px; }

/* Numbers / counters */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div { padding: 28px 20px; border-left: 1px solid var(--line); }
.stats div:first-child { border-left: 0; }
.stats b { display: block; font: 800 clamp(2rem, 4vw, 3rem)/1 var(--f-display); letter-spacing: -.03em; color: var(--text); }
.stats span { color: var(--muted); font-size: .94rem; }

/* Use cases */
.uses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.use { padding: 22px; border-radius: var(--r-m); background: var(--card); border: 1px solid var(--line); }
.use h3 { font-size: 1.08rem; margin-bottom: 6px; }
.use p { color: var(--muted); font-size: .95rem; margin: 0; }
.use__msg { margin-top: 14px; padding: 10px 12px; border-radius: 12px 12px 12px 3px; background: var(--tint); font-size: .86rem; color: var(--text); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px; border-radius: var(--r-l); background: var(--card); border: 1px solid var(--line); }
.plan--hi { background: var(--deep); color: #E4F0EC; border-color: var(--deep); box-shadow: 0 30px 60px -30px rgba(11, 43, 42, .7); }
.plan--hi h3 { color: #fff; }
.plan--hi .plan__desc, .plan--hi .plan__per { color: #A9C4BD; }
.plan__badge { position: absolute; top: -12px; left: 24px; background: var(--signal); color: var(--deep); font-size: .78rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.plan h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plan__desc { color: var(--muted); font-size: .94rem; min-height: 2.8em; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 18px; }
.plan__price b { font: 800 2.6rem/1 var(--f-display); letter-spacing: -.03em; }
.plan__per { color: var(--muted); font-size: .92rem; }
.plan__list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; font-size: .94rem; flex: 1; align-content: start; }
.plan__list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.plan__list li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%230E6B5F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.plan__list li.is-off { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 50%, transparent); }
.plan__list li.is-off::before { background: transparent; border: 1.5px solid var(--line); }
.plan--hi .plan__list li::before { background-color: var(--signal); }
.plan--hi .plan__list li.is-off { color: #7E9A93; }
.plan--hi .plan__list li.is-off::before { background: transparent; border-color: #2B524E; }
.plan--self { background: var(--tint); border-style: dashed; }
.plan__trial { font-size: .82rem; color: var(--teal-ink); font-weight: 600; margin: -8px 0 14px; }
.plan--hi .plan__trial { color: var(--signal); }
.note { font-size: .92rem; color: var(--muted); margin-top: 22px; }
.empty { padding: 36px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r-l); background: var(--card); }

/* Compare table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--card); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 560px; }
.compare th, .compare td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-2); }
.compare thead th { font-family: var(--f-display); font-size: 1.02rem; background: var(--tint); }
.compare tbody th { font-weight: 500; color: var(--muted); }
.compare td { font-variant-numeric: tabular-nums; }
.compare tr:last-child > * { border-bottom: 0; }
.yes { color: var(--teal-ink); font-weight: 700; }
.no { color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; padding: 20px 2px; font: 600 1.1rem/1.35 var(--f-display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M13 8v10M8 13h10' stroke='%230E6B5F' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat; transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 2px 20px; margin: 0; max-width: 68ch; }

/* Final CTA */
.final { position: relative; overflow: hidden; border-radius: var(--r-l); background: var(--deep); color: #E4F0EC; padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center; isolation: isolate; }
.final::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(200, 242, 90, .28), transparent 65%); }
.final h2 { color: #fff; margin-bottom: .3em; }
.final p { color: #A9C4BD; margin: 0; }
.final .hi { color: var(--signal); font-size: 1.15rem; margin-top: 10px; }
.final__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.final .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }

/* Page heads (inner pages) */
.phead { padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--tint), var(--paper)); }
.phead h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; }
.phead .lede { margin-bottom: 0; }

/* Features page detail rows */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(40px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); }
.frow:last-child { border-bottom: 0; }
.frow:nth-child(even) .frow__art { order: -1; }
.frow h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.frow ul { padding-left: 1.1em; color: var(--muted); margin: 0; }
.frow li { margin: 6px 0; }
.frow li::marker { color: var(--teal); }
.frow__art { position: relative; min-height: 240px; border-radius: var(--r-l); background: var(--deep); overflow: hidden; display: grid; place-items: center; padding: 28px; isolation: isolate; }
.frow__art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 80% 10%, rgba(19, 138, 122, .6), transparent 70%); }
.art-svg { width: 100%; max-width: 340px; height: auto; }
.art-svg .s { fill: none; stroke: var(--signal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.art-svg .t { fill: none; stroke: #4FB8A6; stroke-width: 1.6; stroke-linecap: round; }
.art-svg .f { fill: var(--signal); }
.art-svg .g { fill: #133F3B; }
.art-svg .w { fill: #E4F0EC; }
.art-svg text { font: 600 11px var(--f-body); fill: #CFE3DD; }
.art-svg .dash { stroke-dasharray: 4 6; }
.tagrow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag { font-size: .8rem; padding: 4px 10px; border-radius: 999px; background: var(--tint); color: var(--teal-ink); font-weight: 500; }

/* Prose (legal, about) */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: .35em 0; }
.prose .updated { color: var(--muted); font-size: .92rem; }
.callout { padding: 16px 18px; border-left: 4px solid var(--teal); background: var(--tint); border-radius: 0 var(--r-s) var(--r-s) 0; margin: 1.4em 0; }
.callout--warn { border-left-color: var(--sindoor); }
.toc { position: sticky; top: 96px; align-self: start; font-size: .94rem; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.toc a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--muted); text-decoration: none; }
.toc a:hover { background: var(--tint); color: var(--text); }
.docgrid { display: grid; grid-template-columns: 220px 1fr; gap: clamp(28px, 4vw, 56px); }
.docgrid .prose { max-width: 820px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.values li { padding: 18px 20px; border-radius: var(--r-m); background: var(--card); border: 1px solid var(--line); }
.values b { display: block; font-family: var(--f-display); font-size: 1.1rem; margin-bottom: 4px; }
.values span { color: var(--muted); }

/* Code blocks */
pre { position: relative; background: var(--code-bg); color: var(--code-text); padding: 18px 18px; border-radius: var(--r-m); overflow-x: auto; line-height: 1.6; font-size: .84rem; margin: 0 0 1.4em; }
pre .c { color: #6E918A; }
pre .k { color: var(--signal); }
pre .s { color: #8FE3D0; }
.copy { position: absolute; top: 10px; right: 10px; font: 600 .74rem var(--f-body); padding: 6px 10px; border-radius: 8px; border: 1px solid #2B524E; background: #0F3A37; color: #CFE3DD; cursor: pointer; }
.copy:hover { border-color: var(--signal); }
.endpoint { display: inline-flex; gap: 8px; align-items: center; font-family: var(--f-mono); font-size: .86rem; padding: 6px 10px; background: var(--tint); border-radius: 8px; margin-bottom: 10px; }
.endpoint b { color: var(--teal-ink); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.channels { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.channels li { padding: 16px 18px; border-radius: var(--r-m); background: var(--card); border: 1px solid var(--line); }
.channels span { display: block; color: var(--muted); font-size: .88rem; }
.channels a, .channels p { font-weight: 600; font-size: 1.04rem; margin: 0; }

/* Forms */
.form { display: grid; gap: 16px; }
.form--card { padding: clamp(22px, 4vw, 36px); border-radius: var(--r-l); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; }
.field .hint { font-size: .84rem; color: var(--muted); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 22%, transparent); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__msg { margin: 0; font-size: .94rem; min-height: 1.4em; }
.form__msg.is-err { color: #B4321A; }
.form__msg.is-ok { color: var(--teal-ink); font-weight: 600; }
@media (prefers-color-scheme: dark) {
  .form__msg.is-err { color: #FF9C82; }
  .nav .brand__mark rect { fill: var(--deep-2); stroke: rgba(200, 242, 90, .45); stroke-width: 1.5; }
}
.pw { position: relative; }
.pw input { padding-right: 70px; }
.pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--teal-ink); font: 600 .84rem var(--f-body); padding: 8px 10px; cursor: pointer; border-radius: 8px; }

/* Auth split screen */
.page-login .foot, .page-signup .foot, .page-setup .foot { display: none; }
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 68px); }
.auth__side { position: relative; overflow: hidden; background: var(--deep); color: #E4F0EC; padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; isolation: isolate; }
.auth__side .hero__mesh { inset: -30%; }
.auth__side h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.6rem); max-width: 14ch; }
.auth__side .hi { color: var(--signal); font-size: 1.3rem; }
.auth__feed { display: grid; gap: 10px; max-width: 360px; }
.auth__feed .bub { font-size: .88rem; }
.auth__main { display: grid; place-items: center; padding: clamp(32px, 5vw, 64px) var(--gutter); }
.auth__box { width: 100%; max-width: 420px; }
.auth__box h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: .2em; }
.auth__box .lede { margin-bottom: 26px; font-size: 1rem; }
.auth__alt { margin-top: 22px; font-size: .95rem; color: var(--muted); }
.auth__setup { margin-bottom: 18px; padding: 14px 16px; border-radius: 12px; background: var(--signal); color: var(--deep); font-weight: 500; }
.auth__setup a { color: var(--deep); font-weight: 700; }

/* 404 */
.lost { min-height: 64vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.lost__code { font: 800 clamp(6rem, 22vw, 12rem)/1 var(--f-display); letter-spacing: -.06em; color: var(--deep); margin: 0; }
.lost__code span { color: var(--teal); }
@media (prefers-color-scheme: dark) { .lost__code { color: var(--signal); } }

/* Footer */
.foot { background: var(--deep); color: #A9C4BD; padding: 64px 0 28px; margin-top: 0; }
.foot a { color: #DDEDE6; text-decoration: none; }
.foot a:hover { color: var(--signal); text-decoration: underline; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; }
.brand--foot { color: #fff; }
.brand--foot:hover { color: #fff; }
.foot__tag { margin: 14px 0 6px; max-width: 30ch; }
.foot__hi { color: var(--signal); font-size: 1.1rem; }
.foot__h { font: 600 .98rem var(--f-display); color: #fff; letter-spacing: 0; margin-bottom: 12px; }
.foot__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .95rem; }
.foot__addr { font-style: normal; font-size: .9rem; margin-top: 14px; white-space: pre-line; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding-top: 22px; font-size: .85rem; }
.foot__base p { margin: 0; }
.foot__legal { max-width: 60ch; color: #7E9A93; }

/* ============ Responsive ============ */
@media (max-width: 1000px) {
  .hero__in { grid-template-columns: 1fr; }
  .stage { min-height: 520px; }
  .fgrid > *, .fgrid .wide { grid-column: span 6; }
.fgrid .span8 { grid-column: span 8; }
.fgrid .full { grid-column: span 12; display: grid; grid-template-columns: 40px 1fr; column-gap: 18px; align-items: start; }
.fgrid .full h3 { margin-top: 0; }
.fgrid .full .ico { grid-row: span 2; }
  .safety, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .final { grid-template-columns: 1fr; }
  .docgrid { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ol { display: flex; flex-wrap: wrap; gap: 6px; }
  .toc a { background: var(--tint); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { padding: 0 0 0 70px; min-height: 52px; }
  .steps li::after { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .frow { grid-template-columns: 1fr; }
  .frow:nth-child(even) .frow__art { order: 0; }
  .auth { grid-template-columns: 1fr; }
  .auth__side { order: 2; }
  .auth__feed { display: none; }
  .row2 { grid-template-columns: 1fr; }
  .guards li { grid-template-columns: 1fr; gap: 4px; }
  .guards b { font-size: 1.2rem; }
}
@media (max-width: 600px) {
  .fgrid > *, .fgrid .wide, .fgrid .span8, .fgrid .full { grid-column: span 12; }
  .foot__grid { grid-template-columns: 1fr; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .stage { min-height: 500px; }
  .phone { width: 256px; height: 512px; border-radius: 40px; }
  .bub { font-size: .74rem; }
  .bub__media { height: 56px; }
  .chip { font-size: .72rem; padding: 8px 10px; }
  .chip b { font-size: .98rem; }
  .stage { padding: 56px 0 64px; min-height: 0; }
  .chip--a { left: 0; top: 0; }
  .chip--b { display: none; }
  .chip--c { left: auto; right: 0; bottom: 0; }
  .final__ctas .btn { flex: 1 1 100%; }
}

/* Reduced motion: everything still, everything visible */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .seq { opacity: 1 !important; transform: none !important; }
  .js .warmup .warmup__bars span { transform: none !important; }
}
.auth .field input { background: var(--card); }
.docgrid > * { min-width: 0; }
