/* EBSM — shared styles for every page. No build step, no external requests. */

:root {
  color-scheme: dark;

  --bg: #07080c;
  --surface: #0e1017;
  --surface-2: #151822;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f5f8;
  --text-2: #a7acbb;
  --text-3: #7c8294;

  /* One accent per app, taken from the app icons. */
  --crown: #a78bfa;
  --crown-2: #ec4899;
  --crown-glow: rgba(139, 92, 246, 0.28);
  --dial: #f5a524;
  --dial-2: #d6d9e0;
  --dial-glow: rgba(245, 165, 36, 0.22);
  --run: #ff7a2f;
  --run-2: #34d399;
  --run-glow: rgba(255, 122, 47, 0.24);
  --hour: #2dd4bf;
  --hour-2: #a7f3d0;
  --hour-glow: rgba(20, 184, 166, 0.24);
  --gainz: #ff5b4f;
  --gainz-2: #f3eee4;
  --gainz-glow: rgba(239, 68, 68, 0.22);
  --cut: #60a5fa;
  --cut-2: #f5b65a;
  --cut-glow: rgba(59, 130, 246, 0.26);
  --day: #7cc9a0;
  --day-2: #f2b25c;
  --day-glow: rgba(52, 168, 120, 0.22);

  --brand-gradient: linear-gradient(90deg, #a78bfa 0%, #ec4899 38%, #ff7a2f 68%, #f5c542 100%);

  --radius: 20px;
  --radius-lg: 28px;
  --gutter: 16px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

@media (min-width: 720px) {
  :root { --gutter: 32px; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  color: #000;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 8, 12, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
}
.brand img { width: 30px; height: 30px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s, background-color 0.15s;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.08); }

@media (max-width: 480px) {
  .brand { gap: 8px; font-size: 16px; }
  .nav { gap: 0; }
  .nav a { padding: 8px 9px; font-size: 14px; }
}
@media (max-width: 359px) {
  .brand span { display: none; }
}

/* ---------- Buttons, pills ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--text);
  color: #0a0b10;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, background-color 0.15s;
}
.btn:hover { background: #fff; transform: translateY(-1px); }
.btn.secondary {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn.secondary:hover { background: rgba(255, 255, 255, 0.12); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent, #fff);
  box-shadow: 0 0 10px var(--accent, #fff);
}

.eyebrow {
  color: var(--text-3);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Apple Watch mock ---------- */
/* Screenshots are 416×496 (46 mm). The display's corner radius is ~21.6% of its
   width, so every size is derived from --w. */

.watch {
  --w: 220px;
  --pad: calc(var(--w) * 0.062);
  --screen-r: calc(var(--w) * 0.216);
  position: relative;
  width: calc(var(--w) + var(--pad) * 2);
  flex: none;
}

/* Strap stubs, fading out top and bottom. */
.watch::before, .watch::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  height: 34%;
  z-index: 0;
  background: linear-gradient(90deg, #15171d, #23262e 50%, #15171d);
}
.watch::before {
  bottom: 88%;
  border-radius: 14px 14px 0 0;
  -webkit-mask-image: linear-gradient(to top, #000 30%, transparent);
  mask-image: linear-gradient(to top, #000 30%, transparent);
}
.watch::after {
  top: 88%;
  border-radius: 0 0 14px 14px;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent);
  mask-image: linear-gradient(to bottom, #000 30%, transparent);
}

.watch-case {
  position: relative;
  z-index: 1;
  padding: var(--pad);
  border-radius: calc(var(--screen-r) + var(--pad));
  background: linear-gradient(160deg, #3a3e48 0%, #1b1d23 45%, #101115 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.14),
    inset 0 2px 1px rgba(255, 255, 255, 0.12),
    0 40px 80px -30px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.6);
}

/* Digital Crown and side button. */
.watch-case::before, .watch-case::after {
  content: "";
  position: absolute;
  right: calc(var(--w) * -0.03);
  width: calc(var(--w) * 0.045);
  border-radius: 0 6px 6px 0;
  background: linear-gradient(90deg, #2b2e36, #4a4e59 60%, #2b2e36);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.watch-case::before { top: 20%; height: 15%; }
.watch-case::after { top: 44%; height: 20%; width: calc(var(--w) * 0.028); }

.watch-screen {
  overflow: hidden;
  border-radius: var(--screen-r);
  background: #000;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.9);
}
.watch-screen img { width: 100%; aspect-ratio: 416 / 496; }

/* ---------- iPhone mock ---------- */
/* Screens are 1320×2868 captures scaled to 600 wide. The display's corner radius is
   ~12.5% of its width, so every size is derived from --w. */

.phone {
  --w: 240px;
  --pad: calc(var(--w) * 0.035);
  --screen-r: calc(var(--w) * 0.125);
  position: relative;
  display: block;
  flex: none;
  width: calc(var(--w) + var(--pad) * 2);
  padding: var(--pad);
  border-radius: calc(var(--screen-r) + var(--pad));
  background: linear-gradient(160deg, #3a3e48 0%, #1b1d23 45%, #101115 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.14),
    inset 0 2px 1px rgba(255, 255, 255, 0.12),
    0 40px 80px -30px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 0 100px -24px var(--glow, transparent);
}

/* Volume and side buttons. */
.phone::before, .phone::after {
  content: "";
  position: absolute;
  width: calc(var(--w) * 0.018);
  background: linear-gradient(90deg, #2b2e36, #4a4e59 60%, #2b2e36);
}
.phone::before { left: calc(var(--w) * -0.015); top: 20%; height: 11%; border-radius: 3px 0 0 3px; }
.phone::after { right: calc(var(--w) * -0.015); top: 26%; height: 15%; border-radius: 0 3px 3px 0; }

.phone img {
  width: 100%;
  aspect-ratio: 600 / 1304;
  object-fit: cover;
  object-position: top;
  border-radius: var(--screen-r);
  background: #000;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 72px 0 40px;
  text-align: center;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -120px 0 auto;
  height: 720px;
  z-index: -1;
  background:
    radial-gradient(420px 320px at 22% 62%, var(--cut-glow), transparent 70%),
    radial-gradient(460px 340px at 50% 48%, rgba(255, 255, 255, 0.07), transparent 70%),
    radial-gradient(420px 320px at 78% 62%, var(--hour-glow), transparent 70%);
  pointer-events: none;
}

.hero h1 {
  max-width: 14ch;
  margin: 18px auto 0;
  font-size: clamp(40px, 7.2vw, 80px);
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.hero .lede {
  max-width: 34em;
  margin: 22px auto 0;
  color: var(--text-2);
  font-size: clamp(17px, 2vw, 20px);
}
.hero .actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-watches {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(8px, 3vw, 40px);
  margin-top: 64px;
  padding-bottom: 48px;
}
.hero-watches .watch { --w: clamp(96px, 26vw, 232px); }
.hero-watches .watch.side { --w: clamp(80px, 21vw, 196px); margin-bottom: 6%; }
.hero-watches .watch.left { transform: rotate(-6deg); }
.hero-watches .watch.right { transform: rotate(6deg); }
.hero-watches a { text-decoration: none; transition: transform 0.25s ease; }
.hero-watches a:hover { transform: translateY(-6px); }

.hero-phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(6px, 2.2vw, 32px);
  margin-top: 64px;
  padding-bottom: 48px;
}
.hero-phones .phone { --w: clamp(62px, 17vw, 196px); text-decoration: none; transition: translate 0.25s ease; }
.hero-phones .phone.outer { --w: clamp(54px, 14.5vw, 168px); margin-bottom: 5%; }
.hero-phones .phone.outer.left { rotate: -6deg; }
.hero-phones .phone.inner.left { rotate: -2deg; }
.hero-phones .phone.inner.right { rotate: 2deg; }
.hero-phones .phone.outer.right { rotate: 6deg; }
.hero-phones .phone:hover { translate: 0 -6px; }

/* ---------- Promise strip ---------- */

.promise {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--line);
  box-shadow: inset 0 0 0 1px var(--line);
}
.promise div { padding: 22px 20px; background: var(--surface); text-align: left; }
.promise strong { display: block; font-size: 16px; font-weight: 650; }
.promise span { display: block; margin-top: 4px; color: var(--text-2); font-size: 14.5px; line-height: 1.45; }

@media (min-width: 880px) {
  .promise { grid-template-columns: repeat(4, 1fr); }
  .promise div { padding: 26px 24px; }
}

/* ---------- App sections ---------- */

.apps-intro { padding: 112px 0 8px; text-align: center; }
.apps-intro h2 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.03em; }
.apps-intro p { max-width: 32em; margin: 16px auto 0; color: var(--text-2); font-size: 18px; }

.app {
  --accent: #fff;
  --accent-2: #fff;
  --glow: transparent;
  position: relative;
  margin-top: 56px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(640px 420px at 85% 50%, var(--glow), transparent 70%),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  scroll-margin-top: 88px;
}
.app.crown { --accent: var(--crown); --accent-2: var(--crown-2); --glow: var(--crown-glow); }
.app.dial { --accent: var(--dial); --accent-2: var(--dial-2); --glow: var(--dial-glow); }
.app.run { --accent: var(--run); --accent-2: var(--run-2); --glow: var(--run-glow); }
.app.hour { --accent: var(--hour); --accent-2: var(--hour-2); --glow: var(--hour-glow); }
.app.gainz { --accent: var(--gainz); --accent-2: var(--gainz-2); --glow: var(--gainz-glow); }
.app.cut { --accent: var(--cut); --accent-2: var(--cut-2); --glow: var(--cut-glow); }
.app.day { --accent: var(--day); --accent-2: var(--day-2); --glow: var(--day-glow); }

.app-inner {
  display: grid;
  gap: 40px;
  padding: 36px 22px 44px;
}

@media (min-width: 900px) {
  .app-inner {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 48px;
    padding: 64px 64px;
  }
  .app.flip { background: radial-gradient(640px 420px at 15% 50%, var(--glow), transparent 70%), var(--surface); }
  .app.flip .app-copy { order: 2; }
}

.app-head { display: flex; align-items: center; gap: 16px; }
.app-icon {
  width: 72px;
  height: 72px;
  flex: none;
  border-radius: 22.5%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 12px 30px -10px var(--glow);
}
.app-head h3 { font-size: clamp(30px, 4vw, 40px); letter-spacing: -0.03em; }
.app-head .kind { margin-top: 4px; color: var(--text-3); font-size: 14px; font-weight: 500; }

.app-tagline {
  margin-top: 28px;
  color: var(--accent);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.app-desc { margin-top: 14px; color: var(--text-2); font-size: 17px; }

.features {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.features li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.45;
}
.features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 500;
}
.chip i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15); }
.chip.plain { padding-left: 12px; }

.app-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 14px;
}
.app-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.app-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.app-meta a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.app-meta a:hover { color: var(--text); }
.app-meta a.pill { color: var(--text); text-decoration: none; }
.app-meta a.pill:hover { background: rgba(255, 255, 255, 0.12); }

/* App preview videos (square, muted, loop). Playback is driven by app-video.js. */
.app-visual { padding: 8px 0 0; }
.app-visual .phone { --w: clamp(200px, 58vw, 264px); margin: 0 auto; }
.app-video {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #07080c;
  box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 90px -30px var(--glow);
}
.app-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 11, 16, 0.55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s, background-color 0.2s;
}
.video-toggle:hover, .video-toggle:focus-visible, .app-video:hover .video-toggle { opacity: 1; background: rgba(10, 11, 16, 0.75); }
.video-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.video-toggle[data-state="playing"] .i-play, .video-toggle[data-state="paused"] .i-pause { display: none; }

/* ---------- Closing CTA ---------- */

.closing {
  margin: 112px 0 0;
  padding: 56px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  background:
    radial-gradient(500px 240px at 50% 0%, rgba(255, 255, 255, 0.07), transparent 70%),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.closing h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; }
.closing p { max-width: 30em; margin: 14px auto 0; color: var(--text-2); }
.closing .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* ---------- Document pages (privacy, support, contact) ---------- */

.page-head { padding: 64px 0 8px; }
.page-head h1 { font-size: clamp(38px, 6vw, 60px); letter-spacing: -0.035em; }
.page-head .lede { max-width: 36em; margin-top: 16px; color: var(--text-2); font-size: clamp(17px, 2vw, 19px); }
.page-head .updated { margin-top: 14px; color: var(--text-3); font-size: 14px; }

.doc-layout { display: grid; gap: 40px; padding: 40px 0 0; }
@media (min-width: 960px) {
  .doc-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 64px; align-items: start; }
}

.toc { font-size: 14.5px; }
.toc p { margin-bottom: 10px; }
.toc ol { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.toc a {
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--text-2);
  text-decoration: none;
}
.toc a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
@media (min-width: 960px) { .toc { position: sticky; top: 96px; } }
@media (max-width: 959px) {
  .toc ol { display: flex; flex-wrap: wrap; gap: 8px; }
  .toc a { padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); }
}

.prose { max-width: 720px; }
.prose > section + section { margin-top: 56px; }
.prose h2 { font-size: clamp(26px, 3vw, 32px); letter-spacing: -0.025em; scroll-margin-top: 88px; }
.prose h3 { margin-top: 32px; font-size: 20px; letter-spacing: -0.015em; }
.prose p, .prose ul { margin-top: 14px; color: var(--text-2); }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 8px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.35); }
.prose a:hover { text-decoration-color: #fff; }

.section-title { display: flex; align-items: center; gap: 14px; }
.section-title img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1); }

.callout {
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.callout p:first-child { margin-top: 0; }
.callout strong { color: var(--text); }
.callout.spaced { margin-top: 28px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.inline-link { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.35); }
.inline-link:hover { text-decoration-color: #fff; }

/* FAQ disclosure rows */
.faq { margin-top: 18px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  margin-right: 4px;
  border-right: 2px solid var(--text-3);
  border-bottom: 2px solid var(--text-3);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details > div { padding: 0 0 18px; }
.faq details > div p:first-child { margin-top: 0; }

/* Support page: app picker */
.app-picker { display: grid; gap: 12px; margin-top: 32px; }
@media (min-width: 720px) { .app-picker { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .page-head .app-picker { grid-template-columns: repeat(4, 1fr); } }
.app-picker a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  text-decoration: none;
  transition: background-color 0.15s, transform 0.15s;
}
.app-picker a:hover { background: var(--surface-2); transform: translateY(-2px); }
.app-picker img { width: 48px; height: 48px; border-radius: 22.5%; }
.app-picker strong { display: block; font-size: 17px; }
.app-picker span { display: block; color: var(--text-3); font-size: 14px; }

/* Contact page */
.contact-hero {
  display: grid;
  gap: 20px;
  margin-top: 36px;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(520px 260px at 0% 0%, rgba(167, 139, 250, 0.16), transparent 70%),
    radial-gradient(520px 260px at 100% 100%, rgba(255, 122, 47, 0.14), transparent 70%),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
@media (min-width: 720px) { .contact-hero { padding: 44px; } }
.contact-hero .email {
  font-size: clamp(26px, 5.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-hero .email:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.contact-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.copied { color: var(--run-2); font-size: 14px; font-weight: 600; align-self: center; min-height: 1em; }

.cards { display: grid; gap: 12px; margin-top: 12px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  text-decoration: none;
  transition: background-color 0.15s, transform 0.15s;
}
a.card:hover { background: var(--surface-2); transform: translateY(-2px); }
.card strong { font-size: 17px; }
.card span { color: var(--text-2); font-size: 15px; line-height: 1.45; }
.card em { margin-top: auto; padding-top: 8px; color: var(--text); font-size: 14px; font-style: normal; font-weight: 600; }

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

.site-footer {
  margin-top: 112px;
  padding: 48px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 14.5px;
}
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}
.site-footer ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer .blurb { max-width: 22em; margin-top: 12px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

/* ---------- 404 ---------- */

.not-found { padding: 120px 0 40px; text-align: center; }
.not-found h1 { font-size: clamp(40px, 7vw, 72px); letter-spacing: -0.035em; }
.not-found p { margin-top: 16px; color: var(--text-2); }
.not-found .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

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

/* ---------- Small helpers ---------- */

.nowrap { white-space: nowrap; }
.contact-notes { margin-top: 72px; max-width: none; }
.contact-notes p { max-width: 720px; }
.contact-notes .app-picker { margin-top: 20px; }
.site-footer .footer-bottom:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
