/* QUIET Ai website. One stylesheet for the homepage, the model pages and the document pages.
   Tokens first; everything below uses tokens only. */
:root {
  --bg: #F4F5F2; --paper: #FFFFFF; --sand: #E9EAE4; --stone: #DADCD3;
  --ink: #15181A; --mute: #5A6066; --accent: #FF6A3D; --on-accent: #15181A;
  --night: #15181A; --night-2: #24292D; --on-night: #F4F5F2; --on-night-mute: #B4B9BD;
  --ok: #17663A;
  --sf: system-ui, -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --d: clamp(50px, 9vw, 150px); --big: clamp(36px, 5vw, 76px); --h: clamp(26px, 2.6vw, 36px);
  --body: 18px; --small: 14px;
  --r: 20px; --m: clamp(20px, 2.2vw, 32px); --gap: clamp(96px, 13vw, 190px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111415; --paper: #1B1F22; --sand: #1F2427; --stone: #2C3236; --ink: #F4F5F2; --mute: #B0B5B9;
          --night: #1B1F22; --night-2: #2A3034; --ok: #5CC98A; }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; background: var(--bg); color: var(--ink); font-family: var(--sf); font-weight: 400; font-size: var(--body); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--on-accent); }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--m); }
.mono { font-variant-numeric: tabular-nums; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
h2 { font-size: var(--h); }
h3 { font-size: var(--body); letter-spacing: -0.01em; line-height: 1.3; }

/* ---------- header ---------- */
header.site { position: sticky; top: 0; z-index: 30; background: var(--bg); }
.nav { display: flex; align-items: stretch; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -0.02em; font-size: var(--body); }
.brand .mark { width: 26px; height: 26px; border-radius: 8px; background: var(--ink); position: relative; }
.brand .mark::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--accent); }
.nav-links { display: flex; align-items: stretch; gap: 6px; font-size: 16px; }
.nav-links > a, .menu > a { display: flex; align-items: center; padding: 0 12px; text-decoration: none; color: var(--ink); }
.nav-links > a:hover, .menu > a:hover, .nav-links a.on { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav-links a.nav-cta { align-self: center; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 600; margin-left: 8px; }
.nav-links a.nav-cta:hover { text-decoration: none; transform: translateY(-1px); }
/* The menu is as tall as the bar, so the panel hangs directly under it with no gap to cross. */
.menu { position: relative; display: flex; align-items: stretch; }
.menu-panel { position: absolute; top: 100%; right: -120px; display: flex; gap: 32px; padding: 24px 28px; min-width: 580px; background: var(--paper); border-radius: var(--r); box-shadow: 0 24px 60px rgba(20, 24, 26, .16); z-index: 40;
  visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .16s ease, transform .16s ease, visibility 0s linear .3s; transition-delay: .25s, .25s, .4s; }
.menu:hover .menu-panel, .menu:focus-within .menu-panel { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.menu-col { display: flex; flex-direction: column; min-width: 150px; }
.menu-col a { display: block; padding: 7px 0; text-decoration: none; font-size: 16px; }
.menu-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.menu-k { font-size: var(--small); color: var(--mute); padding: 7px 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: var(--body); text-decoration: none; border: 0; cursor: pointer; font-family: inherit; transition: transform .18s var(--ease), background-color .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn.orange { background: var(--accent); color: var(--on-accent); }
.btn.ghost { background: var(--sand); color: var(--ink); }
.tlink { text-underline-offset: 5px; text-decoration-thickness: 2px; }
.tlink:hover { text-decoration-color: var(--accent); }

/* ---------- homepage: hero ---------- */
.hero { background: var(--night); color: var(--on-night); padding: clamp(40px, 7vh, 90px) 0 clamp(56px, 12vh, 150px); }
.hero-stage { position: relative; max-width: 1100px; margin: 0 auto; text-align: center; padding-top: clamp(70px, 10vh, 110px); }
.hero h1 { font-size: var(--d); line-height: 1; letter-spacing: -0.045em; font-weight: 700; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero h1 .line > span { display: block; }
.hero .say { font-size: var(--body); max-width: 44ch; margin: clamp(40px, 6vh, 72px) auto 0; color: var(--on-night); }
.hero .cta { margin-top: 28px; display: flex; gap: 20px; justify-content: center; align-items: center; flex-wrap: wrap; }
.hero .cta .tlink { color: var(--on-night); }
.chip-ui { text-decoration: none; position: absolute; width: 290px; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 18px; border-radius: 18px; background: var(--night-2); color: var(--on-night); font-family: inherit; font-size: 15px; text-align: left; border: 0; cursor: pointer; transition: transform .25s var(--ease), background-color .2s ease; }
.chip-ui:hover { background: #30373C; }
.chip-ui:active { transform: scale(.97) rotate(0deg) !important; }
.chip-ui .lab { display: block; color: var(--on-night-mute); font-size: 13px; }
.chip-ui .nm2 { display: block; font-weight: 600; }
.chip-ui .read { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; white-space: nowrap; }
.chip-ui.c1 { left: 0; top: 0; transform: rotate(-3deg); }
.chip-ui.c2 { right: 2%; top: 14px; transform: rotate(2.5deg); }
.chip-ui.c3 { right: -1%; top: 372px; transform: rotate(-2deg); width: 250px; }
.sw { width: 52px; height: 32px; border-radius: 999px; background: #4A5258; position: relative; flex: none; transition: background-color .2s ease; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
[aria-pressed="true"] .sw, input:checked + .sw { background: var(--accent); }
[aria-pressed="true"] .sw::after, input:checked + .sw::after { transform: translateX(20px); }

/* ---------- homepage: sections ---------- */
.sec { padding: var(--gap) 0 0; }
.sec > .wrap > h2 + p, .lede { margin-top: 12px; max-width: 52ch; }

/* live demo */
.demo-panel { margin-top: 36px; display: grid; grid-template-columns: 62fr 38fr; border-radius: var(--r); overflow: hidden; background: var(--paper); max-width: 1100px; }
.demo-out { padding: 28px; }
.demo-ctl { background: var(--sand); padding: 18px 20px 22px; }
.demo-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 15px; }
.demo-head b { font-size: 22px; letter-spacing: -0.02em; }
.bars { margin-top: 22px; position: relative; }
.bars .limit { position: absolute; top: -8px; bottom: 0; left: calc(180px + (100% - 300px) * .8); width: 4px; margin-left: -2px; background: var(--accent); border-radius: 2px; z-index: 2; }
.bars .limit::before { content: "limit"; position: absolute; top: -22px; left: -18px; font-size: 13px; color: var(--ink); }
.brow { display: grid; grid-template-columns: 180px 1fr 120px; align-items: center; height: 44px; font-size: 15px; text-decoration: none; }
.brow .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 10px; }
.brow .track { height: 18px; position: relative; }
.brow .fill { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--ink); transition: width .55s var(--ease), background-color .3s ease; }
.brow .lbl { text-align: right; font-size: 14px; font-weight: 600; }
.brow.tight .fill { background: var(--accent); } .brow.no .fill { background: var(--stone); }
.brow.great .lbl { color: var(--ok); } .brow.no .lbl, .brow.no .nm { color: var(--mute); }
.brow:hover .nm { text-decoration: underline; text-underline-offset: 4px; }
.demo-foot { margin-top: 18px; font-size: 15px; }
.ctl-k { font-size: var(--small); color: var(--mute); margin: 14px 0 4px; }
.ctl { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 12px; margin: 0 -12px; border-radius: 12px; font-size: 15px; cursor: pointer; transition: background-color .15s ease; }
.ctl:hover { background: var(--stone); }
.ctl input[type=radio], .ctl input[type=checkbox] { position: absolute; opacity: 0; pointer-events: none; }
.ctl .v { color: var(--mute); font-variant-numeric: tabular-nums; }
.ctl .rd { width: 20px; height: 20px; border-radius: 50%; background: var(--paper); flex: none; position: relative; margin-left: 10px; }
.ctl input:checked ~ .rd::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--accent); }
.ctl:has(input:checked) { font-weight: 600; }
.ctl:has(input:focus-visible) { outline: 3px solid var(--accent); }
.ctl input[type=range] { width: 130px; accent-color: var(--accent); }
.ctl .right { display: flex; align-items: center; }

/* call and response */
.steps-col { max-width: 600px; margin-left: clamp(0px, 24vw, 360px); }
.ex { margin-top: 88px; }
.ex:first-of-type { margin-top: 48px; }
.ex > p.s { font-size: clamp(20px, 1.7vw, 24px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.call { margin-top: 16px; background: var(--sand); border-radius: var(--r); padding: 18px 20px; font-size: 16px; display: flex; align-items: center; gap: 12px; }
.call .who { color: var(--mute); font-size: var(--small); flex: none; }
.resp { margin: 16px 0 0 56px; border-radius: var(--r); overflow: hidden; background: var(--paper); }
.resp img { width: 100%; }
.resp.wide { margin-left: 56px; width: min(760px, calc(100vw - 2 * var(--m) - 56px)); display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.resp.wide p { padding: 28px; font-size: 16px; }

/* list */
.list-grid { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 400px); gap: clamp(32px, 8vw, 130px); margin-top: 32px; margin-left: clamp(0px, 12vw, 180px); align-items: start; }
.mgroup { margin-bottom: 40px; }
.mgroup-k { display: inline-block; color: var(--mute); font-size: 16px; margin-bottom: 6px; text-underline-offset: 4px; }
.mrow { display: flex; align-items: center; min-height: 38px; text-decoration: none; font-size: 16px; border-radius: 8px; margin: 0 -10px; padding: 0 10px; transition: background-color .15s ease; }
.mrow:hover { background: var(--sand); }
.mrow .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); margin-right: 10px; flex: none; transition: background-color .3s ease; }
.mrow.tight .dot { background: var(--accent); } .mrow.no .dot { background: var(--stone); } .mrow.no .nm { color: var(--mute); }
.mrow .nm { flex: 1; }
.mrow .val { font-size: var(--small); color: var(--mute); font-variant-numeric: tabular-nums; }
.scroller { position: sticky; top: 96px; height: min(640px, 76vh); border-radius: var(--r); overflow: hidden; background: #000; }
.scroller img { width: 100%; animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(calc(-100% + min(640px, 76vh))); } }
.legend { display: flex; gap: 22px; flex-wrap: wrap; font-size: var(--small); margin-top: 14px; }
.legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); margin-right: 7px; vertical-align: -1px; }
.legend .t::before { background: var(--accent); } .legend .n::before { background: var(--stone); }

/* panel with margin notes */
.plate { display: grid; grid-template-columns: 1fr 380px 1fr; gap: clamp(24px, 4vw, 64px); margin-top: 24px; }
.plate .img { border-radius: var(--r); overflow: hidden; background: var(--paper); }
.plate .side { position: relative; min-height: 661px; }
.plate .side.l { text-align: right; }
.plate .side h2 { font-size: var(--h); max-width: 11ch; margin-left: auto; }
.note { position: absolute; width: min(100%, 26ch); }
.side.l .note { right: 0; }
.note b { display: block; font-size: var(--body); font-weight: 600; }
.note span { display: block; font-size: 16px; color: var(--mute); }

/* letter */
.letter { max-width: 560px; margin: 0 auto; }
.letter img { width: 48px; height: 48px; border-radius: 50%; }
.letter p { margin-top: 26px; line-height: 1.55; }
.letter p:first-of-type { margin-top: 28px; }
.letter mark { background: var(--accent); color: var(--on-accent); padding: 0 .2em; }
.letter .sign { font-size: 22px; font-style: italic; margin-top: 30px; }
.letter .role { font-size: var(--small); color: var(--mute); margin-top: 2px; }

/* pricing */
.price-grid { display: grid; grid-template-columns: 6fr 1fr 5fr; align-items: start; }
.plans-names { display: flex; flex-direction: column; align-items: flex-start; }
.pname { font: inherit; font-size: var(--big); font-weight: 700; letter-spacing: -0.04em; line-height: 1.12; background: none; border: 0; color: var(--mute); cursor: pointer; padding: 0 0 0 .5em; position: relative; text-align: left; transition: color .2s ease, transform .2s var(--ease); }
.pname:hover { color: var(--ink); }
.pname[aria-selected="true"] { color: var(--ink); }
.pname[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: .45em; width: .3em; height: .3em; border-radius: 50%; background: var(--accent); }
.pstage { grid-column: 3; min-height: 380px; }
.pstage .fig { font-size: var(--d); font-weight: 700; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.pstage .per { margin-top: 6px; color: var(--mute); }
.pstage .inc { margin: 20px 0 26px; max-width: 34ch; min-height: 5.6em; }
.pstage.swap > * { animation: fadein .2s ease both; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* faq */
.faq-grid { display: grid; grid-template-columns: 4fr 8fr; gap: var(--m); align-items: start; }
.faq-grid h2 { font-size: var(--big); position: sticky; top: 96px; letter-spacing: -0.04em; }
.tile { background: var(--paper); border-radius: var(--r); margin-bottom: 8px; transition: background-color .2s ease; }
.tile summary { list-style: none; cursor: pointer; min-height: 72px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.tile summary::-webkit-details-marker { display: none; }
.tile .plus { width: 16px; height: 16px; position: relative; flex: none; }
.tile .plus::before, .tile .plus::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 16px; height: 3px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease); }
.tile .plus::after { transform: rotate(90deg); }
.tile[open] { background: var(--accent); color: var(--on-accent); }
.tile[open] .plus::after { transform: rotate(0deg); }
.tile p { padding: 0 24px 24px; max-width: 56ch; }
.tile:not([open]):hover { background: var(--sand); }

/* footer */
footer.site { margin-top: 30svh; padding: 0 0 30px; }
footer.site .row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 24px; font-size: 16px; color: var(--mute); }
footer.site .row > div:nth-child(2) { display: flex; gap: 24px; flex-wrap: wrap; }
footer.site .row > div:last-child { text-align: right; }
footer.site a { color: var(--ink); text-decoration: none; }
footer.site a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- motion ---------- */
.js .hero h1 .line > span { transform: translateY(105%); animation: rise .9s var(--ease) forwards; }
.js .hero h1 .line:nth-child(2) > span { animation-delay: .11s; }
.js .hero .say, .js .hero .cta, .js .hero .chip-ui { opacity: 0; animation: fadeup .7s var(--ease) .75s forwards; }
.js .hero .chip-ui.c2 { animation-delay: .9s; } .js .hero .chip-ui.c3 { animation-delay: 1.05s; }
@keyframes rise { to { transform: none; } }
@keyframes fadeup { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
.js [data-rise] { opacity: 0; translate: 0 26px; transition: opacity .7s var(--ease), translate .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-rise].in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero h1 .line > span, .js .hero .say, .js .hero .cta, .js .hero .chip-ui { animation: none; transform: none; opacity: 1; }
  .js .hero .chip-ui.c1, .js .hero .chip-ui.c2, .js .hero .chip-ui.c3 { transform: none; }
  .js [data-rise] { opacity: 1; translate: 0 0; transition: none; }
  .scroller img { animation: none; }
  .brow .fill, .btn, .pname { transition: none; }
}

/* ---------- model pages + document pages ---------- */
.doc { padding: 48px var(--m) 0; max-width: 820px; }
.doc p { max-width: 68ch; }
.doc h1 { font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -0.035em; }
.doc h2 { font-size: 26px; margin: 48px 0 12px; }
.doc h3 { margin-top: 22px; font-weight: 600; }
.doc p, .doc li { font-size: var(--body); }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; margin-top: 8px; } .doc li { margin: 6px 0; }
.doc p a, .doc td a, .doc li a, .crumbs a, .letter a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.doc p a:hover, .doc td a:hover, .doc li a:hover, .crumbs a:hover, .letter a:hover { background: var(--accent); color: var(--on-accent); }
.doc td a[href^="http"]::after, .doc p a[href^="http"]::after { content: " \2197"; }
.doc .updated { font-size: var(--small); color: var(--mute); margin: 8px 0 28px; }
.doc .lead { font-size: 20px; margin-top: 14px; max-width: 62ch; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 16px; }
.doc th, .doc td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--stone); vertical-align: top; }
.doc th { font-weight: 600; font-size: var(--small); color: var(--mute); }
.doc code { font-family: ui-monospace, Menlo, monospace; font-size: 15px; background: var(--sand); padding: 2px 6px; border-radius: 6px; }
.crumbs { font-size: 16px; color: var(--mute); margin: 0 0 18px; }
.crumbs a { color: var(--ink); }
.callout { background: var(--paper); border-radius: var(--r); padding: 20px 22px; }
.callout .k { font-size: var(--small); color: var(--mute); }
.callout .v { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-top: 4px; }
.support-card { background: var(--paper); border-radius: var(--r); padding: 22px; margin: 12px 0; }
.faq details { background: var(--paper); border-radius: 14px; padding: 16px 20px; margin-top: 8px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin-top: 10px; }
.sub { color: var(--mute); font-size: var(--small); }
ol.steps { padding-left: 22px; display: grid; gap: 6px; }
.filters { margin: 28px 0 8px; display: grid; gap: 10px; }
.filter-k { font-size: var(--small); color: var(--mute); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: 16px; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--paper); color: var(--ink); cursor: pointer; text-decoration: none; transition: background-color .15s ease, transform .15s var(--ease); }
.chip:hover { background: var(--sand); } .chip:active { transform: scale(.96); }
.chip.on { background: var(--ink); color: var(--bg); }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; margin-top: 24px; }
.mcard { display: block; text-decoration: none; background: var(--paper); border-radius: var(--r); padding: 20px; transition: transform .2s var(--ease), background-color .2s ease; }
.mcard:hover { transform: translateY(-3px); }
.mcard-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.mcard-name { font-weight: 600; letter-spacing: -0.01em; }
.mcard-meta { font-size: var(--small); color: var(--mute); margin: 6px 0 8px; }
.mcard p { font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { font-size: var(--small); padding: 3px 10px; border-radius: 999px; background: var(--sand); color: var(--ink); text-decoration: none; }
a.tag:hover { background: var(--stone); }
.fit { font-size: var(--small); font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; background: var(--sand); }
.fit-great { color: var(--ok); } .fit-runs { color: var(--ink); } .fit-tight { background: var(--accent); color: var(--on-accent); } .fit-no { color: var(--mute); }
table.fits td:last-child { white-space: nowrap; }

.getbox { background: var(--paper); border-radius: var(--r); padding: 22px; margin-top: 26px; }
.getbox .k { font-size: var(--small); color: var(--mute); }
.exact { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 8px 0 6px; }
.exact code { font-size: 18px; padding: 12px 14px; border-radius: 12px; overflow-wrap: anywhere; user-select: all; flex: 1; min-width: 220px; }
.exact .btn { height: 46px; min-width: 96px; }
.getbtns { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; margin: 18px 0 8px; }
.mcard-exact { font-size: var(--small); color: var(--mute); margin-top: 10px; overflow-wrap: anywhere; }
.mcard-more { display: inline-block; margin-top: 12px; font-size: 16px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- phone and tablet ---------- */
@media (max-width: 1000px) {
  .menu-panel { display: none; }
  .hero-stage { padding-top: 0; display: grid; gap: 12px; justify-items: center; }
  .chip-ui { position: static; transform: none !important; width: min(100%, 340px); min-height: 60px; }
  .hero h1 { margin: 22px 0 6px; font-size: clamp(46px, 12.4vw, 110px); }
  .hero .say { margin-top: 8px; }
  .hero .chips2 { display: grid; grid-template-columns: 1fr; gap: 12px; width: 100%; justify-items: center; order: 3; }
  .demo-panel { grid-template-columns: 1fr; }
  .demo-out { min-height: 0; padding: 20px; }
  .brow { grid-template-columns: 124px 1fr 96px; font-size: 14px; }
  .bars .limit { left: calc(124px + (100% - 220px) * .8); }
  .steps-col, .list-grid { margin-left: 0; }
  .resp, .resp.wide { margin-left: 0; width: 100%; }
  .resp.wide { grid-template-columns: 1fr; }
  .list-grid { grid-template-columns: 1fr; }
  .scroller { position: relative; top: 0; height: 420px; order: -1; }
  @keyframes drift { from { transform: translateY(0); } to { transform: translateY(calc(-100% + 420px)); } }
  .mrow { min-height: 44px; }
  .plate { grid-template-columns: 1fr; }
  .plate .side { min-height: 0; text-align: left !important; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .plate .side h2 { margin-left: 0; grid-column: 1 / -1; max-width: none; }
  .plate .img { max-width: 380px; margin: 0 auto; order: -1; }
  .plate .side.l { order: -2; }
  .note { position: static; width: auto; }
  .price-grid { grid-template-columns: 1fr; gap: 28px; }
  .pstage { grid-column: 1; min-height: 0; }
  .pname { font-size: 10vw; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid h2 { position: static; font-size: 9vw; margin-bottom: 20px; }
  .tile summary { font-size: 18px; min-height: 64px; padding: 12px 20px; }
  footer.site { margin-top: 20svh; }
  footer.site .row { grid-template-columns: 1fr; gap: 8px; }
  footer.site .row > div:last-child { text-align: left; }
}
@media (max-width: 640px) {
  .nav-links > a:not(.nav-cta):not(.keep) { display: none; }
  .nav-links .menu > a { padding: 0 8px; }
}
