/* Duo Dash website. Plain CSS, system fonts, no dependencies.
   Animations only touch transform and opacity. Scroll-driven parts are switched on by
   app.js adding .motion to <html>; without it (no JS, or reduced motion) every section
   renders in its finished state. */

:root {
  --bg: #000;
  --bg-2: #0d0d0e;
  --tile: #161617;
  --tile-2: #1d1d1f;
  --line: #2c2c2e;
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --accent: #3fd0a0;
  --accent-ink: #04140e;
  --light-bg: #f5f5f7;
  --light-text: #1d1d1f;
  --light-muted: #5f5f64;
  --light-accent: #057a55;
  --warn: #ffb340;
  --nav-h: 52px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
  --radius-tile: clamp(20px, 2.4vw, 30px);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.light :focus-visible { outline-color: var(--light-accent); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.025em; line-height: 1.06; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px;
  background: var(--text); color: #000; border-radius: 999px; font-weight: 600;
}
.skip:focus { top: 10px; text-decoration: none; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(96px, 14vw, 180px) 0; position: relative; }
.light { background: var(--light-bg); color: var(--light-text); color-scheme: light; }
.light a { color: var(--light-accent); }
.eyebrow { font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; color: var(--accent); margin-bottom: 12px; letter-spacing: 0; }
.light .eyebrow { color: var(--light-accent); }
.headline { font-size: clamp(40px, 7vw, 80px); }
.headline-xl { font-size: clamp(48px, 9.5vw, 112px); line-height: 1.02; letter-spacing: -0.035em; }
.lede { font-size: clamp(19px, 2vw, 24px); line-height: 1.4; color: var(--muted); max-width: 40em; margin-top: 20px; font-weight: 500; letter-spacing: -0.015em; }
.lede strong { color: var(--text); font-weight: 600; }
.light .lede { color: var(--light-muted); }
.light .lede strong { color: var(--light-text); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.small { font-size: 14px; line-height: 1.45; color: var(--muted); }
.light .small { color: var(--light-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font: 600 17px/1.2 var(--font); letter-spacing: -0.01em;
  border: 0; cursor: pointer; text-decoration: none !important;
  transition: transform .2s var(--ease), opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn-store { background: #000; color: #fff !important; box-shadow: inset 0 0 0 1.5px #a1a1a6; padding: 10px 24px 10px 20px; }
.btn-store:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn-store .store-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.btn-store .store-text small { font-size: 11px; font-weight: 500; letter-spacing: .02em; }
.btn-store .store-text span { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.btn-primary { background: var(--accent); color: var(--accent-ink) !important; }
.btn-primary:hover { opacity: .9; }
.light .btn-primary { background: var(--light-text); color: #fff !important; }
.btn-ghost { background: transparent; color: var(--accent) !important; padding-left: 8px; padding-right: 8px; }
.light .btn-ghost { color: var(--light-accent) !important; }
.btn-ghost .chev { transition: transform .2s var(--ease); }
.btn-ghost:hover .chev { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 32px; }
.center .btn-row { justify-content: center; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  background: rgba(0, 0, 0, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text) !important; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; text-decoration: none !important; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; gap: 24px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-links a { color: #d2d2d7; font-size: 13px; letter-spacing: 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; text-decoration: none; }
.nav-cta { font-size: 13px; min-height: 30px; padding: 6px 14px; }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
}

main { display: block; }

/* ---------- Phone images ----------
   Real app screenshots composited into the official iPhone Duo bezels by
   scripts/web-device-images.py (flattened WebP with transparent surroundings). */
.duo { display: block; width: 100%; height: auto; }
.light .duo { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .22)); }

/* ---------- Hero with the fold-open scene ---------- */
.hero { position: relative; background: #000; }
.hero-sticky {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center;
  padding: calc(var(--nav-h) + clamp(32px, 7vh, 80px)) var(--gutter) clamp(48px, 8vh, 96px);
  overflow: hidden;
}
.hero-copy { text-align: center; position: relative; z-index: 2; will-change: transform, opacity; }
.hero h1 { font-size: clamp(56px, 11vw, 128px); line-height: 1; letter-spacing: -0.04em; }
.hero .tagline { font-size: clamp(21px, 2.6vw, 32px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin-top: 14px; color: var(--text); }
.hero .tagline span { color: var(--muted); }
.hero .safety-mini { margin-top: 18px; font-size: 14px; color: var(--muted); }
.hero .safety-mini strong { color: var(--warn); font-weight: 600; }
.hero-stage { width: 100%; display: flex; justify-content: center; margin-top: clamp(40px, 6vh, 72px); }
.hero-caption { text-align: center; margin-top: 40px; color: var(--muted); font-size: clamp(19px, 2vw, 24px); font-weight: 600; letter-spacing: -0.015em; max-width: 34em; }
.hero-caption strong { color: var(--text); }

/* The fold. Static: the open phone (also the reduced-motion and no-JS view). With motion,
   app.js draws the fold on the canvas, which overhangs the phone by 15% on every side. */
.fold { --dw: min(92vw, 1100px); position: relative; width: var(--dw); height: calc(var(--dw) * 2247 / 3093); will-change: transform; }
.fold-static { display: block; width: 100%; height: 100%; }
.fold-canvas { display: none; position: absolute; left: -15%; top: -15%; width: 130%; height: 130%; pointer-events: none; }
.fold.ready .fold-canvas { display: block; }
.fold.ready .fold-static { visibility: hidden; }

/* Scroll-driven version (JS on, motion allowed) */
.motion .hero { height: 300vh; height: 300svh; }
.motion .hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; padding-bottom: 0; }
.motion .hero-stage { position: absolute; inset: 0; margin: 0; align-items: center; pointer-events: none; }
.motion .fold { --dw: min(92vw, 1100px, (100svh - var(--nav-h) - 140px) * 1.376); }
.motion .hero-caption { position: absolute; left: 0; right: 0; bottom: clamp(20px, 5vh, 56px); margin: 0 auto; padding: 0 var(--gutter); opacity: 0; will-change: opacity, transform; }
.motion .hero-copy .btn { pointer-events: auto; }

/* ---------- Reveal on scroll ---------- */
.motion .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.motion .reveal.in { opacity: 1; transform: none; }
.motion .reveal-scale { opacity: 0; transform: scale(.94); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); }
.motion .reveal-scale.in { opacity: 1; transform: none; }
.motion .delay-1 { transition-delay: .1s; }
.motion .delay-2 { transition-delay: .2s; }
.motion .delay-3 { transition-delay: .3s; }

/* ---------- Story (the why) ---------- */
.story { padding: clamp(80px, 12vw, 160px) 0; }
.story-line { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; max-width: 960px; margin: 0 auto; }
.story-line:first-child { min-height: 46vh; }
.story-line h2 { font-size: clamp(36px, 6.4vw, 76px); letter-spacing: -0.03em; }
.story-line p { font-size: clamp(19px, 2.2vw, 28px); line-height: 1.36; font-weight: 600; letter-spacing: -0.02em; color: var(--muted); margin-top: 22px; max-width: 30em; }
.story-line p strong { color: var(--text); }
.motion .story-line > * { opacity: .16; transition: opacity .9s var(--ease), transform .9s var(--ease); transform: translateY(16px); }
.motion .story-line.lit > * { opacity: 1; transform: none; }
.story-end { text-align: center; min-height: 0; padding-top: 6vh; margin: 0 auto; align-items: center; }
.story-end h2 { font-size: clamp(56px, 11vw, 128px); }
.story-end h2 span { background: linear-gradient(100deg, #fff 20%, var(--accent) 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Film ---------- */
.film-frame { position: relative; margin-top: clamp(40px, 6vw, 72px); border-radius: var(--radius-tile); overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line); }
.film-frame video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.film-controls { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(40, 40, 42, .72); color: #fff; cursor: pointer;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.icon-btn:hover { background: rgba(70, 70, 74, .8); }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- Pinned feature story ---------- */
.features-head { text-align: center; margin-bottom: clamp(32px, 6vw, 80px); }
.pin { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.pin-steps { order: 1; }
.pin-visual { order: 2; position: sticky; top: calc(50vh - 22vw + var(--nav-h) / 2); }
.pin-step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; }
.pin-step h3 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 18px; }
.pin-step p { color: var(--muted); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; }
.pin-step p strong { color: var(--text); font-weight: 600; }
.pin-step ul { margin: 18px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 17px; }
.pin-step li { padding: 10px 0; border-top: 1px solid var(--line); }
.pin-step li strong { color: var(--text); font-weight: 600; }
.motion .pin-step { opacity: .28; transition: opacity .5s var(--ease); }
.motion .pin-step.active { opacity: 1; }
.stack { position: relative; }
.stack img { transition: opacity .6s var(--ease), transform .8s var(--ease); }
.stack img { display: block; width: 100%; height: auto; }
.stack img:not(:first-child) { position: absolute; inset: 0; opacity: 0; }
.motion .stack img { opacity: 0; transform: scale(1.03); }
.motion .stack img.on { opacity: 1; transform: none; }
.pin-dots { display: flex; justify-content: center; gap: 10px; margin-top: 24px; list-style: none; padding: 0; }
.pin-dots li { width: 8px; height: 8px; border-radius: 50%; background: #48484c; transition: transform .3s, background .3s; }
.pin-dots li.on { background: var(--text); transform: scale(1.25); }
.pin-label { text-align: center; margin-top: 14px; font-size: 14px; color: var(--muted); min-height: 1.4em; }

@media (max-width: 860px) {
  .pin { grid-template-columns: 1fr; gap: 0; }
  .pin-visual { order: 0; top: calc(var(--nav-h) + 8px); z-index: 2; padding: 8px 0 16px; background: #000; box-shadow: 0 24px 24px -4px #000; }
  .pin-step { min-height: 70vh; justify-content: center; padding: 8vh 0; }
  .pin-label { display: none; }
  .pin-dots { margin-top: 14px; }
}

/* ---------- Bento grid ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); margin-top: clamp(40px, 6vw, 72px); }
.tile {
  grid-column: span 3; background: var(--tile); border-radius: var(--radius-tile);
  padding: clamp(24px, 3vw, 40px); overflow: hidden; position: relative;
  display: flex; flex-direction: column;
}
.tile.s2 { grid-column: span 2; }
.tile.s6 { grid-column: span 6; }
.tile h3 { font-size: clamp(24px, 2.5vw, 34px); letter-spacing: -0.025em; line-height: 1.1; }
.tile p { color: var(--muted); margin-top: 10px; font-size: 17px; }
.tile p strong { color: var(--text); font-weight: 600; }
.tile .kicker { font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 8px; letter-spacing: 0; }
.tile .shot { margin-top: auto; padding-top: 24px; }
.tile .shot img { border-radius: clamp(10px, 1.2vw, 16px); box-shadow: 0 0 0 1px rgba(255,255,255,.06); width: 100%; aspect-ratio: 1600 / 1125; object-fit: cover; }
.tile .glyph { width: 52px; height: 52px; color: var(--accent); margin-bottom: 20px; }
.tile .big { font-size: clamp(44px, 5.6vw, 72px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-bottom: 12px; color: var(--text); }
.tile-split { display: grid; grid-template-columns: 1fr minmax(0, .8fr); gap: 24px; align-items: end; }
.tile-split .shot { padding: 0; }
.tile-split .shot img { aspect-ratio: 560 / 781; max-height: 380px; width: auto; margin-left: auto; box-shadow: none; border-radius: 0; }
.tile-privacy { background: linear-gradient(135deg, #10241d, #161617 60%); text-align: center; align-items: center; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.tile-privacy h3 { font-size: clamp(32px, 5vw, 60px); }
.tile-privacy p { max-width: 36em; }
.privacy-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.privacy-points li { padding: 8px 16px; border-radius: 999px; background: rgba(63, 208, 160, .12); color: var(--accent); font-weight: 600; font-size: 15px; }
@media (max-width: 1020px) {
  .tile, .tile.s2 { grid-column: span 3; }
  .tile.s2:last-of-type { grid-column: span 6; }
  .tile-split, .tile-split + .tile { grid-column: span 6; }
}
@media (max-width: 680px) {
  .bento { grid-template-columns: 1fr; }
  .tile, .tile.s2, .tile.s6, .tile.s2:last-of-type, .tile-split, .tile-split + .tile { grid-column: auto; }
  .tile-split { grid-template-columns: 1fr; }
  .tile-split .shot img { max-height: 300px; margin: 0 auto; }
}

/* ---------- Pro ---------- */
.pro { background: linear-gradient(#000, #07120e 40%, #000); }
.pro-title span { background: linear-gradient(100deg, var(--accent), #9ff0d3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.unlocks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; list-style: none; }
.unlocks li { background: var(--tile); border-radius: 22px; padding: 24px 20px; }
.unlocks svg { width: 32px; height: 32px; color: var(--accent); margin-bottom: 16px; }
.unlocks strong { display: block; font-size: 19px; letter-spacing: -0.02em; margin-bottom: 6px; }
.unlocks span { color: var(--muted); font-size: 15px; line-height: 1.4; display: block; }
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.price { background: var(--tile); border-radius: var(--radius-tile); padding: 32px 28px; position: relative; box-shadow: inset 0 0 0 1px transparent; }
.price.best { box-shadow: inset 0 0 0 2px var(--accent); }
.price .plan { font-size: 17px; font-weight: 600; color: var(--muted); }
.price .amount { font-size: clamp(40px, 4.4vw, 56px); font-weight: 700; letter-spacing: -0.04em; margin-top: 8px; line-height: 1; }
.price .amount small { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--muted); margin-left: 4px; }
.price p { color: var(--muted); margin-top: 12px; font-size: 15px; }
.price .tag { position: absolute; top: 20px; right: 20px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; letter-spacing: .01em; }
@media (max-width: 1020px) { .unlocks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .unlocks { grid-template-columns: repeat(2, minmax(0, 1fr)); } .prices { grid-template-columns: 1fr; } }
@media (max-width: 400px) { .unlocks { grid-template-columns: 1fr; } }

/* ---------- Mount teaser (landing) ---------- */
.mount-teaser { overflow: hidden; }
.mount-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.mount-art { position: relative; }
.mount-art img { width: 118%; max-width: 760px; margin: 0 -9%; will-change: transform; }
.price-line { font-size: 19px; font-weight: 600; margin-top: 24px; letter-spacing: -0.015em; }
.price-line span { color: var(--light-muted); font-weight: 500; }
@media (max-width: 860px) { .mount-grid { grid-template-columns: 1fr; } .mount-art img { width: 112%; max-width: 560px; margin: 0 auto 0 -6%; } }

/* ---------- Interest form ---------- */
.interest { margin-top: 32px; max-width: 520px; }
.interest .row { display: flex; gap: 10px; flex-wrap: wrap; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 220px; }
.field label { font-size: 14px; font-weight: 600; }
.interest input[type="email"], .interest select {
  font: 500 17px/1.2 var(--font); min-height: 50px; padding: 12px 16px; border-radius: 14px;
  border: 1px solid #c7c7cc; background: #fff; color: var(--light-text); width: 100%;
}
.dark-form input[type="email"], .dark-form select { background: var(--tile-2); border-color: #48484c; color: var(--text); }
.interest input:focus-visible, .interest select:focus-visible { outline: 3px solid var(--light-accent); outline-offset: 1px; }
.dark-form input:focus-visible, .dark-form select:focus-visible { outline-color: var(--accent); }
.interest .btn { margin-top: 14px; }
.interest .note { margin-top: 12px; }
.form-error { color: #c4001a; font-weight: 600; font-size: 15px; margin-top: 10px; }
.dark-form .form-error { color: #ff6961; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.thanks { margin-top: 28px; padding: 24px; border-radius: 20px; background: rgba(5, 122, 85, .1); max-width: 520px; }
.thanks:focus { outline: none; }
.thanks h3 { font-size: 24px; }
.thanks p { margin-top: 6px; }
.dark-form + .thanks, .thanks.dark { background: rgba(63, 208, 160, .12); }
.btn-link { background: none; border: 0; padding: 0; margin-top: 12px; font: 600 15px var(--font); color: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- Open source ---------- */
.oss-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--tile); border-radius: var(--radius-tile); padding: clamp(28px, 5vw, 64px); margin-top: clamp(40px, 6vw, 72px); }
.oss-card svg.gh { width: clamp(72px, 10vw, 120px); height: auto; color: var(--text); }
.oss-card h3 { font-size: clamp(26px, 3vw, 38px); }
.oss-card p { color: var(--muted); margin-top: 12px; }
.oss-card code { font: 500 15px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text); }
@media (max-width: 680px) { .oss-card { grid-template-columns: 1fr; } }

/* ---------- Safety ---------- */
.safety { padding: clamp(64px, 10vw, 120px) 0; }
.safety-card {
  border-radius: var(--radius-tile); padding: clamp(32px, 6vw, 72px);
  background: linear-gradient(135deg, #2a1d05, #161617 70%); box-shadow: inset 0 0 0 1px rgba(255, 179, 64, .35);
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start;
}
.safety-card svg { width: clamp(48px, 7vw, 80px); height: auto; color: var(--warn); }
.safety-card h2 { font-size: clamp(34px, 5.4vw, 64px); }
.safety-card p { font-size: clamp(18px, 1.8vw, 22px); color: #e3e3e8; margin-top: 16px; max-width: 38em; line-height: 1.45; }
@media (max-width: 600px) { .safety-card { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); color: var(--muted); font-size: 13px; line-height: 1.6; padding: 40px 0 56px; border-top: 1px solid var(--line); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 20px; padding: 0 0 20px; list-style: none; border-bottom: 1px solid var(--line); }
.footer-links a { color: #d2d2d7; }
.footer p + p { margin-top: 8px; }

/* ---------- Mount page ---------- */
.mount-hero { padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 96px)); padding-bottom: clamp(64px, 8vw, 120px); text-align: center; background: var(--light-bg); color: var(--light-text); color-scheme: light; overflow: hidden; }
.mount-hero h1 { font-size: clamp(48px, 9vw, 108px); line-height: 1.02; letter-spacing: -0.04em; }
.mount-hero .product { margin: clamp(32px, 5vw, 64px) auto 0; max-width: 620px; width: 82%; }
.mount-hero .lede { margin-left: auto; margin-right: auto; }

/* Problem / fix scene (real CAD renders) */
.pf { background: #000; position: relative; }
.pf-sticky { position: relative; padding: calc(var(--nav-h) + 48px) var(--gutter) 64px; overflow: hidden; }
.pf-copy { position: relative; text-align: center; max-width: 780px; margin: 0 auto; }
.pf-msg h2 { font-size: clamp(34px, 5.4vw, 64px); }
.pf-msg p { color: var(--muted); font-size: clamp(17px, 1.8vw, 21px); margin-top: 14px; }
.pf-msg p strong { color: var(--text); }
.pf-msg .eyebrow.bad { color: #ff8a80; }
.pf-stage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1100px; margin: 32px auto 0; }
.pf-stage figure { margin: 0; }
.pf-stage img { width: 100%; height: auto; }
.pf-stage figcaption { text-align: center; color: var(--muted); font-size: 15px; margin-top: 8px; }
.pf-level { display: none; }
@media (max-width: 760px) { .pf-stage { grid-template-columns: 1fr; } }

.motion .pf { height: 340vh; height: 340svh; }
.motion .pf-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; padding-bottom: 24px; padding-top: calc(var(--nav-h) + 28px); }
.motion .pf-copy { min-height: 13.5em; width: 100%; flex: none; }
.motion .pf-msg { position: absolute; left: 0; right: 0; top: 0; opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.motion .pf-msg.on { opacity: 1; transform: none; }
.motion .pf-stage { position: relative; display: block; flex: 1 1 auto; width: 100%; margin-top: 8px; min-height: 0; }
.motion .pf-stage figure { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.motion .pf-stage img { width: auto; height: auto; max-width: min(100%, 1000px); max-height: 100%; will-change: transform, opacity; }
.motion .pf-stage figcaption { display: none; }
.motion .pf-fixed { opacity: 0; }
.motion .pf-problem img { transform-origin: 57% 50%; }
.motion .pf-level { display: block; position: absolute; left: 8%; right: 8%; top: 50%; border-top: 2px dashed rgba(63, 208, 160, .7); opacity: 0; pointer-events: none; }

.renders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 6vw, 72px); }
.renders figure { margin: 0; background: #fff; border-radius: var(--radius-tile); overflow: hidden; }
.renders img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 16px; background: linear-gradient(#fff, #ececf0); }
.renders figcaption { padding: 16px 20px 20px; font-size: 15px; color: var(--light-muted); }
.renders figcaption strong { display: block; color: var(--light-text); font-size: 17px; }
@media (max-width: 860px) { .renders { grid-template-columns: 1fr; } }

.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 6vw, 72px); }
.card { background: #fff; border-radius: var(--radius-tile); padding: clamp(24px, 3vw, 36px); }
.dark-cards .card { background: var(--tile); }
.card .kicker { font-size: 14px; font-weight: 600; color: var(--light-accent); margin-bottom: 10px; }
.dark-cards .card .kicker { color: var(--accent); }
.card h3 { font-size: clamp(24px, 2.4vw, 30px); }
.card p { margin-top: 10px; color: var(--light-muted); }
.dark-cards .card p { color: var(--muted); }
.card ul { margin: 14px 0 0; padding-left: 20px; color: var(--light-muted); font-size: 15px; }
.dark-cards .card ul { color: var(--muted); }
.card li + li { margin-top: 6px; }
.cards2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .cards3, .cards2 { grid-template-columns: 1fr; } }

.specs { margin: clamp(32px, 5vw, 56px) 0 0; display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); border-top: 1px solid #d2d2d7; }
.specs dt, .specs dd { margin: 0; padding: 18px 0; border-bottom: 1px solid #d2d2d7; }
.specs dt { font-weight: 600; padding-right: 24px; }
.specs dd { color: var(--light-muted); }
@media (max-width: 600px) { .specs { grid-template-columns: 1fr; } .specs dt { border-bottom: 0; padding-bottom: 2px; } .specs dd { padding-top: 0; } }

.register-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; margin-top: clamp(32px, 5vw, 56px); }
.price-card { background: #fff; border-radius: var(--radius-tile); padding: clamp(28px, 4vw, 44px); }
.price-card .amount { font-size: clamp(56px, 7vw, 88px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.price-card .then { font-size: 19px; font-weight: 600; margin-top: 10px; }
.price-card ul { margin: 22px 0 0; padding: 0; list-style: none; color: var(--light-muted); }
.price-card li { padding: 10px 0; border-top: 1px solid #e5e5ea; }
@media (max-width: 860px) { .register-grid { grid-template-columns: 1fr; } }

.faq { margin-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-size: clamp(18px, 1.8vw, 21px); font-weight: 600; letter-spacing: -0.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--muted); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 24px; max-width: 46em; }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--nav-h) var(--gutter) 40px; }
.notfound .big404 { font-size: clamp(96px, 22vw, 240px); font-weight: 700; letter-spacing: -0.06em; line-height: 1; background: linear-gradient(100deg, #fff 30%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
.prices-note { margin-top: 24px; }
.notfound .lede { margin-left: auto; margin-right: auto; }
.notfound .btn-row { justify-content: center; }

@media (min-width: 900px) {
  .motion .pf-sticky { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px; align-items: center; max-width: 1400px; margin: 0 auto; padding-top: var(--nav-h); }
  .motion .pf-copy { text-align: left; min-height: 0; height: 16em; }
  .motion .pf-msg { top: 50%; transform: translateY(calc(-50% + 16px)); }
  .motion .pf-msg.on { transform: translateY(-50%); }
  .motion .pf-stage { height: 78vh; height: 78svh; margin: 0; }
}
