@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* Settings Home — site styles
   Type: Bricolage Grotesque (display) + Figtree (text/UI)
   Palette: cool paper, ink navy, one electric blue, functional ring colors. */

:root {
  --ink: #0a1a2b;
  --ink-2: #3c5065;
  --muted: #6c7f94;
  --line: #dbe4f0;
  --line-strong: #c6d4e5;
  --canvas: #f2f6fb;
  --surface: #ffffff;
  --brand: #1b5bff;
  --brand-deep: #0b3bd6;
  --brand-wash: #e7eeff;
  --good: #0e9463;
  --warm: #e2a03c;

  --font-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --font-text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-phone: 48px;
  --shadow-phone: 0 50px 90px -40px rgba(10, 26, 43, 0.55),
    0 18px 40px -24px rgba(10, 26, 43, 0.3);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--brand);
  color: #fff;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 246, 251, 0.94);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.site-nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav .nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}

.site-nav .nav-cta:hover {
  background: var(--brand-deep);
  color: #fff;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ---------- Shared type ---------- */

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  margin: 0 0 18px;
}

.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 0;
  text-wrap: balance;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 3.05rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

.lede {
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.65;
  margin: 0;
  max-width: 54ch;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head .lede {
  padding-bottom: 6px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, transform 0.15s var(--ease);
}

.btn:hover {
  background: var(--brand-deep);
}

.btn:active {
  transform: translateY(1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: var(--surface);
  color: var(--ink);
}

.btn-light {
  background: #fff;
  color: var(--brand-deep);
}

.btn-light:hover {
  background: #eaf0ff;
  color: var(--brand-deep);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--line-strong);
  padding-bottom: 3px;
  transition: border-color 0.15s ease;
}

.text-link:hover {
  border-color: var(--ink);
}

.play-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(48px, 6.5vw, 92px) 0 clamp(56px, 7vw, 100px);
  position: relative;
  overflow: clip;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.85rem, 5.6vw, 5.1rem);
  max-width: 11ch;
}

.hero-lede {
  margin-top: 26px;
  max-width: 47ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 34px;
}

.hero-note {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.hero-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stage-glow {
  position: absolute;
  inset: 6% 2% 10%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #dbe8ff 0%, #e9f1fd 45%, rgba(242, 246, 251, 0) 72%);
  z-index: 0;
}

.phone {
  position: relative;
  z-index: 1;
  width: min(356px, 84vw);
  padding: 10px;
  border-radius: var(--radius-phone);
  background: #0b1a2b;
  box-shadow: var(--shadow-phone);
  animation: phone-in 0.9s var(--ease) both;
}

@keyframes phone-in {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.phone-screen {
  border-radius: 39px;
  background: #eef3fa;
  padding: 8px 14px 10px;
  overflow: hidden;
}

.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px 4px;
  font-size: 12px;
  font-weight: 700;
  color: #0b1a2b;
  letter-spacing: -0.01em;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-icons svg {
  width: 15px;
  height: 15px;
}

.status-icons .is-off {
  opacity: 0.22;
}

.demo-search {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  margin-top: 6px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  color: #7b8ca0;
  font-size: 11.5px;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(10, 26, 43, 0.05);
}

.demo-search svg {
  width: 14px;
  height: 14px;
  color: #5b6f86;
}

.demo-panel {
  margin-top: 12px;
  padding: 14px 12px 12px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 10px 30px -18px rgba(10, 26, 43, 0.35);
}

.demo-panel-label {
  margin: 0 0 10px 2px;
  font-size: 11px;
  font-weight: 600;
  color: #7b8ca0;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.demo-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 4px 9px;
  min-height: 62px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: #f1f5fa;
  color: #33475c;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s var(--ease);
}

.demo-tile svg {
  width: 19px;
  height: 19px;
}

.demo-tile:hover {
  transform: translateY(-1px);
}

.demo-tile[aria-pressed="true"] {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 14px -6px rgba(27, 91, 255, 0.65);
}

.demo-slider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 11px;
  border-radius: 15px;
  background: #f1f5fa;
}

.demo-slider svg {
  width: 16px;
  height: 16px;
  color: #33475c;
  flex-shrink: 0;
}

.demo-slider output {
  font-size: 10.5px;
  font-weight: 700;
  color: #33475c;
  min-width: 30px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

input[type="range"] {
  --val: 70%;
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 20px;
  background: transparent;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--brand) var(--val), #d5e0ee var(--val));
}

input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: #d5e0ee;
}

input[type="range"]::-moz-range-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--brand);
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -5px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #c3d1e2;
  box-shadow: 0 1px 3px rgba(10, 26, 43, 0.25);
}

input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #c3d1e2;
  box-shadow: 0 1px 3px rgba(10, 26, 43, 0.25);
}

.demo-rings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 10px;
  padding: 10px 4px 6px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e6edf6;
}

.demo-ring {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.demo-ring svg {
  width: 58px;
  height: 58px;
}

.demo-ring .ring-value {
  font-size: 12px;
  font-weight: 700;
  fill: #0b1a2b;
  font-variant-numeric: tabular-nums;
}

.demo-ring span {
  font-size: 9px;
  color: #7b8ca0;
  font-weight: 500;
}

.demo-hint {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* ---------- Controls section ---------- */

.section {
  padding: clamp(64px, 8vw, 104px) 0;
  border-top: 1px solid var(--line);
}

.controls-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 56px;
}

.control-group h3 {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.control-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.control-row:last-child {
  border-bottom: 0;
}

.control-row .icon {
  width: 21px;
  height: 21px;
  color: var(--brand);
  flex-shrink: 0;
}

.control-row .copy {
  min-width: 0;
}

.control-row .name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.control-row .sub {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.control-row .chev {
  width: 15px;
  height: 15px;
  margin-left: auto;
  color: var(--muted);
  flex-shrink: 0;
}

/* ---------- Health (dark) ---------- */

.health {
  background: #0a1728;
  color: #eef4fb;
  border-top: 0;
}

.health .section-head {
  align-items: center;
}

.health .lede {
  color: #a9bbcf;
}

.health h2 {
  color: #fff;
}

.health-rings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 5vw, 64px);
  margin-top: 8px;
  max-width: 760px;
}

.health-ring {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.health-ring svg {
  width: 100%;
  max-width: 168px;
  height: auto;
}

.health-ring .num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  fill: #fff;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.health-ring .unit {
  font-size: 14px;
  font-weight: 600;
  fill: #a9bbcf;
}

.health-ring p {
  margin: 0;
  font-size: 14px;
  color: #a9bbcf;
  line-height: 1.45;
}

.health-ring strong {
  display: block;
  color: #eef4fb;
  font-size: 15px;
  font-weight: 600;
}

/* ---------- Beyond settings ---------- */

.beyond-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.beyond-intro {
  position: sticky;
  top: 112px;
}

.beyond-list {
  border-top: 1px solid var(--line);
}

.beyond-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.beyond-item .icon {
  width: 24px;
  height: 24px;
  color: var(--brand);
  margin-top: 2px;
}

.beyond-item h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.beyond-item p {
  margin: 3px 0 0;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.step {
  padding: 28px 36px 0 0;
  border-right: 1px solid var(--line);
}

.step:last-child {
  border-right: 0;
  padding-right: 0;
}

.step-number {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.01em;
}

.step h3 {
  margin: 16px 0 8px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.step p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 32ch;
}

/* ---------- Privacy strip ---------- */

.privacy-strip {
  padding: clamp(48px, 6vw, 72px) 0;
  background: var(--brand-wash);
  border-top: 1px solid #d3e0ff;
}

.privacy-strip .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: center;
}

.privacy-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
  max-width: 20ch;
}

.privacy-strip p {
  margin: 0 0 18px;
  color: #294a7a;
  font-size: 16px;
  line-height: 1.6;
  max-width: 52ch;
}

.privacy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.privacy-links a {
  font-size: 15px;
  font-weight: 600;
  color: #163c78;
  text-decoration: none;
  border-bottom: 1.5px solid #9fbcf3;
  padding-bottom: 2px;
}

.privacy-links a:hover {
  border-color: #163c78;
}

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-intro {
  position: sticky;
  top: 112px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .chev {
  width: 18px;
  height: 18px;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}

.faq-item[open] summary .chev {
  transform: rotate(180deg);
}

.faq-item .answer {
  padding: 0 40px 22px 0;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0;
  max-width: 62ch;
}

.faq-item .answer a {
  color: var(--brand-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ---------- Final CTA ---------- */

.final-cta {
  background: var(--brand);
  color: #fff;
  padding: clamp(64px, 9vw, 112px) 0;
  position: relative;
  overflow: clip;
}

.final-cta .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  align-items: end;
  gap: 32px;
}

.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 0;
  max-width: 14ch;
  text-wrap: balance;
}

.final-cta p {
  margin: 20px 0 0;
  color: #cfdcff;
  font-size: 16px;
}

.final-cta .btn-light {
  flex-shrink: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #0a1728;
  color: #c3d2e3;
  padding: 64px 0 32px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 0.8fr));
  gap: 40px 32px;
}

.footer-brand .brand {
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand p {
  margin: 0;
  max-width: 34ch;
  line-height: 1.6;
  color: #93a8c0;
}

.footer-col h3 {
  margin: 4px 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: #8198b3;
}

.footer-col a {
  display: block;
  width: fit-content;
  margin-bottom: 10px;
  color: #c3d2e3;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #1d3049;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  color: #7f95af;
  font-size: 12.5px;
  line-height: 1.6;
}

.footer-bottom p {
  margin: 0;
  max-width: 72ch;
}

/* ---------- Legal pages ---------- */

.legal-hero {
  padding: clamp(48px, 6vw, 80px) 0 clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 18px;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--muted);
  font-size: 14px;
}

.legal-meta strong {
  color: var(--ink-2);
  font-weight: 600;
}

.legal-summary {
  margin: 26px 0 0;
  max-width: 60ch;
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.65;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  padding: clamp(40px, 5vw, 64px) 0 clamp(64px, 8vw, 96px);
  align-items: start;
}

.toc {
  position: sticky;
  top: 100px;
  font-size: 13.5px;
  line-height: 1.5;
}

.toc h2 {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
  border-left: 1px solid var(--line);
}

.toc li {
  counter-increment: toc;
}

.toc a {
  display: block;
  padding: 7px 0 7px 14px;
  margin-left: -1px;
  border-left: 1px solid transparent;
  color: var(--ink-2);
  text-decoration: none;
}

.toc a::before {
  content: counter(toc) ". ";
  color: var(--muted);
}

.toc a:hover {
  color: var(--ink);
  border-left-color: var(--line-strong);
}

.legal-body {
  max-width: 41em;
}

.legal-body section {
  padding: 0 0 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.legal-body section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-body h2 {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 14px;
  scroll-margin-top: 100px;
}

.legal-body h3 {
  font-size: 16.5px;
  font-weight: 600;
  margin: 24px 0 8px;
  scroll-margin-top: 100px;
}

.legal-body p {
  margin: 0 0 14px;
  color: #2c3e52;
  font-size: 15.5px;
  line-height: 1.7;
}

.legal-body ul {
  margin: 0 0 16px;
  padding-left: 22px;
  color: #2c3e52;
  font-size: 15.5px;
  line-height: 1.7;
}

.legal-body li {
  margin-bottom: 7px;
}

.legal-body a {
  color: var(--brand-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-body .callout {
  padding: 18px 20px;
  border-left: 3px solid var(--brand);
  background: var(--brand-wash);
  border-radius: 0 12px 12px 0;
  font-size: 15px;
  color: #1d3963;
  margin: 0 0 20px;
}

.legal-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 0 0 18px;
}

.legal-body th,
.legal-body td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.legal-body th {
  font-weight: 600;
  color: var(--ink);
  background: #f7f9fd;
}

.legal-body td {
  color: #2c3e52;
}

.legal-contact {
  display: grid;
  gap: 4px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  font-size: 15px;
  margin-top: 6px;
}

.legal-contact strong {
  font-weight: 600;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-stage {
    order: 2;
  }

  .hero h1 {
    max-width: 13ch;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .controls-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .beyond-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .beyond-intro,
  .faq-intro {
    position: static;
  }

  .steps {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .step {
    padding: 24px 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .step p {
    max-width: 52ch;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
  }

  .toc ol {
    columns: 2;
    column-gap: 24px;
    border-left: 0;
  }

  .toc a {
    border-left: 0;
    padding-left: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(1200px, 100% - 36px);
  }

  body {
    font-size: 16px;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 18px 22px;
    background: var(--canvas);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-cta {
    margin-top: 16px;
    text-align: center;
    border-bottom: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .controls-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .control-group + .control-group {
    margin-top: 28px;
  }

  .health-rings {
    gap: 12px;
  }

  .privacy-strip .wrap {
    grid-template-columns: 1fr;
  }

  .final-cta .wrap {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .toc ol {
    columns: 1;
  }

  .legal-body h2 {
    font-size: 22px;
  }
}

@media (max-width: 520px) {
  .phone {
    width: min(340px, 92vw);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions {
    gap: 14px;
  }

  .health-rings {
    max-width: 420px;
  }

  .health-ring .num {
    font-size: 26px;
  }

  .final-cta .btn-light {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
