/* RealtimeAI website — light, warm, AI-first. One stylesheet for every page. */
:root {
  --bg: #fbf7f1;
  --bg-2: #f5eee4;
  --surface: #fffdf9;
  --ink: #1d1a16;
  --muted: #5d564c;
  --faint: #8a8174;
  --line: #ebe2d5;
  --line-2: #dfd3c2;
  --green: #059669;
  --green-2: #047857;
  --green-soft: #e3f4ec;
  --amber: #e8833a;
  --amber-soft: #fdecdc;
  --violet: #7c5cff;
  --radius: 18px;
  --max: 1160px;
  --shadow: 0 1px 2px rgba(60, 40, 10, .06), 0 10px 30px -12px rgba(60, 40, 10, .18);
  --shadow-lg: 0 30px 80px -30px rgba(60, 40, 10, .35);
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: var(--green-2); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; }

/* ---------- header ---------- */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 241, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
header.site.scrolled { border-bottom-color: var(--line); }
header.site .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: -.01em; }
.brand img { border-radius: 8px; }
.brand:hover { text-decoration: none; }
nav.main { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 15px; }
nav.main a { color: var(--muted); }
nav.main a:hover { color: var(--ink); text-decoration: none; }
nav.main a.cta { color: #fff; background: var(--ink); padding: 9px 16px; border-radius: 10px; font-weight: 600; }
nav.main a.cta:hover { background: #000; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); border-radius: 10px; padding: 7px 10px; font: inherit; color: var(--ink); }
@media (max-width: 880px) {
  nav.main { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; margin: 0; }
  nav.main.open { display: flex; }
  nav.main a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  nav.main a.cta { margin-top: 12px; text-align: center; border: 0; }
  .menu-btn { display: block; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 12px; font-weight: 600; font-size: 16px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.dark { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -10px rgba(29, 26, 22, .6); }
.btn.dark:hover { background: #000; }
.btn.light { background: var(--surface); color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow); }
.btn.green { background: var(--green); color: #fff; }
.btn.green:hover { background: var(--green-2); }
.btn small { display: block; font-size: 11px; font-weight: 500; opacity: .7; line-height: 1.1; }
.btn .two { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 40px; text-align: center; }
.glow { position: absolute; inset: -120px 0 auto; height: 720px; z-index: -1; pointer-events: none; overflow: hidden; }
.glow span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: float 16s ease-in-out infinite; }
.glow span:nth-child(1) { width: 520px; height: 520px; left: 8%; top: 40px; background: #ffd9b3; }
.glow span:nth-child(2) { width: 460px; height: 460px; right: 6%; top: 10px; background: #c9f0dc; animation-delay: -5s; }
.glow span:nth-child(3) { width: 380px; height: 380px; left: 40%; top: 220px; background: #e4dcff; animation-delay: -9s; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, -24px) scale(1.06); } }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 14px; color: var(--muted); }
.pill b { color: var(--ink); font-weight: 600; }
.pill .live { display: inline-flex; align-items: center; gap: 6px; background: var(--green-soft); color: var(--green-2); font-weight: 600; padding: 2px 9px; border-radius: 999px; font-size: 12px; }
.live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, .5); } 70% { box-shadow: 0 0 0 7px rgba(5, 150, 105, 0); } 100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); } }
.hero h1 { font-size: clamp(42px, 7vw, 80px); line-height: 1.02; letter-spacing: -.045em; margin: 22px auto 20px; max-width: 980px; font-weight: 750; }
.hero h1 .serif { font-weight: 400; letter-spacing: -.02em; color: var(--green-2); }
.hero .lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 680px; margin: 0 auto 30px; }
.hero .buttons { justify-content: center; }
.assure { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 18px; font-size: 14px; color: var(--muted); }
.assure span { display: inline-flex; align-items: center; gap: 6px; }
.assure svg { width: 16px; height: 16px; color: var(--green); }

/* ---------- live demo (hero) ---------- */
.stage { margin: 54px auto 0; max-width: 1060px; position: relative; }
.screen { position: relative; border-radius: 22px; overflow: hidden; background: #1c1d22; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9.2; border: 1px solid rgba(0, 0, 0, .08); }
.call { position: absolute; inset: 0; display: grid; grid-template-rows: 38px 1fr 64px; }
.call .bar { display: flex; align-items: center; gap: 8px; padding: 0 16px; color: #a9aab3; font-size: 13px; }
.call .bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3b41; }
.call .bar i:nth-child(1) { background: #ff5f57; } .call .bar i:nth-child(2) { background: #febc2e; } .call .bar i:nth-child(3) { background: #28c840; }
.call .bar span { margin-left: 10px; }
.call .tile { margin: 0 14px; border-radius: 14px; position: relative; overflow: hidden; background: radial-gradient(800px 420px at 30% 30%, #7b6a58, transparent 70%), radial-gradient(700px 400px at 80% 80%, #3d5a6c, transparent 70%), #2a2b31; }
.call .tile svg.person { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: 86%; }
.call .tile .who { position: absolute; left: 14px; bottom: 12px; background: rgba(0, 0, 0, .45); color: #f1f1f5; font-size: 13px; padding: 5px 10px; border-radius: 8px; }
.call .tile .ring { position: absolute; inset: 0; border: 3px solid #3ddc84; border-radius: 14px; opacity: 0; transition: opacity .3s; }
.call .tile.talking .ring { opacity: 1; }
.call .ctrls { display: flex; gap: 12px; align-items: center; justify-content: center; }
.call .ctrls b { width: 38px; height: 38px; border-radius: 50%; background: #34363d; }
.call .ctrls b.end { width: 56px; border-radius: 20px; background: #e5484d; }
.overlay { position: absolute; top: 52px; left: 50%; transform: translateX(-50%); width: min(78%, 760px); background: rgba(12, 12, 15, .92); color: #ececf1; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 20px 60px -10px rgba(0, 0, 0, .6); font-size: 13px; text-align: left; overflow: hidden; }
.overlay .row { display: flex; align-items: center; gap: 8px; padding: 8px 12px 4px; }
.overlay .dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; flex: none; }
.overlay .cap { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-align: right; color: #a7a8b3; display: flex; justify-content: flex-end; }
.overlay .tag { background: rgba(255, 255, 255, .07); color: #b5b6c0; padding: 1px 7px; border-radius: 6px; font-size: 11px; }
.overlay .hints { display: flex; gap: 12px; padding: 2px 12px 8px; color: #74757f; font-size: 11px; border-bottom: 1px solid rgba(255, 255, 255, .06); flex-wrap: wrap; }
.overlay kbd { font-family: var(--mono); background: rgba(255, 255, 255, .09); color: #dcdce3; border-radius: 4px; padding: 0 4px; font-size: 10.5px; }
.overlay .ans { padding: 10px 14px 12px; min-height: 120px; max-height: 300px; overflow: hidden; }
.overlay .q { color: #8e8f99; font-size: 12px; margin-bottom: 6px; }
.overlay .a { line-height: 1.55; }
.overlay .a strong { color: #fff; }
.overlay .a ul { margin: 6px 0 0; padding-left: 18px; }
.overlay .a li { margin: 2px 0; }
.overlay pre { margin: 8px 0 0; background: #17181d; border: 1px solid rgba(255, 255, 255, .08); border-radius: 8px; padding: 8px 10px; font: 11.5px/1.5 var(--mono); color: #d6d6dd; white-space: pre-wrap; }
.caret { display: inline-block; width: 7px; height: 14px; background: #38bdf8; vertical-align: -2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.callout { position: absolute; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 14px; padding: 10px 14px; font-size: 14px; color: var(--muted); text-align: left; width: 172px; }
.callout b { display: block; color: var(--ink); font-size: 15px; }
/* Narrow and outside the overlay (78% wide), so tall answers never slide under them. */
.callout.c1 { left: -64px; top: 34%; }
.callout.c2 { right: -64px; top: 58%; }
@media (max-width: 1220px) { .callout { display: none; } }
@media (max-width: 640px) {
  .overlay { width: 92%; top: 44px; font-size: 11px; }
  .overlay .hints { display: none; }
  .overlay .ans { min-height: 90px; max-height: 324px; }
  .overlay pre { font-size: 9.5px; padding: 6px 8px; }
  .screen { aspect-ratio: 4 / 5; }
}
.platforms { display: flex; gap: 10px 28px; justify-content: center; flex-wrap: wrap; margin-top: 34px; color: var(--faint); font-size: 15px; }
.platforms b { color: var(--muted); font-weight: 600; }

/* ---------- sections ---------- */
section.block { padding: 96px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-2); margin-bottom: 12px; }
.title { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.06; letter-spacing: -.035em; margin: 0 0 14px; font-weight: 750; }
.title .serif { color: var(--green-2); }
.sub { font-size: 18px; color: var(--muted); max-width: 640px; margin: 0; }
.head { margin-bottom: 48px; }
.head.center { text-align: center; }
.head.center .sub { margin: 0 auto; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); position: relative; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; margin-bottom: 18px; }
.step h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--muted); }
.step .k { margin-top: 14px; font-size: 14px; color: var(--faint); }
.step kbd, .faq kbd, .shots kbd { font-family: var(--mono); font-size: 13px; background: var(--bg-2); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; color: var(--ink); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* demos */
.tabs { display: inline-flex; gap: 6px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); margin-bottom: 22px; flex-wrap: wrap; }
.tabs button { font: inherit; font-weight: 600; font-size: 15px; border: 0; background: none; color: var(--muted); padding: 9px 16px; border-radius: 10px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.player { display: grid; grid-template-columns: 1.7fr 1fr; gap: 26px; align-items: center; }
.player .video { border-radius: 20px; overflow: hidden; background: #111; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; position: relative; }
.player video { width: 100%; height: 100%; object-fit: cover; }
.player .soon { position: absolute; inset: 0; display: grid; place-items: center; color: #c9c9d1; font-size: 15px; background: linear-gradient(135deg, #24252b, #17181c); text-align: center; padding: 20px; }
.player h3 { font-size: 26px; letter-spacing: -.02em; margin: 0 0 10px; }
.player p { color: var(--muted); margin: 0 0 14px; }
.player ul { margin: 0; padding: 0; list-style: none; }
.player li { padding: 8px 0 8px 28px; position: relative; color: var(--ink); border-bottom: 1px dashed var(--line); }
.player li::before { content: ''; position: absolute; left: 0; top: 13px; width: 16px; height: 16px; border-radius: 5px; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%23047857' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
@media (max-width: 900px) { .player { grid-template-columns: 1fr; } }

/* features (bento) */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.card h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; background: var(--green-soft); color: var(--green-2); }
.card .ic.a { background: var(--amber-soft); color: #b85e1c; }
.card .ic.v { background: #ece7ff; color: #5b3fd9; }
.card .ic svg { width: 22px; height: 22px; }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; }
.card.ink { background: var(--ink); color: #f3efe8; border-color: var(--ink); }
.card.ink p { color: #c7c0b4; }
.card.ink .ic { background: rgba(255, 255, 255, .08); color: #9ff0c8; }
.model { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.model span { font-size: 13px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #e9e3d9; }
.card.ink .model span b { color: #9ff0c8; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, 1fr); } .span-2, .span-3, .span-4 { grid-column: span 2; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .span-2, .span-3, .span-4 { grid-column: auto; } }

/* privacy split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pane { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.pane header { padding: 14px 18px; font-weight: 700; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.pane header span { font-weight: 500; color: var(--faint); font-size: 14px; }
.mini { aspect-ratio: 16 / 10; position: relative; background: radial-gradient(500px 260px at 30% 30%, #7b6a58, transparent 70%), radial-gradient(420px 260px at 80% 80%, #3d5a6c, transparent 70%), #2a2b31; }
.mini .ov { position: absolute; top: 12%; left: 12%; right: 12%; height: 46%; border-radius: 10px; background: rgba(12, 12, 15, .92); border: 1px solid rgba(255, 255, 255, .1); padding: 12px; }
.mini .ov i { display: block; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .22); margin: 8px 0; }
.mini .ov i:nth-child(1) { width: 40%; background: #34d399; } .mini .ov i:nth-child(2) { width: 90%; } .mini .ov i:nth-child(3) { width: 75%; } .mini .ov i:nth-child(4) { width: 60%; }
.mini .ghost { position: absolute; top: 12%; left: 12%; right: 12%; height: 46%; border-radius: 10px; border: 2px dashed rgba(255, 255, 255, .25); display: grid; place-items: center; color: rgba(255, 255, 255, .6); font-size: 14px; }
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.notes .card p { font-size: 15px; }
.notes code { font-family: var(--mono); font-size: 13px; background: var(--bg-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }
.small-print { font-size: 14px; color: var(--faint); margin-top: 18px; }
@media (max-width: 860px) { .split, .notes { grid-template-columns: 1fr; } }

/* compare */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: 15.5px; }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--bg-2); font-size: 14px; color: var(--muted); font-weight: 600; }
.compare thead th.us { background: var(--ink); color: #fff; font-size: 16px; }
.compare td.us { background: #f2faf5; font-weight: 600; color: var(--ink); }
.compare td:first-child { color: var(--muted); font-weight: 500; width: 30%; }
.compare .y { color: var(--green-2); font-weight: 700; }
.compare .n { color: #b5532a; }
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 640px) { .compare { font-size: 14px; } .compare th, .compare td { padding: 12px; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; }
.plan.pop { border: 2px solid var(--green); box-shadow: 0 30px 60px -30px rgba(5, 150, 105, .45); }
.plan.dark { background: var(--ink); color: #f3efe8; border-color: var(--ink); }
.plan .badge { position: absolute; top: -12px; left: 22px; background: var(--green); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.plan.dark .badge { background: var(--amber); }
.plan h3 { margin: 0; font-size: 18px; }
.plan .was { margin-top: 14px; font-size: 15px; color: var(--faint); }
.plan .was s { margin-right: 6px; }
.plan .was b { color: var(--green-2); font-size: 12px; background: var(--green-soft); padding: 2px 7px; border-radius: 999px; }
.plan.dark .was { color: #a69d90; } .plan.dark .was b { background: rgba(255, 255, 255, .1); color: #9ff0c8; }
.plan .price { font-size: 44px; font-weight: 750; letter-spacing: -.03em; line-height: 1.1; margin: 2px 0 2px; }
.plan .alt { font-size: 13px; color: var(--faint); }
.plan.dark .alt { color: #a69d90; }
.plan .what { font-weight: 600; margin: 14px 0 4px; }
.plan .per { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.plan.dark .per { color: #c7c0b4; }
.plan .btn { margin-top: auto; justify-content: center; }
.plan.dark .btn.light { background: #fff; border-color: #fff; }
.price-foot { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; margin-top: 26px; color: var(--muted); font-size: 14px; }
.price-foot span { display: inline-flex; align-items: center; gap: 7px; }
.price-foot svg { width: 16px; height: 16px; color: var(--green); }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; margin-bottom: 10px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--faint); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* final cta */
.final { padding: 96px 0; }
.final .box { position: relative; overflow: hidden; border-radius: 28px; padding: 64px 40px; text-align: center; background: var(--ink); color: #f3efe8; }
.final .box::before { content: ''; position: absolute; inset: -40%; background: radial-gradient(closest-side, rgba(5, 150, 105, .45), transparent), radial-gradient(closest-side at 80% 20%, rgba(232, 131, 58, .35), transparent); filter: blur(10px); }
.final .box > * { position: relative; }
.final h2 { font-size: clamp(32px, 5vw, 56px); letter-spacing: -.035em; line-height: 1.05; margin: 0 0 14px; }
.final h2 .serif { color: #9ff0c8; }
.final p { color: #c7c0b4; font-size: 18px; margin: 0 auto 28px; max-width: 560px; }
.final .buttons { justify-content: center; }
.final .btn.light { background: #fff; border-color: #fff; }

/* footer */
footer.site { border-top: 1px solid var(--line); padding: 44px 0 36px; font-size: 14px; color: var(--muted); background: var(--bg); }
footer.site .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
footer.site .f-brand p { margin: 12px 0 0; max-width: 360px; }
footer.site h4 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
footer.site nav { display: flex; flex-direction: column; gap: 7px; }
footer.site nav a { color: var(--muted); }
footer.site .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; color: var(--faint); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { footer.site .wrap { grid-template-columns: 1fr; } }

/* toast (download links coming soon) */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); opacity: 0; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 15px; box-shadow: var(--shadow-lg); transition: .25s; z-index: 100; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .glow span, .live::before, .caret { animation: none; }
}

/* ---------- document pages (policies, contact, download) ---------- */
main.doc { max-width: 780px; margin: 0 auto; padding: 56px 24px 80px; }
main.doc h1 { font-size: clamp(32px, 5vw, 46px); letter-spacing: -.03em; line-height: 1.1; margin: 0 0 8px; }
main.doc h2 { font-size: 22px; letter-spacing: -.01em; margin: 34px 0 10px; }
main.doc p, main.doc li { color: var(--muted); }
main.doc .updated { color: var(--faint); font-size: 14px; margin: 0 0 28px; }
main.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
main.doc th, main.doc td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
main.doc th { background: var(--bg-2); color: var(--ink); }
.page-hero { position: relative; padding: 64px 0 8px; text-align: center; }
.page-hero h1 { font-size: clamp(36px, 6vw, 60px); letter-spacing: -.04em; line-height: 1.05; margin: 0 0 12px; }
.page-hero .sub { margin: 0 auto; }
.dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.dl .card { text-align: center; }
.dl .card .btn { margin-top: 18px; justify-content: center; width: 100%; }
@media (max-width: 860px) { .dl { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .pill .opt { display: none; } }
@media (max-width: 400px) { .brand { font-size: 15px; gap: 8px; } .brand img { width: 26px; height: 26px; } header.site .wrap { gap: 12px; padding: 0 16px; } }
/* platforms the overlay stays hidden on */
.plat { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.plat-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.plat-group h3 { margin: 0 0 14px; font-size: 18px; }
.plat-group p { margin: 14px 0 0; color: var(--muted); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-size: 14.5px; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: var(--green-soft); color: var(--green-2); }
.chips span::before { content: '✓ '; }
@media (max-width: 860px) { .plat { grid-template-columns: 1fr; } }
/* platforms list (numbered, expandable) */
.plist { max-width: 900px; margin: 0 auto; }
.prow { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; box-shadow: var(--shadow); transition: border-color .2s; }
.prow[open] { border-color: #bfe5d1; }
.prow summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 16px 20px; }
.prow summary::-webkit-details-marker { display: none; }
.prow .num { font-family: var(--mono); font-size: 13px; color: var(--faint); width: 30px; }
.prow .mono { width: 36px; height: 36px; border-radius: 10px; background: var(--c); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; letter-spacing: -.02em; flex: none; box-shadow: inset 0 -2px 0 rgba(0,0,0,.15); }
.prow .pname { font-weight: 650; font-size: 17px; }
.prow .kind { font-size: 13px; color: var(--faint); margin-left: 4px; }
.prow .ok { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--green-2); background: var(--green-soft); padding: 5px 12px; border-radius: 999px; }
.prow .ok i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
.prow .chev { width: 10px; height: 10px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: rotate(45deg); margin: -4px 4px 0 6px; transition: transform .2s; }
.prow[open] .chev { transform: rotate(225deg); margin-top: 4px; }
.pbody { padding: 0 20px 20px 82px; color: var(--muted); }
.pbody p { margin: 0; }
.pbody code { font-family: var(--mono); font-size: 13px; background: var(--bg-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }
.pbody kbd { font-family: var(--mono); font-size: 13px; background: var(--bg-2); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; color: var(--ink); }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.vs span { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.vs .mini { border-radius: 12px; }
.pmore { text-align: center; color: var(--muted); margin-top: 18px; }
@media (max-width: 640px) {
  .prow summary { gap: 10px; padding: 14px; flex-wrap: wrap; }
  .prow .num, .prow .kind { display: none; }
  .pbody { padding: 0 14px 16px; }
  .vs { grid-template-columns: 1fr; }
}
.vs .mini { aspect-ratio: 16 / 7; }
.pnote { margin-top: 10px !important; padding: 10px 14px; border-radius: 10px; background: var(--amber-soft); color: #8a4a12; font-size: 14.5px; }
/* hero speed strip */
.speed { display: inline-grid; grid-template-columns: repeat(3, auto); gap: 0; margin-top: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.speed div { padding: 12px 22px; text-align: left; border-left: 1px solid var(--line); }
.speed div:first-child { border-left: 0; }
.speed b { display: block; font-size: 26px; letter-spacing: -.03em; color: var(--green-2); line-height: 1.1; }
.speed span { font-size: 13px; color: var(--muted); }
@media (max-width: 600px) { .speed { grid-template-columns: 1fr; } .speed div { border-left: 0; border-top: 1px solid var(--line); } .speed div:first-child { border-top: 0; } }
.dl .card .dl-note { margin-top: 12px; font-size: 13.5px; line-height: 1.5; }
.dl .card .dl-note b { color: var(--ink, inherit); font-weight: 600; }
.dl.two { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-left: auto; margin-right: auto; }
@media (max-width: 860px) { .dl.two { grid-template-columns: 1fr; } }

/* ---------- feedback form ---------- */
.fb-lead { font-size: 18px; margin: 0 0 28px; }
.fb-form[hidden], .fb-done[hidden] { display: none; }
.fb-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; display: grid; gap: 22px; }
.fb-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.fb-form legend, .fb-label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 10px; font-size: 15px; }
.fb-opt { font-weight: 400; color: var(--faint); font-size: 14px; }
.fb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fb-chips label { cursor: pointer; }
.fb-chips input { position: absolute; opacity: 0; pointer-events: none; }
.fb-chips span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg); color: var(--muted); font-size: 14.5px; transition: background .15s, border-color .15s, color .15s; }
.fb-chips label:hover span { border-color: var(--green); color: var(--ink); }
.fb-chips input:checked + span { background: var(--green-soft); border-color: var(--green); color: var(--green-2); font-weight: 600; }
.fb-chips input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.fb-stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.fb-stars input { position: absolute; opacity: 0; pointer-events: none; }
.fb-stars label { font-size: 30px; line-height: 1; color: var(--line-2); cursor: pointer; transition: color .1s, transform .1s; }
.fb-stars label:hover, .fb-stars label:hover ~ label, .fb-stars input:checked ~ label { color: var(--amber); }
.fb-stars label:hover { transform: scale(1.12); }
.fb-stars input:focus-visible + label { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 4px; }
.fb-field { display: block; position: relative; min-width: 0; }
.fb-form textarea, .fb-form input[type=text], .fb-form input[type=email] { width: 100%; font: inherit; font-size: 15.5px; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
.fb-form textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.fb-form textarea:focus, .fb-form input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.fb-form .invalid { border-color: #d14343 !important; box-shadow: 0 0 0 3px #fbe3e3 !important; }
.fb-count { display: block; text-align: right; font-size: 12.5px; color: var(--faint); margin-top: 6px; }
.fb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fb-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.fb-actions .btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.fb-status { margin: 0; font-size: 14.5px; }
.fb-status.error { color: #b42318; }
.fb-done { background: var(--green-soft); border: 1px solid #bfe5d2; border-radius: var(--radius); padding: 28px; }
.fb-done h2 { margin-top: 0 !important; color: var(--green-2); }
.fb-mail { margin-top: 24px; font-size: 15px; }
@media (max-width: 640px) {
  .fb-form { padding: 20px; }
  .fb-row { grid-template-columns: 1fr; }
}

/* ---------- landing pages ---------- */
.lp-hero-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
main.lp { max-width: 820px; }
main.lp h2 { font-size: clamp(24px, 3.4vw, 30px); margin: 46px 0 12px; color: var(--ink); }
main.lp h2:first-child { margin-top: 0; }
main.lp p, main.lp li { font-size: 17px; line-height: 1.65; }
.lp-list { padding-left: 22px; }
.lp-list li { margin: 8px 0; }
.lp-list b { color: var(--ink); }
.lp-note { font-size: 15px !important; color: var(--faint) !important; margin-top: 12px; }
main.lp table td b { color: var(--ink); }
main.lp kbd { font-family: var(--mono); font-size: .85em; background: var(--bg-2); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; }
.lp-video { margin: 28px 0 8px; }
.lp-video video { width: 100%; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #000; display: block; }
.lp-video p { font-size: 14px !important; color: var(--faint) !important; text-align: center; margin-top: 10px; }
main.lp .faq { margin-top: 8px; }
.lp-cta { margin-top: 56px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; text-align: center; }
.lp-cta-title { font-size: 24px !important; font-weight: 700; color: var(--ink) !important; margin: 0 0 6px; letter-spacing: -.01em; }
.lp-cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }
@media (max-width: 640px) { .lp-cta { padding: 24px 18px; } main.lp table { font-size: 13.5px; } }
