/* Life Happier, Calm Sage direction */
:root {
  --linen: #F4F1EA;
  --linen-deep: #ECE7DC;
  --sage-soft: #DFE5D8;
  --sage: #3E5A46;
  --sage-deep: #2F4536;
  --ink: #26322B;
  --ink-soft: #3F4B44;
  --muted: #5E6C63;
  --white: #FFFFFF;
  --line: #D5DACF;
  --focus: #1F6FB2;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --font-display: Gabarito, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-body: Figtree, "Helvetica Neue", Arial, sans-serif;
  --measure: 62ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage); }
a:hover { color: var(--sage-deep); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; margin: 0; text-wrap: pretty; }
h1 { font-size: clamp(2.25rem, 1.4rem + 3.8vw, 4rem); }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
.lede { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.25rem); color: var(--ink-soft); max-width: var(--measure); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--sage); color: var(--white); padding: 12px 16px; border-radius: 999px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(100% - 2rem, 1120px); margin-inline: auto; }
@media (min-width: 720px) { .wrap { width: min(100% - 4rem, 1120px); } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--linen) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.wordmark { display: inline-block; padding: 8px 0; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--sage); text-decoration: none; letter-spacing: -0.02em; }
.nav { display: none; gap: 28px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 8px 0; }
.nav a:hover { color: var(--sage); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 0; background: transparent; border-radius: 999px; cursor: pointer; color: var(--ink);
}
.menu-btn:hover { background: var(--sage-soft); }
.mobile-nav { display: none; padding: 8px 0 20px; }
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav a { display: block; padding: 14px 4px; font-size: 1.15rem; font-weight: 500; color: var(--ink); text-decoration: none; border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
  .mobile-nav { display: none !important; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--sage); color: var(--white); border-color: var(--sage); }
.btn-primary:hover { background: var(--sage-deep); border-color: var(--sage-deep); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-secondary:hover { background: var(--linen-deep); border-color: var(--linen-deep); color: var(--ink); }
.btn-outline { background: transparent; color: var(--sage); border-color: var(--sage); }
.btn-outline:hover { background: var(--sage); color: var(--white); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 0.95rem; }
.header-actions .btn-primary { display: none; }
@media (min-width: 480px) { .header-actions .btn-primary { display: inline-flex; } }

/* Sections */
section { padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(1.75rem, 1rem + 2vw, 3rem); }

/* Hero */
.hero { padding-top: clamp(0.5rem, 1vw, 1.5rem); padding-bottom: clamp(1rem, 0.5rem + 1vw, 1.5rem); }
#approach { padding-top: clamp(2rem, 1.25rem + 2vw, 3.25rem); }
.hero-card {
  background: var(--sage-soft); border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 1rem + 3vw, 4.5rem);
  display: grid; gap: 28px; align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { flex: 1 1 200px; }
.hero-figure { display: flex; justify-content: center; margin: 0; }
.hero-figure img {
  width: min(100%, 320px); aspect-ratio: 6 / 7; object-fit: cover; object-position: 50% 20%;
  border-radius: 200px 200px var(--radius-md) var(--radius-md);
}
@media (min-width: 840px) {
  .hero-card { grid-template-columns: 7fr 5fr; gap: 48px; }
  .hero-actions .btn { flex: 0 0 auto; }
  .hero-figure img { width: min(100%, 380px); }
}

/* Card grids */
.grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.card {
  background: var(--white); border-radius: var(--radius-md); padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.card p { color: var(--ink-soft); }
.closing-line { margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); max-width: 34ch; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.6rem); color: var(--ink); text-wrap: pretty; }
.closing-line .lead { color: var(--sage); }
.closing-line .mark { position: relative; display: inline; white-space: nowrap; }
.closing-line .mark svg { position: absolute; left: -2%; right: -2%; bottom: -0.28em; width: 104%; height: 0.45em; overflow: visible; }
.closing-line .mark svg path { fill: none; stroke: var(--sage); stroke-width: 7; stroke-linecap: round; }

/* Services */
.services { background: var(--white); }
.service-list { display: grid; gap: 12px; }
@media (min-width: 720px) { .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.service {
  background: var(--linen); border-radius: var(--radius-md); padding: 24px 26px;
  display: flex; flex-direction: column; gap: 6px;
}
.service p { color: var(--ink-soft); }
.services-rail { display: grid; gap: 16px; }
@media (min-width: 960px) { .services-rail { grid-template-columns: 1fr 300px; gap: 32px; align-items: start; } .rail { position: sticky; top: 92px; } }
.rail { background: var(--sage-soft); border-radius: var(--radius-md); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.rail p { color: var(--ink-soft); }
.rail .eligible { font-size: 0.95rem; font-weight: 600; color: var(--sage-deep); }

/* Process */
.steps { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.step {
  background: var(--white); border-radius: var(--radius-md); padding: 24px 26px 24px 24px;
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
}
.step-num {
  width: 44px; height: 44px; border-radius: 999px; background: var(--sage-soft); color: var(--sage-deep);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
}
.step h3 { margin-bottom: 6px; }
.step .meta { color: var(--muted); font-weight: 500; font-size: 0.95rem; margin-left: 8px; }
.step p { color: var(--ink-soft); }
@media (min-width: 900px) { .process-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; } .process-layout .section-head { position: sticky; top: 92px; margin-bottom: 0; } }

/* Who it's for */
.who { background: var(--sage); color: var(--linen); }
.who h2 { color: var(--white); }
.who .lede { color: #E4EBE0; }
.who .section-head { margin-bottom: 0; max-width: var(--measure); }

/* Testimonial */
.testimonial { background: var(--white); }
.quote-card { background: var(--sage-soft); border-radius: var(--radius-lg); padding: clamp(2rem, 1.5rem + 3vw, 4.5rem); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
blockquote { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.pull { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); line-height: 1.4; color: var(--ink); max-width: 32ch; text-wrap: pretty; text-align: center; }
.pull .hl { background: var(--white); color: var(--sage-deep); box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 0.04em 0.28em; border-radius: 6px; }
.cite { display: flex; flex-direction: column; align-items: center; gap: 2px; font-style: normal; }
.cite strong { font-weight: 600; }
.cite span { color: var(--muted); }

/* About teaser */
.about-teaser { background: var(--white); }
.about-layout { display: grid; gap: 28px; }
@media (min-width: 840px) { .about-layout { grid-template-columns: 4fr 8fr; gap: 56px; align-items: center; } }
.about-figure { margin: 0; }
.about-figure img { width: min(100%, 360px); aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-md); }
.about-copy { display: flex; flex-direction: column; gap: 18px; }
.about-copy p { color: var(--ink-soft); max-width: var(--measure); }
.prose { display: flex; flex-direction: column; gap: 18px; }
.prose p { color: var(--ink-soft); max-width: var(--measure); }

/* Form */
.book { background: var(--linen); }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 3rem); display: grid; gap: 28px; }
@media (min-width: 900px) { .form-card { grid-template-columns: 5fr 7fr; gap: 56px; } }
.form-intro { display: flex; flex-direction: column; gap: 14px; }
.form-intro p { color: var(--ink-soft); }
form { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .fieldset-legend { font-weight: 600; }
.field .hint { color: var(--muted); font-size: 0.95rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; color: var(--ink);
  background: var(--linen); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.row-2 { display: grid; gap: 18px; }
@media (min-width: 560px) { .row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
legend { padding: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--linen); font-weight: 500; cursor: pointer; color: var(--ink-soft);
}
.pill input:checked + span { background: var(--sage); border-color: var(--sage); color: var(--white); }
.pill input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.form-foot { display: flex; flex-direction: column; gap: 12px; }
.form-foot .btn { width: 100%; }
@media (min-width: 560px) { .form-foot .btn { width: auto; align-self: flex-start; } }
.form-foot small { color: var(--muted); }
.hidden { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Standalone book page */
.book-page { padding-top: 1.5rem; }
.form-intro h1 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.8rem); }
.form-intro .steps { margin-top: 8px; }
.form-intro .step { background: var(--linen); }

/* Thanks page */
.thanks-card { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }

/* CTA band */
.cta-band { background: var(--sage); color: var(--linen); border-radius: var(--radius-lg); padding: clamp(1.75rem, 1rem + 2.5vw, 3.5rem); display: flex; flex-direction: column; gap: 20px; }
.cta-band h2 { color: var(--white); max-width: 22ch; }
@media (min-width: 840px) { .cta-band { flex-direction: row; align-items: center; justify-content: space-between; } }

/* Footer */
.site-footer { padding: 40px 0 48px; }
.footer-grid { display: flex; flex-direction: column; gap: 18px; border-top: 1px solid var(--line); padding-top: 28px; }
.footer-grid a { color: var(--ink); text-decoration: none; }
.footer-grid a:hover { color: var(--sage); text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { padding: 11px 0; display: inline-block; }
.footer-meta { color: var(--muted); font-size: 0.95rem; }
@media (min-width: 720px) { .footer-grid { flex-direction: row; align-items: center; justify-content: space-between; } }

/* Page hero (about, book, thanks) */
.page-hero { padding-bottom: 0; }
.page-hero .wrap { display: flex; flex-direction: column; gap: 14px; }
