/* The public site at the bare domain (FamilyBoard/Portal). */
:root { --ink: #2b2118; --muted: #6b5d50; --paper: #fbf6ee; --card: #fffdf8; --line: #e6dccd; --accent: #a23e2e; --accent-ink: #fff; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
main { max-width: 960px; margin: 0 auto; padding: 32px 16px 48px; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; margin: 0 0 12px; }
h2 { font-family: Georgia, "Times New Roman", serif; margin: 0 0 6px; }
.hero { padding: 24px 0 8px; }
.eyebrow { margin: 0; font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hero p { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 24px 0 32px; }
.features div, .signup { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.features h2 { font-size: 1.15rem; }
.features p { margin: 0; color: var(--muted); }
.signup { max-width: 560px; }
form { display: grid; gap: 14px; margin-top: 12px; }
label { display: grid; gap: 4px; font-weight: 600; }
input, select, textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.address { display: flex; align-items: center; gap: 6px; }
.address span { font-weight: 400; color: var(--muted); white-space: nowrap; }
button { font: inherit; font-weight: 700; padding: 12px 16px; border: 0; border-radius: 10px; background: var(--accent); color: var(--accent-ink); cursor: pointer; }
button.secondary { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.decide { grid-template-columns: 1fr auto; }
.problem { color: var(--accent); font-weight: 700; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; }
dt { font-weight: 700; } dd { margin: 0; }
footer { text-align: center; color: var(--muted); padding: 24px 16px; }
footer a, .policy a { color: inherit; }
.policy { max-width: 46em; }
.policy h2 { margin-top: 28px; }
.policy li { margin-bottom: 6px; }
@media (prefers-color-scheme: dark) {
  :root { --ink: #f3ece2; --muted: #c2b6a8; --paper: #1d1915; --card: #27221d; --line: #3d352d; --accent: #e07a5f; --accent-ink: #1d1915; }
  input, select, textarea { background: #1d1915; }
}
