/* Shared styles for the landing, pricing and legal pages. No inline styles anywhere, so the
   Content-Security-Policy can stay strict. Fonts are self-hosted (font-src 'self'). */
@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url("/fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url("/fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 600; font-display: swap; src: url("/fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-display: swap; src: url("/fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); }

:root { --ink: #0f172a; --muted: #475569; --line: #e2e8f0; --bg: #f7faf8; --brand: #047857; --brand-dark: #065f46; --tint: #ecfdf5; --head: "Bricolage Grotesque", system-ui, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; font-family: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 1rem; }
a { color: var(--brand); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
header.site { background: #fff; border-bottom: 1px solid var(--line); }
header.site div, main, footer.site div { max-width: 52rem; margin: 0 auto; padding: 0 1rem; }
header.site div { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 3.5rem; }
header.site .brand { font-family: var(--head); font-weight: 700; font-size: 1.25rem; color: var(--brand); text-decoration: none; }
header.site nav { display: flex; gap: 0.25rem; flex-wrap: wrap; }
header.site nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.75rem; text-decoration: none; color: var(--ink); border-radius: 0.5rem; }
header.site nav a:hover { background: var(--tint); color: var(--brand-dark); }
main { padding-top: 2.5rem; padding-bottom: 3rem; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: 2rem; line-height: 1.15; margin: 0 0 0.75rem; }
h2 { font-size: 1.5rem; margin: 2.25rem 0 0.5rem; }
h3 { font-size: 1.125rem; margin: 1.25rem 0 0.25rem; }
p, li { max-width: 42rem; }
.lead { font-size: 1.125rem; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1.25rem; background: var(--brand); color: #fff; border-radius: 0.5rem; text-decoration: none; font-weight: 600; border: 0; font-size: 1rem; cursor: pointer; font-family: inherit; }
.button:hover { background: var(--brand-dark); }
.button.secondary { background: #fff; color: var(--ink); border: 1px solid #94a3b8; }
.button.secondary:hover { background: var(--tint); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.25rem 0; }
.benefits { display: grid; gap: 1rem; padding: 0; list-style: none; margin: 1.5rem 0; }
.benefits li { background: #fff; border: 1px solid var(--line); border-radius: 0.75rem; padding: 1rem; max-width: none; box-shadow: 0 1px 2px rgb(15 23 42 / 0.04); }
.benefits strong { display: block; margin-bottom: 0.25rem; color: var(--brand-dark); }
.cards { display: grid; gap: 1rem; margin: 1.25rem 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 0.75rem; padding: 1rem; }
.card.main { border-color: #6ee7b7; }
.price { font-family: var(--head); font-size: 1.75rem; font-weight: 700; margin: 0.25rem 0; }
.price small { font-family: "Figtree", system-ui, sans-serif; font-size: 1rem; font-weight: 400; color: var(--muted); }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.25rem; background: #ecf1ee; padding: 0.25rem; border-radius: 0.5rem; }
.segmented button { min-height: 44px; border: 0; border-radius: 0.375rem; background: transparent; font-size: 0.9rem; font-weight: 600; color: #334155; cursor: pointer; font-family: inherit; }
.segmented button[aria-checked="true"] { background: #fff; color: var(--brand-dark); box-shadow: 0 1px 2px rgb(0 0 0 / 0.15); }
.note { color: var(--muted); font-size: 0.9rem; }
details { background: #fff; border: 1px solid var(--line); border-radius: 0.75rem; padding: 0 1rem; margin: 0.5rem 0; max-width: 42rem; }
summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 600; }
details p { margin-top: 0; }
footer.site { border-top: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 0.9rem; }
footer.site div { padding-top: 1rem; padding-bottom: 1rem; }
footer.site a { display: inline-block; padding: 0.6rem 0.5rem 0.6rem 0; }
@media (min-width: 640px) {
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: 1fr 2fr; }
  h1 { font-size: 2.5rem; }
}
