:root {
  --bg: #F4F1EA;
  --surface: #FBFAF6;
  --surface-alt: #EFEBE1;
  --border: #DAD4C7;
  --border-strong: #C7C0B0;
  --text: #232A2B;
  --text-muted: #6A6F66;
  --text-faint: #9A9C90;
  --teal: #0C4E54;
  --teal-deep: #08383D;
  --teal-soft: #E4ECEB;
  --navy: #1B2A33;
  --gold: #B8852F;
  --gold-soft: #F2E7CF;
  --amber: #964219;
  --green: #437A22;
  --shadow-sm: 0 1px 2px rgba(35,42,43,.05), 0 1px 3px rgba(35,42,43,.04);
  --shadow-md: 0 4px 14px rgba(27,42,51,.07), 0 2px 4px rgba(27,42,51,.04);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --font-display: 'Boska', Georgia, serif;
  --font-body: 'Satoshi', system-ui, -apple-system, sans-serif;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
a { color: var(--teal); }
p { margin: 0 0 .8em; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2.5px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244,241,234,.88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand svg { display: block; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.brand-text span { font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--text-muted); font-weight: 500; }
.topbar-progress { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.progress-meter { width: 150px; height: 7px; border-radius: 99px; background: var(--surface-alt); overflow: hidden; border: 1px solid var(--border); }
.progress-meter > i { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--teal), #16707a); transition: width .5s cubic-bezier(.4,0,.2,1); }
.progress-label { font-size: 12.5px; color: var(--text-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.btn-bar { display: flex; gap: 8px; }

.btn {
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  border-radius: var(--radius-sm); padding: 9px 16px; cursor: pointer;
  border: 1px solid transparent; transition: background .18s, border-color .18s, transform .12s, color .18s;
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); }
.btn-ghost { background: transparent; color: var(--teal); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface); border-color: var(--teal); }
.btn-icon svg { width: 16px; height: 16px; }

/* ---------- Layout ---------- */
.shell { max-width: var(--maxw); margin: 0 auto; padding: 0 24px 80px; }

.hero { padding: 56px 0 40px; max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); background: var(--teal-soft); padding: 6px 12px; border-radius: 99px; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); margin: 22px 0 18px; }
.hero .lede { font-size: clamp(17px, 2.4vw, 20px); color: var(--text-muted); max-width: 60ch; }
.scale-legend { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 26px; }
.scale-legend span { font-size: 12.5px; color: var(--text-muted); background: var(--surface); border: 1px solid var(--border); border-radius: 99px; padding: 5px 12px; }
.scale-legend span b { color: var(--text); font-weight: 700; }

.layout { display: grid; grid-template-columns: 232px 1fr; gap: 40px; align-items: start; }

/* ---------- Side nav ---------- */
.sidenav { position: sticky; top: 80px; }
.sidenav h2 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); font-family: var(--font-body); font-weight: 700; margin-bottom: 10px; padding-left: 4px; }
.sidenav ol { list-style: none; margin: 0; padding: 0; counter-reset: nav; }
.sidenav li { margin: 0; }
.nav-link {
  display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-muted);
  font-size: 13.5px; font-weight: 500; padding: 8px 10px; border-radius: var(--radius-sm);
  transition: background .15s, color .15s; position: relative;
}
.nav-link:hover { background: var(--surface); color: var(--text); }
.nav-link.active { background: var(--surface); color: var(--teal); font-weight: 700; }
.nav-dot { width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--border-strong); flex: none; transition: background .2s, border-color .2s; }
.nav-link.rated .nav-dot { background: var(--teal); border-color: var(--teal); }
.nav-num { font-variant-numeric: tabular-nums; color: var(--text-faint); font-size: 12px; width: 14px; flex: none; }

/* ---------- Sections ---------- */
.section {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px clamp(20px, 3vw, 34px); margin-bottom: 22px; scroll-margin-top: 80px;
  box-shadow: var(--shadow-sm);
}
.section-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 6px; }
.section-index { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--gold); line-height: 1; flex: none; width: 44px; }
.section-title-wrap h2 { font-size: clamp(21px, 3vw, 27px); }
.section-title-wrap p { color: var(--text-muted); margin: 6px 0 0; font-size: 14.5px; max-width: 62ch; }

.prompts { margin: 22px 0 4px; }
.prompt-group { margin-bottom: 18px; }
.prompt-group > h3 { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--teal); margin-bottom: 9px; }
.prompt-list { list-style: none; margin: 0 0 12px; padding: 0; }
.prompt-list li { position: relative; padding-left: 20px; margin-bottom: 7px; font-size: 14.5px; color: var(--text); }
.prompt-list li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.notes-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-muted); margin: 14px 0 6px; letter-spacing: .02em; }
input[type="text"], input[type="email"], input[type="date"], input[type="tel"], select, textarea {
  width: 100%; font-family: var(--font-body); font-size: 14.5px;
  color: var(--text); background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  padding: 12px 14px; line-height: 1.5; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 84px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--teal) 50%), linear-gradient(135deg, var(--teal) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
input[type="text"]:focus, input[type="email"]:focus, input[type="date"]:focus, input[type="tel"]:focus, select:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); outline: none; }
input::placeholder, textarea::placeholder { color: var(--text-faint); }
.btn:disabled { opacity: .52; cursor: not-allowed; transform: none; }

.participant-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 30px); margin: 0 0 30px; box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: minmax(220px, .85fr) minmax(0, 1.45fr);
  gap: clamp(18px, 3vw, 34px); align-items: start;
}
.participant-card h2 { font-size: clamp(21px, 3vw, 27px); }
.participant-card p { color: var(--text-muted); margin-top: 6px; font-size: 14.5px; max-width: 36ch; }
.person-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.person-grid .wide-field { grid-column: 1 / -1; }
.field-label { display: block; font-size: 12.5px; font-weight: 700; color: var(--text-muted); margin-bottom: 6px; letter-spacing: .02em; }
.optional-label { color: var(--text-faint); font-weight: 600; }
.model-note { margin: 8px 0 0; color: var(--text-muted); font-size: 12.8px; line-height: 1.45; }
.context-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; background: rgba(232,201,123,.14); color: #F2E7CF; border: 1px solid rgba(232,201,123,.25); font-size: 12.5px; font-weight: 700; margin-top: 12px; }
.send-note { font-size: 12.5px; color: rgba(241,239,233,.72); margin: 4px 0 0; width: 100%; }
.visually-hidden-form { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* rating chips */
.rating { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); }
.rating-q { font-size: 13.5px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rating-q .badge-done { font-size: 11px; font-weight: 700; color: var(--green); background: #E5F0DC; padding: 2px 9px; border-radius: 99px; letter-spacing: .02em; }
fieldset.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
fieldset.chips legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip label {
  display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer;
  min-width: 92px; padding: 10px 12px; border: 1.5px solid var(--border-strong); border-radius: var(--radius-md);
  background: var(--bg); transition: all .16s; text-align: center;
}
.chip label .num { font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 1; color: var(--text-muted); }
.chip label .lbl { font-size: 11.5px; color: var(--text-faint); font-weight: 600; }
.chip label:hover { border-color: var(--teal); background: var(--surface); }
.chip input:checked + label { border-color: var(--teal); background: var(--teal); box-shadow: var(--shadow-md); }
.chip input:checked + label .num,
.chip input:checked + label .lbl { color: #fff; }
.chip input:focus-visible + label { outline: 2.5px solid var(--teal); outline-offset: 2px; }

/* ---------- Admin archive ---------- */
.admin-body { min-height: 100vh; }
.admin-topbar .topbar-inner { max-width: 1240px; }
.admin-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.admin-hero {
  padding: 54px 0 28px;
  max-width: 780px;
}
.admin-hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  margin: 20px 0 14px;
}
.admin-login-card,
.admin-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.admin-login-card {
  padding: clamp(22px, 3vw, 30px);
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}
.admin-login-card h2,
.admin-panel h2 {
  font-size: clamp(22px, 3vw, 28px);
}
.admin-login-card p,
.admin-panel-head p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-top: 6px;
}
.admin-login-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}
.admin-status {
  color: var(--text-muted);
  margin-top: 10px;
}
.admin-status.is-error {
  color: #8A2B18;
}
.admin-panel {
  overflow: hidden;
}
.admin-panel-head {
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--border);
}
.admin-actions {
  display: grid;
  grid-template-columns: minmax(180px, 240px) auto;
  gap: 10px;
  align-items: end;
}
.admin-actions .field-label {
  grid-column: 1 / -1;
  margin-bottom: -4px;
}
.admin-table-wrap {
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 920px;
}
.admin-table th,
.admin-table td {
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  padding: 16px 18px;
}
.admin-table th {
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-faint);
  background: var(--surface-alt);
}
.admin-table td strong,
.admin-table td span,
.admin-table td a {
  display: block;
}
.admin-table td strong {
  font-size: 14px;
  color: var(--text);
}
.admin-table td span,
.admin-table td a {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--text-muted);
}
.admin-pill {
  display: inline-flex !important;
  width: fit-content;
  margin-top: 0 !important;
  padding: 5px 10px;
  border-radius: 99px;
  background: var(--teal-soft);
  color: var(--teal) !important;
  font-weight: 700;
}
.admin-status-select {
  min-height: 34px;
  min-width: 152px;
  padding: 7px 32px 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background-color: var(--surface);
  color: var(--teal);
  font-size: 12.5px;
  font-weight: 800;
}
.btn-small {
  min-height: 34px;
  padding: 7px 11px;
  font-size: 12.5px;
}
.admin-table .btn-small + .btn-small { margin-top: 6px; }
.btn-danger { color: #9C3F25; border-color: color-mix(in srgb, #9C3F25 35%, var(--border)); }
.admin-empty {
  color: var(--text-muted);
  padding: 24px 28px;
}

/* ---------- Dashboard ---------- */
.dashboard { scroll-margin-top: 80px; margin-bottom: 22px; }
.dash-card {
  background: linear-gradient(160deg, var(--navy), var(--teal-deep));
  color: #F1EFE9; border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 38px);
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.dash-card h2 { color: #fff; font-size: clamp(22px, 3vw, 28px); }
.dash-sub { color: rgba(241,239,233,.72); font-size: 14.5px; margin-top: 6px; }
.dash-grid { display: grid; grid-template-columns: auto 1fr; gap: 28px; margin-top: 26px; align-items: center; }
.gauge { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.gauge svg { display: block; transform: rotate(-90deg); }
.gauge .score { font-family: var(--font-display); font-size: 15px; }
.posture { }
.posture .ptag {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px, 4vw, 34px); color: #fff;
}
.posture .ptag .pdot { width: 13px; height: 13px; border-radius: 50%; background: var(--gold); flex: none; }
.posture .pdesc { color: rgba(241,239,233,.82); font-size: 15px; margin-top: 10px; max-width: 52ch; }
.window-pill { display: inline-block; margin-top: 14px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 99px; padding: 7px 15px; font-size: 13.5px; }
.window-pill b { color: #F2E7CF; }

.focus-row { margin-top: 26px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); }
.focus-row h3 { color: #fff; font-family: var(--font-body); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; margin-bottom: 14px; opacity: .9; }
.focus-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.focus-item { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-md); padding: 14px 16px; }
.focus-item .fi-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.focus-item .fi-name { font-weight: 700; font-size: 14.5px; color: #fff; }
.focus-item .fi-score { font-variant-numeric: tabular-nums; font-size: 13px; color: var(--gold-soft); font-weight: 700; }
.focus-item .fi-bar { height: 5px; border-radius: 99px; background: rgba(255,255,255,.15); margin-top: 9px; overflow: hidden; }
.focus-item .fi-bar > i { display: block; height: 100%; background: var(--gold); border-radius: 99px; }
.focus-item .fi-tip { font-size: 12.5px; color: rgba(241,239,233,.7); margin-top: 9px; line-height: 1.45; }
.dash-empty { color: rgba(241,239,233,.7); font-size: 14.5px; margin-top: 24px; }

.dash-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.dash-actions .btn-primary { background: var(--gold); color: var(--navy); }
.dash-actions .btn-primary:hover { background: #c79238; }
.dash-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.dash-actions .btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ---------- Roadmap ---------- */
.roadmap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(24px,3.5vw,36px); margin-bottom: 22px; scroll-margin-top: 80px; box-shadow: var(--shadow-sm); }
.roadmap[hidden] { display: none; }
.roadmap > h2 { font-size: clamp(22px,3vw,28px); }
.roadmap > p.intro { color: var(--text-muted); margin-top: 6px; font-size: 14.5px; }
.phases { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 26px; }
.phase { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; background: var(--bg); }
.phase .ptitle { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.phase .pdays { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--teal); }
.phase .ptheme { font-weight: 700; font-size: 15px; }
.phase .pgoal { font-size: 12.5px; color: var(--text-muted); margin: 4px 0 14px; }
.phase ul { list-style: none; margin: 0; padding: 0; }
.phase li { position: relative; padding-left: 24px; font-size: 13.5px; margin-bottom: 11px; line-height: 1.45; }
.phase li::before { content: ""; position: absolute; left: 0; top: 3px; width: 14px; height: 14px; border-radius: 4px; border: 2px solid var(--gold); }
.phase li .ftag { font-size: 11px; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.unlock-card {
  margin-top: 24px; border: 1px solid color-mix(in srgb, var(--teal) 30%, var(--border));
  border-radius: var(--radius-md); background: linear-gradient(135deg, #F8F5EC, #EEF4F1);
  padding: clamp(18px, 3vw, 24px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
  gap: 20px; align-items: start;
}
.unlock-card h3 { font-size: clamp(18px, 2vw, 22px); margin-bottom: 8px; }
.unlock-card p { color: var(--text-muted); font-size: 14px; margin: 0; }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 16px 0 14px; }
.offer-card { border: 1px solid var(--border); border-radius: 16px; background: color-mix(in srgb, var(--surface) 86%, white); padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.offer-card.featured { border-color: color-mix(in srgb, var(--teal) 50%, var(--border)); box-shadow: 0 14px 30px rgba(12, 78, 84, .12); }
.offer-label { font-size: 10px; line-height: 1; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); font-weight: 800; }
.offer-card strong { font-family: var(--font-display); color: var(--teal); font-size: 22px; line-height: 1.05; }
.offer-card p { font-size: 12.2px; line-height: 1.35; }
.btn-small { min-height: 36px; padding: 9px 12px; font-size: 12px; border-radius: 999px; margin-top: auto; justify-content: center; }
.btn[aria-disabled="true"] { opacity: .58; cursor: not-allowed; }
.unlock-list { margin: 14px 0 0; padding-left: 18px; color: var(--text); font-size: 13.5px; line-height: 1.45; }
.unlock-list li { margin-bottom: 6px; }
.unlock-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px; }
.unlock-form .btn { width: 100%; justify-content: center; margin-top: 10px; }
.unlock-status { min-height: 18px; margin-top: 10px; font-size: 12.5px; color: var(--text-muted); }
.unlock-status.ok { color: var(--green); font-weight: 700; }
.unlock-status.error { color: #9C3F25; font-weight: 700; }
.legal-check { display: flex; align-items: flex-start; gap: 9px; margin-top: 12px; color: var(--text-muted); font-size: 12.5px; line-height: 1.4; }
.legal-check input { flex: none; margin-top: 2px; accent-color: var(--teal); }
.legal-check a { font-weight: 700; }

footer.site { max-width: var(--maxw); margin: 0 auto; padding: 32px 24px 48px; border-top: 1px solid var(--border); color: var(--text-faint); font-size: 12.5px; }
footer.site a { color: var(--text-muted); }
footer.site .legal-links { color: var(--text-muted); font-weight: 600; }

.legal-page .shell { max-width: 920px; }
.legal-doc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(24px, 5vw, 48px); margin: 34px 0 28px; box-shadow: var(--shadow-sm); }
.legal-doc .eyebrow { display: inline-flex; margin-bottom: 10px; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.legal-doc h1 { font-size: clamp(34px, 6vw, 56px); margin-bottom: 10px; }
.legal-doc h2 { color: var(--teal); font-size: clamp(20px, 3vw, 28px); margin: 30px 0 10px; }
.legal-doc h3 { color: var(--amber); font-family: var(--font-body); font-size: 15px; margin: 20px 0 8px; }
.legal-doc p, .legal-doc li { color: var(--text-muted); font-size: 15px; }
.legal-doc ul { padding-left: 22px; }
.legal-doc .lede { color: var(--text); font-size: 17px; max-width: 70ch; }
.legal-doc .notice { background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 35%, var(--border)); border-radius: var(--radius-md); padding: 14px 16px; color: var(--text); }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--navy); color: #fff; padding: 12px 20px; border-radius: var(--radius-md); font-size: 14px; font-weight: 600; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 300; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; gap: 18px; }
  .sidenav { position: static; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 14px; }
  .sidenav ol { display: flex; flex-wrap: wrap; gap: 6px; }
  .sidenav li { flex: 1 1 auto; }
  .nav-link { font-size: 12.5px; padding: 7px 9px; }
  .topbar-progress .btn-bar { display: none; }
  .participant-card { grid-template-columns: 1fr; }
  .participant-card p { max-width: 62ch; }
  .unlock-card { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .shell { padding: 0 16px 60px; }
  .topbar-inner { padding: 10px 16px; gap: 10px; }
  .progress-meter { width: 90px; }
  .hero { padding: 36px 0 28px; }
  .section-head { gap: 10px; }
  .section-index { font-size: 22px; width: 30px; }
  .chip label { min-width: 0; flex: 1 1 60px; }
  .dash-grid { grid-template-columns: 1fr; gap: 18px; }
  .person-grid { grid-template-columns: 1fr; }
}

/* ---------- Print ---------- */
@media print {
  :root { --bg: #fff; --surface: #fff; }
  body { background: #fff; }
  .topbar, .sidenav, .skip-link, .dash-actions, .btn-bar, .scale-legend, .unlock-card, footer.site .noprint { display: none !important; }
  .layout { grid-template-columns: 1fr; }
  .section, .roadmap, .dash-card, .participant-card { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  .dash-card { background: #fff !important; color: #000 !important; -webkit-print-color-adjust: exact; }
  .dash-card h2, .posture .ptag, .focus-item .fi-name { color: #000 !important; }
  .dash-sub, .posture .pdesc, .focus-item .fi-tip { color: #333 !important; }
  .focus-item { border-color: #ccc !important; background: #f6f6f6 !important; }
  .roadmap[hidden] { display: block !important; }
  a { color: #000; text-decoration: none; }
  .hero { padding-top: 12px; }
}
