/* Yut website. From the Claude Design handoff "Yut Website" (site/design/handoff):
   Ember tokens for dark, the Style tile's light row for light. Light is what a
   visitor gets unless their system asks for dark; the header's toggle overrides
   either and is remembered (localStorage "yut-theme", set by the inline script
   in each page's head). No inline styles anywhere: the CSP allows none. */

@font-face { font-family: 'Instrument Sans'; src: url('/fonts/InstrumentSans-Regular.da345085.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('/fonts/InstrumentSans-Medium.5b0474dc.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('/fonts/InstrumentSans-SemiBold.5f19b647.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('/fonts/InstrumentSans-Bold.1dea9b91.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/fonts/InstrumentSerif-Regular.9df1bb00.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/fonts/InstrumentSerif-Italic.34b65c4d.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/fonts/JetBrainsMono-Regular.dd3d1015.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/fonts/JetBrainsMono-Medium.831454a3.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */

:root {
  color-scheme: light dark;
  /* Dark: Ember, the app's default theme */
  --ink: #0A0D12;
  --band: #0C0F14;
  --panel: #0E1117;
  --text: #F3F0EA;
  --sub: #A3ACB7;
  --muted: #838C98;
  --footnote: #838C98;
  --orange: #FF7A3D;
  --cyan: #5CC8FF;
  --teal: #21C5AD;
  --amber: #FFC53D;
  --on-orange: #1A0B04;
  --accent-text: #FF7A3D;
  --cyan-text: #5CC8FF;
  --teal-text: #21C5AD;
  --amber-text: #FFC53D;
  --route: #FF7A3D;
  --route-casing: #1A0B04;
  --check: #21C5AD;
  --link: #FFB054;
  --link-hover: #FFD08A;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.08);
  --line-3: rgba(255, 255, 255, 0.12);
  --line-4: rgba(255, 255, 255, 0.16);
  --fill: rgba(255, 255, 255, 0.045);
  --fill-2: rgba(255, 255, 255, 0.06);
  --glass: rgba(17, 21, 28, 0.86);
  --glass-line: rgba(255, 255, 255, 0.09);
  --contour: #1E2530;
  --contour-2: #1A2029;
  --dot-ring: #F3F0EA;
  --glow: rgba(255, 122, 61, 0.28);
  --shadow-float: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-big: 0 40px 90px rgba(0, 0, 0, 0.45);
  --shadow-phone: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06);
  --store-bg: #F3F0EA;
  --store-text: #111418;
}

/* Light is the default (Mark, 2026-10-12); dark only when chosen with the toggle. */
:root:not([data-theme="dark"]) {
  --ink: #FBF7F1;
  --band: #F4EEE5;
  --panel: #FFFFFF;
  --text: #1B1712;
  --sub: #4F5560;
  --muted: #5B616B;
  --footnote: #5B616B;
  --accent-text: #AD410F;
  --cyan-text: #0A5F8E;
  --teal-text: #0B6F60;
  --amber-text: #8A5B00;
  --route: #E2611F;
  --route-casing: #FFFFFF;
  --check: #0E8F7B;
  --link: #B04512;
  --link-hover: #7E2F0A;
  --line: rgba(40, 28, 14, 0.07);
  --line-2: rgba(40, 28, 14, 0.08);
  --line-3: rgba(40, 28, 14, 0.12);
  --line-4: rgba(40, 28, 14, 0.16);
  --fill: rgba(40, 28, 14, 0.045);
  --fill-2: rgba(40, 28, 14, 0.06);
  --glass: rgba(255, 255, 254, 0.92);
  --glass-line: rgba(40, 28, 14, 0.09);
  --contour: #E8E0D3;
  --contour-2: #ECE5DA;
  --dot-ring: #FFFFFF;
  --glow: rgba(255, 122, 61, 0.20);
  --shadow-float: 0 10px 30px rgba(70, 45, 20, 0.12);
  --shadow-big: 0 40px 90px rgba(70, 45, 20, 0.16);
  --shadow-phone: 0 40px 90px rgba(70, 45, 20, 0.2), 0 0 0 1px rgba(40, 28, 14, 0.06);
  --store-bg: #1B1712;
  --store-text: #FBF7F1;
  }

:root[data-theme="light"] {
  --ink: #FBF7F1;
  --band: #F4EEE5;
  --panel: #FFFFFF;
  --text: #1B1712;
  --sub: #4F5560;
  --muted: #5B616B;
  --footnote: #5B616B;
  --accent-text: #AD410F;
  --cyan-text: #0A5F8E;
  --teal-text: #0B6F60;
  --amber-text: #8A5B00;
  --route: #E2611F;
  --route-casing: #FFFFFF;
  --check: #0E8F7B;
  --link: #B04512;
  --link-hover: #7E2F0A;
  --line: rgba(40, 28, 14, 0.07);
  --line-2: rgba(40, 28, 14, 0.08);
  --line-3: rgba(40, 28, 14, 0.12);
  --line-4: rgba(40, 28, 14, 0.16);
  --fill: rgba(40, 28, 14, 0.045);
  --fill-2: rgba(40, 28, 14, 0.06);
  --glass: rgba(255, 255, 254, 0.92);
  --glass-line: rgba(40, 28, 14, 0.09);
  --contour: #E8E0D3;
  --contour-2: #ECE5DA;
  --dot-ring: #FFFFFF;
  --glow: rgba(255, 122, 61, 0.20);
  --shadow-float: 0 10px 30px rgba(70, 45, 20, 0.12);
  --shadow-big: 0 40px 90px rgba(70, 45, 20, 0.16);
  --shadow-phone: 0 40px 90px rgba(70, 45, 20, 0.2), 0 0 0 1px rgba(40, 28, 14, 0.06);
  --store-bg: #1B1712;
  --store-text: #FBF7F1;
}

:root:not([data-theme="dark"]) { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

/* The toggle shows the moon in light mode and the sun in dark mode. */
.icon-sun { display: none; }
:root[data-theme="dark"] .icon-sun { display: block; }
:root[data-theme="dark"] .icon-moon { display: none; }

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--text);
  font-family: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
a { color: var(--link); }
a:hover { color: var(--link-hover); }
img, svg { display: block; }
h1, h2, h3, p, ul, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
section[id] { scroll-margin-top: 16px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 10; padding: 12px 16px; border-radius: 12px; background: var(--orange); color: var(--on-orange); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: center; }
.split.end { align-items: end; }
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack.tight { gap: 20px; }
.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; margin-top: 8px; }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.g6 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.serif { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.em { font-style: italic; color: var(--accent-text); }
.em-teal { font-style: italic; color: var(--teal-text); }
.unit { font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 13px; color: var(--sub); }

.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--accent-text); }
.eyebrow.cyan { color: var(--cyan-text); }
.eyebrow.teal { color: var(--teal-text); }
.eyebrow.amber { color: var(--amber-text); }
.eyebrow.muted { color: var(--muted); }

.display { font-size: clamp(44px, 5vw, 72px); line-height: 1; letter-spacing: -1px; }
.lede { font-size: 18px; line-height: 1.6; color: var(--sub); }

/* ---------- Buttons ---------- */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; border-radius: 30px; font-weight: 600; text-decoration: none; }
.btn-primary { height: 60px; padding: 0 28px; background: var(--orange); color: var(--on-orange); font-weight: 700; font-size: 17px; box-shadow: 0 14px 34px rgba(255, 122, 61, 0.35); }
.btn-primary:hover { color: var(--on-orange); background: #FF8B55; }
.btn-secondary { height: 60px; padding: 0 24px; border: 1px solid var(--line-4); color: var(--text); font-size: 17px; }
.btn-secondary:hover { color: var(--text); border-color: var(--sub); }
.btn-square { border-radius: 14px; }
.store { display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 26px; border-radius: 14px; background: var(--store-bg); color: var(--store-text); font-weight: 700; font-size: 17px; text-decoration: none; }
.store:hover { color: var(--store-text); }

/* ---------- Header ---------- */

.site-header { position: relative; z-index: 3; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 4px 0; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 0 0 1px var(--line-3); }
.brand span { font-size: 30px; letter-spacing: -0.5px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.navlink { color: var(--sub); text-decoration: none; font-size: 15px; font-weight: 500; padding: 12px 4px; }
.navlink:hover { color: var(--text); }
.icon-btn { width: 44px; height: 44px; flex: none; border-radius: 22px; border: 1px solid var(--line-3); background: transparent; color: var(--sub); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-btn:hover { color: var(--text); }
.cta-nav { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 22px; background: var(--orange); color: var(--on-orange); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.cta-nav:hover { color: var(--on-orange); background: #FF8B55; }

/* The menu: the section links on narrow screens, with no script. */
.menu { position: relative; display: none; }
.menu summary { list-style: none; cursor: pointer; background: var(--fill); color: var(--text); }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: 52px; min-width: 220px; padding: 8px; border-radius: 18px; background: var(--panel); border: 1px solid var(--glass-line); box-shadow: var(--shadow-float); display: flex; flex-direction: column; }
.menu-panel a { padding: 12px 14px; border-radius: 12px; }
.menu-panel a:hover { background: var(--fill); }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.site-footer .wrap.row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.maker { display: flex; align-items: center; gap: 12px; color: var(--sub); font-size: 14px; }
.maker img { width: 28px; height: 28px; border-radius: 7px; }
.maker strong { color: var(--text); font-weight: 600; }
.footer-nav { display: flex; gap: 24px; font-size: 14px; }
.fine { margin-top: 20px; color: var(--footnote); font-size: 12.5px; }

/* ---------- Home: hero ---------- */

.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.bg-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.contours { fill: none; stroke: var(--contour); stroke-width: 1.5; }
.contours-2 { fill: none; stroke: var(--contour-2); stroke-width: 1.4; }
.switchback { fill: none; stroke: var(--route); stroke-opacity: 0.16; stroke-width: 22; stroke-linecap: round; stroke-linejoin: round; }
.vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 40%, transparent 30%, var(--ink) 85%); }
.hero .split { position: relative; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; min-height: 32px; padding: 4px 14px 4px 10px; border-radius: 16px; background: rgba(92, 200, 255, 0.10); border: 1px solid rgba(92, 200, 255, 0.22); color: var(--cyan-text); font-size: 13px; font-weight: 600; letter-spacing: 0.2px; }
.pill-dot { width: 8px; height: 8px; flex: none; border-radius: 4px; background: var(--cyan); box-shadow: 0 0 0 4px rgba(92, 200, 255, 0.2); }
.hero h1 { font-size: clamp(60px, 7.2vw, 112px); line-height: 0.95; letter-spacing: -2px; }
.hero-sub { max-width: 520px; font-size: 20px; line-height: 1.5; color: var(--sub); }
.hero-sub strong { color: var(--text); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.check { fill: none; stroke: var(--check); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.hero-art { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.hero-glow { position: absolute; width: 420px; height: 420px; border-radius: 210px; top: 120px; background: radial-gradient(circle, var(--glow), transparent 65%); }
.phone { position: relative; width: 300px; height: 645px; flex: none; border-radius: 48px; border: 9px solid #1C222C; overflow: hidden; background: var(--ink); box-shadow: var(--shadow-phone); }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.tilt-l { transform: rotate(-3deg); }
.float { position: absolute; padding: 12px 16px; border-radius: 18px; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow-float); display: flex; align-items: center; gap: 10px; font-size: 13px; }
.float-rec { left: 0; top: 150px; }
.float-hmt { right: 0; top: 330px; flex-direction: column; align-items: flex-start; gap: 4px; max-width: 200px; }
.float-hmt .eyebrow { font-size: 11px; letter-spacing: 1.6px; }
.float-hmt span:last-child { font-weight: 600; font-size: 14px; line-height: 1.3; }
.float-lock { left: 20px; bottom: 90px; border-color: rgba(92, 200, 255, 0.25); color: var(--cyan-text); font-weight: 600; }
.rec-dot { width: 10px; height: 10px; flex: none; border-radius: 5px; background: #FF4D4F; box-shadow: 0 0 0 5px rgba(255, 77, 79, 0.22); }
.rec-label { font-weight: 700; letter-spacing: 1.4px; }
.float-rec .mono { color: var(--sub); }

/* ---------- Home: figures ---------- */

.figures { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--band); }
.figures .g4 { padding-top: 36px; padding-bottom: 36px; }
.figure { display: flex; flex-direction: column; gap: 6px; }
.figure-n { font-size: 56px; line-height: 1; }
.figure-t { color: var(--sub); font-size: 15px; }

/* ---------- Home: sections ---------- */

.section { padding: 128px 0; }
.section.band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section > .wrap.stack-lg { display: flex; flex-direction: column; gap: 56px; }
.section > .wrap.stack-md { display: flex; flex-direction: column; gap: 48px; }

.feature { display: flex; flex-direction: column; gap: 8px; }
.feature h3 { font-weight: 600; font-size: 16px; }
.feature p { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.glyph { fill: none; stroke: var(--route); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.card { padding: 22px; border-radius: 20px; background: var(--fill); border: 1px solid var(--fill-2); display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-weight: 600; font-size: 16px; }
.card p { color: var(--muted); font-size: 14px; line-height: 1.45; }
.card .src { margin-top: auto; font-size: 11.5px; }
.tile { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.tile svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.k-cyan .tile { background: rgba(92, 200, 255, 0.10); color: var(--cyan-text); }
.k-cyan .src { color: var(--cyan-text); }
.k-amber .tile { background: rgba(255, 197, 61, 0.12); color: var(--amber-text); }
.k-amber .src { color: var(--amber-text); }
.k-orange .tile { background: rgba(255, 122, 61, 0.12); color: var(--accent-text); }
.k-orange .src { color: var(--accent-text); }

/* The Hatfield–McCoy callout */
.hmt { padding: 36px; border-radius: 28px; background: var(--panel); border: 2px solid rgba(255, 122, 61, 0.45); box-shadow: var(--shadow-big); gap: 40px; }
.hmt h3 { font-size: 44px; line-height: 1.05; letter-spacing: -0.5px; }
.hmt p { color: var(--sub); font-size: 16px; line-height: 1.6; }
.hmt .permit { color: var(--text); font-size: 14px; font-weight: 600; padding: 12px 14px; border-radius: 14px; background: var(--fill); border: 1px solid var(--line-3); }
.hmt-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0; list-style: none; }
.hmt-list li { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 16px; background: var(--fill); border: 1px solid var(--fill-2); font-weight: 600; font-size: 15px; }

.vehicle { padding: 36px; border-radius: 28px; background: var(--panel); border: 1px solid var(--line-2); gap: 40px; }
.vehicle h3 { font-size: 40px; line-height: 1.05; letter-spacing: -0.5px; }
.vehicle p { color: var(--sub); font-size: 16px; line-height: 1.6; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 15px; background: var(--fill-2); color: var(--sub); font-size: 13px; font-weight: 600; }
.chip.on { background: var(--orange); color: var(--on-orange); font-weight: 700; }
.art { width: 100%; height: auto; }
.art-ground { fill: var(--ink); }
.trail-open { fill: none; stroke: var(--check); stroke-width: 5; stroke-linecap: round; }
.trail-amber { fill: none; stroke: #FFC53D; stroke-width: 5; stroke-linecap: round; }
.trail-faded { fill: none; stroke: var(--sub); stroke-opacity: 0.22; stroke-width: 5; stroke-linecap: round; }
.trail-faded.dots { stroke-dasharray: 2 9; }
.dot { fill: var(--cyan); stroke: var(--dot-ring); stroke-width: 3; }
.dot-halo { fill: var(--cyan); fill-opacity: 0.18; }

/* Record's map */
.map-card { position: relative; border-radius: 28px; overflow: hidden; background: var(--panel); border: 1px solid var(--line-2); box-shadow: var(--shadow-big); }
.map-card .art-ground { fill: var(--panel); }
.route-casing { fill: none; stroke: var(--route-casing); stroke-opacity: 0.9; stroke-width: 12; stroke-linecap: round; }
.route-line { fill: none; stroke: var(--route); stroke-width: 6; stroke-linecap: round; }
.route-gap { fill: none; stroke: var(--route); stroke-width: 3; stroke-dasharray: 7 7; stroke-linecap: round; }
.route-start { fill: var(--ink); stroke: var(--dot-ring); stroke-width: 3; }
.gap-note { position: absolute; left: 42%; top: 30%; padding: 8px 12px; border-radius: 12px; background: var(--glass); border: 1px solid var(--line-3); font-size: 12.5px; color: var(--sub); }
.stats { position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 16px 18px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line-3); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat dt { font-size: 12px; font-weight: 600; color: var(--muted); }
.stat dd { margin: 4px 0 0; font-size: 22px; font-weight: 500; }

/* History */
.phones { position: relative; height: 700px; }
.phones .phone { position: absolute; }
.phones .one { left: 4%; top: 0; transform: rotate(-4deg); }
.phones .two { right: 2%; top: 50px; transform: rotate(4deg); }
.rows { display: flex; flex-direction: column; padding: 0; list-style: none; border-top: 1px solid var(--line-2); }
.rows li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-2); font-weight: 600; }
.rows .mono { color: var(--muted); font-size: 13px; font-weight: 400; }

/* Live Activity: a Lock Screen, always dark */
.lock-wrap { display: flex; justify-content: center; }
.lock { position: relative; width: 340px; height: 560px; border-radius: 48px; border: 9px solid #1C222C; background: #10141B; overflow: hidden; color: #F3F0EA; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5); }
.lock .bg-art circle { fill: none; stroke: #1C232D; stroke-width: 1.4; }
.island { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); width: 230px; height: 40px; border-radius: 20px; background: #000; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-size: 14px; }
.island svg { fill: none; stroke: #FF7A3D; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.island .u { color: #FF7A3D; }
.lock-time { position: absolute; top: 96px; width: 100%; text-align: center; }
.lock-time .date { font-size: 15px; font-weight: 600; color: rgba(243, 240, 234, 0.8); }
.lock-time .clock { font-size: 84px; font-weight: 600; letter-spacing: -2px; line-height: 1; margin-top: 4px; }
.activity { position: absolute; left: 12px; right: 12px; bottom: 34px; padding: 16px; border-radius: 26px; background: rgba(14, 17, 23, 0.82); border: 1px solid rgba(255, 255, 255, 0.1); display: flex; gap: 14px; align-items: center; }
.activity > svg { flex: none; }
.activity-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.activity-head { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 1.4px; }
.activity-head span { width: 7px; height: 7px; border-radius: 4px; background: #FF4D4F; }
.activity-dist { font-size: 38px; line-height: 1; }
.activity-dist em { font-size: 20px; color: #FF7A3D; }
.activity .mono { font-size: 12px; color: #A3ACB7; white-space: nowrap; }

/* Themes: each card in its own theme's colours, whatever the page's */
.themes-head { max-width: 760px; }
.theme { border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); }
.theme figcaption { padding: 16px 18px; display: flex; justify-content: space-between; align-items: baseline; }
.theme .name { font-size: 26px; }
.theme .mode { font-size: 11px; font-weight: 700; letter-spacing: 1.4px; }
.theme svg { width: 100%; height: auto; }
.t-ember { background: #0E1117; color: #F3F0EA; } .t-ember .mode { color: #838C98; }
.t-tidal { background: #0A1721; color: #EAF3F5; } .t-tidal .mode { color: #86A0AB; }
.t-dusk { background: #130E1F; color: #F3EEFA; } .t-dusk .mode { color: #968BAD; }
.t-graphite { background: #0F0F11; color: #F5F5F4; } .t-graphite .mode { color: #8C8E93; }
.t-alpine { background: #FAFBF8; color: #16211C; } .t-alpine .mode { color: #5E6A64; }
.t-sandstone { background: #FBF5EC; color: #2B2119; } .t-sandstone .mode { color: #74665A; }
.themes-phone { display: flex; justify-content: center; }

/* Privacy */
.promise { padding: 28px; border-radius: 22px; background: var(--fill); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.promise.stays { background: rgba(33, 197, 173, 0.07); border-color: rgba(33, 197, 173, 0.22); }
.promise h3 { font-size: 30px; line-height: 1.1; }
.promise p { color: var(--sub); font-size: 15px; line-height: 1.55; }
.more { align-self: flex-start; font-weight: 600; font-size: 16px; padding: 12px 0; }

/* CTA */
.cta { position: relative; padding: 140px 0; overflow: hidden; text-align: center; }
.cta .wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.cta-icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 30px 70px rgba(255, 122, 61, 0.3), 0 0 0 1px var(--line-3); }
.cta h2 { font-size: clamp(52px, 6.4vw, 96px); line-height: 0.98; letter-spacing: -1.5px; }
.cta p { max-width: 520px; font-size: 18px; line-height: 1.6; color: var(--sub); }
.cta .actions { justify-content: center; }

/* ---------- Inner pages (privacy, support, result, 404) ---------- */

.page-head { padding: 72px 0 40px; }
.page-head .wrap { display: flex; flex-direction: column; gap: 16px; }
.page-head h1 { font-size: clamp(52px, 6vw, 88px); line-height: 0.98; letter-spacing: -1.5px; }
.page-head p { max-width: 620px; font-size: 18px; line-height: 1.6; color: var(--sub); }
.page-body { padding: 24px 0 120px; }

.prose { max-width: 760px; }
.prose p, .prose li { font-size: 17px; line-height: 1.7; color: var(--sub); }
.prose p + p, .prose ul, .prose ol, .prose table, .prose blockquote { margin-top: 16px; }
.prose ul, .prose ol { padding-left: 20px; }
.prose li + li { margin-top: 8px; }
.prose h2 { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 38px; letter-spacing: -0.4px; margin: 56px 0 12px; color: var(--text); }
.prose h3 { font-size: 18px; font-weight: 600; margin: 28px 0 6px; color: var(--text); }
.prose strong { color: var(--text); }
.prose table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 15px; border: 1px solid var(--line-2); border-radius: 18px; }
.prose th, .prose td { padding: 14px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.prose th { font-size: 12px; letter-spacing: 1.4px; color: var(--muted); background: var(--fill); border-top: 0; }
.prose blockquote { margin-left: 0; padding: 20px 24px; border-radius: 20px; background: rgba(33, 197, 173, 0.06); border: 1px solid rgba(33, 197, 173, 0.22); }

.cols { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.faq { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; }
.faq h2 { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }
.faq details { border-top: 1px solid var(--line-2); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; min-height: 44px; align-items: center; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; color: var(--muted); }
.faq details[open] summary::after { content: '–'; color: var(--accent-text); }
.faq details p { margin-top: 12px; color: var(--sub); font-size: 16px; line-height: 1.6; }

.contact { flex: 1 1 400px; min-width: 0; padding: 32px; border-radius: 28px; background: var(--panel); border: 1px solid var(--glass-line); box-shadow: var(--shadow-big); display: flex; flex-direction: column; gap: 18px; }
.contact h2 { font-size: 36px; line-height: 1; }
.contact .hint { color: var(--muted); font-size: 14.5px; }
.contact label, .contact legend { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--sub); }
.contact .opt { font-weight: 400; color: var(--muted); }
.field { width: 100%; height: 50px; border-radius: 14px; border: 1px solid var(--line-3); background: var(--fill); color: var(--text); font: inherit; font-size: 16px; font-weight: 400; padding: 0 16px; }
.field:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
textarea.field { height: 150px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.contact fieldset { border: 0; margin: 0; padding: 0; }
.contact legend { margin-bottom: 8px; padding: 0; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topics label { flex-direction: row; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 22px; background: var(--fill-2); color: var(--text); cursor: pointer; }
.topics label:has(input:checked) { background: var(--orange); color: var(--on-orange); font-weight: 700; }
.topics input { margin: 0; accent-color: var(--on-orange); }
.decoy { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { min-height: 65px; }
.send { height: 56px; border-radius: 28px; border: 0; background: var(--orange); color: var(--on-orange); font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; box-shadow: 0 14px 34px rgba(255, 122, 61, 0.3); }
.send:hover { background: #FF8B55; }
.status:empty { display: none; }
.status { padding: 14px 16px; border-radius: 16px; background: rgba(33, 197, 173, 0.08); border: 1px solid rgba(33, 197, 173, 0.25); color: var(--sub); font-size: 14px; line-height: 1.5; }
.address { color: var(--sub); font-size: 14.5px; }

.result { max-width: 620px; padding: 28px; border-radius: 22px; background: var(--fill); border: 1px solid var(--line-2); font-size: 18px; line-height: 1.6; }
.page-body .actions { margin-top: 28px; }

/* ---------- Narrower screens ---------- */

/* iPad, and desktop windows under 1024: two columns stay; the section links fold into the menu */
@media (max-width: 1023px) {
  .wrap { padding: 0 24px; }
  .split { gap: 40px; }
  .g3, .g4, .g6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hide-md { display: none !important; }
  .menu { display: block; }
  .section { padding: 104px 0; }
  .hmt-list { grid-template-columns: minmax(0, 1fr); }
}

/* iPhone, portrait: the iPhone artboard */
@media (max-width: 719px) {
  .wrap { padding: 0 16px; }
  .site-header .wrap { height: 64px; }
  .site-nav { gap: 8px; }
  .brand img { width: 32px; height: 32px; border-radius: 8px; }
  .brand span { font-size: 27px; }
  .hide-sm { display: none !important; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .last-sm { order: 2; }
  .hero { padding: 36px 0 40px; }
  .hero-copy { gap: 22px; }
  .hero h1 { font-size: 64px; letter-spacing: -1.5px; }
  .hero-sub { font-size: 17px; }
  .hero .btn-primary { width: 100%; height: 56px; font-size: 16px; }
  .figures .g4 { gap: 24px 16px; padding-top: 28px; padding-bottom: 28px; }
  .figure-n { font-size: 46px; }
  .figure-t { font-size: 14px; }
  .section { padding: 56px 0; }
  .stack, .stack.tight { gap: 18px; }
  .section > .wrap.stack-lg, .section > .wrap.stack-md { gap: 32px; }
  .display { font-size: 44px; letter-spacing: -0.8px; }
  .lede { font-size: 16px; }
  .g2 { grid-template-columns: minmax(0, 1fr); }
  .hmt, .vehicle { padding: 24px; }
  .hmt h3, .vehicle h3 { font-size: 34px; }
  .phones { height: auto; display: flex; justify-content: center; }
  .phones .phone { position: relative; left: auto; right: auto; top: auto; transform: none; }
  .cta { padding: 64px 0 56px; }
  .cta h2 { font-size: 50px; }
  .cta-icon { width: 88px; height: 88px; border-radius: 20px; }
  .cta .actions > * { width: 100%; }
  .page-head { padding: 48px 0 24px; }
  .contact { padding: 24px; }
  .site-footer { padding: 28px 0; }
}

@media (max-width: 560px) {
  .g3, .g6 { grid-template-columns: minmax(0, 1fr); }
  .phone { width: 270px; height: 580px; border-width: 8px; border-radius: 44px; }
  .lock { width: 300px; height: 520px; }
}

@media (max-width: 359px) {
  .g4 { grid-template-columns: minmax(0, 1fr); }
}

/* Nothing moves but hover colours */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.field-error { margin: 0; color: var(--accent-text); font-size: 14px; font-weight: 600; line-height: 1.4; }
.field[aria-invalid="true"] { border-color: var(--orange); }
