/* Trust Lock Financials — site styles */

:root {
  /* Brand (Concept 02, "a warmer direction") */
  --forest: #2f5a45;
  --forest-700: #3d6e56;
  --charcoal: #26312b;      /* footer */
  --accent: #47705a;        /* eyebrows/lines on light bg (AA on warm white) */
  --sage: #c5d6c2;          /* accent on dark bg */
  --sage-wash: #e4ebe0;

  /* Neutrals */
  --warm: #f7f5ef;          /* page background ("warm white") */
  --mist: #eceee6;          /* alternate section background */
  --white: #ffffff;
  --ink: #1f2823;
  --muted: #5a635d;
  --line: #e0e2d8;
  --line-strong: #c9ccbf;
  --field-border: #858c83;  /* form inputs: 3:1 against white and warm white */

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(31, 45, 37, .06), 0 8px 24px rgba(31, 45, 37, .06);
  --shadow-lg: 0 2px 4px rgba(31, 45, 37, .06), 0 24px 48px rgba(31, 45, 37, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--warm);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--forest-700); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--forest);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  font-variation-settings: "opsz" 96;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.25; }
h4 { font-size: 1.1rem; font-family: var(--font-body); letter-spacing: 0; font-weight: 700; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 62ch; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--mist { background: var(--mist); }
.section--white { background: var(--white); }
.section--forest { background: var(--forest); color: #e3ebe5; }
.section--forest h2, .section--forest h3 { color: var(--white); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

/* Eyebrow echoes the spaced "FINANCIALS" in the logo */
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section--forest .eyebrow { color: var(--sage); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 700 .98rem/1 var(--font-body); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--forest); color: var(--white); }
.btn--primary:hover { background: var(--forest-700); color: var(--white); }
.btn--ghost { border-color: var(--line-strong); color: var(--forest); background: transparent; }
.btn--ghost:hover { border-color: var(--forest); color: var(--forest); }
.btn--light { background: var(--white); color: var(--forest); }
.btn--light:hover { background: var(--sage-wash); color: var(--forest); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
/* The arrow carries its own non-breaking space, so it never wraps onto a line by itself */
.arrow::after { content: "\00a0\2192"; position: relative; left: 0; transition: left .2s; }
a:hover .arrow::after, .arrow:hover::after { left: 3px; }
.text-link { font-weight: 700; text-decoration: none; color: var(--forest); }
.more-link { margin-top: 28px; }
/* "Talk to us about…" link(s) at the end of each Services section */
.service-cta { margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 32px; }
/* "What happens next" line under the main consultation buttons */
.cta-note { margin: 12px 0 0; font-size: .88rem; color: var(--muted); }
.section--forest .cta-note { color: #b9c9be; }

/* Skip link: hidden until a keyboard user tabs to it */
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--forest); color: var(--white); padding: 10px 18px; border-radius: 999px;
  font-weight: 700; text-decoration: none; transition: top .15s;
}
.skip-link:focus { top: 12px; color: var(--white); }
#main { scroll-margin-top: 100px; } /* clear the sticky header when skipped to */
.text-link:hover { color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 245, 239, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; }
.brand img { height: 60px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.main-nav a:not(.btn):hover { color: var(--forest); border-bottom-color: var(--sage); }
.main-nav a:not(.btn)[aria-current="page"] { color: var(--forest); border-bottom-color: var(--accent); }
.main-nav .btn { min-height: 44px; padding: 0 20px; font-size: .92rem; }
.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--forest);
}
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--warm); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .main-nav.open { opacity: 1; transform: none; visibility: visible; }
  .main-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .main-nav a:not(.btn)[aria-current="page"] { border-bottom-color: var(--line); color: var(--accent); }
  .main-nav .btn { margin-top: 18px; min-height: 52px; }
  .header-inner { height: 76px; }
  .brand img { height: 50px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 8vw, 104px); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
/* Top-aligned so the tall translator card doesn't push the headline down; the nudge lines the eyebrow up with the card's title */
.hero-grid > :first-child { padding-top: clamp(0px, 2.5vw, 34px); }
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 500; }
.hero .lede { margin-bottom: 30px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; padding: 0; list-style: none; color: var(--muted); font-size: .92rem; font-weight: 600; }
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }

/* "What's going on?" translator — the site's signature: plain words → proper terms */
.translator {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line);
}
.translator-title { font-family: var(--font-display); font-size: 1.4rem; color: var(--forest); margin: 0 0 4px; font-weight: 600; }
.translator-sub { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: 600 .9rem/1.3 var(--font-body); color: var(--ink);
  background: var(--warm); border: 1.5px solid var(--line);
  padding: 9px 14px; border-radius: 999px; cursor: pointer; text-align: left;
  transition: border-color .15s, background .15s, color .15s;
}
.chip:hover { border-color: var(--line-strong); }
.chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--white); }
.translation {
  margin-top: 10px; padding: 20px; border-radius: var(--radius);
  background: var(--sage-wash); min-height: 170px;
}
.t-hint { color: var(--muted); font-size: .88rem; margin: 14px 0 0; display: flex; gap: 6px; align-items: center; }
.translation .t-area { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin: 0 0 6px; }
.translation .t-term { font-family: var(--font-display); font-size: 1.3rem; color: var(--forest); margin: 0 0 6px; line-height: 1.25; }
.translation .t-term small { display: block; font: 600 .78rem/1.4 var(--font-body); color: var(--muted); letter-spacing: .02em; margin-bottom: 2px; }
.translation .t-desc { font-size: .95rem; margin: 0 0 10px; }
.translation .text-link { font-size: .92rem; }

/* ---------- Search vs. need ---------- */
.gap-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch; }
.gap-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.gap-card.need { background: var(--forest); border-color: var(--forest); color: #e3ebe5; }
.gap-card.need h3 { color: var(--white); }
.gap-card .label { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.gap-card.need .label { color: var(--sage); }
.gap-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.gap-list li { padding: 12px 16px; border-radius: 10px; background: var(--warm); font-weight: 600; font-size: .98rem; }
.gap-card.need .gap-list li { background: rgba(255,255,255,.07); color: var(--white); }
.search-q::before { content: "“"; color: var(--accent); }
.search-q::after { content: "”"; color: var(--accent); }
.gap-bridge { display: flex; align-items: center; justify-content: center; color: var(--accent); }
.gap-bridge svg { width: 44px; height: 44px; }
@media (max-width: 820px) {
  .gap-grid { grid-template-columns: 1fr; }
  .gap-bridge svg { transform: rotate(90deg); }
}

/* ---------- Service menu (home): unnumbered, pick-any cards ---------- */
.menu { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.menu-item {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px 22px;
}
.section--white .menu-item { background: var(--warm); }
.menu-item .icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--sage-wash); color: var(--forest);
  display: grid; place-items: center; margin-bottom: 18px;
}
.menu-item .icon svg { width: 24px; height: 24px; }
.menu-item h3 { font-size: 1.18rem; margin-bottom: 6px; }
.menu-item .pro { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.menu-item p { font-size: .95rem; color: var(--muted); margin-bottom: 12px; }
.menu-item .text-link { margin-top: auto; font-size: .92rem; }
@media (max-width: 1020px) { .menu { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .menu { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .menu { grid-template-columns: 1fr; } }

/* ---------- Seal (form thank-you) ---------- */
.seal {
  width: 112px; height: 112px; border-radius: 50%;
  border: 2px solid var(--sage); display: grid; place-items: center; text-align: center;
  color: var(--sage); font-family: var(--font-display); line-height: 1;
}
.seal b { display: block; font-size: 2.4rem; font-weight: 600; }
.seal span { font: 700 .66rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; }

/* ---------- Generic cards & grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1020px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 32px); }
.section--white .card { background: var(--warm); }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--sage-wash); color: var(--forest);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card .icon svg { width: 24px; height: 24px; }
.muted { color: var(--muted); }

/* Split media block (home, about) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.check-list li::before {
  content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--sage-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f5a45' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat;
}
.section--forest .check-list li::before { background-color: rgba(197,214,194,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c5d6c2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* "By the numbers" ledger panel (home) */
.ledger {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); padding: clamp(22px, 3vw, 32px);
}
.ledger-head { display: flex; flex-direction: column-reverse; margin-bottom: 18px; gap: 4px; }
.ledger-head strong { font-family: var(--font-display); font-size: 1.25rem; color: var(--forest); font-weight: 600; }
.ledger-head span { font-size: .78rem; color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ledger-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 13px 0; border-top: 1px dashed var(--line); font-size: .95rem; }
.ledger-row span:last-child { font-weight: 700; color: var(--forest); }
.ledger-row.q span:last-child { color: var(--accent); }
.ledger-note { margin-top: 16px; font-size: .85rem; color: var(--muted); }


/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; padding-top: 26px; border-top: 2px solid var(--forest); }
.steps li::before { content: "Step " counter(step); display: block; font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.steps h3 { font-size: 1.3rem; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Software chips */
.tool-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tool-list li { padding: 10px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 700; color: var(--forest); font-size: .95rem; }
.tool-list a { text-decoration: none; color: inherit; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 20ch; margin-left: auto; margin-right: auto; }
.cta-band .lede { margin: 0 auto 30px; color: #b9c9be; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Page header (inner pages) ---------- */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); max-width: 20ch; }
.page-hero--form { padding-bottom: clamp(64px, 8vw, 104px); }
.not-found { padding-bottom: clamp(80px, 10vw, 140px); }
.not-found .btn-row { margin-top: 28px; }
.section--tight-top { padding-top: clamp(48px, 6vw, 72px); }
.section--note { padding: 32px 0; }
.fine-print { font-size: .85rem; margin: 0; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }

/* In-page service nav */
.service-index { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding: 0; list-style: none; }
.service-index a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  text-decoration: none; color: var(--forest); font-weight: 700; font-size: .9rem;
}
.service-index a:hover { border-color: var(--forest); }

/* Service detail block */
.service { scroll-margin-top: 100px; padding: clamp(56px, 7vw, 88px) 0; border-top: 1px solid var(--line); }
.service-top { display: grid; grid-template-columns: 96px 1fr; gap: 24px; margin-bottom: 36px; }
.service-icon { width: 72px; height: 72px; border-radius: 18px; background: var(--sage-wash); color: var(--forest); display: grid; place-items: center; }
.service-icon svg { width: 34px; height: 34px; }
.service-top h2 { margin-bottom: 6px; }
.service-top .aka { font-weight: 700; color: var(--accent); letter-spacing: .02em; margin-bottom: 14px; }
.service-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.col-card { border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 30px); }
.col-card.plain { background: var(--white); border: 1px solid var(--line); }
.col-card.pro { background: var(--forest); color: #e3ebe5; }
.col-card.pro h3 { color: var(--white); }
.col-card .label { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; display: block; }
.col-card.pro .label { color: var(--sage); }
.col-card h3 { font-size: 1.25rem; margin-bottom: 16px; }
.quote-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.quote-list li { padding: 11px 14px; background: var(--warm); border-radius: 10px; font-weight: 600; font-size: .96rem; }
.term-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.term-list li { font-size: .95rem; line-height: 1.55; }
.term-list b { display: block; color: var(--white); font-size: 1rem; }
.service-extra { margin-top: 24px; padding: 22px 26px; border-radius: var(--radius); background: var(--sage-wash); display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.service-extra svg { width: 26px; height: 26px; color: var(--accent); margin-top: 2px; }
.service-extra p { margin: 0; }
@media (max-width: 820px) {
  .service-top { grid-template-columns: 1fr; gap: 16px; }
  .service-cols { grid-template-columns: 1fr; }
}

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font: 600 1.15rem/1.4 var(--font-display); color: var(--forest);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font: 400 1.6rem/1 var(--font-body); color: var(--accent); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }

/* Tools page */
.tool-card h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.tool-card .tag { font: 700 .76rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); background: var(--sage-wash); padding: 6px 10px; border-radius: 999px; }
.tool-card ul { margin: 12px 0 0; padding-left: 1.1em; color: var(--muted); font-size: .95rem; }
.tool-card li { margin-bottom: 4px; }
.tool-card .tool-list { gap: 6px; margin: 2px 0 14px; padding: 0; font-size: inherit; }
.tool-card .tool-list li { margin: 0; padding: 6px 12px; font-size: .85rem; }
.grid-2 .span-2 { grid-column: 1 / -1; }
.systems-group { scroll-margin-top: 90px; }
.payroll-flow { margin-top: clamp(56px, 7vw, 80px); scroll-margin-top: 90px; }
.payroll-flow .section-head h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
@media (min-width: 821px) { .payroll-flow .steps { row-gap: 40px; } }

/* About */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.stat b { display: block; font: 600 clamp(2rem, 4vw, 2.8rem)/1 var(--font-display); color: var(--forest); }
.stat span { font-size: .9rem; color: var(--muted); }
@media (max-width: 560px) { .stat-row { grid-template-columns: 1fr; } }

/* Long-form text (privacy policy) */
.prose > * { max-width: 72ch; }
.prose h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin: 1.8em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }

/* ---------- Form ---------- */
.form-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 920px) { .form-wrap { grid-template-columns: 1fr; } }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 700; font-size: .92rem; color: var(--forest); margin-bottom: 8px; padding: 0; }
.field .req { color: var(--accent); font-weight: 600; font-size: .8rem; margin-left: 4px; }
.field .hint { display: block; font-weight: 500; color: var(--muted); font-size: .84rem; margin-top: -4px; margin-bottom: 10px; }
.field .hint--below { margin: 6px 0 0; }
.field input, .field select, .field textarea {
  width: 100%; font: 500 1rem/1.4 var(--font-body); color: var(--ink);
  background: var(--warm); border: 1.5px solid var(--field-border); border-radius: 12px;
  padding: 13px 15px; min-height: 50px; transition: border-color .15s, background .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); background: var(--white); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #b4412f; }
.error-msg { color: #b4412f; font-size: .84rem; font-weight: 600; margin-top: 6px; display: none; }
.field.has-error .error-msg { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 600px) { .check-grid { grid-template-columns: 1fr; } }
.check-grid label {
  display: flex; gap: 10px; align-items: flex-start; margin: 0;
  padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--warm);
  font-weight: 600; font-size: .92rem; color: var(--ink); cursor: pointer;
}
.check-grid input { width: 18px; height: 18px; min-height: 0; margin: 2px 0 0; accent-color: var(--forest); flex: none; }
.check-grid label:has(input:checked) { border-color: var(--forest); background: var(--white); }
.check-grid label small { font-weight: 500; color: var(--muted); font-size: .82rem; }
.form-section { padding-top: 12px; border-top: 1px solid var(--line); margin-top: 6px; }
.form-section:first-child { padding-top: 0; border-top: 0; margin-top: 0; }
.form-section h2 { font-size: 1.3rem; margin: 0; }
.form-section p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
/* Optional quote details: a closed section between the short form and the submit button */
.more-details { margin-top: 26px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--warm); }
.more-details[open] { background: var(--white); }
.more-details summary {
  list-style: none; cursor: pointer; position: relative; display: grid; gap: 4px;
  padding: 18px 56px 18px 20px; border-radius: var(--radius);
}
.more-details summary::-webkit-details-marker { display: none; }
.more-details summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sage-wash); color: var(--forest); font: 500 1.3rem/1 var(--font-body); transition: transform .2s;
}
.more-details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.more-details summary:hover .more-title { text-decoration: underline; text-underline-offset: 3px; }
.more-details summary:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.more-title { font: 600 1.08rem/1.35 var(--font-display); color: var(--forest); }
.more-sub { font-size: .84rem; font-weight: 600; color: var(--muted); }
.more-details > .form-grid { padding: 4px 20px 22px; }
@media (max-width: 600px) { .more-details summary { padding: 16px 52px 16px 16px; } .more-details > .form-grid { padding: 4px 16px 18px; } }
.form-foot { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form-foot small { color: var(--muted); font-size: .84rem; flex: 1 1 260px; }
.form-error { margin: 0 0 14px; padding: 12px 16px; border-radius: 12px; background: #FBEDEA; color: #8A2C1D; font-size: .95rem; }
.form-error a { color: inherit; font-weight: 600; }
.form-error[hidden] { display: none; }
.btn[disabled] { opacity: .65; cursor: wait; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success .seal { margin: 0 auto 20px; }
.expect { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; }
.expect li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.expect .n { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--forest); display: grid; place-items: center; font: 600 1rem/1 var(--font-display); color: var(--forest); }
.expect b { display: block; color: var(--forest); }
.expect p { margin: 0; color: var(--muted); font-size: .95rem; }
.contact-alt { margin: 28px 0 0; color: var(--muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #b9c9be; padding: 72px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid h4 { color: var(--white); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { color: #e3ebe5; text-decoration: none; display: inline-block; } /* inline-block: full line height = bigger tap target */
.footer-grid a:hover { color: var(--sage); }
.footer-brand img { height: 68px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.footer-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; color: #93a398; display: grid; gap: 10px; }
.footer-legal p { margin: 0; max-width: 110ch; }
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Preview-only placeholder marker */
.todo { background: #fff3c4; color: #6b5200; border-radius: 4px; padding: 0 4px; font-weight: 600; }

/* Print (for content review PDFs) */
.print-only { display: none; }
@media print {
  @page { margin: 12mm; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .site-header { position: static; backdrop-filter: none; }
  .nav-toggle, .translation, .t-hint { display: none; }
  .print-only { display: block; }
  .translator-all { margin-top: 18px; display: grid; gap: 10px; }
  .translator-all > div { padding: 14px 16px; border-radius: var(--radius); background: var(--sage-wash); break-inside: avoid; }
  .translator-all p { margin: 0 0 4px; }
  .faq details::details-content { content-visibility: visible; display: block; }
  .faq summary::after { display: none; }
  .skip-link { display: none; }
  .card, .col-card, .menu-item, .gap-card, .ledger, .faq details, .steps li { break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }
}

/* Reveal on scroll. Only hidden once main.js has run (it adds .js to <html>),
   so if the script never loads, every section simply stays visible. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}
