/* MakeClean — shared design system v2 (clean, spacious, product-forward).
   Type: Inter Tight (display) + Inter (text). Light surfaces, near-black text, one green accent.
   Edit here; every page inherits. (build_site.py does not overwrite this file.)
   Legacy variable names (--serif, --brand-deep, ...) are kept because national.css uses them. */
:root {
  --ink: #1d1d1f;
  --ink-soft: #424245;
  --muted: #6e6e73;
  --line: #e8e8ed;
  --line-strong: #d2d2d7;
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --paper: #ffffff;
  --brand: #0a6b4a;
  --brand-2: #0a6b4a;
  --brand-deep: #1d1d1f;
  --brand-soft: #eef5f1;
  --accent: #0a6b4a;
  --accent-2: #085a3e;
  --accent-soft: #eef5f1;
  --warn: #8a3d12;
  --ok: #0a6b4a;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.06), 0 30px 60px rgba(0, 0, 0, 0.12);
  --radius: 24px;
  --radius-sm: 14px;
  --radius-lg: 32px;
  --max: 1180px;
  --text: 68ch;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; /* display face (legacy name) */
  --display: var(--serif);
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 4rem; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: -0.011em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible, label.nav-btn:focus-within {
  outline: 3px solid rgba(10, 107, 74, 0.55);
  outline-offset: 3px;
  border-radius: 8px;
}
::selection { background: #cdeadd; }

.wrap { width: min(var(--max), calc(100% - 3rem)); margin-inline: auto; }
.skip {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--ink); color: #fff;
  padding: 0.5rem 0.9rem; border-radius: 999px; z-index: 100;
}
.skip:focus { top: 0.75rem; }

/* ---------- Header: thin, centered, frosted glass ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 3.25rem;
}
.logo {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--ink); text-decoration: none !important;
  font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em;
  justify-self: start;
}
.logo:hover { color: var(--ink); }
.logo-mark { width: 1.45rem; height: 1.45rem; flex: none; }
.nav { display: flex; align-items: center; gap: 0.25rem 2.1rem; }
.nav a {
  color: var(--ink-soft); font-size: 0.8125rem; font-weight: 450; letter-spacing: -0.005em;
  padding: 0.25rem 0; text-decoration: none !important; opacity: 0.88; transition: opacity .2s, color .2s;
}
.nav a:hover { opacity: 1; color: var(--ink); }
.nav a[aria-current="page"] { opacity: 1; color: var(--ink); font-weight: 600; }
.nav-cta {
  justify-self: end;
  font-size: 0.78rem; font-weight: 600; letter-spacing: -0.005em;
  color: #fff !important; background: var(--brand);
  padding: 0.38rem 0.95rem; border-radius: 999px; text-decoration: none !important;
  transition: background-color .2s, transform .2s;
}
.nav-cta:hover { background: var(--accent-2); color: #fff; }
.nav-toggle { display: none; }
.nav-btn { display: none; }

/* ---------- Buttons + links ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.78rem 1.5rem; border-radius: 999px;
  font-family: var(--sans); font-weight: 500; font-size: 1.0625rem; line-height: 1.2; letter-spacing: -0.012em;
  text-decoration: none !important; border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:active { transform: scale(0.98); }
.btn-primary, .btn-accent { background: var(--brand); color: #fff; }
.btn-primary:hover, .btn-accent:hover { background: var(--accent-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff; }
/* text link with chevron — matches the "Learn more ›" pattern */
.link-more { font-size: 1.0625rem; font-weight: 450; color: var(--brand); text-decoration: none !important; }
.link-more::after { content: " \203A"; font-size: 1.25em; line-height: 0; position: relative; top: 0.04em; transition: margin-left .2s var(--ease); }
.link-more:hover { color: var(--accent-2); text-decoration: underline !important; text-underline-offset: 4px; }
.link-more:hover::after { margin-left: 0.15rem; }

/* ---------- Hero (home, for-cleaners): centered, huge, tight ---------- */
.hero {
  padding: 5.5rem 0 0;
  text-align: center;
  background: var(--bg);
  overflow: hidden;
}
.hero-compact { padding-bottom: 4.5rem; }
.eyebrow {
  display: block;
  font-family: var(--sans); font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em;
  color: var(--brand); margin: 0 0 0.9rem; text-transform: none;
}
.hero h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.7rem, 7.6vw, 6rem);
  line-height: 1.04; letter-spacing: -0.038em;
  margin: 0 auto 1.4rem; max-width: 15ch; color: var(--ink);
  text-wrap: balance;
}
.hero .lede {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.4; letter-spacing: -0.018em; font-weight: 400;
  color: var(--ink-soft); max-width: 36ch; margin: 0 auto 2rem; text-wrap: balance;
}
.hero-compact .lede { max-width: 46ch; }
.hero-art { margin: 2.5rem auto 0; width: min(1120px, 100%); }
.hero-art img { width: 100%; height: auto; display: block; will-change: transform; transform-origin: 50% 100%; }
.trust {
  list-style: none; margin: 0; padding: 2rem 0 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 2rem;
  font-size: 0.9rem; font-weight: 450; color: var(--muted);
}
.trust li { display: inline-flex; align-items: center; gap: 0.45rem; }
.trust li::before {
  content: ""; width: 0.95rem; height: 0.95rem; flex: none; background: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Sections: alternating tiles ---------- */
.section { padding: 6.5rem 0; }
.section-tint { background: var(--bg-2); }
.section-dark { background: #000; color: #f5f5f7; }
.section-dark .section-head p { color: #a1a1a6; }
.section h2, .page-title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2rem, 4.8vw, 3.5rem);
  letter-spacing: -0.04em; line-height: 1.07; color: var(--ink); margin: 0;
  text-wrap: balance;
}
.section-dark h2 { color: #f5f5f7; }
.section-head { margin: 0 auto 3.5rem; text-align: center; max-width: 46rem; }
.section-head p { color: var(--muted); margin: 1rem auto 0; max-width: 40rem; font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.45; letter-spacing: -0.016em; }
.grid-3, .grid-2 { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 2rem 2rem 2.1rem;
  display: flex; flex-direction: column; height: 100%;
  border: 0;
  box-shadow: none;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.section:not(.section-tint) .card, .page .card, .page-wide .card { background: var(--bg-2); }
.card h3 {
  font-family: var(--display); font-weight: 600;
  font-size: 1.5rem; line-height: 1.17; letter-spacing: -0.03em;
  margin: 0.5rem 0 0.75rem; color: var(--ink);
}
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--ink); text-decoration: none; }
.kicker {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--muted); margin: 0;
}
.card p { color: var(--muted); margin: 0 0 1.25rem; flex: 1; font-size: 1rem; line-height: 1.5; letter-spacing: -0.012em; }
.card .more { font-weight: 450; font-size: 1.0625rem; text-decoration: none; color: var(--brand); }
.card .more::after { content: " \203A"; font-size: 1.25em; line-height: 0; position: relative; top: 0.04em; }
.card .more:hover { color: var(--accent-2); text-decoration: underline; text-underline-offset: 4px; }
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.guide-card .kicker { color: var(--brand); }

.band {
  background: var(--bg-2); border-radius: var(--radius-lg); padding: 3rem 2.5rem;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; align-items: center;
}
.band h2 { margin: 0 0 0.5rem; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; }
.steps .card { background: transparent !important; padding: 0; text-align: left; }
.step-num {
  font-family: var(--display); font-size: 0.95rem; font-weight: 600; color: var(--brand);
  display: block; margin-bottom: 0.9rem; letter-spacing: 0.02em;
}
.steps .card h3 { font-size: 1.6rem; margin-top: 0; }

/* ---------- Article ---------- */
.article-wrap { width: min(720px, calc(100% - 3rem)); margin: 0 auto; padding: 4rem 0 6rem; }
.crumbs { font-size: 0.85rem; color: var(--muted); margin: 0 0 2rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.article-wrap h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.3rem, 5.6vw, 3.9rem); line-height: 1.04; letter-spacing: -0.042em;
  color: var(--ink); margin: 0.6rem 0 1.25rem; text-wrap: balance;
}
.meta { color: var(--muted); font-size: 0.9rem; margin: 0 0 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.article-wrap .lede { font-size: 1.4rem; line-height: 1.4; letter-spacing: -0.02em; color: var(--ink-soft); margin: 0 0 1.75rem; }
.article-wrap h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2rem); line-height: 1.15; letter-spacing: -0.035em;
  color: var(--ink); margin: 3.5rem 0 1rem;
}
.article-wrap h3 { font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.025em; margin: 2rem 0 0.5rem; }
.article-wrap p, .article-wrap li { color: var(--ink); }
.article-wrap ul, .article-wrap ol { padding-left: 1.3rem; }
.article-wrap li + li { margin-top: 0.45rem; }
.article-wrap li::marker { color: var(--muted); }
.callout, .warning, .todo-note { border-radius: var(--radius-sm); padding: 1.35rem 1.5rem; margin: 2rem 0; background: var(--bg-2); }
.callout { background: var(--brand-soft); }
.warning { background: #fbf1e8; }
.callout p, .warning p { margin: 0; }
.callout strong, .warning strong { display: block; margin-bottom: 0.25rem; }
table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  font-size: 0.95rem; line-height: 1.5; margin: 1.75rem 0 2.25rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden;
}
th, td { text-align: left; padding: 0.85rem 1.05rem; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
th { background: var(--bg-2); color: var(--muted); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.checklist { list-style: none; padding: 0 !important; }
.checklist li { padding: 0.65rem 0 0.65rem 2.1rem; position: relative; border-bottom: 1px solid var(--line); }
.checklist li::before {
  content: ""; width: 1.1rem; height: 1.1rem; border: 1.5px solid var(--line-strong);
  border-radius: 50%; position: absolute; left: 0; top: 0.95rem;
}
.todo-note { font-size: 0.95rem; color: var(--ink-soft); }
.todo-note code { font-size: 0.9em; }
.product-link { font-weight: 500; }
.todo-flag { display: none; } /* internal placeholder markers are never shown to visitors */
.cta-box { background: var(--bg-2); border-radius: var(--radius); padding: 2.5rem; margin: 3rem 0; }
.cta-box h2 { margin-top: 0 !important; font-size: clamp(1.5rem, 3vw, 1.9rem) !important; }
.cta-box p:last-child { margin-bottom: 0; }
.related { display: grid; gap: 0.75rem; margin-top: 1rem; }
.related a { font-weight: 500; }

/* ---------- Pages (about, contact, city, national, calculator, legal) ---------- */
.page { width: min(760px, calc(100% - 3rem)); margin: 0 auto; padding: 5rem 0 6.5rem; }
.page-wide { width: min(var(--max), calc(100% - 3rem)); margin: 0 auto; padding: 5rem 0 6.5rem; }
.page h1, .page-wide h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.4rem, 6.4vw, 4.4rem); line-height: 1.04; letter-spacing: -0.045em;
  color: var(--ink); margin: 0.4rem auto 1.25rem; text-align: center; text-wrap: balance; max-width: 18ch;
}
.page > .crumbs { text-align: center; margin-bottom: 1.25rem; }
.page > .kicker, .page-wide > .kicker { text-align: center; color: var(--brand); font-size: 1rem; text-transform: none; letter-spacing: -0.01em; font-weight: 600; }
.page h1 + p:not(.form-note), .page h1 + .lede, .page-wide > .lede {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.5; letter-spacing: -0.016em;
  color: var(--ink-soft); text-align: center; max-width: 38rem; margin: 0 auto 3rem; text-wrap: balance;
}
.page-wide > .lede { max-width: 42rem !important; }
.page h1 + .form-note { text-align: center; max-width: 38rem; margin: 0 auto 2.25rem; }
.prose h2, .page-wide h2 {
  font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.15; letter-spacing: -0.035em; color: var(--ink); margin: 3.25rem 0 0.75rem;
}
.prose h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.025em; }
.prose p, .prose li { color: var(--ink); }
form { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
label { font-weight: 500; font-size: 0.92rem; color: var(--ink); }
input, textarea, select {
  font: inherit; font-size: 1.0625rem; letter-spacing: -0.011em;
  padding: 0.9rem 1.05rem; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--paper); color: var(--ink); width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
input:hover, textarea:hover, select:hover { border-color: #a1a1a6; }
input:focus, textarea:focus, select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(10, 107, 74, 0.14); outline: none; }
input::placeholder, textarea::placeholder { color: #86868b; }
textarea { min-height: 9.5rem; resize: vertical; }
form > .btn, form > button.btn { justify-self: start; padding-inline: 2rem; }
.form-note { font-size: 0.875rem; color: var(--muted); line-height: 1.5; }
.form-note:empty, [role="status"]:empty { display: none; }
.form-success, .form-error { border-radius: var(--radius-sm); padding: 1.1rem 1.25rem; margin: 1.4rem 0; }
.form-success { background: var(--brand-soft); }
.form-error { background: #fbf1e8; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer: quiet, light grey ---------- */
.site-footer {
  background: var(--bg-2); padding: 3.5rem 0 2rem; color: var(--muted);
  font-size: 0.8125rem; line-height: 1.5; letter-spacing: -0.005em;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 2.5rem; padding-bottom: 2.25rem; border-bottom: 1px solid var(--line-strong); margin-bottom: 1.25rem; }
.site-footer h2 { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--ink); margin: 0 0 0.6rem; letter-spacing: -0.025em; }
.site-footer h3 { font-size: 0.75rem; font-weight: 600; letter-spacing: 0; text-transform: none; margin: 0 0 0.75rem; color: var(--ink); }
.site-footer p { margin: 0; max-width: 32ch; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0.45rem 0; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal { font-size: 0.75rem; color: var(--muted); }
.legal p { margin: 0.3rem 0; max-width: none; }
.legal a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Free checklist tile ---------- */
.cta-lead { background: var(--bg-2); border-radius: var(--radius-lg); }
.cta-lead h2 { margin-top: 0; }
.signup-form { margin-top: 1.25rem; }
.signup-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.signup-row input[type="email"] { flex: 1 1 15rem; width: auto; border-radius: 999px; padding-inline: 1.3rem; }
.signup-row .btn { flex: 0 0 auto; }
.cta-lead.has-art { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); column-gap: 3rem; align-items: center; padding: 3.5rem; }
.cta-lead.has-art > :not(.cta-lead-art):not(script) { grid-column: 1; }
.cta-lead.has-art .signup-row .btn { flex: 1 1 100%; }
.cta-lead-art { grid-column: 2; grid-row: 1 / span 4; width: 100%; height: auto; align-self: center; }
.section-dark .cta-lead { background: transparent; text-align: center; padding: 0; margin: 0 auto; max-width: 52rem; }
.section-dark .cta-lead h2 { color: #f5f5f7; font-size: clamp(2rem, 4.8vw, 3.5rem) !important; }
.section-dark .cta-lead p { color: #a1a1a6; }
.section-dark .cta-lead .signup-row { justify-content: center; }
.section-dark .cta-lead input[type="email"] { background: #1d1d1f; border-color: #424245; color: #f5f5f7; }
.section-dark .cta-lead input::placeholder { color: #86868b; }
.section-dark .cta-lead .btn-primary { background: #f5f5f7; color: #1d1d1f; }
.section-dark .cta-lead .btn-primary:hover { background: #fff; color: #000; }
.section-dark .cta-lead .form-note { color: #86868b; }
.section-dark .cta-lead .form-note a { color: #c7c7cc; text-decoration: underline; }
.badge {
  display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; text-transform: none;
  color: var(--brand); background: transparent; border: 0; padding: 0; margin-bottom: 0.5rem; width: fit-content;
}
.price-tag { font-weight: 500; font-size: 1rem !important; color: var(--ink-soft) !important; margin-top: 0 !important; margin-bottom: 0.9rem !important; flex: none !important; }
.product-feature { margin: 1.25rem 0 2rem; }
.product-list { margin-top: 0; }
.btn-disabled, .btn[aria-disabled="true"] { background: var(--bg-2); color: var(--muted); border-color: var(--line); pointer-events: none; cursor: not-allowed; }
.faq h3 { font-size: 1.15rem; }

/* ---------- Product tiles ---------- */
.section-tint .product-card { background: #fff !important; }
.product-card {
  background: var(--bg-2) !important; border-radius: var(--radius-lg); padding: 2.75rem 2.25rem 2.5rem;
  align-items: center; text-align: center; overflow: hidden;
}
.product-card .product-thumb { display: block; width: 116%; margin: -0.5rem -8% 1rem; line-height: 0; background: transparent; }
.product-card .product-thumb img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; display: block; transition: transform .8s var(--ease); }
.product-card:hover .product-thumb img { transform: scale(1.035); }
.product-card h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-top: 0.25rem; }
.product-card p { text-align: center; max-width: 34ch; }
.product-card .btn { margin-top: auto; align-self: center; }
.product-featured-row .product-card { padding-top: 3.25rem; }
.section-more { margin: 3rem 0 0; text-align: center; }
.cta-product { background: var(--bg-2); }
.cta-product .cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; margin-bottom: 0; }

/* ---------- For cleaners + local pages ---------- */
.toolkit-feature { margin: 0 0 3rem; }
.toolkit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; background: var(--bg-2); border-radius: var(--radius-lg); padding: 3rem; }
.toolkit-img img { width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }
.toolkit-feature h2 { margin: 0.25rem 0 0.5rem; }
.checkrow { display: flex; gap: 0.7rem; align-items: flex-start; margin: 0; }
.checkrow input[type="checkbox"] { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; flex: none; accent-color: var(--brand); }
.checkrow label { font-weight: 400; font-size: 0.95rem; }
.ask-list li { margin: 0.7rem 0; }
.related-local { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-weight: 500; }
.local-page table td a { word-break: normal; overflow-wrap: break-word; }
.page .card, .page-wide .card { padding: 1.75rem; }
.page .calc-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.page .calc-form > * { min-width: 0; }
@media (max-width: 560px) { .page .calc-form { grid-template-columns: 1fr; } }
.page-wide > section + section { margin-top: 1.5rem; }
.printables-head { padding-bottom: 2.5rem; }
.printables-head + .section { padding-top: 0 !important; }

/* ---------- Motion (progressive enhancement) ----------
   Nothing is hidden unless <html class="js-motion"> is set by the head snippet (JS on, no reduced-motion).
   Only transform + opacity are animated, so there is no layout shift. */
.js-motion .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js-motion .reveal.in { opacity: 1; transform: none; }
@keyframes mc-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes mc-art { from { opacity: 0; transform: translateY(30px) scale(0.96); } to { opacity: 1; transform: none; } }
.js-motion .hero .eyebrow, .js-motion .hero h1, .js-motion .hero .lede, .js-motion .hero .actions, .js-motion .hero .trust { animation: mc-rise .9s var(--ease) backwards; }
.js-motion .hero .eyebrow { animation-delay: .05s; }
.js-motion .hero h1 { animation-delay: .14s; }
.js-motion .hero .lede { animation-delay: .26s; }
.js-motion .hero .actions { animation-delay: .38s; }
.js-motion .hero .trust { animation-delay: .5s; }
.js-motion .hero-art { animation: mc-art 1.2s var(--ease) .45s backwards; }
/* header gains depth after scrolling (opacity-only fade of a shadow layer) */
.site-header::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 24px; pointer-events: none; opacity: 0; background: linear-gradient(rgba(0,0,0,0.07), transparent); transition: opacity .4s var(--ease); }
.site-header.scrolled::after { opacity: 1; }
.site-header.scrolled { background: rgba(255, 255, 255, 0.82); }
/* hover: lift links-cards, button shine */
.guide-card, .product-card { will-change: auto; }
.guide-card:hover, .product-card:hover { transform: translateY(-4px); box-shadow: 0 2px 6px rgba(0,0,0,0.04), 0 22px 50px rgba(0,0,0,0.10); }
.btn-primary, .btn-accent { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::before, .btn-accent::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.28) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn-primary:hover::before, .btn-accent:hover::before { transform: translateX(120%); }
.btn { transition-duration: .4s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }

@media (max-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { gap: 2rem; }
}
@media (max-width: 860px) {
  .grid-3, .grid-2, .steps, .footer-grid, .band, .toolkit-grid, .cta-lead.has-art { grid-template-columns: 1fr; }
  .wrap { width: calc(100% - 2.5rem); }
  .article-wrap, .page, .page-wide { width: calc(100% - 2.5rem); }
  .hero { padding-top: 3.5rem; }
  .hero-compact { padding-bottom: 3rem; }
  .hero-art { margin-top: 2.5rem; width: 128%; margin-left: -14%; }
  .section { padding: 4.25rem 0; }
  .section-head { margin-bottom: 2.25rem; }
  .page, .page-wide { padding: 3.25rem 0 4.5rem; }
  .article-wrap { padding: 2.5rem 0 4.5rem; }
  .footer-grid { gap: 1.75rem; }
  .card { padding: 1.6rem 1.5rem 1.7rem; }
  .product-card { padding: 2rem 1.5rem 2rem; }
  .cta-box { padding: 1.75rem 1.4rem; }
  .cta-lead.has-art { padding: 2rem 1.4rem; row-gap: 1rem; }
  .cta-lead-art { grid-column: 1; grid-row: auto; order: -1; max-width: 22rem; margin: -1rem auto 0; }
  .toolkit-grid { padding: 1.5rem; gap: 1.5rem; }
  .band { padding: 2rem 1.5rem; }
  .steps .card { padding: 0; }

  .header-inner { display: flex; justify-content: space-between; min-height: 3.25rem; }
  .nav-cta { display: none; }
  .nav-btn {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 2.5rem; height: 2.5rem; align-items: center; cursor: pointer; margin-right: -0.5rem;
  }
  .nav-btn span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
  #nav-toggle:checked + .nav-btn span:first-child { transform: translateY(3.75px) rotate(45deg); }
  #nav-toggle:checked + .nav-btn span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff;
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.5rem 1.5rem 1.5rem; border-bottom: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  }
  #nav-toggle:checked ~ .nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav a { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.03em; font-family: var(--display); padding: 0.85rem 0; border-bottom: 1px solid var(--line); opacity: 1; color: var(--ink); }
  .nav a:last-child { border-bottom: 0; }
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: 0.9rem; }
  th, td { padding: 0.7rem 0.8rem; }
  td:last-child, th:last-child { min-width: 7.5rem; }
}
@media (max-width: 860px) {
  .page h1 + p:not(.form-note) { text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem 1.25rem; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .section-tint .guide-card p { display: none; }
  .section-tint .guide-card h3 { margin-bottom: 1rem; }
  .section-tint .guide-card .more { margin-top: auto; }
  body { font-size: 1.0625rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; }
  .signup-row .btn { flex: 1 1 100%; }
  .hero-art { width: 150%; margin-left: -25%; margin-top: 2rem; }
  .trust { gap: 0.35rem 1.25rem; font-size: 0.85rem; padding-bottom: 2rem; }
  .hero h1 { letter-spacing: -0.04em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .js-motion .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js-motion .hero *, .js-motion .hero-art { animation: none !important; }
  .btn::before, .site-header::after { transition: none !important; }
  .btn:hover, .guide-card:hover, .product-card:hover { transform: none !important; }
  .btn, .card, a, .nav, .nav-btn span, .product-card .product-thumb img { transition: none !important; }
  .hero-art img { transform: none !important; }
}
