/* Carlisle Accounting: shared styles for every page on the site.
   Edit colors here. Everything on both pages reads from these tokens. */

:root {
  --navy: #1E3A5F;        /* primary: buttons, headings, dark bands */
  --navy-deep: #142A46;   /* footer, darkest band */
  --navy-soft: #2F5480;   /* hover */
  --sky: #E8EEF5;         /* light blue band background */
  --sky-2: #D8E2EE;       /* borders on blue bands */
  --paper: #F8F6F1;       /* page background, warm off-white */
  --white: #FFFFFF;
  --ink: #1B2430;         /* body text */
  --muted: #566270;       /* secondary text */
  --brass: #7A5B1E;       /* accent: eyebrows, small highlights */
  --brass-soft: #D2B15E;  /* accent on dark backgrounds */
  --line: #D6D9DD;
  --focus: #C08A2E;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;

  --max: 1120px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 8px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--navy); text-underline-offset: 0.15em; }
a:hover { color: var(--navy-soft); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
  color: var(--navy-deep);
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6vw, 4rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(2rem, 4.2vw, 2.75rem); }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0; }
p + p { margin-top: 1em; }
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--muted); max-width: 38em; }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.9rem;
}
.skip {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--navy); color: var(--white);
  padding: 0.6rem 1rem; border-radius: var(--radius); z-index: 100;
}
.skip:focus { top: 1rem; }

.wrap { width: min(var(--max), 100% - 2 * var(--pad)); margin-inline: auto; }
section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { max-width: 20ch; }
.section-head .lede { margin-top: 1rem; }
.section-head.center { text-align: center; }
.section-head.center h2, .section-head.center .lede { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--sans); font-weight: 600; font-size: 1.05rem;
  padding: 0.9rem 1.5rem; border-radius: var(--radius);
  text-decoration: none; border: 2px solid transparent; white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-soft); border-color: var(--navy-soft); color: var(--white); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--sky); color: var(--navy-deep); }
.btn-light { background: var(--white); color: var(--navy-deep); border-color: var(--white); }
.btn-light:hover { background: var(--paper); color: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.arrow { display: inline-block; transition: transform 0.15s ease; }
a:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 246, 241, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 4.5rem;
}
.wordmark {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  color: var(--navy-deep); text-decoration: none; letter-spacing: -0.005em;
  white-space: nowrap; display: inline-flex; align-items: center; gap: 0.55rem;
}
.wordmark .mark {
  width: 1.9rem; height: 1.9rem; border-radius: 6px; background: var(--navy);
  color: var(--white); display: grid; place-items: center;
  font-size: 1.15rem; font-weight: 600; line-height: 1;
}
.nav-links { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 0.98rem; color: var(--ink); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--navy); text-decoration: underline; }
.header-cta { display: flex; align-items: center; gap: 0.75rem; }
.header-cta .btn { padding: 0.6rem 1.05rem; font-size: 0.95rem; }
.header-cta .btn .long { display: inline; }
.header-cta .btn .short { display: none; }
.menu-btn {
  display: none; background: none; border: 2px solid var(--line); border-radius: var(--radius);
  padding: 0.5rem 0.7rem; cursor: pointer; color: var(--ink); font: inherit; font-weight: 600;
  align-items: center; gap: 0.4rem;
}
.menu-btn svg { width: 1.2rem; height: 1.2rem; flex: 0 0 auto; min-width: 1.2rem; }

/* The nav collapses to the Menu button below 1120px so the header never overflows. */
@media (min-width: 1121px) and (max-width: 1240px) { .nav-links { gap: 1.1rem; } }
@media (max-width: 1120px) {
  .menu-btn { display: inline-flex; }
  .header-cta .btn .long { display: none; }
  .header-cta .btn .short { display: inline; }
  .header-inner { gap: 0.6rem; }
  .header-cta { gap: 0.5rem; }
  .header-cta .btn { padding: 0.55rem 0.8rem; font-size: 0.9rem; }
  .wordmark { font-size: 1.2rem; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--pad) 1rem;
  }
  .site-nav.open { display: block; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links li:last-child a { border-bottom: 0; }
}
@media (max-width: 480px) {
  .menu-btn { padding: 0.5rem 0.55rem; }
  .menu-btn .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem); }
.hero-grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; } }
.hero h1 { max-width: 14ch; }
.hero .lede { margin-top: 1.4rem; font-size: 1.25rem; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; align-items: center; }
.hero-note { margin-top: 1.25rem; font-size: 0.95rem; color: var(--muted); max-width: 40em; }
.hero-photo { position: relative; margin: 0; width: 100%; max-width: 400px; justify-self: center; }
.hero-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px;
  box-shadow: 0 30px 60px -30px rgba(20, 42, 70, 0.55);
}
.hero-photo::before {
  content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 2px solid var(--brass-soft); border-radius: 12px; z-index: -1;
}
.hero-photo figcaption {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(255,255,255,0.92); color: var(--navy-deep);
  padding: 0.45rem 0.8rem; border-radius: 6px; font-size: 0.9rem; font-weight: 600;
}
@media (max-width: 899px) { .hero-photo { max-width: 340px; justify-self: start; } .hero-photo::before { inset: 1rem -0.75rem -0.75rem 1rem; } }

/* ---------- Problem strip ---------- */
.band { background: var(--sky); }
.band-dark { background: var(--navy-deep); color: var(--white); }
.band-dark .eyebrow { color: var(--brass-soft); }
.band-dark h2, .band-dark h3 { color: var(--white); }
.band-dark .lede { color: #CBD5E1; }
.problem-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .problem-grid { grid-template-columns: repeat(3, 1fr); } }
.problem-grid article { border-top: 3px solid var(--navy); padding-top: 1rem; }
.problem-grid h3 { margin-bottom: 0.4rem; font-size: 1.25rem; }
.problem-grid p { font-size: 1rem; }
.thesis {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  font-family: var(--serif); font-size: clamp(1.4rem, 2.8vw, 1.85rem); line-height: 1.3;
  color: var(--navy-deep); max-width: 28em; border-left: 4px solid var(--brass-soft); padding-left: 1.25rem;
}

/* ---------- Family section ---------- */
.family-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .family-grid { grid-template-columns: 0.9fr 1.1fr; } }
.family-text p { max-width: 52ch; }
.family-portrait, .family-wide { margin: 0; position: relative; }
.family-portrait { width: 100%; max-width: 360px; justify-self: center; }
.family-portrait img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 12px; }
.family-wide { margin: clamp(2rem, 5vw, 3rem) auto 0; max-width: 760px; }
.family-wide img { width: 100%; height: auto; border-radius: 12px; }
.family-portrait figcaption, .family-wide figcaption {
  position: absolute; left: 0.8rem; bottom: 0.8rem;
  background: rgba(20, 42, 70, 0.85); color: var(--white);
  padding: 0.3rem 0.6rem; border-radius: 5px; font-size: 0.82rem; font-weight: 600;
}
.people { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 1.75rem; }
@media (min-width: 560px) { .people { grid-template-columns: 1fr 1fr 1fr; } }
.people div { border-top: 2px solid var(--navy); padding-top: 0.7rem; }
.people strong { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--navy-deep); font-weight: 600; }
.people span { display: block; color: var(--muted); font-size: 0.95rem; line-height: 1.45; margin-top: 0.2rem; }

/* ---------- Fund accounting ---------- */
.fund-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .fund-grid { grid-template-columns: 1.05fr 0.95fr; } }
.fund-cols { display: grid; gap: 1.5rem; grid-template-columns: 1fr; margin-top: 2rem; }
@media (min-width: 640px) { .fund-cols { grid-template-columns: 1fr 1fr; } }
.fund-col { border-top: 1px solid rgba(255,255,255,0.25); padding-top: 1rem; }
.fund-col h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.fund-col p { color: #CBD5E1; font-size: 1rem; }
.fund-col ul { margin: 0.6rem 0 0; padding-left: 1.2rem; color: #CBD5E1; font-size: 1rem; }
.fund-col li + li { margin-top: 0.35rem; }
.pile {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius); padding: 1.25rem; font-variant-numeric: tabular-nums;
}
.pile h3 { font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-soft); font-weight: 600; margin-bottom: 0.9rem; }
.pile-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; border-bottom: 1px solid rgba(255,255,255,0.12); font-size: 0.98rem; }
.pile-row:last-of-type { border-bottom: 0; }
.pile-row.total { font-weight: 600; border-top: 1px solid rgba(255,255,255,0.35); margin-top: 0.3rem; padding-top: 0.7rem; }
.pile-row.spend { color: var(--brass-soft); font-weight: 600; }
.pile + .pile { margin-top: 1rem; }
.pile .wrong { color: #F2B8A8; }
.pile .note { font-size: 0.88rem; color: #B7C2D0; margin-top: 0.8rem; }

/* ---------- Included checklist (short version, home page) ---------- */
.check-grid { display: grid; gap: 0.9rem 2.5rem; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .check-grid { grid-template-columns: 1fr 1fr; } }
.check-grid li { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.6rem; align-items: start; padding: 0.35rem 0; }
.check-grid li svg { width: 1.6rem; height: 1.6rem; color: var(--navy); margin-top: 0.1rem; }
.check-grid strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--navy-deep); }
.check-grid span { display: block; color: var(--muted); font-size: 0.98rem; line-height: 1.45; margin-top: 0.15rem; }
.more-link { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* ---------- Services (full cards, what-to-expect page) ---------- */
.services-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .services-grid { grid-template-columns: 1fr 1fr 1fr; } }
.service {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.45rem; display: flex; flex-direction: column; gap: 0.6rem;
}
.service .icon { width: 2rem; height: 2rem; color: var(--navy); }
.service .icon svg { width: 100%; height: 100%; }
.service h3 { font-size: 1.2rem; }
.service p { font-size: 1rem; }

/* ---------- Pricing ---------- */
.tiers { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-top: 0.5rem; }
@media (min-width: 900px) { .tiers { grid-template-columns: 1fr 1.1fr 1fr; align-items: stretch; } }
.tier {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.7rem; display: flex; flex-direction: column; gap: 0.8rem; position: relative;
}
.tier.common { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy), 0 24px 40px -30px rgba(20, 42, 70, 0.5); }
.tier .flag {
  position: absolute; top: -0.8rem; left: 1.25rem;
  background: var(--navy); color: var(--white); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 4px;
}
.tier h3 { font-size: 1.45rem; }
.tier .fits { color: var(--muted); font-size: 1rem; }
.tier .approx { margin-top: 0.4rem; border-top: 1px solid var(--line); padding-top: 0.9rem; }
.tier .approx small { display: block; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.tier .approx strong { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; color: var(--navy-deep); font-variant-numeric: tabular-nums; }
.tier .approx span { color: var(--muted); font-size: 0.98rem; }
.tier ul { margin: 0; padding-left: 1.15rem; font-size: 0.98rem; }
.tier li + li { margin-top: 0.3rem; }
.pricing-notes { margin-top: 2rem; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .pricing-notes { grid-template-columns: 1fr 1fr; } }
.pricing-notes article { background: var(--sky); border-radius: var(--radius); padding: 1.25rem 1.35rem; }
.pricing-notes h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.pricing-notes p { font-size: 1rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; border-top: 3px solid var(--navy); padding-top: 1rem; }
.steps li::before {
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-family: var(--serif); font-size: 1.2rem; font-weight: 600; margin-bottom: 0.75rem;
}
.steps h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.steps p { font-size: 1rem; }
.steps .when { display: block; margin-top: 0.6rem; font-size: 0.9rem; color: var(--brass); font-weight: 600; }

/* ---------- Month timeline (what-to-expect) ---------- */
.month { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .month { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .month { grid-template-columns: repeat(5, 1fr); } }
.month div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.15rem; }
.month strong { display: block; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass); margin-bottom: 0.4rem; }
.month p { font-size: 0.98rem; }

/* ---------- Side-by-side text + photo ---------- */
.split { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } .split.rev > :first-child { order: 2; } }
.split img { width: 100%; border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; }
.split figure { margin: 0; position: relative; }
.split figcaption { margin-top: 0.6rem; font-size: 0.9rem; color: var(--muted); }
.split p { max-width: 52ch; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 860px) { .about-grid { grid-template-columns: 340px 1fr; } }
.about-photos { display: grid; gap: 0.9rem; }
.about-photos img { width: 100%; border-radius: 10px; object-fit: cover; }
.about-photos .main { aspect-ratio: 4 / 5; }
.about-text p { max-width: 58ch; }
.about-text .sig { font-family: var(--serif); font-size: 1.35rem; color: var(--navy-deep); margin-top: 1.4rem; }
.about-text .sig small { display: block; font-family: var(--sans); font-size: 0.95rem; color: var(--muted); margin-top: 0.15rem; }
.creds { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 1.75rem; }
@media (min-width: 640px) { .creds { grid-template-columns: 1fr 1fr 1fr; } }
.cred {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.05rem; display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.8rem; align-items: center;
}
.cred .badge {
  width: 2.4rem; height: 2.4rem; border-radius: 6px; display: grid; place-items: center;
  background: var(--sky); color: var(--navy);
}
.cred .badge svg { width: 1.4rem; height: 1.4rem; }
.cred .badge img { width: 2.4rem; height: 2.4rem; object-fit: contain; border-radius: 6px; }
.cred strong { display: block; font-size: 0.98rem; color: var(--navy-deep); line-height: 1.25; }
.cred span { display: block; font-size: 0.86rem; color: var(--muted); line-height: 1.4; margin-top: 0.2rem; }
.cred.psu .badge { background: #1E407C; color: var(--white); }
.cred.qbo .badge { background: #2CA01C; color: var(--white); }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--sky-2); }
.faq-list details { border-bottom: 1px solid var(--sky-2); }
.faq-list summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 0; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--navy-deep);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: 0 0 auto; width: 0.85rem; height: 0.85rem;
  border-right: 2px solid var(--brass); border-bottom: 2px solid var(--brass);
  transform: rotate(45deg); transition: transform 0.2s ease; margin-right: 0.3rem;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); }
.faq-list summary:hover { color: var(--navy); }
.faq-list .answer { padding: 0 0 1.5rem; max-width: 65ch; }
.faq-list .answer p + p { margin-top: 0.8em; }

/* ---------- Final CTA ---------- */
.cta { background: var(--navy); color: var(--white); }
.cta .eyebrow { color: var(--brass-soft); }
.cta h2 { color: var(--white); }
.cta .lede { color: #CBD5E1; }
.cta-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .cta-grid { grid-template-columns: 0.9fr 1.1fr; } }
.cta ul { margin: 1.25rem 0 0; padding-left: 1.2rem; color: #E2E8F0; }
.cta li + li { margin-top: 0.4rem; }
.cta-actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.cta-actions a:not(.btn) { color: var(--white); }
.cta-embed { scroll-margin-top: 5.5rem; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,0.3); }
.calendly-inline-widget { min-width: 300px; height: 0; transition: height 0.2s ease; }
.cta-embed.loaded .calendly-inline-widget { height: 700px; }
.cta-fallback { padding: 1.5rem; color: var(--ink); }
.cta-fallback p { max-width: 45ch; }
.cta-fallback .btn { margin-top: 1rem; }
.cta-embed.loaded .cta-fallback { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #B7C2D0; padding-block: 3rem 2.25rem; font-size: 0.95rem; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.site-footer .wordmark { color: var(--white); font-size: 1.35rem; }
.site-footer h3 { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 0.6rem; }
.site-footer p { margin: 0; }
.site-footer p + p { margin-top: 0.4rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.18); margin-top: 2.25rem; padding-top: 1.25rem; font-size: 0.88rem; color: #94A3B8; }
.footer-bottom p + p { margin-top: 0.5rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem); background: var(--sky); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.25rem); max-width: 18ch; }
.page-hero .lede { margin-top: 1rem; }
.crumb { font-size: 0.9rem; color: var(--muted); margin-bottom: 1rem; }
.crumb a { color: var(--muted); }

/* ---------- Reveal (only when JS runs and motion is allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
  .js-reveal .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Long buttons wrap on small phones ---------- */
@media (max-width: 560px) {
  .hero-actions .btn, .cta-actions .btn, .cta-fallback .btn, .more-link .btn, .page-actions .btn { white-space: normal; text-align: center; justify-content: center; }
}

/* ---------- Church treasurer service page ---------- */
.signs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .signs { grid-template-columns: 1fr 1fr; } }
.signs li {
  background: var(--white); border: 1px solid var(--sky-2); border-left: 4px solid var(--brass-soft);
  border-radius: var(--radius); padding: 1rem 1.15rem; font-size: 1.05rem;
}

.plate-wrap { max-width: 860px; }
.plate {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.plate th, .plate td { text-align: left; vertical-align: top; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--line); }
.plate tbody tr:last-child td { border-bottom: 0; }
.plate thead th {
  background: var(--navy); color: var(--white); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.plate td.who { width: 34%; font-weight: 600; color: var(--navy); }
.plate tr.theirs td { background: var(--sky); }
.plate tr.theirs td.who { color: var(--brass); }
@media (max-width: 480px) { .plate th, .plate td { padding: 0.75rem 0.8rem; font-size: 0.98rem; } }

.tier .incl { font-size: 1rem; }
.tier .fits b, .tier .incl b { color: var(--ink); font-weight: 600; }

@media (min-width: 1000px) { .steps.five { grid-template-columns: repeat(5, 1fr); } }
.remote-note { margin-top: 2rem; font-family: var(--serif); font-size: 1.3rem; color: var(--navy-deep); }

.check-grid.on-dark li svg { color: var(--brass-soft); }
.check-grid.on-dark strong { color: var(--white); }
.check-grid.on-dark span { color: #CBD5E1; }

/* ---------- Simple pages (thanks, 404) ---------- */
.page-simple { padding-block: clamp(4rem, 10vw, 7rem); }
.page-simple h1 { font-size: clamp(2.4rem, 6vw, 3.5rem); max-width: 16ch; }
.page-simple .lede { margin-top: 1.2rem; color: var(--ink); }
.page-simple p + p { margin-top: 1rem; }
.page-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; align-items: center; }
/* Official Intuit ProAdvisor tier badge: keep original colors and aspect ratio (Intuit rules). */
.cred .pa-badge { width: 64px; height: 64px; flex: none; object-fit: contain; }
