/* Fonts are self-hosted (SIL Open Font License), so no visitor data is sent to Google */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/manrope-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 500; font-display: swap; src: url("fonts/fraunces-latin-500-italic.woff2") format("woff2"); }
/* Burlingham Financial Services: bookkeeping site v3
   Layout: one 1180px column, generous section rhythm, white panels only where content is a distinct object.
   Palette: Soft Navy & Clay. Soft navy for actions, muted clay accent, warm cream ground, off-white panels, dark grey text. */
:root {
  --bg: #f6f2ee; --bg-deep: #eee7e1; --surface: #fcfaf8; --ink: #2d3340; --ink-soft: #434957; --muted: #666a74; --line: #e5ddd6;
  --brand: #36475f; --brand-hover: #2c3a4e; --brand-soft: #e7eaf0; --sage: #9a563e; --sage-soft: #f4e4dc; --on-brand: #ffffff;
  --shadow-sm: 0 1px 2px rgba(45, 51, 64, 0.05);
  --shadow: 0 16px 36px -26px rgba(45, 51, 64, 0.30);
  --radius: 16px;
  --display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14171d; --bg-deep: #0f1217; --surface: #1b1f27; --ink: #e8e4e0; --ink-soft: #cfcac5; --muted: #a7a7ad; --line: #2e333d;
    --brand: #a9bad6; --brand-hover: #c0cde3; --brand-soft: #222b3a; --sage: #e2a58c; --sage-soft: #33241f;
    --on-brand: #141a26; --shadow-sm: none; --shadow: 0 18px 40px -24px rgba(0,0,0,.7); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #14171d; --bg-deep: #0f1217; --surface: #1b1f27; --ink: #e8e4e0; --ink-soft: #cfcac5; --muted: #a7a7ad; --line: #2e333d;
    --brand: #a9bad6; --brand-hover: #c0cde3; --brand-soft: #222b3a; --sage: #e2a58c; --sage-soft: #33241f;
    --on-brand: #141a26; --shadow-sm: none; --shadow: 0 18px 40px -24px rgba(0,0,0,.7); color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; text-wrap: balance; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); font-weight: 750; letter-spacing: -0.02em; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--brand); color: var(--on-brand); padding: 0.6rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; top: 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 780px; }
section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.tight-top { padding-top: 0; }
.band { background: var(--bg-deep); }
.eyebrow { font-family: var(--display); font-size: 0.78rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage); }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 60ch; line-height: 1.6; }
.stack { display: grid; gap: 1rem; align-content: start; }
.stack-lg { display: grid; gap: 1.5rem; align-content: start; }
.section-head { display: grid; gap: 0.7rem; max-width: 680px; margin-bottom: 2.2rem; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.ph { background: color-mix(in srgb, var(--sage) 20%, transparent); padding: 0 0.3rem; border-radius: 4px; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.check-list { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 0.6rem; align-items: start; }
.check-list li::before { content: ""; width: 20px; height: 20px; margin-top: 0.2rem; border-radius: 50%; background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23457c69' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }

/* Draft notice */
.draft-bar { background: var(--sage-soft); color: var(--ink); font-size: 0.84rem; border-bottom: 1px solid var(--line); }
.draft-bar .wrap { padding-block: 0.45rem; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.8rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.04rem; line-height: 1.1; letter-spacing: -0.01em; }
.brand small { display: block; font-weight: 600; font-size: 0.74rem; color: var(--muted); font-family: var(--body); letter-spacing: 0; margin-top: 0.15rem; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.05em; flex: none; }
.nav { display: flex; flex-wrap: wrap; gap: 0.3rem 1.25rem; align-items: center; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 0.96rem; font-family: var(--display); }
.nav a:hover { color: var(--brand); }
.nav a[aria-current="page"] { color: var(--brand); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.nav .btn { color: var(--on-brand); text-decoration: none; }
.nav-toggle { display: none; }
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 10px; padding: 0.45rem 0.85rem; font: inherit; font-weight: 600; cursor: pointer; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; padding-block: 0.6rem 0.4rem; gap: 0.9rem; }
  .nav.open { display: flex; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.8rem 1.35rem; border-radius: 999px; font-weight: 700; font-family: var(--display); font-size: 0.96rem; text-decoration: none; border: 2px solid var(--brand); background: var(--brand); color: var(--on-brand); cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: var(--on-brand); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--brand); }
.btn.ghost:hover { background: var(--brand-soft); color: var(--brand); }
.btn.sm { padding: 0.55rem 1rem; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.text-link { font-family: var(--display); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Hero */
.hero { padding-block: clamp(3rem, 6vw, 5rem) clamp(3rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand-soft) 90%, transparent), transparent); z-index: 0; pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; position: relative; z-index: 1; }
.hero-copy { display: grid; gap: 1.4rem; min-width: 0; }
.audience-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; max-width: 560px; }
@media (max-width: 520px) { .audience-ctas { grid-template-columns: 1fr; } }
.aud-btn { display: grid; gap: 0.15rem; padding: 0.9rem 1.1rem; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s, transform .15s; }
.aud-btn small { font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.aud-btn strong { font-family: var(--display); font-size: 1.02rem; display: flex; justify-content: space-between; gap: 0.5rem; }
.aud-btn:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.aud-btn.primary { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.aud-btn.primary small { color: color-mix(in srgb, var(--on-brand) 80%, transparent); }
.aud-btn.primary:hover { color: var(--on-brand); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Month-end tracker (hero visual) */
.tracker { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 1.4rem; display: grid; gap: 1rem; min-width: 0; }
.tracker-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.tracker-head strong { font-family: var(--display); font-size: 1.05rem; }
.pill { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; font-weight: 700; font-family: var(--display); padding: 0.25rem 0.65rem; border-radius: 999px; background: var(--sage-soft); color: var(--sage); }
.pill.blue { background: var(--brand-soft); color: var(--brand); }
.progress { height: 8px; border-radius: 999px; background: var(--bg-deep); overflow: hidden; }
.progress i { display: block; height: 100%; width: 83%; background: linear-gradient(90deg, var(--sage), var(--brand)); border-radius: inherit; }
.tasks { list-style: none; padding: 0; display: grid; gap: 0.15rem; }
.tasks li { display: grid; grid-template-columns: 22px 1fr auto; gap: 0.7rem; align-items: center; padding: 0.55rem 0.2rem; border-bottom: 1px dashed var(--line); font-size: 0.96rem; }
.tasks li:last-child { border-bottom: 0; }
.tasks .tick { width: 20px; height: 20px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; }
.tasks .tick svg { width: 12px; height: 12px; }
.tasks .todo { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--brand); }
.tasks small { color: var(--muted); font-size: 0.8rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tasks .doing { color: var(--brand); font-weight: 600; }
.tracker-note { background: var(--brand-soft); border-radius: 12px; padding: 0.8rem 0.95rem; font-size: 0.93rem; color: var(--ink-soft); }
.sample-tag { font-size: 0.75rem; color: var(--muted); }

/* Trust strip */
.trust-strip { border-block: 1px solid var(--line); background: var(--surface); }
.trust-strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.1rem; }
.trust-item { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; font-size: 0.93rem; color: var(--ink-soft); }
.trust-item .ico { width: 34px; height: 34px; border-radius: 10px; margin: 0; }
.trust-item .ico svg { width: 18px; height: 18px; }

/* Audience cards */
.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 820px) { .aud-grid { grid-template-columns: 1fr; } }
.aud-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.5rem, 3vw, 2.2rem); display: grid; gap: 1.1rem; align-content: start; box-shadow: var(--shadow-sm); }
.aud-card .eyebrow { color: var(--brand); }
.aud-card.firm { background: linear-gradient(180deg, var(--brand-soft), var(--surface) 55%); }

/* Icons */
.ico { width: 46px; height: 46px; border-radius: 13px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.ico svg { width: 24px; height: 24px; }
.ico.sage { background: var(--sage-soft); color: var(--sage); }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .svc-grid { grid-template-columns: 1fr; } }
.svc { padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 0.6rem; align-content: start; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
a.svc:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.svc p { color: var(--muted); font-size: 0.97rem; }
.svc .more { font-family: var(--display); font-weight: 700; font-size: 0.9rem; color: var(--brand); margin-top: 0.2rem; }

/* Approach (approved copy) */
.approach { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .approach { grid-template-columns: 1fr; } }
.approach-intro { display: grid; gap: 1rem; justify-items: start; min-width: 0; }
.approach-steps { list-style: none; padding: 0; display: grid; counter-reset: ap; min-width: 0; }
.approach-steps li { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; padding-block: 1.35rem; border-top: 1px solid var(--line); counter-increment: ap; }
.approach-steps li:last-child { border-bottom: 1px solid var(--line); }
.approach-steps li::before { content: counter(ap); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--brand); font-family: var(--display); font-weight: 800; font-size: 1.1rem; }
.approach-steps div { display: grid; gap: 0.3rem; min-width: 0; }
.approach-steps p { color: var(--muted); }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; padding: 0; list-style: none; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li { display: grid; gap: 0.4rem; align-content: start; padding-top: 1.1rem; border-top: 2px solid var(--line); position: relative; counter-increment: step; }
.steps li::before { content: "Step " counter(step); font-family: var(--display); font-weight: 750; font-size: 0.78rem; color: var(--sage); letter-spacing: 0.06em; text-transform: uppercase; }
.steps li:first-child { border-top-color: var(--brand); }
.steps p { color: var(--muted); font-size: 0.97rem; }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 1.6rem; display: grid; gap: 0.9rem; align-content: start; position: relative; }
.tier.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.tier .badge-top { position: absolute; top: -12px; left: 1.6rem; }
.price { display: flex; align-items: baseline; gap: 0.35rem; flex-wrap: wrap; }
.price b { font-family: var(--display); font-size: 2.3rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); font-size: 0.95rem; }
.tier .vol { font-weight: 700; color: var(--ink-soft); }
.fee-table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.fee-table { border-collapse: collapse; width: 100%; font-size: 0.97rem; }
.fee-table th, .fee-table td { text-align: left; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.fee-table tr:last-child td { border-bottom: 0; }
.fee-table th { font-family: var(--display); font-size: 0.8rem; color: var(--muted); font-weight: 700; background: var(--bg); }
.fee-table td.num { white-space: nowrap; font-weight: 700; font-family: var(--display); font-variant-numeric: tabular-nums; }
.fee-table td small { display: block; color: var(--muted); }
.price-teaser { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 820px) { .price-teaser { grid-template-columns: 1fr; } }
.pt { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.3rem 1.4rem; display: grid; gap: 0.3rem; }
.pt b { font-family: var(--display); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; }

/* Estimator */
.estimator { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
@media (max-width: 860px) { .estimator { grid-template-columns: 1fr; } }
.est-inputs { padding: clamp(1.4rem, 3vw, 2rem); display: grid; gap: 1.3rem; align-content: start; }
.est-out { background: var(--brand); color: var(--on-brand); padding: clamp(1.4rem, 3vw, 2rem); display: grid; gap: 1rem; align-content: start; }
.est-out h3, .est-out .big { color: var(--on-brand); }
.est-out .big { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.est-out ul { list-style: none; padding: 0; display: grid; gap: 0.4rem; font-size: 0.95rem; }
.est-out li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid color-mix(in srgb, var(--on-brand) 22%, transparent); padding-bottom: 0.4rem; }
.est-out li span:last-child { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.est-out p { color: color-mix(in srgb, var(--on-brand) 85%, transparent); font-size: 0.88rem; }
.est-out .btn { background: var(--on-brand); color: var(--brand); border-color: var(--on-brand); justify-self: start; }
.est-out .btn:hover { background: var(--brand-soft); color: var(--brand); }
.seg { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: inline-block; padding: 0.5rem 0.9rem; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 0.92rem; cursor: pointer; background: var(--surface); }
.seg input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.seg input:focus-visible + span { outline: 3px solid var(--sage); outline-offset: 2px; }
.field-label { font-family: var(--display); font-weight: 700; font-size: 0.98rem; margin-bottom: 0.5rem; display: block; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--surface); }
.stepper button { width: 40px; height: 40px; border: 0; background: transparent; font-size: 1.2rem; color: var(--brand); cursor: pointer; font-weight: 700; }
.stepper input { width: 56px; text-align: center; border: 0; background: transparent; font: inherit; font-weight: 700; color: var(--ink); }
.toggle { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; cursor: pointer; }
.toggle input { width: 20px; height: 20px; accent-color: var(--brand); }

/* Meet */
.meet { display: grid; grid-template-columns: 320px 1fr; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center; }
@media (max-width: 780px) { .meet { grid-template-columns: 1fr; } .meet .photo-frame, .meet .portrait { max-width: 280px; } }
.meet > * { min-width: 0; }
.photo-frame { aspect-ratio: 4 / 5; width: 100%; max-width: 100%; border-radius: 22px; background: linear-gradient(160deg, var(--brand-soft), var(--sage-soft)); border: 2px dashed color-mix(in srgb, var(--brand) 35%, transparent); display: grid; place-items: center; text-align: center; padding: 1rem; color: var(--brand); font-weight: 700; font-family: var(--display); }
.photo-frame.wide { aspect-ratio: 16 / 9; }
.photo-frame.square { aspect-ratio: 1 / 1; }
.badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.85rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.88rem; font-weight: 600; }
.badge.xero { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 35%, transparent); color: var(--brand); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; display: grid; gap: 0.8rem; }
.quote .stars { color: var(--sage); letter-spacing: 3px; }
.quote p { font-size: 1.05rem; color: var(--ink-soft); }
.quote cite { font-style: normal; color: var(--muted); font-size: 0.9rem; }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .post-grid { grid-template-columns: 1fr; } }
.post { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
a.post:hover { border-color: var(--brand); box-shadow: var(--shadow); color: var(--ink); }
.post-art { height: 128px; display: flex; align-items: flex-end; justify-content: space-between; padding: 1rem; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--brand-soft), var(--sage-soft)); font-family: var(--display); font-weight: 800; color: var(--brand); }
.post-art::after { content: ""; position: absolute; right: -36px; top: -36px; width: 150px; height: 150px; border-radius: 50%; border: 20px solid color-mix(in srgb, var(--surface) 45%, transparent); }
.post-art .ico { background: var(--surface); position: relative; z-index: 1; box-shadow: var(--shadow-sm); width: 52px; height: 52px; }
.post-art span { position: relative; z-index: 1; }
.post-body { padding: 1.15rem 1.25rem 1.35rem; display: grid; gap: 0.45rem; align-content: start; }
.post-meta { font-size: 0.82rem; color: var(--muted); display: flex; gap: 0.7rem; flex-wrap: wrap; }
.tag { font-size: 0.74rem; font-weight: 750; color: var(--sage); text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--display); }
.post p { color: var(--muted); font-size: 0.95rem; }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filters button { font: inherit; font-size: 0.92rem; font-weight: 600; padding: 0.45rem 0.95rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }

/* Article */
.article { display: grid; gap: 1.15rem; }
.article h2 { margin-top: 1.3rem; font-size: 1.5rem; }
.article ol, .article ul { padding-left: 1.3rem; display: grid; gap: 0.45rem; }
.byline { display: flex; gap: 0.85rem; align-items: center; padding-block: 1rem; border-block: 1px solid var(--line); }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--sage-soft); color: var(--sage); display: grid; place-items: center; font-weight: 800; font-family: var(--display); flex: none; }
.byline p { font-size: 0.92rem; color: var(--muted); }
.byline strong { color: var(--ink); }
.callout { background: var(--brand-soft); border-radius: 14px; padding: 1.1rem 1.25rem; }

/* Page header */
.page-head { padding-block: clamp(2.8rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-head .wrap { display: grid; gap: 1rem; }
.crumbs { font-size: 0.88rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.page-hero { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 5vw, 4rem); align-items: end; }
@media (max-width: 860px) { .page-hero { grid-template-columns: 1fr; } }
.page-hero > * { min-width: 0; }
.fact-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 1.3rem 1.4rem; display: grid; gap: 0.8rem; box-shadow: var(--shadow-sm); }
.fact-card dl { margin: 0; display: grid; gap: 0.7rem; }
.fact-card dt { font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.fact-card dd { margin: 0; font-family: var(--display); font-weight: 750; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.prose { display: grid; gap: 1rem; max-width: 70ch; }
.prose h2 { margin-top: 1.5rem; font-size: 1.55rem; }
.prose ul { padding-left: 1.2rem; display: grid; gap: 0.4rem; }
.aside { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem; display: grid; gap: 0.9rem; position: sticky; top: 100px; }
.aside .price b { font-size: 1.9rem; }

/* Feature grid (why) */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem 2rem; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.why { display: grid; gap: 0.5rem; align-content: start; }
.why p { color: var(--muted); font-size: 0.97rem; }

/* FAQ */
.faq { display: grid; gap: 0; max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 1.05rem; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-family: var(--display); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 0.6rem; color: var(--muted); max-width: 70ch; }

/* Forms */
form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input, .field select, .field textarea { font: inherit; padding: 0.75rem 0.85rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--brand-soft); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-msg { padding: 0.9rem 1rem; border-radius: 12px; background: var(--sage-soft); }
.signup { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.signup input { flex: 1 1 240px; font: inherit; padding: 0.75rem 1.1rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); min-width: 0; }

/* CTA */
.cta-box { background: var(--brand); color: var(--on-brand); border-radius: 26px; padding: clamp(1.8rem, 5vw, 3rem); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.5rem; position: relative; overflow: hidden; }
@media (max-width: 760px) { .cta-box { grid-template-columns: 1fr; } }
.cta-box::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid color-mix(in srgb, var(--on-brand) 8%, transparent); pointer-events: none; }
.cta-box h2 { color: var(--on-brand); }
.cta-box p { color: color-mix(in srgb, var(--on-brand) 85%, transparent); max-width: 54ch; }
.cta-box .btn { background: var(--on-brand); color: var(--brand); border-color: var(--on-brand); position: relative; z-index: 1; }
.cta-box .btn:hover { background: var(--brand-soft); color: var(--brand); }
.cta-box .btn.ghost { background: transparent; color: var(--on-brand); border-color: color-mix(in srgb, var(--on-brand) 50%, transparent); }

/* Footer */
footer { background: var(--surface); border-top: 1px solid var(--line); font-size: 0.93rem; color: var(--muted); }
footer .wrap { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; padding-block: 3.2rem 1.6rem; }
@media (max-width: 820px) { footer .wrap { grid-template-columns: 1fr 1fr; } }
footer h4 { margin: 0 0 0.7rem; font-size: 0.86rem; color: var(--ink); }
footer ul { list-style: none; padding: 0; display: grid; gap: 0.4rem; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--brand); text-decoration: underline; }
.legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 1.3rem; font-size: 0.84rem; display: grid; gap: 0.45rem; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* Hero illustration */
.hero-art { margin: 0; min-width: 0; }
.hero-art svg { width: 100%; height: auto; display: block; overflow: visible; }
h1 .accent { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 500; letter-spacing: -0.01em; color: var(--brand); }
.il-blob { fill: var(--brand-soft); }
.il-sun { fill: color-mix(in srgb, var(--sage) 22%, transparent); } .il-sun-core { fill: color-mix(in srgb, var(--sage) 55%, var(--surface)); }
.il-hill-b { fill: color-mix(in srgb, var(--brand) 16%, var(--bg)); } .il-hill-a { fill: color-mix(in srgb, var(--brand) 28%, var(--bg)); }
.il-tree { fill: color-mix(in srgb, var(--brand) 55%, var(--bg)); }
.il-line, .il-mug, .il-screen, .il-laptop, .il-paper { stroke: var(--ink); stroke-width: 2.4; }
.il-wood { fill: color-mix(in srgb, var(--sage) 45%, var(--surface)); stroke: var(--ink); stroke-width: 2.4; }
.il-screen, .il-paper, .il-mug { fill: var(--surface); }
.il-laptop { fill: color-mix(in srgb, var(--ink) 12%, var(--surface)); }
.il-mug { fill: color-mix(in srgb, var(--sage) 30%, var(--surface)); }
.il-bar { fill: color-mix(in srgb, var(--brand) 35%, var(--surface)); } .il-bar.accent { fill: var(--brand); }
.il-trend, .il-clay-line { stroke: var(--sage); stroke-width: 3; } .il-dot { fill: var(--sage); }
.il-soft-line { stroke: color-mix(in srgb, var(--ink) 30%, transparent); stroke-width: 3; }
.il-dash { stroke: var(--sage); stroke-width: 2.4; stroke-dasharray: 2 8; }
.il-steam { stroke: var(--muted); stroke-width: 2; }
.il-card { fill: var(--surface); filter: drop-shadow(0 10px 18px rgba(45, 51, 64, 0.14)); }
.il-tick-bg { fill: var(--brand); } .il-tick { stroke: var(--on-brand); stroke-width: 2.6; }
.il-flag-bg { fill: color-mix(in srgb, var(--sage) 22%, var(--surface)); } .il-flag { stroke: var(--sage); stroke-width: 3; }
.il-t1 { font-family: var(--display); font-weight: 800; font-size: 17px; fill: var(--ink); }
.il-t2 { font-family: var(--body); font-size: 14px; fill: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .il-steam { animation: steam 3.2s ease-in-out infinite; }
  .il-card { animation: bob 6s ease-in-out infinite; } .il-card + .il-card, g.il-card:nth-of-type(2) { animation-delay: -3s; }
}
@keyframes steam { 0%,100% { opacity: .35; transform: translateY(0); } 50% { opacity: .9; transform: translateY(-4px); } }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.month-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.month-split > * { min-width: 0; }
@media (max-width: 860px) { .month-split { grid-template-columns: 1fr; } }

.portrait { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: var(--shadow); }

.article .art-table td, .article .art-table th { font-size: 0.95rem; }
.article .fee-table-wrap { margin-block: 0.3rem; }
.sources { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 0.8rem; }
.sources h2 { font-size: 1.1rem; margin-top: 0; }
.sources ul { font-size: 0.92rem; }
.sources a { color: var(--brand); }
.article .btn-row { margin-top: 0.8rem; }

/* Page transitions */
@media (prefers-reduced-motion: no-preference) {
  body { animation: page-in .35s ease-out both; }
  body.leaving { opacity: 0; transform: translateY(6px); transition: opacity .16s ease-in, transform .16s ease-in; }
}
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.legal h2 { font-size: 1.25rem; }
.legal a, .signup + p a, .lede a, form .small a { color: var(--brand); }

[id] { scroll-margin-top: 96px; }
#top { position: absolute; top: 0; left: 0; width: 1px; height: 1px; scroll-margin-top: 0; }

/* Software tiles */
.sw-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 0.75rem; }
.sw-tile { display: flex; align-items: center; gap: 0.8rem; padding: 0.85rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.sw-tile img, .sw-mono { width: 40px; height: 40px; flex: none; border-radius: 10px; object-fit: contain; }
.sw-mono { display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-family: var(--display); font-weight: 800; font-size: 1.1rem; }
.sw-tile:nth-child(even) .sw-mono { background: var(--sage-soft); color: var(--sage); }
.sw-tile b { display: block; font-size: 0.98rem; }
.sw-tile small { display: block; color: var(--muted); font-size: 0.82rem; }
@media (max-width: 600px) { .sw-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; } .sw-tile { padding: 0.7rem; gap: 0.6rem; } .sw-tile img, .sw-mono { width: 34px; height: 34px; } .sw-tile b { font-size: 0.9rem; } .sw-tile small { font-size: 0.75rem; } }
.trust-badge { width: 40px; height: 40px; flex: none; border-radius: 9px; box-shadow: 0 1px 3px rgba(45,51,64,.12); }
.brand-logo { width: 54px; height: 54px; border-radius: 50%; flex: none; display: block; box-shadow: 0 0 0 1px var(--line); background: #f9f5f2; }
.brand-full { height: 52px; width: auto; display: block; }
.site-footer .brand-full, footer .brand-full { height: 64px; }
@media (max-width: 640px) { .brand-full { height: 46px; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand-full { background: #fcf7ee; border-radius: 10px; padding: 4px 8px; } }
:root[data-theme="dark"] .brand-full { background: #fcf7ee; border-radius: 10px; padding: 4px 8px; }
.wordmark { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 0.96rem; font-family: var(--display); white-space: nowrap; }
.wordmark:hover { color: var(--brand); }
.wordmark-logo { height: 40px; width: auto; display: block; }
@media (max-width: 640px) { .wordmark { white-space: normal; flex: 1 1 0; min-width: 0; line-height: 1.2; } .wordmark-logo { height: 36px; flex: none; } }

/* Books health check */
.hc { max-width: 760px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.25rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.hc-top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.hc-count { font-family: var(--display); font-weight: 700; font-size: 0.85rem; color: var(--sage); white-space: nowrap; }
.hc-bar { flex: 1; height: 8px; border-radius: 99px; background: var(--brand-soft); overflow: hidden; }
.hc-bar span { display: block; height: 100%; width: 0; background: var(--brand); border-radius: inherit; transition: width .35s ease; }
.hc-q h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); outline: none; }
.hc-q .muted { margin-top: .4rem; }
.hc-opts { display: grid; gap: 0.7rem; margin-top: 1.4rem; }
.hc-opt { text-align: left; font: inherit; font-weight: 600; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; padding: 1rem 1.15rem; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.hc-opt:hover { border-color: var(--brand); transform: translateX(4px); }
.hc-opt:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.hc-opt.picked { border-color: var(--brand); background: var(--brand-soft); }
.hc-nav { margin-top: 1.2rem; min-height: 2.6rem; }
.hc-stage > * { animation: hc-in .3s ease both; }
@keyframes hc-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hc-result { display: grid; gap: 1.2rem; }
.hc-result h2 { outline: none; font-size: clamp(1.5rem, 3.4vw, 2rem); }
.hc-result h3 { font-size: 1.1rem; }
.hc-score { display: flex; align-items: center; gap: 1.4rem; }
.hc-score svg { flex: none; transform: rotate(-90deg); }
.hc-score .trk { fill: none; stroke: var(--brand-soft); stroke-width: 12; }
.hc-score .val { fill: none; stroke: var(--brand); stroke-width: 12; stroke-linecap: round; transition: stroke-dashoffset 1s ease; }
.hc-score.low .val { stroke: var(--sage); }
.hc-score { position: relative; }
.hc-score .num { position: absolute; left: 0; width: 120px; text-align: center; line-height: 1; }
.hc-score .num b { display: block; font-family: var(--display); font-size: 2.2rem; color: var(--ink); }
.hc-score .num span { font-size: 0.72rem; color: var(--muted); }
.hc-score p { color: var(--muted); margin-top: .3rem; }
.hc-rec { display: grid; gap: .35rem; }
@media (max-width: 520px) { .hc-score { flex-direction: column; align-items: flex-start; } .hc-score .num { top: 0; height: 120px; display: flex; flex-direction: column; justify-content: center; } }
.hc-promo { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.6rem; padding: 1.6rem 2rem; border-radius: 22px; background: var(--brand); color: var(--on-brand); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.hc-promo:hover { color: var(--on-brand); transform: translateY(-3px); box-shadow: var(--shadow); }
.hc-promo h2 { color: var(--on-brand); font-size: clamp(1.4rem, 3vw, 1.9rem); }
.hc-promo .eyebrow { color: var(--on-brand); opacity: .8; }
.hc-promo p { margin: .3rem 0 0; opacity: .9; }
.hc-promo .btn { background: var(--surface); color: var(--brand); border-color: var(--surface); }
.hc-promo:hover .btn { transform: translateX(3px); }
.hc-promo-dial { position: relative; width: 88px; height: 88px; color: var(--on-brand); }
.hc-promo-dial b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 1.15rem; }
@media (max-width: 760px) { .hc-promo { grid-template-columns: 1fr; gap: 1rem; padding: 1.5rem; } .hc-promo .btn { justify-self: start; } }

/* Subtle hover touches */
.why .ico, .aud-card .ico, .svc .ico { transition: transform .25s ease; }
.why:hover .ico, .aud-card:hover .ico, a.svc:hover .ico { transform: translateY(-3px) rotate(-4deg); }
.tier, .aud-card { transition: transform .2s ease, box-shadow .2s ease; }
.tier:hover, .aud-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.trust-item .ico, .trust-badge { transition: transform .25s ease; }
.trust-item:hover .ico, .trust-item:hover .trust-badge { transform: scale(1.08); }
a.post { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
a.post:hover { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .hc-stage > *, .hc-bar span, .hc-score .val, .hc-opt, .hc-promo, .tier, .aud-card, a.post, .why .ico, .aud-card .ico, .svc .ico, .trust-item .ico { transition: none !important; animation: none !important; transform: none !important; } }

/* Content protection: no text highlighting or image dragging, except form fields and contact links */
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea, select, [contenteditable], a[href^="mailto:"], a[href^="tel:"] { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
img { -webkit-user-drag: none; user-drag: none; }

/* Header stays light in dark mode, so the logo and name stay clear */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-header { --bg: #f6f2ee; --surface: #fcfaf8; --ink: #2d3340; --ink-soft: #434957; --muted: #666a74; --line: #e5ddd6;
    --brand: #36475f; --brand-hover: #2c3a4e; --brand-soft: #e7eaf0; --on-brand: #ffffff; color-scheme: light; background: #fcfaf8; color: var(--ink); }
}
:root[data-theme="dark"] .site-header { --bg: #f6f2ee; --surface: #fcfaf8; --ink: #2d3340; --ink-soft: #434957; --muted: #666a74; --line: #e5ddd6;
  --brand: #36475f; --brand-hover: #2c3a4e; --brand-soft: #e7eaf0; --on-brand: #ffffff; color-scheme: light; background: #fcfaf8; color: var(--ink); }
