/* Coachtor site. Chalk look (decision 52): charcoal and chalk, one sky blue.
   Palette mirrors app/src/theme.ts. Status red is only ever a status. */

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/PublicSans_400Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/PublicSans_600SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #F1F3F5;
  --card: #FFFFFF;
  --border: #DDE2E7;
  --text: #0F1419;
  --muted: #56606B;
  --main: #0A64A8;
  --on-main: #FFFFFF;
  --red: #DC2626;
  --green: #15803D;
  --mark-stroke: #0F1419;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101317;
    --card: #1A1F26;
    --border: #232A33;
    --text: #F4F6F8;
    --muted: #A3ACB8;
    --main: #5CC8FF;
    --on-main: #101317;
    --red: #F87171;
    --green: #4ADE80;
    --mark-stroke: #F4F6F8;
  }
}
:root[data-theme="dark"] {
  --bg: #101317;
  --card: #1A1F26;
  --border: #232A33;
  --text: #F4F6F8;
  --muted: #A3ACB8;
  --main: #5CC8FF;
  --on-main: #101317;
  --red: #F87171;
  --green: #4ADE80;
  --mark-stroke: #F4F6F8;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 "Public Sans", -apple-system, "Helvetica Neue", Arial, sans-serif;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--main); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--main); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--main); color: var(--on-main); padding: 12px 16px; z-index: 10;
}
.skip:focus { left: 16px; top: 16px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

h1, h2, h3, .wm {
  font-family: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2rem, 8vw, 3.6rem); margin: 0 0 20px; }
h2 { font-size: clamp(1.45rem, 5vw, 2.2rem); margin: 0 0 16px; }
h3 { font-size: 1.1rem; margin: 0 0 8px; letter-spacing: -0.005em; }
p { margin: 0 0 16px; }

/* Header */
.top { border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
/* Logo: the C mark is the C of COACHTOR (Chris, 2026-10-01). The mark is cut
   to its drawn edges, sized to Inter's capitals, and sits one letter gap away. */
.brand { display: inline-flex; align-items: center; color: var(--text); text-decoration: none; min-height: 44px; font-size: 1.3rem; }
.brand svg { height: 0.76em; width: auto; flex: none; margin-right: 0.1em; }
.wm { font-size: 1em; letter-spacing: 0.03em; line-height: 1; }
.top nav a { font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 24px; border-radius: 12px;
  background: var(--main); color: var(--on-main);
  font-weight: 600; font-size: 1.05rem; text-decoration: none;
}
.btn:hover { filter: brightness(1.08); }
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: 0.95rem; }

.eyebrow {
  display: inline-block; font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--main); margin-bottom: 12px;
}
.lede { font-size: clamp(1.1rem, 3.2vw, 1.3rem); color: var(--muted); max-width: 40em; }
.fine { color: var(--muted); font-size: 0.95rem; }

/* Sections */
section { padding: 56px 0; }
@media (min-width: 720px) { section { padding: 88px 0; } }
section + section { border-top: 1px solid var(--border); }

.hero { padding-top: 48px; }
.hero .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 8px; }

.grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px;
}
.card p:last-child { margin-bottom: 0; }
.step {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--main); color: var(--main); font-weight: 600; margin-bottom: 14px;
}
.pill {
  display: inline-block; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.1em;
  padding: 4px 10px; border-radius: 999px; border: 1.5px solid var(--red); color: var(--red);
  vertical-align: middle;
}

/* Hero sample: a drafted check-in, the promise in one picture */
.sample { margin-top: 40px; max-width: 520px; }
.sample .card { padding: 20px; }
.sample .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.sample .who { font-weight: 600; }
.sample .draft { border-left: 3px solid var(--main); padding-left: 14px; color: var(--text); margin-bottom: 14px; }
.sample .actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sample .ghost { color: var(--muted); font-size: 0.95rem; }
.label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

ul.ticks { list-style: none; padding: 0; margin: 0; }
ul.ticks li { padding-left: 28px; position: relative; margin-bottom: 10px; }
ul.ticks li::before {
  content: ""; position: absolute; left: 4px; top: 0.55em;
  width: 10px; height: 10px; border-radius: 2px; background: var(--main); transform: rotate(45deg);
}

/* Owners */
.quote-line { font-family: "Inter", sans-serif; font-weight: 800; font-size: clamp(1.2rem, 3.6vw, 1.6rem); line-height: 1.3; margin: 0 0 20px; }

/* Pricing */
.price { font-family: "Inter", sans-serif; font-weight: 800; font-size: clamp(2rem, 7vw, 2.8rem); line-height: 1; margin: 8px 0 4px; }
.price small { font-family: "Public Sans", sans-serif; font-weight: 600; font-size: 1rem; color: var(--muted); }

/* Final call */
.final { text-align: left; }
.final .card { border-color: var(--main); }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 32px 0 48px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer nav a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; }

/* Long-form pages */
.doc { max-width: 720px; padding-top: 40px; padding-bottom: 64px; }
.doc h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
.doc h2 { font-size: clamp(1.15rem, 3.6vw, 1.45rem); margin-top: 40px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 0.97rem; }
.doc th, .doc td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.doc th { font-weight: 600; }
details { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 0 18px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; min-height: 52px; display: flex; align-items: center; padding: 12px 0; }
details[open] summary { border-bottom: 1px solid var(--border); margin-bottom: 12px; }
details p:last-child { margin-bottom: 16px; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* =========================================================================
   Home page, 2026-09-30: hero with the app, lift reel, before and after,
   the three standouts, owners, FAQ and the waitlist form.
   ========================================================================= */

:root {
  --frame: #15191F;
  --frame-edge: #2A313B;
  --glow: rgba(10, 100, 168, 0.14);
  --grid-line: rgba(15, 20, 25, 0.06);
  --tile: #FFFFFF;
  --shadow: 0 24px 60px -24px rgba(15, 20, 25, 0.35), 0 8px 20px -12px rgba(15, 20, 25, 0.25);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --frame: #050608;
    --frame-edge: #343C47;
    --glow: rgba(92, 200, 255, 0.14);
    --grid-line: rgba(244, 246, 248, 0.05);
    --shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.7), 0 10px 24px -12px rgba(0, 0, 0, 0.6);
  }
}
:root[data-theme="dark"] {
  --frame: #050608;
  --frame-edge: #343C47;
  --glow: rgba(92, 200, 255, 0.14);
  --grid-line: rgba(244, 246, 248, 0.05);
  --shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.7), 0 10px 24px -12px rgba(0, 0, 0, 0.6);
}

body.home { overflow-x: hidden; }
.home section[id] { scroll-margin-top: 72px; }
.home section + section { border-top: 0; }
.home .wrap { max-width: 1180px; }

/* Header: sticky, with section links on wider screens */
.home .top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
}
.links { display: none; gap: 28px; margin-left: auto; margin-right: 12px; }
.home .top .links a { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.home .top .links a:hover { color: var(--text); }
@media (min-width: 900px) { .links { display: flex; } }

/* Buttons */
.btn { transition: transform .15s ease, filter .15s ease, box-shadow .15s ease; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { box-shadow: 0 10px 24px -10px var(--main); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--border); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--text); filter: none; }
.btn-block { width: 100%; }
@media (max-width: 479px) { .cta-row .btn-ghost { display: none; } }

/* Hero */
.home .hero { position: relative; padding: 40px 0 72px; overflow: hidden; }
.chalkgrid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 30%, transparent 75%);
}
.hero-grid { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .home .hero { padding: 72px 0 104px; }
  .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 40px; }
}
.home h1 { font-size: clamp(2.1rem, 8.6vw, 3.5rem); line-height: 1.06; }
.hl { color: var(--main); position: relative; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.02em; height: 0.12em;
  background: var(--main); border-radius: 2px; opacity: .35; transform-origin: left;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 0.95rem; font-weight: 600; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--main); transform: rotate(45deg); flex: none; }

.hero-art { position: relative; display: flex; justify-content: center; padding: 8px 0 24px; }
.hero-art::before {
  content: ""; position: absolute; width: 120%; aspect-ratio: 1; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--glow) 0%, transparent 60%);
  pointer-events: none;
}

/* Phone frame, drawn in CSS: a generic rounded phone, no maker's artwork */
.phone {
  position: relative; margin: 0; width: min(100%, 300px);
  aspect-ratio: 560 / 1212; box-sizing: content-box;
  padding: 10px; border-radius: 48px;
  background: var(--frame);
  box-shadow: inset 0 0 0 1.5px var(--frame-edge), var(--shadow);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 38px; background: #101317; }
.phone-hero { width: min(70vw, 310px); }

.float {
  position: absolute; z-index: 3;
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--shadow);
}
.float-clip { left: max(0px, calc(50% - 260px)); bottom: 10%; width: 170px; padding: 8px; }
.float-clip .clip { border-radius: 12px; overflow: hidden; background: var(--tile); aspect-ratio: 16 / 9; }
.float-clip video { width: 100%; height: 100%; object-fit: cover; display: block; }
.float-cap { display: flex; flex-direction: column; padding: 8px 4px 2px; line-height: 1.25; }
.float-cap b { font-size: 0.9rem; }
.float-cap span { font-size: 0.78rem; color: var(--muted); }
.float-flag { right: max(0px, calc(50% - 260px)); top: 14%; width: 190px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; line-height: 1.3; }
.float-flag .pill { align-self: flex-start; font-size: 0.68rem; }
.float-flag b { font-family: "Inter", sans-serif; font-weight: 800; font-size: 1rem; }
.float-flag .fine { font-size: 0.82rem; }
.float-reply { left: -14%; right: -14%; bottom: 14%; padding: 16px 18px; }
.float-reply .label { color: var(--main); }
.float-reply p { margin: 8px 0 12px; font-size: 0.95rem; line-height: 1.45; border-left: 3px solid var(--main); padding-left: 12px; }
.mini-btn { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 10px; background: var(--main); color: var(--on-main); font-weight: 600; font-size: 0.88rem; }
@media (max-width: 440px) {
  .float-reply { left: -6%; right: -6%; }
  .float-clip { width: 136px; left: 0; bottom: 6%; }
  .float-flag { width: 156px; right: 0; top: 8%; padding: 12px; }
}

/* Lift reel */
.lifts { padding: 56px 0 64px; background: var(--card); border-block: 1px solid var(--border); }
.lifts-head { display: grid; gap: 8px 48px; align-items: end; margin-bottom: 28px; }
@media (min-width: 900px) { .lifts-head { grid-template-columns: 1.1fr 1fr; } }
.lifts-head h2 { margin: 0; }
.lifts-head .fine { margin: 0; max-width: 34em; }
.big { color: var(--main); }
.reel { overflow-x: auto; scrollbar-width: none; }
.reel::-webkit-scrollbar { display: none; }
.reel-track { list-style: none; margin: 0; padding: 4px 16px; display: flex; gap: 14px; width: max-content; }
.tile { position: relative; width: 240px; flex: none; border-radius: 16px; overflow: hidden; background: var(--tile); border: 1px solid var(--border); }
.tile video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--tile); }
.tile span {
  position: absolute; left: 10px; bottom: 10px; font-weight: 600; font-size: 0.82rem;
  background: rgba(15, 20, 25, 0.82); color: #F4F6F8; padding: 4px 10px; border-radius: 999px;
}
@media (min-width: 720px) { .tile { width: 300px; } }
/* The moving reel is only for people fine with motion. site.js adds a duplicate set and .is-moving. */
@media (prefers-reduced-motion: no-preference) {
  .reel.is-moving { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
  .reel.is-moving .reel-track { animation: reel 50s linear infinite; }
  .reel.is-moving:hover .reel-track { animation-play-state: paused; }
}
@keyframes reel { to { transform: translateX(-50%); } }

/* Before and after */
.ba { display: grid; gap: 16px; margin-top: 32px; align-items: stretch; }
@media (min-width: 900px) { .ba { grid-template-columns: 1fr 56px 1fr; } }
.ba-col { border-radius: 20px; padding: 28px 24px; border: 1.5px solid var(--border); }
.ba-before { border-style: dashed; color: var(--muted); }
.ba-after { background: var(--card); border-color: var(--main); box-shadow: 0 0 0 5px var(--glow); }
.ba-tag { display: inline-block; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.ba-after .ba-tag { color: var(--main); }
.ba ol { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.ba li { counter-increment: s; position: relative; padding-left: 40px; margin-bottom: 18px; }
.ba li:last-child { margin-bottom: 0; }
.ba li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 600; border: 1.5px solid currentColor;
}
.ba-after li::before { background: var(--main); color: var(--on-main); border-color: var(--main); }
.ba b { color: var(--text); }
.ba-arrow { display: grid; place-items: center; color: var(--main); }
.ba-arrow svg { width: 40px; height: 40px; transform: rotate(90deg); }
@media (min-width: 900px) { .ba-arrow svg { transform: none; } }

/* Standouts */
.visually-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.standouts { padding-top: 24px; }
.feature { display: grid; gap: 36px; align-items: center; justify-items: center; padding: 40px 0; }
.feature + .feature { border-top: 1px solid var(--border); }
.feature-copy { max-width: 520px; justify-self: start; }
.feature h3 { font-size: clamp(1.4rem, 4.6vw, 2.1rem); line-height: 1.12; margin-bottom: 16px; }
.feature h3 .pill { font-family: "Public Sans", sans-serif; font-size: 0.5em; vertical-align: 0.3em; }
.feature p { color: var(--muted); font-size: 1.08rem; }
.feature p.fine { font-size: 0.95rem; }
.num { display: block; font-family: "Inter", sans-serif; font-weight: 800; color: var(--main); font-size: 0.95rem; letter-spacing: 0.1em; margin-bottom: 10px; }
.feature .phone { width: min(66vw, 280px); }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 64px; padding: 56px 0; }
  .feature-flip .feature-copy { order: 2; }
  .feature-flip .phone { order: 1; }
}

/* Tools */
.tools { background: var(--card); border-block: 1px solid var(--border); }
.desk { display: grid; gap: 28px; margin: 32px 0 64px; align-items: center; }
@media (min-width: 960px) { .desk { grid-template-columns: 1.8fr 1fr; gap: 48px; } }
.browser { border-radius: 14px; overflow: hidden; background: var(--frame); box-shadow: inset 0 0 0 1.5px var(--frame-edge), var(--shadow); padding: 0 6px 6px; }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 8px; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3A424D; }
.browser-bar span { margin-left: 12px; color: #A3ACB8; font-size: 0.78rem; font-weight: 600; }
.browser img { width: 100%; height: auto; border-radius: 8px; }
.desk-copy p { color: var(--muted); }
.desk-copy h3 { font-size: 1.35rem; }
.duo { display: grid; gap: 48px; margin-bottom: 56px; }
@media (min-width: 760px) { .duo { grid-template-columns: 1fr 1fr; } }
.duo-item { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.duo-item .phone { width: min(62vw, 260px); }
.duo-item figcaption { color: var(--muted); max-width: 26em; text-align: center; }
.duo-item figcaption b { display: block; color: var(--text); font-family: "Inter", sans-serif; font-size: 1.05rem; margin-bottom: 6px; }
.ticks-2 { display: grid; gap: 4px 32px; }
@media (min-width: 760px) { .ticks-2 { grid-template-columns: 1fr 1fr; } }

/* What's new: feature cards, each with an honest status tag */
.news { margin-top: 32px; }
.news-card { display: flex; flex-direction: column; align-items: flex-start; }
.news-card h3 { font-size: 1.12rem; line-height: 1.25; margin: 14px 0 10px; }
.news-card p { color: var(--muted); }
.news-card p.fine { font-size: 0.92rem; }
.news-hero { border-color: var(--main); box-shadow: 0 0 0 5px var(--glow); }
.news-hero h3 { font-size: clamp(1.3rem, 3.6vw, 1.7rem); }
@media (min-width: 720px) {
  .news-hero { grid-column: span 2; grid-row: span 2; padding: 32px; }
  .news-wide { grid-column: span 2; }
}
.news-date { font-size: 1.05rem; margin: 40px 0 0; color: var(--muted); letter-spacing: 0.02em; }
.news-date + .news { margin-top: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.news-split { display: grid; gap: 24px; align-items: start; width: 100%; }
.news-split .phone { width: min(60vw, 220px); justify-self: center; padding: 7px; border-radius: 34px; }
.news-split .phone img { border-radius: 27px; }
@media (min-width: 900px) { .news-split { grid-template-columns: 1fr 220px; } }
.shot { margin-top: auto; padding-top: 16px; width: 100%; }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 560 / 520; object-fit: cover; object-position: top; border-radius: 14px; border: 1px solid var(--border); }
.news-browser { margin-top: 16px; width: 100%; }
@media (min-width: 720px) { .news-hero.news-hero-row { grid-row: auto; } }

/* The workout, start to finish: four phones in a row at a desk, two by two on a phone */
.flow-head { font-size: clamp(1.3rem, 3.6vw, 1.7rem); margin: 0 0 8px; }
.flow-lede { color: var(--muted); max-width: 40em; margin-bottom: 28px; }
.flow { list-style: none; padding: 0; margin: 0 0 64px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 14px; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.flow li { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.flow .phone { width: calc(100% - 12px); max-width: 240px; padding: 6px; border-radius: 30px; }
.flow .phone img { border-radius: 24px; }
.flow p { color: var(--muted); font-size: 0.92rem; text-align: center; max-width: 17em; margin: 0; }
.flow p b { display: block; color: var(--text); font-family: "Inter", sans-serif; font-size: 0.95rem; margin-bottom: 4px; }
.hr { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; width: 100%; }
.hr-watch {
  width: 168px; aspect-ratio: 4 / 5; border-radius: 38px; background: #050608; color: #F4F6F8;
  box-shadow: inset 0 0 0 5px #2A313B, var(--shadow);
  display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 22px 20px;
}
.hr-lift { font-size: 0.72rem; color: #A3ACB8; font-weight: 600; }
.hr-bpm { font-size: 0.85rem; color: #A3ACB8; }
.hr-bpm b { font-family: "Inter", sans-serif; font-size: 2.4rem; color: #5CC8FF; line-height: 1; margin-right: 2px; }
.hr-rest { font-weight: 600; font-size: 0.9rem; }
.hr-zones { flex: 1; min-width: 200px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.hr-z { height: 14px; border-radius: 4px; background: var(--border); }
.hr-z.on { background: var(--main); box-shadow: 0 0 0 4px var(--glow); }
.hr-cap { grid-column: 1 / -1; color: var(--muted); font-size: 0.9rem; font-weight: 600; margin-top: 6px; }
.tag {
  display: inline-block; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; border: 1.5px solid var(--border); color: var(--muted);
}
.tag-live { border-color: var(--green); color: var(--green); }
.tag-test { border-color: var(--main); color: var(--main); }

/* Owners */
.owners-grid { display: grid; gap: 48px; align-items: center; justify-items: center; }
@media (min-width: 900px) { .owners-grid { grid-template-columns: 1.2fr 0.8fr; } }
.owners-copy { justify-self: start; }
.owners .phone { width: min(66vw, 280px); }
.points { margin: 28px 0; display: grid; gap: 18px; }
.points div { border-left: 3px solid var(--main); padding-left: 16px; }
.points dt { font-weight: 600; font-size: 1.08rem; }
.points dd { margin: 4px 0 0; color: var(--muted); }

/* Pricing */
#pricing { background: var(--card); border-block: 1px solid var(--border); }
#pricing .card { background: var(--bg); }
.price-card { border-color: var(--main); padding: 24px; display: flex; flex-direction: column; align-items: flex-start; }
@media (min-width: 720px) { .price-card { padding: 32px; } }
.price-card h3 { margin: 10px 0 4px; }
.price-card .price { margin: 8px 0 16px; }
.price-card .btn { margin-top: auto; align-self: stretch; }
.price-card > .fine, .price-card > ul { margin-bottom: 24px; }
.plans { align-items: stretch; }
.plans-foot { margin: 20px 0 0; }
.tiers { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-variant-numeric: tabular-nums; }
.tiers caption { text-align: left; caption-side: top; margin-bottom: 8px; }
.tiers th, .tiers td { padding: 10px 0; border-bottom: 1px solid var(--border); text-align: left; }
.tiers thead th { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 0; }
.tiers tbody th { font-weight: 600; }
.tiers td { text-align: right; font-family: "Inter", sans-serif; font-weight: 800; }
.tiers thead th:last-child { text-align: right; }
.tiers td a { font-family: "Public Sans", sans-serif; font-weight: 600; }
.owner-gets { font-weight: 600; margin: 0 0 12px; }
.price-card .ticks li { color: var(--muted); }
.price-card .ticks b { color: var(--text); }
.price-gym .ticks .tag { margin-left: 4px; font-size: 0.62rem; padding: 2px 8px; vertical-align: 1px; }

/* FAQ */
.faq { display: grid; gap: 24px 64px; }
@media (min-width: 900px) { .faq { grid-template-columns: 0.8fr 1.2fr; } }
.faq-list details[open] { border-color: var(--main); }
.faq-list summary { list-style: none; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--main); line-height: 1; flex: none; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list p { color: var(--muted); }

/* Join */
.join { padding-bottom: 96px; }
.join-card {
  position: relative; display: grid; gap: 32px;
  background: var(--card); border: 1.5px solid var(--main); border-radius: 24px;
  padding: 28px 20px; box-shadow: 0 0 0 6px var(--glow);
}
@media (min-width: 720px) { .join-card { padding: 48px; } }
@media (min-width: 960px) { .join-card { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.join-copy p { color: var(--muted); font-size: 1.08rem; }
.join-copy .facts { margin-top: 20px; }
.join-clip { display: none; margin-top: 32px; border-radius: 16px; overflow: hidden; background: var(--tile); border: 1px solid var(--border); max-width: 420px; }
.join-clip video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 960px) { .join-clip { display: block; } }
.signup { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 0.95rem; padding: 0; }
.field legend { margin-bottom: 6px; }
.opt { color: var(--muted); font-weight: 400; }
.signup input[type="text"], .signup input[type="email"], .signup input[type="number"] {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--border); background: var(--bg); color: var(--text);
  font: inherit; font-size: 1.05rem;
}
.signup input:focus { outline: none; border-color: var(--main); box-shadow: 0 0 0 4px var(--glow); }
.signup input[aria-invalid="true"] { border-color: var(--red); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span {
  display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 8px;
  border-radius: 12px; border: 1.5px solid var(--border); font-weight: 600; text-align: center; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.seg input:checked + span { border-color: var(--main); background: var(--glow); }
.seg input:focus-visible + span { outline: 3px solid var(--main); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; color: var(--red); font-weight: 600; }
.form-msg:empty { display: none; }
.form-msg a { color: inherit; }
.small { font-size: 0.85rem; margin: 0; }
.signup button[disabled] { opacity: .7; cursor: progress; }
.done { text-align: center; padding: 24px 8px; align-self: center; }
.done[hidden] { display: none; }
.done:focus { outline: none; }
.done svg { width: 64px; height: 64px; margin: 0 auto 16px; color: var(--green); }
.done h3 { font-size: 1.5rem; }
.done p { color: var(--muted); }

.home footer .wrap { max-width: 1180px; }

/* Motion: reveal on scroll and a gentle float. Off for anyone who asks for less motion. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal.in { opacity: 1; transform: none; }
  .phone-hero { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .float-clip { animation: rise .9s .25s cubic-bezier(.2, .7, .2, 1) both, bob 7s 1.2s ease-in-out infinite; }
  .float-flag { animation: rise .9s .45s cubic-bezier(.2, .7, .2, 1) both, bob 8s 1.6s ease-in-out infinite reverse; }
  .hero-copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .06s; }
  .hero-copy > *:nth-child(3) { animation-delay: .12s; }
  .hero-copy > *:nth-child(4) { animation-delay: .18s; }
  .hero-copy > *:nth-child(5) { animation-delay: .24s; }
  .hl::after { animation: underline .8s .6s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Help center (site/help/) */
.help-nav { display: flex; gap: 20px; }
.crumbs { font-size: 0.95rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { font-weight: 600; text-decoration: none; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 8px 0 24px; }
.steps li { counter-increment: step; position: relative; padding: 14px 16px 14px 60px; margin-bottom: 10px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; }
.steps li::before {
  content: counter(step); position: absolute; left: 14px; top: 12px;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--main); color: var(--on-main); font-weight: 600; font-size: 0.95rem;
}
.help .doc h2 { font-size: 1.05rem; margin: 28px 0 8px; }
.related { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); }
.related a { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.stuck { margin-top: 40px; background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--main); border-radius: 12px; padding: 18px 20px 4px; }
.help .doc .stuck h2 { margin-top: 0; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 8px; }
.jump a { font-weight: 600; text-decoration: none; border: 1.5px solid var(--border); border-radius: 999px; padding: 8px 14px; min-height: 44px; display: inline-flex; align-items: center; color: var(--text); }
.jump a:hover { border-color: var(--main); }
.help-sec { padding: 0; }
section.help-sec + section.help-sec { border-top: 0; }
.help .doc .help-sec h2 { font-size: clamp(1.15rem, 3.6vw, 1.45rem); margin: 40px 0 4px; }
.help-list { list-style: none; padding: 0 !important; margin: 12px 0 0; display: grid; gap: 10px; }
.help-list li { margin: 0 !important; }
.help-list a { display: block; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; text-decoration: none; color: var(--text); }
.help-list a:hover { border-color: var(--main); }
.help-list .t { display: block; font-weight: 600; color: var(--main); }
.help-list .d { display: block; color: var(--muted); font-size: 0.95rem; margin-top: 2px; }
@media (min-width: 720px) { .help-list { grid-template-columns: 1fr 1fr; } }

/* =========================================================================
   Switch to Coachtor (site/switch/), 2026-10-01: app picker, one page per
   app, and the comparison map. Amber means "does not come over", never red.
   ========================================================================= */

:root { --amber: #B45309; --amber-bg: #FEF3C7; --green-bg: #DCFCE7; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --amber: #FBBF24; --amber-bg: rgba(251, 191, 36, 0.12); --green-bg: rgba(74, 222, 128, 0.12); }
}
:root[data-theme="dark"] { --amber: #FBBF24; --amber-bg: rgba(251, 191, 36, 0.12); --green-bg: rgba(74, 222, 128, 0.12); }

.switch { overflow-x: hidden; }
.switch .doc { max-width: 760px; }
.switch .doc h2 { margin-top: 48px; }
.switch .lede { margin-bottom: 24px; }
.switch .status-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--muted); font-size: 0.95rem; margin: 0 0 8px; }

/* Picker: five big tap cards, the app's name as plain text */
.pick { list-style: none; padding: 0 !important; margin: 8px 0 24px; display: grid; gap: 12px; }
@media (min-width: 640px) { .pick { grid-template-columns: 1fr 1fr; } }
.pick li { margin: 0 !important; }
.pick a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 84px; padding: 18px 22px; border-radius: 16px;
  background: var(--card); border: 1.5px solid var(--border); color: var(--text); text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pick a:hover, .pick a:focus-visible { border-color: var(--main); box-shadow: 0 0 0 5px var(--glow); }
.pick .from { display: block; font-size: 0.85rem; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; }
.pick .name { display: block; font-family: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif; font-weight: 800; font-size: 1.3rem; line-height: 1.15; }
.pick .go { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--main); color: var(--on-main); }
.pick .go svg { width: 20px; height: 20px; }
.more-link { font-weight: 600; font-size: 1.05rem; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }

/* Three big numbered steps */
.bigsteps { list-style: none; padding: 0 !important; margin: 8px 0 0; counter-reset: bs; display: grid; gap: 14px; }
.bigsteps li { counter-increment: bs; position: relative; margin: 0 !important; padding: 20px 20px 20px 84px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; min-height: 96px; }
.bigsteps li::before {
  content: counter(bs); position: absolute; left: 18px; top: 18px;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--main); color: var(--on-main);
  font-family: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif; font-weight: 800; font-size: 1.3rem;
}
.bigsteps h3 { font-size: 1.15rem; margin: 2px 0 6px; }
.bigsteps p { color: var(--muted); margin: 0 0 6px; }
.bigsteps p:last-child { margin-bottom: 0; }

/* What comes over */
.over { list-style: none; padding: 0 !important; margin: 8px 0 0; display: grid; gap: 10px; }
.over li { margin: 0 !important; display: grid; grid-template-columns: 36px 1fr; gap: 4px 14px; align-items: start; padding: 16px 18px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--card); }
.over .ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; grid-row: span 2; }
.over .ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.over .ok .ic { background: var(--green-bg); color: var(--green); }
.over .warn .ic { background: var(--amber-bg); color: var(--amber); }
.over .ok { border-color: var(--green); }
.over .warn { border-color: color-mix(in srgb, var(--amber) 55%, var(--border)); }
.over b { font-size: 1.05rem; }
.over .st { font-weight: 600; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; margin-left: 8px; }
.over .ok .st { color: var(--green); }
.over .warn .st { color: var(--amber); }
.over p { grid-column: 2; margin: 0; color: var(--muted); }

/* Short side by side on each app page */
.vs { width: 100%; border-collapse: separate; border-spacing: 0; margin: 8px 0 0; background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; font-size: 0.97rem; }
.vs th, .vs td { padding: 12px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.vs tr:last-child th, .vs tr:last-child td { border-bottom: 0; }
.vs thead th { font-weight: 600; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.vs tbody th { font-weight: 600; width: 38%; }
.vs .us { background: var(--glow); }
.vs .mk { display: inline-block; vertical-align: -6px; margin-right: 6px; }
.vs small { display: block; color: var(--muted); font-size: 0.85rem; line-height: 1.35; margin-top: 4px; }

/* Marks: green check, half circle, gray dash */
.mk { width: 24px; height: 24px; flex: none; }
.mk-yes circle { fill: var(--green); }
.mk-yes path { fill: none; stroke: var(--on-main); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.mk-part circle { fill: none; stroke: var(--amber); stroke-width: 2.4; }
.mk-part path { fill: var(--amber); }
.mk-no path { fill: none; stroke: var(--muted); stroke-width: 2.6; stroke-linecap: round; opacity: .7; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.cta-box { margin-top: 48px; padding: 24px; border-radius: 20px; background: var(--card); border: 1.5px solid var(--main); box-shadow: 0 0 0 5px var(--glow); }
.cta-box h2 { margin-top: 0 !important; }
.cta-box p { color: var(--muted); }
.cta-box .btn { width: 100%; }
@media (min-width: 560px) { .cta-box .btn { width: auto; } }
.owners-note { margin-top: 32px; font-size: 0.88rem; }

/* The comparison map: scrolls sideways in its own box, feature column stays put */
.switch .doc.wide { max-width: 1180px; }
.stamp { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--main); color: var(--main); margin: 0 0 20px; }
.stamp svg { width: 16px; height: 16px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0 !important; margin: 0 0 16px; color: var(--muted); font-size: 0.92rem; }
.legend li { display: inline-flex; align-items: center; gap: 8px; margin: 0 !important; }
.legend .mk { width: 20px; height: 20px; }
.map-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: 16px; background: var(--card); overscroll-behavior-x: contain; }
.map-scroll:focus-visible { outline-offset: 2px; }
.map { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 860px; font-size: 0.93rem; }
.map th, .map td { padding: 12px 10px; border-bottom: 1px solid var(--border); text-align: center; vertical-align: top; }
.map tbody tr:last-child th, .map tbody tr:last-child td { border-bottom: 0; }
.map thead th { font-weight: 600; font-size: 0.85rem; white-space: nowrap; padding-top: 16px; }
.map thead th .tag { display: block; width: max-content; margin: 6px auto 0; font-size: 0.62rem; padding: 2px 8px; }
.map .feat { position: sticky; left: 0; z-index: 1; background: var(--card); text-align: left; font-weight: 600; width: 168px; min-width: 150px; max-width: 190px; box-shadow: 1px 0 0 var(--border); }
.map thead .feat { z-index: 2; color: var(--muted); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.map .us { background: color-mix(in srgb, var(--main) 9%, var(--card)); }
.map thead .us { color: var(--main); }
.map td { position: relative; }
.map td .mk { margin: 0 auto; }
.map td small { display: block; color: var(--muted); font-size: 0.78rem; line-height: 1.3; margin-top: 6px; }
.map .price-row td { font-weight: 600; font-size: 0.85rem; line-height: 1.35; }
.map .price-row td.us { color: var(--main); }
.map .price-row th, .map .price-row td { border-bottom: 2px solid var(--border); }
.scroll-hint { color: var(--muted); font-size: 0.88rem; margin: 10px 0 0; }
@media (min-width: 1000px) { .scroll-hint { display: none; } }

/* Phone menu, back to top, and the short What's new (Chris, 2026-10-01:
   the phone page was hard to get around and hard to get back to the top). */
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; margin-left: 8px; padding: 0; border-radius: 12px;
  background: var(--card); border: 1px solid var(--border); color: var(--text); cursor: pointer;
}
.menu-btn svg { width: 22px; height: 22px; }
.home .top .btn-sm { margin-left: 0; }
/* Sign in, in the header on phone and desktop (PLAN 2.1, 2026-10-08). */
.home .top .signin { margin-left: auto; color: var(--text); font-weight: 600; font-size: 0.95rem; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 4px; white-space: nowrap; }
.home .top .signin:hover { text-decoration: underline; }
.invited { margin: 16px 0 0; color: var(--muted); }
.invited a { font-weight: 600; }
.start-grid { margin-top: 24px; }
.start-grid h3 { margin-top: 0; }
@media (max-width: 899px) {
  .home .top .links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0; padding: 4px 16px 12px;
    background: var(--card); border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  }
  .home .top.open .links { display: flex; }
  .home .top .links a { color: var(--text); font-size: 1.05rem; min-height: 52px; border-bottom: 1px solid var(--border); }
  .home .top .links a:last-child { border-bottom: 0; }
}
@media (max-width: 400px) { .home .top .btn-sm { padding: 10px 12px; font-size: 0.9rem; } .brand { font-size: 1.15rem; } }
@media (max-width: 479px) { .xs-hide { display: none; } }
@media (min-width: 900px) { .menu-btn { display: none; } .home .top .signin { margin-left: 0; } }

.to-top {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 30;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--main); color: var(--on-main); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; }

.whatsnew-short .news-list { list-style: none; margin: 8px 0 20px; padding: 0; display: grid; gap: 12px; max-width: 46em; }
.whatsnew-short .news-list li { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; color: var(--muted); }
.whatsnew-short .news-list b { color: var(--text); }
.news-page .news-top { padding-top: 40px; }
.news-page .news-top h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
.news-cta .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.news-cta .lede { margin: 0; }
.limits-card { margin-top: 20px; padding: 24px; }
@media (min-width: 720px) { .limits-card { padding: 32px; } }
