:root {
  color-scheme: dark;
  --bg: #0B0D10;
  --card: #14171C;
  --line: #242932;
  --text: #EEF1F4;
  --muted: #9AA3AD;
  --volt: #C6FF3D;
  --max: 1040px;
  --studio: #9FD8D0;
  --support-glow: #1A2010;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
/* Studio pages (home, 404) use the Lakehouse colours from the logo; app pages keep their own. */
body.studio {
  --bg: #0E1F26;
  --card: #15303A;
  --line: #234552;
  --text: #F3EBDD;
  --muted: #A3BCC2;
  --volt: #9FD8D0;
  --support-glow: #1F4756;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--volt); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header and footer */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand em { color: var(--studio); }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { color: var(--text); }
.foot { border-top: 1px solid var(--line); margin-top: 96px; padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; }
.foot a { color: var(--muted); }

/* Type */
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 14px; }
h1 { font-size: clamp(38px, 7vw, 64px); font-weight: 800; font-style: italic; }
h2 { font-size: clamp(26px, 4vw, 34px); font-weight: 800; font-style: italic; margin-top: 72px; }
h3 { font-size: 19px; font-weight: 700; }
.accent { color: var(--volt); }
.lead { font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); max-width: 40em; margin: 0 0 28px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; color: var(--volt); margin: 0 0 12px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Blocks */
.hero { padding: 80px 0 24px; }
.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 12px 22px; font-weight: 700; font-size: 16px; text-decoration: none; }
.pill.solid { background: var(--volt); color: #0d0f12; }
.pill.ghost { border: 1px solid var(--line); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.card p { margin: 0; color: var(--muted); }
.card h3 { margin-bottom: 6px; }

/* App card on the studio page */
.app { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; text-decoration: none; color: inherit; transition: border-color .15s; }
.app:hover { border-color: var(--volt); }
.app img { width: 88px; height: 88px; border-radius: 22px; }
.app h3 { font-size: 24px; font-style: italic; }
.app .go { color: var(--volt); font-weight: 700; margin-top: 8px; display: inline-block; }

/* Stride page */
.stride-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 72px 0 24px; }
.stride-hero .icon { width: 72px; height: 72px; border-radius: 18px; margin-bottom: 22px; }
.watch { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #000; box-shadow: 0 0 0 10px #1B1F25, 0 0 0 11px #2C323B, 0 30px 60px rgba(0,0,0,.6); }
.watch img { width: 100%; height: 100%; object-fit: cover; }
.stride-hero .watch { max-width: 380px; margin: 0 auto; width: 100%; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 34px 26px; margin-top: 28px; }
.shots figure { margin: 0; text-align: center; }
.shots figcaption { margin-top: 16px; color: var(--muted); font-size: 14px; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--volt); color: #0d0f12; font-weight: 800; margin-bottom: 12px; }
.split .steps { grid-template-columns: 1fr; }
.steps li h3 { display: inline; margin-left: 12px; }
.steps li p { margin-top: 6px; }
/* Upload page shot: as tall as the steps beside it, showing the top of the page and fading out */
.phone { position: relative; width: 320px; align-self: stretch; border-radius: 22px; border: 1px solid var(--line); overflow: hidden; background: #0d0f12; }
.phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(transparent, #0d0f12); }
.split { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.watches { columns: 2 220px; padding-left: 20px; color: var(--muted); }

/* Feature cards with icons */
.feature { position: relative; overflow: hidden; }
.feature::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(198,255,61,.10), transparent 70%); pointer-events: none; }
.ficon { width: 64px; height: 64px; padding: 12px; margin-bottom: 18px; border-radius: 18px; background: rgba(198,255,61,.10); border: 1px solid rgba(198,255,61,.22); fill: none; stroke: var(--volt); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: block; }
.ficon .soft { stroke-opacity: .5; }
.ficon .fill { fill: var(--volt); stroke: none; }

/* Support box */
.support { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; margin-top: 72px; padding: 32px; background: linear-gradient(135deg, var(--support-glow), var(--card) 60%); }
.support h2 { margin-top: 0; }
.support p { max-width: 34em; }
.cup { width: 20px; height: 20px; }

/* Long-form text (privacy policy) */
.doc { max-width: 720px; padding-top: 64px; }
.doc h1 { font-size: clamp(34px, 6vw, 48px); }
.doc h2 { font-size: 24px; margin-top: 44px; }
.doc li { margin-bottom: 8px; }
.doc .summary { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--volt); border-radius: 12px; padding: 18px 22px; margin: 28px 0; }
.doc .summary p { margin: 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 0; }
th, td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }

@media (max-width: 760px) {
  .stride-hero, .split { grid-template-columns: 1fr; }
  .stride-hero .watch { max-width: 280px; }
  .hero, .stride-hero { padding-top: 48px; }
  .nav { gap: 14px; font-size: 14px; }
  .brand { font-size: 15px; }
  .app, .support { grid-template-columns: 1fr; }
  .support { padding: 24px; }
  .support .pill { justify-self: start; }
  .phone { width: 100%; max-width: 320px; aspect-ratio: 3 / 4; margin: 0 auto; }
}

@media (max-width: 480px) {
  .brand span { display: none; }
}
