/* =========================================================
   CareLink Wellness — brand system
   ========================================================= */

:root {
  /* Brand (from logo) */
  --cyan:        #1BA8CA;
  --cyan-deep:   #127E9A;
  --cyan-darker: #0C5E73;
  --cyan-soft:   #D8EFF5;
  --cyan-mist:   #ECF7FA;

  /* Brand accent — Mulberry */
  --accent:         #7C3F5E;
  --accent-deep:    #5E2C46;
  --accent-soft:    #F3E6EE;
  --accent-on-dark: #C093AE;

  /* "The old way" reactive column ONLY — never brand */
  --was:            #A85A3E;
  --was-deep:       #843F27;
  --was-soft:       #FAEDE7;
  --was-on-dark:    #CB937E;

  /* Neutrals — warm slate ink + warm paper */
  --ink:        #15252E;
  --ink-soft:   #3E525C;
  --muted:      #6E7E86;
  --paper:      #FFFFFF;
  --cream:      #FBF8F4;
  --line:       rgba(21, 37, 46, 0.10);
  --line-soft:  rgba(21, 37, 46, 0.06);

  /* Lead accent — swapped by Tweaks (cyan-led by default) */
  --lead:       var(--cyan);
  --lead-deep:  var(--cyan-deep);
  --lead-soft:  var(--cyan-soft);

  /* Type */
  --font-display: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --font-body:    "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --hl-weight: 800;
  --hl-spacing: -0.022em;

  /* Geometry */
  --r-card: 22px;
  --r-lg:   28px;
  --r-pill: 999px;
  --maxw:   1180px;

  --shadow-sm: 0 4px 14px -6px rgba(16, 60, 80, 0.18);
  --shadow-md: 0 18px 44px -22px rgba(16, 60, 80, 0.40);
  --shadow-lg: 0 40px 90px -40px rgba(13, 70, 95, 0.45);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Lead accent is cyan throughout; mulberry is the section-eyebrow + heart accent */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; } /* offset anchor scrolls below the 78px sticky nav */

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--hl-weight);
  line-height: 1.04;
  letter-spacing: var(--hl-spacing);
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { padding: clamp(72px, 9vw, 132px) 0; }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
/* Eyebrows on dark sections use the on-dark accent token for legibility */
.eyebrow.on-dark { color: var(--accent-on-dark); }
.lede { color: var(--ink-soft); font-size: clamp(18px, 2vw, 21px); line-height: 1.6; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 13px 16px 13px 24px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn .ico {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  flex: 0 0 auto;
  transition: transform .3s var(--ease);
}
.btn:hover .ico { transform: translateX(3px); }
.btn svg { width: 15px; height: 15px; }

.btn-primary { background: var(--lead); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary .ico { background: rgba(255,255,255,0.22); color: #fff; }
.btn-primary:hover { background: var(--lead-deep); box-shadow: var(--shadow-md); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost .ico { background: var(--lead-soft); color: var(--lead-deep); }
.btn-ghost:hover { border-color: var(--lead); background: #fff; transform: translateY(-2px); }

.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-light .ico { background: var(--lead); color: #fff; }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-on-dark { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.25); backdrop-filter: blur(6px); }
.btn-on-dark .ico { background: #fff; color: var(--lead-deep); }
.btn-on-dark:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--cream) 92%, transparent); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; height: 78px; }
.nav-logo img { height: 17px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-weight: 500; font-size: 15px; color: var(--ink-soft); transition: color .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--lead-deep); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-burger { display: none; }

/* =========================================================
   HERO — shared
   ========================================================= */
.hero { padding-top: clamp(28px, 4vw, 52px); padding-bottom: clamp(40px, 6vw, 80px); }
.hero-chips {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.chip {
  font-size: 14px; font-weight: 600; color: var(--ink-soft);
  background: #fff; border: 1px solid var(--line);
  padding: 8px 15px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-sm);
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lead); }
.chip.alt .dot { background: var(--accent); }
.chips-note { font-size: 14.5px; color: var(--muted); font-weight: 500; }

/* ---- Photographic hero ---- */
.hero-a .hero-panel {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 8% 0%, color-mix(in srgb, var(--lead) 88%, #fff) 0%, var(--lead-deep) 48%, var(--cyan-darker) 100%);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 560px;
  isolation: isolate;
}
.hero-a .hero-copy { padding: clamp(34px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; color: #fff; }
.hero-a .hero-eyebrow {
  font-weight: 700; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.82); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
}
.hero-a .hero-eyebrow::before { display: none; }
.hero-a .eb-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(124,63,94,0.7); animation: pulse 2.4s infinite; flex: 0 0 auto; }
.hero-a h1 { color: #fff; font-size: clamp(38px, 4.6vw, 60px); }
.hero-a .hero-sub { color: rgba(255,255,255,0.9); font-size: clamp(17px, 1.6vw, 20px); margin-top: 22px; max-width: 42ch; }
.hero-a .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-a .hero-media { position: relative; background: var(--cyan-mist); }
.hero-a .hero-media image-slot,
.hero-a .hero-media .img-ph,
.hero-a .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* hero figure — light card holding the Circle of Care diagram */
.hero-a .hero-figure {
  position: absolute; inset: 0;
  background: radial-gradient(120% 120% at 50% 32%, #ffffff 0%, var(--cyan-mist) 100%);
  display: grid; place-items: center;
  padding: clamp(22px, 3vw, 44px);
}
.hero-a .hero-figure .circle-wrap { max-width: min(100%, 470px); }
.hero-a .hero-figure .c-node { width: 84px; }
.hero-a .hero-figure .c-label { font-size: 11.5px; }

.hero-a .hero-panel::after {
  /* soft seam blending image into gradient */
  content: ""; position: absolute; top: 0; bottom: 0; left: 48%; width: 18%;
  background: linear-gradient(90deg, color-mix(in srgb, var(--lead-deep) 70%, transparent), transparent);
  z-index: 2; pointer-events: none;
}
.hero-a:has(.hero-figure) .hero-panel::after { display: none; }

.trust-card {
  position: absolute; right: 26px; bottom: 26px; z-index: 3;
  background: color-mix(in srgb, #ffffff 88%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 18px;
  padding: 16px 20px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: var(--shadow-md);
  max-width: 320px;
}
.trust-card .big { font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--ink); line-height: 1; }
.trust-card .lbl { font-size: 13px; color: var(--ink-soft); line-height: 1.35; }
.trust-card .divider { width: 1px; align-self: stretch; background: var(--line); }

.hero-a .hero-chips { margin-top: 30px; gap: 9px; }
.hero-a .chip {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22);
  color: #fff;
  backdrop-filter: blur(6px);
  box-shadow: none;
}

/* =========================================================
   Image placeholder (striped) — fallback styling for image-slot
   ========================================================= */
.img-ph {
  background:
    repeating-linear-gradient(135deg, var(--cyan-mist), var(--cyan-mist) 14px, #fff 14px, #fff 28px);
  display: grid; place-items: center;
  color: var(--cyan-deep);
}
.img-ph span {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px; letter-spacing: 0.04em;
  background: rgba(255,255,255,0.85); padding: 6px 12px; border-radius: 8px;
  border: 1px solid var(--line);
}
image-slot { border-radius: inherit; }

/* =========================================================
   EMOTIONAL section
   ========================================================= */
/* =========================================================
   DARK SECTION base (Big Idea + Emotional)
   ========================================================= */
.section-dark { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 90% at 80% 10%, color-mix(in srgb, var(--cyan) 22%, transparent), transparent 60%);
  pointer-events: none;
}
.section-dark .wrap { position: relative; z-index: 1; }
.section-dark h2 { color: #fff; }
.section-dark .resolve { font-size: clamp(18px, 2vw, 22px); color: rgba(255,255,255,0.82); line-height: 1.65; }
.section-dark .closer { font-family: var(--font-display); font-weight: 600; color: var(--cyan); }
.heart-line { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.heart-line .pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(124,63,94,0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(124,63,94,0.55);} 70% { box-shadow: 0 0 0 16px rgba(124,63,94,0);} 100% { box-shadow: 0 0 0 0 rgba(124,63,94,0);} }

/* ---- Big Idea (reactive vs proactive) ---- */
.idea-head { max-width: 760px; margin: 0 auto; text-align: center; }
.idea-head .heart-line { justify-content: center; }
.idea-head h2 { font-size: clamp(34px, 4.6vw, 58px); margin-top: 16px; }
.idea-lede { margin: 20px auto 0; max-width: 50ch; color: rgba(255,255,255,0.8); }
.idea-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: clamp(44px, 5vw, 64px); align-items: stretch; }
.idea-col {
  border-radius: var(--r-card); padding: clamp(28px, 3vw, 40px);
  border: 1px solid rgba(255,255,255,0.12); display: flex; flex-direction: column;
}
.idea-col.reactive { background: rgba(255,255,255,0.04); }
.idea-col.proactive {
  background: linear-gradient(165deg, color-mix(in srgb, var(--cyan) 22%, transparent), rgba(255,255,255,0.03));
  border-color: color-mix(in srgb, var(--cyan) 42%, transparent);
}
.idea-tag { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; margin-bottom: 18px; }
.idea-tag .d { width: 8px; height: 8px; border-radius: 50%; }
.idea-tag.reactive-tag { color: var(--was-on-dark); }
.idea-tag.reactive-tag .d { background: var(--was); }
.idea-tag.proactive-tag { color: var(--cyan); }
.idea-tag.proactive-tag .d { background: var(--cyan); }
.idea-col-intro { color: rgba(255,255,255,0.7); font-size: 16px; margin-bottom: 18px; }
.idea-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.idea-list li { display: flex; align-items: center; gap: 13px; font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 2vw, 23px); color: rgba(255,255,255,0.92); }
.idea-list .mk { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; }
.idea-list .mk svg { width: 13px; height: 13px; }
.idea-list .mk.x { background: var(--was-soft); color: var(--was); }
.idea-list .mk.ok { background: rgba(27,168,202,0.18); color: var(--cyan); }
.idea-goal { margin-top: auto; padding-top: 24px; font-family: var(--font-display); font-weight: 600; font-size: clamp(19px, 2.1vw, 25px); color: #fff; line-height: 1.25; }

/* ---- Emotional (Your parent says they're fine) ---- */
.emotional .split { align-items: center; }
.emo-media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; }
.emo-media image-slot, .emo-media .img-ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.emotional h2 { font-size: clamp(32px, 4.2vw, 54px); }
.unseen-label { margin-top: 22px; color: rgba(255,255,255,0.6); font-weight: 600; letter-spacing: 0.02em; }
.unseen-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.unseen-list li { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: clamp(17px, 1.9vw, 21px); color: #fff; }
.unseen-list .x {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); display: grid; place-items: center;
}
.unseen-list .x svg { width: 12px; height: 12px; }
.emotional .resolve { margin-top: 26px; }
.emotional .closer { margin-top: 22px; font-size: clamp(19px, 2.1vw, 25px); }

/* =========================================================
   CIRCLE OF CARE diagram
   ========================================================= */
/* Trim bottom padding to offset the whitespace baked into the diagram image,
   so the gap below matches the uniform section rhythm */
.circle-section { padding-top: clamp(24px, 3vw, 44px); padding-bottom: clamp(4px, 1vw, 14px); }
/* Pull the following info-hub section up so the circle isn't floating in air */
#different { padding-top: clamp(32px, 4vw, 56px); }
.circle-section .section-head { margin-bottom: 0; }
.circle-section .section-head h2 { margin-top: 0; }
.circle-section .section-head p { margin-top: 12px; }
.circle-figure {
  margin-top: clamp(20px, 2.4vw, 32px);
  display: grid; place-items: center;
}
.circle-img {
  width: 100%; max-width: 960px; height: auto; display: block;
}

.circle { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(36px, 5vw, 76px); align-items: center; }
.circle-copy h2 { font-size: clamp(32px, 4vw, 52px); margin-top: 16px; max-width: 16ch; }
.circle-copy .lede { margin-top: 22px; max-width: 52ch; }
.circle-copy .scatter { margin-top: 18px; color: var(--muted); font-size: 16.5px; }

.circle-wrap { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; margin: 0 auto; }
.circle-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.circle-ring .spoke { stroke: var(--cyan); stroke-width: 0.5; opacity: 0.32; }
.circle-ring .orbit { fill: none; stroke: var(--line); stroke-width: 0.5; stroke-dasharray: 1.4 1.6; }

.c-node, .c-center { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; }
.c-node { width: 92px; }
.c-ico {
  width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--cyan-deep); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.c-node:nth-child(even) .c-ico { color: var(--accent); }
.c-node:hover .c-ico { transform: translateY(-3px) scale(1.06); box-shadow: var(--shadow-md); border-color: var(--cyan-soft); }
.c-ico svg { width: 24px; height: 24px; }
.c-label { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); line-height: 1.15; }
.c-center { left: 50%; top: 50%; z-index: 3; }
.c-center .c-ico {
  width: 104px; height: 104px; background: var(--cyan); color: #fff; border: none;
  box-shadow: 0 18px 40px -16px rgba(19,112,152,0.6);
}
.c-center .c-ico svg { width: 46px; height: 46px; }
.c-center .c-label { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); margin-top: 2px; }
.c-center::after {
  content: ""; position: absolute; left: 50%; top: 44px; transform: translateX(-50%);
  width: 104px; height: 104px; border-radius: 50%; border: 2px solid var(--cyan);
  opacity: 0; animation: ring-pulse 3s infinite; pointer-events: none;
}
@keyframes ring-pulse { 0% { opacity: .5; transform: translateX(-50%) scale(1);} 70% { opacity: 0; transform: translateX(-50%) scale(1.9);} 100% { opacity: 0; } }

/* node positions around the circle (clockwise from top) */
.c-node.p1 { left: 50%;   top: 9%;  }
.c-node.p2 { left: 79%;   top: 21%; }
.c-node.p3 { left: 91%;   top: 50%; }
.c-node.p4 { left: 79%;   top: 79%; }
.c-node.p5 { left: 50%;   top: 91%; }
.c-node.p6 { left: 21%;   top: 79%; }
.c-node.p7 { left: 9%;    top: 50%; }
.c-node.p8 { left: 21%;   top: 21%; }

/* what flows through the circle */
.flow { margin-top: clamp(48px, 6vw, 72px); text-align: center; }
.flow .flow-label { color: var(--muted); font-weight: 600; font-size: 14.5px; letter-spacing: 0.02em; }
.flow-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.flow-chips .chip { box-shadow: var(--shadow-sm); }
.flow-chips .chip:nth-child(even) .dot { background: var(--accent); }

/* =========================================================
   PROMISE band
   ========================================================= */
.promise { background: var(--accent-soft); text-align: center; }
.promise .wrap { max-width: 820px; }
.promise .eyebrow { justify-content: center; }
.promise h2 { font-size: clamp(34px, 4.4vw, 56px); margin-top: 0; }
.promise p { margin: 22px auto 0; max-width: 850px; text-wrap: pretty; color: var(--ink-soft); font-size: clamp(18px, 2vw, 21px); line-height: 1.6; }
.promise .heart-line { justify-content: center; }

/* =========================================================
   PILLAR extras
   ========================================================= */
.pill-note {
  margin-top: 22px; padding: 16px 20px; border-radius: 14px;
  background: color-mix(in srgb, var(--ink) 3.5%, #fff);
  border: 1px solid var(--line-soft);
  font-size: 15.5px; color: var(--ink-soft); font-weight: 500;
}
.pill-note strong { color: var(--lead-deep); }
/* .warm kept as a no-op so existing markup stays consistent with the base */
.pill-note.warm { background: color-mix(in srgb, var(--ink) 3.5%, #fff); }

/* =========================================================
   FEATURES
   ========================================================= */
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 56px); margin-top: 18px; }
.section-head p { margin-top: 20px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-card);
  padding: 32px 30px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  display: flex; flex-direction: column; gap: 14px;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--lead-soft); }
.feature-card .f-ico {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: var(--lead-soft); color: var(--lead-deep); margin-bottom: 6px;
}
.feature-card.accent .f-ico { background: var(--accent-soft); color: var(--accent-deep); }
.feature-card .f-ico svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 22px; }
.feature-card p { color: var(--ink-soft); font-size: 16.5px; }
.feature-card.wide { grid-column: span 1; }
.feature-card.feature-ai {
  grid-column: span 2; flex-direction: row; align-items: center; gap: 30px;
  background: linear-gradient(120deg, var(--cyan-mist), #fff 70%);
}
.feature-card.feature-ai .f-ico { width: 64px; height: 64px; }
.feature-card.feature-ai .f-body { flex: 1; }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.how { background: var(--cyan-mist); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative; background: #fff; border-radius: var(--r-card); padding: 30px 28px 34px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 12px;
}
.step .num {
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--lead); color: #fff; box-shadow: var(--shadow-sm);
}
.step h3 { font-size: 20px; margin-top: 4px; }
.step p { color: var(--ink-soft); font-size: 16px; }
.step .connector { position: absolute; top: 53px; right: -13px; width: 26px; height: 2px; background: var(--lead); opacity: .4; z-index: 1; }
.step:last-child .connector { display: none; }

/* =========================================================
   BENEFITS (family + senior)
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5/4; box-shadow: var(--shadow-lg); }
.split-media image-slot, .split-media .img-ph, .split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.benefit-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; }
.benefit-list li { display: flex; align-items: flex-start; gap: 13px; font-weight: 500; font-size: 17px; color: var(--ink); }
.benefit-list .check {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
  background: var(--lead-soft); color: var(--lead-deep); display: grid; place-items: center;
}
.benefit-list .check svg { width: 15px; height: 15px; }

.senior-points { margin: 28px 0; display: flex; flex-direction: column; gap: 4px; }
.senior-points .pt { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.6vw, 30px); color: var(--ink); }
.senior-points .pt.muted { color: var(--muted); }
.senior-points .pt .hl { color: var(--lead-deep); }

/* =========================================================
   FINAL CTA
   ========================================================= */
.cta-final { text-align: center; }
.cta-final .panel {
  background: radial-gradient(120% 130% at 50% 0%, color-mix(in srgb, var(--lead) 92%, #fff), var(--lead-deep) 55%, var(--cyan-darker));
  border-radius: var(--r-lg); padding: clamp(56px, 8vw, 96px) 32px; color: #fff;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-final h2 { color: #fff; font-size: clamp(34px, 5vw, 64px); max-width: 24ch; margin: 0 auto; }
.cta-final p { color: rgba(255,255,255,0.9); font-size: clamp(18px, 2vw, 22px); margin: 22px auto 0; max-width: 60ch; }
.cta-final .hero-actions { display: flex; gap: 14px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 72px 0 16px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 48px; padding-bottom: 56px; }
.footer .f-logo { display: inline-block; }
.footer .f-logo img { height: 15px; filter: brightness(0) invert(1); }
.footer .f-about { margin-top: 20px; font-size: 15px; line-height: 1.6; max-width: 34ch; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-body); font-weight: 700; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer ul a { font-size: 15px; transition: color .2s; }
.footer ul a:hover { color: var(--cyan); }
.footer .f-contact p { font-size: 15px; margin-bottom: 12px; color: rgba(255,255,255,0.78); }
.footer .f-contact .label { color: rgba(255,255,255,0.45); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; display: block; margin-bottom: 2px; }
.footer .f-contact a { transition: color .2s; }
.footer .f-contact a:hover { color: #fff; }
.footer .f-sibling { margin-top: 18px; }
.footer .f-sibling a { color: var(--cyan); font-weight: 600; font-size: 15px; transition: color .2s; }
.footer .f-sibling a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 12px; }

/* =========================================================
   reveal-on-scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1000px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card.feature-ai { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step .connector { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 17px; }

  /* Mobile nav: hamburger toggles a dropdown holding the section links */
  .nav-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; flex: 0 0 auto; padding: 0; cursor: pointer;
    background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); }
  .nav-burger span { display: block; width: 18px; height: 2px; margin: 0 auto; border-radius: 2px;
    background: var(--ink); transition: transform .25s var(--ease), opacity .2s var(--ease); }
  .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  #navMenu { position: absolute; top: 100%; left: 0; right: 0;
    background: color-mix(in srgb, var(--cream) 96%, #fff);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    opacity: 0; transform: translateY(-10px); pointer-events: none; visibility: hidden;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s; }
  #navMenu.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  #navMenu .nav-links { display: flex; flex-direction: column; gap: 0; padding: 6px 0; }
  #navMenu .nav-links a { display: block; padding: 15px 24px; font-size: 17px; font-weight: 600; color: var(--ink); text-align: center; }
  #navMenu .nav-links a:hover { background: var(--cyan-mist); color: var(--lead-deep); }

  /* Compact the bar so logo + CTA + hamburger all fit */
  .nav-inner { gap: 10px; }
  .nav-logo { flex: 0 0 auto; }
  .nav-logo img { width: auto; max-width: none; height: 13px; }
  .nav-cta { gap: 8px; }
  /* CTA: scaled down + drop the arrow icon on mobile to save width */
  .nav-cta .btn { font-size: 13px; padding: 9px 15px; gap: 0; }
  .nav-cta .btn .ico { display: none; }

  /* Hero: image on top, headline/sub below; drop the in-hero CTAs (nav CTA covers it) */
  .hero-a .hero-panel { grid-template-columns: 1fr; min-height: 0; }
  .hero-a .hero-media { aspect-ratio: 4/3; order: -1; }
  .hero-a .hero-actions { display: none; }
  .hero-a .hero-panel::after { display: none; }
  /* Frame the hero photo to show more of their heads without cutting the arm */
  .hero-a .hero-media img { object-position: 50% 32%; }

  /* Emotional photo: cover-fit, taller box so both her head and arms clear the crop */
  .emo-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
  .circle { grid-template-columns: 1fr; }
  .circle-wrap { max-width: 440px; }
  .circle-copy { text-align: center; }
  .circle-copy h2, .circle-copy .lede { max-width: none; }
  .circle-copy .eyebrow { justify-content: center; }
  .emotional .split { grid-template-columns: 1fr; }
  .emo-media { order: -1; aspect-ratio: 1/1; }
  .idea-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .benefit-list { grid-template-columns: 1fr; }
  .trust .split { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .nav-cta .cta-word { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card.feature-ai { grid-column: span 1; flex-direction: column; align-items: flex-start; }
  .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-chips { gap: 8px; }

  /* Compact hero so image + headline + subhead clear the fold on phones */
  .hero { padding-top: 14px; padding-bottom: 28px; }
  .hero-a .hero-copy { padding: 22px 22px 26px; }
  .hero-a h1 { font-size: clamp(27px, 8.2vw, 34px); }
  .hero-a .hero-sub { font-size: 15px; line-height: 1.5; margin-top: 12px; }

  .unseen-list { grid-template-columns: 1fr; }
  .c-label { font-size: 11px; }
  .c-node { width: 76px; }
  .c-ico { width: 44px; height: 44px; }
  .c-center .c-ico { width: 84px; height: 84px; }
}

/* =========================================================
   LEGAL PAGES (privacy, terms)
   ========================================================= */

.legal-hero {
  background: var(--cyan-mist);
  border-bottom: 1px solid var(--line);
  padding: 132px 0 54px;
}
.legal-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  margin: 14px 0 0;
  max-width: 18ch;
}
.legal-hero .legal-date {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.legal-hero .wrap,
.legal-body .wrap { max-width: 760px; }

.legal-body { padding: 56px 0 96px; }

.legal-body code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--cyan-mist);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 2px 6px;
  color: var(--cyan-darker);
  white-space: nowrap;
}

.legal-body h2 {
  font-size: clamp(22px, 2.4vw, 29px);
  margin: 52px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}
.legal-body h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-body h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 28px 0 8px;
}
.legal-body p,
.legal-body li { color: var(--ink-soft); font-size: 17px; line-height: 1.68; }
.legal-body p { margin: 0 0 16px; }
.legal-body ul { margin: 0 0 16px; padding-left: 22px; }
.legal-body li { margin-bottom: 9px; }
.legal-body li::marker { color: var(--accent); }
.legal-body strong { color: var(--ink); font-weight: 700; }
.legal-body a { color: var(--cyan-deep); text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover { color: var(--accent); }

/* Scope callout — sets the boundary between site and service */
.legal-note {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-card) var(--r-card) 0;
  padding: 22px 26px;
  margin: 0 0 34px;
}
.legal-note p { margin: 0; color: var(--accent-deep); font-size: 16.5px; }
.legal-note p + p { margin-top: 12px; }

.legal-contact {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
  margin-top: 12px;
}
.legal-contact p { margin: 0 0 8px; }
.legal-contact p:last-child { margin-bottom: 0; }
.legal-contact .label {
  display: inline-block;
  min-width: 104px;
  padding-right: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Footer legal links */
.footer-bottom a { color: inherit; text-decoration: none; opacity: 0.82; }
.footer-bottom a:hover { opacity: 1; text-decoration: underline; }

@media (max-width: 720px) {
  .legal-hero { padding: 112px 0 42px; }
  .legal-body { padding: 42px 0 72px; }
  .legal-body p, .legal-body li { font-size: 16.5px; }
}
