/* Home page. Loaded after site.css. */
* { box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
svg.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 1px solid var(--primary); outline-offset: 3px; }
main { overflow-x: clip; }
section { padding-top: 128px; scroll-margin-top: 24px; }
.motion-primed [data-reveal] { opacity: 0; }
@media (prefers-reduced-motion: reduce), print { .motion-primed [data-reveal] { opacity: 1; } }

/* Section heads */
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 36px; }
.head > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.head h2 { margin: 0; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
.head p { margin: 0; color: var(--ink-muted); font-size: 16px; max-width: 36em; }
.section-label { color: var(--ink-muted); font-size: 13px; font-weight: 500; letter-spacing: 0; margin: 0; }

/* Hero: copy on the left, the live window leaning in from the right */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 40px; align-items: center; min-height: min(820px, calc(100vh - 76px)); padding-block: 40px 56px; }
.hero::before { content: ""; position: absolute; z-index: -1; right: -18%; top: -10%; width: 80%; height: 120%; background: radial-gradient(closest-side, color-mix(in srgb, var(--ink) 7%, transparent), transparent 72%); pointer-events: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; height: 34px; padding: 0 14px 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--ink-muted); font-size: 13px; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--power); box-shadow: 0 0 0 4px color-mix(in srgb, var(--power) 18%, transparent); }
.hero-back { display: block; width: fit-content; margin-bottom: 28px; padding-block: 4px; font-size: 14px; text-decoration: none; color: var(--ink-muted); transition: color 180ms ease; }
.hero-back:hover { color: var(--ink); }
.hero h1 { margin: 0; font-size: clamp(42px, 5.4vw, 76px); line-height: 1.02; font-weight: 600; letter-spacing: -.045em; text-wrap: balance; }
.hero h1 span { color: var(--ink-muted); }
.hero .lead { margin: 24px 0 0; max-width: 30em; font-size: 17px; line-height: 1.65; color: var(--ink-muted); }
.hero .lead b { color: var(--ink); font-weight: 500; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.cta .btn { height: 52px; padding-inline: 26px; font-size: 16px; }
.cta-note { margin-top: 14px; min-height: 20px; font-size: 13px; color: var(--ink-muted); }
.stage { position: relative; min-width: 0; max-width: none; width: auto; padding: 0; justify-self: stretch; height: 640px; perspective: 1800px; perspective-origin: 30% 50%; }
#heroApp { --s: 1; --tx: 0deg; --ty: 0deg; position: absolute; left: 0; top: 50%; margin-top: -370px; width: 1120px; height: 740px; transform-origin: 0 50%; transform: scale(var(--s)) rotateY(calc(-17deg + var(--tx))) rotateX(calc(5deg + var(--ty))) rotateZ(1.5deg); filter: drop-shadow(0 50px 90px rgba(0,0,0,.5)); }
#heroApp.ready { transition: transform 700ms var(--arrive); }
.stage::before { content: none; }
.scroll-hint { position: absolute; left: 50%; bottom: 8px; translate: -50% 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); display: grid; place-items: center; color: var(--ink-muted); }
.scroll-hint:hover { color: var(--ink); background: var(--tile); }

/* The LimCore window (windows/qml geometry) */
.lw { --w-win: #0a0a0a; --w-panel: #161616; --w-tile: #222; --w-sel: #3a3a3a; --w-ink: #e6e6e6; --w-muted: #b8b8b8; --w-ov: #3f3f3f; --w-high: #2a2a2a; --w-highest: #353535; --w-low: #1b1b1b; --w-c: #1f1f1f; --w-field: #0d0d0d; --w-div: #2e2e2e; --w-primary: #e6e6e6; --w-onp: #1a1a1a; --w-good: 129,199,132;
  position: relative; width: 1120px; height: 740px; border-radius: 12px; overflow: hidden; background: var(--w-win); color: var(--w-ink); font: 13px/1.3 "Segoe UI Variable Text", "Segoe UI", Inter, sans-serif; box-shadow: 0 0 0 1px var(--w-ov); user-select: none; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .lw { --w-win: #e7e7e7; --w-panel: #f4f4f4; --w-tile: #fff; --w-sel: #ddd; --w-ink: #1b1b1b; --w-muted: #555; --w-ov: #cacaca; --w-high: #e8e8e8; --w-highest: #e2e2e2; --w-low: #f3f3f3; --w-c: #eee; --w-field: #fff; --w-div: #e6e6e6; --w-primary: #1f1f1f; --w-onp: #fff; --w-good: 46,125,50; } }
.lw svg { display: block; flex: none; }
.lw-title { position: absolute; left: 12px; top: 7px; display: flex; align-items: center; gap: 9px; font-weight: 600; }
.lw-title i { position: absolute; left: 1010px; top: 4px; width: 78px; height: 12px; background: linear-gradient(90deg, var(--w-ink) 0 10px, transparent 10px 34px, var(--w-ink) 34px 44px, transparent 44px 68px, var(--w-ink) 68px 78px); opacity: .55; -webkit-mask: linear-gradient(#000 0 0) 0 5px / 10px 1px no-repeat, linear-gradient(#000 0 0) 34px 0 / 10px 10px no-repeat, linear-gradient(#000 0 0) 68px 0 / 10px 10px no-repeat; mask: linear-gradient(#000 0 0) 0 5px / 10px 1px no-repeat, linear-gradient(#000 0 0) 34px 0 / 10px 10px no-repeat, linear-gradient(#000 0 0) 68px 0 / 10px 10px no-repeat; opacity: .35; }
.lw-rail, .lw-servers, .lw-conn { position: absolute; top: 34px; height: 696px; border-radius: 22px; background: var(--w-panel); overflow: hidden; }
.lw-rail { left: 10px; width: 64px; }
.lw-rail em { position: absolute; left: 8px; top: 113px; width: 48px; height: 40px; border-radius: 12px; background: var(--w-high); }
.lw-rail span { position: absolute; left: 22px; }
.lw-servers { left: 84px; width: 534px; }
.lw-servers h3 { position: absolute; left: 28px; top: 23px; margin: 0; font-size: 26px; line-height: 40px; font-weight: 600; }
.lw-search { position: absolute; left: 28px; top: 76px; width: 478px; height: 32px; padding: 0 10px; display: flex; align-items: center; justify-content: space-between; border-radius: 10px; background: var(--w-field); box-shadow: inset 0 0 0 1px var(--w-ov); color: var(--w-muted); }
.lw-card { position: absolute; left: 28px; top: 120px; width: 478px; height: 600px; border-radius: 20px; background: var(--w-tile); overflow: hidden; }
.lw-sub { display: flex; align-items: center; gap: 13px; height: 52px; padding: 0 16px 0 15px; color: var(--w-muted); }
.lw-sub div { flex: 1; display: flex; flex-direction: column; color: var(--w-ink); }
.lw-sub b { font-size: 15px; font-weight: 600; line-height: 20px; }
.lw-sub span { font-size: 11px; line-height: 16px; color: var(--w-muted); }
.lw-quota { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; font-size: 11px; }
.lw-quota span:first-child { position: relative; width: 230px; height: 18px; border-radius: 9px; background: var(--w-high); overflow: hidden; display: grid; place-items: center; }
.lw-quota i { position: absolute; left: 0; top: 0; bottom: 0; width: 21%; border-radius: 9px; background: var(--w-muted); opacity: .35; }
.lw-quota span:last-child { flex: 1; text-align: center; }
.lw-rows { margin-top: 6px; }
.lw-row { display: flex; align-items: center; height: 55px; padding-left: 16px; border-top: 1px solid var(--w-div); }
.lw-row.sel { background: var(--w-sel); border-color: transparent; }
.lw-row.sel + .lw-row { border-color: transparent; }
.lw-flag { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.lw-globe { display: grid; place-items: center; border-radius: 50%; background: var(--w-highest); color: var(--w-muted); }
.lw-name { flex: 1; margin-left: 12px; display: flex; flex-direction: column; }
.lw-name b { display: flex; align-items: center; gap: 4px; font-weight: 400; line-height: 18px; }
.lw-name span { font-size: 10px; line-height: 14px; color: var(--w-muted); }
.lw-chev { margin: 0 20px 0 12px; color: var(--w-muted); }
.lw-ping { height: 20px; padding: 0 7px; border-radius: 6px; font: 11px/20px var(--font-mono); white-space: nowrap; opacity: 0; scale: .7; transition: opacity 260ms ease, scale 420ms var(--arrive); }
.lw-ping.show { opacity: 1; scale: 1; }
.lw-ping.good { color: var(--good); background: color-mix(in srgb, var(--good) 15%, transparent); }
.lw-ping.mid { color: var(--mid); background: color-mix(in srgb, var(--mid) 15%, transparent); }
.lw-ping.bad { color: var(--bad); background: color-mix(in srgb, var(--bad) 15%, transparent); }
.lw-conn { left: 629px; width: 481px; }
.lw-mode { position: absolute; left: 197px; top: 22px; width: 260px; height: 32px; padding: 0 12px; display: flex; align-items: center; gap: 4px; border-radius: 10px; background: var(--w-highest); color: var(--w-muted); }
.lw-mode b { color: var(--w-ink); font-weight: 600; }
.lw-mode svg { margin-left: auto; }
.lw-power { position: absolute; left: 110px; top: 152px; width: 260px; height: 260px; padding: 0; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; }
.lw-power > i { position: absolute; inset: 15px; border-radius: 50%; border: 1.5px solid rgba(var(--w-good), .0); }
.lw[data-state="on"] .lw-power > i { animation: lw-wave 3s linear infinite; }
.lw[data-state="on"] .lw-power > i:nth-child(2) { animation-delay: -1s; }
.lw[data-state="on"] .lw-power > i:nth-child(3) { animation-delay: -2s; }
@keyframes lw-wave { from { inset: 15px; border-color: rgba(var(--w-good), .3); } to { inset: -31px; border-color: rgba(var(--w-good), 0); } }
.lw-ring { position: absolute; inset: 15px; border-radius: 50%; border: 1px solid var(--w-ov); transition: border-color 400ms ease; }
.lw[data-state="on"] .lw-ring { border-color: rgba(var(--w-good), .5); }
.lw-disc { position: absolute; inset: 37px; border-radius: 50%; background: linear-gradient(var(--w-highest), var(--w-low)); box-shadow: inset 0 0 0 1px var(--w-ov); transition: box-shadow 500ms ease, scale 320ms var(--arrive); }
.lw[data-state="on"] .lw-disc { box-shadow: inset 0 0 0 1px var(--w-ov), 0 0 60px rgba(var(--w-good), .22); }
.lw-power:hover .lw-disc { scale: 1.02; } .lw-power:active .lw-disc { scale: .96; }
.lw-core { position: absolute; inset: 23px; border-radius: 50%; background: linear-gradient(var(--w-high), var(--w-c)); box-shadow: inset 0 0 0 1px var(--w-ov); display: grid; place-items: center; }
.lw-core > * { grid-area: 1 / 1; transition: opacity 260ms ease, scale 460ms var(--arrive); }
.lw-i-off { color: var(--w-muted); } .lw-i-on { color: rgb(var(--w-good)); }
.lw-orb { width: 58px; height: 58px; border-radius: 50%; border: 3px dotted var(--w-ink); animation: lw-spin 2.4s linear infinite; }
@keyframes lw-spin { to { rotate: 360deg; } }
.lw[data-state="off"] .lw-orb, .lw[data-state="off"] .lw-i-on, .lw[data-state="connecting"] .lw-i-off, .lw[data-state="connecting"] .lw-i-on, .lw[data-state="on"] .lw-i-off, .lw[data-state="on"] .lw-orb { opacity: 0; scale: .5; }
.lw-status { position: absolute; top: 432px; width: 481px; text-align: center; font-size: 16px; line-height: 22px; color: var(--w-muted); }
.lw[data-state="on"] .lw-status { color: var(--w-ink); }
.lw-speed { position: absolute; top: 462px; width: 481px; text-align: center; font: 12.5px var(--font-mono); color: var(--w-muted); white-space: pre; }
.lw-sel { position: absolute; left: 14px; top: 531px; width: 453px; height: 152px; border-radius: 16px; background: var(--w-tile); display: flex; flex-direction: column; align-items: center; }
.lw-selflag { width: 34px; height: 34px; margin-top: 16px; }
.lw-sel b { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; font-weight: 400; line-height: 20px; }
.lw-btn { margin-top: 21px; width: 200px; height: 36px; border-radius: 18px; background: var(--w-primary); color: var(--w-onp); font-size: 14px; line-height: 36px; text-align: center; }

/* Platforms: big picture cards, dark in both themes, so what they hold keeps the dark tokens */
.platforms { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.plat { --primary: #e6e6e6; --on-primary: #1a1a1a; --ink: #e6e6e6; --ink-muted: #a9a9a9; --good: #79be85; color-scheme: dark; position: relative; grid-column: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 420px; padding: 24px; border-radius: var(--r-card); border: 1px solid var(--line); background: #0c0c0d; color: #e6e6e6; isolation: isolate; transition: border-color 200ms ease, transform 420ms var(--arrive); }
.plat.wide { grid-column: span 3; min-height: 500px; }
.plat-art { position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden; }
.plat-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: scale 900ms var(--arrive); }
.plat-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,12,13,0) 22%, rgba(12,12,13,.8) 52%, rgba(12,12,13,.97) 70%, #0c0c0d 100%); }
.plat:has(.menu:not([hidden])) { z-index: 21; }
.plat.here { border-color: #5a5a5a; }
.plat-name { display: flex; align-items: center; gap: 12px; }
.plat-icon { width: 44px; height: 44px; border-radius: 13px; color: #e6e6e6; background: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); display: grid; place-items: center; flex: none; }
.plat-icon svg.i { width: 21px; height: 21px; }
.plat h3 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.plat.wide h3 { font-size: 28px; }
.badge { margin-left: 4px; white-space: nowrap; font: 500 12px/1 var(--font-sans); padding: 6px 10px; border-radius: 999px; color: var(--good); background: color-mix(in srgb, var(--good) 15%, transparent); }
.plat .req { margin: 10px 0 0; font-size: 14px; line-height: 1.55; color: #a9a9a9; max-width: 34em; }
.plat-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.plat .btn--primary { background: #e6e6e6; color: #1a1a1a; }
.plat .btn--ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #e6e6e6; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.plat .btn--ghost:hover { background: rgba(255,255,255,.14); color: #e6e6e6; }
.plat-ver { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; opacity: 0; transition: opacity 400ms ease; }
.plat-ver.show { opacity: 1; }
.plat-ver b { font: 500 20px/1.2 var(--font-mono); letter-spacing: -.02em; }
.plat-ver span { font-size: 12px; color: #a9a9a9; }
.chev { transition: transform 280ms var(--arrive); }
[aria-expanded="true"] .chev { transform: rotate(180deg); }
.menu { position: absolute; left: 16px; bottom: 80px; width: min(calc(100% - 32px), 380px); z-index: 20; padding: 6px; border-radius: 18px; background: #262626; border: 1px solid #3a3a3a; box-shadow: 0 30px 80px rgba(0,0,0,.6); transform-origin: bottom left; }
.menu:not([hidden]) { animation: menu-in 280ms var(--arrive); }
@keyframes menu-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.menu a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; transition: background-color 140ms ease; }
.menu a:hover { background: rgba(255,255,255,.07); }
.menu .t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.menu .t b { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; }
.menu .t > span { font-size: 12px; color: #a9a9a9; }
.menu .rec { font-size: 11px; font-weight: 500; color: var(--good); background: color-mix(in srgb, var(--good) 15%, transparent); padding: 2px 8px; border-radius: 999px; }
.cmd { display: flex; flex-direction: column; gap: 10px; padding: 6px; }
.cmd code { display: block; padding: 12px; white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.6 var(--font-mono); border-radius: 12px; background: #121212; border: 1px solid #3a3a3a; }
.note { margin-top: 16px; padding: 16px 22px; border-radius: var(--r-tile); border: 1px solid var(--line); background: var(--panel); font-size: 14px; color: var(--ink-muted); }
.note b { color: var(--ink); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .plat:hover { border-color: #4a4a4a; transform: translateY(-3px); } .plat:hover .plat-art img { scale: 1.035; } }

/* Film */
.film { position: relative; border-radius: var(--r-card); border: 1px solid var(--line); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }

/* Features: a bento of live pieces */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.cell { position: relative; grid-column: span 4; display: flex; flex-direction: column; min-height: 0; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--panel); overflow: hidden; transition: border-color 200ms ease; }
.cell.c7 { grid-column: span 7; } .cell.c5 { grid-column: span 5; } .cell.c6 { grid-column: span 6; }
.cell:hover { border-color: var(--line-strong); }
.demo { position: relative; flex: 1; min-height: 250px; max-height: 360px; padding: 24px 24px 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.cell-text { padding: 20px 28px 28px; border-top: 1px solid var(--line); background: var(--background); }
.cell-text h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.cell-text p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-muted); }
.d-card { border-radius: 20px; background: var(--tile); overflow: hidden; }
.d-row { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; font-size: 14px; border-top: 1px solid var(--line); transition: background-color 300ms ease; }
.d-row:first-child { border-top: 0; }
.d-row.sel { background: var(--tile-high); }
.d-row b { flex: 1; font-weight: 400; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-row small { display: block; font-size: 12px; color: var(--ink-muted); }
.d-flag { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex: none; }
.d-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--tile-high); display: grid; place-items: center; flex: none; color: var(--ink-muted); }
.d-chip { padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.d-chip.good { color: var(--good); background: color-mix(in srgb, var(--good) 15%, transparent); }
.d-chip.plain { color: var(--ink-muted); background: var(--tile-high); }
.d-chip.bad { color: var(--bad); background: color-mix(in srgb, var(--bad) 15%, transparent); }
.d-sw { position: relative; width: 44px; height: 24px; padding: 0; border: 0; border-radius: 12px; background: var(--tile-high); box-shadow: inset 0 0 0 2px var(--line-strong); cursor: pointer; flex: none; transition: background-color 180ms ease, box-shadow 180ms ease; }
.d-sw::after { content: ""; position: absolute; left: 5px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink-muted); transition: translate 180ms ease, background-color 180ms ease, scale 180ms ease; }
.d-sw[aria-checked="true"] { background: var(--primary); box-shadow: none; }
.d-sw[aria-checked="true"]::after { translate: 20px 0; background: var(--on-primary); scale: 1.14; }
.d-code { margin: 0; padding: 20px 22px; border-radius: 20px; background: var(--tile); font: 12.5px/1.75 var(--font-mono); color: var(--ink-muted); white-space: pre; overflow: hidden; }
.d-code b { font-weight: 400; color: var(--ink); } .d-code i { font-style: normal; color: var(--good); } .d-code u { text-decoration: none; color: var(--mid); }

/* Steps and the closing call */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps article { padding: 28px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--panel); }
.step-number { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--tile-high); font: 500 13px var(--font-mono); color: var(--ink); }
.steps h3 { margin: 22px 0 8px; font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.steps p { margin: 0; color: var(--ink-muted); font-size: 14.5px; line-height: 1.6; }
.closing-cta { position: relative; margin-top: 16px; padding: 56px 48px; border-radius: var(--r-card); border: 1px solid var(--line); background: radial-gradient(90% 140% at 85% 0%, color-mix(in srgb, var(--ink) 9%, transparent), transparent 60%), var(--panel); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; overflow: hidden; }
.closing-cta h2 { margin: 0; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.035em; font-weight: 600; }
.closing-cta p { margin: 12px 0 0; color: var(--ink-muted); font-size: 16px; }
.closing-cta .btn { height: 52px; padding-inline: 28px; font-size: 16px; }

/* Reviews keep their own stylesheet; the cards join the surface ladder */
.review-landing .review-card { border-radius: var(--r-card); border-color: var(--line); background: var(--panel); }
.review-landing #write { border-radius: var(--r-card); border-color: var(--line); margin-top: 16px; }
.review-landing .review-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.review-feed > .review-meta { margin: 0 0 16px; font-size: 13px; color: var(--ink-muted); }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 90px); opacity: 0; background: var(--ink); color: var(--background); padding: 12px 20px; border-radius: 12px; font-size: 13px; transition: transform 360ms var(--arrive), opacity 180ms; pointer-events: none; z-index: 70; }
.toast.on { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 8px; min-height: 0; padding-top: 32px; }
  .stage { height: 0; padding: 0 0 66%; perspective: 1400px; margin-top: 28px; }
  #heroApp { left: 3%; transform: scale(calc(var(--s) * .97)) rotateY(-9deg) rotateX(4deg) rotateZ(1deg); }
  .scroll-hint { display: none; }
  .plat, .plat.wide { grid-column: span 3; min-height: 380px; }
  .plat:last-child { grid-column: span 6; }
  .cell, .cell.c7, .cell.c5, .cell.c6 { grid-column: span 6; }
}
@media (max-width: 760px) {
  section { padding-top: 88px; }
  .hero h1 { font-size: clamp(38px, 11vw, 54px); }
  .hero .lead { font-size: 16px; }
  .cta .btn { flex: 1 1 auto; }
  .stage { padding-bottom: 68%; }
  .eyebrow { font-size: 12px; padding: 0 12px 0 10px; gap: 8px; white-space: nowrap; }
  .plat, .plat.wide, .plat:last-child { grid-column: span 6; min-height: 340px; padding: 20px; }
  .menu { position: static; width: auto; margin-top: 12px; box-shadow: none; order: 5; }
  .cell, .cell.c7, .cell.c5, .cell.c6 { grid-column: span 12; min-height: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .closing-cta { padding: 36px 24px; }
  .closing-cta .btn { width: 100%; }
}
