/* Clear Path — shared styles
   Brand kit: soft sage / warm cream digital wellness. Fraunces (headings) + DM Sans (body).
   Accessibility note: the brand "soft sage" #7A9E8E is used for decoration only; text-bearing
   buttons use deep sage #4F6F62 so white text meets WCAG AA contrast. */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/fraunces-normal-latin.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/dmsans-normal-latin.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dmsans-italic-latin.woff2") format("woff2");
}

:root {
  --sage: #7a9e8e;
  --sage-deep: #4f6f62;
  --sage-ink: #3d594e;
  --sage-soft: #e6eee9;
  --sage-wash: #f0f4f1;
  --clay: #c4a484;
  --clay-soft: #f3ebe1;
  --cream: #f7f3ec;
  --surface: #fffcf8;
  --ink: #2c2a26;
  --stone: #6b6560;
  --mist: #e4ded4;
  --success: #5b8f7a;
  --error: #b56b5a;
  --error-ink: #8f4a3b;

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(44, 42, 38, 0.04), 0 2px 8px rgba(44, 42, 38, 0.04);
  --shadow: 0 2px 4px rgba(44, 42, 38, 0.03), 0 12px 32px rgba(44, 42, 38, 0.07);
  --focus-ring: 0 0 0 3px var(--surface), 0 0 0 6px var(--sage-deep);

  --container: 1120px;
  --reading: 720px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  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;
  font-family: var(--font-body);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 6vw, 3.3rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 4.2vw, 2.25rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 2.6vw, 1.3rem); font-weight: 600; letter-spacing: -0.005em; }
h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li + li { margin-top: 0.35em; }
strong { font-weight: 650; }
small { font-size: 0.875rem; }
hr { border: 0; border-top: 1px solid var(--mist); margin: 2rem 0; }

a { color: var(--sage-deep); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--sage-ink); text-decoration-thickness: 2px; }

:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 4px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { border-radius: var(--radius-sm); }

::selection { background: var(--sage-soft); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--sage-deep); color: #fff; padding: 0.7rem 1rem; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 0.75rem; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.reading { max-width: var(--reading); }
.center { text-align: center; }
.center .reading, .reading.center { margin-left: auto; margin-right: auto; }
.muted { color: var(--stone); }
.hidden, [hidden] { display: none !important; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 236, 0.9);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--mist);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1.28rem; letter-spacing: -0.02em;
  color: var(--sage-ink); text-decoration: none;
}
.brand:hover { color: var(--sage-ink); text-decoration: none; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-name .path { position: relative; }

.site-nav { display: flex; align-items: center; gap: 0.25rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.15rem; }
.site-nav li + li { margin-top: 0; }
.site-nav a.nav-link {
  display: inline-block; padding: 0.5rem 0.8rem; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.97rem;
}
.site-nav a.nav-link:hover { background: var(--sage-soft); color: var(--sage-ink); }
.site-nav a.nav-link[aria-current="page"] { color: var(--sage-ink); background: var(--sage-soft); }
.header-cta { margin-left: 0.5rem; }

.nav-toggle {
  display: none; align-items: center; justify-content: center; gap: 0.4rem;
  font: inherit; font-weight: 600; font-size: 0.95rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--mist); border-radius: 999px;
  padding: 0.5rem 0.9rem; cursor: pointer; min-height: 44px;
}
.nav-toggle-bars { width: 16px; height: 12px; position: relative; display: inline-block; }
.nav-toggle-bars::before, .nav-toggle-bars::after, .nav-toggle-bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px;
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars span { top: 5px; }
.nav-toggle-bars::after { bottom: 0; }

@media (max-width: 820px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0.5rem;
    background: var(--cream); border-bottom: 1px solid var(--mist);
    padding: 0.75rem 1.25rem 1.25rem; box-shadow: 0 16px 24px rgba(44,42,38,0.06);
    display: none;
  }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav ul { flex-direction: column; }
  .js .site-nav a.nav-link { display: block; padding: 0.8rem 0.9rem; font-size: 1.05rem; }
  .js .header-cta { margin: 0.25rem 0 0; }
  .js .header-cta .btn { width: 100%; }
  /* no-JS fallback: wrap nav under the brand */
  html:not(.js) .header-inner { flex-wrap: wrap; padding: 0.5rem 0; }
  html:not(.js) .site-nav { flex-wrap: wrap; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  font: inherit; font-weight: 600; font-size: 1rem; letter-spacing: 0.01em; line-height: 1.2;
  padding: 0.9rem 1.4rem; min-height: 48px;
  border-radius: 10px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; text-align: center;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--sage-deep); color: #fffcf8; }
.btn-primary:hover { background: var(--sage-ink); color: #fffcf8; }
.btn-secondary { background: var(--surface); color: var(--sage-ink); border-color: var(--sage); }
.btn-secondary:hover { background: var(--sage-soft); color: var(--sage-ink); border-color: var(--sage-deep); }
.btn-quiet { background: transparent; color: var(--stone); border-color: var(--mist); }
.btn-quiet:hover { color: var(--ink); border-color: var(--stone); }
.btn-sm { padding: 0.55rem 1rem; min-height: 40px; font-size: 0.93rem; }
.btn-lg { padding: 1.05rem 1.7rem; font-size: 1.07rem; }
.btn-block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] {
  cursor: not-allowed; transform: none;
}
.btn-primary[disabled] { background: #9fb3aa; }
.btn.is-soon {
  background: var(--surface); color: var(--sage-ink); border: 1.5px dashed var(--sage);
}
.btn.is-soon:hover { background: var(--sage-wash); color: var(--sage-ink); }
.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.micro { font-size: 0.9rem; color: var(--stone); margin: 0.75rem 0 0; }
.checkout-note { font-size: 0.9rem; color: var(--stone); margin: 0.6rem 0 0; }
.checkout-note:empty { display: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.section-tight { padding: clamp(2.25rem, 6vw, 3.5rem) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); }
.section-sage { background: var(--sage-wash); }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--sage-ink); margin: 0 0 0.9rem;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--clay); margin-right: 0.55rem; vertical-align: 0.08em;
}
.lede { font-size: clamp(1.08rem, 2.2vw, 1.22rem); color: var(--stone); line-height: 1.55; }
.section-head { max-width: 680px; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head.center { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 1.25rem; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 720px) and (max-width: 979px) {
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
}

.card {
  background: var(--surface); border: 1px solid var(--mist); border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 3vw, 1.9rem); box-shadow: var(--shadow-sm);
}
.card > :last-child { margin-bottom: 0; }
.card-flat { box-shadow: none; }
.card-sand { background: var(--clay-soft); border-color: #eadfce; }
.card h3 { margin-bottom: 0.45em; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(2.75rem, 8vw, 5.5rem) 0 clamp(3rem, 8vw, 5.5rem);
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(122, 158, 142, 0.18), transparent 60%),
    radial-gradient(45% 50% at 0% 100%, rgba(196, 164, 132, 0.16), transparent 65%),
    var(--cream);
}
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } }
.hero h1 { max-width: 15ch; }
.hero .lede { max-width: 36rem; margin-bottom: 1.6rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.pill-row li { margin: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; font-weight: 600; color: var(--sage-ink);
  background: var(--surface); border: 1px solid var(--mist); border-radius: 999px; padding: 0.35rem 0.8rem;
}

/* Path visual (hero) */
.path-card {
  background: var(--surface); border: 1px solid var(--mist); border-radius: 24px;
  padding: clamp(1.4rem, 3.5vw, 2rem); box-shadow: var(--shadow); position: relative;
}
.path-card-title { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; margin: 0 0 1.1rem; }
.path-list { list-style: none; margin: 0; padding: 0; position: relative; }
.path-list::before {
  content: ""; position: absolute; left: 13px; top: 10px; bottom: 10px; width: 2px;
  background: repeating-linear-gradient(to bottom, var(--sage) 0 6px, transparent 6px 11px);
}
.path-list li { position: relative; padding: 0 0 1.1rem 2.6rem; margin: 0; }
.path-list li:last-child { padding-bottom: 0; }
.path-dot {
  position: absolute; left: 4px; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--sage);
}
.path-list li:first-child .path-dot { background: var(--clay); border-color: var(--clay); }
.path-list li:last-child .path-dot { background: var(--sage-deep); border-color: var(--sage-deep); }
.path-when { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--stone); }
.path-what { display: block; font-weight: 600; }
.path-sub { display: block; font-size: 0.92rem; color: var(--stone); }
.path-card-foot { margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--mist); font-size: 0.88rem; color: var(--stone); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps > li { margin: 0; counter-increment: step; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--sage-soft); color: var(--sage-ink); font-weight: 700; margin-bottom: 0.9rem;
}

/* ---------- Archetype cards ---------- */
.arch-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; height: 100%; }
.arch-card:hover { color: inherit; border-color: var(--sage); }
.arch-card .arch-icon { width: 44px; height: 44px; margin-bottom: 0.9rem; }
.arch-card h3 { font-size: 1.12rem; }
.arch-card p { font-size: 0.95rem; color: var(--stone); margin-bottom: 0.75rem; }
.arch-card .more { margin-top: auto; font-size: 0.9rem; font-weight: 600; color: var(--sage-deep); }

/* ---------- Lists ---------- */
.check-list, .x-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li, .x-list li { position: relative; padding-left: 2rem; }
.check-list li + li, .x-list li + li { margin-top: 0.6rem; }
.check-list li::before, .x-list li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background-repeat: no-repeat; background-position: center; background-size: 0.75rem;
}
.check-list li::before {
  background-color: var(--sage-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.2 2.2 4.8-5' fill='none' stroke='%233d594e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.x-list li::before {
  background-color: #efe6dc;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.5 3.5l5 5M8.5 3.5l-5 5' fill='none' stroke='%238f4a3b' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

.inside-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; }
@media (min-width: 720px) { .inside-list { grid-template-columns: repeat(2, 1fr); } }
.inside-list li {
  margin: 0; background: var(--surface); border: 1px solid var(--mist); border-radius: var(--radius);
  padding: 1rem 1.1rem 1rem 3.4rem; position: relative;
}
.inside-list li::before {
  content: ""; position: absolute; left: 1.05rem; top: 1.1rem; width: 1.5rem; height: 1.5rem; border-radius: 6px;
  background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.2 2.2 4.8-5' fill='none' stroke='%233d594e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 0.8rem;
}
.inside-list strong { display: block; }
.inside-list span { color: var(--stone); font-size: 0.95rem; }

/* ---------- Price / offer ---------- */
.price-card {
  background: var(--surface); border: 1.5px solid var(--sage); border-radius: 24px;
  padding: clamp(1.5rem, 4vw, 2.25rem); box-shadow: var(--shadow); text-align: center;
}
.price-card .price-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone); margin: 0; }
.price-card .price-name { font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; margin: 0.35rem 0 0.2rem; }
.price { font-family: var(--font-head); font-size: clamp(2.6rem, 7vw, 3.4rem); font-weight: 600; line-height: 1; margin: 0.6rem 0 0.35rem; color: var(--ink); }
.price small { font-family: var(--font-body); font-size: 0.95rem; font-weight: 500; color: var(--stone); }
.price-card .check-list { text-align: left; max-width: 26rem; margin: 1.25rem auto 1.5rem; font-size: 0.97rem; }
.price-fine { font-size: 0.85rem; color: var(--stone); margin: 0.9rem 0 0; }

.offer-card {
  background: var(--sage-wash); border: 1.5px solid var(--sage); border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3.5vw, 1.75rem);
}
.offer-card h3 { margin-bottom: 0.35rem; }
.offer-card .offer-price { font-family: var(--font-head); font-size: 1.6rem; font-weight: 600; margin: 0 0 0.6rem; }

/* ---------- Callouts ---------- */
.callout {
  border-radius: var(--radius); padding: 1rem 1.15rem; margin: 1.25rem 0;
  background: var(--clay-soft); border: 1px solid #e8d9c4; font-size: 0.97rem;
}
.callout > :last-child { margin-bottom: 0; }
.callout-title { font-weight: 700; display: block; margin-bottom: 0.3rem; }
.callout-pro { background: #fbf1ec; border-color: #ecd2c7; }
.callout-pro .callout-title { color: var(--error-ink); }
.note { font-size: 0.92rem; color: var(--stone); background: var(--sage-wash); border-radius: var(--radius); padding: 0.85rem 1rem; }
.note > :last-child { margin-bottom: 0; }

.soft-local {
  border: 1px dashed var(--mist); background: var(--surface); border-radius: var(--radius);
  padding: 1rem 1.15rem; font-size: 0.93rem; color: var(--stone); margin-top: 1.5rem;
}
.soft-local strong { color: var(--ink); }
.soft-local .disclosure { font-size: 0.85rem; margin: 0.6rem 0 0; }

/* Placeholder marking (visible, intentional) */
.ph {
  background: #fff4d6; color: #6b4e00; border: 1px dashed #d9b75a; border-radius: 4px;
  padding: 0.05em 0.35em; font-size: 0.92em; font-weight: 600; white-space: normal;
}
.ph-block {
  border: 2px dashed #d9b75a; background: #fffaeb; border-radius: var(--radius);
  padding: 1.1rem 1.25rem; color: #5c4400;
}
.ph-block > :last-child { margin-bottom: 0; }
.ph-block .ph-label { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; display: block; margin-bottom: 0.4rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; }
.faq details {
  background: var(--surface); border: 1px solid var(--mist); border-radius: var(--radius);
  margin: 0 0 0.7rem; transition: border-color 0.15s ease;
}
.faq details[open] { border-color: #d6cfc3; }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.05rem 3rem 1.05rem 1.2rem; position: relative;
  font-weight: 600; min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.2rem; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--sage-deep); border-bottom: 2px solid var(--sage-deep); transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:focus-visible { border-radius: var(--radius); }
.faq .faq-body { padding: 0 1.2rem 1.15rem; color: var(--stone); }
.faq .faq-body > :last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */
.field { margin-bottom: 1rem; }
.field label, .field-label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.35rem; }
.field .optional { font-weight: 400; color: var(--stone); }
input[type="text"], input[type="email"], textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid #d8d1c5; border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem; min-height: 48px;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus { border-color: var(--sage-deep); }
input[aria-invalid="true"] { border-color: var(--error); }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.93rem; margin: 0.25rem 0 1rem; }
.consent input { width: 1.2rem; height: 1.2rem; margin: 0.15rem 0 0; flex: none; accent-color: var(--sage-deep); }
.form-status { font-size: 0.93rem; margin: 0.85rem 0 0; padding: 0.75rem 0.9rem; border-radius: var(--radius-sm); background: var(--sage-wash); }
.form-status.is-error { background: #fbf1ec; color: var(--error-ink); }
.form-status:empty { display: none; }
.inline-form { display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .inline-form .row { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 0.75rem; align-items: end; } .inline-form .row .field { margin: 0; } }

/* ---------- Quiz ---------- */
.quiz-shell { max-width: 680px; margin: 0 auto; padding: clamp(1.5rem, 5vw, 3rem) 1.25rem clamp(3rem, 8vw, 4.5rem); }
.quiz-card {
  background: var(--surface); border: 1px solid var(--mist); border-radius: 24px;
  padding: clamp(1.4rem, 4.5vw, 2.4rem); box-shadow: var(--shadow);
}
.quiz-card h1 { font-size: clamp(1.9rem, 5.5vw, 2.6rem); }
.quiz-card h2 { font-size: clamp(1.4rem, 4vw, 1.8rem); outline: none; }
.quiz-card h2:focus-visible, .quiz-card legend:focus-visible { box-shadow: none; text-decoration: underline; text-decoration-color: var(--sage); }
.progress { margin: 0 0 1.25rem; }
.progress-meta { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--stone); margin-bottom: 0.45rem; font-weight: 500; }
.progress-track { height: 8px; background: var(--mist); border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--sage), var(--clay)); border-radius: 999px; transition: width 0.35s ease; }

.q-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.q-fieldset legend {
  font-family: var(--font-head); font-size: clamp(1.4rem, 4vw, 1.8rem); font-weight: 600; line-height: 1.2;
  letter-spacing: -0.015em; padding: 0; margin: 0 0 0.4rem; outline: none;
}
.q-hint { color: var(--stone); font-size: 0.95rem; margin: 0 0 1.1rem; }
.options { display: grid; gap: 0.65rem; margin: 0; padding: 0; list-style: none; }
.options li { margin: 0; }
.option {
  display: flex; align-items: flex-start; gap: 0.85rem; cursor: pointer;
  border: 1.5px solid var(--mist); background: #fff; border-radius: var(--radius);
  padding: 0.95rem 1rem; min-height: 54px; transition: border-color 0.15s ease, background-color 0.15s ease;
  position: relative;
}
.option:hover { border-color: var(--sage); background: var(--sage-wash); }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.option .ctrl {
  flex: none; width: 22px; height: 22px; margin-top: 1px; border: 2px solid var(--sage-deep); border-radius: 50%;
  background: #fff; position: relative; transition: background-color 0.15s ease;
}
.option.is-multi .ctrl { border-radius: 6px; }
.option input:checked + .ctrl { background: var(--sage-deep); }
.option input:checked + .ctrl::after {
  content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.option:has(input:checked) { border-color: var(--sage-deep); background: var(--sage-wash); }
.option.is-checked { border-color: var(--sage-deep); background: var(--sage-wash); }
.option:has(input:focus-visible) { box-shadow: var(--focus-ring); }
.option:has(input:disabled) { opacity: 0.55; cursor: not-allowed; }
.option .opt-label { flex: 1; }
.quiz-nav { display: flex; justify-content: space-between; gap: 0.75rem; margin-top: 1.5rem; flex-wrap: wrap; }
.quiz-nav .btn-primary { min-width: 9rem; }
.quiz-fine { font-size: 0.88rem; color: var(--stone); margin-top: 1.25rem; }
.intro-list { margin: 0 0 1.5rem; }

/* ---------- Results ---------- */
.result-hero { padding: clamp(2rem, 6vw, 3.5rem) 0 1rem; }
.result-badge {
  display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--sage-ink); background: var(--sage-soft); border-radius: 999px; padding: 0.35rem 0.85rem; margin-bottom: 1rem;
}
.result-layout { display: grid; gap: 1.5rem; padding-bottom: clamp(3rem, 8vw, 5rem); }
@media (min-width: 960px) { .result-layout { grid-template-columns: 1.4fr 1fr; align-items: start; } .result-aside { position: sticky; top: calc(var(--header-h) + 1.25rem); } }
.result-hook { font-family: var(--font-head); font-size: clamp(1.25rem, 3.4vw, 1.6rem); font-weight: 500; line-height: 1.35; color: var(--sage-ink); margin: 0 0 1rem; }
.focus-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.focus-list li { margin: 0; display: flex; gap: 0.75rem; align-items: flex-start; }
.focus-list .n { flex: none; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--sage-soft); color: var(--sage-ink); font-weight: 700; font-size: 0.85rem; display: inline-flex; align-items: center; justify-content: center; margin-top: 0.1rem; }
.other-types { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0.5rem 0 0; }
.other-types li { margin: 0; }
.other-types a { display: inline-block; padding: 0.4rem 0.85rem; border: 1px solid var(--mist); border-radius: 999px; background: var(--surface); font-size: 0.9rem; text-decoration: none; }
.other-types a:hover { border-color: var(--sage); background: var(--sage-wash); }
.other-types a[aria-current="true"] { background: var(--sage-soft); border-color: var(--sage); color: var(--sage-ink); font-weight: 600; }

/* ---------- Day map ---------- */
.day-map { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .day-map { grid-template-columns: repeat(2, 1fr); } }
.day-map ol { list-style: none; padding: 0; margin: 0; }
.day-map li { display: grid; grid-template-columns: 4.2rem 1fr; gap: 0.75rem; padding: 0.6rem 0; border-top: 1px solid var(--mist); margin: 0; }
.day-map li:first-child { border-top: 0; }
.day-map .d { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sage-ink); padding-top: 0.15rem; }
.excerpt { border-left: 3px solid var(--clay); padding: 0.25rem 0 0.25rem 1.25rem; margin: 0; }
.excerpt p { font-size: 1.02rem; }

/* ---------- Prose (legal / about) ---------- */
.page-hero { padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.page-hero .lede { max-width: 40rem; }
.prose { max-width: var(--reading); padding-bottom: clamp(3rem, 8vw, 5rem); }
.prose h2 { font-size: clamp(1.35rem, 3.4vw, 1.65rem); margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.25rem; font-size: 0.95rem; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.prose th, .prose td { text-align: left; padding: 0.7rem 0.85rem; border-bottom: 1px solid var(--mist); vertical-align: top; }
.prose th { background: var(--sage-wash); font-weight: 650; }
.table-wrap { overflow-x: auto; margin-bottom: 1.25rem; border: 1px solid var(--mist); border-radius: var(--radius); }
.table-wrap table { margin: 0; }
.doc-meta { font-size: 0.92rem; color: var(--stone); }
.status-banner {
  display: flex; gap: 0.75rem; align-items: flex-start; background: #fffaeb; border: 1px solid #ecd9a4; border-radius: var(--radius);
  padding: 0.9rem 1.1rem; font-size: 0.93rem; color: #5c4400; margin: 0 0 2rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--sage-deep); color: #f1f5f2; text-align: center;
  padding: clamp(3rem, 8vw, 5rem) 0; position: relative; overflow: hidden;
}
.cta-band h2 { color: #fffcf8; }
.cta-band p { color: rgba(241, 245, 242, 0.88); max-width: 34rem; margin-left: auto; margin-right: auto; }
.cta-band .btn-primary { background: #fffcf8; color: var(--sage-ink); }
.cta-band .btn-primary:hover { background: var(--sage-soft); color: var(--sage-ink); }
.cta-band .micro { color: rgba(241, 245, 242, 0.8); }
.cta-band :focus-visible { box-shadow: 0 0 0 3px var(--sage-deep), 0 0 0 6px #fffcf8; }

/* ---------- Footer ---------- */
.site-footer { background: #efe9df; border-top: 1px solid var(--mist); color: var(--stone); font-size: 0.92rem; padding: 3rem 0 2.25rem; }
.footer-grid { display: grid; gap: 1.75rem; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer .brand { font-size: 1.15rem; margin-bottom: 0.6rem; }
.site-footer h2 { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); margin: 0 0 0.7rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 0.4rem; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--sage-ink); text-decoration: underline; }
.footer-disclaimer { border-top: 1px solid #ddd5c8; margin-top: 2rem; padding-top: 1.25rem; font-size: 0.88rem; line-height: 1.55; }
.footer-disclaimer p { margin-bottom: 0.6rem; }
.footer-disclaimer strong { color: var(--ink); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: clamp(4rem, 12vw, 7rem) 0; }
.notfound .code { font-family: var(--font-head); font-size: clamp(4rem, 14vw, 7rem); color: var(--sage); line-height: 1; margin: 0 0 0.5rem; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer nav, .cta-band, .nav-toggle { display: none !important; }
  body { background: #fff; }
}

/* Stubbed integration states */
.btn.is-soon .arrow { display: none; }
.result-layout { padding-bottom: 2rem; }
.result-more { padding-bottom: clamp(3rem, 8vw, 5rem); }
