/* Second Visit — design system tokens (see ../design/system.md) */
:root {
  --cream: #FAF5EC;
  --cream-deep: #F3EAD9;
  --clay: #C4552B;
  --clay-dark: #9E3F1F;
  --slate: #33414E;
  --slate-soft: #5C6B78;
  --sage: #7A9E7E;
  --sage-deep: #5C7A60;
  --sun: #E8A33D;
  --white: #FFFFFF;
  --border: #E5D9C3;
  --danger: #B4432F;
  --focus: #2F7FC4;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --wrap: 1140px;
  --measure: 68ch;
  --r-sm: 8px; --r-md: 16px; --r-lg: 24px; --r-full: 999px;

  --shadow-sm: 0 1px 3px rgba(51,65,78,.08);
  --shadow-md: 0 8px 24px rgba(51,65,78,.10);
  --shadow-lg: 0 20px 48px rgba(158,63,31,.14);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--slate);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 var(--s4);
  color: var(--slate);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; line-height: 1.3; }

p { margin: 0 0 var(--s4); max-width: var(--measure); }

a { color: var(--clay-dark); }
a:hover { color: var(--clay); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s5); }
.section { padding: var(--s9) 0; }
.section.alt { background: var(--cream-deep); }
.section.dark { background: var(--slate); color: var(--cream); }
.section.dark h2, .section.dark h3 { color: var(--cream); }
.section.dark p { color: #EFE7D6; }

/* Skip link */
.skip-link {
  position: absolute; left: var(--s4); top: -100px; z-index: 200;
  background: var(--slate); color: var(--cream);
  padding: var(--s3) var(--s5); border-radius: var(--r-sm);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: var(--s3); }

/* Focus */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Eyebrow + lede + divider */
.eyebrow {
  display: inline-block;
  font-size: .75rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--clay-dark);
  margin: 0 0 var(--s3);
}
.lede { font-size: 1.125rem; color: var(--slate-soft); max-width: 60ch; }
.section.dark .lede { color: #D9CFB9; }
.h2-rule { width: 96px; border: 0; border-top: 2px solid var(--clay); margin: var(--s4) 0 var(--s5); }
.h2-rule::after {
  content: ""; display: block; width: 96px; border-top: 1px solid var(--border); margin-top: 3px;
}
.section.dark .h2-rule::after { border-color: #54626F; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  min-height: 48px; padding: var(--s3) var(--s6);
  border-radius: var(--r-full); border: 2px solid transparent;
  cursor: pointer; text-decoration: none; line-height: 1.4;
}
.btn-primary {
  background: var(--clay-dark); color: #fff; font-size: 1.125rem;
  padding: 16px 32px; box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--clay-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary {
  background: transparent; border-color: var(--clay); color: var(--clay-dark);
}
.btn-secondary:hover { background: rgba(196,85,43,.08); color: var(--clay-dark); }
.btn-ghost { color: var(--slate-soft); text-decoration: underline; padding: var(--s3) var(--s4); min-height: 48px; }
.btn-ghost:hover { color: var(--clay-dark); }
.btn-small { min-height: 44px; padding: 8px 20px; font-size: .9375rem; }
.cta-row { display: flex; gap: var(--s4); flex-wrap: wrap; margin-top: var(--s5); }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 12px; border-radius: var(--r-full); white-space: nowrap;
}
.badge-free { background: rgba(122,158,126,.15); color: var(--sage-deep); border: 1px solid var(--sage); }
.badge-paid { background: var(--clay-dark); color: #fff; }
.badge-new { background: var(--sun); color: var(--slate); }
.badge-waitlist { border: 1px solid var(--slate-soft); color: var(--slate-soft); }
.badge-locked { background: rgba(196,85,43,.12); color: var(--clay-dark); border: 1px solid var(--clay); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream); border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: var(--s5); min-height: 72px; }
.brand { display: flex; align-items: center; gap: var(--s3); text-decoration: none; color: var(--slate); }
.brand img { width: 44px; height: 44px; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.375rem; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: var(--s4); list-style: none; margin: 0; padding: 0; align-items: center; }
.main-nav a.nav-link { color: var(--slate); text-decoration: none; font-weight: 600; font-size: .9375rem; padding: var(--s3) var(--s2); min-height: 48px; display: inline-flex; align-items: center; }
.main-nav a.nav-link:hover { color: var(--clay-dark); }
.nav-cta { margin-left: var(--s3); }
.hamburger { display: none; margin-left: auto; background: none; border: 1px solid var(--border); border-radius: var(--r-sm); min-width: 48px; min-height: 48px; cursor: pointer; color: var(--slate); }
.hamburger svg { width: 24px; height: 24px; }

/* Hero */
.hero { padding: var(--s9) 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--s8); align-items: center; }
.hero-copy .eyebrow { margin-bottom: var(--s4); }
.stat-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin: var(--s6) 0; }
.stat { text-align: left; }
.stat-num { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4vw, 3rem); color: var(--clay); line-height: 1; }
.stat-cap { font-size: .9375rem; color: var(--slate-soft); margin-top: var(--s2); line-height: 1.5; }
.trust-line { font-size: .875rem; color: var(--slate-soft); margin-top: var(--s4); }
.hero-art { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: var(--s4); }
.hero-art img { border-radius: var(--r-md); width: 100%; }
.timeline-mock { margin-top: var(--s4); }
.timeline-mock .tm-row {
  display: flex; align-items: center; gap: var(--s3);
  background: var(--cream); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: var(--s3) var(--s4); margin-bottom: var(--s2); font-size: .9375rem;
}
.tm-day { font-weight: 700; color: var(--clay-dark); min-width: 64px; }

/* Dark band stat cards */
.stat-band-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); margin: var(--s6) 0; }
.stat-band-card { background: rgba(255,255,255,.05); border: 1px solid #54626F; border-radius: var(--r-md); padding: var(--s6); }
.stat-band-card .stat-num { color: var(--sun); }
.stat-band-card .stat-cap { color: #D9CFB9; }
.band-close { font-size: 1.125rem; max-width: 60ch; }

/* Cards */
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); padding: var(--s6);
}
.card .eyebrow { margin-bottom: var(--s2); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5); }

/* Wizard */
.wizard { max-width: 760px; margin: 0 auto; }
.wizard-steps { display: flex; gap: var(--s2); list-style: none; margin: 0 0 var(--s6); padding: 0; }
.wizard-steps li { flex: 1; text-align: center; font-size: .8125rem; font-weight: 600; color: var(--slate-soft); }
.wizard-steps .dot {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; margin: 0 auto var(--s2);
  border: 2px solid var(--border); background: var(--white); font-weight: 700; color: var(--slate-soft);
}
.wizard-steps li.active .dot { border-color: var(--clay); background: var(--clay); color: #fff; }
.wizard-steps li.active { color: var(--slate); }
.wizard-steps li.done .dot { border-color: var(--sage); background: var(--sage); color: #fff; }
.option-cards { display: grid; gap: var(--s3); margin: var(--s5) 0; }
.option-card {
  display: flex; align-items: center; gap: var(--s4);
  background: var(--white); border: 2px solid var(--border); border-radius: var(--r-md);
  padding: var(--s4) var(--s5); cursor: pointer; min-height: 64px; width: 100%; text-align: left;
  font-size: 1.0625rem; font-family: var(--sans); color: var(--slate);
}
.option-card:hover { border-color: var(--clay); }
.option-card.selected { border-color: var(--clay); background: var(--cream-deep); }
.option-card .radio-dot {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--slate-soft); position: relative;
}
.option-card.selected .radio-dot { border-color: var(--clay); }
.option-card.selected .radio-dot::after {
  content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--clay);
}
.option-sub { display: block; font-size: .9375rem; color: var(--slate-soft); font-weight: 400; }
.wizard-nav { display: flex; justify-content: space-between; gap: var(--s4); margin-top: var(--s5); }
.field-error { color: var(--danger); font-weight: 600; margin-top: var(--s3); }
.plan-step { margin-bottom: var(--s5); }
.plan-step .plan-meta { display: flex; gap: var(--s3); align-items: center; flex-wrap: wrap; margin-bottom: var(--s3); }
.channel-badge { background: var(--cream-deep); border: 1px solid var(--border); color: var(--clay-dark); }
.variant-tabs { display: flex; gap: var(--s2); margin: var(--s4) 0; }
.variant-tab {
  min-height: 44px; padding: 8px 18px; border-radius: var(--r-full);
  border: 1px solid var(--border); background: var(--cream); font-weight: 600; cursor: pointer; color: var(--slate);
}
.variant-tab[aria-pressed="true"] { background: var(--clay-dark); border-color: var(--clay-dark); color: #fff; }
.template-body {
  background: var(--cream); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: var(--s5); font-family: var(--serif); font-style: italic; font-size: 1.0625rem; line-height: 1.8;
  white-space: pre-wrap;
}
.template-body mark, .template-card-body mark {
  background: rgba(232,163,61,.35); border-bottom: 2px dotted var(--clay-dark);
  font-style: normal; padding: 0 2px; border-radius: 3px;
}
.template-actions { display: flex; gap: var(--s3); margin-top: var(--s4); align-items: center; flex-wrap: wrap; }
.copy-confirm { color: var(--sage-deep); font-weight: 700; font-size: .9375rem; }
.plan-note { background: rgba(122,158,126,.12); border-left: 4px solid var(--sage); padding: var(--s4) var(--s5); border-radius: 0 var(--r-md) var(--r-md) 0; margin: var(--s5) 0; }

/* Filter chips */
.chips { display: flex; gap: var(--s2); flex-wrap: wrap; margin: var(--s5) 0; }
.chip {
  min-height: 48px; padding: 10px 22px; border-radius: var(--r-full);
  border: 2px solid var(--border); background: var(--white); font-weight: 600; cursor: pointer; color: var(--slate);
}
.chip[aria-pressed="true"] { background: var(--clay-dark); border-color: var(--clay-dark); color: #fff; }
.template-card { display: flex; flex-direction: column; }
.template-card h3 { margin-bottom: var(--s2); }
.template-card .template-card-body {
  font-family: var(--serif); font-style: italic; color: var(--slate-soft);
  margin: var(--s3) 0 var(--s4); flex: 1; line-height: 1.7;
}
.locked-veil { position: relative; }
.locked-veil .template-card-body { max-height: 96px; overflow: hidden; }
.locked-veil::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), var(--white));
}
.template-card-actions { display: flex; gap: var(--s3); align-items: center; flex-wrap: wrap; margin-top: var(--s4); }

/* Studio */
.studio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: start; }
.card-preview {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--shadow-md); padding: var(--s6); max-width: 420px; margin: 0 auto;
  border-top: 8px solid var(--clay);
}
.card-preview h3 { text-align: center; margin-bottom: var(--s2); }
.card-preview .card-sub { text-align: center; color: var(--slate-soft); font-size: .9375rem; margin-bottom: var(--s5); }
.card-field { border-bottom: 1px solid var(--border); padding: var(--s2) 0; margin-bottom: var(--s3); font-size: .9375rem; color: var(--slate-soft); }
.card-field strong { color: var(--slate); font-weight: 600; }
.check-row { display: flex; align-items: center; gap: var(--s3); font-size: .9375rem; margin: var(--s2) 0; }
.check-box { width: 22px; height: 22px; border: 2px solid var(--slate-soft); border-radius: 4px; flex: 0 0 auto; }
.studio-controls .field { margin-bottom: var(--s5); }
.swatches { display: flex; gap: var(--s3); }
.swatch { width: 48px; height: 48px; border-radius: 50%; border: 3px solid transparent; cursor: pointer; }
.swatch[aria-pressed="true"] { border-color: var(--slate); }
.headline-opts { display: grid; gap: var(--s3); }
.print-card-2up { display: none; }

/* Forms */
.field label { display: block; font-size: .9375rem; font-weight: 600; color: var(--slate); margin-bottom: var(--s2); }
.field input[type="text"], .field input[type="email"], .field input[type="date"],
.field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 48px; border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 12px 16px; font-size: 1rem; font-family: var(--sans); background: var(--white); color: var(--slate);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--clay); outline: 3px solid var(--focus); outline-offset: 2px; }
.field .hint { font-size: .875rem; color: var(--slate-soft); margin-top: var(--s2); }
.check-row input[type="checkbox"] { width: 28px; height: 28px; accent-color: var(--clay); flex: 0 0 auto; }

/* Training */
.module-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--clay); color: #fff;
  font-family: var(--serif); font-weight: 600; font-size: 1.25rem; margin-bottom: var(--s3);
}
.script-card { background: rgba(122,158,126,.12); border: 1px solid var(--sage); border-radius: var(--r-md); padding: var(--s6); margin-top: var(--s6); }
.script-card blockquote { font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.8; margin: var(--s4) 0; border-left: 4px solid var(--sage); padding-left: var(--s5); }
.dos-donts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); margin-top: var(--s6); }
.dos-donts ol { margin: 0; padding-left: var(--s5); }
.dos-donts li { margin-bottom: var(--s3); }
.do-col h3 { color: var(--sage-deep); }
.dont-col h3 { color: var(--clay-dark); }

/* Audit */
.audit-score {
  display: flex; align-items: center; gap: var(--s5); flex-wrap: wrap;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: var(--s5) var(--s6); margin-bottom: var(--s6); box-shadow: var(--shadow-sm);
}
.score-num { font-family: var(--serif); font-weight: 600; font-size: 2.5rem; line-height: 1; }
.score-label { font-weight: 700; font-size: 1.125rem; }
.progress-track { flex: 1 1 200px; height: 14px; background: var(--cream-deep); border-radius: var(--r-full); overflow: hidden; }
.progress-fill { height: 100%; width: 0%; background: var(--clay); transition: width 300ms ease-out; }
.score-band-risk { color: var(--clay-dark); }
.score-band-grow { color: #9A6B1F; }
.score-band-ready { color: var(--sage-deep); }
.audit-group { margin-bottom: var(--s6); }
.audit-group h3 { margin-bottom: var(--s4); }
.audit-item {
  display: flex; gap: var(--s4); align-items: flex-start;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: var(--s4) var(--s5); margin-bottom: var(--s3);
}
.audit-item input[type="checkbox"] { width: 28px; height: 28px; margin: 0; accent-color: var(--clay); flex: 0 0 auto; margin-top: 2px; }
.audit-item .why { display: block; font-size: .9375rem; color: var(--slate-soft); margin-top: 4px; }
.audit-item.checked { background: rgba(122,158,126,.08); }

/* Tracker */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--white); }
table.tracker { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 760px; }
table.tracker th, table.tracker td { padding: var(--s3) var(--s4); border-bottom: 1px solid var(--border); text-align: left; }
table.tracker th { background: var(--cream-deep); font-weight: 700; white-space: nowrap; }
table.tracker td input[type="checkbox"] { width: 28px; height: 28px; accent-color: var(--clay); }
table.tracker td input[type="text"], table.tracker td input[type="date"] { min-height: 44px; border: 1px solid var(--border); border-radius: var(--r-sm); padding: 8px 10px; font-size: .9375rem; width: 100%; }
.row-delete { color: var(--danger); background: none; border: none; cursor: pointer; font-weight: 600; min-height: 44px; padding: 8px 12px; font-size: .9375rem; }
.row-delete:hover { text-decoration: underline; }
.inline-confirm { display: inline-flex; gap: var(--s2); align-items: center; font-size: .9375rem; }
.summary-bar { display: flex; gap: var(--s4); flex-wrap: wrap; align-items: center; margin: var(--s5) 0; font-weight: 600; }
.privacy-note { font-size: .875rem; color: var(--slate-soft); }
.sample-tag { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--slate-soft); background: var(--cream-deep); padding: 2px 8px; border-radius: var(--r-full); margin-left: var(--s2); }

/* Ten leaks */
.leak-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5); counter-reset: leak; }
.leak-card { counter-increment: leak; position: relative; padding-left: var(--s8); }
.leak-card::before {
  content: counter(leak); position: absolute; left: var(--s5); top: var(--s5);
  font-family: var(--serif); font-weight: 600; font-size: 2rem; color: var(--clay); line-height: 1;
}
.leak-card h3 { margin-bottom: var(--s2); }
.leak-fix { margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--border); }
.leak-fix .fix-label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sage-deep); display: block; margin-bottom: var(--s2); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); max-width: 900px; margin: var(--s6) auto 0; align-items: stretch; }
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card.elevated { border: 2px solid var(--clay); box-shadow: var(--shadow-lg); }
.price-card .sun-ribbon {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--sun); color: var(--slate);
}
.price-amount { font-family: var(--serif); font-weight: 600; font-size: 3rem; color: var(--slate); line-height: 1; margin: var(--s3) 0; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 var(--s5); flex: 1; }
.price-card li { padding: var(--s2) 0; border-bottom: 1px solid var(--border); display: flex; gap: var(--s3); align-items: flex-start; }
.price-card li .tick { color: var(--sage-deep); font-weight: 700; flex: 0 0 auto; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-list details { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); margin-bottom: var(--s3); padding: var(--s4) var(--s5); }
.faq-list summary { font-weight: 700; font-size: 1.0625rem; cursor: pointer; min-height: 48px; display: flex; align-items: center; }
.faq-list summary::marker { color: var(--clay); }
.faq-list details p { color: var(--slate-soft); margin: var(--s3) 0 0; }

/* Modal */
.modal-backdrop { position: fixed; inset: 0; background: rgba(51,65,78,.55); display: none; align-items: center; justify-content: center; z-index: 300; padding: var(--s4); }
.modal-backdrop.open { display: flex; }
.modal { background: var(--cream); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); max-width: 520px; width: 100%; padding: var(--s7); position: relative; }
.modal h2 { font-size: 1.75rem; margin-bottom: var(--s3); }
.modal-close { position: absolute; top: var(--s4); right: var(--s4); background: none; border: none; font-size: 1.5rem; min-width: 48px; min-height: 48px; cursor: pointer; color: var(--slate-soft); }
.modal .field { margin-bottom: var(--s4); }

/* Footer */
.site-footer { background: var(--slate); color: #D9CFB9; padding: var(--s8) 0 var(--s5); }
.site-footer h3 { color: var(--cream); font-size: 1.125rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: var(--s6); margin-bottom: var(--s6); }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--sun); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: var(--s2); }
.footer-links a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.rwp-stamp { display: flex; align-items: center; gap: var(--s4); margin-top: var(--s4); flex-wrap: wrap; }
.rwp-stamp img.badge-img { width: 72px; height: 72px; }
.rwp-stamp img.lockup-img { height: 40px; width: auto; }
.footer-bottom { border-top: 1px solid #54626F; padding-top: var(--s5); display: flex; gap: var(--s4); flex-wrap: wrap; align-items: center; font-size: .875rem; }
.footer-bottom .sep { color: #54626F; }

/* Final CTA */
.final-cta { text-align: center; }
.final-cta .lede { margin-left: auto; margin-right: auto; }
.final-cta .cta-row { justify-content: center; }

/* Icons */
.icon { width: 32px; height: 32px; color: var(--clay); flex: 0 0 auto; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s6); }
  .stat-band-grid, .grid-3, .leak-grid, .studio-grid, .dos-donts, .pricing-grid, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: var(--s4); gap: 0; }
  .main-nav a.nav-link { min-height: 48px; width: 100%; padding: var(--s3) var(--s4); }
  .nav-cta { margin: var(--s3) 0 0; }
  .nav-cta .btn { width: 100%; }
  .hamburger { display: inline-flex; align-items: center; justify-content: center; }
  .site-header { position: sticky; }
}

@media (max-width: 560px) {
  .section { padding: var(--s7) 0; }
  .cta-row .btn { width: 100%; }
  .stat-trio { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .modal { padding: var(--s5); }
}

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: var(--cream); border-top: 1px solid var(--border);
  padding: var(--s3) var(--s4) calc(var(--s3) + env(safe-area-inset-bottom));
  display: none; align-items: center; gap: var(--s3);
}
.sticky-cta.show { display: flex; }
.sticky-cta .btn { flex: 1; }
.sticky-cta .dismiss { background: none; border: none; min-width: 48px; min-height: 48px; font-size: 1.25rem; cursor: pointer; color: var(--slate-soft); }
body.keyboard-open .sticky-cta { display: none; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; transform: none !important; animation: none !important; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .card, .option-card, .chip, .progress-fill { transition: all 200ms ease-out; }
  .wizard-panel { transition: opacity 300ms ease-out, transform 300ms ease-out; }
}

/* Print — global */
@media print {
  @page { margin: 0.5in; }
  .site-header, .site-footer, .cta-row, .btn, .sticky-cta, .skip-link,
  .hamburger, .modal-backdrop, .trust-line, .nav-cta { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section { padding: 24px 0; }
  .section.dark { background: #fff; color: #000; }
  .section.dark h2, .section.dark h3 { color: #000; }
  .section.dark p { color: #000; }
  .stat-band-card { border: 1px solid #000; background: #fff; }
  .stat-band-card .stat-num { color: #000; }
  .stat-band-card .stat-cap { color: #000; }
  .print-only { display: block !important; }
  .no-print { display: none !important; }
  /* Only the requested printable section prints cleanly; keep others compact */
  .audit-item, .leak-card, .plan-step { page-break-inside: avoid; }
  a { color: #000; text-decoration: none; }
}
.print-only { display: none; }

/* Print scoping: only the requested section prints */
@media print {
  body.print-scope main > section:not(.print-target) { display: none !important; }
  body.print-scope .site-header, body.print-scope .site-footer { display: none !important; }
}

/* 2-up printable connection cards */
@media print {
  #studio .print-card-2up { display: block !important; }
  #studio .studio-grid, #studio .no-print { display: none !important; }
  .print-card-sheet { border: 2px solid #000; border-radius: 8px; padding: 24px; margin-bottom: 24px; page-break-inside: avoid; }
}

.site-footer { scroll-margin-bottom: 90px; }
body.cta-visible { padding-bottom: 84px; }
