/* ==========================================================================
   Medvi — landing page
   A quiet, clinical, editorial design system.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts (self-hosted — no third-party requests, CSP-friendly)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* palette */
  --bone: #f4f0e7;
  --bone-deep: #ebe5d8;
  --paper: #fefcf7;
  --ink: #101b16;
  --ink-soft: #43514a;
  --muted: #5f6c65;
  --pine: #173d2e;
  --pine-deep: #0d2a1f;
  --sage: #d9e2d1;
  --sage-soft: #e8eddf;
  --clay: #b4552f;
  --clay-soft: #f0dccd;
  --line: rgba(16, 27, 22, 0.13);
  --line-soft: rgba(16, 27, 22, 0.07);
  --line-invert: rgba(244, 240, 231, 0.16);

  /* type */
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --pill: 999px;

  /* shadow */
  --shadow-sm: 0 1px 2px rgba(16, 27, 22, 0.05), 0 10px 30px -18px rgba(16, 27, 22, 0.35);
  --shadow-md: 0 2px 4px rgba(16, 27, 22, 0.04), 0 28px 60px -30px rgba(16, 27, 22, 0.4);
  --shadow-lg: 0 4px 10px rgba(16, 27, 22, 0.05), 0 50px 90px -40px rgba(16, 27, 22, 0.45);

  /* layout */
  --gutter: clamp(1.15rem, 4vw, 3.25rem);
  --maxw: 1240px;
  --section-y: clamp(4.5rem, 8.5vw, 8.5rem);
  --header-h: 72px;

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

/* --------------------------------------------------------------------------
   3. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  color-scheme: light;
}
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-weight: 400;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
img,
svg {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
ul,
ol,
dl,
dd {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
::selection {
  background: var(--sage);
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
  border-radius: 4px;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   4. Utilities
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - (var(--gutter) * 2), var(--maxw));
  margin-inline: auto;
}
.section {
  padding-block: var(--section-y);
}
.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;
}
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 4000;
  padding: 0.7rem 1.1rem;
  border-radius: var(--pill);
  background: var(--pine);
  color: var(--bone);
  font-size: 0.9rem;
  font-weight: 500;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus-visible {
  transform: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
  flex: none;
}

.eyebrow + .display-2 {
  margin-top: 1rem;
}
.display-1,
.display-2,
.display-3 {
  font-family: var(--serif);
  font-weight: 400;
  text-wrap: balance;
}
.display-1 {
  font-size: clamp(2.9rem, 6.1vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.022em;
}
.display-2 {
  font-size: clamp(2.25rem, 4.4vw, 3.85rem);
  line-height: 0.98;
  letter-spacing: -0.018em;
}
.display-3 {
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  line-height: 1.06;
  letter-spacing: -0.012em;
}
.display-1 em,
.display-2 em,
.display-3 em {
  font-style: italic;
  color: var(--clay);
}
.lead {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.58;
  color: var(--ink-soft);
  text-wrap: pretty;
  max-width: 40ch;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.86rem;
  line-height: 1.5;
}

.section-head {
  display: grid;
  gap: 1.1rem;
  max-width: 46rem;
}
.section-head--split {
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: none;
}

/* Reveal on scroll (only when JS is available, so no-JS never hides content) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
/* Never leave a focused element invisible for keyboard users */
.js [data-reveal]:focus-within {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   5. Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--pine);
  --btn-fg: var(--bone);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.92rem 1.55rem;
  border-radius: var(--pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), color 0.25s var(--ease);
  box-shadow: 0 1px 2px rgba(16, 27, 22, 0.12), 0 12px 24px -18px rgba(16, 27, 22, 0.7);
}
.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform 0.3s var(--ease);
}
.btn:hover {
  background: var(--pine-deep);
  transform: translateY(-1px);
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn:active {
  transform: translateY(0);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}
.btn--ghost:hover {
  background: rgba(16, 27, 22, 0.05);
  border-color: rgba(16, 27, 22, 0.24);
}
.btn--light {
  --btn-bg: var(--bone);
  --btn-fg: var(--pine);
  box-shadow: none;
}
.btn--light:hover {
  background: #fff;
}
.btn--sm {
  padding: 0.68rem 1.15rem;
  font-size: 0.87rem;
}
.btn--block {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.55;
  pointer-events: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  padding-block: 0.35rem;
  border-bottom: 1px solid rgba(16, 27, 22, 0.25);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.link-arrow svg {
  width: 15px;
  height: 15px;
  transition: transform 0.3s var(--ease);
}
.link-arrow:hover {
  color: var(--pine);
  border-color: var(--pine);
}
.link-arrow:hover svg {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   6. Announcement + header
   -------------------------------------------------------------------------- */
.announce {
  background: var(--pine);
  color: var(--bone);
}
.announce__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.55rem var(--gutter);
  font-size: 0.79rem;
  letter-spacing: 0.005em;
  text-align: center;
  line-height: 1.4;
}
.announce__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9fd0a8;
  box-shadow: 0 0 0 3px rgba(159, 208, 168, 0.18);
  flex: none;
}
.announce a {
  color: #cfe3cf;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.announce a:hover {
  color: #fff;
}
@media (max-width: 720px) {
  .announce__extra {
    display: none;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(244, 240, 231, 0.86);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(244, 240, 231, 0.95);
  border-bottom-color: var(--line-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.08em;
  font-family: var(--serif);
  font-size: 1.72rem;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  flex: none;
}
.brand__dot {
  width: 0.17em;
  height: 0.17em;
  border-radius: 50%;
  background: var(--clay);
  display: inline-block;
  transform: translateY(-0.02em);
}
.nav__links {
  display: none;
  align-items: center;
  gap: 1.9rem;
  font-size: 0.9rem;
  font-weight: 450;
  color: var(--ink-soft);
}
.nav__links a {
  position: relative;
  padding-block: 0.4rem;
  transition: color 0.2s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover {
  color: var(--ink);
}
.nav__links a:hover::after {
  transform: scaleX(1);
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
}
.nav__actions .btn {
  display: none;
}
.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
}
.nav__toggle:hover {
  background: rgba(16, 27, 22, 0.05);
}
.nav__toggle svg {
  width: 18px;
  height: 18px;
}
.nav__toggle .icon-close {
  display: none;
}
.nav__toggle[aria-expanded="true"] .icon-menu {
  display: none;
}
.nav__toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* mobile drawer */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 880;
  display: flex;
  flex-direction: column;
  background: var(--bone);
  padding: 1.1rem var(--gutter) 2rem;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
  box-shadow: 0 30px 60px -30px rgba(16, 27, 22, 0.4);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.mobile-menu__links {
  display: grid;
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.mobile-menu__links a {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu__links a:active {
  color: var(--clay);
}
.mobile-menu__foot {
  margin-top: auto;
  display: grid;
  gap: 0.8rem;
  padding-top: 2rem;
}
.mobile-menu__foot .btn {
  width: 100%;
}
.mobile-menu__note {
  font-size: 0.82rem;
  color: var(--muted);
}
.mobile-menu__meta {
  margin-top: 0.2rem;
  padding-top: 0.4rem;
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
body.menu-open {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(2.6rem, 5.5vw, 5rem) clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -22%;
  right: -18%;
  width: min(900px, 90vw);
  aspect-ratio: 1;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(217, 226, 209, 0.9),
    rgba(217, 226, 209, 0.28) 55%,
    rgba(217, 226, 209, 0) 72%
  );
  pointer-events: none;
}
.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 3.5rem);
  align-items: center;
}
.hero__copy {
  max-width: 36rem;
}
.hero__eyebrow {
  margin-bottom: 1.35rem;
  animation: fadeUp 0.8s var(--ease) both;
}
.hero h1 {
  margin-bottom: 1.35rem;
  animation: fadeUp 0.9s var(--ease) 0.06s both;
}
.hero__sub {
  max-width: 30rem;
  font-size: clamp(1.03rem, 1.3vw, 1.18rem);
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
  animation: fadeUp 0.9s var(--ease) 0.14s both;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
  animation: fadeUp 0.9s var(--ease) 0.22s both;
}
.hero__cta-note {
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}
.hero__cta-note svg {
  width: 14px;
  height: 14px;
  flex: none;
  opacity: 0.7;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.35rem;
  margin-top: 2.4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.79rem;
  color: var(--ink-soft);
  animation: fadeUp 0.9s var(--ease) 0.3s both;
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 0.42rem;
}
.hero__trust svg {
  width: 14px;
  height: 14px;
  color: var(--pine);
  flex: none;
}

/* hero art */
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(420px, 52vw, 560px);
  isolation: isolate;
  animation: fadeUp 1s var(--ease) 0.18s both;
}
.hero-blob {
  position: absolute;
  z-index: 0;
  width: min(540px, 96%);
  aspect-ratio: 1;
  background: radial-gradient(112% 112% at 32% 26%, #eef2e6 0%, #d5e0cb 46%, #b9cbb0 100%);
  border-radius: 45% 55% 52% 48% / 55% 45% 55% 45%;
  transform: rotate(-7deg);
  animation: blobDrift 34s ease-in-out infinite alternate;
  will-change: transform;
  box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.35);
}
.hero-ring {
  position: absolute;
  z-index: 0;
  width: min(610px, 108%);
  aspect-ratio: 1;
  border: 1px dashed rgba(16, 27, 22, 0.16);
  border-radius: 50%;
  transform: rotate(12deg);
}
.hero-ring::after {
  content: "";
  position: absolute;
  top: 8%;
  left: 22%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
}

.care-card {
  position: relative;
  z-index: 2;
  width: min(355px, 100%);
  background: var(--paper);
  border: 1px solid rgba(16, 27, 22, 0.09);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-1.4deg);
  transition: transform 0.5s var(--ease);
}
.hero-art:hover .care-card {
  transform: rotate(0deg) translateY(-3px);
}
.care-card__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line-soft);
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--pine);
  color: var(--bone);
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.avatar--sage {
  background: var(--sage);
  color: var(--pine);
}
.care-card__who {
  display: grid;
  line-height: 1.25;
}
.care-card__who strong {
  font-size: 0.87rem;
  font-weight: 550;
  letter-spacing: -0.01em;
}
.care-card__who span {
  font-size: 0.72rem;
  color: var(--muted);
}
.care-card__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pine);
  background: var(--sage-soft);
  padding: 0.25rem 0.55rem;
  border-radius: var(--pill);
}
.care-card__live::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2f7d52;
}
.care-card__body {
  padding: 1.15rem 1.15rem 0.4rem;
}
.care-card__label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.timeline {
  display: grid;
  gap: 0;
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.8rem;
  padding-bottom: 1.05rem;
}
.timeline li:last-child {
  padding-bottom: 0.6rem;
}
.timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 15px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.tl-dot {
  position: relative;
  z-index: 1;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1.5px solid rgba(16, 27, 22, 0.22);
  background: var(--paper);
  display: grid;
  place-items: center;
}
.timeline .is-done .tl-dot {
  background: var(--pine);
  border-color: var(--pine);
}
.timeline .is-done .tl-dot::after {
  content: "";
  width: 7px;
  height: 4px;
  border-left: 1.5px solid var(--bone);
  border-bottom: 1.5px solid var(--bone);
  transform: rotate(-45deg) translate(0.5px, -0.5px);
}
.timeline .is-now .tl-dot {
  border-color: var(--clay);
  box-shadow: 0 0 0 4px rgba(180, 85, 47, 0.12);
}
.timeline .is-now .tl-dot::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
}
.timeline strong {
  display: block;
  font-size: 0.855rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.timeline span:not(.tl-dot) {
  font-size: 0.755rem;
  color: var(--muted);
  line-height: 1.4;
}
.care-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 1.15rem;
  background: rgba(217, 226, 209, 0.34);
  border-top: 1px solid var(--line-soft);
  font-size: 0.72rem;
  color: var(--ink-soft);
}
.care-card__foot span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.care-card__foot svg {
  width: 12px;
  height: 12px;
}
.mini-link {
  font-weight: 500;
  color: var(--pine);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

.chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  background: var(--paper);
  border: 1px solid rgba(16, 27, 22, 0.09);
  border-radius: var(--pill);
  box-shadow: var(--shadow-sm);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink-soft);
  white-space: nowrap;
  animation: float 7s ease-in-out infinite;
}
.chip svg {
  width: 13px;
  height: 13px;
  color: var(--pine);
}
.chip--tr {
  top: 8%;
  right: -2%;
  animation-delay: -1.5s;
}
.chip--bl {
  bottom: 9%;
  left: -3%;
  animation-delay: -3.5s;
}

/* --------------------------------------------------------------------------
   8. Marquee
   -------------------------------------------------------------------------- */
.marquee {
  position: relative;
  border-block: 1px solid var(--line);
  background: rgba(254, 252, 247, 0.5);
  overflow: hidden;
  padding-block: 0.95rem;
  --gap: 2.4rem;
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 46s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bone) 15%, rgba(244, 240, 231, 0));
}
.marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bone) 15%, rgba(244, 240, 231, 0));
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: var(--gap);
  padding-right: var(--gap);
  flex: none;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: var(--gap);
  font-family: var(--serif);
  font-size: 1.22rem;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  white-space: nowrap;
}
.marquee__item::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clay);
  opacity: 0.6;
}

/* --------------------------------------------------------------------------
   9. Care paths
   -------------------------------------------------------------------------- */
.paths {
  padding-top: clamp(3.5rem, 7vw, 6rem);
}
.paths__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.paths__head .display-2 {
  max-width: 18ch;
}
.paths__head .lead {
  max-width: 34ch;
}
.paths__grid {
  display: grid;
  gap: 1.1rem;
}
.path-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.5rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
  min-height: 420px;
}
.path-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  background: radial-gradient(120% 90% at 100% 0%, rgba(217, 226, 209, 0.55), transparent 60%);
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.path-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(16, 27, 22, 0.2);
}
.path-card:hover::after {
  opacity: 1;
}
.path-card--sage {
  background: linear-gradient(165deg, #f3f6ec 0%, #e6ecdc 100%);
  border-color: rgba(23, 61, 46, 0.14);
}
.path-card--clay {
  background: linear-gradient(165deg, #fbf3ea 0%, #f4e3d4 100%);
  border-color: rgba(180, 85, 47, 0.16);
}
.path-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.path-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid rgba(16, 27, 22, 0.16);
  border-radius: var(--pill);
  padding: 0.3rem 0.65rem;
  background: rgba(254, 252, 247, 0.5);
}
.path-card__art {
  width: 74px;
  height: 74px;
  flex: none;
  color: var(--pine);
  opacity: 0.75;
}
.path-card--clay .path-card__art {
  color: var(--clay);
}
.path-card h3 {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-bottom: 0.7rem;
  text-wrap: balance;
}
.path-card p {
  position: relative;
  z-index: 1;
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 34ch;
  text-wrap: pretty;
}
.path-card__list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.55rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}
.path-card__list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.45;
}
.path-card__list svg {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  flex: none;
  color: var(--pine);
}
.path-card--clay .path-card__list svg {
  color: var(--clay);
}
.path-card__foot {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(16, 27, 22, 0.12);
}
.path-card__foot .price-from {
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.path-card__foot .price-from strong {
  font-weight: 600;
  color: var(--ink);
}
.circle-link {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 27, 22, 0.2);
  color: var(--ink);
  flex: none;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.circle-link svg {
  width: 17px;
  height: 17px;
}
.path-card:hover .circle-link {
  background: var(--pine);
  border-color: var(--pine);
  color: var(--bone);
  transform: rotate(-45deg);
}
.path-card--clay:hover .circle-link {
  background: var(--clay);
  border-color: var(--clay);
}

/* --------------------------------------------------------------------------
   10. How it works
   -------------------------------------------------------------------------- */
.how {
  border-top: 1px solid var(--line);
}
.how__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
}
.how__aside {
  align-self: start;
}
.how__aside .display-2 {
  margin-bottom: 1.2rem;
  max-width: 14ch;
}
.how__aside .lead {
  margin-bottom: 1.8rem;
}
.how__aside-note {
  display: flex;
  gap: 0.7rem;
  padding: 1rem 1.1rem;
  background: var(--sage-soft);
  border-radius: var(--r-md);
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 24rem;
}
.how__aside-note svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 2px;
  color: var(--pine);
}
.steps {
  display: grid;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 1.1rem;
  padding-block: 1.6rem;
  border-top: 1px solid var(--line);
}
.step:last-child {
  border-bottom: 1px solid var(--line);
}
.step__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--clay);
  line-height: 1.3;
  padding-top: 0.1rem;
}
.step__body h3 {
  font-size: 1.12rem;
  font-weight: 550;
  letter-spacing: -0.015em;
  margin-bottom: 0.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem;
}
.step__time {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 0.14rem 0.5rem;
  white-space: nowrap;
}
.step__body p {
  font-size: 0.93rem;
  color: var(--ink-soft);
  max-width: 52ch;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   11. Diagnostics (dark)
   -------------------------------------------------------------------------- */
.diag {
  position: relative;
  background: var(--pine);
  color: var(--bone);
  overflow: hidden;
}
.diag::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 80% at 85% 10%, rgba(217, 226, 209, 0.14), transparent 60%),
    radial-gradient(60% 60% at 0% 100%, rgba(180, 85, 47, 0.16), transparent 65%);
  pointer-events: none;
}
.diag .container {
  position: relative;
}
.diag__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}
.diag .eyebrow {
  color: rgba(244, 240, 231, 0.62);
}
.diag .display-2 {
  margin-bottom: 1.25rem;
  max-width: 15ch;
}
.diag .display-2 em {
  color: #e9b795;
}
.diag .lead {
  color: rgba(244, 240, 231, 0.72);
  margin-bottom: 1.8rem;
}
.diag__note {
  display: flex;
  gap: 0.7rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(244, 240, 231, 0.62);
  max-width: 30rem;
  border-left: 1px solid var(--line-invert);
  padding-left: 1rem;
}
.diag__note svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
  color: #9fd0a8;
}
.checks {
  display: grid;
  gap: 0;
}
.check {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.9rem;
  padding-block: 1.05rem;
  border-top: 1px solid var(--line-invert);
}
.check:last-child {
  border-bottom: 1px solid var(--line-invert);
}
.check svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: #9fd0a8;
  flex: none;
}
.check > div {
  max-width: 42ch;
}
.check strong {
  display: block;
  color: var(--bone);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.15rem;
}
.check span {
  font-size: 0.83rem;
  line-height: 1.45;
  color: rgba(244, 240, 231, 0.6);
}
.lab-card {
  margin-top: 1.75rem;
  background: rgba(244, 240, 231, 0.06);
  border: 1px solid var(--line-invert);
  border-radius: var(--r-lg);
  padding: 1.15rem 1.25rem;
}
.lab-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line-invert);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 240, 231, 0.55);
}
.lab-card__head span:last-child {
  color: #9fd0a8;
}
.lab-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.6rem;
  font-size: 0.84rem;
  color: rgba(244, 240, 231, 0.85);
}
.lab-row + .lab-row {
  border-top: 1px dashed rgba(244, 240, 231, 0.12);
}
.lab-row em {
  font-style: normal;
  font-size: 0.72rem;
  color: rgba(244, 240, 231, 0.62);
  font-variant-numeric: tabular-nums;
}
.lab-card__foot {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line-invert);
  font-size: 0.72rem;
  color: rgba(244, 240, 231, 0.62);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   12. Pricing
   -------------------------------------------------------------------------- */
.pricing__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.pricing__head .display-2 {
  max-width: 16ch;
}
.pricing__grid {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}
.price {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.price:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.price--featured {
  background: var(--pine);
  color: var(--bone);
  border-color: var(--pine);
  box-shadow: var(--shadow-md);
}
.price--featured:hover {
  box-shadow: var(--shadow-lg);
}
.price__flag {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #9fd0a8;
  color: var(--pine-deep);
  border-radius: var(--pill);
  padding: 0.28rem 0.6rem;
}
.price__name {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}
.price--featured .price__name {
  color: rgba(244, 240, 231, 0.6);
}
.price__amount {
  display: flex;
  align-items: baseline;
  gap: 0.22rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 4vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}
.price__amount sup {
  font-size: 0.4em;
  top: -1.15em;
  position: relative;
  font-family: var(--sans);
  font-weight: 500;
}
.price__period {
  margin-left: 0.25rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}
.price--featured .price__period {
  color: rgba(244, 240, 231, 0.6);
}
.price__desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
  min-height: 2.9em;
  text-wrap: pretty;
}
.price--featured .price__desc {
  color: rgba(244, 240, 231, 0.72);
}
.price__list {
  display: grid;
  gap: 0.6rem;
  margin-block: 1.4rem 1.6rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.price__list li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  line-height: 1.4;
}
.price__list svg {
  width: 14px;
  height: 14px;
  flex: none;
  margin-top: 2px;
  color: var(--pine);
}
.price--featured .price__list {
  color: rgba(244, 240, 231, 0.82);
}
.price--featured .price__list svg {
  color: #9fd0a8;
}
.price .btn {
  margin-top: auto;
  width: 100%;
}
.price__fine {
  margin-top: 0.7rem;
  font-size: 0.72rem;
  text-align: center;
  color: var(--muted);
}
.price--featured .price__fine {
  color: rgba(244, 240, 231, 0.62);
}
.pricing__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  align-items: center;
  margin-top: 1.5rem;
  font-size: 0.79rem;
  color: var(--muted);
}
.pricing__foot svg {
  width: 14px;
  height: 14px;
  flex: none;
}

/* --------------------------------------------------------------------------
   13. Privacy / philosophy band
   -------------------------------------------------------------------------- */
.privacy {
  padding-block: 0 var(--section-y);
}
.privacy__inner {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.8rem, 4vw, 3.2rem);
  border-radius: var(--r-xl);
  background: var(--paper);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.privacy__inner::after {
  content: "";
  position: absolute;
  right: -14%;
  bottom: -72%;
  width: 480px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  opacity: 0.55;
  pointer-events: none;
}
.privacy__copy .display-2 {
  max-width: 16ch;
  margin-bottom: 1rem;
}
.privacy__copy .lead {
  max-width: 38ch;
}
.privacy__points {
  display: grid;
  gap: 1.1rem;
  align-content: center;
}
.privacy__point {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.8rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line-soft);
}
.privacy__point:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.privacy__point svg {
  width: 18px;
  height: 18px;
  color: var(--pine);
  margin-top: 2px;
}
.privacy__point strong {
  display: block;
  font-size: 0.93rem;
  font-weight: 550;
  margin-bottom: 0.15rem;
}
.privacy__point span {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   14. Testimonials
   -------------------------------------------------------------------------- */
.stories__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 3rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.stories__head .display-2 {
  max-width: 18ch;
}
.stories__grid {
  display: grid;
  gap: 1rem;
}
.quote {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  position: relative;
}
.quote__mark {
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 0.6;
  color: var(--clay);
  opacity: 0.55;
}
.quote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.22rem, 1.7vw, 1.42rem);
  line-height: 1.34;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-wrap: pretty;
  margin: 0;
}
.quote figcaption {
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.quote figcaption strong {
  color: var(--ink);
  font-weight: 550;
}
.quote figcaption div span {
  display: block;
  font-size: 0.74rem;
}

/* --------------------------------------------------------------------------
   15. FAQ
   -------------------------------------------------------------------------- */
.faq {
  border-top: 1px solid var(--line);
}
.faq__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
}
.faq__aside {
  align-self: start;
}
.faq__aside .display-2 {
  margin-bottom: 1rem;
  max-width: 12ch;
}
.faq__aside .lead {
  margin-bottom: 1.6rem;
}
.faq__contact {
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--r-md);
  background: var(--sage-soft);
  font-size: 0.85rem;
  color: var(--ink-soft);
  max-width: 24rem;
}
.faq__contact strong {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 550;
}
.faq__contact a {
  color: var(--pine);
  font-weight: 500;
  border-bottom: 1px solid rgba(23, 61, 46, 0.3);
  align-self: flex-start;
}
.faq__list {
  display: grid;
}
.faq__item {
  border-top: 1px solid var(--line);
}
.faq__item:last-child {
  border-bottom: 1px solid var(--line);
}
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.25rem;
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.35;
  transition: color 0.2s var(--ease);
}
.faq__q::-webkit-details-marker {
  display: none;
}
.faq__q:hover {
  color: var(--pine);
}
.faq__icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.faq__icon::before {
  width: 9px;
  height: 1.5px;
}
.faq__icon::after {
  width: 1.5px;
  height: 9px;
}
.faq__item[open] .faq__icon {
  background: var(--pine);
  border-color: var(--pine);
  color: var(--bone);
}
.faq__item[open] .faq__icon::after {
  opacity: 0;
}
.faq__a {
  padding-bottom: 1.4rem;
  max-width: 62ch;
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.faq__item[open] .faq__a {
  animation: faqIn 0.35s var(--ease);
}
.faq__a p + p {
  margin-top: 0.7rem;
}
.faq__a strong {
  color: var(--ink);
  font-weight: 550;
}
.faq__a a {
  color: var(--pine);
  border-bottom: 1px solid rgba(23, 61, 46, 0.3);
}

/* --------------------------------------------------------------------------
   16. Final CTA
   -------------------------------------------------------------------------- */
.cta {
  padding-block: 0 var(--section-y);
}
.cta__panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--pine);
  color: var(--bone);
  padding: clamp(3rem, 8vw, 6.5rem) var(--gutter);
  text-align: center;
  isolation: isolate;
}
.cta__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(55% 75% at 50% -10%, rgba(217, 226, 209, 0.2), transparent 70%),
    radial-gradient(40% 60% at 100% 110%, rgba(180, 85, 47, 0.24), transparent 70%);
}
.cta__panel .eyebrow {
  color: rgba(244, 240, 231, 0.6);
  margin-bottom: 1.2rem;
}
.cta__panel .display-1 {
  max-width: 18ch;
  margin-inline: auto;
  margin-bottom: 1.15rem;
}
.cta__panel .display-1 em {
  color: #e9b795;
}
.cta__panel p {
  max-width: 42ch;
  margin-inline: auto;
  color: rgba(244, 240, 231, 0.72);
  font-size: 1.02rem;
  text-wrap: pretty;
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}
.cta__fine {
  margin-top: 1.4rem;
  max-width: none;
  font-size: 0.75rem;
  color: rgba(244, 240, 231, 0.65);
}
.cta__seal {
  position: absolute;
  z-index: -1;
  right: -60px;
  bottom: -80px;
  width: 320px;
  opacity: 0.1;
  color: var(--bone);
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 5vw, 4rem) 2rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.footer__top {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.footer__brand .brand {
  font-size: 1.9rem;
  margin-bottom: 0.8rem;
}
.footer__brand p {
  max-width: 28ch;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--muted);
}
.footer__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.55rem;
  margin-top: 1rem;
  font-size: 0.86rem;
  max-width: none;
}
.footer__contact a {
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer__contact a:hover {
  color: var(--ink);
  border-color: var(--ink);
}
.footer__words {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  margin-top: 1.2rem;
  font-size: 0.72rem;
  color: var(--muted);
}
.footer__words span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.footer__words svg {
  width: 12px;
  height: 12px;
}
.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}
.footer__col h3 {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.footer__col ul {
  display: grid;
  gap: 0.55rem;
}
.footer__col a {
  font-size: 0.86rem;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}
.footer__col a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__legal {
  padding-top: 1.6rem;
  display: grid;
  gap: 1rem;
}
.footer__disclaimer {
  font-size: 0.71rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 92ch;
  text-wrap: pretty;
}
.footer__disclaimer strong {
  color: var(--ink-soft);
  font-weight: 550;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.2rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.72rem;
  color: var(--muted);
}
.footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
}
.footer__bottom a:hover {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   18. Intake dialog
   -------------------------------------------------------------------------- */
.intake {
  width: min(100% - 1.5rem, 640px);
  max-height: min(92dvh, 900px);
  border: 0;
  padding: 0;
  border-radius: var(--r-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  margin: auto;
  overflow: hidden;
}
.intake::backdrop {
  background: rgba(13, 42, 31, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.intake[open] {
  animation: dialogIn 0.35s var(--ease);
}
.intake::backdrop {
  animation: backdropIn 0.35s var(--ease);
}
.intake__shell {
  display: flex;
  flex-direction: column;
  max-height: min(92dvh, 900px);
}
.intake__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem 0.9rem;
}
.intake__brand {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1;
}
.intake__step-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.intake__close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  flex: none;
  transition: background-color 0.2s var(--ease);
}
.intake__close:hover {
  background: rgba(16, 27, 22, 0.06);
}
.intake__close svg {
  width: 14px;
  height: 14px;
}
.intake__progress {
  height: 2px;
  background: var(--line-soft);
  margin: 0 1.35rem;
  border-radius: 2px;
  overflow: hidden;
}
.intake__progress span {
  display: block;
  height: 100%;
  width: 33.333%;
  background: var(--pine);
  border-radius: 2px;
  transition: width 0.4s var(--ease);
}
.intake__body {
  padding: 1.5rem 1.35rem 1.6rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.intake__step[hidden] {
  display: none;
}
.intake__step.is-active {
  animation: stepIn 0.4s var(--ease);
}
.intake__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.15rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 0.6rem;
  text-wrap: balance;
}
.intake__sub {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
  max-width: 46ch;
  text-wrap: pretty;
}
.intake fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 1.2rem;
}
.intake legend {
  padding: 0;
  font-size: 0.8rem;
  font-weight: 550;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.choices {
  display: grid;
  gap: 0.55rem;
}
.choices--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.choice {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
  font-size: 0.9rem;
  line-height: 1.4;
}
.choice:hover {
  border-color: rgba(16, 27, 22, 0.3);
}
.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.choice__mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(16, 27, 22, 0.25);
  flex: none;
  margin-top: 1px;
  display: grid;
  place-items: center;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.choice__mark::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pine);
  transform: scale(0);
  transition: transform 0.2s var(--ease);
}
.choice:has(input:checked) {
  border-color: var(--pine);
  background: rgba(217, 226, 209, 0.28);
  box-shadow: 0 0 0 1px var(--pine) inset;
}
.choice:has(input:checked) .choice__mark {
  border-color: var(--pine);
}
.choice:has(input:checked) .choice__mark::after {
  transform: scale(1);
}
.choice:has(input:focus-visible) {
  outline: 2px solid var(--clay);
  outline-offset: 2px;
}
.choice strong {
  display: block;
  font-weight: 550;
  letter-spacing: -0.01em;
}
.choice small {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}
.field label {
  font-size: 0.8rem;
  font-weight: 550;
  color: var(--ink);
}
.field input,
.field select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.92rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%2343514a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.2rem;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--pine);
  box-shadow: 0 0 0 3px rgba(23, 61, 46, 0.1);
}
.field__error {
  font-size: 0.75rem;
  color: var(--clay);
  min-height: 0;
}
.field--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ink-soft);
  margin-block: 0.4rem 1rem;
  cursor: pointer;
}
.consent input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--pine);
}
.consent a {
  color: var(--pine);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.intake__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.4rem;
}
.intake__back {
  font-size: 0.86rem;
  color: var(--muted);
  padding: 0.6rem 0.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.intake__back:hover {
  color: var(--ink);
}
.intake__back svg {
  width: 14px;
  height: 14px;
}
.intake__actions .btn {
  margin-left: auto;
}
.intake__error {
  display: none;
  margin-top: 0.8rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--r-sm);
  background: rgba(180, 85, 47, 0.08);
  color: #8f3f21;
  font-size: 0.8rem;
  line-height: 1.45;
}
.intake__error.is-visible {
  display: block;
}
.intake__result {
  padding: 2rem 1.35rem 2rem;
  text-align: center;
}
.intake__result[hidden] {
  display: none;
}
.intake__result .seal {
  width: 62px;
  height: 62px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--pine);
  display: grid;
  place-items: center;
}
.intake__result .seal svg {
  width: 26px;
  height: 26px;
}
.intake__result h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.6vw, 2.2rem);
  line-height: 1.05;
  margin-bottom: 0.7rem;
  letter-spacing: -0.015em;
}
.intake__result p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 42ch;
  margin: 0 auto 1.3rem;
  line-height: 1.55;
}
.intake__result .next {
  display: grid;
  gap: 0.5rem;
  text-align: left;
  margin: 1.4rem auto 1.6rem;
  max-width: 380px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.intake__result .next li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.intake__result .next .n {
  font-family: var(--serif);
  font-style: italic;
  color: var(--clay);
  flex: none;
  width: 1.1rem;
}
.intake__result .fine {
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 1rem;
}
.intake__result--warn .seal {
  background: var(--clay-soft);
  color: var(--clay);
}

/* --------------------------------------------------------------------------
   19. Legal pages & 404
   -------------------------------------------------------------------------- */
.page-head {
  padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem;
  border-bottom: 1px solid var(--line);
}
.page-head .display-2 {
  margin-block: 0.9rem 0.8rem;
}
.page-head .small {
  color: var(--muted);
}
.legal {
  padding-block: clamp(2rem, 4vw, 3rem) var(--section-y);
}
.legal__grid {
  display: grid;
  gap: 2.5rem;
}
.legal__inner {
  max-width: 72ch;
}
.legal__toc {
  display: none;
}
@media (min-width: 1000px) {
  .legal__grid {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 4rem;
    align-items: start;
  }
  .legal__toc {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
  .legal__toc p {
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.9rem;
  }
  .legal .legal__toc ul {
    display: grid;
    gap: 0.5rem;
    list-style: none;
    border-left: 1px solid var(--line);
    padding-left: 1rem;
    margin-bottom: 0;
  }
  .legal .legal__toc li {
    margin-bottom: 0;
  }
  .legal .legal__toc a {
    font-size: 0.82rem;
    line-height: 1.35;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s var(--ease);
  }
  .legal .legal__toc a:hover {
    color: var(--ink);
  }
}
.legal h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.65rem;
  line-height: 1.1;
  letter-spacing: -0.012em;
  margin-block: 2rem 0.7rem;
}
.legal h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-block: 1.4rem 0.4rem;
}
.legal p,
.legal li {
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}
.legal ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}
.legal li {
  margin-bottom: 0.35rem;
}
.legal a {
  color: var(--pine);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal .note {
  padding: 1rem 1.15rem;
  border-radius: var(--r-md);
  background: var(--sage-soft);
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.footer--slim {
  padding-block: 2.5rem 2rem;
}
.footer__bottom--flush {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.legal__footnote {
  margin-top: 1.5rem;
}
.footer__disclaimer.legal__footnote {
  margin-top: 1rem;
  max-width: none;
}
.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: clamp(4rem, 12vw, 8rem);
}
.error-page__code {
  font-family: var(--serif);
  font-size: clamp(5rem, 16vw, 11rem);
  color: #7a8d73;
  line-height: 0.8;
  margin-bottom: 1rem;
}
.error-page__text {
  max-width: 38ch;
  margin: 0.9rem auto 1.9rem;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.error-page .cta__actions {
  margin-top: 0;
}

/* --------------------------------------------------------------------------
   19b. Section modifiers & small helpers
   -------------------------------------------------------------------------- */
.section--flush-top {
  padding-top: 0;
}
.privacy__link {
  margin-top: 1.4rem;
}
.intake__hint {
  margin-top: 0.4rem;
}
.intake__hint--center {
  margin-top: 0.9rem;
  text-align: center;
}
.intake__result .fine a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.field.has-error input,
.field.has-error select {
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(180, 85, 47, 0.1);
}

/* Staggered reveals inside grids (no inline styles, CSP-safe) */
.paths__grid > [data-reveal]:nth-child(2) { --d: 90ms; }
.pricing__grid > [data-reveal]:nth-child(2) { --d: 80ms; }
.pricing__grid > [data-reveal]:nth-child(3) { --d: 160ms; }
.stories__grid > [data-reveal]:nth-child(2) { --d: 80ms; }
.stories__grid > [data-reveal]:nth-child(3) { --d: 160ms; }
.steps > [data-reveal]:nth-child(2) { --d: 60ms; }
.steps > [data-reveal]:nth-child(3) { --d: 120ms; }
.steps > [data-reveal]:nth-child(4) { --d: 180ms; }
.checks > [data-reveal]:nth-child(2) { --d: 50ms; }
.checks > [data-reveal]:nth-child(3) { --d: 100ms; }
.checks > [data-reveal]:nth-child(4) { --d: 150ms; }
.checks > [data-reveal]:nth-child(5) { --d: 200ms; }
.checks > [data-reveal]:nth-child(6) { --d: 250ms; }

/* --------------------------------------------------------------------------
   20. Animations
   -------------------------------------------------------------------------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes blobDrift {
  0% {
    transform: rotate(-7deg) scale(1);
  }
  100% {
    transform: rotate(2deg) scale(1.035);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes faqIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes dialogIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes backdropIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   21. Responsive
   -------------------------------------------------------------------------- */
@media (min-width: 560px) {
  .paths__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .path-card h3 {
    min-height: 2.04em;
  }
  .footer__nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .pricing__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .quote:first-child {
    grid-column: span 2;
  }
  .footer__top {
    grid-template-columns: 1.1fr 1.4fr;
    gap: 3rem;
  }
  .section-head--split {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
  }
}

@media (min-width: 900px) {
  .nav__links {
    display: flex;
  }
  .nav__actions .btn {
    display: inline-flex;
  }
  .nav__toggle {
    display: none;
  }
  .mobile-menu {
    display: none;
  }
  .hero__grid {
    grid-template-columns: 1.04fr 0.96fr;
    gap: 2rem;
  }
  .hero-art {
    min-height: 560px;
  }
  .how__grid {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }
  .how__aside {
    position: sticky;
    top: calc(var(--header-h) + 40px);
  }
  .diag__grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
  }
  .privacy__inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
  .faq__grid {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
  }
  .faq__aside {
    position: sticky;
    top: calc(var(--header-h) + 40px);
  }
  .stories__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .quote:first-child {
    grid-column: auto;
  }
  .footer__top {
    grid-template-columns: 1.3fr 2fr;
    gap: 4rem;
  }
  .footer__nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .section-head--split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
    gap: 3rem;
  }
}

@media (min-width: 1080px) {
  .pricing__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .price--featured {
    transform: translateY(-10px);
  }
  .price--featured:hover {
    transform: translateY(-13px);
  }
  .hero-art {
    min-height: 600px;
  }
}

@media (max-width: 899px) {
  .hero-art {
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
    min-height: clamp(400px, 76vw, 540px);
  }
  .hero-blob {
    width: min(440px, 100%);
  }
  .hero-ring {
    display: none;
  }
}

@media (max-width: 560px) {
  .chip {
    display: none;
  }
  .chip--tr {
    top: 2%;
    right: -1%;
  }
  .chip--bl {
    bottom: 2%;
    left: -1%;
  }
  .care-card {
    width: min(320px, 92%);
  }
  .hero-ring {
    width: 104%;
  }
  .quote blockquote {
    font-size: 1.18rem;
  }
  .intake__body {
    padding: 1.25rem 1.1rem 1.3rem;
  }
  .intake__top {
    padding: 1rem 1.1rem 0.8rem;
  }
  .intake__progress {
    margin-inline: 1.1rem;
  }
  .intake__result {
    padding: 1.6rem 1.1rem;
  }
  .choices--2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .chip {
    font-size: 0.66rem;
    padding: 0.45rem 0.65rem;
  }
  .hero__cta .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   22. Motion & contrast preferences
   -------------------------------------------------------------------------- */
@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;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .hero-blob {
    animation: none;
  }
  .chip {
    animation: none;
  }
  .marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    row-gap: 0.5rem;
  }
}

@media (prefers-contrast: more) {
  :root {
    --line: rgba(16, 27, 22, 0.32);
    --muted: #4a5850;
  }
}
