/* Centspective site. Self-hosted fonts, no third-party requests. Palette: brand/README.md */
@font-face { font-family: "Fraunces Centspective"; src: url("fonts/fraunces-centspective.woff") format("woff"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Inter Centspective"; src: url("fonts/inter-centspective.woff") format("woff"); font-weight: 400 700; font-display: swap; }

:root {
  --paper: #F7F4EA; --surface: #FFFFFF; --ink: #14302A; --ink-2: #3D544D; --green: #1F5E45;
  --mint: #D9EBD6; --marigold: #E8A33A; --line: rgba(20, 48, 42, 0.12); --bezel: #0E1A16; --band: #1F5E45;
  --display: "Fraunces Centspective", "Iowan Old Style", Georgia, serif;
  --text: "Inter Centspective", -apple-system, "Segoe UI", system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121A17; --surface: #1A2622; --ink: #E8F2E8; --ink-2: #B4C6BC; --green: #70CFA3;
    --mint: #1F3B30; --line: rgba(232, 242, 232, 0.14); --bezel: #000000; --band: #173F31;
  }
}
:root[data-theme="dark"] {
  --paper: #121A17; --surface: #1A2622; --ink: #E8F2E8; --ink-2: #B4C6BC; --green: #70CFA3;
  --mint: #1F3B30; --line: rgba(232, 242, 232, 0.14); --bezel: #000000; --band: #173F31;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--text); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* Header */
header.site { padding: 22px 0; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.logo { display: block; width: 217px; max-width: 60vw; }
.logo .dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo .light { display: none; } :root:not([data-theme="light"]) .logo .dark { display: block; } }
:root[data-theme="dark"] .logo .light { display: none; }
:root[data-theme="dark"] .logo .dark { display: block; }
nav.site { display: flex; gap: 20px; flex-wrap: wrap; font-size: 15px; font-weight: 600; }
nav.site a { color: var(--ink); text-decoration: none; padding: 10px 0; }
nav.site a:hover { color: var(--green); }

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 640; line-height: 1.08; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(44px, 7vw, 76px); }
h2 { font-size: clamp(32px, 4.4vw, 48px); }
h3 { font-size: 24px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); margin: 0 0 14px; }
.lede { font-size: 21px; color: var(--ink-2); max-width: 34em; }
.tally { display: block; width: 72px; height: 8px; border-radius: 4px; background: var(--marigold); margin: 22px 0; }

/* Hero */
.hero { padding: 40px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 30px; }
.button { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 14px;
  background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; }
.button:hover { text-decoration: none; opacity: 0.92; }
.note { font-size: 15px; color: var(--ink-2); }
.phone { background: var(--bezel); padding: 12px; border-radius: 48px; box-shadow: 0 30px 60px rgba(20, 48, 42, 0.18); max-width: 360px; margin: 0 auto; }
.phone img { border-radius: 37px; }

/* Features */
section { padding: 72px 0; }
section.alt { background: var(--band); color: #F7F4EA; }
section.alt .eyebrow { color: #F4CB7A; } /* light marigold: 5.0:1 on green, for small text */
section.alt .lede, section.alt p { color: #D9EBD6; }
section.alt a { color: #F7F4EA; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: 88px; }
.feature.flip .copy { order: 2; }
.feature .phone { max-width: 320px; }
.feature ul { padding: 0; margin: 18px 0 0; list-style: none; }
.feature li { padding-left: 28px; position: relative; margin: 10px 0; }
.feature li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 16px; height: 4px; border-radius: 2px; background: var(--marigold); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-2); }
section.alt .card { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.14); }
section.alt .card p { color: #D9EBD6; }

.price { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 32px; max-width: 760px; }
.price .amount { font-family: var(--display); font-size: 40px; font-weight: 640; margin: 6px 0; }

/* Prose pages */
.prose { max-width: 760px; padding: 32px 0 80px; }
.prose h1 { font-size: clamp(38px, 6vw, 56px); margin-bottom: 12px; }
.prose h2 { font-size: 28px; margin: 44px 0 10px; }
.prose p, .prose li { color: var(--ink); }
.prose .meta { color: var(--ink-2); font-size: 15px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 16px; margin: 16px 0; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 15px; color: var(--ink-2); }
footer.site .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer.site nav { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 820px) {
  body { font-size: 17px; }
  .hero .wrap, .feature { grid-template-columns: 1fr; gap: 36px; }
  .feature.flip .copy { order: 0; }
  .grid3, .price { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .hero { padding: 16px 0 56px; }
  .wrap { padding: 0 16px; }
}
@media (forced-colors: active) { .tally, .feature li::before { background: CanvasText; } }
.card .eyebrow { color: var(--green); }
section.alt .card .eyebrow { color: #F4CB7A; }
.price .amount { color: var(--ink); }

/* Published legal drafts remain visibly distinct from final policies. */
.draft-notice { padding: 1rem; margin: 1.5rem 0; border: 2px solid var(--line); border-radius: 12px; background: var(--surface); }
.draft-notice strong { display: block; margin-bottom: .35rem; }
