/* The home page. Same "Studio" palette and Barlow type as the Fire TV app; no scripts (the site's CSP forbids them). */
@font-face { font-family: 'Barlow'; src: url('fonts/Barlow_400Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('fonts/Barlow_600SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('fonts/Barlow_800ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Barlow Semi Condensed'; src: url('fonts/BarlowSemiCondensed_800ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }

:root {
  --bg: #15120f;
  --bg-2: #1b1714;
  --surface: #221e1a;
  --raised: #2b2621;
  --line: #2e2823;
  --text: #f4efe8;
  --soft: #cfc6ba;
  --muted: #b5aca0;
  --faint: #8f867b;
  --accent: #ff7a3d;
  --accent-2: #ff9a68;
  --on-accent: #15120f;
  --good: #6fc3a8;
  --fault: #ff6b5b;
  --cream: #f4efe8;
  --ink: #15120f;
  --max: 1180px;
  --display: 'Barlow Semi Condensed', 'Barlow', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18px/1.55 'Barlow', system-ui, sans-serif; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-2); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.kicker { font-weight: 800; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.01em; line-height: 0.98; margin: 0; }
h2 { font-size: clamp(38px, 5.6vw, 68px); }
h3 { font-size: 27px; line-height: 1.05; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--soft); max-width: 600px; margin: 22px 0 0; }
.dot { color: var(--accent); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 12px; font-weight: 800; font-size: 17px; text-decoration: none; transition: transform 0.15s ease, background 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: #ff8d58; color: var(--on-accent); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px var(--raised); }
.btn-ghost:hover { color: var(--text); box-shadow: inset 0 0 0 2px var(--faint); }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 32px; letter-spacing: -0.5px; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.wordmark .word span { color: var(--accent); }
.wordmark img { width: 38px; height: 38px; border-radius: 9px; }
.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 26px; font-weight: 600; font-size: 16px; }
.nav a { color: var(--soft); text-decoration: none; }
.nav a:hover { color: var(--text); }
.nav .btn { padding: 10px 16px; font-size: 15px; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero { position: relative; padding: 28px 0 80px; }
.hero::before { content: ''; position: absolute; inset: -200px 0 0; background: radial-gradient(60% 55% at 72% 38%, rgba(255, 122, 61, 0.16), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .hero .wrap { grid-template-columns: 0.95fr 1.05fr; gap: 48px; } }
.hero h1 { font-size: clamp(50px, 6.2vw, 82px); letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.needs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; }
.needs li { background: var(--surface); border-radius: 999px; padding: 8px 14px; font-size: 15px; color: var(--soft); }
.needs strong { color: var(--text); }

/* TV + phone, drawn with CSS around real screenshots. */
.devices { position: relative; padding: 0 0 64px 0; }
.devices .tv { width: 90%; }
.tv { position: relative; border-radius: 16px; padding: 10px; background: #0b0908; box-shadow: 0 0 0 1px #2c2620, 0 40px 80px rgba(0, 0, 0, 0.55); }
.tv img { border-radius: 8px; }
.tv::after { content: ''; position: absolute; left: 50%; bottom: -18px; width: 26%; height: 8px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #0b0908; box-shadow: 0 0 0 1px #2c2620; }
.phone { position: absolute; right: -8px; bottom: 0; width: 25%; min-width: 110px; border-radius: 28px; padding: 7px; background: #0b0908; box-shadow: 0 0 0 1px #3a322b, 0 30px 60px rgba(0, 0, 0, 0.6); transform: rotate(4deg); }
.phone img { border-radius: 22px; }
.link-tag { position: absolute; left: 4%; bottom: 0; display: inline-flex; align-items: center; gap: 8px; background: var(--cream); color: var(--ink); font-weight: 800; font-size: 14px; border-radius: 999px; padding: 8px 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); white-space: nowrap; }
.link-tag svg { flex: none; }
@media (max-width: 560px) { .phone { width: 32%; right: -4px; } .link-tag { left: 0; font-size: 12px; } }

/* The coach's real lines, scrolling past. */
.ticker { background: var(--cream); color: var(--ink); overflow: hidden; padding: 18px 0; }
.ticker-track { display: flex; gap: 14px; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.verdict { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-weight: 600; font-size: 17px; padding: 8px 16px 8px 10px; border-radius: 999px; background: #e9e1d6; }
.verdict b { font-family: var(--display); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; }
.v-clean b { background: var(--accent); color: var(--ink); }
.v-note b { background: #8f867b; color: var(--cream); }
.v-no b { background: transparent; color: #c63d2e; box-shadow: inset 0 0 0 2px #c63d2e; }
.v-guide b { background: var(--ink); color: var(--cream); }

/* Sections */
section { padding: 100px 0; }
section.alt { background: var(--bg-2); }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: 48px; }
.section-head .lead { margin-top: 0; }

/* Honest verdicts */
.verdicts { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .verdicts { grid-template-columns: repeat(3, 1fr); } }
.vcard { background: var(--surface); border-radius: 20px; padding: 28px; display: grid; gap: 14px; align-content: start; }
.vcard .chip { justify-self: start; font-family: var(--display); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; font-size: 14px; border-radius: 8px; padding: 5px 11px; }
.vcard.clean .chip { background: var(--accent); color: var(--ink); }
.vcard.note .chip { background: var(--faint); color: var(--cream); }
.vcard.no .chip { color: var(--fault); box-shadow: inset 0 0 0 2px var(--fault); }
.vcard q { font-family: var(--display); font-size: 30px; line-height: 1.05; quotes: '“' '”'; }
.vcard p { margin: 0; color: var(--soft); }
.reps { display: flex; gap: 6px; margin-top: 6px; }
.reps i { width: 22px; height: 22px; border-radius: 5px; background: var(--accent); }
.reps i.n { background: var(--faint); }
.reps i.x { background: transparent; box-shadow: inset 0 0 0 2px var(--fault); }

/* Proof numbers */
.gym { margin-top: 64px; }
.gym-head h3 { font-size: clamp(26px, 3vw, 34px); max-width: 760px; }
.gym-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); margin-top: 26px; }
@media (min-width: 960px) { .gym-grid { grid-template-columns: repeat(4, 1fr); } }
.gym-grid figure { margin: 0; }
.gym-grid video { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 16px; background: var(--surface); object-fit: cover; }
.gym-grid figcaption { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.35; }
.gym-grid figcaption strong { display: block; color: var(--text); font-size: 17px; }
/* The trainer clips are rendered on the panel colour, 5:4; show them whole. */
.trainers .gym-grid video { aspect-ratio: 5 / 4; object-fit: contain; }
.proof { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: 20px; overflow: hidden; margin-top: 56px; }
@media (min-width: 860px) { .proof { grid-template-columns: repeat(5, 1fr); } }
.proof div { background: var(--bg); padding: 26px 22px; }
.proof strong { display: block; font-family: var(--display); font-size: 52px; line-height: 1; color: var(--text); }
.proof span { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.35; }

/* Steps */
.steps { display: grid; gap: 26px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { display: grid; gap: 16px; align-content: start; }
.step .shot { border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45); aspect-ratio: 16 / 10; }
.step .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.step .shot.phone-shot { position: relative; background: radial-gradient(70% 80% at 50% 30%, #3a2618, var(--surface)); }
.step .shot.phone-shot img { position: absolute; top: 6%; left: 50%; width: auto; height: 88%; transform: translateX(-50%); border-radius: 14px; object-fit: contain; box-shadow: 0 0 0 5px #0b0908, 0 20px 40px rgba(0, 0, 0, 0.5); }
.step h3::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 40px; height: 40px; margin-right: 12px; border-radius: 10px; background: var(--accent); color: var(--ink); font-size: 24px; vertical-align: 3px; }
.step p { margin: 0; color: var(--soft); }

/* Feature rows: screenshot + words */
.feature { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
.feature + .feature { margin-top: 110px; }
@media (min-width: 960px) { .feature { grid-template-columns: 1.25fr 1fr; } .feature.flip { grid-template-columns: 1fr 1.25fr; } .feature.flip .frame { order: 2; } }
.frame { border-radius: 16px; padding: 8px; background: #0b0908; box-shadow: 0 0 0 1px #2c2620, 0 36px 70px rgba(0, 0, 0, 0.5); }
.frame img { border-radius: 10px; }
.points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.points li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--soft); }
.points li::before { content: ''; width: 12px; height: 12px; margin-top: 8px; border-radius: 3px; background: var(--accent); }
.points strong { color: var(--text); }

/* Privacy diagram */
.flow { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: stretch; margin-top: 8px; }
@media (min-width: 900px) { .flow { grid-template-columns: 1fr auto 1fr auto 1fr; } }
.node { background: var(--surface); border-radius: 20px; padding: 26px; display: grid; gap: 10px; align-content: start; }
.node h3 { font-size: 26px; }
.node p { margin: 0; color: var(--soft); font-size: 16px; }
.node .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--raised); }
.node.cloud { background: transparent; box-shadow: inset 0 0 0 2px var(--line); }
.arrow { display: grid; place-items: center; gap: 6px; text-align: center; color: var(--muted); font-size: 14px; font-weight: 600; padding: 4px 0; }
.arrow svg { transform: rotate(90deg); }
@media (min-width: 900px) { .arrow svg { transform: none; } .arrow { width: 150px; } }
.arrow .no { color: var(--fault); }

/* Open source + stack */
.oss { display: grid; gap: 34px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .oss { grid-template-columns: 1fr 1.1fr; } }
pre.code { margin: 0; background: #0b0908; border-radius: 16px; padding: 24px; overflow-x: auto; font: 500 14.5px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #e7dfd4; box-shadow: 0 0 0 1px #2c2620; }
pre.code .k { color: #ff9a68; } pre.code .s { color: #9fd5c2; } pre.code .c { color: #8f867b; }
.stack { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.stack span { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border-radius: 10px; padding: 9px 14px; font-weight: 600; font-size: 15px; color: var(--soft); }
.stack span img, .btn img { display: inline-block; width: 18px; height: 18px; }
.inline-logo { display: inline-block; vertical-align: -2px; margin-right: 6px; }
.stack span.aws { box-shadow: inset 0 0 0 1.5px rgba(255, 122, 61, 0.55); color: var(--text); }

/* Closing call */
.cta { text-align: center; padding: 110px 0; background: radial-gradient(50% 70% at 50% 100%, rgba(255, 122, 61, 0.18), transparent 70%); }
.cta h2 { font-size: clamp(44px, 7vw, 86px); }
.cta-mark { margin: 0 auto 26px; border-radius: 24px; box-shadow: 0 24px 60px rgba(255, 122, 61, 0.25); }
.cta .actions { justify-content: center; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--faint); font-size: 15px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
.foot nav { display: flex; gap: 20px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }
