/* Mini-Golf Masters — marketing site stylesheet.
   Ported from the Claude Design canvas export (Landing.dc.html + the design-system tokens).
   Tokens are the app's "broadcast" theme verbatim (src/app.css). No framework, no CDN. */

/* ---------- Fonts (self-hosted latin subsets, mirrored from the app's @fontsource bundles) ---------- */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/cormorant-garamond-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 600; font-display: swap; src: url('../fonts/cormorant-garamond-latin-600-italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 700; font-display: swap; src: url('../fonts/cormorant-garamond-latin-700-italic.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/barlow-condensed-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); }

/* ---------- Tokens ---------- */
:root {
  --bg: #0a4128;
  --bg-grad: radial-gradient(130% 90% at 50% -8%, #11603c 0%, #0a4128 52%, #052414 100%);
  --surface: rgba(7, 46, 28, 0.55);
  --surface-solid: #073a23;
  --surface-2: #062817;
  --row: #f7f5ec;
  --row-ink: #0c3320;
  --text: #f2eee2;
  --muted: #9fb0a0;
  --accent: #d6a93a;
  --accent-hi: #f2d982;
  --accent-soft: #e7d08a;
  --on-accent: #07331e;
  --red: #e5402e;
  --under: #7be08c;
  --line: rgba(214, 169, 58, 0.2);
  --frame: var(--accent);
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  --p0: #4a90d9; --p1: #23b3a3; --p2: #e0589b; --p3: #b57be0; --p4: #e0a23c; --p5: #5bc46a;
  --backdrop: #041c10;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --cond: 'Barlow Condensed', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --text-brand: 700 22px/1 var(--serif);

  --gold-fill: linear-gradient(var(--accent-hi), var(--accent));
  --gold-rule: linear-gradient(90deg, var(--accent), rgba(214, 169, 58, 0.08));
  --frame-glow: inset 0 0 0 1px rgba(242, 217, 130, 0.25), 0 0 18px rgba(214, 169, 58, 0.12);
  --sel-glow: 0 0 0 2px var(--accent-hi), 0 4px 14px rgba(214, 169, 58, 0.3);
  --plate-inset: inset 0 1px 3px rgba(0, 0, 0, 0.4);
  --ease-pop: cubic-bezier(0.2, 1.3, 0.4, 1);

  --body-soft: rgba(242, 238, 226, 0.76);
  --body-soft-2: rgba(242, 238, 226, 0.72);
  --body-soft-3: rgba(242, 238, 226, 0.7);
  --body-soft-4: rgba(242, 238, 226, 0.74);
  --header-h: 72px;
  --demo-w: 497px;
  --demo-h: 497px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; background: var(--backdrop); }
body {
  font-family: var(--cond);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.3;
}
a { color: var(--accent-hi); text-decoration: none; }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; }
img, svg { display: block; }
[id] { scroll-margin-top: var(--header-h); }

.site { background: var(--bg-grad); background-color: var(--bg); min-height: 100vh; overflow-x: hidden; }
.wrap { max-width: 1140px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@keyframes land { 0% { transform: scale(1); } 45% { transform: scale(1.14); } 100% { transform: scale(1); } }
@keyframes flash { 0% { color: var(--accent-hi); transform: translateY(6px); } 100% { color: var(--accent); transform: translateY(0); } }

/* ---------- Type helpers ---------- */
.kicker { font-family: var(--cond); font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.eyebrow { display: flex; align-items: center; gap: 9px; font-family: var(--cond); font-weight: 600; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-soft); }
.eyebrow .flag-glyph { color: var(--accent); }
.fineprint { font-family: var(--cond); font-weight: 600; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.display { font-family: var(--serif); font-weight: 700; color: var(--text); margin: 0; }
.display i, .wordmark b { color: var(--accent); font-style: italic; font-weight: 700; }
.lede { font-family: var(--cond); font-weight: 400; line-height: 1.5; text-wrap: pretty; }

/* ---------- Brand lockup ---------- */
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand .flag { flex: 0 0 auto; }
.wordmark { font: var(--text-brand); color: var(--text); white-space: nowrap; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(5, 36, 20, 0.82);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { padding-top: 14px; padding-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav-link { font-family: var(--cond); font-weight: 600; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--accent-hi); }
.nav-cta {
  font-family: var(--cond); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--on-accent); background: var(--gold-fill); border: 1px solid var(--accent-hi); border-radius: 8px;
  padding: 8px 14px; cursor: pointer; white-space: nowrap; transition: transform 0.08s;
}
.nav-cta:hover { color: var(--on-accent); }
.nav-cta:active { transform: scale(0.96); }

/* ---------- Buttons (ActionButton) ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  flex: 1 1 230px;
  border-radius: 11px; padding: 13px;
  font-family: var(--cond); font-weight: 600; font-size: 15px; line-height: 1.2; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--line); background: var(--surface); color: var(--accent-hi);
  cursor: pointer; text-align: center; transition: transform 0.08s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { color: var(--accent-hi); border-color: rgba(214, 169, 58, 0.45); }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--gold-fill); border-color: var(--accent-hi); color: var(--on-accent); font-weight: 700; flex-grow: 1.35; }
.btn-primary:hover { color: var(--on-accent); border-color: var(--accent-hi); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--cond); font-weight: 600; font-size: 15px; line-height: 1.2; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent-hi); background: var(--surface); border: 1px solid var(--line); border-radius: 11px; padding: 13px 20px;
  cursor: pointer; transition: transform 0.08s;
}
.btn-ghost:hover { color: var(--accent-hi); border-color: rgba(214, 169, 58, 0.45); }
.btn-ghost:active { transform: scale(0.98); }
.btn-ghost.small { font-size: 13px; letter-spacing: 0.08em; padding: 11px 18px; }

/* ---------- Hero ---------- */
.hero {
  padding-top: 76px; padding-bottom: 40px;
  display: grid; grid-template-columns: minmax(320px, 1fr) minmax(360px, 520px); gap: 56px; align-items: center;
}
.hero h1 { font-size: clamp(50px, 6.6vw, 92px); line-height: 0.94; letter-spacing: -0.01em; margin-top: 20px; text-wrap: balance; }
.hero .lede { font-size: 21px; color: var(--body-soft); max-width: 46ch; margin: 24px 0 0; }
.hero .btn-row { margin-top: 32px; max-width: 520px; }
.hero .fineprint { margin-top: 18px; }

/* min-width: 0 on the grid items: the un-transformed 497px stage would otherwise set the column's
   min-content width and defeat the scale-down on narrow screens. */
.hero-copy, .hero-demo { min-width: 0; }
.hero-demo { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.demo-caption { font-family: var(--cond); font-weight: 600; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); text-align: center; }

/* The device composition keeps its intrinsic 497×497 stage and is scaled down on narrow screens.
   demo.js sets --demo-scale from the frame's width; the media queries are the no-JS fallback. */
.demo-frame { width: 100%; max-width: var(--demo-w); height: calc(var(--demo-h) * var(--demo-scale, 1)); }
.demo-stage {
  position: relative; width: var(--demo-w); height: var(--demo-h);
  display: grid; grid-template-columns: 186px 289px; gap: 22px; align-items: end;
  transform: scale(var(--demo-scale, 1)); transform-origin: top left;
  touch-action: manipulation;
}
@media (max-width: 560px) { .demo-frame { --demo-scale: 0.8; } }
@media (max-width: 430px) { .demo-frame { --demo-scale: 0.68; } }
@media (max-width: 360px) { .demo-frame { --demo-scale: 0.6; } }

/* Watch shell */
.watch {
  position: relative; width: 186px; height: 220px; border-radius: 52px;
  background: linear-gradient(#2a2d33, #14161a); padding: 11px; box-shadow: var(--shadow); margin-bottom: 46px;
}
.watch-crown { position: absolute; right: -4px; top: 68px; width: 5px; height: 34px; border-radius: 3px; background: #3a3e45; }
.watch-screen { position: relative; width: 164px; height: 198px; border-radius: 42px; background: var(--bg-grad); background-color: var(--bg); overflow: hidden; }
.watch-ui {
  width: 328px; height: 396px; transform: scale(0.5); transform-origin: top left;
  display: flex; flex-direction: column; align-items: center; padding: 22px 14px 0;
}
.watch-hole { font-family: var(--cond); font-weight: 600; font-size: 17px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-soft); white-space: nowrap; }
.wheel-wrap { width: 300px; margin-top: 10px; }

/* Score wheel */
.wheel { position: relative; width: 100%; aspect-ratio: 1; }
.wheel svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; cursor: pointer; }
.wedge { outline: none; }
.wedge path { fill: url(#mgmWedgeFill); stroke: rgba(245, 242, 233, 0.34); stroke-width: 1.4; transition: fill 0.12s, stroke 0.12s; }
.wedge text { fill: #fcfaf2; font-family: var(--cond); font-weight: 700; font-size: 27px; pointer-events: none; font-variant-numeric: tabular-nums; }
.wedge.is-big text { font-size: 35px; }
.wedge.is-hint path { stroke: var(--accent-soft); stroke-width: 2; stroke-dasharray: 4 3; }
.wedge.is-hint text { fill: var(--accent-soft); }
.wedge.is-on path { fill: url(#mgmOnFill); stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: none; }
.wedge.is-on text { fill: var(--on-accent); }
.wedge:focus-visible path { stroke: var(--accent-hi); stroke-width: 3; stroke-dasharray: none; }
.wedge.is-pressed path { animation: land 0.24s var(--ease-pop); transform-box: fill-box; transform-origin: center; }
.wheel-ring-glow { fill: none; stroke: var(--accent); stroke-width: 5; opacity: 0.7; filter: url(#mgmGlow); }
.wheel-ring { fill: none; stroke: var(--accent); stroke-width: 2.5; }
.hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 50%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 36%, #11593a, var(--surface-solid) 80%);
  box-shadow: inset 0 0 0 1px rgba(205, 164, 52, 0.32), inset 0 6px 18px rgba(0, 0, 0, 0.42);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 6px;
  pointer-events: none;
}
.hub-name { font-family: var(--serif); font-weight: 700; font-size: 22px; line-height: 1; white-space: nowrap; overflow: hidden; max-width: 100%; text-overflow: ellipsis; color: var(--p0); }
.hub-value { font-family: var(--serif); font-weight: 700; font-size: 50px; line-height: 0.92; margin-top: 1px; color: var(--accent); }
.hub-value.is-empty { color: rgba(242, 238, 226, 0.3); }
.hub-label { font-family: var(--cond); font-weight: 600; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

/* Phone shell */
.phone { position: relative; width: 289px; border-radius: 34px; background: linear-gradient(#2a2d33, #14161a); padding: 9px; box-shadow: var(--shadow); }
.phone-screen { position: relative; width: 271px; height: 479px; border-radius: 26px; background: var(--bg-grad); background-color: var(--bg); overflow: hidden; }
.phone-ui {
  position: absolute; left: 9px; top: 9px; width: 430px; height: 784px;
  transform: scale(0.5884); transform-origin: top left;
  display: flex; flex-direction: column; overflow: hidden; padding-bottom: 12px;
}
.phone-frame { position: absolute; inset: 7px; border: 2px solid var(--frame); border-radius: 22px; box-shadow: var(--frame-glow); pointer-events: none; z-index: 40; }

/* Masthead (app chrome) */
.mast { flex: 0 0 auto; }
.mast-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px 9px; gap: 10px; }
.mast-brand { display: flex; align-items: center; gap: 9px; min-width: 0; }
.mast-brand .wordmark { font-size: 22px; }
.mast-hole { text-align: right; line-height: 0.82; }
.mast-num { font-family: var(--serif); font-weight: 700; font-size: 32px; color: var(--accent); }
.mast-num.is-flash { animation: flash 0.5s ease; }
.mast-sub { font-family: var(--cond); font-size: 10px; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; margin-top: 1px; }
.gold-rule { height: 2px; background: var(--gold-rule); }
.mast .gold-rule { margin: 0 18px; }

/* Leaderboard */
.board { flex: 1 1 auto; min-height: 0; overflow: hidden; }
.board-head { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 20px 6px; }
.board-title { font-family: var(--cond); font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.board-hole { font-family: var(--serif); font-size: 19px; color: var(--accent-hi); }
.board-rows { padding: 0 14px; display: flex; flex-direction: column; gap: 8px; }
.lrow {
  display: grid; grid-template-columns: 26px 34px 1fr 60px 44px; gap: 9px; align-items: center;
  border-radius: 13px; padding: 8px 12px 8px 10px; background: var(--row); border: none; cursor: pointer; text-align: left;
  box-shadow: none; transition: transform 0.08s, box-shadow 0.12s; width: 100%; touch-action: manipulation;
}
.lrow.is-active { box-shadow: var(--sel-glow); }
.lrow:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.lrow-pos { font-family: var(--cond); font-weight: 700; font-size: 15px; color: var(--accent-soft); text-align: center; font-variant-numeric: tabular-nums; }
.lrow-disc { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--cond); font-weight: 700; font-size: 15px; color: #fff; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6); }
.lrow-name { font-family: var(--cond); font-weight: 600; font-size: 21px; color: var(--row-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrow-plate { justify-self: stretch; background: var(--surface-2); border-radius: 7px; padding: 5px 4px; text-align: center; font-family: var(--cond); font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; box-shadow: var(--plate-inset); color: var(--muted); }
.lrow-plate.u { color: var(--red); }
.lrow-plate.e { color: var(--accent-hi); }
.lrow-plate.o { color: var(--text); }
.lrow-total { font-family: var(--cond); font-weight: 700; font-size: 21px; color: var(--row-ink); text-align: center; font-variant-numeric: tabular-nums; }

/* Scorecard strip */
.strip { flex: 0 0 auto; margin-top: 12px; border-top: 1.5px solid var(--line); background: var(--surface); padding: 9px 0 8px; }
.strip-scroll { overflow-x: auto; scrollbar-width: none; }
.strip-scroll::-webkit-scrollbar { width: 0; height: 0; }
.strip table { border-collapse: collapse; width: max-content; min-width: 100%; }
.strip th, .strip td { font-family: var(--cond); font-variant-numeric: tabular-nums; text-align: center; width: 30px; height: 30px; font-size: 14px; font-weight: 600; padding: 0; }
.strip th { font-size: 12px; padding-top: 2px; color: var(--muted); }
.strip th.is-cur { color: var(--accent-hi); font-weight: 700; }
.strip .is-cur { background: rgba(214, 169, 58, 0.16); }
.strip .strip-label, .strip .strip-name { position: sticky; left: 0; z-index: 2; text-align: left; width: auto; white-space: nowrap; background: var(--surface-2); }
.strip .strip-label { padding: 2px 12px 0 18px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.strip .strip-name { padding: 0 12px 0 18px; font-size: 15px; color: var(--text); }
.cell { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin: 0 auto; border-radius: 5px; color: var(--text); }
.cell.is-empty { color: var(--muted); opacity: 0.5; }
.cell.is-under { background: rgba(91, 196, 106, 0.22); color: var(--under); }
.cell.is-par { color: var(--accent-hi); font-weight: 700; }
.cell.is-over { background: rgba(229, 64, 46, 0.85); color: #fff; }

/* Toast */
.toast {
  position: absolute; left: 50%; bottom: 240px; z-index: 80;
  transform: translateX(-50%) translateY(16px); opacity: 0; transition: 0.2s; pointer-events: none;
  background: var(--surface-solid); color: var(--accent-hi); border: 1px solid var(--accent);
  font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 20px; white-space: nowrap;
}
.toast.is-show { transform: translateX(-50%); opacity: 1; }

/* ---------- Sections ---------- */
.section { padding-top: 60px; padding-bottom: 20px; }
.section .kicker { padding: 22px 0 34px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.card { border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface); padding: 26px 24px 28px; }
.card h3 { font-family: var(--serif); font-weight: 700; font-size: 30px; line-height: 1.05; color: var(--accent-hi); margin: 0; }
.card p { font-family: var(--cond); font-size: 18px; line-height: 1.5; color: var(--body-soft-2); margin: 12px 0 0; text-wrap: pretty; }

.how { padding-top: 64px; padding-bottom: 20px; }
.how h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 28px; margin-top: 38px; }
.step { border-top: 1px solid var(--line); padding-top: 18px; }
.step-num { font-family: var(--serif); font-weight: 700; font-size: 42px; line-height: 1; color: var(--accent); }
.step h3 { font-family: var(--cond); font-weight: 700; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-hi); margin: 12px 0 0; }
.step p { font-family: var(--cond); font-size: 18px; line-height: 1.5; color: var(--body-soft-3); margin: 8px 0 0; }

.card-section { padding-top: 78px; padding-bottom: 30px; display: grid; grid-template-columns: 300px 1fr; gap: 60px; align-items: center; }
.card-frame { border-radius: 30px; background: linear-gradient(#2a2d33, #14161a); padding: 9px; box-shadow: var(--shadow); }
.card-frame img { width: 100%; height: auto; border-radius: 22px; }
.card-section h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.02; margin-top: 14px; }
.card-section .lede { font-size: 20px; color: var(--body-soft-4); max-width: 44ch; margin: 20px 0 0; }
.url-chip { font-family: var(--mono); font-size: 15px; color: var(--accent-hi); background: var(--surface-2); border: 1px solid var(--line); border-radius: 7px; padding: 11px 14px; display: inline-block; margin-top: 22px; }
.card-section .btn-ghost { margin-top: 22px; }

.install { padding-top: 60px; padding-bottom: 96px; }
.install-panel { border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface); padding: 44px 32px; text-align: center; box-shadow: var(--frame-glow); }
.install-kicker { font-family: var(--cond); font-weight: 600; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-hi); }
.install h2 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1; margin-top: 16px; }
.install .btn-row { justify-content: center; margin: 30px auto 0; max-width: 520px; }
.install .btn { flex-basis: 220px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: rgba(5, 36, 20, 0.6); }
.footer .wrap { padding-top: 40px; padding-bottom: 46px; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; justify-content: space-between; }
.footer-tagline { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 15px; color: var(--accent-hi); opacity: 0.85; margin-top: 12px; }
.footer-cols { display: flex; gap: 44px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h4 { font-family: var(--cond); font-weight: 700; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0; }
.footer-col a { font-family: var(--cond); font-size: 16px; }
.footer-copy { font-family: var(--cond); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ---------- Shared-card page ---------- */
.share-main { padding-top: 46px; padding-bottom: 96px; }
.share-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.share-head .install-kicker { color: var(--muted); }
.share-head h1 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.05; margin-top: 10px; }
.share-url { font-family: var(--mono); font-size: 14px; color: var(--accent-soft); }
.share-grid { display: grid; grid-template-columns: 430px 1fr; gap: 52px; align-items: start; margin-top: 34px; }
.share-card { position: relative; border: 2px solid var(--frame); border-radius: 20px; box-shadow: var(--frame-glow), var(--shadow); overflow: hidden; background: var(--bg); }
.recap { position: relative; display: flex; flex-direction: column; background: var(--bg-grad); background-color: var(--bg); min-height: 100%; }
.recap-body { flex: 1 1 auto; padding: 30px 26px 12px; }
.recap-eyebrow { text-align: center; font-family: var(--cond); font-weight: 600; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.champion { text-align: center; margin: 14px 0 4px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.champion-title { font-family: var(--cond); font-weight: 600; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent-hi); margin-bottom: 10px; }
.champion-name { font-family: var(--serif); font-weight: 700; font-size: 50px; line-height: 0.95; color: var(--accent); }
.champion-sub { margin-top: 10px; font-family: var(--cond); font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.champion-sub .u { color: var(--red); font-weight: 600; }
.rrow { display: grid; grid-template-columns: 30px 32px 1fr auto auto; gap: 11px; align-items: center; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.rrow-pos { font-family: var(--cond); font-weight: 600; font-size: 16px; color: var(--accent-hi); font-variant-numeric: tabular-nums; }
.rrow-disc { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--cond); font-weight: 700; font-size: 13px; color: #fff; }
.rrow-name { font-family: var(--cond); font-weight: 600; font-size: 20px; color: var(--text); }
.rrow-par { font-family: var(--cond); font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; text-align: right; min-width: 38px; color: var(--text); }
.rrow-par.u { color: var(--red); }
.rrow-par.e { color: var(--accent-hi); }
.rrow-str { font-family: var(--cond); font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 30px; text-align: right; }
.recap-foot { flex: 0 0 auto; padding: 12px 26px 16px; display: flex; flex-direction: column; gap: 8px; }
.hbh { border-top: 1px solid var(--line); padding-top: 12px; }
.hbh .kicker { font-size: 11px; padding: 0 0 2px; }
.recap-line { text-align: center; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 14px; color: var(--accent-hi); opacity: 0.85; margin-top: 4px; }
.share-copy { padding-top: 6px; }
.share-copy h2 { font-size: clamp(32px, 3.8vw, 50px); line-height: 1.02; margin-top: 14px; }
.share-copy .lede { font-size: 20px; color: var(--body-soft-4); max-width: 42ch; margin: 20px 0 0; }
.share-copy .btn-row { margin-top: 30px; max-width: 480px; }
.share-copy .btn { flex-basis: 210px; }
.share-copy .fineprint { margin-top: 16px; }
.share-links { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Not-found page ---------- */
.nf { min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 28px; }
.nf-code { font-family: var(--serif); font-weight: 700; font-size: clamp(72px, 12vw, 140px); line-height: 0.9; color: var(--accent); }
.nf h1 { font-size: clamp(28px, 4vw, 44px); margin-top: 18px; }
.nf .lede { font-size: 19px; color: var(--body-soft); max-width: 40ch; margin: 16px auto 0; }
.nf .share-links { justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding-top: 48px; }
  .hero-demo { order: 2; }
  .share-grid { grid-template-columns: 1fr; gap: 40px; }
  .share-card { max-width: 430px; margin: 0 auto; width: 100%; }
}
@media (max-width: 760px) {
  .card-section { grid-template-columns: 1fr; gap: 36px; padding-top: 60px; }
  .card-frame { max-width: 300px; margin: 0 auto; width: 100%; }
}
@media (max-width: 520px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .nav { gap: 14px; }
  .nav-text { display: none; }
  .hero { padding-top: 36px; }
  .install-panel { padding: 36px 20px; }
  .footer .wrap { flex-direction: column; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
