/* Lipsapp — same materials as the iOS and macOS apps: ink, panel, mint, plus an electric blue. */
:root {
  --ink: #0A131F;
  --abyss: #060C15;
  --panel: #132030;
  --panel-2: #182A3E;
  --line: rgba(146, 186, 214, 0.14);
  --mint: #59E6C9;
  --blue: #4C8DFF;
  --text: #E7EEF5;
  --soft: #9FB2C6;
  --dim: #6D8197;
  --amber: #F5B85A;
  --violet: #A98BFF;
  --radius: 22px;
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 5vw, 72px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text); font-family: var(--body);
  font-size: 17px; line-height: 1.6; overflow-x: hidden;
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(76, 141, 255, 0.14), transparent 60%),
    radial-gradient(900px 500px at 0% 20%, rgba(89, 230, 201, 0.07), transparent 60%);
  background-attachment: fixed;
}
a { color: inherit; }
img, svg, canvas { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--mint); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
.mono { font-family: var(--mono); letter-spacing: 0; }
.dim { color: var(--dim); }

/* Header */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter); transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.bar.scrolled { background: rgba(10, 19, 31, 0.72); backdrop-filter: blur(16px); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 2px; text-decoration: none; font: 800 22px/1 var(--display); }
.brand em, .brand-inline em { font-style: normal; color: var(--mint); }
.brand-mark {
  width: 22px; height: 12px; margin-right: 10px; border: 2px solid var(--mint); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  box-shadow: 0 0 12px rgba(89, 230, 201, .7); position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; left: 3px; right: 3px; top: calc(4px - var(--o, 0) * 2px); height: calc(1px + var(--o, 0) * 4px);
  border-radius: 3px; background: var(--mint); transition: top .08s, height .08s;
}
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--soft); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--text); }
.bar-end { display: flex; align-items: center; gap: 12px; }
.lang {
  font: 600 12px var(--mono); color: var(--soft); background: transparent; border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 12px; cursor: pointer;
}
.lang:hover { color: var(--mint); border-color: var(--mint); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 15px;
  color: var(--ink); background: var(--mint); padding: 14px 22px; border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(89, 230, 201, .4), 0 10px 40px -10px rgba(89, 230, 201, .6);
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(89, 230, 201, .6), 0 16px 50px -10px rgba(89, 230, 201, .8); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--mint); color: var(--mint); }
.btn-small { padding: 9px 14px; font-size: 13px; border-radius: 11px; }
.btn-big { padding: 20px 30px; font-size: 17px; border-radius: 18px; }

/* Typography */
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; }
h1 { font-size: clamp(36px, 4.8vw, 72px); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 3.8vw, 54px); font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: 20px; font-weight: 600; line-height: 1.25; }
.grad {
  background: linear-gradient(92deg, var(--mint) 10%, var(--blue) 70%, var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 600 12px var(--mono);
  text-transform: uppercase; letter-spacing: .16em; color: var(--mint);
}
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--soft); max-width: 58ch; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(89, 230, 201, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(89, 230, 201, 0); } 100% { box-shadow: 0 0 0 0 rgba(89, 230, 201, 0); } }

section { padding: clamp(80px, 12vw, 160px) var(--gutter); position: relative; }
.section-head { max-width: 900px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }

/* Hero */
.hero {
  min-height: 100svh; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center;
  padding-top: 120px; padding-bottom: 60px;
}
.hero .lede { margin: 24px 0 36px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }
.stage {
  margin: 0; position: relative; aspect-ratio: 640 / 520; border-radius: 32px; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, rgba(76, 141, 255, .16), transparent 65%), var(--abyss);
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 120px -40px rgba(76, 141, 255, .5);
}
.stage-view { position: absolute; inset: 0; }
.stage canvas { width: 100%; height: 100%; }
.crop {
  position: absolute; left: 50%; top: 39%; width: 46%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border: 1px dashed rgba(89, 230, 201, .45); border-radius: 12px; pointer-events: none;
}
.crop::before, .crop::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--mint); }
.crop::before { left: -2px; top: -2px; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.crop::after { right: -2px; bottom: -2px; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.crop span { position: absolute; top: -24px; right: 0; font: 600 11px var(--mono); color: var(--mint); }
.decoder {
  position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 16px 18px; border-radius: 18px;
  background: rgba(10, 19, 31, .78); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--line);
}
.decoder-head { display: flex; justify-content: space-between; font-size: 11px; color: var(--mint); text-transform: uppercase; letter-spacing: .12em; }
.beam { list-style: none; margin: 10px 0 6px; padding: 0; display: grid; gap: 5px; min-height: 72px; }
.beam li { display: grid; grid-template-columns: 1fr 70px 44px; gap: 10px; align-items: center; font: 500 14px var(--mono); color: var(--soft); transition: color .2s, opacity .2s; }
.beam li .bar-p { height: 4px; border-radius: 4px; background: rgba(146, 186, 214, .15); overflow: hidden; }
.beam li .bar-p i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--mint)); transition: width .25s; }
.beam li .pct { text-align: right; font-size: 12px; color: var(--dim); }
.beam li.top { color: var(--text); }
.locked { margin: 4px 0 0; font: 600 clamp(14px, 1.25vw, 18px) var(--display); color: var(--mint); min-height: 1.4em; letter-spacing: -.01em; }
.locked.show { animation: lock .5s ease-out; }
@keyframes lock { from { opacity: 0; transform: translateY(6px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* Facts */
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 0; padding-bottom: 40px; gap: 1px;
}
.fact { padding: 26px 22px; border-top: 1px solid var(--line); }
.fact b { display: block; font-size: clamp(28px, 3vw, 40px); color: var(--text); font-weight: 600; }
.fact span { color: var(--soft); font-size: 15px; }

/* Ribbon */
.ribbon { overflow: hidden; padding: 28px 0; border-block: 1px solid var(--line); display: grid; gap: 14px; }
.ribbon-row { margin: 0; white-space: nowrap; font-size: clamp(18px, 2.4vw, 34px); color: var(--dim); will-change: transform; }
.ribbon-row:first-child { color: var(--text); }
.ribbon-row .caret { color: var(--mint); opacity: .55; margin: 0 .35em; font-size: .7em; vertical-align: .1em; }

/* Scrub: pinned stage, the scroll plays real lip contours */
.scrub { height: 360vh; padding-top: 0; padding-bottom: 0; }
.scrub-sticky {
  position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px;
  align-items: center; padding: 80px 0 40px;
}
.scrub-head h2 { font-size: clamp(40px, 5.2vw, 76px); margin-bottom: 20px; }
.scrub-note { color: var(--soft); max-width: 40ch; }
.scrub-stage { position: relative; height: min(78svh, 680px); display: grid; grid-template-rows: 1fr auto auto; gap: 18px; }
.scrub-stage canvas { width: 100%; height: 100%; min-height: 0; }
.scrub-words { margin: 0; text-align: center; font: 800 clamp(26px, 3.4vw, 52px)/1.1 var(--display); letter-spacing: -.02em; min-height: 1.2em; }
.scrub-words span { color: rgba(146, 186, 214, .22); transition: color .15s, text-shadow .15s; }
.scrub-words span.on { color: var(--text); }
.scrub-words span.now { color: var(--mint); text-shadow: 0 0 24px rgba(89, 230, 201, .6); }
.scrub-film { display: grid; gap: 8px; }
.film-ticks { display: flex; gap: 2px; height: 26px; align-items: flex-end; }
.film-ticks i { flex: 1; background: rgba(146, 186, 214, .18); border-radius: 2px; transition: background .1s; }
.film-ticks i.past { background: rgba(76, 141, 255, .55); }
.film-ticks i.cur { background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.film-label { font-size: 12px; color: var(--dim); text-align: center; }

/* Glyphs: long-exposure lip signatures */
.glyph-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.glyph {
  position: relative; margin: 0; border-radius: var(--radius); background: var(--abyss); box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden; cursor: default; transition: box-shadow .3s, transform .3s;
}
.glyph:hover, .glyph.playing { box-shadow: inset 0 0 0 1px rgba(89, 230, 201, .4); transform: translateY(-3px); }
.glyph canvas { width: 100%; aspect-ratio: 4 / 3; }
.glyph figcaption { position: absolute; left: 18px; right: 18px; bottom: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.glyph b { font: 600 17px var(--display); }
.glyph span { font: 500 11px var(--mono); color: var(--dim); white-space: nowrap; }

/* How: sticky visual with steps scrolling past */
.how { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; align-items: start; }
.how-head { grid-column: 1 / -1; margin-bottom: 0; }
.how-sticky { position: sticky; top: 90px; height: calc(100svh - 120px); display: grid; place-items: center; }
.how-visual { width: min(100%, 540px); aspect-ratio: 1; position: relative; border-radius: 32px; background: var(--abyss); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.how-visual canvas { width: 100%; height: 100%; }
.how-caption { position: absolute; left: 22px; bottom: 18px; margin: 0; color: var(--mint); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; }
.how-steps { padding-bottom: 20vh; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .5s; max-width: 520px; }
.step.active { opacity: 1; }
.step-n { color: var(--blue); font-size: 14px; margin: 0 0 12px; }
.step h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; margin-bottom: 14px; }
.step p { color: var(--soft); margin: 0; font-size: 18px; }

/* Access */
.access { background: linear-gradient(180deg, transparent, rgba(19, 32, 48, .55) 12%, rgba(19, 32, 48, .55) 88%, transparent); }
.mac { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; margin-bottom: 72px; }
.mac-copy h3 { font-size: clamp(26px, 2.8vw, 38px); font-weight: 800; margin: 14px 0 16px; }
.mac-copy > p { color: var(--soft); }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 9px; border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(-45deg); }
.mac-screen { position: relative; padding-bottom: 40px; }
.win { border-radius: 16px; background: #0E1A28; box-shadow: inset 0 0 0 1px var(--line), 0 40px 100px -40px rgba(76, 141, 255, .6); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #122033; font: 500 12px var(--mono); color: var(--dim); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2A3B52; }
.win-bar span { margin-left: 10px; }
.win-body { padding: 18px; }
.fake-nav { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.fake-nav span { height: 10px; width: 60px; border-radius: 6px; background: #1E3048; }
.fake-nav span.wide { flex: 1; }
.fake-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fake-card { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; background: linear-gradient(160deg, #1A2B41, #132030); }
.fake-card .badge { position: absolute; left: 8px; top: 8px; }
.badge {
  display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px;
  font: 800 11px var(--mono); color: var(--ink); background: var(--mint); box-shadow: 0 0 12px rgba(89, 230, 201, .7);
  opacity: 0; transform: scale(.6); transition: opacity .3s, transform .3s;
}
.mac-screen.numbers .badge { opacity: 1; transform: none; }
.mac-screen.numbers .badge:nth-child(n) { transition-delay: calc(var(--i, 0) * 40ms); }
.fake-card.target { transition: box-shadow .3s, background .3s; }
.mac-screen.pressed .fake-card.target { box-shadow: 0 0 0 2px var(--mint), 0 0 40px rgba(89, 230, 201, .5); background: linear-gradient(160deg, #1D4A52, #16333F); }
.hud {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-radius: 18px; background: rgba(12, 22, 36, .92); backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(89, 230, 201, .35), 0 20px 60px -20px rgba(0, 0, 0, .8); white-space: nowrap;
  font: 600 15px var(--display);
}
.hud-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.hud.recording .hud-dot { background: #FF5A6E; box-shadow: 0 0 12px #FF5A6E; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card, .use {
  padding: 26px; border-radius: var(--radius); background: rgba(19, 32, 48, .8); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .3s, box-shadow .3s; position: relative; overflow: hidden;
}
.card::after, .use::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgba(89, 230, 201, .13), transparent 70%);
}
.card:hover, .use:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(89, 230, 201, .35); }
.card:hover::after, .use:hover::after { opacity: 1; }
.card h3, .use h3 { margin: 14px 0 10px; }
.card p:last-child, .use p:last-child { color: var(--soft); margin: 0; font-size: 15.5px; }
.tag { display: inline-flex; align-items: center; gap: 7px; margin: 0; font: 600 11px var(--mono); letter-spacing: .06em; padding: 5px 10px; border-radius: 999px; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag-live { color: var(--mint); background: rgba(89, 230, 201, .1); }
.tag-next { color: var(--blue); background: rgba(76, 141, 255, .12); }
.tag-research { color: var(--amber); background: rgba(245, 184, 90, .1); }

/* Studio */
.studio { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.studio-copy > p { color: var(--soft); }
.studio-copy h2 { margin-bottom: 22px; }
.flow { list-style: none; padding: 0; margin: 28px 0; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: f; }
.flow li { counter-increment: f; font-size: 13px; padding: 8px 12px; border-radius: 10px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); color: var(--soft); }
.flow li::before { content: counter(f) " · "; color: var(--mint); }
.note { font-size: 15px; color: var(--dim) !important; border-left: 2px solid var(--mint); padding-left: 14px; }
.curve { margin: 0; padding: 22px; border-radius: 28px; background: var(--abyss); box-shadow: inset 0 0 0 1px var(--line); }
.curve figcaption { color: var(--dim); font-size: 13.5px; margin-top: 12px; }
#curve-svg .grid line { stroke: rgba(146, 186, 214, .08); }
#curve-svg .base { stroke: var(--dim); stroke-dasharray: 6 5; stroke-width: 1.5; }
#curve-svg .base-label, #curve-svg .axis { fill: var(--dim); font-size: 12px; }
#curve-svg .line { fill: none; stroke: url(#gline); stroke-width: 3.5; stroke-linecap: round; filter: drop-shadow(0 0 8px rgba(89, 230, 201, .6)); }
#curve-svg .area { fill: url(#garea); }
#curve-svg .best { fill: var(--ink); stroke: var(--mint); stroke-width: 3; opacity: 0; transition: opacity .4s; filter: drop-shadow(0 0 10px var(--mint)); }
#curve-svg .best.show { opacity: 1; }

/* Uses */
.legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.uses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* Trust */
.rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; }
.rule { background: var(--ink); padding: 30px 26px; }
.rule h3 { color: var(--mint); font-size: 18px; margin-bottom: 12px; }
.rule p { margin: 0; color: var(--soft); font-size: 15.5px; }

/* Platforms */
.platforms { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.plat-copy p { color: var(--soft); }
.plat-copy h2 { margin-bottom: 20px; }
.plat-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.plat-list li { padding: 9px 14px; border-radius: 10px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; }
.devices { position: relative; height: 420px; }
.laptop { position: absolute; left: 0; top: 30px; width: 78%; }
.laptop-screen {
  aspect-ratio: 16 / 10; border-radius: 16px 16px 4px 4px; border: 10px solid #1A2638; background: radial-gradient(circle at 70% 30%, rgba(76, 141, 255, .25), transparent 60%), var(--abyss);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; gap: 6px;
}
.laptop-base { height: 14px; margin: 0 -6%; border-radius: 0 0 14px 14px; background: linear-gradient(#2A3A50, #16212F); }
.phone { position: absolute; right: 4%; top: 0; width: 34%; aspect-ratio: 9 / 19; border-radius: 34px; border: 9px solid #1A2638; background: var(--abyss); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 60px -20px rgba(89, 230, 201, .4); }
.phone-screen { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px 16px; gap: 8px; }
.phone-screen i { height: 36px; border-radius: 12px; background: var(--mint); box-shadow: 0 0 20px rgba(89, 230, 201, .5); }
.devices .mono { font-size: 11px; color: var(--mint); letter-spacing: .1em; text-transform: uppercase; }
.devices b { font: 600 16px/1.3 var(--display); }

/* Contact */
.contact { text-align: center; overflow: hidden; padding-bottom: clamp(100px, 14vw, 180px); }
.contact h2 { font-size: clamp(38px, 6vw, 84px); }
.contact .lede { margin: 22px auto 40px; }
.form {
  max-width: 760px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left;
  padding: 28px; border-radius: 28px; background: rgba(19, 32, 48, .75); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 100px -50px rgba(89, 230, 201, .5);
}
.field { display: grid; gap: 8px; }
.field.wide, .form-end.wide { grid-column: 1 / -1; }
.field label { font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--soft); }
.field input, .field select, .field textarea {
  font: 16px var(--body); color: var(--text); background: var(--abyss); border: 1px solid var(--line);
  border-radius: 12px; padding: 13px 14px; width: 100%; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px rgba(89, 230, 201, .18); }
.field [aria-invalid="true"] { border-color: #FF7A8A; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-end { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.form-end .btn { border: 0; cursor: pointer; font-family: var(--body); }
.form-end .btn[disabled] { opacity: .6; cursor: wait; }
.form-status { margin: 0; font-size: 15px; color: var(--soft); }
.form-status.ok { color: var(--mint); }
.form-status.err { color: #FF9AA6; }
.contact-alt { margin-top: 22px; color: var(--dim); font-size: 14px; }
.contact-alt a { color: var(--mint); }
.contact-glow { position: absolute; left: 50%; top: 55%; width: 900px; height: 500px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(89, 230, 201, .22), rgba(76, 141, 255, .1) 55%, transparent); filter: blur(20px); z-index: -1; }

.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 28px var(--gutter); border-top: 1px solid var(--line); font-size: 14px; color: var(--soft); }
.foot p { margin: 0; }
.brand-inline { font: 800 15px var(--display); color: var(--text); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .glyph-grid { grid-template-columns: repeat(2, 1fr); }
  .rules { grid-template-columns: repeat(2, 1fr); }
  .uses-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .bar-end { margin-left: auto; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero, .how, .mac, .studio, .platforms { grid-template-columns: 1fr; }
  .hero { padding-top: 100px; min-height: auto; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .scrub { height: 330vh; }
  .scrub-sticky { grid-template-columns: 1fr; gap: 10px; padding: 70px 0 20px; align-content: center; }
  .scrub-head h2 { font-size: 34px; margin-bottom: 8px; }
  .scrub-note { font-size: 14px; }
  .scrub-stage { height: 56svh; gap: 10px; }
  .stage { aspect-ratio: auto; display: flex; flex-direction: column; }
  .stage-view { position: relative; inset: auto; aspect-ratio: 4 / 3; }
  .decoder { position: static; margin: 0 12px 12px; }
  .how-head { margin-bottom: 24px; }
  .how-sticky { position: sticky; top: 58px; height: auto; z-index: 2; padding: 8px 0 18px; background: linear-gradient(var(--ink) 82%, rgba(10, 19, 31, 0)); }
  .how-visual { width: min(62vw, 250px); border-radius: 24px; }
  .how-caption { left: 14px; bottom: 10px; font-size: 11px; }
  .how-steps { padding-bottom: 8vh; }
  .step { min-height: 38vh; }
  .step p { font-size: 16px; }
  .devices { height: 300px; }
  .platforms .devices { order: 2; }
  .laptop { width: 86%; top: 40px; }
  .phone { width: 32%; right: 0; top: 70px; border-width: 7px; border-radius: 26px; }
  .phone-screen { padding: 12px 10px; }
  .devices b { font-size: 12px; }
  .phone-screen i { height: 22px; }
  .laptop-screen { border-width: 7px; padding: 16px; }
}
@media (max-width: 560px) {
  .cards, .rules, .uses-grid { grid-template-columns: 1fr; }
  .glyph-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .glyph b { font-size: 13px; line-height: 1.2; }
  .glyph canvas { aspect-ratio: 1; }
  .glyph span { display: none; }
  .glyph figcaption { left: 12px; bottom: 10px; }
  .form { grid-template-columns: 1fr; padding: 20px; }
  .form-end .btn { width: 100%; justify-content: center; }
  .bar .btn-small { display: none; }
  .beam li { grid-template-columns: 1fr 50px 40px; font-size: 12.5px; }
  .locked { font-size: 15px; }
  .hud { font-size: 13px; padding: 12px 16px; }
  .devices { height: 250px; }
  .card, .use { padding: 22px; }
  .facts .fact { padding: 20px 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pulse { animation: none; }
  .step { opacity: 1; }
}
