/* ==========================================================================
   ShapeUp Weight & Wellness — main stylesheet
   Mobile-first. Tokens first, then base, layout, components, pages.
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-opsz-normal.woff2") format("woff2-variations");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-opsz-italic.woff2") format("woff2-variations");
  font-weight: 200 800; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/hanken-grotesk-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Alegreya Sans SC";
  src: url("/assets/fonts/alegreya-sans-sc-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --summit: #9AB1D0;        /* logo blue-gray: graphics only */
  --summit-soft: #C4D2E3;
  --summit-pale: #D5DFEB;
  --slate: #3E5675;         /* buttons, links */
  --slate-dark: #2B3E57;    /* hover */
  --slate-num: #6B84A6;     /* large numerals */
  --ink: #1C2230;
  --text: #3F4756;
  --muted: #5B6576;
  --bg: #FAF8F4;            /* warm white */
  --mist: #EEF2F7;          /* secondary background */
  --white: #FFFFFF;
  --line: #E2DFD8;
  --line-soft: #ECE9E2;
  --field: #CBD3DD;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --caps: "Alegreya Sans SC", var(--sans);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --pill: 999px;

  --gutter: clamp(20px, 5vw, 48px);
  --max: 1200px;
  --section: clamp(64px, 9vw, 112px);
  --header-h: 72px;
  --shadow-float: 0 18px 40px -18px rgba(28, 34, 48, 0.28);
}
@media (min-width: 960px) { :root { --header-h: 96px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
@media (min-width: 960px) { body { font-size: 18px; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 0; letter-spacing: -0.01em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.9rem); line-height: 1.03; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--slate); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--slate-dark); }
:focus-visible { outline: 3px solid var(--slate); outline-offset: 3px; border-radius: 4px; }
strong { font-weight: 600; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--slate); color: #fff; padding: 12px 18px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding-block: var(--section); }
.section--white { background: var(--white); border-top: 1px solid var(--line-soft); }
.section--mist { background: var(--mist); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--row { max-width: none; }
@media (min-width: 960px) {
  .section-head--row { grid-template-columns: 1fr auto; align-items: end; column-gap: 48px; }
  .section-head--row > p { max-width: 380px; }
}
.split { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .split { grid-template-columns: 5fr 6fr; column-gap: clamp(48px, 7vw, 120px); }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--center { align-items: center; }
}
.stack { display: grid; gap: 18px; align-content: start; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--text); line-height: 1.6; }
.body { color: var(--text); }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

/* ---------- Text elements ---------- */
.eyebrow { font-family: var(--caps); font-weight: 500; font-size: 1rem; letter-spacing: 0.12em; color: var(--slate); }
.badge { display: inline-flex; align-self: start; justify-self: start; align-items: center; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border-radius: var(--pill); padding: 5px 12px; background: var(--slate); color: #fff; }
.badge--soft { background: var(--mist); color: var(--slate); }
.badge--white { background: #fff; color: var(--slate); }
.numeral { font-family: var(--serif); color: var(--slate-num); font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1; }
.dash-list { list-style: none; display: grid; gap: 10px; color: var(--text); }
.dash-list li { display: flex; gap: 12px; }
.dash-list li::before { content: "—"; color: var(--slate-num); flex-shrink: 0; }
.check-list { list-style: none; display: grid; gap: 10px; color: var(--text); }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { flex-shrink: 0; margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li { font-size: 0.88rem; font-weight: 500; color: var(--slate); background: var(--mist); border-radius: var(--pill); padding: 8px 14px; }
.notice { font-size: 0.9rem; line-height: 1.6; color: var(--muted); background: var(--mist); border-radius: var(--radius-sm); padding: 14px 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: var(--pill); border: 1.5px solid transparent;
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--slate); color: #fff; }
.btn--primary:hover { background: var(--slate-dark); color: #fff; }
.btn--outline { border-color: var(--slate); color: var(--slate); background: transparent; }
.btn--outline:hover { background: var(--slate); color: #fff; }
.btn--light { background: #fff; color: var(--slate-dark); }
.btn--light:hover { background: var(--mist); color: var(--slate-dark); }
.btn--lg { min-height: 58px; padding: 0 36px; font-size: 1.06rem; }
.btn--block { width: 100%; }
.btn svg { transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.text-link { font-weight: 600; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 244, 0.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid #E6E3DC; }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header__logo img { height: 54px; width: auto; }
@media (min-width: 960px) { .site-header__logo img { height: 70px; } }
.site-nav { display: none; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1rem; padding: 8px 0; }
.site-nav a:not(.btn):hover, .site-nav a:not(.btn)[aria-current="page"] { color: var(--slate); text-decoration: underline; text-underline-offset: 8px; }
.site-nav a:not(.btn)[aria-current="page"] { font-weight: 600; }
.site-nav .btn[aria-current="page"] { background: var(--slate-dark); }
.site-header__mobile { display: flex; align-items: center; gap: 4px; }
.site-header__mobile .btn { min-height: 44px; padding: 0 18px; font-size: 0.95rem; }
.menu-toggle { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--ink); cursor: pointer; border-radius: var(--radius-sm); }
@media (min-width: 960px) {
  .site-nav { display: block; }
  .site-header__mobile { display: none; }
}

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 60; background: var(--bg); display: flex; flex-direction: column; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__top { height: 72px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 var(--gutter); border-bottom: 1px solid #E6E3DC; }
.mobile-menu__top img { height: 54px; width: auto; }
.mobile-menu nav { padding: 8px var(--gutter) 0; }
.mobile-menu nav ul { list-style: none; }
.mobile-menu nav a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.75rem; color: var(--ink); text-decoration: none; }
.mobile-menu nav a[aria-current="page"] { color: var(--slate); }
.mobile-menu__secondary { padding: 16px var(--gutter) 0; display: grid; }
.mobile-menu__secondary a { color: var(--text); text-decoration: none; padding: 12px 0; }
.mobile-menu__bottom { margin-top: auto; position: relative; padding: 20px var(--gutter) 32px; display: grid; gap: 12px; border-top: 1px solid #E6E3DC; background: var(--bg); }
.mobile-menu__bottom p { text-align: center; font-size: 0.82rem; color: var(--muted); }
.mobile-menu__ridge { position: relative; height: 150px; margin-top: 24px; overflow: hidden; }
.mobile-menu__ridge svg { position: absolute; left: -20px; bottom: -2px; width: 360px; height: 145px; }
body.menu-open { overflow: hidden; }

/* ---------- Photos & placeholders ---------- */
.photo { position: relative; overflow: hidden; border-radius: 20px; background: var(--summit-pale); }
.photo picture { display: block; width: 100%; height: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--placeholder { display: flex; align-items: flex-end; }
.photo--placeholder .photo__ridge { width: 100%; height: 46%; }
.photo__label { position: absolute; top: 20px; left: 20px; right: 20px; font-family: var(--caps); font-size: 0.85rem; letter-spacing: 0.1em; color: var(--slate); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(56px, 7vw, 104px); }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__copy { display: grid; gap: 22px; }
.hero__copy .lead { max-width: 540px; }
.hero__facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.hero__facts li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; background: var(--mist); border-radius: 12px; font-size: 0.82rem; font-weight: 600; color: var(--text); text-align: center; }
.hero__media { position: relative; }
.hero__media .photo { height: clamp(300px, 52vw, 620px); }
.hero__provider { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; padding: 16px 18px; margin-top: 14px; }
.hero__provider .avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--summit-soft); flex-shrink: 0; overflow: hidden; }
.hero__provider .avatar img { width: 100%; height: 100%; object-fit: cover; }
.hero__provider strong { display: block; font-size: 0.97rem; }
.hero__provider span { font-size: 0.85rem; color: var(--muted); line-height: 1.4; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .hero__facts { display: flex; gap: 36px; padding-top: 24px; border-top: 1px solid var(--line); margin-top: 20px; }
  .hero__facts li { flex-direction: row; background: none; padding: 0; font-size: 0.93rem; font-weight: 500; }
  .hero__provider { position: absolute; left: -56px; bottom: 56px; width: 300px; margin: 0; border: 0; box-shadow: var(--shadow-float); align-items: flex-start; }
}
/* Centered hero (no photo) */
.hero--center { text-align: center; }
.hero--center .hero__copy { justify-items: center; max-width: 860px; margin-inline: auto; }
.hero--center h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
.hero--center .hero__copy .lead { max-width: 640px; }
.hero--center .btn-row { justify-content: center; }
.hero--center .hero__facts { width: 100%; max-width: 560px; justify-content: center; }
.hero--center .hero__provider--inline { text-align: left; margin-top: 8px; }
@media (min-width: 960px) {
  .hero--center .hero__provider--inline { position: static; width: auto; box-shadow: none; border: 1px solid var(--line-soft); align-items: center; }
}
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 72px); }
.page-hero .stack { gap: 20px; }
.page-hero .stack:not(.container) { max-width: 900px; }
.page-hero .container.stack > * { max-width: 900px; }
.page-hero--center .stack { margin-inline: auto; text-align: center; justify-items: center; }
.page-hero--center .lead { max-width: 760px; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 16px; }
@media (min-width: 760px) { .cards--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } .cards--2 { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.card--flat { border-color: transparent; }
.card--optional { background: transparent; border: 1.5px dashed var(--summit); }
.card--optional.on-white { background: #fff; }
.card--selected { border: 1.5px solid var(--slate); }
.card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card p { color: var(--text); }
.card .btn { margin-top: auto; }
.peak { width: 56px; height: 24px; }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; gap: 28px; position: relative; }
.steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
.steps .step-num { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.2rem; background: #fff; border: 1.5px solid var(--summit); color: var(--slate); }
.steps li:first-child .step-num { background: var(--slate); border-color: var(--slate); color: #fff; }
.steps h3 { font-size: 1.4rem; padding-top: 8px; }
.steps p { color: var(--text); grid-column: 2; margin-top: 6px; }
.steps-wrap { position: relative; }
.steps__ridge { display: none; }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 72px; }
  .steps li { display: flex; flex-direction: column; gap: 14px; }
  .steps .step-num { width: auto; height: auto; border: 0; background: none !important; color: var(--slate-num) !important; font-size: 2.75rem; justify-content: flex-start; }
  .steps h3 { padding-top: 0; font-size: 1.6rem; }
  .steps p { margin-top: 0; }
  .steps__ridge { display: block; position: absolute; top: 0; left: 0; width: 100%; height: 40px; }
  .steps--ruled { padding-top: 0; }
  .steps--ruled li { padding-top: 22px; border-top: 2px solid var(--summit-soft); }
  .steps--ruled li:first-child { border-top-color: var(--slate); }
}
.steps-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; margin-top: clamp(40px, 5vw, 64px); text-align: center; }

/* ---------- Service rows ---------- */
.service-rows { display: grid; }
.service-row { display: grid; gap: 8px; padding: 24px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.service-row h3 { font-size: 1.4rem; }
.service-row p { color: var(--text); font-size: 0.97rem; }
.service-row svg { display: none; }
.service-row:hover h3 { color: var(--slate); }
.service-row--optional { border: 0; background: var(--mist); border-radius: 14px; padding: 24px 22px; margin-top: 12px; }
@media (min-width: 960px) {
  .service-row { grid-template-columns: 1fr 2fr 24px; gap: 32px; padding: 30px 0; align-items: start; }
  .service-row svg { display: block; margin-top: 4px; }
  .service-row--optional { padding: 30px 28px; }
}

/* Service detail blocks (Services page) */
.service-block { display: grid; gap: 24px; padding-block: clamp(56px, 7vw, 88px); border-top: 1px solid var(--line); }
.service-block:first-of-type { border-top: 0; }
.service-block__head { display: grid; gap: 14px; align-content: start; }
.service-block__body { display: grid; gap: 18px; }
@media (min-width: 960px) { .service-block { grid-template-columns: 5fr 6fr; column-gap: clamp(48px, 7vw, 120px); } }
.service-block--optional { border: 1.5px dashed var(--summit) !important; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 56px) clamp(22px, 4vw, 64px); margin-block: clamp(24px, 4vw, 48px) var(--section); }
.provided-by { display: grid; gap: 10px; background: var(--mist); border-radius: 14px; padding: 20px 24px; color: var(--text); font-size: 0.95rem; }
@media (min-width: 960px) { .provided-by { grid-template-columns: 1fr 1fr; gap: 40px; } }
.toc { list-style: none; border-top: 1px solid var(--line); }
.toc a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--slate); }

/* ---------- Why list ---------- */
.why-photo { aspect-ratio: 4 / 3; }
@media (min-width: 960px) { .split--why { grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 5vw, 80px); } }
.why-list { list-style: none; display: grid; }
.why-list li { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); }
.why-list strong { font-size: 1.05rem; }
.why-list span { color: var(--muted); font-size: 0.93rem; }
@media (min-width: 760px) { .why-list { grid-template-columns: 1fr 1fr; column-gap: 40px; row-gap: 8px; } .why-list li { padding-top: 18px; } }

/* ---------- Pricing ---------- */
.price-table { background: #fff; border-radius: 18px; padding: 4px clamp(20px, 3vw, 40px); }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: clamp(18px, 2.4vw, 30px) 0; border-bottom: 1px solid #E8EBEF; }
.price-row:last-child { border-bottom: 0; }
.price-row__name { display: grid; gap: 2px; }
.price-row__name strong { font-size: 1.05rem; }
.price-row__name span { font-size: 0.88rem; color: var(--muted); }
.price-row__amount { font-family: var(--serif); font-size: clamp(1.75rem, 3vw, 2.4rem); white-space: nowrap; }
.price-row__amount small { font-family: var(--sans); font-size: 0.85rem; color: var(--muted); }
.plan-cards { display: grid; gap: 16px; }
@media (min-width: 900px) { .plan-cards { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.plan { background: #fff; border: 1px solid #E6E3DC; border-radius: 18px; padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.plan__name { font-family: var(--caps); font-size: 1rem; letter-spacing: 0.12em; color: var(--slate); }
.plan__price { display: flex; align-items: baseline; gap: 6px; }
.plan__price span:first-child { font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 4rem); line-height: 1; }
.plan__price span:last-child { color: var(--muted); }
.plan p { color: var(--text); }
@media (min-width: 900px) { .plan__note { min-height: 4.8em; } }
.plan hr { border: 0; height: 1px; background: var(--line-soft); margin: 4px 0; width: 100%; }
.plan .btn { margin-top: auto; }
.included { display: grid; gap: 14px; }
@media (min-width: 700px) { .included { grid-template-columns: 1fr 1fr; gap: 16px; } }
.included .card { gap: 8px; }
.included h3 { font-size: 1.35rem; margin-top: 8px; }
.included p { font-size: 0.95rem; }
.labs-list { list-style: none; display: grid; }
.labs-list li { padding: 18px 0; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 1.08rem; }
.labs-list li span { font-weight: 400; color: var(--muted); font-size: 0.9rem; }
@media (min-width: 700px) { .labs-list { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.info-grid { display: grid; gap: 24px; background: #fff; border: 1px solid #E6E3DC; border-radius: 18px; padding: clamp(28px, 4vw, 48px); }
@media (min-width: 900px) { .info-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.info-grid h3 { font-size: 1.35rem; margin-bottom: 8px; }
.info-grid p { color: var(--text); font-size: 0.95rem; }
.info-tiles { display: grid; gap: 12px; }
@media (min-width: 900px) { .info-tiles { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.info-tiles div { background: var(--mist); border-radius: 14px; padding: 20px 22px; display: grid; gap: 4px; align-content: start; }
.info-tiles strong { font-size: 1rem; }
.info-tiles span { font-size: 0.93rem; color: var(--text); }
.optional-band { border: 1.5px dashed var(--summit); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 56px) clamp(22px, 4vw, 64px); display: grid; gap: 16px; }
@media (min-width: 900px) { .optional-band { grid-template-columns: 1fr auto; align-items: center; column-gap: 48px; } }

/* ---------- Team ---------- */
.team { display: grid; gap: 24px; }
.team__sarah { display: grid; gap: 20px; }
.team__sarah .photo { height: clamp(340px, 60vw, 500px); }
.team__austin .avatar-lg { width: 88px; height: 88px; border-radius: 50%; background: var(--summit-pale); overflow: hidden; }
.team__austin .avatar-lg img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) {
  .team { grid-template-columns: 4fr 4fr 4fr; align-items: stretch; }
  .team__sarah { display: contents; }
}
.bio-photo { height: clamp(360px, 60vw, 640px); }

/* ---------- Quote ---------- */
.quote { margin: 0; display: grid; gap: 24px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.3; color: var(--ink); }
.quote figcaption { color: var(--text); }

/* ---------- Principles ---------- */
.principles { list-style: none; display: grid; gap: 32px; }
@media (min-width: 700px) { .principles { grid-template-columns: repeat(2, 1fr); column-gap: 40px; row-gap: 48px; } }
@media (min-width: 1000px) { .principles { grid-template-columns: repeat(3, 1fr); } }
.principles li { display: grid; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); align-content: start; }
.principles .n { font-family: var(--serif); font-size: 1.35rem; color: var(--slate-num); }
.principles p { color: var(--text); font-size: 0.97rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--slate); color: #fff; border-radius: 24px; padding: clamp(40px, 6vw, 88px) clamp(24px, 6vw, 96px); display: grid; gap: 24px; margin-bottom: var(--section); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #E2E9F2; max-width: 620px; }
.cta-band > * { position: relative; }
.cta-band .cta-ridge { position: absolute; right: -40px; bottom: -8px; width: min(620px, 90%); height: auto; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; align-items: center; column-gap: 48px; } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 32px; }
.faq-layout > *, .legal-layout > *, .split > *, .hero__grid > * { min-width: 0; }
.faq-nav { list-style: none; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; position: sticky; top: var(--header-h); z-index: 5; background: var(--bg); padding-block: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
.faq-nav a { display: inline-block; white-space: nowrap; padding: 10px 14px; border-radius: var(--pill); background: var(--mist); color: var(--slate-dark); text-decoration: none; font-size: 0.93rem; font-weight: 500; }
@media (min-width: 960px) {
  .faq-layout { grid-template-columns: 3fr 8fr; column-gap: clamp(48px, 7vw, 120px); align-items: start; }
  .faq-nav { flex-direction: column; overflow: visible; position: sticky; top: calc(var(--header-h) + 24px); margin: 0; padding: 0; gap: 2px; }
  .faq-nav a { background: none; border-radius: var(--radius-sm); color: var(--text); padding: 10px 14px; }
  .faq-nav a:hover { background: var(--mist); color: var(--slate-dark); }
}
.faq-group { display: grid; margin-bottom: clamp(48px, 6vw, 72px); }
.faq-group h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); padding-bottom: 16px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--slate); }
.faq-item summary .icon { flex-shrink: 0; transition: transform .25s ease; }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item__body { padding: 0 0 24px; display: grid; gap: 12px; color: var(--text); max-width: 760px; }

/* ---------- Forms ---------- */
.form { background: #fff; border: 1px solid #E6E3DC; border-radius: 20px; padding: clamp(24px, 4vw, 44px); display: grid; gap: 20px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid var(--field); border-radius: 12px; background: #fff; font: inherit; font-size: 1rem; color: var(--ink); }
.field textarea { padding: 14px 16px; min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(62, 86, 117, .25); border-color: var(--slate); }
.field .hint { font-size: 0.85rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.privacy-note { display: flex; gap: 14px; padding: 18px 20px; background: var(--mist); border-radius: 14px; color: var(--text); font-size: 0.95rem; }
.privacy-note svg { flex-shrink: 0; margin-top: 2px; }
.contact-line { display: grid; gap: 4px; padding-top: 20px; border-top: 1px solid var(--line); }
.contact-line span { font-size: 0.88rem; font-weight: 600; color: var(--muted); }

/* ---------- Prose (legal pages) ---------- */
.prose { display: grid; gap: 18px; color: var(--text); }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-top: 28px; color: var(--ink); }
.prose ul { padding-left: 22px; display: grid; gap: 10px; }
.prose .ack { background: var(--mist); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); display: grid; gap: 14px; margin-top: 12px; }
.prose .ack p { color: var(--ink); font-weight: 600; }
.legal-layout { display: grid; gap: 32px; }
@media (min-width: 960px) { .legal-layout { grid-template-columns: 3fr 8fr; column-gap: clamp(48px, 7vw, 120px); } .legal-layout .toc-side { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.toc-side { list-style: none; display: grid; gap: 2px; }
.toc-side a { display: block; padding: 8px 0; color: var(--text); text-decoration: none; font-size: 0.95rem; }
.toc-side a:hover { color: var(--slate); }
.placeholder-note { border: 1.5px dashed var(--summit); border-radius: var(--radius); padding: 28px; color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line-soft); padding-block: clamp(48px, 6vw, 80px) 40px; }
.site-footer__grid { display: grid; gap: 32px; }
.site-footer__logo img { width: 220px; }
.site-footer h2 { font-family: var(--caps); font-size: 0.95rem; letter-spacing: 0.12em; color: var(--slate); margin-bottom: 12px; font-weight: 500; }
.site-footer ul { list-style: none; display: grid; gap: 4px; }
.site-footer ul a { color: var(--text); text-decoration: none; display: inline-block; padding: 5px 0; font-size: 0.95rem; }
.site-footer ul a:hover { color: var(--slate); }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (min-width: 900px) {
  .site-footer__grid { grid-template-columns: 4fr 8fr; column-gap: 48px; }
  .footer-cols { grid-template-columns: 1fr 1fr 1.4fr; }
}
.site-footer__legal { margin-top: clamp(36px, 5vw, 56px); padding-top: 28px; border-top: 1px solid var(--line-soft); display: grid; gap: 14px; font-size: 0.82rem; color: var(--muted); }
.site-footer__legal p { max-width: 980px; line-height: 1.6; }
.site-footer__legal strong { color: var(--text); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-footer__bottom a { color: var(--muted); font-size: 0.82rem; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.mt-s { margin-top: 8px; } .mt-m { margin-top: 20px; } .mt-l { margin-top: 40px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.hide-mobile { display: none; }
@media (min-width: 960px) { .hide-mobile { display: initial; } .hide-desktop { display: none; } }
