/* Display face for the wordmark and headings: Bricolage Grotesque (SIL OFL, self-hosted, see shared/fonts/). Body text stays the system font. */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-style: normal; font-display: swap; src: url(/assets/fonts/bricolage-grotesque-latin-700-normal.woff2?v=4c373ce3c1) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-style: normal; font-display: swap; src: url(/assets/fonts/bricolage-grotesque-latin-800-normal.woff2?v=3e1b5f0a56) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root { --display: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }

/* Shared by every app site. No external fonts or scripts: nothing is loaded from anyone else. */
:root {
  --bg: #f4f6fb;
  --surface: #ffffff;
  --text: #121a2f;
  --muted: #5a6478;
  --line: #dde3ee;
  --accent: #1a5fd0;
  --accent-text: #ffffff;
  --hero-from: #0b1640;
  --hero-to: #1d4ed8;
  --hero-text: #ffffff;
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0f1f;
    --surface: #131a2e;
    --text: #e9edf6;
    --muted: #9aa5bd;
    --line: #232c45;
    --accent: #4c8dff;
    --accent-text: #0a0f1f;
    --hero-from: #0b1640;
    --hero-to: #173a9e;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); }
img { max-width: 100%; height: auto; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
  padding: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.35rem;
  text-decoration: none;
}
.brand span { font-family: var(--display); letter-spacing: -0.03em; transform: skewX(-8deg); display: inline-block; padding-right: 0.06em; }
.brand img { border-radius: 9px; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: flex-end; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--text); }

main { max-width: 880px; margin: 0 auto; padding: 0 16px 48px; }

.hero {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 40px 32px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--hero-from), var(--hero-to));
  color: var(--hero-text);
  margin-bottom: 32px;
}
.hero img { width: 128px; height: 128px; border-radius: 28px; flex: none; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }
.hero h1 { margin: 0 0 6px; font-size: 2.4rem; line-height: 1.1; }
.hero p { margin: 0; font-size: 1.15rem; opacity: 0.92; }
.hero .store { margin-top: 18px; }
.button {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #0b1640;
  font-weight: 600;
  text-decoration: none;
}
.soon { display: inline-block; margin-top: 18px; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 999px; font-size: 0.95rem; }

.content {
  overflow-wrap: anywhere;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 32px 24px;
}
.content h1 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; font-size: 2rem; line-height: 1.2; margin: 24px 0 8px; }
.content h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; font-size: 1.3rem; margin: 28px 0 6px; }
.content ul { padding-left: 1.2em; }
.content li { margin: 6px 0; }
.content .updated { color: var(--muted); font-size: 0.95rem; }

.site-footer {
  overflow-wrap: anywhere;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 16px 40px;
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer a { color: var(--muted); }

@media (max-width: 600px) {
  .hero { flex-direction: column; text-align: center; padding: 28px 20px; gap: 16px; }
  .hero img { width: 96px; height: 96px; border-radius: 22px; }
  .hero h1 { font-size: 2rem; }
  .content { padding: 4px 18px 18px; }
}

/* ---------- Home page (designed): .home-page ---------- */
.home-page main { max-width: none; padding: 0; }
.home-page .site-header { max-width: 1120px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 680px; text-align: center; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; font-size: 1rem; line-height: 1.2; cursor: pointer; }
.btn.primary { background: #ffffff; color: #0b1640; }
.btn.primary:hover { background: #e8eefc; }
.btn.ghost { border-color: rgba(255, 255, 255, 0.7); color: #ffffff; background: transparent; }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.14); }
.band .btn.primary, .download .btn.primary { background: var(--accent); color: var(--accent-text); }

.home-hero { position: relative; overflow: hidden; isolation: isolate; color: #ffffff; background: #0b1640 var(--hero-poster) center / cover no-repeat; min-height: min(82vh, 760px); display: flex; align-items: center; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 12, 34, 0.86) 0%, rgba(6, 12, 34, 0.62) 48%, rgba(6, 12, 34, 0.18) 100%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 32px; align-items: center; padding-top: 56px; padding-bottom: 56px; width: 100%; }
.eyebrow { margin: 0 0 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.85rem; color: #b9ccff; }
.home-hero h1 { font-family: var(--display); font-weight: 800; letter-spacing: -0.025em; margin: 0 0 16px; font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.05; text-wrap: balance; }
.home-hero .lead { margin: 0 0 24px; font-size: 1.2rem; max-width: 36em; color: #e6ecfb; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.soon-badge { margin: 14px 0 0; font-size: 0.95rem; color: #cfdaf6; }
.payoff { margin: 22px 0 0; padding-left: 14px; border-left: 3px solid #5b8cff; max-width: 34em; font-size: 1rem; color: #e6ecfb; }
.hero-device { display: flex; justify-content: center; }
.video-toggle { position: absolute; right: 16px; bottom: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.6); background: rgba(6, 12, 34, 0.55); color: #fff; font-weight: 700; cursor: pointer; }

.device img { display: block; width: 100%; height: auto; }
.device.phone { width: min(260px, 100%); padding: 7px; border-radius: 40px; background: #0b0b10; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 0 0 2px #2a2a33; }
.device.phone img { border-radius: 33px; }
.device.watch { width: 150px; padding: 6px; border-radius: 38px; background: #0b0b10; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35), inset 0 0 0 2px #2a2a33; }
.device.watch img { border-radius: 32px; }

.proof { background: var(--surface); border-bottom: 1px solid var(--line); }
.proof ul { list-style: none; margin: 0 auto; padding: 22px 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.proof li { display: flex; flex-direction: column; gap: 2px; }
.proof strong { font-size: 1.05rem; }
.proof span { color: var(--muted); font-size: 0.95rem; }

.band, .voice, .zones, .maker, .download { padding: 72px 0; }
.band:nth-of-type(odd) { background: transparent; }
h2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.15; margin: 0 0 12px; text-wrap: balance; }
.section-lead { font-size: 1.1rem; color: var(--muted); max-width: 40em; margin: 0 0 28px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; }
.step-device { display: flex; justify-content: center; margin-bottom: 18px; min-height: 260px; align-items: center; }
.step-device .device.phone { width: min(190px, 100%); padding: 6px; border-radius: 32px; }
.step-device .device.phone img { border-radius: 26px; }
.step h3 { font-family: var(--display); font-weight: 700; margin: 0 0 6px; font-size: 1.15rem; }
.step .num { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 8px; border-radius: 50%; background: var(--accent); color: var(--accent-text); font-size: 0.9rem; }
.step p { margin: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.split.reverse { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.photo { width: 100%; height: auto; border-radius: var(--radius); display: block; object-fit: cover; }
.voice .photo { max-height: 560px; }
.cue { margin: 0 0 22px; padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.cue figcaption { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.cue blockquote { font-family: var(--display); margin: 6px 0 12px; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em; }
.play { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; border: 0; background: var(--accent); color: var(--accent-text); font: inherit; font-weight: 600; cursor: pointer; }
.play-icon { width: 0; height: 0; border-left: 12px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.play[aria-pressed="true"] .play-icon { width: 12px; height: 14px; border: 0; background: currentColor; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 28px; margin: 10px 0; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 0.5em; width: 8px; height: 14px; border: solid var(--accent); border-width: 0 3px 3px 0; transform: translateY(-30%) rotate(40deg); }

.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.card h3 { font-family: var(--display); font-weight: 700; margin: 0; font-size: 1.15rem; }
.card .meta { color: var(--accent); font-weight: 600; font-size: 0.9rem; }
.card p { margin: 0; color: var(--muted); }

.zone-chips { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.zone-chips li { padding: 6px 14px; border-radius: 999px; color: #111; font-weight: 600; font-size: 0.95rem; }
.zone-chips b { margin-right: 4px; }
.z1 { background: #64d2ff; } .z2 { background: #30d158; } .z3 { background: #ffd60a; } .z4 { background: #ff9f0a; } .z5 { background: #ff6961; }
.zones h3 { font-family: var(--display); font-weight: 700; margin: 22px 0 4px; font-size: 1.15rem; }
.zones p { margin: 0; color: var(--muted); }
.duo { display: flex; gap: 20px; justify-content: center; align-items: center; }
.duo .photo.wide { width: 46%; aspect-ratio: 3 / 4; }
.duo .device.phone { width: 50%; }

.privacy-band { position: relative; padding: 88px 0; color: #ffffff; background: #0b1640 var(--privacy-photo) center / cover no-repeat; isolation: isolate; }
.privacy-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 12, 34, 0.9), rgba(6, 12, 34, 0.55)); z-index: -1; }
.privacy-band .section-lead { color: #e6ecfb; }
.privacy-band .ticks li::before { border-color: #8fb2ff; }
.privacy-band .btn.ghost { margin-top: 12px; }

.maker p, .download p { font-size: 1.1rem; }
.maker .sign { color: var(--muted); font-size: 1rem; }
.maker h3, .journey-title { font-family: var(--display); font-weight: 700; font-size: 1.15rem; margin: 28px 0 4px; }
.price .ticks li, .journey li { font-size: 1.05rem; }
.doubt { background: var(--surface); }
/* The price block holds lists: left aligned, unlike the centred maker text it borrows its spacing from. */
.price, .price .wrap { text-align: left; }
.price h2 { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Free and Kadans Coach side by side; two narrow value columns, so it fits at 360 px without scrolling. */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; margin: 24px 0 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 12px 10px; border-top: 1px solid var(--line); vertical-align: middle; }
.compare thead th { border-top: 0; font-family: var(--display); font-weight: 700; font-size: 0.95rem; line-height: 1.2; }
.compare thead th + th, .compare td { width: 5.5em; text-align: center; }
.compare tbody th { text-align: left; font-weight: 400; font-size: 1rem; line-height: 1.35; overflow-wrap: break-word; }
.compare td.value { font-weight: 700; font-size: 1.05rem; }
.compare .mark { display: inline-block; vertical-align: middle; }
.compare .mark.yes { width: 8px; height: 14px; border: solid var(--accent); border-width: 0 3px 3px 0; transform: translateY(-2px) rotate(40deg); }
.compare .mark.no { width: 12px; height: 2px; background: var(--muted); }
@media (max-width: 480px) {
  .compare th, .compare td { padding: 10px 6px; }
  .compare thead th + th, .compare td { width: 4.6em; }
  .compare tbody th { font-size: 0.95rem; }
}
.download { background: var(--surface); border-top: 1px solid var(--line); }
.download img { border-radius: 22px; margin-bottom: 8px; }

@media (max-width: 800px) {
  .proof ul { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 28px; }
  .voice .photo { max-height: 380px; }
  .band, .voice, .zones, .maker, .download { padding: 48px 0; }
  .privacy-band { padding: 56px 0; }
}
@media (max-width: 700px) {
  .home-hero { background-image: var(--hero-poster-mobile, var(--hero-poster)); min-height: 78vh; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-device { display: none; }
  .hero-shade { background: linear-gradient(180deg, rgba(6, 12, 34, 0.35) 0%, rgba(6, 12, 34, 0.78) 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video, .video-toggle { display: none !important; }
}

/* polish */
.zone-chips { margin-top: 18px; }
.privacy-band { padding: 110px 0; background-position: center 62%; }
.site-footer { padding-top: 28px; }
.home-page .site-footer { max-width: 1120px; padding-left: 20px; padding-right: 20px; }
@media (max-width: 800px) {
  .step-device { min-height: 0; }
  .step { padding: 20px; }
  .privacy-band { padding: 64px 0; }
  .site-header nav { gap: 2px 12px; }
}
.video-toggle::before { content: ""; display: block; margin: auto; width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; box-sizing: border-box; }
.video-toggle.is-paused::before { width: 0; height: 0; border: 0; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }

/* The explaining picture at the top of the help page: dark like the watch, full width, tap for full size. */
.help-figure { margin: 24px 0 32px; }
.help-figure a { display: block; border-radius: var(--radius); overflow: hidden; background: #0a0f1f; }
.help-figure img { display: block; width: 100%; height: auto; }
.help-figure figcaption { margin-top: 6px; font-size: 0.9rem; color: var(--muted); }

/* The exercises page under help: a square picture per exercise with its name and the sentence the voice says. */
.exercises { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 20px; margin: 12px 0 28px; }
@media (max-width: 480px) { .exercises { grid-template-columns: 1fr; } }
.exercise { margin: 0; }
.exercise img { display: block; width: 100%; height: auto; border-radius: var(--radius); background: var(--line); }
.exercise figcaption { margin-top: 8px; color: var(--muted); }
.exercise figcaption strong { display: block; color: var(--text); }

/* Schedule pages, the schedule overview and help articles (task 020). */
.crumbs { margin: 16px 0 0; font-size: 0.9rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.content h3 { font-family: var(--display); font-weight: 700; font-size: 1.1rem; margin: 22px 0 4px; }
.facts { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.content .facts li { margin: 0; padding: 4px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 0.95rem; font-weight: 600; }
.table-wrap { overflow-x: auto; margin: 12px 0 20px; }
.content table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.content th, .content td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.content thead th { font-family: var(--display); font-weight: 700; border-bottom-width: 2px; }
.schedule tbody th { white-space: nowrap; }
.schedule .phase th { padding-top: 18px; font-family: var(--display); font-weight: 700; color: var(--accent); border-bottom: 0; }
.schedule .recovery { display: block; font-weight: 400; font-size: 0.85rem; color: var(--muted); }
.schedule .total { white-space: nowrap; text-align: right; }
.content .note, .content .updated { color: var(--muted); font-size: 0.95rem; }
.tip { padding: 12px 16px; border-left: 4px solid var(--accent); background: var(--bg); border-radius: 0 12px 12px 0; }
.cta { margin: 32px 0; padding: 4px 24px 20px; border-radius: var(--radius); background: linear-gradient(135deg, var(--hero-from), var(--hero-to)); color: var(--hero-text); }
.cta h2 { color: var(--hero-text); }
.cta .button { background: #ffffff; color: #0b1640; }
.cta .pending { display: inline-block; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 999px; }
.plan-list { list-style: none; padding: 0; }
.content .plan-list li { margin: 0 0 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.plan-list h2 { margin-top: 0; }
.plan-list p { margin: 8px 0 0; color: var(--muted); }
.all-plans { margin: 24px 0 0; font-weight: 600; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.faq h3 { text-align: left; }
.faq p { text-align: left; }

/* Front page (task 055): what Kadans is, then a choice between Apple and Android. */
.device.wear { width: 150px; padding: 6px; border-radius: 50%; background: #0b0b10; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35), inset 0 0 0 2px #2a2a33; }
.device.wear img { border-radius: 50%; }
.front-hero { min-height: min(70vh, 640px); }
.front-hero .hero-inner { grid-template-columns: minmax(0, 1fr); }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
.choice { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding: 28px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--surface); color: inherit; text-decoration: none; }
.choice:hover { border-color: var(--accent); }
.choice.suggested { border-color: var(--accent); box-shadow: 0 12px 34px rgba(26, 95, 208, 0.18); }
.choice.suggested::before { content: attr(data-badge); position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 3px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-text); font-size: 0.85rem; font-weight: 600; }
.choice-devices { display: flex; align-items: center; justify-content: center; gap: 18px; height: 330px; margin-top: auto; }
.choice-devices .device.phone { width: min(170px, 48%); padding: 6px; border-radius: 30px; }
.choice-devices .device.phone img { border-radius: 24px; }
.choice-devices .device.watch, .choice-devices .device.wear { width: min(120px, 34%); }
.choice-text { display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 30em; }
.choice-text strong { font-family: var(--display); font-weight: 700; font-size: 1.4rem; }
.choice-text > span:not(.btn) { color: var(--muted); }
.choice .btn { background: var(--accent); color: var(--accent-text); }
.choose h2, .choose .section-lead { text-align: center; margin-left: auto; margin-right: auto; }
.choices { max-width: 1000px; margin-left: auto; margin-right: auto; }
@media (max-width: 800px) {
  .choices { grid-template-columns: 1fr; }
  .choice-devices { height: auto; }
}
