:root {
  --teal: #0ABFBC;
  --teal-dark: #067572;
  --teal-soft: #e7f8f8;
  --navy: #1A2332;
  --ink: #1A2332;
  --muted: #5b6b80;
  --line: #e4ebf2;
  --paper: #f6f9fb;
  --white: #ffffff;
  --danger: #9f1d1d;
  --heading: "Figtree", system-ui, "Noto Sans Devanagari", "Noto Sans Kannada", sans-serif;
  --body: "Figtree", system-ui, "Noto Sans Devanagari", "Noto Sans Kannada", sans-serif;
  --header: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.6;
}
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .brand-name { font-family: var(--heading); letter-spacing: -0.03em; color: var(--navy); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
}
.btn-primary { background: var(--teal); color: var(--navy); }
.btn-primary:hover { background: #25d9d6; }
.btn-ghost { background: white; color: var(--navy); border-color: #d5e0ea; }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-dark); }

.hero { position: relative; padding: 88px 0 28px; overflow: hidden; background: linear-gradient(180deg, #f3fbfb 0%, #fff 72%); }
.hero h1 { font-size: clamp(2.8rem, 5.6vw, 4.5rem); line-height: 1.07; max-width: 16ch; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; position: relative; }
.aurora { position: absolute; inset: 0; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(30px); opacity: 0.7; }
.aurora span:nth-child(1) { width: 420px; height: 420px; background: rgba(10,191,188,0.28); top: -80px; left: -60px; animation: drift 16s ease-in-out infinite; }
.aurora span:nth-child(2) { width: 320px; height: 320px; background: rgba(26,35,50,0.08); top: 40px; right: 8%; animation: drift 20s ease-in-out infinite reverse; }
.aurora span:nth-child(3) { width: 260px; height: 260px; background: rgba(10,191,188,0.16); bottom: -40px; left: 40%; animation: drift 18s ease-in-out infinite; }
@keyframes drift { 50% { transform: translate3d(24px, -18px, 0) scale(1.06); } }
.proof { display: flex; gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.proof li { display: grid; gap: 2px; }
.proof strong { font-family: var(--heading); font-size: 0.95rem; }
.proof span, .rail { color: var(--muted); font-size: 0.82rem; }
.rail { position: relative; margin: 28px auto 0; width: min(1120px, calc(100% - 40px)); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }
.console { background: white; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 70px rgba(26,35,50,0.1); overflow: hidden; }
.console-top { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.82rem; }
.console-top i { width: 8px; height: 8px; border-radius: 50%; background: #d5e0ea; display: block; }
.console-top i:first-child { background: #0ABFBC; }
.console-top span { margin-left: 8px; }
.console-body { display: grid; grid-template-columns: 132px 1fr; min-height: 280px; }
.console-body nav { display: grid; align-content: start; gap: 6px; padding: 16px 12px; background: #f7fbfb; border-right: 1px solid var(--line); }
.console-body nav span { font-size: 0.86rem; font-weight: 700; color: #607086; padding: 6px 8px; border-radius: 8px; }
.console-body nav .on { background: white; color: var(--navy); }
.feed { padding: 8px 12px 16px; display: grid; gap: 6px; }
.feed-row { padding: 10px 10px; border-radius: 12px; transition: background .45s ease; }
.feed-row.is-live { background: var(--teal-soft); }
.feed p { display: flex; justify-content: space-between; font-weight: 700; }
.feed small { display: block; color: var(--muted); margin-top: 2px; }
.feed em { color: var(--teal-dark); font-style: normal; font-size: 0.82rem; }
.feed em.ask { color: #9a5b12; }
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.hero [data-reveal] { opacity: 1; transform: none; }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .12s; }
[data-delay="2"] { transition-delay: .22s; }
[data-delay="3"] { transition-delay: .32s; }
.frame { width: min(1120px, calc(100% - 40px)); margin: 20px auto 10px; }
.frame figure, .split-photo figure, .close figure { margin: 0; position: relative; }
.frame img, .split-photo img, .close img { width: 100%; height: 460px; object-fit: cover; border-radius: 28px; }
.frame figcaption { position: absolute; left: 28px; right: 28px; bottom: 28px; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); border-radius: 18px; padding: 22px 24px; max-width: 640px; }
.frame figcaption h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin: 6px 0; }
.frame figcaption p:last-child { color: var(--muted); }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metrics article { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 20px; min-height: 180px; }
.metrics strong { display: block; font-family: var(--heading); font-size: 2.4rem; letter-spacing: -0.04em; }
.metrics span { display: block; margin-top: 8px; color: var(--muted); }
.story { padding: 12px 0 8px; }
.story-layout { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 48px; align-items: start; width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.beat { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.34; transition: opacity .4s ease; }
.beat.is-on { opacity: 1; }
.beat h2 { font-size: clamp(2rem, 3vw, 2.8rem); margin: 8px 0; }
.beat p:last-child { color: var(--muted); font-size: 1.05rem; }
.stage-stack { position: sticky; top: 108px; height: 460px; margin: 10vh 0 18vh; }
.stage-stack .panel {
  position: absolute; inset: 0; display: block; opacity: 0; pointer-events: none;
  background: var(--navy); color: white; border-color: transparent; border-radius: 24px; padding: 28px;
  transition: opacity .4s ease;
}
.stage-stack .panel.is-on { opacity: 1; pointer-events: auto; }
.stage-stack .panel h3 { font-size: 1.4rem; color: white; margin-bottom: 16px; }
.stage-stack .panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.stage-stack .panel li { display: flex; justify-content: space-between; gap: 12px; background: rgba(255,255,255,0.06); border-radius: 12px; padding: 12px 14px; color: white; }
.stage-stack .panel em { color: var(--teal); font-style: normal; font-weight: 700; text-align: right; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.timeline li { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.timeline span { color: var(--teal-dark); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.timeline strong { display: block; font-family: var(--heading); margin: 10px 0 8px; font-size: 1.05rem; }
.timeline p { color: var(--muted); }
.ask { margin: 8px 0 0; display: grid; gap: 14px; }
.ask div { display: grid; gap: 3px; }
.ask dt { font-weight: 700; }
.ask dd { margin: 0; color: var(--muted); }
.commerce { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: center; }
.commerce img { width: 100%; height: 440px; object-fit: cover; border-radius: 24px; }
.sums { list-style: none; margin: 16px 0 18px; padding: 0; display: grid; gap: 14px; }
.sums li { display: grid; grid-template-columns: 132px 1fr; gap: 12px; align-items: start; }
.sums strong { font-family: var(--heading); font-size: 1.15rem; }
.sums span { color: var(--muted); }
.commerce .btn { margin-top: 4px; }
.split-photo { width: min(1120px, calc(100% - 40px)); margin: 10px auto; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: center; padding: 28px 0; }
.split-photo.flip { grid-template-columns: 0.85fr 1.15fr; }
.split-photo h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 8px 0 12px; }
.split-photo p { color: var(--muted); }
.split-photo .btn { margin-top: 18px; }
.buyers { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.buyers li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.buyers strong { font-family: var(--heading); }
.buyers span { color: var(--muted); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.specs article { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.specs h3 { font-size: 1.2rem; margin-bottom: 8px; }
.specs p { color: var(--muted); }
.specs a { display: inline-block; margin-top: 12px; color: var(--teal-dark); font-weight: 700; }
.specs code, .beat code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.88em; background: var(--teal-soft); color: var(--navy); padding: 1px 5px; border-radius: 4px; }
.close { padding: 20px 0 72px; }
.close-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center; }
.close h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 8px 0 12px; }
.close p { color: var(--muted); }
.eyebrow {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1 { margin-top: 10px; font-size: clamp(2.4rem, 4.6vw, 3.8rem); line-height: 1.07; font-weight: 300; }
.lede { margin-top: 14px; color: var(--muted); font-size: 1.08rem; max-width: 38rem; }
.lede a, .page-title a { color: var(--teal-dark); font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.fine { margin-top: 12px; color: var(--muted); font-size: 0.92rem; }

.carousel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(26, 35, 50, 0.06);
  overflow: hidden;
}
.slide { display: none; padding: 22px; min-height: 280px; }
.slide.is-on { display: grid; gap: 8px; }
.slide h2 { font-size: 1.45rem; }
.slide p { color: var(--muted); }
.stage {
  margin-top: 8px;
  background: var(--navy);
  color: white;
  border-radius: 14px;
  padding: 16px;
  display: grid;
  gap: 8px;
}
.stage span { display: flex; justify-content: space-between; background: rgba(255,255,255,0.06); border-radius: 8px; padding: 8px 10px; font-size: 0.92rem; }
.stage em { color: var(--teal); font-style: normal; font-weight: 700; }
.carousel-bar { display: flex; align-items: center; justify-content: space-between; padding: 0 16px 14px; }
.carousel-bar button {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: white; cursor: pointer; color: var(--navy); font-size: 1rem;
}
.dots { display: flex; gap: 8px; }
.dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: #d5e0ea; padding: 0; cursor: pointer; }
.dots button.is-on { background: var(--teal); width: 22px; border-radius: 99px; }

.band { padding: 64px 0; }
.band.alt { background: var(--paper); }
.section-head { margin-bottom: 22px; max-width: 640px; }
.section-head h2, .page-title h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 400; }
.section-head p, .page-title p { margin-top: 8px; color: var(--muted); }
.page-title { padding: 56px 0 12px; }
.page-photo { margin: 8px 0 28px; }
.page-photo img { width: 100%; height: 360px; object-fit: cover; border-radius: 24px; }
.cards, .prices, .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card, .price, .step, .panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.card { display: block; }
.card:hover { border-color: #b7e8e7; }
.card strong, .step strong { display: block; font-family: var(--heading); font-size: 1.05rem; margin-bottom: 6px; }
.card p, .step p, .price li, .panel p { color: var(--muted); }
.step span { color: var(--teal); font-family: var(--heading); font-weight: 800; }
.feature { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); }
.feature h2 { font-size: 1.45rem; }
.feature p { margin-top: 6px; color: var(--muted); }
.prices { padding-bottom: 56px; }
.price { display: flex; flex-direction: column; gap: 10px; }
.price.is-main { background: var(--navy); color: white; border-color: var(--navy); }
.price.is-main h2, .price.is-main .amount { color: white; }
.price.is-main li, .price.is-main p { color: rgba(255,255,255,0.78); }
.price h2 { font-size: 1.4rem; }
.amount { font-family: var(--heading); font-size: 2.4rem; font-weight: 400; font-variant-numeric: tabular-nums; }
.amount small { font-family: var(--body); font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.price.is-main .amount small { color: rgba(255,255,255,0.7); }
.price ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.price .btn { margin-top: auto; }
.compare { width: 100%; border-collapse: collapse; margin: 12px 0 40px; }
.compare th, .compare td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin-top: 8px; color: var(--muted); }
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 16px; padding-bottom: 56px; }
.form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 700; color: var(--navy); }
.field input, .field textarea {
  width: 100%; border: 1px solid #d5e0ea; border-radius: 10px; padding: 12px; background: white; color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--teal-soft); border-color: var(--teal); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .btn, .gate-form .btn { width: 100%; }
.note { color: var(--muted); font-size: 0.9rem; }
.form-error, .form-ok { border-radius: 10px; padding: 10px 12px; }
.form-error { background: #fdecec; color: var(--danger); }
.form-ok { background: var(--teal-soft); color: #064f4d; }
.form-ok a { font-weight: 800; text-decoration: underline; }
.hp { position: absolute; left: -9999px; }
.panel a, .switch a, .legal-copy a { color: var(--teal-dark); font-weight: 700; }

.gate-main { min-height: calc(100vh - 76px); display: grid; place-items: center; padding: 32px 16px 48px; background: var(--paper); }
.gate-card { width: min(480px, 100%); background: white; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: 0 16px 40px rgba(26,35,50,0.05); }
.gate-card.wide { width: min(560px, 100%); }
.gate-card h1 { font-size: 2rem; margin: 14px 0 6px; }
.gate-form { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 0.92rem; font-weight: 500; }
.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.switch { margin-top: 14px; color: var(--muted); }
.facts { display: grid; gap: 8px; margin: 16px 0; }
.facts div { background: var(--paper); border-radius: 12px; padding: 10px 12px; }
.facts dt { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 750; }
.logout { min-height: 46px; padding: 0 16px; border-radius: 10px; border: 1px solid #d5e0ea; background: white; font-weight: 700; cursor: pointer; color: var(--navy); }
.badge { display: inline-block; background: var(--teal-soft); color: var(--teal-dark); font-weight: 700; border-radius: 999px; padding: 4px 10px; font-size: 0.82rem; }
.access-list { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.access-list li { background: var(--paper); border-radius: 10px; padding: 10px 12px; }
.invite { display: grid; gap: 10px; margin-top: 18px; }
.legal-copy { max-width: 720px; padding: 12px 0 64px; }
.legal-copy h1 { font-size: 2.4rem; margin: 8px 0 12px; }
.legal-copy p { color: var(--muted); margin-bottom: 12px; }

.live-grid { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: center; }
.mark-stage {
  text-align: center;
  color: var(--muted);
  background: radial-gradient(circle at 50% 40%, #e7f8f8 0%, transparent 68%);
  border-radius: 24px;
  padding: 8px 8px 16px;
}
.mark-key { display: flex; justify-content: space-between; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 0.82rem; font-weight: 700; color: var(--navy); }
.mark-stage p { margin-top: 12px; font-size: 0.95rem; }
.mark-live { width: 240px; height: 240px; margin: 0 auto; overflow: visible; }
.mark-live .node.person { animation: person-on 5.4s linear infinite; }
.mark-live .node.apps { animation: apps-on 5.4s linear infinite; }
.mark-live .shield { fill: #0ABFBC; fill-opacity: 0; animation: shield-on 5.4s linear infinite; }
.mark-step { position: relative; height: 1.5em; margin-top: 12px; font-size: 0.95rem; color: var(--navy); font-weight: 650; }
.mark-step span { position: absolute; left: 0; right: 0; opacity: 0; animation: step-on 5.4s linear infinite; }
.mark-step span:nth-child(2) { animation-delay: 1.8s; }
.mark-step span:nth-child(3) { animation-delay: 3.6s; }
@keyframes person-on {
  0%, 20% { opacity: 1; }
  34%, 90% { opacity: 0.35; }
  100% { opacity: 1; }
}
@keyframes shield-on {
  0%, 30% { fill-opacity: 0; }
  40%, 60% { fill-opacity: 0.28; }
  72%, 100% { fill-opacity: 0; }
}
@keyframes apps-on {
  0%, 62% { opacity: 0.35; }
  76%, 96% { opacity: 1; }
  100% { opacity: 0.35; }
}
@keyframes step-on {
  0%, 6% { opacity: 0; }
  10%, 28% { opacity: 1; }
  34%, 100% { opacity: 0; }
}
.code-panel, .terminal {
  background: var(--navy);
  color: #d7e4ea;
  border-radius: 16px;
  overflow: hidden;
}
.code-top, .term-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; color: rgba(255,255,255,0.7); font-size: 0.82rem;
}
.code-panel pre {
  margin: 0; padding: 8px 16px 16px;
  font-family: "SFMono-Regular", ui-monospace, monospace;
  font-size: 0.86rem; line-height: 1.55; white-space: pre-wrap;
}
.code-panel .k { color: #8ee7e5; }
.term-log { min-height: 168px; max-height: 220px; overflow: auto; padding: 0 14px 14px; font-family: ui-monospace, monospace; font-size: 0.82rem; }
.term-log div { margin-top: 6px; }
.term-log .ok { color: #7dffa8; }
.term-log .hi { color: var(--teal); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.tile {
  background: white; border: 1px solid var(--line); border-radius: 14px; padding: 16px;
  min-height: 92px; display: flex; flex-direction: column; justify-content: flex-end;
}
.tile strong { font-family: var(--heading); }
.tile span { color: var(--muted); font-size: 0.85rem; }
.tile.is-hot { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.arch-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 12px; }
.arch-tabs button, .code-top button, .term-top button {
  border: 1px solid var(--line); background: white; border-radius: 8px; padding: 8px 12px;
  font-weight: 700; cursor: pointer; color: var(--navy);
}
.arch-tabs button.is-on, .code-top button.is-on { background: var(--teal); color: white; border-color: var(--teal); }
.arch-panel { display: none; }
.arch-panel.is-on { display: block; }
@media (prefers-reduced-motion: reduce) {
  .mark-live .node, .mark-live .shield, .mark-step span, .aurora span { animation: none; }
  .mark-live .node { opacity: 1; }
  .mark-live .token { display: none; }
  .mark-step { height: auto; }
  .mark-step span { position: static; display: block; opacity: 1; }
  [data-reveal], .beat { opacity: 1; transform: none; }
}
@media (max-width: 980px) {
  .hero-grid, .cards, .prices, .steps, .split, .pair, .feature, .live-grid, .metrics, .split-photo, .split-photo.flip, .close-grid, .specs, .console-body, .story-layout, .timeline, .commerce, .sums li { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .story-layout { display: block; }
  .beat, .beat.is-on { opacity: 1; min-height: 0; margin-bottom: 28px; }
  .stage-stack { position: static; height: auto; margin: 0 0 28px; }
  .stage-stack .panel { position: static; opacity: 1; margin-bottom: 12px; pointer-events: auto; }
  .frame img, .split-photo img, .close img, .commerce img { height: 240px; }
  .frame figcaption { position: static; margin-top: 12px; }
  .proof { flex-wrap: wrap; }
  .hero h1 { max-width: none; }
}
