:root {
  --bg: #0b0c0e;
  --bg-2: #101215;
  --panel: #14171b;
  --panel-2: #1a1e23;
  --line: #24292f;
  --line-2: #30363d;
  --text: #eef0f3;
  --muted: #9aa2ad;
  --dim: #6c7480;
  --accent: #c6f36b;
  --accent-2: #a9dd45;
  --accent-ink: #0b0c0e;
  --key: #8cc8ff;
  --str: #c6f36b;
  --num: #ffbe7a;
  --bad: #ff8b8b;
  --radius: 14px;
  --radius-sm: 9px;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; }
a { color: inherit; }
code { font: 0.88em var(--mono); background: var(--panel-2); border: 1px solid var(--line); padding: 0.08em 0.4em; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 650; }
h2 { font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -0.035em; }
h2 em, h1 em { font-style: normal; color: var(--accent); }
p { margin: 0; }
.muted { color: var(--muted); }
.center { text-align: center; justify-content: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px; font: 600 15px/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s, color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #d6fb86; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--muted); background: var(--panel); }
.btn--sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link { background: none; border: 0; color: var(--muted); font: 500 13px var(--sans); cursor: pointer; padding: 0; }
.link:hover { color: var(--text); }

.install { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); font: 14px var(--mono); cursor: pointer; transition: border-color .15s; }
.install:hover { border-color: var(--muted); }
.install__prompt { color: var(--accent); }
.install__icon { color: var(--dim); font-size: 15px; }
.install.is-copied .install__icon { color: var(--accent); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11, 12, 14, .78); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--accent); }
.brand__mark { width: 28px; height: 28px; }
.brand__name { color: var(--text); font: 700 17px var(--sans); letter-spacing: .04em; }
.brand__name span { color: var(--muted); font-weight: 500; letter-spacing: 0; margin-left: 5px; }
.nav__links { display: flex; gap: 26px; margin-left: 18px; }
.nav__links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .15s; }
.nav__links a:hover { color: var(--text); }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; width: 40px; height: 36px; border: 1px solid var(--line-2); border-radius: 10px; background: transparent; cursor: pointer; padding: 0 10px; flex-direction: column; justify-content: center; gap: 5px; }
.nav__toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s; }

/* Hero */
.hero { position: relative; padding: 72px 0 64px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto 35%; height: 720px; background: radial-gradient(closest-side, rgba(198, 243, 107, .13), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; opacity: .25; mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%); pointer-events: none; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); border: 1px solid var(--line-2); padding: 7px 12px; border-radius: 999px; background: rgba(20, 23, 27, .6); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(198, 243, 107, .15); }
.hero h1 { margin-top: 22px; font-size: clamp(38px, 5.6vw, 68px); letter-spacing: -0.045em; line-height: 1.02; }
.lead { margin-top: 22px; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 37em; }
.lead q { color: var(--text); quotes: "“" "”"; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 8px 26px; list-style: none; padding: 0; margin: 30px 0 0; color: var(--muted); font-size: 14px; }
.hero__proof strong { color: var(--text); font-weight: 650; }

.showcase { margin: 0; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02) inset; overflow: hidden; }
.showcase__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.showcase__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.showcase__bar b { margin-left: auto; font: 500 11px var(--mono); color: var(--dim); letter-spacing: .1em; text-transform: uppercase; }
.showcase__query { display: flex; align-items: center; gap: 10px; margin: 18px 18px 0; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-2); min-height: 52px; font-size: 15px; }
.showcase__icon { color: var(--accent); font-size: 18px; }
.caret { width: 2px; height: 1.2em; background: var(--accent); margin-left: -6px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.showcase__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 18px 0; min-height: 52px; align-content: flex-start; }
.showcase__json { margin: 14px 18px 0; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; font: 12.5px/1.6 var(--mono); color: var(--muted); height: 362px; overflow: auto; white-space: pre-wrap; word-break: break-word; }
.showcase__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 18px 16px; font: 12px var(--mono); color: var(--dim); }
.pill { border: 1px solid rgba(198, 243, 107, .35); color: var(--accent); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line-2); font-size: 13px; color: var(--text); animation: pop .28s ease both; }
.chip b { font: 500 11px var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.chip--not { border-color: rgba(255, 139, 139, .35); }
.chip--not b { color: var(--bad); }
.chip--price { border-color: rgba(255, 190, 122, .35); }
.chip--price b { color: var(--num); }
.chip--btn { cursor: pointer; color: var(--muted); animation: none; font: inherit; font-size: 13px; transition: color .15s, border-color .15s; }
.chip--btn:hover { color: var(--text); border-color: var(--muted); }
@keyframes pop { from { opacity: 0; transform: translateY(4px) scale(.97); } to { opacity: 1; transform: none; } }

.j-k { color: var(--key); }
.j-s { color: var(--str); }
.j-n { color: var(--num); }
.j-b { color: var(--num); }

/* Stats */
.stats { border-block: 1px solid var(--line); background: var(--bg-2); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats__grid div { padding: 28px 24px; border-left: 1px solid var(--line); }
.stats__grid div:first-child { border-left: 0; padding-left: 0; }
.stats__grid b { display: block; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.03em; font-weight: 650; }
.stats__grid span { color: var(--muted); font-size: 14px; }

/* Sections */
.section { padding: 112px 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.label { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: 18px; }
.section__lead { margin-top: 20px; color: var(--muted); font-size: 18px; max-width: 42em; }

.cards { display: grid; gap: 16px; margin-top: 52px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card, .feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color .2s, transform .2s; }
.card:hover, .feature:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card__q { font: 15px var(--mono); color: var(--accent); margin-bottom: 18px; }
.card h3, .feature h3 { font-size: 19px; margin-bottom: 10px; }
.card p:not(.card__q), .feature p { color: var(--muted); font-size: 15px; }
.feature svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }

.flow { list-style: none; padding: 0; margin: 52px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.flow__step { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.flow__step:not(:last-child)::after { content: "→"; position: absolute; right: -13px; top: 34px; width: 26px; height: 26px; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 50%; color: var(--accent); font-size: 13px; z-index: 1; }
.flow__n { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font: 700 14px var(--mono); margin-bottom: 8px; }
.flow__step h3 { font-size: 19px; }
.flow__step p { color: var(--muted); font-size: 15px; }
.flow__io { margin-top: auto; display: block; padding: 12px 14px; font-size: 12.5px; line-height: 1.5; color: var(--text); background: var(--bg); border-radius: 10px; }

/* Demo */
.demo { margin-top: 44px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 20px; padding: 24px; }
.demo__form { display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 14px; padding: 7px 7px 7px 16px; transition: border-color .15s; }
.demo__form:focus-within { border-color: var(--accent); }
.demo__icon { color: var(--accent); font-size: 18px; }
.demo__form input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); font: 16px var(--sans); height: 44px; outline: none; padding: 0; }
.demo__form input::placeholder { color: var(--dim); }
.demo__examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; color: var(--dim); font-size: 13px; }
.demo__out { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.demo__panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; min-height: 280px; display: flex; flex-direction: column; min-width: 0; }
.demo__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--dim); margin-bottom: 16px; }
.demo__chips { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; flex: 1; }
.demo__metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.demo__metrics dt { font: 500 11px var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }
.demo__metrics dd { margin: 4px 0 0; font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.status { text-transform: none; letter-spacing: 0; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.status[data-state="loading"]::before, .status[data-state="running"]::before { background: var(--num); animation: blink .8s steps(1) infinite; }
.status[data-state="ready"]::before { background: var(--accent); }
.status[data-state="error"]::before { background: var(--bad); }
.code { margin: 0; font: 13px/1.65 var(--mono); color: var(--muted); white-space: pre-wrap; word-break: break-word; overflow: auto; }
.demo__panel .code { flex: 1; max-height: 340px; }
.fineprint { margin-top: 16px; color: var(--dim); font-size: 13px; }

/* Developers */
.dev { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 28px; color: var(--muted); font-size: 15px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: rgba(198, 243, 107, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%23c6f36b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.dev__links { margin-top: 30px; }
.tabs { background: var(--bg); border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; min-width: 0; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .9); }
.tabs__list { display: flex; gap: 4px; padding: 10px; border-bottom: 1px solid var(--line); background: var(--panel); }
.tabs__list button { background: transparent; border: 0; color: var(--muted); font: 500 13px var(--sans); padding: 8px 14px; border-radius: 8px; cursor: pointer; }
.tabs__list button[aria-selected="true"] { background: var(--panel-2); color: var(--text); box-shadow: 0 0 0 1px var(--line-2) inset; }
.tabs__panel { padding: 22px 24px; }
.tabs__panel .code { white-space: pre; color: var(--text); font-size: 13px; }
.code .k { color: #c792ea; }
.code .s { color: var(--str); }
.code .f { color: var(--key); }
.code .t { color: #ff9d7a; }
.code .n { color: var(--num); }
.code .c { color: var(--dim); }

/* Compare */
.table-wrap { margin-top: 48px; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; background: var(--panel); }
.compare { width: 100%; border-collapse: collapse; min-width: 660px; font-size: 15px; }
.compare th, .compare td { padding: 17px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--dim); }
.compare tbody th { font-weight: 500; color: var(--muted); }
.compare .is-sift { background: rgba(198, 243, 107, .05); }
.compare thead .is-sift { color: var(--accent); }
.compare td.yes::before, .compare td.no::before { display: inline-block; width: 18px; font-weight: 700; }
.compare td.yes::before { content: "✓"; color: var(--accent); }
.compare td.no::before { content: "✕"; color: var(--dim); }
.compare td.no { color: var(--muted); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 52px; align-items: stretch; }
.plan { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px 24px; display: flex; flex-direction: column; }
.plan .checks { margin: 22px 0 28px; flex: 1; }
.plan h3 { font-size: 18px; }
.plan__price { margin-top: 16px; display: flex; align-items: baseline; gap: 8px; }
.plan__price b { font-size: 40px; letter-spacing: -0.04em; font-weight: 650; }
.plan__price span { color: var(--dim); font-size: 14px; }
.plan__desc { margin-top: 6px; color: var(--muted); font-size: 14px; min-height: 2.6em; }
.plan--featured { border-color: rgba(198, 243, 107, .55); background: linear-gradient(180deg, rgba(198, 243, 107, .07), var(--panel) 40%); box-shadow: 0 30px 80px -40px rgba(198, 243, 107, .35); }
.plan__badge { position: absolute; top: -12px; left: 24px; background: var(--accent); color: var(--accent-ink); font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq .section__lead a { color: var(--text); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-size: 17px; font-weight: 550; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 300 24px var(--sans); color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--accent); }
.faq details p { color: var(--muted); padding: 0 0 22px; max-width: 46em; }
.faq details a { color: var(--text); }

/* CTA */
.cta { padding: 120px 0; position: relative; overflow: hidden; text-align: center; }
.cta::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 500px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(198, 243, 107, .12), transparent); pointer-events: none; }
.cta__inner { position: relative; }
.cta h2 { font-size: clamp(32px, 5vw, 60px); }
.cta p { margin-top: 18px; color: var(--muted); font-size: 18px; }
.cta .hero__actions { justify-content: center; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 28px; background: var(--bg-2); }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__inner > div > p { margin-top: 14px; font-size: 14px; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__cols h4 { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--dim); margin-bottom: 14px; }
.footer__cols a { display: block; color: var(--muted); text-decoration: none; font-size: 14px; margin-bottom: 9px; }
.footer__cols a:hover { color: var(--text); }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
.footer__legal a { color: var(--dim); text-decoration: none; }
.footer__legal a:hover { color: var(--text); }

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

/* Responsive */
@media (max-width: 1060px) {
  .cards--4, .plans { grid-template-columns: repeat(2, 1fr); }
  .plan__badge { left: 20px; }
}
@media (max-width: 920px) {
  .hero { padding-top: 48px; }
  .hero__grid, .dev, .faq { grid-template-columns: 1fr; gap: 40px; }
  .cards--3, .flow { grid-template-columns: 1fr; }
  .flow__step:not(:last-child)::after { content: "↓"; right: auto; left: 32px; top: auto; bottom: -13px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats__grid div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .demo__out { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .nav__links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav__toggle { display: inline-flex; }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
}
@media (max-width: 620px) {
  .cards--4, .plans { grid-template-columns: 1fr; }
  .nav__cta .btn--ghost { display: none; }
  .stats__grid div { padding: 22px 12px; }
  .stats__grid div:nth-child(odd) { padding-left: 0; }
  .demo { padding: 14px; }
  .demo__form { flex-wrap: wrap; padding: 8px; }
  .demo__form .btn { width: 100%; }
  .demo__icon { display: none; }
  .demo__form input, .demo__ghost { padding-left: 8px; }
  .demo__metrics { grid-template-columns: repeat(2, 1fr); }
  .install { font-size: 13px; max-width: 100%; }
  .hero__actions .btn, .hero__actions .install { width: 100%; justify-content: center; }
  .tabs__panel { padding: 18px 16px; }
  .tabs__panel .code { font-size: 12px; }
  .showcase__json { height: 340px; font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Three ways in */
kbd { font: 500 11px var(--mono); color: var(--text); background: var(--panel-2); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 5px; padding: 1px 5px; }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; }
.way { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 0; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; overflow: hidden; transition: border-color .2s, transform .2s; }
.way:hover { border-color: rgba(198, 243, 107, .45); transform: translateY(-3px); }
.way__n { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--accent); }
.way h3 { font-size: 22px; }
.way p { color: var(--muted); font-size: 15px; }
.way__art { margin: 18px -26px 0; padding: 22px 22px 24px; flex: 1; min-height: 190px; background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }
.mini-input { padding: 11px 14px; border: 1px solid rgba(198, 243, 107, .5); border-radius: 10px; background: var(--bg); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 0 0 4px rgba(198, 243, 107, .07); }
.mini-ghost { color: var(--dim); }
.mini-list { list-style: none; margin: 8px 0 0; padding: 6px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--panel); font-size: 13px; color: var(--text); }
.mini-list li { padding: 7px 9px; border-radius: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-list li:first-child { background: var(--panel-2); }
.mini-list span { color: var(--dim); }
.mini-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip--mini { animation: none; }
.chip--mini i { font-style: normal; color: var(--dim); margin-left: 2px; }
.chip--tag { color: var(--key); }
.way__art--voice { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.wave { display: flex; align-items: center; gap: 4px; height: 70px; }
.wave i { width: 4px; height: 100%; border-radius: 4px; background: var(--accent); opacity: .85; transform: scaleY(.15); animation: wave 1.3s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -.2s; } .wave i:nth-child(3n+1) { animation-delay: -.55s; } .wave i:nth-child(4n) { animation-delay: -.9s; } .wave i:nth-child(5n) { animation-delay: -.35s; }
.wave i:nth-child(n+8):nth-child(-n+20) { animation-duration: 1s; }
@keyframes wave { 0%, 100% { transform: scaleY(.15); } 50% { transform: scaleY(1); } }
.mini-quote { font: 13px var(--mono); color: var(--muted); }

/* Demo: one control */
.demo__form { position: relative; }
.demo__field { position: relative; flex: 1; min-width: 0; display: flex; }
.demo__field input { position: relative; z-index: 1; }
.demo__ghost { position: absolute; inset: 0; display: flex; align-items: center; font: 16px var(--sans); white-space: pre; overflow: hidden; pointer-events: none; color: var(--dim); }
.demo__ghost-typed { color: transparent; }
.demo__mic { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); display: grid; place-items: center; cursor: pointer; transition: border-color .15s, background .15s, color .15s, box-shadow .15s; }
.demo__mic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.demo__mic:hover { border-color: var(--muted); }
.demo__mic[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); animation: listen 1.4s ease-out infinite; }
.demo__mic:disabled { opacity: .4; cursor: not-allowed; }
@keyframes listen { 0% { box-shadow: 0 0 0 0 rgba(198, 243, 107, .45); } 100% { box-shadow: 0 0 0 14px rgba(198, 243, 107, 0); } }
.demo__suggest { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 6px; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .9); }
.demo__suggest li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 12px; border-radius: 9px; cursor: pointer; font-size: 15px; }
.demo__suggest li[aria-selected="true"], .demo__suggest li:hover { background: var(--panel); box-shadow: 0 0 0 1px var(--line-2) inset; }
.demo__suggest li > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo__suggest .typed { color: var(--dim); }
.demo__suggest .more { color: var(--text); font-weight: 550; }
.demo__suggest .key { flex: none; font: 500 11px var(--mono); color: var(--dim); }
.demo__suggest .pending { color: var(--dim); font: 13px var(--mono); cursor: default; }
.demo__suggest .pending::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--num); animation: blink .8s steps(1) infinite; }
.demo__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.demo__hint { color: var(--dim); font-size: 13px; }
.demo__hint kbd { margin: 0 1px; }
.demo__lang select { background: var(--bg); color: var(--muted); border: 1px solid var(--line-2); border-radius: 8px; padding: 5px 8px; font: 13px var(--sans); }
.chip--accent { border-color: rgba(198, 243, 107, .4); color: var(--accent); }
.demo__result { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.demo__group h4 { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--dim); margin-bottom: 10px; }
.demo__group > div { display: flex; flex-wrap: wrap; gap: 8px; }
.chip--edit { padding: 4px 4px 4px 11px; gap: 6px; }
.chip--edit:focus-within { border-color: var(--accent); }
.chip--edit input { background: transparent; border: 0; outline: 0; color: inherit; font: 13px var(--sans); padding: 2px 0; min-width: 2ch; max-width: 28ch; }
.chip--edit button { width: 22px; height: 22px; border-radius: 50%; border: 0; background: transparent; color: var(--dim); cursor: pointer; font-size: 15px; line-height: 1; display: grid; place-items: center; }
.chip--edit button:hover { background: var(--line-2); color: var(--text); }
.chip--add { border-style: dashed; padding: 4px 11px; }
.chip--add input { width: 11ch; }
.demo__actions { display: inline-flex; gap: 14px; text-transform: none; letter-spacing: 0; }

@media (max-width: 920px) {
  .ways { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .demo__field { flex-basis: calc(100% - 54px); }
  .demo__suggest { top: 60px; }
  .demo__suggest li > span:first-child { white-space: normal; }
  .demo__hint { display: none; }
}

/* Plan tags on the three ways */
.plan-tag { margin-left: 8px; font-style: normal; font: 600 10px var(--mono); letter-spacing: .08em; padding: 2px 7px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); vertical-align: 1px; }
.plan-tag--free { border-color: rgba(198, 243, 107, .5); color: var(--accent); background: rgba(198, 243, 107, .08); }

/* Custom model: a wide plan under the four */
.plan--wide { margin-top: 16px; display: grid; grid-template-columns: 1.15fr 1.25fr .7fr; gap: 36px; align-items: center; padding: 32px; border-style: dashed; border-color: rgba(198, 243, 107, .45); background: radial-gradient(120% 140% at 0% 0%, rgba(198, 243, 107, .08), transparent 55%), var(--panel); }
.plan--wide h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.03em; margin-top: 14px; }
.plan--wide h3 em { font-style: normal; color: var(--accent); }
.plan--wide .plan__desc { min-height: 0; margin-top: 10px; }
.plan--wide .checks { margin: 0; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.plan__badge--inline { position: static; display: inline-block; }
.plan__cta { display: flex; flex-direction: column; gap: 16px; }
.plan__cta .plan__price { margin: 0; }
.plan__cta .plan__price b { font-size: 30px; }
@media (max-width: 1060px) {
  .plan--wide { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 620px) {
  .plan--wide { padding: 24px; }
  .plan--wide .checks { grid-template-columns: 1fr; }
}
