/* Ovality Health site styles. Colors and spacing live in :root. */
:root {
  --ink: #492429;
  --rose: #AA3548;
  --cream: #FFF8F1;
  --sand: #F5E5D8;
  --line: #D8BFB4;
  --muted: #745B58;
  --blush: #F1B8AA;
  --pale: #E9D4CC;
  --paper: #FFFDF9;
  --display: 'Bricolage Grotesque', sans-serif;
  --text: 'Public Sans', sans-serif;
  --pad: 72px;
  --gut: clamp(20px, 4vw, 56px);
  --hdr: 88px;

  /* Roles: point these at the colors above. A palette swap only edits this block. */
  --accent-text: var(--rose);          /* accent words in headlines and small text */
  --on-accent: var(--cream);           /* text on accent buttons */
  --dark: var(--ink);                  /* dark bands */
  --live: var(--rose);                 /* care model, connected */
  --live-deep: var(--ink);             /* care model center between pulses */
  --live-soft: var(--blush);           /* care model beams and sparks */
  --live-light: #F7D9D4;               /* care model center sub-label when lit */
  --live-bg: var(--sand);              /* phone story card behind "how it should work" */
  --story-today: var(--ink);           /* phone story switch, today side */
  --story-should: var(--live);         /* phone story switch, should side */
  --tone-go: var(--ink);               /* journey: progress */
  --tone-wait: #8A6F6B;                /* journey: waiting */
  --tone-stop: #C0392B;                /* journey: friction */
  --idle: #D6D1CE;                     /* care model before it starts */
  --idle-soft: #E4E0DD;
  --idle-center: #C2BBB8;
  --idle-text: #F1EEEC;
  --shadow: 73, 36, 41;                /* rgb for soft shadows */
  --accent-shadow: rgba(170, 53, 72, .25);
  --header-bg: rgba(255, 248, 241, .92);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--text); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-text); }
input, button, select, textarea { font: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.accent { color: var(--accent-text); }
.blush { color: var(--blush); }
.block { display: block; }
.muted { color: var(--muted); }
.u { border-bottom: 1px solid currentColor; }
.js-only { display: none; }
.js .js-only { display: block; }

.skip { position: absolute; left: 16px; top: -80px; background: var(--ink); color: var(--cream); padding: 10px 14px; border-radius: 6px; z-index: 70; font-size: 13px; }
.skip:focus { top: 12px; color: var(--cream); }
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--rose); z-index: 60; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--hdr); padding: 0 var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-bottom: 1px solid var(--line); background: var(--header-bg);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.logo { flex: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
/* Wordmark: plain capital O, Bricolage Grotesque 500, HEALTH spaced below */
.wm { display: inline-flex; flex-direction: column; align-items: center; color: var(--ink); }
.wm-word { font-family: var(--display); font-variation-settings: "opsz" 96; font-weight: 500; font-size: clamp(28px, 2.6vw, 34px); line-height: .95; letter-spacing: -.035em; }
.wm-sub { font: 600 9.5px/1 var(--text); letter-spacing: .55em; margin: 5px -.55em 0 0; text-transform: uppercase; color: var(--muted); }
.wm-foot .wm-word { font-size: 32px; }
.wm-foot .wm-sub { font-size: 10px; }
.hero-o { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--rose); color: var(--cream); font: 500 21px/1 var(--display); letter-spacing: -.02em; padding-bottom: 1px; }
.nav { display: flex; gap: clamp(14px, 2.5vw, 34px); align-items: center; font-size: 13px; font-weight: 550; }
.nav-link { padding: 12px 0; }
.nav-cta { border: 1px solid var(--ink); padding: 11px 18px; border-radius: 30px; display: flex; gap: 14px; align-items: center; white-space: nowrap; transition: color .2s, border-color .2s; }
.nav-cta:hover { border-color: var(--rose); }
.menu-btn { display: none; align-items: center; gap: 10px; background: none; border: 1px solid var(--line); padding: 9px 14px; border-radius: 30px; font-size: 13px; font-weight: 550; color: var(--ink); cursor: pointer; white-space: nowrap; }
.menu-plus { font-size: 18px; line-height: 1; font-weight: 400; display: inline-block; transition: transform .25s; }
.menu-btn[aria-expanded="true"] .menu-plus { transform: rotate(45deg); }
.mobile-menu {
  position: sticky; top: var(--hdr); z-index: 49; background: var(--cream); border-bottom: 1px solid var(--line);
  padding: 14px var(--gut) 20px; display: flex; flex-direction: column; gap: 4px; font-size: 16px; font-weight: 550;
  box-shadow: 0 15px 25px rgba(var(--shadow), .06);
}
.mobile-menu a { padding: 12px 0; }

/* Type */
.eyebrow { margin: 0 0 24px; font-size: 11px; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow-star { display: flex; gap: 12px; align-items: center; }
.eyebrow-star .twinkle { color: var(--rose); font-size: 22px; line-height: 1; letter-spacing: 0; }
.eyebrow-pale { color: var(--pale); margin-bottom: 12px; }
.h1 { margin: 0; font-family: var(--display); font-weight: 550; font-size: clamp(50px, 6vw, 92px); line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.h2 { margin: 0; font-family: var(--display); font-weight: 550; font-size: clamp(40px, 4.5vw, 68px); line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.h2-sm { font-size: clamp(38px, 4.1vw, 61px); }
.lede { margin: 28px 0 32px; max-width: 470px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.7; text-wrap: pretty; }
.body-lg { margin: 26px 0 0; max-width: 470px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.65; text-wrap: pretty; }
.body { margin: 18px 0 0; max-width: 470px; text-wrap: pretty; }
.narrow { max-width: 440px; }
.fine { margin: 16px 0 0; font-size: 14px; line-height: 1.6; }

/* Buttons and links */
.row { display: flex; gap: 18px 28px; align-items: center; flex-wrap: wrap; }
.row-tight { margin-top: 30px; gap: 12px; }
.btn {
  display: inline-flex; gap: 30px; justify-content: space-between; align-items: center; padding: 17px 25px;
  border: 0; border-radius: 30px; font-size: 13px; font-weight: 600; line-height: 1.4; cursor: pointer;
  transition: background .2s, transform .2s, color .2s;
}
.btn .arr { font-size: 20px; line-height: 1; }
.btn-rose { background: var(--rose); color: var(--on-accent); }
.btn-rose:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--rose); color: var(--cream); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); padding: 15px 22px; gap: 14px; }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn[disabled] { opacity: .7; cursor: default; transform: none; }
.ico { width: 11px; height: 11px; flex: none; display: block; }
.link-line { display: inline-flex; gap: 14px; align-items: center; font-size: 13px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 6px; }
.link-line span { font-size: 18px; line-height: 1; }
.link-blush { color: var(--blush); gap: 28px; padding: 9px 0; }
.link-blush span { font-size: 22px; }

/* Sections */
.section { padding: var(--pad) var(--gut); }
.wrap { max-width: 1408px; margin: 0 auto; }
.wrap-narrow { max-width: 1296px; margin: 0 auto; }
.tint { background: var(--sand); }
.dark { background: var(--dark); color: var(--cream); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(32px, 5vw, 100px); align-items: center; }
.split-top { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); align-items: start; }
.head-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(24px, 4vw, 100px); align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.head-split > p { margin: 0; }

/* Reveal: content is visible unless the script turns this on */
[data-reveal] { transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal-on [data-reveal]:not(.is-shown) { opacity: 0; transform: translateY(22px); }

/* Hero */
.hero {
  padding: clamp(40px, 5vw, 66px) var(--gut) clamp(48px, 6vw, 80px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 4vw, 56px); align-items: center;
}
.hero-art {
  position: relative; background: var(--sand); border-radius: 220px 220px 22px 22px; padding: 30px 24px 24px;
  min-height: min(560px, 110vw); isolation: isolate; font-family: var(--display);
}
.hero-svg { color: var(--rose); position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: dash var(--dur) cubic-bezier(.4, 0, .2, 1) var(--delay) forwards; }
.hero-svg .twinkle-svg { transform-origin: 263px 112px; }
.hero-label {
  position: absolute; background: var(--cream); padding: .6em 1em; border-radius: 4px; box-shadow: 0 10px 25px rgba(var(--shadow), .06);
  font-size: clamp(12px, 1.25vw, 17px); letter-spacing: -.02em; display: flex; gap: 9px; align-items: center; white-space: nowrap;
  animation: drift 7s ease-in-out infinite;
}
.hero-label i { width: 7px; height: 7px; background: var(--rose); border-radius: 50%; flex: none; }
.l1 { left: 4%; top: 31%; }
.l2 { right: 2%; top: 24%; animation-duration: 8s; animation-delay: -2s; }
.l3 { right: 0; top: 58%; animation-duration: 9s; animation-delay: -4s; }
.l4 { left: 36%; top: 77%; animation-duration: 7.5s; animation-delay: -1s; }
.l5 { left: 2%; top: 63%; animation-duration: 8.5s; animation-delay: -3s; }
.hero-foot { position: absolute; left: 30px; right: 30px; bottom: 22px; display: flex; justify-content: space-between; align-items: center; font-family: var(--text); font-size: 10px; line-height: 1.6; letter-spacing: .02em; }

.band {
  background: var(--dark); color: var(--cream); display: flex; align-items: center; justify-content: center;
  gap: clamp(14px, 1.6vw, 22px); padding: clamp(28px, 3.5vw, 44px) var(--gut); font-family: var(--display);
  font-size: clamp(16px, 1.6vw, 22px); letter-spacing: -.02em; text-align: center; flex-wrap: wrap;
}
.band-star { font-size: 22px; line-height: 1; }
.twinkle { display: inline-block; animation: twinkle 4s ease-in-out infinite; }
.twinkle-svg { animation: twinkle 4s ease-in-out infinite; }

.hero-points { display: none; }
.hero-pulse { opacity: 0; transform-box: fill-box; transform-origin: center; }
.hero-pulse.go { animation: heroping 2.6s ease-out; }

/* Story card (phones only; built by site.js) */
.story-copy > [hidden] { display: none !important; }
.story-copy > * { animation: testin .45s ease-out both; }
.story-switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin: 26px 0 14px; padding: 4px; border: 1.5px solid var(--ink); border-radius: 30px; background: var(--cream); }
.story-slider { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 26px; background: var(--story-today); transition: transform .45s cubic-bezier(.2, .7, .2, 1), background-color .45s; }
.story[data-scene="should"] .story-slider { transform: translateX(100%); background: var(--story-should); }
.story-switch button { position: relative; z-index: 1; background: none; border: 0; padding: 12px 6px; font: 600 13.5px/1.2 var(--text); color: var(--ink); cursor: pointer; transition: color .3s; }
.story-switch button[aria-selected="true"] { color: var(--cream); }
.story-switch button.nudge-pulse { animation: tabpulse 1.1s ease-in-out 3; color: var(--accent-text); }
.story-card { position: relative; border: 1.5px solid var(--line); border-radius: 20px; padding: 14px 10px 16px; background: var(--paper); transition: background-color .5s; }
.story[data-scene="should"] .story-card { background: var(--live-bg); }
.story-stage { position: relative; }
.story-card .dgm { width: 100%; }
.story-card .dgm[hidden] { display: none; }
.story-card #journey .dgm-stage { margin-bottom: -15%; }
.story-card .dgm-ctrl { display: none !important; }
.story-tap { position: absolute; inset: 0; z-index: 4; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.story-tap-ico { position: absolute; top: 2px; right: 2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--header-bg); border: 1px solid var(--line); color: var(--ink); }
.story-tap-ico .ico { width: 10px; height: 10px; }
.story-line[hidden] { display: none; }
.story-step { display: inline-block; padding: 7px 14px; border-radius: 20px; color: var(--cream); font: 600 12px/1.2 var(--text); letter-spacing: .06em; text-transform: uppercase; transition: background-color .3s; }
.story-step.flip { animation: testin .35s ease-out both; }
.story-line { margin: 12px 6px 0; text-align: center; font: 400 13px/1.5 var(--text); color: var(--muted); }
.story-nudge { display: flex; margin: 12px auto 0; width: max-content; align-items: center; gap: 10px; background: var(--rose); color: var(--on-accent); border: 0; border-radius: 30px; padding: 11px 18px; font: 600 13px/1.2 var(--text); cursor: pointer; animation: testin .5s ease-out both; }
.story-nudge[hidden] { display: none; }
.story-tap-hint { display: none; }
.story.needs-tap .story-tap-hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 30px; background: var(--ink); color: var(--cream); font: 600 14px/1.2 var(--text); box-shadow: 0 12px 30px rgba(var(--shadow), .2); }
.story.needs-tap .story-tap-ico { display: none; }
.story-hidden { display: none !important; }

/* Diagrams (shared) */
.dgm { position: relative; width: min(100%, 600px); margin: 0 auto; font-family: var(--display); }
.dgm-box { position: relative; }
.dgm-stage { position: relative; aspect-ratio: 1 / 1; }
.dgm-layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dgm-top { z-index: 2; pointer-events: none; }
.node {
  position: absolute; left: calc(var(--x) / 6 * 1%); top: calc(var(--y) / 6 * 1%); transform: translate(-50%, -50%); z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 12px 20px 14px;
  background: var(--cream); border: 1.5px solid var(--line); border-radius: 34px;
  font: 600 13px/1 var(--text); letter-spacing: .06em; color: var(--ink); white-space: nowrap; transition: border-color .25s;
}
.node i { width: 12px; height: 12px; border-radius: 50%; background: var(--rose); transition: background-color .25s; }
.node-sq { border-radius: 12px; padding: 10px 18px 12px; }
.center-word { position: absolute; left: calc(var(--x) / 6 * 1%); top: calc(var(--y) / 6 * 1%); transform: translate(-50%, -50%); z-index: 1; font-size: 14px; font-weight: 500; letter-spacing: -.02em; pointer-events: none; }
.center-label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; display: flex; flex-direction: column; align-items: center; color: var(--cream); pointer-events: none; text-align: center; line-height: 1.2; }
.cl-main { font-size: 16px; font-weight: 500; letter-spacing: -.02em; }
.cl-sub { font: 600 10px/1.4 var(--text); letter-spacing: .1em; color: var(--blush); transition: color .5s; }

.dgm-ctrl {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3;
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; border: 0; border-radius: 30px;
  padding: 16px 24px; font: 600 14px/1.2 var(--text); cursor: pointer; transition: background .2s, border-color .2s;
}
.dgm-ctrl .ico { width: 12px; height: 12px; }
.ctrl-ink { background: var(--ink); color: var(--cream); box-shadow: 0 12px 30px rgba(var(--shadow), .18); }
.ctrl-ink:hover { background: var(--rose); }
.ctrl-rose { background: var(--rose); color: var(--on-accent); box-shadow: 0 12px 30px var(--accent-shadow); }
.ctrl-rose:hover { background: var(--ink); }
.dgm-ctrl.is-small {
  left: auto; right: 0; top: 0; transform: none; background: var(--cream); color: var(--ink); border: 1px solid var(--line);
  padding: 8px 14px; font-size: 12px; gap: 8px; box-shadow: none;
}
.dgm-ctrl.is-small:hover { border-color: var(--rose); background: var(--cream); }
.dgm-ctrl.is-small .ico { width: 10px; height: 10px; }

/* Journey */
[data-trails], [data-live] { stroke: var(--rose); }
.pc-ring { stroke: var(--ink); }
[data-tag-text] { fill: var(--cream); }
[data-token] { stroke: var(--cream); }
rect.orbit-label { fill: var(--cream); }
.tag { opacity: 0; transition: opacity .3s; }
.tag.on { opacity: 1; }
[data-token] { transition: fill .3s, opacity .18s; }
[data-tag-rect] { transition: fill .3s; }

/* Care model */
.system { width: min(100%, 620px); padding: 6%; --anim: paused; }
.breathe { transform-origin: 300px 300px; animation: breathe-svg 6s ease-in-out infinite; animation-play-state: var(--anim); }
.orbit { transform-origin: 300px 300px; animation: orbit 160s linear infinite; animation-play-state: var(--anim); }
.orbit-counter { transform-origin: 0 0; animation: orbitr 160s linear infinite; animation-play-state: var(--anim); }
.oping, .ping, .ripple { transform-box: fill-box; transform-origin: center; }
.oping { animation: pingsm 4.2s ease-out infinite; animation-play-state: var(--anim); }
.ping { animation: ripple 3.2s ease-out infinite; animation-play-state: var(--anim); }
.ripple { animation: ripple 1.8s ease-out forwards; }
.pulse { stroke-dashoffset: 14; animation: travel .55s ease-out forwards; }
.pulse-2 { animation-delay: .5s; }
.ping-2 { animation-delay: -1.6s; }
[data-ring] { transition: stroke .8s, stroke-dasharray .4s; }
[data-odot] { transition: fill .8s; }
[data-oping], [data-orect] { transition: stroke .8s; }
[data-center] { transition: fill .8s ease-in, stroke .8s ease-in; }
text.orbit-label { fill: var(--ink); font-family: var(--text); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-anchor: middle; }
.olbl-stack { display: none; }

/* Non-negotiables */
.five { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: clamp(32px, 5vw, 110px); align-items: start; }
.five .body { margin-top: 24px; max-width: 400px; }
.aud { margin: 40px 0 0; max-width: 460px; padding: 20px 22px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); }
.aud-kicker { font-size: 11px; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.aud-help { margin-top: 6px; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { border: 1.5px solid var(--line); background: transparent; color: var(--ink); padding: 9px 14px; border-radius: 30px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.aud-note { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.nn-list { border-top: 1px solid var(--line); }
.nn { border-bottom: 1px solid var(--line); }
.nn-head { width: 100%; display: flex; align-items: center; gap: 22px; cursor: pointer; padding: 26px 0; background: none; border: 0; text-align: left; color: inherit; }
.nn-num { font-size: 11px; color: var(--accent-text); font-weight: 600; }
.nn-title { font-family: var(--display); font-weight: 550; font-size: clamp(22px, 2vw, 27px); line-height: 1.12; letter-spacing: -.035em; }
.nn-plus { font-size: 26px; line-height: 1; margin-left: auto; font-weight: 300; transition: transform .25s; }
.nn-head[aria-expanded="true"] .nn-plus { transform: rotate(45deg); }
.nn-panel { padding: 0 35px 26px 39px; font-size: 14.5px; color: var(--muted); line-height: 1.65; }
.nn-q { color: var(--accent-text); font-family: var(--display); font-size: 19px; line-height: 1.4; margin: 14px 0 0; }
.nn-test { display: flex; gap: 10px; align-items: baseline; margin: -12px 0 20px 34px; font-size: 14.5px; line-height: 1.5; }
.nn-test b { color: var(--accent-text); font-weight: 700; }
.nn-test.anim { animation: testin .5s ease-out both; }

.name-band { background: var(--dark); color: var(--cream); padding: clamp(48px, 6vw, 80px) var(--gut); }
.name-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.name-mark { color: var(--blush); width: clamp(72px, 9vw, 120px); overflow: visible; }
.name-text { margin: 0; max-width: 820px; font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.28; letter-spacing: -.02em; text-wrap: pretty; }

/* Who decides */
.tabs { display: none; }
.cols3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(20px, 3vw, 40px); }
.col { border-top: 2px solid var(--ink); padding-top: 22px; }
.col-rose { border-top-color: var(--rose); }
.col-dash { border-top: 2px dashed var(--rose); }
.col-title { margin: 0; font-family: var(--display); font-weight: 550; font-size: 28px; letter-spacing: -.03em; line-height: 1.1; }
.bullets { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 15px; line-height: 1.5; }
.bullets li { display: flex; gap: 12px; align-items: flex-start; }
.bullets li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); flex: none; margin-top: 7px; }
.col-rose .bullets li::before { background: var(--rose); }
.col-dash .bullets li::before { background: transparent; border: 1.5px dashed var(--rose); }

/* Care grid */
.care-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 48px); margin: clamp(40px, 5vw, 72px) 0 0; max-width: 1100px; }
.care-grid li { border-top: 1.5px solid var(--ink); padding-top: 20px; }
.care-grid h3 { margin: 0; font-family: var(--text); font-weight: 600; font-size: 16px; line-height: 1.4; }
.care-grid p { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.care-ico, .fit-ico { display: block; fill: none; stroke: var(--rose); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.care-ico { width: 32px; height: 32px; margin-bottom: 14px; }
.care-ico .f, .fit-ico .f { fill: var(--rose); stroke: none; }

.dark-body { margin: 0 0 18px; font-size: 15px; color: var(--pale); line-height: 1.7; text-wrap: pretty; }
.dark-body + .link-line { margin-top: 8px; }

/* Where you fit */
.fit-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: clamp(14px, 1.5vw, 20px); }
.fit-card { display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 2.5vw, 32px); border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); transition: border-color .2s, transform .2s, opacity .9s; }
.fit-card:hover { border-color: var(--rose); }
.fit-ico { width: 36px; height: 36px; }
.fit-card h3 { margin: 0; font-family: var(--display); font-weight: 550; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.1; letter-spacing: -.03em; }
.fit-lead { margin: 0; font-size: 15px; line-height: 1.5; text-wrap: pretty; }
.fit-sub { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.fit-btn { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 24px; border: 0; border-bottom: 1px solid currentColor; padding: 8px 0; background: none; color: var(--ink); font-size: 13px; font-weight: 600; cursor: pointer; }
.fit-btn span { font-size: 20px; line-height: 1; }
.fit-btn:hover { color: var(--accent-text); }

.dots { display: none; }

/* Form */
.form-col { max-width: 560px; width: 100%; }
.form { position: relative; display: grid; gap: 16px; padding: clamp(24px, 3vw, 36px); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; }
.form label { display: grid; gap: 6px; font-size: 12px; font-weight: 600; }
.form input, .form select, .form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); color: var(--ink);
  padding: 13px; font-size: 16px; outline: none; -webkit-appearance: none; appearance: none;
}
.form select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.form textarea { resize: vertical; font-family: inherit; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--rose); box-shadow: 0 0 0 1px var(--rose); }
.opt { font-weight: 400; color: var(--muted); }
.form-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.form-foot { margin-top: 6px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.form-status { font-size: 13px; color: var(--accent-text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.thanks { padding: clamp(28px, 4vw, 44px); border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); outline: none; }
.thanks-star { color: var(--rose); font-size: 28px; line-height: 1; }
.thanks h3 { margin: 14px 0 12px; font-family: var(--display); font-weight: 550; font-size: clamp(30px, 3vw, 40px); line-height: 1.05; letter-spacing: -.035em; }
.thanks p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* Footer */
.footer { padding: 40px var(--gut); max-width: 1408px; margin: 0 auto; display: flex; align-items: center; gap: 24px 60px; flex-wrap: wrap; border-top: 1px solid var(--line); font-size: 12px; }
.footer-tag { margin: 0 auto 0 0; line-height: 1.6; }
.footer-legal { width: 100%; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); }
.footer-legal > span { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* Tablet */
@media (max-width: 720px) {
  .care-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phone */
@media (max-width: 760px) {
  :root { --pad: 56px; --hdr: 68px; }
  html { scroll-padding-top: 80px; }
  .wm-word { font-size: 26px; }
  .wm-sub { font-size: 8px; margin-top: 4px; }
  .nav { gap: 8px; }
  .nav-link { display: none; }
  .nav-cta { padding: 9px 14px; font-size: 12.5px; gap: 8px; }
  .menu-btn { display: inline-flex; }
  .h1 { font-size: 44px; line-height: 1.04; }
  .h2, .h2-sm { font-size: 34px; line-height: 1.06; }
  .hero-label { font-size: 12.5px; padding: .5em .8em; }
  .hero-foot { display: none; }

  .dgm-ctrl, .dgm-ctrl.is-small { position: relative; left: auto; right: auto; top: auto; transform: none; display: flex; margin: 18px auto 0; width: max-content; }
  .dgm-ctrl.is-small { padding: 10px 18px; font-size: 13px; }
  .node { font-size: 11px; padding: 7px 11px 8px; gap: 5px; border-radius: 22px; }
  .node i { width: 9px; height: 9px; }
  .node-sq { border-radius: 9px; padding: 7px 10px 8px; }
  .center-word { font-size: 10.5px; }
  .cl-main { font-size: 12.5px; }
  .cl-sub { font-size: 8px; letter-spacing: .08em; }
  .system { padding: 3%; }
  .olbl-wide { display: none; }
  .olbl-stack { display: inline; }

  /* Buttons: full width, one clean edge */
  .row { flex-direction: column; align-items: stretch; gap: 14px; }
  .row .btn { width: 100%; min-height: 52px; padding: 16px 22px; }
  .row .link-line { align-self: flex-start; margin-top: 4px; }
  .row-tight { gap: 10px; }
  .form-foot .btn { width: 100%; min-height: 52px; }

  /* Hero mark: cropped to the drawing so it reads bigger; labels sit by their dots */
  .hero-art { min-height: 0; aspect-ratio: 400 / 460; padding: 0; overflow: hidden; }
  .hero-svg { inset: auto; left: -17.5%; top: -13.04%; width: 135%; height: 128.26%; }
  .l1 { left: 3%; top: 38%; right: auto; }
  .l2 { right: 4%; top: 31%; left: auto; }
  .l3 { right: 0; top: 65%; left: auto; }
  .l4 { left: 28%; top: 86%; right: auto; }
  .l5 { left: 2%; top: 66%; right: auto; }
  .hero-label { display: none; }
  .hero-art.cycling .hero-label { display: flex; opacity: 0; transition: opacity .5s; animation: none; }
  .hero-art.cycling .hero-label.is-on { opacity: 1; }
  .hero-points { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-family: var(--display); font-size: 16px; letter-spacing: -.02em; }
  .hero-points li { display: flex; gap: 10px; align-items: center; }
  .hero-points li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); flex: none; }
  .hero-art.cycling + .hero-points { display: none; }

  /* Band: stacked, star between */
  .band { flex-wrap: nowrap; gap: 14px; padding-top: 30px; padding-bottom: 30px; }
  .band-star { font-size: 18px; line-height: 1; flex: none; }
  .band { font-size: 18px; line-height: 1.3; }
  .band-break { display: block; }



  /* Five: picker as a swipe row, docked above the list */
  .aud { margin: 28px 0 0; max-width: none; padding: 0; border: 0; border-radius: 0; background: none; }
  .aud-help { display: none; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 10px calc(-1 * var(--gut)) 0; padding: 0 var(--gut) 2px; scroll-padding-inline: var(--gut); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; white-space: nowrap; }
  .aud-note { margin-top: 8px; font-size: 12px; }
  .aud.is-docked { position: sticky; top: var(--hdr); z-index: 5; margin: 0 calc(-1 * var(--gut)); padding: 14px var(--gut) 12px; background: var(--cream); border-bottom: 1px solid var(--line); }
  .aud.is-docked + .nn-list { border-top: 0; }

  /* Who decides: tabs */
  .tabs { display: flex; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
  .tab { flex: 1; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; padding: 12px 4px; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; }
  .tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--rose); }
  .cols3.tabbed .col { border-top: 0; padding-top: 0; }
  .cols3.tabbed .col:not(.is-active) { display: none; }

  /* Care areas: one column of rows */
  .care-grid { grid-template-columns: 1fr; gap: 0; }
  .care-grid li { display: grid; grid-template-columns: 28px 1fr; column-gap: 16px; padding: 18px 0; }
  .care-grid li:last-child { border-bottom: 1.5px solid var(--ink); }
  .care-ico { grid-row: span 2; width: 28px; height: 28px; margin: 0; }

  /* Fit cards: dots under the swipe row */
  .fit-row { position: relative; scroll-padding-inline: var(--gut); }
  .dots { display: flex; justify-content: center; gap: 2px; margin-top: 10px; }
  .dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; display: grid; place-items: center; cursor: pointer; }
  .dots button::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: var(--line); transition: width .25s, background .25s; }
  .dots button[aria-current="true"]::before { width: 22px; background: var(--rose); }

  .fit-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) 10px; scrollbar-width: none; }
  .fit-row::-webkit-scrollbar { display: none; }
  .fit-card { flex: 0 0 80%; scroll-snap-align: start; }
  .nn-panel { padding: 0 8px 24px 33px; }
  .nn-test { margin-left: 33px; }
}
@media (max-width: 400px) {
  .nav-cta span { display: none; }
  .wm-word { font-size: 24px; }
}
@media (max-width: 360px) {
  .nav-cta { display: none; }
  .node { font-size: 10px; padding: 6px 9px 7px; gap: 4px; letter-spacing: .04em; }
  .node i { width: 8px; height: 8px; }
}
@media (hover: hover) {
  .fit-card:hover { transform: translateY(-2px); }
}

/* Motion */
@keyframes dash { to { stroke-dashoffset: 0; } }
@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .7; transform: scale(.9); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(0, -6px); } }
@keyframes testin { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes orbitr { to { transform: rotate(-360deg); } }
@keyframes pingsm { from { transform: scale(.25); opacity: .55; } to { transform: scale(1); opacity: 0; } }
@keyframes ripple { from { transform: scale(.089); opacity: .7; } to { transform: scale(1); opacity: 0; } }
@keyframes travel { from { stroke-dashoffset: 14; } to { stroke-dashoffset: -100; } }
@keyframes heroping { 0% { opacity: .8; transform: scale(.4); } 70% { opacity: 0; transform: scale(1.7); } 100% { opacity: 0; } }
@keyframes tabpulse { 0%, 100% { transform: none; } 50% { transform: scale(1.07); } }
@keyframes breathe-svg { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .draw { animation: none; stroke-dashoffset: 0; }
  /* Decoration stops. The diagrams only move after a tap (their CSS motion is held by --anim). */
  .twinkle, .twinkle-svg, .hero-label, .nn-test.anim { animation: none !important; }
  .hero-pulse.go { animation: none; opacity: .85; transform: none; }
  .story-copy > * { animation: none; }
  [data-reveal], .fit-card, .btn { transition: none; }
}
