/* ==========================================================================
   Phil Sison — West Elm “Double Dare” case study
   Mobile-first. Breakpoints: 560 / 768 / 1024 / 1200. Design refs: 360 · 768 · 1440
   Shares its token system with the Adobe Community case study.
   ========================================================================== */

/* ============================ Design Tokens ============================ */
:root {
  /* Color — core */
  --c-ink: #17171c;
  --c-muted: #666670;
  --c-accent: #4f45e5;
  --c-accent-deep: #33299e;
  --c-surface: #ffffff;
  --c-canvas: #f5f5f7;
  --c-paper: #faf9f6;             /* table headers, quotes, journey stages */
  --c-border: #e0ded9;
  --c-on-dark-muted: #d1d1db;

  /* Color — indigo tints */
  --c-tint-indigo: #edebfc;       /* stat + result cards, badges */
  --c-tint-indigo-2: #d6d1fa;     /* tracks, empty pictogram units */

  /* Color — journey stage bars */
  --c-stage-green: #3e935c;
  --c-stage-yellow: #edd142;
  --c-stage-pink: #de5f7c;
  --c-stage-blue: #547eae;
  --c-stage-purple: #827eb2;

  /* Color — pain point */
  --c-pain-bg: #ffedf1;
  --c-pain-label: #b42318;
  --c-pain-ink: #7a1c12;
  --c-pain-pill: #f9c9c1;

  /* Color — status pills + releases */
  --c-rejected: #de5f7c;   --c-rejected-bg: #ffedf1;
  --c-chosen: #3e935c;     --c-chosen-bg: #eefbf4;
  --c-blocked: #e3704b;    --c-blocked-bg: #f5e4ae;
  --c-release-bg: #dbf5eb;

  /* Typography — SF Pro on Apple, closest system sans elsewhere */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
               "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fw-regular: 400;
  --fw-medium: 510;
  --fw-semibold: 590;
  --fw-bold: 700;
  --tracking-label: 0.08em;

  /* Fluid type — mobile → tablet ramp (360 → 768); re-tuned for 768 → 1440 below */
  --fs-h1: clamp(2.125rem, calc(23.41px + 2.941vw), 2.875rem);     /* 34 → 46 */
  --fs-h2: clamp(1.625rem, calc(20.71px + 1.471vw), 2rem);         /* 26 → 32 */
  --fs-lead: clamp(1.125rem, calc(16.24px + 0.49vw), 1.25rem);     /* 18 → 20 */
  --fs-big-stat: clamp(2.125rem, calc(23.41px + 2.941vw), 2.875rem); /* 34 → 46 */
  --lh-h1: 1.118;
  --lh-h2: 1.23;

  /* Radius */
  --r-pill: 999px;
  --r-lg: 20px;
  --r-md: 12px;
  --r-sm: 10px;

  /* Layout & spacing */
  --content-max: 1216px;
  --measure: 880px;
  --gutter: 20px;   /* mobile · shared case-study framework (matches Apple Watch) */
  --section-pad: clamp(39px, calc(26px + 3.68vw), 54px);                 /* 39 @360 → 54 @768+ */
  --stack-gap: 28px;
  --card-pad: clamp(20px, calc(16px + 1.1vw), 28px);
}

@media (min-width: 768px) {
  :root {
    --gutter: 40px;   /* 768+ · content caps at 1216px, then centers */
    --fs-h1: clamp(2.875rem, calc(34.57px + 1.488vw), 3.5rem);           /* 46 → 56 */
    --fs-h2: clamp(2rem, calc(27.43px + 0.595vw), 2.25rem);              /* 32 → 36 */
    --fs-big-stat: clamp(2.875rem, calc(34.57px + 1.488vw), 3.5rem);     /* 46 → 56 */
    --lh-h1: 1.108;
    --lh-h2: 1.22;
  }
}

/* ============================ Global / Reset ============================ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-ink);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure, dl, dd, blockquote { margin: 0; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  padding: 10px 16px; border-radius: var(--r-pill);
  background: var(--c-ink); color: #fff; font-weight: var(--fw-semibold); text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ============================ Layout Grid ============================ */
.container { width: min(100% - 2 * var(--gutter), var(--content-max)); margin-inline: auto; }
.band { padding-block: var(--section-pad); }
.band--roomy { padding-block: calc(var(--section-pad) + 2px); }
.band--canvas { background: var(--c-canvas); }
.band--surface { background: var(--c-surface); }
.stack { display: flex; flex-direction: column; gap: var(--stack-gap); }

.card-grid-2 {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px;
}
@media (min-width: 600px) { .card-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .card-grid-2 { gap: 20px; } }

/* 3-up: 1 col → 2 cols (odd last card spans the row, landscape crop) → 3 cols at 1024 */
.card-grid-3 {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px;
}
@media (min-width: 600px) {
  .card-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 768px) { .card-grid-3 { gap: 20px; } }
@media (min-width: 1024px) {
  .card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-grid-3 > :last-child:nth-child(odd) { grid-column: auto; }
}

/* ============================ Typography Blocks ============================ */
.eyebrow {
  font-size: 12px; font-weight: var(--fw-semibold); line-height: 1.2;
  letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--c-muted);
}
.eyebrow--accent { color: var(--c-accent); }

.kicker {
  padding-block: 6px;
  font-size: 14px; font-weight: var(--fw-bold); line-height: 1.2;
  text-transform: uppercase; color: var(--c-accent);
}
.section-head { display: flex; flex-direction: column; gap: 6px; max-width: var(--measure); }
.section-head--wide { max-width: none; }
.h2 {
  font-size: var(--fs-h2); font-weight: var(--fw-bold);
  line-height: var(--lh-h2); letter-spacing: -0.015em; color: var(--c-ink);
}
.note { font-size: 15px; line-height: 22px; color: var(--c-ink); }
.note--muted { color: var(--c-muted); }
.note--lead { max-width: 900px; font-size: 16px; line-height: 1.45; color: var(--c-muted); }
.note--lead strong { font-weight: var(--fw-bold); }

/* ============================ Buttons & links ============================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.35em;
  border-radius: var(--r-pill); text-decoration: none; white-space: nowrap;
  font-size: 14px; font-weight: var(--fw-bold); line-height: 1.2;
  transition: background-color 0.15s ease;
}
.btn--sm { padding: 10px 20px; }
.btn--accent { background: var(--c-accent); color: #fff; }   /* white on #4f45e5 ≈ 6.3:1 */
.btn--accent:hover { background: #3f36cf; }

.text-link {
  align-self: flex-start;
  font-size: 12px; font-weight: var(--fw-semibold); color: var(--c-accent);
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-link [aria-hidden="true"] { display: inline-block; }   /* keeps the › chevron out of the hover underline */

/* ============================ Header ============================ */
.site-header { background: var(--c-surface); }
/* Let’s connect: same box as the Apple Watch header button (147.2 × 36.8px) */
.site-header .btn { gap: 0.3em; border: 0; line-height: 16.8px; }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 20px;
}
@media (min-width: 768px) { .site-header__inner { padding-block: 28px; } }
.back-link {
  display: inline-flex; align-items: center; gap: 0.25em;
  padding: 9px 24px;
  margin-inline-start: calc(-1 * min(24px, var(--gutter)));
  border-radius: var(--r-pill);
  font-size: 16px; font-weight: var(--fw-medium); line-height: 19px;   /* matches Apple Watch header */
  color: var(--c-muted); text-decoration: none;
}
.back-link:hover { color: var(--c-ink); }
.back-link__label { text-transform: uppercase; }

/* ============================ Intro / Hero ============================ */
.intro { padding-top: clamp(26px, calc(23px + 0.93vw), 36px); padding-bottom: clamp(35px, calc(32px + 1.06vw), 48px); }
.hero { display: flex; flex-direction: column; gap: 20px; max-width: var(--measure); }
.hero__title {
  font-size: var(--fs-h1); font-weight: var(--fw-bold);
  line-height: var(--lh-h1); letter-spacing: -0.02em; color: var(--c-ink);
}
.hero__lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--c-muted); }

.hero-visual { margin-top: clamp(43px, calc(38px + 1.6vw), 60px); }   /* hero pad + visual pad */
.hero-visual img { width: 100%; }

.summary {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px;
  margin-top: clamp(52px, calc(48px + 1.5vw), 72px);
}
@media (min-width: 768px)  { .summary { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; } }
@media (min-width: 1200px) { .summary { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.summary__item { display: flex; flex-direction: column; gap: 6px; }
.summary dd { font-size: 15px; line-height: 21px; font-weight: var(--fw-semibold); color: var(--c-ink); }

/* ============================ Component: Cards ============================ */
.card {
  display: flex; flex-direction: column; gap: 12px;
  padding: var(--card-pad); border-radius: var(--r-lg);
}
.card--outline { background: var(--c-surface); border: 1px solid var(--c-border); }
.card__body { font-size: 15px; line-height: 23px; color: var(--c-muted); }

.dark-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(24px, calc(21px + 0.75vw), 32px) clamp(24px, calc(20px + 1.1vw), 36px);
  border-radius: var(--r-lg); background: var(--c-ink);
}
/* Reframe statement (The problem, My calls): accent-rule eyebrow + large statement, centered column */
.reframe {
  display: flex; flex-direction: column; gap: 16px;
  width: min(100%, 760px); margin-inline: auto; padding-block: 28px 8px;
}
.reframe--lead { padding-top: 12px; }
.reframe__eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; line-height: 1.2; font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--c-accent);
}
.reframe__eyebrow::before { content: ""; flex: none; width: 28px; height: 2px; background: var(--c-accent); }
.reframe__text {
  font-size: clamp(1.5rem, calc(18.7px + 1.47vw), 1.875rem);              /* 24 @360 → 30 @768 */
  line-height: 1.27; font-weight: var(--fw-semibold); letter-spacing: -0.01em;
  color: var(--c-ink); text-wrap: pretty;
}
@media (min-width: 768px) {
  .reframe__text { font-size: clamp(1.875rem, calc(25.43px + 0.595vw), 2.125rem); line-height: 1.24; } /* 30 → 34 @1440 */
}
.reframe__hl { color: var(--c-accent); }

/* ============================ Context: ring stat cards ============================ */
.stat-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px;
}
@media (min-width: 1024px) { .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }

.ring-card {
  display: flex; align-items: center; gap: clamp(16px, 2vw, 24px);
  padding: clamp(24px, calc(20px + 1.1vw), 32px);
  border-radius: var(--r-lg); background: var(--c-tint-indigo);
}
.ring { flex: none; width: clamp(80px, 6.7vw + 56px, 96px); height: auto; }
.ring__track, .ring__arc { fill: none; stroke-width: 12.5; }
.ring__track { stroke: var(--c-tint-indigo-2); }
.ring__arc { stroke: var(--c-accent); transform: rotate(-90deg); transform-origin: 48px 48px; }
.ring__value {
  fill: var(--c-accent); font-family: var(--font-sans); font-weight: var(--fw-bold);
  font-size: 24px; letter-spacing: -0.02em; text-anchor: middle; dominant-baseline: central;
}
.ring__value--sm { font-size: 22px; }
.ring-card__copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ring-card__label { font-size: 16px; line-height: 24px; font-weight: var(--fw-medium); color: var(--c-ink); }
.ring-card__note { font-size: 14px; line-height: 20px; color: var(--c-muted); }

/* ============================ Research: evidence ============================ */
.evidence { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 1024px) { .evidence { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

.big-stat {
  font-size: var(--fs-big-stat); font-weight: var(--fw-bold);
  line-height: 1.14; letter-spacing: -0.02em; color: var(--c-accent);
}
.pictogram {
  display: flex; justify-content: space-between; align-items: center;
  padding-block: 4px; max-width: 420px;
}
.sofa { width: clamp(40px, 12%, 48px); aspect-ratio: 48 / 32; height: auto; fill: var(--c-tint-indigo-2); }
.sofa--on { fill: var(--c-accent); }
.key {
  list-style: none; margin: 0; padding: 0 0 4px;
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  font-size: 13px; color: var(--c-muted);
}
.key li { display: inline-flex; align-items: center; gap: 6px; }
.key__swatch { width: 10px; height: 10px; border-radius: 3px; background: var(--c-tint-indigo-2); }
.key__swatch--on { background: var(--c-accent); }
.evidence__claim { font-size: 18px; line-height: 24px; font-weight: var(--fw-semibold); color: var(--c-ink); }

.quote {
  padding: 12px 14px 12px 16px;
  border-left: 3px solid var(--c-accent); border-radius: var(--r-sm);
  background: var(--c-paper);
  font-size: 15px; line-height: 22px; font-weight: var(--fw-medium); color: var(--c-ink);
}
.findings { display: flex; flex-direction: column; gap: 12px; }
.findings div { display: flex; flex-direction: column; gap: 4px; }
.findings dt { font-size: 14px; line-height: 20px; font-weight: var(--fw-semibold); color: var(--c-ink); }
.findings dd { font-size: 14px; line-height: 21px; color: var(--c-muted); }

.insight {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px clamp(24px, 3vw, 36px);
  padding: clamp(24px, calc(20px + 1.1vw), 32px) clamp(24px, calc(18px + 1.7vw), 42px);
  border: 1px solid var(--c-border); border-radius: var(--r-lg); background: var(--c-surface);
}
.insight__badge {
  flex: none; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--c-tint-indigo); color: var(--c-accent);
}
.insight__copy { flex: 1 1 260px; display: flex; flex-direction: column; gap: 10px; }
.insight__text { font-size: 22px; line-height: 32px; font-weight: var(--fw-medium); color: var(--c-ink); }

/* ============================ Alignment: experience map ============================ */
.journey { padding: 0; }   /* no panel: stages sit directly on the section */
.journey__stages {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px;
}
@media (min-width: 768px)  { .journey__stages { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .journey__stages { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.stage {
  --stage-color: var(--c-stage-green);
  display: flex; flex-direction: column; gap: 8px;
  padding: 14px 16px 16px;
  border-top: 12px solid var(--stage-color); border-radius: var(--r-md);
  background: var(--c-paper);
}
.stage--green  { --stage-color: var(--c-stage-green); }
.stage--yellow { --stage-color: var(--c-stage-yellow); }
.stage--pink   { --stage-color: var(--c-stage-pink); }
.stage--blue   { --stage-color: var(--c-stage-blue); }
.stage--purple { --stage-color: var(--c-stage-purple); }
.stage__title { font-size: 15px; line-height: 1.25; font-weight: var(--fw-semibold); color: var(--c-ink); }
.stage__label {
  font-size: 10px; line-height: 1.2; font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--c-muted);
}
.stage__text { font-size: 13px; line-height: 19px; color: var(--c-ink); }
.stage__pill {
  align-self: flex-start; margin-top: 2px;
  padding: 5px 10px; border-radius: var(--r-pill);
  background: var(--c-tint-indigo);
  font-size: 11px; line-height: 15px; font-weight: var(--fw-semibold); color: var(--c-accent);
}
/* Pain point: the order-confirmation moment */
.stage--pain { background: var(--c-pain-bg); }
.stage--pain .stage__label:nth-of-type(2) { color: var(--c-pain-label); }
.stage--pain .stage__label:nth-of-type(2) + .stage__text { font-weight: var(--fw-medium); color: var(--c-pain-ink); }
.stage--pain .stage__pill { background: var(--c-pain-pill); color: var(--c-pain-ink); }

/* ============================ Component: screenshot cards ============================ */
.shot-card {
  display: flex; flex-direction: column; gap: 20px;
  padding: var(--card-pad);
  border: 1px solid var(--c-border); border-radius: var(--r-lg); background: var(--c-surface);
}
.shot-card__media img { width: 100%; border-radius: var(--r-md); }
.shot-card__body { display: flex; flex-direction: column; gap: 6px; }
.shot-card__eyebrow { font-size: 12px; line-height: 1.2; font-weight: var(--fw-semibold); text-transform: uppercase; color: var(--c-accent); }
.shot-card__title { font-size: 22px; line-height: 28px; font-weight: var(--fw-bold); color: var(--c-ink); }
.shot-card__text { margin-top: 6px; font-size: 16px; line-height: 24px; color: var(--c-muted); }
.shot-card__body .text-link,
.shot-card__body .pill { margin-top: 6px; }

.pill {
  align-self: flex-start; padding: 6px 12px; border-radius: var(--r-pill);
  font-size: 12px; line-height: 14px; font-weight: var(--fw-semibold);
}
.pill-blocked  { background: var(--c-blocked-bg);  color: var(--c-blocked); }
.pill-rejected { background: var(--c-rejected-bg); color: var(--c-rejected); }
.pill-chosen   { background: var(--c-chosen-bg);   color: var(--c-chosen); }

/* ============================ Trade-offs: original plan (blocked) ============================ */
.plan-blocked { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; }
@media (min-width: 1024px) { .plan-blocked { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; } }
.plan-blocked__media { padding-block: 24px; }   /* no panel: the cart + overlay visual sits on the section */
.plan-blocked__media img { width: 100%; max-width: 512px; margin-inline: auto; }
@media (max-width: 599.98px) { .plan-blocked__media img { max-width: 240px; } }
.plan-blocked__body { display: flex; flex-direction: column; gap: 6px; }
.plan-blocked__body .pill { margin-top: 6px; }
.plan-blocked__context { margin-top: 14px; font-size: 16px; line-height: 24px; color: var(--c-muted); }

/* ============================ Trade-offs: rearranged plan ============================ */
.plan { display: flex; flex-direction: column; gap: 12px; }
.plan__intro { font-size: 15px; line-height: 22px; color: var(--c-muted); }
.plan__label {
  margin-right: 6px;
  font-size: 12px; font-weight: var(--fw-bold); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--c-accent);
}
.release {
  display: flex; flex-direction: column; gap: 10px;
  padding: var(--card-pad); border-radius: var(--r-lg); background: var(--c-release-bg);
}
.release__title { font-size: 20px; line-height: 1.2; font-weight: var(--fw-bold); color: var(--c-ink); }
.release__text { font-size: 16px; line-height: 25px; color: var(--c-muted); }
.release__metric { font-size: 18px; line-height: 1.35; font-weight: var(--fw-bold); color: var(--c-accent); }

/* ============================ Outcomes: result card ============================ */
.result {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px;
  padding: clamp(24px, calc(20px + 1.1vw), 36px) clamp(24px, calc(20px + 1.1vw), 40px);
  border-radius: var(--r-lg); background: var(--c-tint-indigo);
}
@media (min-width: 1200px) {
  .result { grid-template-columns: minmax(220px, 333px) minmax(260px, 1fr) minmax(240px, 375px); align-items: center; gap: 48px; }
}
.result__stat { display: flex; flex-direction: column; gap: 6px; }
.result__value { font-size: 64px; line-height: 68px; font-weight: var(--fw-bold); letter-spacing: -0.02em; color: var(--c-accent); }
.result__label { font-size: 20px; line-height: 26px; font-weight: var(--fw-bold); color: var(--c-ink); }
.result__note { font-size: 15px; color: var(--c-muted); }
.result__stat-copy { display: flex; flex-direction: column; gap: 6px; }
@media (min-width: 768px) and (max-width: 1199.98px) {
  .result__stat { flex-direction: row; align-items: center; gap: 20px; }
}

/* Progress: 0–15% scale → target at 66.67%, achieved at 86.67% */
.progress { --target: 66.667%; --achieved: 86.667%; position: relative; height: 116px; }
@media (max-width: 767.98px) { .progress { height: 104px; } }
.progress__track {
  position: absolute; inset: 24px 0 auto; height: 14px;
  border-radius: 7px; background: var(--c-tint-indigo-2);
}
.progress__fill { width: var(--achieved); height: 100%; border-radius: 7px; background: var(--c-accent); }
.progress__marker {
  position: absolute; top: 0; left: var(--target);
  display: flex; flex-direction: column; align-items: center;
  transform: translateX(-50%);
}
.progress__marker--achieved { left: var(--achieved); }
.progress__marker::before,
.progress__marker::after { content: ""; width: 0; }
.progress__marker--target::before { height: 20px; border-left: 2px dashed var(--c-accent-deep); }
.progress__marker--target::after  { height: 22px; border-left: 2px dashed var(--c-accent-deep); order: 2; }
.progress__marker--achieved::before { height: 17px; }
.progress__marker--achieved::after  { height: 19px; border-left: 2px solid var(--c-accent); order: 2; }
.progress__dot {
  order: 1; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--c-accent-deep); box-shadow: 0 0 0 3px #fff;
}
.progress__marker--achieved .progress__dot { width: 28px; height: 28px; background: var(--c-accent); }
.progress__labels {
  order: 3; position: absolute; top: 72px;
  display: flex; flex-direction: column;
  font-size: 15px; line-height: 1.2; color: var(--c-muted); white-space: nowrap;
}
.progress__labels b { font-size: 20px; font-weight: var(--fw-bold); color: var(--c-ink); }
/* nudge labels apart so they never collide on narrow screens */
.progress__marker--target .progress__labels   { right: calc(50% - 16px); align-items: flex-end; text-align: right; }
.progress__marker--achieved .progress__labels { left: calc(50% - 16px); align-items: flex-start; }

.result__status {
  display: flex; align-items: center; gap: 20px;
  padding: 8px 0 8px 24px; border-left: 2px solid var(--c-tint-indigo-2);
}
@media (min-width: 1200px) { .result__status { padding-left: 40px; } }
@media (max-width: 1199.98px) {
  .result__status { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--c-tint-indigo-2); }
}
@media (max-width: 767.98px) { .result__status-title { font-size: 20px; } }
.check-badge {
  flex: none; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--c-accent); color: #fff;
}
.result__status-title { font-size: 26px; line-height: 1.2; font-weight: var(--fw-bold); letter-spacing: -0.01em; color: var(--c-ink); }
.result__status-note { margin-top: 4px; font-size: 16px; color: var(--c-muted); }

/* ============================ Reflection: takeaways ============================ */
.lessons {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px;
}
@media (min-width: 768px) { .lessons { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .lessons { gap: 32px; } }
.lesson { display: flex; flex-direction: column; gap: 6px; padding-top: 20px; border-top: 1px solid var(--c-border); }
.lesson__title { font-size: 20px; line-height: 26px; font-weight: var(--fw-bold); color: var(--c-ink); }
.lesson__text { font-size: 15px; line-height: 23px; color: var(--c-muted); }

/* ============================ Footer ============================ */
/* Shared case-study footer (matches Apple Watch) */
.site-footer { background: #fafafa; border-top: 1px solid var(--c-border); }
.site-footer__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-block: 36px; font-size: 13px; color: var(--c-muted);
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--c-accent); }

/* ============================ Motion ============================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
