/* APEX website — control-room aesthetic with depth.
   Layout: wide dark ground, one bold element (the thermal-gradient accent and the 3D scene), everything else quiet.
   Type: Sora for display, IBM Plex Sans for reading, IBM Plex Mono for labels and data. All self-hosted. */

@font-face { font-family: "Sora"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/sora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/sora-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #070B14;
  --bg-2: #0B1222;
  --panel: #101A2E;
  --panel-2: #162540;
  --line: rgba(163, 179, 200, .14);
  --line-strong: rgba(163, 179, 200, .30);
  --text: #EEF3FA;
  --muted: #A3B3C8;
  --dim: #6F8098;
  --sky: #38BDF8;
  --sky-2: #9BE1FF;
  --hot: #E8401C;
  --hot-2: #FFB347;
  --green: #22C55E;
  --amber: #F5A524;
  --thermal: linear-gradient(90deg, #3B1D6E 0%, #B4236B 28%, #E8401C 55%, #FFB347 80%, #FFF3B0 100%);
  --font-display: "Sora", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", Consolas, "Courier New", monospace;
  --radius: 14px;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-size: 93.75%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 1rem; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.04; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin: .3em 0; }
strong { color: var(--text); font-weight: 600; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 32px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--hot); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
.kicker { font-family: var(--font-mono); color: var(--sky); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 500; margin: 0 0 .9em; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--thermal); border-radius: 2px; flex: none; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }
.foot { color: var(--muted); font-size: .95rem; margin-top: 1.2em; }
.mono { font-family: var(--font-mono); }

/* progress bar and header */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--thermal); z-index: 60; transition: width .1s linear; }
.top { position: sticky; top: 0; z-index: 50; background: rgba(7, 11, 20, .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.top.scrolled { background: rgba(7, 11, 20, .88); border-bottom-color: var(--line); }
.top-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; transition: min-height .3s; }
.top.scrolled .top-bar { min-height: 58px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; filter: drop-shadow(0 6px 14px rgba(56, 189, 248, .28)); transition: transform .4s var(--ease); }
.brand:hover img { transform: translateY(-1px) rotate(-3deg); }
.brand-name { font-family: var(--font-display); font-weight: 700; letter-spacing: .18em; font-size: 1.2rem; background: linear-gradient(90deg, #ffffff, #9BE1FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-sub { font-family: var(--font-mono); color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; display: none; }
.nav-toggle { background: transparent; color: var(--text); border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px 12px; font: inherit; cursor: pointer; }
.nav { display: none; width: 100%; flex-direction: column; gap: 4px; padding: 8px 0 14px; }
.nav.open { display: flex; animation: drop .35s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.nav a { color: var(--text); padding: 10px 10px; border-radius: 8px; position: relative; font-weight: 500; }
.nav a:hover { text-decoration: none; background: rgba(163, 179, 200, .08); }
.nav a[aria-current="page"] { color: var(--sky); }
.nav .btn { margin-top: 6px; align-self: flex-start; }
@media (min-width: 900px) {
  .brand-sub { display: inline; }
  .nav-toggle { display: none; }
  .nav { display: flex; width: auto; flex-direction: row; align-items: center; gap: 2px; padding: 0; }
  .nav.open { animation: none; }
  .nav a:not(.btn)::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 5px; height: 2px; background: var(--thermal); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); border-radius: 2px; }
  .nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
  .nav .btn { margin: 0 0 0 12px; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 10px; font-weight: 600; border: 1px solid transparent; line-height: 1.2; position: relative; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.btn:hover, .btn:focus-visible { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, #FF5A2E, #E8401C 55%, #C92A0F); color: #fff; box-shadow: 0 10px 30px rgba(232, 64, 28, .25); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .22) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s var(--ease); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 14px 36px rgba(232, 64, 28, .38); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(16, 26, 46, .5); }
.btn-ghost:hover { border-color: var(--sky); box-shadow: 0 10px 30px rgba(56, 189, 248, .12); }
.btn-sm { padding: 8px 14px; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.3em; }

/* hero with the 3D scene */
.hero { position: relative; padding: 52px 0 36px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(900px 420px at 78% 20%, rgba(56, 189, 248, .14), transparent 60%),
  radial-gradient(700px 500px at 20% 90%, rgba(232, 64, 28, .10), transparent 60%),
  linear-gradient(rgba(163, 179, 200, .06) 1px, transparent 1px) 0 0 / 100% 56px,
  linear-gradient(90deg, rgba(163, 179, 200, .06) 1px, transparent 1px) 0 0 / 56px 100%; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 140px; z-index: -1; background: linear-gradient(transparent, var(--bg)); }
.hero-scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.hero-grid { display: grid; gap: 24px; align-items: center; position: relative; }
.hero-visual { min-height: 340px; margin-top: 8px; }
.hero h1 .hl { background: var(--thermal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.12rem; }
.hero-note { color: var(--muted); font-size: .95rem; margin-top: 1.2em; }
.hero-facts { list-style: none; padding: 0; margin: 1.6em 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 10px var(--sky); }
@media (min-width: 900px) {
  .hero { padding: 76px 0 48px; min-height: 620px; }
  .hero-grid { grid-template-columns: 6fr 6fr; gap: 40px; }
  .hero-visual { min-height: 520px; }
}
.pagehead { padding: 48px 0 8px; position: relative; }
.pagehead::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 320px; z-index: -1; background: radial-gradient(700px 300px at 70% 0%, rgba(56, 189, 248, .10), transparent 65%); }

/* ticker */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.ticker-track { display: flex; gap: 48px; width: max-content; padding: 12px 0; animation: ticker 48s linear infinite; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { display: flex; align-items: center; gap: 48px; white-space: nowrap; }
.ticker-track span::after { content: "·"; color: var(--hot-2); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* console: the full-width tilted screenshot */
.console { padding: 24px 0 40px; perspective: 1400px; }
.console-frame { transform: rotateX(var(--tilt, 12deg)); transform-origin: 50% 0; transition: transform .2s linear; will-change: transform; }
.console-frame .shot img { box-shadow: 0 40px 120px rgba(0, 0, 0, .6), 0 0 0 1px var(--line-strong), 0 0 80px rgba(56, 189, 248, .08); }
.console-caption { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 18px; }

/* sections */
.sec { padding: 56px 0; position: relative; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head { margin-bottom: 30px; max-width: 760px; }
.tone-panel { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }

/* cards with 3D tilt */
.cards { display: grid; gap: 16px; }
.cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
@media (min-width: 680px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cols-3 { grid-template-columns: repeat(3, 1fr); } .cols-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: linear-gradient(180deg, rgba(22, 37, 64, .7), rgba(16, 26, 46, .9)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; transform-style: preserve-3d; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(56, 189, 248, .5), transparent 40%, transparent 60%, rgba(232, 64, 28, .45)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s; pointer-events: none; }
.card:hover { border-color: transparent; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.card:hover::before { opacity: 1; }
.card h3 { margin-top: 0; }
.card p, .card li { color: var(--muted); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .num { font-family: var(--font-mono); color: var(--sky); font-weight: 500; letter-spacing: .12em; font-size: .78rem; display: block; margin-bottom: 10px; }
.card .more { display: inline-block; margin-top: 10px; font-weight: 600; }

/* feature rows */
.feature-grid { display: grid; gap: 24px; align-items: center; }
.feature-copy p, .feature-copy li { color: var(--muted); }
.feature-copy strong { color: var(--text); }
.ticks { list-style: none; padding: 0; }
.ticks li { padding-left: 28px; position: relative; margin: .55em 0; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 13px; height: 7px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
@media (min-width: 900px) {
  .feature-grid { grid-template-columns: 5fr 7fr; gap: 56px; }
  .feature.flip .feature-copy { order: 2; }
  .feature.nomedia .feature-grid { grid-template-columns: 1fr; }
  .feature.nomedia .feature-copy { order: 0; max-width: 760px; }
}

/* screenshots: framed consoles that tilt toward the pointer */
.shot { margin: 0 0 18px; perspective: 1200px; }
.shot img { border: 1px solid var(--line-strong); border-radius: 12px; background: #000; box-shadow: 0 24px 60px rgba(0, 0, 0, .5), 0 0 0 6px rgba(16, 26, 46, .6); transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .25s var(--ease), box-shadow .35s; will-change: transform; }
.shot:hover img { box-shadow: 0 34px 80px rgba(0, 0, 0, .6), 0 0 0 6px rgba(16, 26, 46, .6), 0 0 60px rgba(56, 189, 248, .12); }
.shot figcaption { color: var(--muted); font-size: .9rem; margin-top: 10px; }
.shot .sim { display: inline-block; font-family: var(--font-mono); color: var(--amber); font-size: .72rem; letter-spacing: .06em; border: 1px solid rgba(245, 165, 36, .45); border-radius: 4px; padding: 2px 7px; margin-left: 4px; }
.planned { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 20px; color: var(--muted); }
.badge { display: inline-block; font-family: var(--font-mono); background: var(--panel-2); color: var(--amber); border-radius: 4px; padding: 2px 8px; font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }

/* the layer stack, in three dimensions */
.layers-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .layers-grid { grid-template-columns: 6fr 6fr; gap: 48px; } }
.stack { position: relative; height: 380px; perspective: 1500px; perspective-origin: 50% 30%; }
.plate { position: absolute; left: 50%; top: 50%; width: min(420px, 86%); height: 150px; margin: -75px 0 0 min(-210px, -43%); border-radius: 16px; border: 1px solid var(--line-strong); background: linear-gradient(135deg, rgba(22, 37, 64, .85), rgba(16, 26, 46, .95)); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); transform: rotateX(58deg) rotateZ(-34deg) translateZ(var(--z)); transition: transform .5s var(--ease), box-shadow .5s, border-color .5s; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px 20px; }
.plate::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(rgba(163, 179, 200, .07) 1px, transparent 1px) 0 0 / 100% 24px, linear-gradient(90deg, rgba(163, 179, 200, .07) 1px, transparent 1px) 0 0 / 24px 100%; pointer-events: none; }
.plate-field { --z: 0px; }
.plate-scada { --z: 90px; }
.plate-apex { --z: 180px; border-color: rgba(56, 189, 248, .7); background: linear-gradient(135deg, rgba(56, 189, 248, .22), rgba(16, 26, 46, .95)); box-shadow: 0 30px 70px rgba(0, 0, 0, .5), 0 0 60px rgba(56, 189, 248, .22); }
.plate-apex::before { content: ""; position: absolute; left: 50%; top: 28%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 0 8px rgba(232, 64, 28, .25), 0 0 30px var(--hot); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 8px rgba(232, 64, 28, .25), 0 0 30px var(--hot); } 50% { box-shadow: 0 0 0 16px rgba(232, 64, 28, .08), 0 0 40px var(--hot); } }
.plate span { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.plate small { color: var(--muted); font-size: .85rem; }
.stack:hover .plate-field { transform: rotateX(58deg) rotateZ(-34deg) translateZ(-20px); }
.stack:hover .plate-scada { transform: rotateX(58deg) rotateZ(-34deg) translateZ(100px); }
.stack:hover .plate-apex { transform: rotateX(58deg) rotateZ(-34deg) translateZ(230px); }
.layers { display: grid; gap: 10px; }
.layer { display: grid; gap: 4px; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; background: var(--panel); }
.layer-apex { border-color: rgba(56, 189, 248, .6); background: linear-gradient(90deg, rgba(56, 189, 248, .12), var(--panel)); }
.layer-name span { display: block; font-family: var(--font-mono); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-size: .76rem; }
.layer-name small { color: var(--muted); }
.layer-body { color: var(--muted); font-size: .95rem; }
@media (max-width: 899px) { .stack { height: 300px; } .plate { height: 120px; margin-top: -60px; } .plate-scada { --z: 70px; } .plate-apex { --z: 140px; } }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
table.compare { border-collapse: collapse; width: 100%; min-width: 720px; font-size: .95rem; }
.compare th, .compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--panel-2); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.compare tbody th { color: var(--text); font-weight: 600; }
.compare td { color: var(--muted); }
.compare .hl { color: var(--text); background: rgba(56, 189, 248, .08); }
.compare thead .hl { color: var(--sky); }
.compare tbody tr:hover td, .compare tbody tr:hover th { background: rgba(163, 179, 200, .05); }

/* stats */
.stat-row { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--thermal); opacity: .8; }
.stat-v { display: block; font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; color: var(--sky-2); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-l { color: var(--muted); font-size: .95rem; }
.lines { list-style: none; padding: 0; margin-top: 24px; }
.lines li { color: var(--muted); margin: .6em 0; }

/* steps */
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.steps li { counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 20px 66px; position: relative; transition: transform .35s var(--ease), border-color .35s; }
.steps li:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.steps li::before { content: counter(s); font-family: var(--font-mono); position: absolute; left: 20px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #FF5A2E, #C92A0F); color: #fff; font-weight: 600; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(232, 64, 28, .35); }
.steps li p { color: var(--muted); margin: 0; }

/* prose */
.prose p, .prose li { color: var(--muted); }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }

/* CTA */
.cta-box { position: relative; background: linear-gradient(135deg, var(--panel-2), var(--panel)); border: 1px solid transparent; border-radius: 18px; padding: 34px; display: grid; gap: 20px; align-items: center; overflow: hidden; }
.cta-box::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--thermal); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .7; pointer-events: none; }
.cta-box::after { content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(56, 189, 248, .18), transparent 60%); pointer-events: none; }
.cta-box > * { position: relative; }
.cta-box p { color: var(--muted); margin: 0; }
.cta-box .actions { margin: 0; }
@media (min-width: 900px) { .cta-box { grid-template-columns: 1fr auto; } }

/* form */
.form-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .form-grid { grid-template-columns: 5fr 7fr; } }
.demo-form { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 14px; }
.field label { display: block; font-size: .95rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line-strong); border-radius: 8px; padding: 11px 12px; font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(56, 189, 248, .18); outline: none; }
.field.check { display: flex; gap: 10px; align-items: flex-start; }
.field.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.field.check label { color: var(--muted); margin: 0; }
.field.hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.4em; color: var(--green); margin: 0; }
.form-status.err { color: var(--amber); }
.form-fallback { color: var(--muted); font-size: .9rem; margin: 0; }

/* footer */
.foot-bar { border-top: 1px solid var(--line); padding: 44px 0; margin-top: 24px; background: #050810; }
.foot-grid { display: grid; gap: 24px; }
.foot-brand { display: flex; gap: 16px; align-items: flex-start; color: var(--muted); min-width: 0; overflow-wrap: anywhere; }
.foot-brand a { word-break: break-all; }
.plate-logo { background: #fff; border-radius: 8px; padding: 6px; flex: none; }
.plate-logo img { width: 72px; height: 72px; object-fit: contain; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links a { color: var(--muted); }
.foot-note { color: var(--dim); font-size: .85rem; margin: 0; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1fr auto; } .foot-note { grid-column: 1 / -1; } }

/* motion: elements rise into place as they enter the viewport */
.reveal { opacity: .35; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
  .plate-apex::before, .btn-primary::after { animation: none; transition: none; }
  .console-frame { transform: none; }
  .shot img { transform: none; }
}

/* questions and answers */
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; transition: border-color .3s; }
.faq-item[open] { border-color: var(--line-strong); }
.faq-item summary { list-style: none; cursor: pointer; padding: 16px 48px 16px 20px; font-weight: 600; position: relative; font-family: var(--font-display); font-size: 1rem; letter-spacing: -0.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--sky); border-bottom: 2px solid var(--sky); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-item summary:hover { color: var(--sky-2); }
.faq-a { padding: 0 20px 18px; color: var(--muted); }
.faq-a p:last-child { margin-bottom: 0; }

/* a day on the clock */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 92px; top: 8px; bottom: 8px; width: 2px; background: var(--thermal); opacity: .6; border-radius: 2px; }
.timeline li { display: grid; grid-template-columns: 76px 1fr; gap: 32px; padding: 14px 0; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 87px; top: 24px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--sky); box-shadow: 0 0 12px rgba(56, 189, 248, .5); }
.t-time { font-family: var(--font-mono); color: var(--sky); font-size: .85rem; padding-top: 4px; text-align: right; letter-spacing: .04em; }
.t-body h3 { margin-bottom: .25em; }
.t-body p { color: var(--muted); margin: 0; }
.t-where { display: inline-block; margin-top: 8px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
@media (max-width: 679px) { .timeline::before { left: 60px; } .timeline li { grid-template-columns: 48px 1fr; gap: 24px; } .timeline li::before { left: 55px; } .t-time { font-size: .76rem; } }

/* specification sheet */
.spec { margin: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.spec-row { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 14px 20px; border-top: 1px solid var(--line); }
.spec-row:first-child { border-top: 0; }
.spec-row:nth-child(even) { background: rgba(163, 179, 200, .03); }
.spec dt { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); padding-top: 3px; }
.spec dd { margin: 0; color: var(--muted); }
.spec dd strong { color: var(--text); }
@media (min-width: 760px) { .spec-row { grid-template-columns: 240px 1fr; gap: 24px; } }
.foot-build { font-family: var(--font-mono); color: var(--dim); }
