/* ============================================================
   SnapFoldCo — design system v2 (masterpiece rebuild)
   Fraunces (display serif) + Inter (body/UI)
   Palette: ink #0A1424 · emerald #0E7C5B · paper #F7F5F0
            brass #C9A227 (sparingly: $49 flag + premium accents)
   ============================================================ */
:root {
  --ink: #0A1424;
  --ink-2: #12233D;
  --ink-soft: #2A3B52;
  --ink-mute: #5C6D82;
  --emerald: #0E7C5B;
  --emerald-dark: #0A5F46;
  --emerald-deep: #084A38;
  --emerald-tint: #E4F2EC;
  --paper: #F7F5F0;
  --paper-2: #FDFCF9;
  --card: #FFFFFF;
  --brass: #C9A227;
  --brass-soft: #F6EBCB;
  --brass-dark: #9A7B14;
  --line: #E5DFD2;
  --line-soft: #EEEAE0;
  --red: #B3271E;
  --red-tint: #FBECEA;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(10, 20, 36, .05), 0 4px 14px rgba(10, 20, 36, .05);
  --shadow: 0 1px 2px rgba(10, 20, 36, .06), 0 12px 32px rgba(10, 20, 36, .09);
  --shadow-lg: 0 2px 4px rgba(10, 20, 36, .06), 0 24px 56px rgba(10, 20, 36, .16);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--emerald-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: var(--emerald-tint); color: var(--emerald-deep); }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.06; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.7rem, 6.2vw, 4.5rem); font-weight: 900; }
h1 em, h2 em { font-style: italic; font-weight: 600; color: var(--emerald-dark); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); }
h3 { font-family: var(--font); font-size: 1.12rem; font-weight: 700; line-height: 1.35; letter-spacing: 0; }
p.lede { font-size: clamp(1.08rem, 2vw, 1.28rem); color: var(--ink-soft); max-width: 40rem; line-height: 1.6; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--emerald-dark); background: #fff; border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); flex: none; }
.eyebrow.gold { color: var(--brass-dark); border-color: #E8D9A8; background: #FDF8E7; }
.eyebrow.gold::before { background: var(--brass); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 780px; }
section { padding: 88px 0; }
section.tight { padding: 56px 0; }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.22, .61, .36, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition: none !important; }
}

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247, 245, 240, .88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 223, 210, .9);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; max-width: 1160px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 900; font-size: 1.28rem; color: var(--ink); letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px; background: var(--ink);
  display: grid; place-items: center; flex: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 4px 10px rgba(10,20,36,.25);
}
.brand-mark span { color: #fff; font-family: var(--font-display); font-weight: 900; font-size: 1.05rem; }
.brand em { font-style: italic; font-weight: 600; color: var(--emerald); }
.nav-links { display: flex; gap: 26px; align-items: center; font-size: .94rem; font-weight: 600; }
.nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 12px;
  font-weight: 700; font-size: 1rem; border: 1px solid transparent;
  cursor: pointer; text-align: center; line-height: 1.3;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-emerald { background: var(--emerald); color: #fff; box-shadow: 0 6px 18px rgba(14, 124, 91, .35); }
.btn-emerald:hover { background: var(--emerald-dark); box-shadow: 0 10px 24px rgba(14, 124, 91, .4); }
.btn-amber { background: linear-gradient(180deg, #D9B13B, var(--brass)); color: var(--ink); box-shadow: 0 6px 18px rgba(201, 162, 39, .35); }
.btn-amber:hover { filter: brightness(1.06); }
.btn-ghost { background: #fff; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: .92rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 84px 0 88px;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(14, 124, 91, .14), transparent 60%),
    radial-gradient(700px 480px at -8% 108%, rgba(201, 162, 39, .12), transparent 55%),
    linear-gradient(180deg, #FBF9F4 0%, var(--paper) 100%);
}
.hero::after { /* subtle grain, CSS only */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
@media (max-width: 1020px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } .hero { padding: 60px 0 64px; } }
.hero h1 { margin: .2rem 0 0; }
.hero h1 .u-brass {
  background: linear-gradient(transparent 62%, rgba(201, 162, 39, .45) 62%, rgba(201, 162, 39, .45) 96%, transparent 96%);
}
.hero p.lede { margin: 22px 0 30px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-proof { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-proof div b { font-family: var(--font-display); font-size: 1.7rem; font-weight: 900; display: block; line-height: 1; letter-spacing: -.02em; }
.hero-proof div b i { font-style: normal; color: var(--brass-dark); }
.hero-proof div span { font-size: .85rem; color: var(--ink-mute); font-weight: 600; }
.hero-note { margin-top: 18px; font-size: .92rem; color: var(--ink-mute); }
.hero-note strong { color: var(--ink); }
.tick-list { list-style: none; margin-top: 20px; display: grid; gap: 9px; }
.tick-list li { display: flex; gap: 11px; font-size: .99rem; color: var(--ink-soft); }
.tick-list li svg { flex: none; margin-top: 3px; }

/* ---------- Before / After drag slider ---------- */
.compare-wrap { position: relative; }
.compare {
  position: relative; border-radius: 22px; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  --pos: 50%;
  cursor: ew-resize; touch-action: none; user-select: none; -webkit-user-select: none;
}
.compare-head { display: flex; gap: 8px; align-items: center; padding: 13px 18px; border-bottom: 1px solid var(--line-soft); background: #fff; position: relative; z-index: 3; }
.compare-head .dot { width: 10px; height: 10px; border-radius: 50%; background: #DCD5C6; }
.compare-head .dot:first-child { background: var(--emerald); }
.compare-head span { font-size: .8rem; color: var(--ink-mute); margin-left: 6px; font-weight: 600; }
.compare-stage { position: relative; }
.compare-layer { padding: 24px; }
.compare-after { position: relative; }
.compare-before {
  position: absolute; inset: 0; background: #fff; z-index: 2;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 4;
  width: 2px; margin-left: -1px; background: #fff;
  box-shadow: 0 0 0 1px rgba(10, 20, 36, .18);
  outline: none;
}
.compare-handle:focus-visible .compare-knob { box-shadow: 0 0 0 4px rgba(14, 124, 91, .35), 0 8px 20px rgba(10, 20, 36, .3); }
.compare-knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 20px rgba(10, 20, 36, .35);
  border: 2px solid #fff;
}
.compare-knob svg { width: 22px; height: 22px; }
.compare-label {
  position: absolute; top: 14px; z-index: 5;
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; pointer-events: none;
}
.cl-before { left: 14px; background: var(--red-tint); color: var(--red); }
.cl-after { right: 14px; background: var(--emerald-tint); color: var(--emerald-dark); }
.compare-hint { text-align: center; font-size: .84rem; color: var(--ink-mute); margin-top: 14px; font-weight: 600; }
.float-card {
  position: absolute; z-index: 6; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-lg); padding: 12px 16px;
  display: flex; align-items: center; gap: 11px;
}
.float-card b { font-family: var(--font-display); font-size: 1.15rem; font-weight: 900; display: block; line-height: 1.1; }
.float-card span { font-size: .8rem; color: var(--ink-mute); font-weight: 600; line-height: 1.3; display: block; }
.float-card .fic { flex: none; }
.fc-1 { left: -22px; bottom: 64px; }
.fc-2 { right: -14px; top: -18px; }
@media (max-width: 1020px) { .fc-1 { left: 6px; } .fc-2 { right: 6px; } }

/* Listing card (inside slider) */
.listing-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 900; letter-spacing: -.01em; }
.listing-cat { color: var(--ink-mute); font-size: .92rem; margin-top: 3px; }
.stars { display: flex; align-items: center; gap: 7px; margin: 10px 0; font-size: .95rem; font-weight: 600; }
.stars .star { color: var(--brass-dark); letter-spacing: 1px; }
.stars .star.dim { color: #DCD5C6; }
.listing-meta { font-size: .93rem; color: var(--ink-soft); display: grid; gap: 5px; }
.listing-meta .missing { color: var(--red); font-weight: 600; }
.listing-meta .present { color: var(--emerald-dark); font-weight: 600; }
.mock-photo {
  height: 104px; border-radius: 12px; margin: 16px 0 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: .92rem; font-weight: 700; text-align: center; padding: 10px;
}
.mock-photo small { font-weight: 500; opacity: .85; font-size: .82rem; }
.mock-photo.empty { background: repeating-linear-gradient(45deg, #F1EDE4, #F1EDE4 12px, #EAE4D8 12px, #EAE4D8 24px); color: var(--ink-mute); border: 1px dashed #CFC7B8; }
.mock-photo.full { background: linear-gradient(135deg, var(--emerald), #159A75); color: #fff; }
.mock-tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.tag-bad { background: var(--red-tint); color: var(--red); }
.tag-good { background: var(--emerald-tint); color: var(--emerald-dark); }
.mock-caption { font-size: .82rem; color: var(--ink-mute); text-align: center; margin-top: 12px; }

/* ---------- Section scaffolding ---------- */
.section-head { max-width: 700px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }
.section-head h2 { margin-bottom: 14px; }
.section-kicker { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 18px; display: block; }

/* ---------- Stat band ---------- */
.stats { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.stats::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(640px 300px at 85% -20%, rgba(14, 124, 91, .35), transparent 60%);
}
.stats .wrap { position: relative; }
.stats h2 { color: #fff; }
.stats .lede { color: #C2CFDD; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
@media (max-width: 760px) { .stat-grid { grid-template-columns: 1fr; } }
.stat {
  background: linear-gradient(180deg, #152A45, #101F33);
  border: 1px solid #26394F; border-radius: var(--radius); padding: 30px 28px;
  transition: transform .25s ease, border-color .25s ease;
}
.stat:hover { transform: translateY(-3px); border-color: #3A5170; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.6rem, 4.5vw, 3.4rem); font-weight: 900; color: #fff; line-height: 1; letter-spacing: -.02em; }
.stat .num i { font-style: normal; color: var(--brass); }
.stat p { color: #C2CFDD; margin-top: 12px; font-size: .99rem; }
.stat-source { margin-top: 30px; font-size: .85rem; color: #8CA0B5; }
.stat-source a { color: #B9C9DA; }

/* ---------- Feature cards (what's included) ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 1020px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card .step-num {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--emerald-tint); color: var(--emerald-dark); font-family: var(--font-display);
  font-weight: 900; font-size: 1.05rem; margin-bottom: 16px;
}
.fic {
  width: 46px; height: 46px; border-radius: 13px; background: var(--emerald-tint);
  display: grid; place-items: center; margin-bottom: 16px; color: var(--emerald-dark);
}
.fic svg { width: 23px; height: 23px; }
.fic.brass { background: var(--brass-soft); color: var(--brass-dark); }
.check-list { list-style: none; display: grid; gap: 10px; margin-top: 12px; }
.check-list li { display: flex; gap: 10px; color: var(--ink-soft); font-size: .98rem; }
.check-list li svg { flex: none; margin-top: 4px; }
.cross-list { list-style: none; display: grid; gap: 12px; margin-top: 4px; }
.cross-list li { display: flex; gap: 11px; color: var(--ink-soft); font-size: .99rem; }
.cross-list li svg { flex: none; margin-top: 4px; }

/* ---------- Steps timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.steps::before {
  content: ""; position: absolute; top: 47px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, var(--emerald), var(--brass), var(--emerald));
  opacity: .35; border-radius: 2px;
}
@media (max-width: 760px) { .steps::before { display: none; } }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step .step-num {
  position: relative; z-index: 1;
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 900; font-size: 1.3rem;
  margin-bottom: 18px; box-shadow: 0 8px 18px rgba(10, 20, 36, .25);
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1060px; margin: 44px auto 0; align-items: stretch; }
@media (max-width: 1020px) { .price-grid { grid-template-columns: 1fr; max-width: 560px; } }
.price-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: 32px 30px; box-shadow: var(--shadow-sm); position: relative;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.featured { border: 2px solid var(--emerald); box-shadow: var(--shadow-lg); }
.price-card .flag {
  position: absolute; top: -14px; left: 24px;
  font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.flag-brass { background: linear-gradient(180deg, #D9B13B, var(--brass)); color: var(--ink); }
.flag-emerald { background: var(--emerald); color: #fff; }
.flag-neutral { background: #EFECE5; color: var(--ink-mute); }
.price-card h3 { font-family: var(--font-display); font-size: 1.35rem; }
.price { font-family: var(--font-display); font-size: 3.4rem; font-weight: 900; line-height: 1; margin: 14px 0 4px; letter-spacing: -.02em; }
.price small { font-family: var(--font); font-size: 1rem; font-weight: 600; color: var(--ink-mute); letter-spacing: 0; }
.price-strike { color: var(--ink-mute); text-decoration: line-through; font-weight: 600; }
.price-note { font-size: .9rem; color: var(--ink-mute); margin-top: 16px; }
.price-card .btn { margin-top: auto; }
.price-card .cta-wrap { margin-top: 24px; }

/* ---------- FAQ accordion (JS) ---------- */
.faq-list { max-width: 780px; margin: 40px auto 0; display: grid; gap: 12px; }
.acc-item { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; }
.acc-item.open { border-color: #CBD8CF; box-shadow: var(--shadow-sm); }
.acc-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; background: none; border: 0; cursor: pointer; text-align: left;
  font: inherit; font-size: 1.02rem; font-weight: 700; color: var(--ink);
}
.acc-btn:hover { color: var(--emerald-dark); }
.acc-btn .chev { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--emerald-tint); color: var(--emerald-dark); display: grid; place-items: center; transition: transform .3s ease, background .2s ease; }
.acc-item.open .acc-btn .chev { transform: rotate(180deg); background: var(--emerald); color: #fff; }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-panel-inner { padding: 0 24px 22px; color: var(--ink-soft); font-size: .99rem; }
.acc-panel-inner p + p { margin-top: 10px; }

/* ---------- Trust band / CTA band ---------- */
.trust-band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band {
  background:
    radial-gradient(700px 340px at 80% 0%, rgba(14, 124, 91, .5), transparent 60%),
    radial-gradient(500px 260px at 8% 110%, rgba(201, 162, 39, .28), transparent 55%),
    var(--ink);
  color: #fff; text-align: center;
}
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); }
.cta-band .lede { color: #C2CFDD; margin: 16px auto 0; }
.cta-band .btn { margin-top: 30px; }
.cta-band .small-note { margin-top: 16px; color: #8CA0B5; font-size: .9rem; }

/* ---------- Form ---------- */
.form-section { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.form-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(560px 300px at 50% -10%, rgba(14, 124, 91, .4), transparent 65%);
}
.form-section .wrap { position: relative; }
.form-section h2 { color: #fff; }
.form-section .lede { color: #C2CFDD; }
.form-card { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 36px; max-width: 660px; margin: 0 auto; }
.form-card label { display: block; font-weight: 700; font-size: .95rem; margin: 20px 0 7px; }
.form-card label:first-of-type { margin-top: 0; }
.form-card input, .form-card textarea {
  width: 100%; padding: 13px 15px; border: 1px solid #CFC8B8; border-radius: 11px;
  font: inherit; font-size: 1rem; background: #fff; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(14, 124, 91, .18); }
.form-card .hint { font-size: .85rem; color: var(--ink-mute); margin-top: 6px; font-weight: 400; }
.form-error { color: var(--red); font-size: .92rem; font-weight: 600; margin-top: 8px; display: none; }
.form-error.show { display: block; }
.confirm-box { display: none; margin-top: 24px; background: var(--emerald-tint); border: 1px solid #BFDCCF; border-radius: 16px; padding: 24px; }
.confirm-box.show { display: block; }
.confirm-box h3 { color: var(--emerald-dark); margin-bottom: 10px; font-size: 1.2rem; }
.confirm-box dl { display: grid; grid-template-columns: 130px 1fr; gap: 7px 14px; font-size: .95rem; margin: 14px 0 20px; }
.confirm-box dt { font-weight: 700; color: var(--ink-soft); }
.confirm-box dd { word-break: break-word; }
.confirm-box .plain { font-size: .92rem; color: var(--ink-soft); margin-top: 14px; }

/* ---------- Tables (sample audit) ---------- */
.audit-table { width: 100%; border-collapse: collapse; font-size: .95rem; margin-top: 8px; }
.audit-table th, .audit-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.audit-table th { background: var(--ink); color: #fff; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; font-family: var(--font); }
.audit-table thead th:first-child { border-radius: 14px 0 0 0; }
.audit-table thead th:last-child { border-radius: 0 14px 0 0; }
.audit-table tr:nth-child(even) td { background: #FBFAF7; }
.badge { display: inline-block; font-size: .74rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.badge-missing { background: var(--red-tint); color: var(--red); }
.badge-fixed { background: var(--emerald-tint); color: var(--emerald-dark); }
.badge-na { background: #EFECE5; color: var(--ink-mute); }
.table-scroll { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.table-scroll .audit-table { margin-top: 0; }

/* ---------- Callout ---------- */
.callout { background: var(--emerald-tint); border: 1px solid #BFDCCF; border-radius: var(--radius); padding: 24px 28px; }
.callout.warn { background: #FDF6E3; border-color: #EBD9A8; }
.callout h3 { margin-bottom: 6px; }
.callout p { color: var(--ink-soft); }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.mt { margin-top: 20px; }
.mt-lg { margin-top: 40px; }
.small { font-size: .88rem; color: var(--ink-mute); }

/* ---------- Footer ---------- */
footer.site { background: var(--ink); color: #C2CFDD; padding: 56px 0 34px; }
footer.site a { color: #E8EEF4; }
footer.site a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
footer.site h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; font-family: var(--font); }
footer.site ul { list-style: none; display: grid; gap: 9px; font-size: .95rem; }
.foot-bottom { border-top: 1px solid #26394F; margin-top: 40px; padding-top: 22px; font-size: .85rem; color: #8CA0B5; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 4.5vw, 3rem); margin-bottom: 10px; }
.legal h2 { margin: 36px 0 12px; font-size: 1.4rem; font-family: var(--font-display); }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 20px; display: grid; gap: 6px; margin: 10px 0; }
.legal p + p { margin-top: 10px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 72px 0 8px; }
.page-hero h1 { margin-bottom: 14px; }
