/* Parthia Health — marketing site
   ------------------------------------------------------------------------ */

:root {
  /* Brand */
  --teal: #0E5C56;
  --teal-deep: #0A4541;
  --teal-ink: #083733;
  --teal-soft: #8FC2BB;
  --teal-mist: #DCEAE6;
  --navy: #1B2A41;
  --gold: #C9962B;
  --gold-ink: #7E5C12;      /* gold for small text on cream (AA) */
  --gold-light: #EACB85;    /* gold for text on dark teal (AA) */

  /* Warm neutrals */
  --cream: #F7F4EE;
  --cream-2: #EFEAE0;
  --surface: #FFFDF9;
  --ink: #2B2A28;
  --ink-soft: #4E4B45;
  --muted: #69655D;
  --line: #E0D9CB;
  --on-dark: #F7F4EE;
  --on-dark-soft: #D6E4E0;

  /* Type */
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --wrap: 76rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(5.5rem, 11vw, 10rem);
  --header-h: 4.5rem;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
::selection { background: var(--teal-mist); color: var(--teal-ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--on-dark); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--navy); color: var(--on-dark); padding: .75rem 1.1rem;
  border-radius: 999px; text-decoration: none; font-weight: 500;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---- Layout ------------------------------------------------------------ */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }

/* ---- Type -------------------------------------------------------------- */
h1, h2, h3 {
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 400;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
  text-wrap: balance;
}
h1 { font-size: clamp(2.75rem, 1.4rem + 4.6vw, 5.25rem); line-height: 1.0; letter-spacing: -0.025em; }
h2 { font-size: clamp(2.2rem, 1.35rem + 3.2vw, 4rem); line-height: 1.06; }
h3 { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.8rem); line-height: 1.2; }
h1 em, h2 em { font-style: italic; color: var(--teal); }
p { text-wrap: pretty; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.5rem;
}
.eyebrow::before {
  content: ""; width: 1.75rem; height: 1px; background: var(--gold);
}
.on-dark .eyebrow { color: var(--gold-light); }

.lede { font-size: clamp(1.125rem, 1rem + .45vw, 1.35rem); line-height: 1.6; color: var(--ink-soft); max-width: 36rem; }

.section-head { max-width: 46rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head p:not(.eyebrow) { margin-top: 1.5rem; color: var(--ink-soft); font-size: 1.15rem; max-width: 38rem; }

/* ---- Buttons & links --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.25rem; padding: .85rem 1.65rem;
  background: var(--teal); color: var(--on-dark);
  border: 1px solid var(--teal); border-radius: 999px;
  font: 500 1rem/1 var(--sans); letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background: var(--teal-deep); box-shadow: 0 10px 30px -12px rgba(14, 92, 86, .55); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-small { min-height: 2.6rem; padding: .6rem 1.2rem; font-size: .92rem; }
.btn-light { background: var(--cream); color: var(--teal-ink); border-color: var(--cream); }
.btn-light:hover { background: #fff; box-shadow: 0 12px 34px -12px rgba(0, 0, 0, .45); }
.btn-ghost { background: transparent; color: var(--on-dark); border-color: rgba(247, 244, 238, .45); }
.btn-ghost:hover { background: rgba(247, 244, 238, .1); box-shadow: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--navy); font-weight: 500; text-decoration: none;
  padding-block: .5rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .35s var(--ease);
}
.link-arrow:hover { background-size: 100% 1px; }

/* ---- Brand ------------------------------------------------------------- */
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 2.1rem; height: 2.1rem; }
.brand-word { font-family: var(--serif); font-size: 1.5rem; line-height: 1; letter-spacing: -0.01em; }
.brand-word .p { color: var(--navy); font-weight: 600; }
.brand-word .h { color: var(--teal); font-weight: 500; }
.on-dark .brand-word .p { color: var(--on-dark); }
.on-dark .brand-word .h { color: var(--teal-soft); }

/* ---- Header ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(247, 244, 238, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(247, 244, 238, .92); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav-links { display: flex; gap: clamp(1.25rem, 2.5vw, 2.25rem); }
.nav-links a {
  font-size: .95rem; color: var(--ink-soft); text-decoration: none; padding-block: .5rem;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat;
  transition: color .2s var(--ease), background-size .3s var(--ease);
}
.nav-links a:hover { color: var(--navy); background-size: 100% 1px; }
.header-actions { display: flex; align-items: center; gap: 1.75rem; }
.brand-word, .btn { white-space: nowrap; }
@media (max-width: 860px) {
  .site-header nav { display: none; }
  .brand-word { font-size: 1.25rem; }
  .brand img { width: 1.85rem; height: 1.85rem; }
}
@media (max-width: 380px) {
  .brand { gap: .55rem; }
  .brand-word { font-size: 1.15rem; }
  .btn-small { padding-inline: 1rem; font-size: .88rem; }
}

/* ---- Hero -------------------------------------------------------------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(5rem, 10vw, 8rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.hero h1 { margin-bottom: 1.75rem; }
.hero .lede { margin-bottom: 2.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.status-pill {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .45rem .95rem .45rem .75rem; margin-bottom: 2rem;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 253, 249, .7);
  font-size: .85rem; color: var(--ink-soft);
}
.status-pill .dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 150, 43, .18); }
.hero-art { position: relative; aspect-ratio: 1; width: 100%; max-width: 34rem; justify-self: end; }
.hero-art svg { width: 100%; height: 100%; overflow: visible; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-bottom: 4rem; }
  .hero-art { max-width: 22rem; justify-self: center; margin-top: 0; order: 2; }
}

/* Hero illustration: capsule, protein, flask, stethoscope, patient ---- */
.hero-art { --mx: 0; --my: 0; perspective: 1000px; }
.hero-art > svg { transform: rotateY(calc(var(--mx) * 7deg)) rotateX(calc(var(--my) * -7deg)); transition: transform .9s var(--ease); }
.hero-art .layer { transform: translate(calc(var(--mx) * var(--depth) * 7px), calc(var(--my) * var(--depth) * 7px)); transition: transform .9s var(--ease); }
.hero-art .float, .hero-art .float-slow, .hero-art .sway, .hero-art .mol, .hero-art .atom,
.hero-art .pulse, .hero-art .bind-glow { transform-box: fill-box; transform-origin: center; }
.hero-art .pulse { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .hero-art .float { animation: cap-float 7s ease-in-out infinite alternate; }
  .hero-art .float-slow { animation: cap-float 9s ease-in-out -3s infinite alternate; }
  .hero-art .sway { animation: sway 12s ease-in-out infinite alternate; transform-origin: 228px 205px; transform-box: view-box; }
  .hero-art .mol-1 { animation: dock-1 7s var(--ease) infinite; }
  .hero-art .atom { animation: drift 6s ease-in-out infinite alternate; }
  .hero-art .a-2 { animation-duration: 8s; animation-delay: -2s; }
  .hero-art .a-3 { animation-duration: 7s; animation-delay: -4s; }
  .hero-art .flow { animation: flow 1.6s linear infinite; }
  .hero-art .pulse { animation: pulse 2.4s ease-out infinite; }
  .hero-art .bind-glow { animation: bind 7s var(--ease) infinite; }
}
@keyframes cap-float { from { transform: translateY(4px) rotate(.6deg); } to { transform: translateY(-9px) rotate(-1.4deg); } }
@keyframes sway { from { transform: rotate(-2deg); } to { transform: rotate(2.5deg); } }
@keyframes dock-1 {
  0%   { transform: translate(-6px, 18px) scale(.7); opacity: 0; }
  18%  { opacity: 1; }
  62%  { transform: translate(10px, -84px) scale(1); opacity: 1; }
  80%, 100% { transform: translate(12px, -96px) scale(.85); opacity: 0; }
}
@keyframes flow { to { stroke-dashoffset: -16; } }
@keyframes bind { 0%, 50% { opacity: .15; transform: scale(.7); } 64% { opacity: 1; transform: scale(1.15); } 100% { opacity: .15; transform: scale(.7); } }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(-10px, -14px); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.1); opacity: 0; } }

/* Organic art (CTA) */
.blob { mix-blend-mode: multiply; transform-box: fill-box; transform-origin: center; }
.orbit { transform-box: view-box; transform-origin: 50% 50%; }
@media (prefers-reduced-motion: no-preference) {
  .blob { animation: breathe 14s var(--ease) infinite alternate; }
  .blob:nth-of-type(2) { animation-duration: 17s; animation-delay: -4s; }
  .blob:nth-of-type(3) { animation-duration: 19s; animation-delay: -8s; }
  .blob:nth-of-type(4) { animation-duration: 16s; animation-delay: -2s; }
  .orbit { animation: spin 120s linear infinite; }
}
@keyframes breathe {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(6px, -8px) scale(1.06); }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Problem / statistics ---------------------------------------------- */
.problem {
  background:
    radial-gradient(60rem 40rem at 110% -10%, rgba(201, 150, 43, .10), transparent 60%),
    radial-gradient(50rem 40rem at -10% 110%, rgba(143, 194, 187, .16), transparent 60%),
    linear-gradient(160deg, var(--teal) 0%, var(--teal-deep) 55%, var(--teal-ink) 100%);
  color: var(--on-dark);
}
.problem h2 { color: var(--on-dark); }
.problem h2 em { color: var(--gold-light); }
.problem .section-head p:not(.eyebrow) { color: var(--on-dark-soft); }
.stats { --stat-gap: clamp(2.5rem, 4vw, 3.5rem); display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 clamp(1.5rem, 3vw, 3rem); margin-bottom: calc(-1 * var(--stat-gap)); }
.stat { border-top: 1px solid rgba(247, 244, 238, .22); padding-top: 1.75rem; position: relative; display: grid; grid-row: span 3; grid-template-rows: subgrid; align-content: start; margin-bottom: var(--stat-gap); }
.stat::before { content: ""; position: absolute; top: -1px; left: 0; width: 2.5rem; height: 1px; background: var(--gold-light); }
.stat-figure {
  font-family: var(--serif); font-weight: 300; font-optical-sizing: auto;
  font-size: clamp(3.4rem, 2.2rem + 3.6vw, 5.6rem); line-height: 1; letter-spacing: -0.03em;
  color: var(--on-dark); margin-bottom: 1.5rem; white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
}
.stat-figure .unit { color: var(--gold-light); font-style: italic; font-weight: 300; margin-left: .04em; }
.stat-figure .small { font-size: .5em; letter-spacing: -0.01em; }
.stat-text { color: var(--on-dark); font-size: 1.02rem; line-height: 1.6; margin-bottom: 1.25rem; }
.stat-source { font-size: .8rem; letter-spacing: .02em; color: var(--on-dark-soft); }
.stat-source span { text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; font-weight: 600; margin-right: .4rem; }
@media (max-width: 1080px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .stats { grid-template-columns: 1fr; } }

/* ---- Approach / pillars ------------------------------------------------ */
.approach-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.approach-grid .section-head { position: sticky; top: calc(var(--header-h) + 3rem); margin-bottom: 0; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.pillar { padding: 2.5rem 2rem 2.75rem 0; border-bottom: 1px solid var(--line); }
.pillar:nth-child(odd) { padding-right: 2.5rem; border-right: 1px solid var(--line); }
.pillar:nth-child(even) { padding-left: 2.5rem; padding-right: 0; }
.pillar-icon { width: 3.25rem; height: 3.25rem; margin-bottom: 1.75rem; }
.pillar-num { font-family: var(--serif); font-style: italic; color: var(--gold-ink); font-size: 1rem; display: block; margin-bottom: .5rem; }
.pillar h3 { margin-bottom: .75rem; }
.pillar p { color: var(--ink-soft); }
@media (max-width: 960px) {
  .approach-grid { grid-template-columns: 1fr; }
  .approach-grid .section-head { position: static; margin-bottom: 1rem; }
}
@media (max-width: 600px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar:nth-child(odd), .pillar:nth-child(even) { padding: 2.25rem 0; border-right: 0; }
}

/* ---- How it will work -------------------------------------------------- */
.how { background: var(--surface); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 4rem); counter-reset: step; position: relative; }
.step { position: relative; }
.step-num {
  display: grid; place-items: center;
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  border: 1px solid var(--teal); color: var(--teal); background: var(--surface);
  font-family: var(--serif); font-size: 1.35rem; font-style: italic;
  margin-bottom: 2rem; position: relative; z-index: 1;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 1.75rem; left: 4.5rem; right: calc(-1 * clamp(2rem, 4vw, 4rem) + 1rem);
  height: 1px; background: linear-gradient(90deg, var(--teal-soft), var(--line));
}
.step h3 { margin-bottom: .9rem; }
.step p { color: var(--ink-soft); max-width: 22rem; }
.how-note {
  margin-top: clamp(3.5rem, 6vw, 5rem); padding-top: 2rem; border-top: 1px solid var(--line);
  display: flex; gap: 1rem; align-items: flex-start; color: var(--ink-soft); max-width: 48rem;
}
.how-note svg { flex: none; width: 1.5rem; height: 1.5rem; margin-top: .15rem; color: var(--teal); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 3.5rem 1fr; column-gap: 1.5rem; padding-bottom: 2.75rem; }
  .step-num { margin-bottom: 0; grid-row: span 2; }
  .step h3 { margin-top: .6rem; }
  .step:not(:last-child)::after { top: 3.5rem; bottom: 0; left: 1.75rem; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--teal-soft), var(--line)); }
}

/* ---- Who it's for ------------------------------------------------------ */
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.who-grid h2 { max-width: 34rem; }
.who-body p { color: var(--ink-soft); font-size: 1.125rem; }
.who-body p + p { margin-top: 1.25rem; }
.conditions { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1.75rem 0 2.75rem; }
.conditions li {
  padding: .6rem 1.15rem; border-radius: 999px;
  border: 1px solid var(--teal-soft); background: rgba(220, 234, 230, .45);
  color: var(--teal-ink); font-size: .95rem; font-weight: 500;
}
.caregivers {
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start;
  padding: 1.75rem; border-radius: 1.25rem; background: var(--surface); border: 1px solid var(--line);
}
.caregivers svg { width: 2.75rem; height: 2.75rem; }
.caregivers h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.caregivers p { font-size: 1rem; }
@media (max-width: 900px) { .who-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---- Principles -------------------------------------------------------- */
.principles { background: var(--cream-2); }
.principle-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2.5rem, 4vw, 3.5rem) clamp(2.5rem, 6vw, 6rem); counter-reset: p; }
.principle { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; }
.principle-num { font-family: var(--serif); font-style: italic; color: var(--gold-ink); font-size: 1.1rem; padding-top: .35rem; min-width: 1.75rem; }
.principle h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-bottom: .75rem; }
.principle p { color: var(--ink-soft); }
@media (max-width: 760px) { .principle-list { grid-template-columns: 1fr; } }

/* ---- Founder ----------------------------------------------------------- */
.founder-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.founder-photo { position: relative; max-width: 24rem; width: 100%; }
.founder-img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%;
  border-radius: 999px 999px 1.25rem 1.25rem;
  background: var(--teal-mist);
  box-shadow: 0 30px 60px -30px rgba(8, 55, 51, .45);
}
.founder-photo::after {
  content: ""; position: absolute; inset: auto -1.25rem -1.25rem auto; width: 45%; aspect-ratio: 1;
  border-radius: 50%; border: 1px solid var(--gold); opacity: .55; z-index: -1;
}
.founder-linkedin {
  position: absolute; right: .9rem; bottom: .9rem; z-index: 2;
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--teal); color: var(--on-dark);
  border: 3px solid var(--cream);
  box-shadow: 0 10px 24px -10px rgba(8, 55, 51, .6);
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.founder-linkedin svg { width: 1.15rem; height: 1.15rem; transform: translate(1px, -1px); }
.founder-linkedin:hover { background: var(--teal-deep); transform: translateY(-2px) scale(1.06); box-shadow: 0 0 0 4px rgba(201, 150, 43, .35), 0 14px 28px -12px rgba(8, 55, 51, .7); }
.founder-linkedin:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 50%; }
.founder-name { font-family: var(--serif); font-size: clamp(1.5rem, 1.25rem + .8vw, 1.9rem); color: var(--navy); margin: 2rem 0 .35rem; line-height: 1.2; }
.founder-role { color: var(--muted); font-size: .95rem; margin-bottom: 2rem; }
.credentials { border-top: 1px solid var(--line); }
.credentials li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .75rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.credentials li::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--gold); margin-top: .6rem; }
.credentials strong { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photo { max-width: 16rem; }
}

/* ---- Waitlist ---------------------------------------------------------- */
.waitlist {
  background: linear-gradient(150deg, var(--teal) 0%, var(--teal-deep) 60%, var(--teal-ink) 100%);
  color: var(--on-dark); overflow: hidden;
}
.waitlist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.waitlist-visual { justify-self: end; width: 100%; max-width: 36rem; margin-right: calc(-1 * clamp(0rem, 3vw, 3rem)); }
.waitlist-art { width: 100%; height: auto; overflow: visible; }
.waitlist-art .blob { mix-blend-mode: screen; }
.waitlist-inner { max-width: 44rem; }
@media (max-width: 900px) {
  .waitlist-grid { grid-template-columns: 1fr; }
  .waitlist-visual { justify-self: center; max-width: 26rem; margin-right: 0; }
}

/* Care circle: team members gather around "You" ------------------------ */
.care-label { font: 600 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; fill: var(--on-dark-soft); }
.care-label-you { font-size: 15px; fill: var(--gold-light); }
/* Static (reduced motion / no animation support): the gathered moment. */
.care-member { transform: translate(calc(var(--ix) * 1px), calc(var(--iy) * 1px)); }
.care-link { stroke: var(--gold-light); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: .85; }
.care-flow { stroke: #fff; stroke-width: 3; stroke-dasharray: .06 .2; opacity: 0; }
.care-glow { opacity: .8; }
.care-ripple { opacity: 0; }
.care-glow, .care-ripple, .care-you, .care-spin { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .care-member { animation: care-gather 12s var(--ease) infinite both; }
  .care-link { animation: care-link 12s var(--ease) infinite both; }
  .care-flow { animation: care-flow 12s linear infinite both; }
  .care-glow { animation: care-glow 12s var(--ease) infinite both; }
  .care-ripple { animation: care-ripple 12s ease-out infinite both; }
  .care-you { animation: care-you 12s var(--ease) infinite both; }
  .care-spin { animation: spin 90s linear infinite; }
}
@keyframes care-gather {
  0%, 12% { transform: translate(calc(var(--ox) * 1px), calc(var(--oy) * 1px)) scale(.92); }
  34%, 72% { transform: translate(calc(var(--ix) * 1px), calc(var(--iy) * 1px)) scale(1); }
  92%, 100% { transform: translate(calc(var(--ox) * 1px), calc(var(--oy) * 1px)) scale(.92); }
}
@keyframes care-link {
  0%, 36% { stroke-dashoffset: 1; opacity: 0; }
  38% { opacity: .9; }
  46%, 68% { stroke-dashoffset: 0; opacity: .9; }
  78%, 100% { stroke-dashoffset: -1; opacity: 0; }
}
@keyframes care-flow {
  0%, 46% { stroke-dashoffset: 0; opacity: 0; }
  50% { opacity: .9; }
  66% { opacity: .9; }
  70%, 100% { stroke-dashoffset: -1.3; opacity: 0; }
}
@keyframes care-glow { 0%, 40% { opacity: .25; transform: scale(.85); } 52%, 68% { opacity: 1; transform: scale(1.08); } 84%, 100% { opacity: .25; transform: scale(.85); } }
@keyframes care-ripple { 0%, 50% { opacity: 0; transform: scale(1); } 52% { opacity: .8; } 70%, 100% { opacity: 0; transform: scale(2.3); } }
@keyframes care-you { 0%, 46% { transform: scale(1); } 54% { transform: scale(1.06); } 62%, 100% { transform: scale(1); } }
.waitlist h2 { color: var(--on-dark); margin-bottom: 1.5rem; }
.waitlist h2 em { color: var(--gold-light); }
.waitlist .lede { color: var(--on-dark-soft); margin-bottom: 2.75rem; }
.waitlist-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.waitlist-fine { margin-top: 2rem; font-size: .92rem; color: var(--on-dark-soft); max-width: 36rem; }
.waitlist-fine a { color: var(--on-dark); text-underline-offset: 3px; }
.copy-btn[hidden] { display: none; }
.copy-status { font-size: .9rem; color: var(--gold-light); min-height: 1.5em; }

/* ---- Footer ------------------------------------------------------------ */
.site-footer { background: var(--navy); color: var(--on-dark-soft); padding-block: clamp(4rem, 7vw, 5.5rem) 2.5rem; font-size: .95rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(247, 244, 238, .14); }
.footer-tag { margin-top: 1rem; max-width: 22rem; color: #B8C1CC; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: flex-start; }
.footer-links a { color: var(--on-dark); text-decoration: none; border-bottom: 1px solid rgba(247, 244, 238, .3); padding-bottom: 2px; transition: border-color .2s var(--ease); }
.footer-links a:hover { border-color: var(--gold-light); }
.footer-links dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: #B8C1CC; margin-bottom: .5rem; }
.footer-bottom { padding-top: 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 3rem; font-size: .85rem; color: #B8C1CC; }
.disclaimer { max-width: 44rem; }

/* ---- Legal / prose pages ----------------------------------------------- */
.prose-page { padding-block: clamp(3.5rem, 8vw, 6rem) var(--section); }
.prose { max-width: 42rem; }
.prose h1 { font-size: clamp(2.6rem, 1.8rem + 3vw, 4rem); margin-bottom: 1rem; }
.prose .updated { color: var(--muted); margin-bottom: 3rem; font-size: .95rem; }
.prose h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 1.9rem); margin: 3rem 0 1rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p + p { margin-top: 1rem; }
.prose ul { padding-left: 1.25rem; margin-top: .75rem; }
.prose li + li { margin-top: .5rem; }
.prose a { color: var(--teal); text-underline-offset: 3px; }
.prose .callout { margin-top: 2rem; padding: 1.25rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: .5rem; }

/* ---- Hero entrance (CSS only, starts on first paint) ------------------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-in { animation: hero-in 1s var(--ease) both; animation-delay: var(--d, 0s); }
}
@keyframes hero-in { from { opacity: 0; transform: translateY(18px); } }

/* ---- Scroll reveal (only when JS is running) --------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
