/* avoid-ai-design-ignore: SD2 K3 C5 (the brief asks for graphite + subtle electric blue; blur is only on the nav over scrolling content; the blue glow is the conductor signature) */
/* Tyler Grid studio site. Tokens and rules: DESIGN.md. One stylesheet for every page. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("/assets/fonts/archivo-var-latin.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --black: #07080a; --graphite: #0e1013; --graphite-2: #161a1f; --graphite-3: #20252c; --graphite-4: #2a3039;
  --silver: #c9cfd8; --silver-hi: #f1f3f6; --steel: #8e96a2; --line: rgba(201,207,216,.13); --line-2: rgba(201,207,216,.24);
  --arc: #58a6ff; --arc-hi: #a9d2ff; --arc-soft: rgba(88,166,255,.16); --arc-glow: rgba(88,166,255,.45);
  --glass: rgba(222,230,242,.06); --glass-2: rgba(222,230,242,.1); --glass-edge: rgba(222,230,242,.14);
  --s-concept: #8e96a2; --s-prototype: #d7b46a; --s-testing: #8fd0ff; --s-beta: #b9a6ff; --s-available: #7fdca0;
  --ok: #7fdca0; --warn: #e9c46a;
  /* each product's own accent (Austin: Garage and Shop are different products for different people) */
  /* Paddock (Garage and Shop) share the Shop app's own "Glacier" blue; they differ by device and layout, not colour */
  --paddock: #5b94d6; --paddock-deep: #2f6db3; --paddock-ice: #cfe2f4; --paddock-text: #22548c;
  --garage: var(--paddock); --garage-soft: rgba(91,148,214,.16); --garage-glow: rgba(91,148,214,.42);
  --shop: var(--paddock); --shop-soft: rgba(91,148,214,.16); --shop-glow: rgba(91,148,214,.42);
  --morpheus: var(--arc); --accent: var(--arc); --accent-soft: var(--arc-soft);
  --font: "Archivo", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px; --gutter: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(.2,.7,.1,1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--graphite); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--graphite); color: var(--silver); font: 400 17px/1.6 var(--font); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: var(--silver-hi); text-decoration-color: var(--line-2); text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--arc); }
:focus-visible { outline: 2px solid var(--arc); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--arc-soft); color: var(--silver-hi); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--silver-hi); color: var(--black); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.skip, .skip:focus { transition: none !important; } /* appears at once, also under the reduced-motion rule */

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.display { font-stretch: 125%; font-weight: 700; letter-spacing: -.012em; line-height: 1.02; color: var(--silver-hi); margin: 0; }
h1, h2, h3 { color: var(--silver-hi); }
h2.display { font-size: clamp(34px, 5.4vw, 72px); }
h3 { font-stretch: 112%; font-weight: 640; font-size: clamp(21px, 2.2vw, 26px); line-height: 1.2; margin: 0 0 10px; }
.lede { font-size: clamp(19px, 2vw, 23px); line-height: 1.5; color: var(--silver); max-width: 40ch; margin: 22px 0 0; }
.muted { color: var(--steel); }
.small { font-size: 14px; line-height: 1.5; }
p { max-width: 64ch; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 600 16px/1 var(--font); font-stretch: 108%; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.btn--primary { background: var(--silver-hi); color: var(--black); }
.btn--primary:hover { background: #fff; }
.btn--ghost { background: transparent; color: var(--silver-hi); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--silver); }
.btn:active { transform: scale(.98); }
.btn[aria-disabled="true"] { opacity: .55; cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 64px; display: flex; align-items: center;
  background: rgba(14,16,19,.62); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(14,16,19,.8); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.mark { display: inline-flex; align-items: center; gap: 10px; color: var(--silver-hi); text-decoration: none; font-stretch: 125%; font-weight: 760; letter-spacing: .14em; font-size: 15px; }
.mark svg { width: 22px; height: 22px; }
.nav__links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--silver); text-decoration: none; font-size: 15px; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--silver-hi); }
.nav__links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--arc); text-underline-offset: 8px; text-decoration-thickness: 2px; }
.nav__cta { min-height: 38px; padding: 0 18px; font-size: 15px; }
.nav__toggle { display: none; background: none; border: 0; color: var(--silver-hi); width: 44px; height: 44px; margin-right: -10px; cursor: pointer; }
.nav__toggle svg { width: 24px; height: 24px; margin: auto; }
@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__menu { position: fixed; inset: 64px 0 auto 0; background: rgba(10,11,13,.97); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 28px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
  .nav.is-open .nav__menu { opacity: 1; transform: none; visibility: visible; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links a { display: block; padding: 16px 0; font-size: 21px; font-stretch: 112%; border-bottom: 1px solid var(--line); }
  .nav__links li:last-child a { border: 0; }
  .nav__cta { margin-top: 18px; width: 100%; min-height: 48px; }
}
main { display: block; }

/* ---------- status labels (accurate stage of each product; words, not colour alone) */
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--silver); padding: 5px 12px 5px 10px;
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(14,16,19,.5); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--s-concept); }
.status[data-stage="prototype"]::before { background: var(--s-prototype); }
.status[data-stage="testing"]::before { background: var(--s-testing); }
.status[data-stage="beta"]::before { background: var(--s-beta); }
.status[data-stage="available"]::before { background: var(--s-available); }

/* ---------- the conductor (signature): a thin line with a travelling pulse */
.conductor { container-type: inline-size; position: relative; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2) 12%, var(--line-2) 88%, transparent); overflow: visible; }
.conductor__pulse { position: absolute; top: -1px; left: 0; width: 140px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--arc) 60%, var(--arc-hi)); box-shadow: 0 0 18px 2px var(--arc-glow); }
@media (prefers-reduced-motion: no-preference) {
  .conductor--live .conductor__pulse { animation: current 4.8s var(--ease) infinite; }
}
@keyframes current { 0% { transform: translateX(-160px); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateX(100cqw); opacity: 0; } }

/* ---------- sections */
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section--tight { padding: clamp(56px, 8vw, 100px) 0; }
.section--black { background: var(--black); }
.split { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 7fr; gap: 72px; } }

/* principles: an editorial list, ruled, not cards */
.rules { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--line); }
.rules li { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 28px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .rules li { grid-template-columns: 4fr 7fr; gap: 48px; } }
.rules b { color: var(--silver-hi); font-stretch: 112%; font-weight: 640; font-size: 21px; line-height: 1.3; }
.rules p { margin: 0; }

/* product index rows */
.products { margin-top: 56px; border-top: 1px solid var(--line); }
.prow { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 32px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; position: relative; }
@media (min-width: 860px) { .prow { grid-template-columns: 4fr 5fr auto; align-items: center; gap: 40px; padding: 40px 0; } }
.prow__name { font-stretch: 125%; font-weight: 700; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.05; color: var(--silver-hi); letter-spacing: -.01em; }
.prow__tag { margin: 6px 0 0; color: var(--steel); font-size: 16px; }
.prow__desc { margin: 0; }
.prow__go { display: inline-flex; align-items: center; gap: 10px; color: var(--silver-hi); font-weight: 600; white-space: nowrap; }
.prow__go svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.prow:hover .prow__go svg { transform: translateX(4px); }
.prow:hover .prow__name { color: #fff; }

/* legend of status labels */
.legend { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 28px; }

/* ---------- forms */
.form { display: grid; gap: 18px; max-width: 560px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 15px; color: var(--silver); font-weight: 500; }
.field small { color: var(--steel); font-size: 14px; }
.input, .select, .textarea { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--graphite-2);
  color: var(--silver-hi); font: 400 17px/1.4 var(--font); transition: border-color .2s; }
.textarea { min-height: 150px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--arc); outline: none; box-shadow: 0 0 0 3px var(--arc-soft); }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--steel) 50%), linear-gradient(135deg, var(--steel) 50%, transparent 50%);
  background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; color: var(--steel); margin: 0; }
.ts { min-height: 65px; }
/* long-form legal text (Privacy, Terms): a readable measure, clear headings, AA contrast on graphite */
.phead--doc { padding-bottom: clamp(24px, 4vw, 40px); }
.phead--doc h1 { font-size: clamp(40px, 7vw, 88px); }
.doc__date { margin: 18px 0 0; color: var(--steel); font-size: 15px; }
.doc-sec { padding-top: 0; }
.doc { max-width: 68ch; font-size: 17px; line-height: 1.7; color: var(--silver); overflow-wrap: anywhere; }
.doc h2 { font-size: clamp(22px, 2.4vw, 26px); font-stretch: 112%; font-weight: 650; line-height: 1.2; color: var(--silver-hi); margin: 2.2em 0 .6em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.doc > :first-child { margin-top: 0; }
.doc p { margin: 0 0 1em; }
.doc ul { margin: 0 0 1em; padding-left: 1.2em; }
.doc li { margin: 0 0 .6em; padding-left: .2em; }
.doc li::marker { color: var(--arc); }
.doc strong { color: var(--silver-hi); font-weight: 600; }
.doc a { color: var(--arc-hi); }
.interest { margin-top: 36px; padding: 28px; border: 1px solid var(--glass-edge); border-radius: 18px; background: var(--glass); max-width: 640px; }
.interest .form { max-width: none; }

/* ---------- footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 40px; background: var(--black); }
.foot .conductor { margin-bottom: 48px; }
.foot__grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .foot__grid { grid-template-columns: 2fr 1fr 1fr; } }
.foot h2 { font-size: 15px; font-weight: 600; color: var(--silver-hi); margin: 0 0 12px; font-stretch: 100%; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--steel); text-decoration: none; font-size: 15px; }
.foot a:hover { color: var(--silver-hi); }
.foot__base { margin-top: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--steel); font-size: 14px; }

/* ---------- page heads (inner pages) */
.phead { padding: clamp(120px, 16vw, 200px) 0 clamp(48px, 7vw, 88px); position: relative; overflow: hidden; }
.phead .status { margin-bottom: 26px; }
.phead h1 { font-size: clamp(44px, 8vw, 112px); }
.phead__glow { position: absolute; inset: auto -20% -40% -20%; height: 70%; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 100%, rgba(88,166,255,.11), transparent 70%); }

/* =====================================================================================================
   Product UI mock-ups (fictional data). Built in HTML/CSS; shared by the homepage scenes and product pages.
   ===================================================================================================== */
.device { position: relative; background: #0b0d10; border: 1px solid rgba(222,230,242,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 40px 80px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(0,0,0,.6); }
/* iPhone 15 Pro, to scale: screen 393 × 852 pt (here 300 × 650 px), 55 pt screen corners (14% / 6.46%), an even
   7 px black bezel, a titanium band just outside it (so the frame is slightly rounder than the screen), Dynamic Island
   126 × 37 pt 11 pt from the top, status bar in the 59 pt safe area, action + volume buttons left, power right.
   Fixed size on purpose: it is only ever scaled with a transform, so the ratio can't drift. */
.phone { width: 314px; height: 664px; aspect-ratio: 314 / 664; padding: 7px; border-radius: 15.6% / 7.38%; background: #040405; border: 0;
  box-shadow: 0 0 0 1.6px #7b8086, 0 0 0 3.2px #3a3d42, inset 0 0 0 1px #1c1e22, 0 40px 80px -30px rgba(0,0,0,.85); }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 14% / 6.46%; overflow: hidden; background: linear-gradient(180deg, #151a20, #0d1014 60%); }
.phone__island { position: absolute; top: 1.29%; left: 33.97%; width: 32.06%; height: 4.34%; background: #000; border-radius: 999px; z-index: 6; }
.phone__status { position: absolute; left: 0; right: 0; top: 0; height: 6.92%; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 0 7.5% 0 10.5%; color: #f2f4f7; font-size: 12.5px; font-weight: 600; letter-spacing: -.01em; pointer-events: none; }
.phone__status b { color: inherit !important; font-weight: 600; }
.phone__icons { display: flex; align-items: center; gap: 4px; }
.phone__icons svg { height: 9px; width: auto; fill: currentColor; }
.phone__icons svg:last-child { height: 10px; }
.phone__keys .k { position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #4a4e54, #8b9096); }
.phone__keys .k--action { left: -4.6px; top: 18.8%; height: 4.4%; }
.phone__keys .k--volup { left: -4.6px; top: 26.6%; height: 8.6%; }
.phone__keys .k--voldn { left: -4.6px; top: 37.2%; height: 8.6%; }
.phone__keys .k--power { right: -4.6px; top: 29.5%; height: 13.6%; background: linear-gradient(270deg, #4a4e54, #8b9096); }
/* iPad Air 11", to scale: screen 2360 × 1640 (1.439 : 1, here 740 × 514 px), even bezel, aluminium band, front camera on the long edge */
.tablet { width: 776px; height: 550px; aspect-ratio: 776 / 550; border-radius: 34px; padding: 18px; background: #050506; border: 0;
  box-shadow: 0 0 0 1.6px #80858b, 0 0 0 3px #3a3d42, 0 40px 80px -30px rgba(0,0,0,.85); }
.tablet__cam { position: absolute; top: 7px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #1d2330; box-shadow: inset 0 0 0 1px #2f3644; }
.tablet__screen { position: relative; width: 100%; height: 100%; border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, #14181d, #0e1115); }

/* the stage that holds devices; scales whole scenes to fit any screen without re-layout */
.fit { position: relative; transform-origin: 50% 50%; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ---------- product worlds */
[data-product="garage"] { --accent: var(--garage); --accent-soft: var(--garage-soft); }
[data-product="shop"] { --accent: var(--shop); --accent-soft: var(--shop-soft); }
[data-product="morpheus"] { --accent: var(--arc); --accent-soft: var(--arc-soft); }
.pmark { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--graphite-2); color: var(--accent); }
.pmark svg { width: 24px; height: 24px; }
.who { display: flex; gap: 12px; align-items: baseline; margin: 26px 0 0; font-size: 17px; color: var(--silver); max-width: 60ch; }
.who b { color: var(--accent); font-weight: 600; white-space: nowrap; }
.phead__glow { background: radial-gradient(60% 60% at 50% 100%, var(--accent-soft), transparent 70%); }

/* =====================================================================================================
   Homepage
   ===================================================================================================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 112px 0 72px; }
.hero__inner { position: relative; z-index: 2; }
.hero__light { position: absolute; inset: 0; pointer-events: none; }
.hero__glow { position: absolute; left: 50%; top: 58%; width: 140vmax; height: 70vmax; margin-left: -70vmax; margin-top: -35vmax;
  background: radial-gradient(closest-side, rgba(88,166,255,.13), rgba(88,166,255,.04) 45%, transparent 70%); }
.hero__beam { position: absolute; left: -30%; top: 0; width: 60%; height: 100%; background: linear-gradient(100deg, transparent 30%, rgba(225,235,248,.06) 50%, transparent 70%); }
.hw { margin: 0; line-height: .9; }
.hw__word { display: block; font-stretch: 125%; font-weight: 800; color: var(--silver-hi); font-size: clamp(38px, 10.1vw, 148px); letter-spacing: .015em; white-space: nowrap; }
.hw__ch { display: inline-block; will-change: transform; }
.hw__gap { display: inline-block; width: .32em; }
.hero__line { margin: clamp(22px, 3vw, 36px) 0 clamp(26px, 3.4vw, 40px); max-width: 100%; }
.hero__sub { font-size: clamp(26px, 4.2vw, 56px); font-weight: 640; max-width: 18ch; }
.hero__lede { max-width: 46ch; }

/* showcase A (pinned stage) — the motion version only appears when JS + motion are on */
.show__motion { display: none; }
.motion .show__motion { display: block; }
.motion .show__static { display: none; }
.show__pin { overflow: hidden; position: relative; height: 100svh; display: grid; grid-template-columns: minmax(300px, 4fr) 8fr; gap: 24px; align-items: center;
  padding: 64px var(--gutter) 0; max-width: 1440px; margin: 0 auto; }
.show__copy { position: relative; height: min(600px, 74svh); }
.chap { max-width: 440px; }
/* the strip's clip reaches 10px past the text column and its chapters are padded inside it, so badges, descenders and
   focus rings are never cut at rest (scripts/qa-copyfit.cjs checks every text box against the clip) */
.show__copy { margin: 0 -10px; }
.show__copy .chap { position: absolute; inset: 0; padding: 18px 10px; display: flex; flex-direction: column; justify-content: center; }
.show__copy .chap > * { align-self: flex-start; max-width: 100%; }
.chap__top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.chap__name { margin: 0 0 8px; color: var(--accent); font-weight: 600; font-size: 16px; font-stretch: 112%; }
.chap__title { font-size: clamp(30px, 3.6vw, 50px); }
.chap__who { margin: 18px 0 0; font-size: 15px; color: var(--steel); }
.chap__who b { color: var(--silver); font-weight: 600; }
.chap__body { margin: 14px 0 0; }
.chap__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; text-decoration: none; color: var(--silver-hi); }
.chap__link svg { width: 18px; height: 18px; color: var(--accent); }
.pmark--handoff { color: var(--arc); }
.show__stage { position: relative; height: calc(100svh - 104px); min-height: 0; }
.fit { position: absolute; left: 50%; top: 50%; transform-origin: 50% 50%; }
.canvas { position: relative; width: 1000px; height: 700px; }
.canvas > * { position: absolute; left: 0; top: 0; }
.show__progress { position: absolute; left: 0; right: 0; top: 64px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.show__progress i { display: block; height: 100%; background: var(--arc); transform-origin: left; transform: scaleX(0); }
.wire { width: 300px; height: 2px; background: rgba(201,207,216,.18); border-radius: 2px; overflow: visible; }
.wire i { display: block; height: 100%; background: var(--arc); border-radius: 2px; transform-origin: left; box-shadow: 0 0 14px var(--arc-glow); }
.wire__spark { width: 14px; height: 14px; border-radius: 50%; background: var(--arc-hi); box-shadow: 0 0 24px 6px var(--arc-glow); opacity: 0; }
@media (max-width: 860px) {
  .show__pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding-top: 76px; gap: 6px; align-items: stretch; }
  .show__copy { height: 200px; }
  .show__copy .chap { justify-content: flex-start; }
  .show__copy .chap__title { font-size: 26px; }
  .show__copy .chap__who, .show__copy .chap__link { display: none; }
  .show__copy .chap__body { font-size: 15px; line-height: 1.5; margin-top: 8px; }
  .show__copy .chap__top { display: none; }
  .show__copy .chap__name { font-size: 14px; margin-bottom: 4px; }
  .show__stage { height: calc(100svh - 76px - 206px); }
  .show__copy { overflow: hidden; }
  .canvas { width: 520px; height: 760px; }
}
@media (max-width: 860px) and (max-height: 700px) { .show__copy .chap__body { display: none; } .show__copy { height: 120px; } .show__stage { height: calc(100svh - 76px - 126px); } }

/* static showcase (no JS / reduced motion): each product in its own block */
.show__static { display: grid; gap: clamp(72px, 10vw, 120px); padding: 40px 0; }
.sx { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .sx { grid-template-columns: 5fr 7fr; gap: 64px; } }
.sx__dev { display: flex; justify-content: center; overflow: hidden; }
.sx__dev .device { flex: 0 0 auto; }
.sx__dev--cards { gap: 16px; flex-wrap: wrap; }
@media (max-width: 999px) { .sx__dev .tablet { zoom: .5; } }
@media (max-width: 999px) and (min-width: 600px) { .sx__dev .tablet { zoom: .8; } }
.sample-note { color: var(--steel); font-size: 14px; margin: 32px 0 0; }

/* product rows / legend extras */
.prow__who { color: var(--silver-hi); }
.prow .prow__go .status { margin-right: 6px; }
.prow:hover { background: linear-gradient(90deg, transparent, var(--accent-soft) 50%, transparent); }
.legend__note { margin-top: 14px; max-width: 72ch; }
.studio .rules { margin-top: 40px; }
.cta .display { max-width: 20ch; }
.phead__tag { font-size: clamp(24px, 3.4vw, 42px); font-weight: 600; margin-top: 18px; max-width: 22ch; color: var(--silver); }
.works .pmark { margin-bottom: 20px; }
.works__h { font-size: clamp(30px, 4vw, 52px); }
.flow__steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
@media (min-width: 1000px) { .flow__steps { flex-direction: column; } }
.flow__steps button { flex: 0 0 auto; width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; min-height: 52px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--silver); font: 500 15px var(--font); cursor: pointer; white-space: nowrap; }
.flow__steps button span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--graphite-3); font-size: 13px; font-weight: 600; color: var(--silver-hi); font-variant-numeric: tabular-nums; }
.flow__steps button[aria-selected="true"] { border-color: var(--shop); background: var(--shop-soft); color: var(--silver-hi); }
.flow__steps button[aria-selected="true"] span { background: var(--paddock-deep); color: #fff; }
.flow__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.flow__table td, .flow__table th { padding: 9px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.flow__table th { color: var(--steel); font-weight: 500; font-size: 13px; }
.flow__table td:last-child, .flow__table th:last-child { text-align: right; font-variant-numeric: tabular-nums; }

/* Morpheus runner */
.h3 { font-stretch: 112%; font-weight: 640; font-size: 22px; margin: 36px 0 10px; }

/* ---------- the Shop tablet looks like the Shop app: light board, dark rail, glacier blue */
.tablet[data-product="shop"] { background: #050506; }
.tablet[data-product="shop"] .tablet__screen { background: #e9e6e0; color: #434850; }
.flow__steps button[aria-selected="true"] { border-color: var(--paddock); background: rgba(91,148,214,.14); }

/* ---------- fit boxes and device compositions (first-screen visuals) */
[data-fitbox] { position: relative; width: 100%; overflow: visible; }
[data-fitbox] > .fitbox__inner { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.cluster { position: relative; width: 1070px; height: 480px; }
.cluster > * { position: absolute; transform-origin: 0 0; }
.cluster__c { left: 852px; top: 30px; transform: scale(.64); }
.cluster__g { left: 8px; top: 30px; transform: scale(.64); }
.cluster__s { left: 230px; top: 30px; transform: scale(.78); }
.pair { position: relative; width: 674px; height: 664px; }
.pair > * { position: absolute; top: 0; }
.pair > :first-child { left: 0; } .pair > :last-child { left: 360px; }
.solo-tablet { width: 776px; height: 550px; }

/* hero A: the wordmark across the top; headline + text left, the products right (phones: headline, products, text) */
.hero--a .hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "sub" "vis" "body"; gap: 20px; width: 100%; }
.hero--a .hero__head { grid-area: head; } .hero--a .hero__sub { grid-area: sub; } .hero--a .hero__vis { grid-area: vis; } .hero--a .hero__body { grid-area: body; }
@media (min-width: 1000px) {
  .hero--a .hero__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "head head" "sub vis" "body vis"; column-gap: 48px; row-gap: 18px; align-items: start; }
  .hero--a .hero__vis { align-self: center; }
  .hero--a .hero__sub { font-size: clamp(28px, 3.1vw, 46px); }
}
.hero--a .hero__lede { margin-top: 0; }
@media (max-width: 999px) { .hero { padding-top: 96px; min-height: 0; } .hero--a .hero__line { margin: 18px 0 4px; } .hero__sub { font-size: clamp(24px, 6.4vw, 40px); } }

/* product page heads: visual on the first screen */
.phead__grid { display: grid; grid-template-columns: 1fr; grid-template-areas: "top" "vis" "bot"; gap: 28px; }
.phead__top { grid-area: top; } .phead__vis { grid-area: vis; } .phead__bot { grid-area: bot; }
.phead__bot .who { margin-top: 0; }
@media (min-width: 1000px) { .phead__grid { grid-template-columns: 5fr 6fr; grid-template-areas: "top vis" "bot vis"; column-gap: 56px; row-gap: 20px; align-items: end; } .phead__bot { align-self: start; } .phead h1 { font-size: clamp(44px, 6vw, 92px); } }
@media (max-width: 999px) { .phead { padding-top: 104px; } .phead h1 { font-size: clamp(40px, 11vw, 64px); } .phead__tag { font-size: clamp(22px, 6vw, 32px); } }

/* =====================================================================================================
   Paddock Garage screens in the real app's default "Workshop" look (Austin 2026-10-21): the Shop's warm light base
   (#e9e6e0 / #eeece7), ink #211c12, Glacier blue #2f6db3. The track-day timing board stays dark, as in the app.
   ===================================================================================================== */
.phone[data-product="garage"] .phone__screen { background: linear-gradient(180deg, #eeece7, #e9e6e0 70%); color: #4a4436; }
.phone[data-product="garage"] .phone__status { color: #211c12; }
.motion .show__copy { overflow: hidden; }
.motion .show__stage { overflow: hidden; }

/* =====================================================================================================
   Morpheus (HUD standard edition) on an iPhone: dark, studio blue. Screens stack and push sideways.
   ===================================================================================================== */
.phone[data-product="morpheus"] .phone__screen { background: linear-gradient(180deg, #121722, #0b0e14 60%); }
/* short desktop screens: the chapter copy must fit its clipped column at rest (no cut-off lines) */
@media (min-width: 861px) and (max-height: 820px) { .show__copy .chap__title { font-size: clamp(28px, 3vw, 40px); } .show__copy .chap__who { display: none; } .show__copy .chap__top { margin-bottom: 14px; } }

/* ---------- real screenshots in the device frames (2026-10-21: every app visual is the real app) */
.dev__shots { position: absolute; left: 0; right: 0; top: 6.92%; bottom: 0; overflow: hidden; }
.tablet .dev__shots { top: 0; }
.dev__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; visibility: hidden; display: block; }
.dev__shot.is-on { visibility: visible; }
.phone[data-product="garage"] .phone__screen { background: #ecebe6; }
.phone[data-product="morpheus"] .phone__screen { background: #000; }
.phone[data-product="morpheus"] .phone__status { color: #f2f4f7; }
.tablet[data-product="shop"] .tablet__screen { background: #e9e6e0; }
.xcard { width: 250px; height: 132px; border-radius: 16px; overflow: hidden; background: #ecebe6; box-shadow: 0 18px 40px -18px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.14); }
.xcard img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gal__body { display: grid; gap: 28px; align-items: center; margin-top: 24px; }
.gal__dev { display: flex; justify-content: center; }
@media (min-width: 900px) { .gal__body { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.xcard img { object-position: 50% 9%; }
.xcard--rec img { object-position: 50% 18%; }

/* ---------- device screens clip their screenshots everywhere, including iOS Safari with transformed children */
.phone__screen, .tablet__screen { overflow: hidden; isolation: isolate; }
.phone__screen { clip-path: inset(0 round 14% / 6.46%); }
.tablet__screen { clip-path: inset(0 round 16px); }
.dev__shots { overflow: hidden; }
.hero__vis[data-fitbox], .gal__dev[data-fitbox], .phead__vis [data-fitbox] { overflow: hidden; }

/* ---------- phones and touch devices: plain stacked layout, no transforms on the screenshots */
@media (max-width: 900px), (hover: none) {
    .hero--a .hero__inner { display: flex !important; flex-direction: column; }
  .hero--a .hero__vis { order: 3; margin: 28px 0 8px; }
  .hero--a .hero__body { order: 4; }
}
/* small phones: the iPad fits inside the column with its whole frame visible (776 px wide at zoom 1) */
@media (max-width: 520px) { .sx__dev .tablet { zoom: .42; } .sx__dev .phone { zoom: .9; } }
@media (max-width: 380px) { .sx__dev .tablet { zoom: .4; } .sx__dev .phone { zoom: .85; } }

/* the pinned showcase: only the first chapter is visible until the script switches (iOS Safari showed all four stacked) */
.motion .show__copy .chap + .chap { visibility: hidden; opacity: 0; }
.motion .phone__screen, .motion .tablet__screen { -webkit-mask-image: -webkit-radial-gradient(white, black); }

/* phone version of the pinned showcase: a one-line summary instead of the full paragraph, so nothing is cut off */
.chap__short { display: none; }
@media (max-width: 860px) {
  .show__copy .chap__body { display: none; }
  .show__copy .chap__short { display: block; font-size: 15px; line-height: 1.45; color: var(--dim, #c9cfd8); margin: 8px 0 0; }
  .show__copy { height: 150px; }
  .show__stage { height: calc(100svh - 76px - 156px); }
}
@media (max-width: 860px) and (max-height: 700px) { .show__copy { height: 120px; } .show__stage { height: calc(100svh - 76px - 126px); } }
.show__static .chap__short { display: none; }
@media (max-width: 860px) and (max-height: 700px) {
  .show__copy { height: 138px; } .show__stage { height: calc(100svh - 76px - 144px); }
  .show__copy .chap__title { font-size: 22px; } .show__copy .chap__short { font-size: 13.5px; margin-top: 6px; } .show__copy .chap { padding-top: 8px; padding-bottom: 8px; }
}

/* Garage ⇄ Shop handoff demo (both product pages): the two devices side by side, the acting one lit, the other dimmed;
   a conductor line between them carries the request toward whoever acts next. Phones (under 700px) show the acting device only. */
.handoff-wrap { margin-top: clamp(40px, 6vw, 72px); }
.gal--wide .gal__body { grid-template-columns: minmax(0, 1fr); }
.gal--wide .flow__steps { flex-direction: row; }
.gal--wide .flow__steps li { flex: 1 1 0; min-width: max-content; }
@media (min-width: 700px) { .gal--wide .flow__steps { flex-wrap: wrap; overflow: visible; } }
.gal--wide .gal__text { max-width: 62ch; }
.gal--wide .gal__dev { display: block; }
.handoff { display: grid; grid-template-columns: minmax(0, 0.42fr) 56px minmax(0, 1fr); align-items: center; gap: 0 8px; }
.handoff__dev { margin: 0; transition: opacity .35s ease, filter .35s ease; }
.handoff__dev figcaption { margin-top: 14px; text-align: center; font-size: 14px; color: var(--steel); }
.handoff__dev [data-fitbox] { position: relative; }
.handoff__dev [data-fitbox] > .fitbox__inner { left: 50%; transform-origin: 50% 0; translate: -50% 0; }
.handoff[data-side="garage"] .handoff__dev[data-side="shop"], .handoff[data-side="shop"] .handoff__dev[data-side="garage"] { opacity: .38; filter: saturate(.6); }
.handoff[data-side="garage"] .handoff__dev[data-side="garage"] figcaption, .handoff[data-side="shop"] .handoff__dev[data-side="shop"] figcaption { color: var(--silver-hi); }
.handoff__wire { position: relative; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; align-self: center; margin-bottom: 34px; }
.handoff__wire i { position: absolute; top: 0; left: 0; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, var(--arc), transparent); opacity: 0; }
.handoff.is-moving[data-dir="r"] .handoff__wire i { animation: wire-r .7s ease-out; }
.handoff.is-moving[data-dir="l"] .handoff__wire i { animation: wire-l .7s ease-out; }
@keyframes wire-r { from { transform: translateX(-100%); opacity: 1; } to { transform: translateX(250%); opacity: 0; } }
@keyframes wire-l { from { transform: translateX(250%); opacity: 1; } to { transform: translateX(-100%); opacity: 0; } }
@media (max-width: 699px) {
  .handoff { display: block; }
  .handoff__wire { display: none; }
  .handoff[data-side="garage"] .handoff__dev[data-side="shop"], .handoff[data-side="shop"] .handoff__dev[data-side="garage"] { display: none; }
}
@media (prefers-reduced-motion: reduce) { .handoff__dev { transition: none; } }
/* a section that continues the page header (Contact): no second band of empty space between the intro and the form */
.section--follow { padding-top: 0; }
/* the Turnstile spam check is Cloudflare's own widget: show our focus ring around it when keyboard focus is inside */
.cf-turnstile:focus-within, .cf-turnstile.is-focused { outline: 2px solid var(--arc); outline-offset: 3px; border-radius: 6px; }
