/* ============================================================
   The Motion Standard — design system
   Dark shell (brand moments) + paper sections (reading/deciding)
   ============================================================ */

:root {
  /* color */
  --midnight: #171614;
  --surface: #1f1e1a;
  --surface-2: #262521;
  --paper: #f1ede3;
  --paper-2: #e8e3d5;
  --ink: #211f1c;
  --ink-muted: #5f5b53;
  --bone: #ece7db;
  --bone-muted: #a9a595;
  --gold: #c9a35c;
  --gold-deep: #8a6c38;
  --line-dark: rgba(236, 231, 219, 0.14);
  --line-dark-strong: rgba(236, 231, 219, 0.3);
  --line-light: rgba(33, 31, 28, 0.15);

  /* type */
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", "Avenir Next", "Segoe UI", sans-serif;

  /* layout */
  --wrap: 1080px;
  --wrap-text: 720px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  background: var(--midnight);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--midnight); padding: 10px 18px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- type roles ---------- */
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
}
h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 6.5vw, 64px);
  line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance;
}
h1 em, h2 em { font-style: italic; color: var(--gold); }
h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(28px, 4.5vw, 40px);
  line-height: 1.12; letter-spacing: -0.005em; text-wrap: balance;
}
h3 { font-family: var(--sans); font-weight: 700; font-size: 17px; }
.lede { font-size: 18.5px; max-width: 56ch; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(23, 22, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bone); flex: none; }
.brand svg { flex: none; }
.brand-name {
  font-family: var(--serif); font-weight: 500; font-size: 19px; letter-spacing: 0.01em;
  white-space: nowrap;
}
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  color: var(--bone-muted); text-decoration: none; font-size: 14.5px; font-weight: 500;
  transition: color 0.15s;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--bone); }
.site-nav a[aria-current="page"] { border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.site-nav .btn-gold, .site-nav .btn-gold:hover,
.site-nav .btn-gold[aria-current="page"] { color: var(--midnight); border-bottom: none; padding-bottom: 13px; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 13px 26px; border-radius: 3px; letter-spacing: 0.01em;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  border: 1px solid transparent; cursor: pointer; font-family: var(--sans);
}
.btn-gold { background: var(--gold); color: var(--midnight); }
.btn-gold:hover { background: #d6b06e; }
.btn-ghost { border-color: var(--line-dark-strong); color: var(--bone); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #35322c; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

.nav-toggle {
  display: none; background: none; border: none; color: var(--bone);
  width: 44px; height: 44px; cursor: pointer; padding: 10px; flex: none;
}
.nav-toggle svg { width: 100%; height: 100%; }

@media (max-width: 420px) {
  .brand-name { font-size: 16px; }
  .brand svg { width: 30px; height: 30px; }
}

@media (max-width: 880px) {
  .site-nav {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--midnight); border-bottom: 1px solid var(--line-dark);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 24px 20px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; font-size: 16px; width: 100%; }
  .site-nav .btn { margin-top: 10px; width: 100%; text-align: center; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
}

/* ---------- bands ---------- */
.band { padding: 84px 0; }
.band--dark { background: var(--midnight); color: var(--bone); }
.band--surface { background: var(--surface); color: var(--bone); }
.band--paper { background: var(--paper); color: var(--ink); }
.band--paper .eyebrow { color: var(--gold-deep); }
.band--paper .muted { color: var(--ink-muted); }
.band--dark .muted, .band--surface .muted { color: var(--bone-muted); }
.band-head { max-width: var(--wrap-text); margin-bottom: 44px; }
.band-head .eyebrow { margin-bottom: 14px; }
.band-head p { margin-top: 14px; }

/* ---------- hero ---------- */
.hero { padding: 96px 0 88px; position: relative; overflow: hidden; }
.hero .eyebrow { margin-bottom: 20px; }
.hero .lede { margin-top: 24px; color: var(--bone-muted); }
.hero .lede strong { color: var(--bone); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-field {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
}
.trust-row {
  display: flex; flex-wrap: wrap; gap: 0; margin-top: 56px;
  border-top: 1px solid var(--line-dark);
}
.trust-item {
  padding: 20px 36px 0 0; margin-top: -1px; border-top: 1px solid var(--gold);
  margin-right: 36px;
}
.trust-item:last-child { margin-right: 0; }
.trust-label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone-muted); }
.trust-value { font-family: var(--serif); font-size: 19px; margin-top: 4px; }

/* ---------- price cards ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.price-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
.price-grid.grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 860px; }
@media (max-width: 980px) { .price-grid, .price-grid.grid-3, .price-grid.grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .price-grid, .price-grid.grid-3, .price-grid.grid-2 { grid-template-columns: 1fr; } }
.price-card {
  background: var(--surface); border: 1px solid var(--line-dark); border-radius: 4px;
  padding: 28px 26px; display: flex; flex-direction: column;
}
.price-card.feature { background: var(--surface-2); border-color: var(--gold-deep); }
.price-label { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.price-num {
  font-family: var(--serif); font-weight: 500; font-size: 44px; margin-top: 8px;
  font-variant-numeric: tabular-nums; line-height: 1;
}
.price-num sub { font-size: 15px; font-family: var(--sans); font-weight: 500; color: var(--bone-muted); vertical-align: baseline; }
.price-desc { font-size: 14.5px; color: var(--bone-muted); margin-top: 10px; }
.price-note { margin-top: 18px; font-size: 14px; color: var(--bone-muted); }

/* paper variant */
.band--paper .price-card { background: #fff; border-color: var(--line-light); }
.band--paper .price-card.feature { background: var(--midnight); color: var(--bone); border-color: var(--midnight); }
.band--paper .price-card.feature .price-desc { color: var(--bone-muted); }
.band--paper .price-desc { color: var(--ink-muted); }
.band--paper .price-label { color: var(--gold-deep); }
.band--paper .price-card.feature .price-label { color: var(--gold); }

/* ---------- feature/step lists ---------- */
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 880px) { .cols-3, .cols-2 { grid-template-columns: 1fr; gap: 28px; } }
.feature h3 { margin-bottom: 8px; }
.feature p { font-size: 15px; }
.feature .num {
  font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--gold);
  display: block; margin-bottom: 10px;
}
.band--paper .feature .num { color: var(--gold-deep); }

/* ---------- stat features ---------- */
.stat-num {
  font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 5vw, 46px);
  line-height: 1; color: var(--gold-deep); font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}
.band--dark .stat-num, .band--surface .stat-num { color: var(--gold); }
.stat-src { display: block; margin-top: 10px; font-size: 12px; color: var(--faint, #8c887c); letter-spacing: 0.04em; }

/* ---------- session includes ---------- */
.includes { display: flex; flex-wrap: wrap; gap: 10px; }
.includes span {
  border: 1px solid var(--line-light); border-radius: 100px; padding: 8px 18px;
  font-size: 14.5px; color: var(--ink); background: #fff;
}
.band--dark .includes span, .band--surface .includes span {
  border-color: var(--line-dark); background: transparent; color: var(--bone);
}

/* ---------- doctor ---------- */
.doctor-split { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: start; }
@media (max-width: 880px) { .doctor-split { grid-template-columns: 1fr; gap: 36px; } }
.portrait-frame { position: relative; z-index: 0; max-width: 400px; }
.portrait-frame img { width: 100%; height: auto; border-radius: 4px; filter: saturate(0.92); }
.portrait-frame::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  border: 1px solid var(--gold-deep); border-radius: 4px; z-index: -1;
}
.cred-list { list-style: none; margin-top: 28px; }
.cred-list li {
  padding: 14px 0; border-bottom: 1px solid var(--line-light);
  display: flex; gap: 14px; font-size: 15.5px;
}
.band--dark .cred-list li, .band--surface .cred-list li { border-color: var(--line-dark); }
.cred-list li:last-child { border-bottom: none; }
.cred-list .tick { color: var(--gold-deep); font-family: var(--serif); font-style: italic; flex: none; }
.band--dark .cred-list .tick { color: var(--gold); }

/* ---------- zones ---------- */
.zone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 880px) { .zone-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .zone-grid { grid-template-columns: 1fr; } }
.zone {
  background: #fff; border: 1px solid var(--line-light); border-radius: 4px; padding: 20px 22px;
}
.zone h3 { font-size: 15.5px; }
.zone p { font-size: 14px; color: var(--ink-muted); margin-top: 2px; }

/* ---------- faq ---------- */
.faq-list { max-width: var(--wrap-text); }
.faq-item { border-bottom: 1px solid var(--line-light); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between;
  align-items: baseline; gap: 20px; padding: 22px 0;
  font-family: var(--serif); font-weight: 500; font-size: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--serif); color: var(--gold-deep); font-size: 24px; flex: none; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 0 24px; max-width: 60ch; color: var(--ink-muted); }
.faq-body p + p { margin-top: 12px; }
.faq-body strong { color: var(--ink); }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 720px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid var(--line-light); border-radius: 3px;
  padding: 13px 14px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(138, 108, 56, 0.15);
}
.form-note { font-size: 14px; color: var(--ink-muted); max-width: 60ch; }
.form-status { font-size: 15px; font-weight: 600; color: var(--gold-deep); min-height: 24px; }

/* ---------- statement band ---------- */
.statement {
  font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 4vw, 40px);
  line-height: 1.25; max-width: 24ch; text-wrap: balance;
}
.statement em { color: var(--gold); font-style: italic; }

/* ---------- footer ---------- */
.site-footer { background: var(--midnight); border-top: 1px solid var(--line-dark); padding: 64px 0 96px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand-name { font-size: 22px; }
.footer-tag { font-family: var(--serif); font-style: italic; color: var(--bone-muted); margin-top: 10px; }
.site-footer h3 { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone-muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: var(--bone); text-decoration: none; font-size: 15px; }
.site-footer a:hover { color: var(--gold); }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--bone-muted); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ---------- mobile sticky CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(23, 22, 20, 0.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-dark);
  display: none; transform: translateY(110%); transition: transform 0.25s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { display: block; text-align: center; }
@media (max-width: 880px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 0; }
}

/* ---------- misc ---------- */
.divider-gold { width: 56px; height: 2px; background: var(--gold); border: none; margin: 28px 0; }
.small { font-size: 14px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mt-36 { margin-top: 36px; } .mt-48 { margin-top: 48px; }
.tabular { font-variant-numeric: tabular-nums; }
