/* Home: one screen, no page scroll. Nav on top, one panel in the middle, legal line at the bottom. */
html[data-page="home"] { --os-fg: #ffffff; --os-muted: rgba(255,255,255,0.72); --os-line: rgba(255,255,255,0.32); --os-chip: rgba(255,255,255,0.12); --os-seg: rgba(255,255,255,0.28); height: 100%; overflow: hidden; background: #020308; color-scheme: dark; }
html[data-page="home"] body[data-site="archive"] { height: 100%; min-height: 0; margin: 0; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; color: var(--os-fg); font: 15px/22px "Libre Franklin", system-ui, -apple-system, sans-serif; text-shadow: 0 1px 12px rgba(0,0,0,0.35); background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.1) 45%, rgba(0,0,0,0.4)), url(/starfield.jpg) center / cover no-repeat, #020308; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); box-sizing: border-box; }
html[data-page="home"] *, html[data-page="home"] *::before, html[data-page="home"] *::after { box-sizing: border-box; }
html[data-page="home"] .os-nav { display: flex; justify-content: center; gap: clamp(16px, 4vw, 44px); padding-block: max(20px, env(safe-area-inset-top, 0px)) 12px; }
html[data-page="home"] .os-nav a { font-size: 16px; font-weight: 500; text-decoration: none; color: var(--os-muted); padding-block: 10px; }
html[data-page="home"] .os-nav a:hover, html[data-page="home"] .os-nav a[aria-current="page"] { color: var(--os-fg); }
html[data-page="home"] .os-main { min-height: 0; overflow-y: auto; display: grid; }
html[data-page="home"] .os-panel { display: none; place-self: center; width: min(100%, 560px); flex-direction: column; align-items: center; text-align: center; gap: 24px; padding-block: 16px; }
html[data-page="home"] .os-panel.on { display: flex; }
html[data-page="home"] .os-panel h1 { margin: 0; font: 600 clamp(36px, 6.4vw, 72px)/1.04 "Libre Franklin", system-ui, sans-serif; letter-spacing: -0.02em; text-wrap: balance; max-width: 11em; color: var(--os-fg); }
html[data-page="home"] .os-panel h2 { margin: 0; font-size: 20px; color: var(--os-fg); font-weight: 600; }
html[data-page="home"] .os-panel p { margin: 0; max-width: 32em; font-size: 17px; line-height: 26px; text-wrap: balance; color: var(--os-fg); }
html[data-page="home"] .os-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
html[data-page="home"] .os-lede { font-size: 17px; line-height: 26px; }
html[data-page="home"] .os-panel p.os-small, html[data-page="home"] .os-panel .os-small { font-size: 13px; line-height: 20px; color: var(--os-muted); }
html[data-page="home"] .os-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
html[data-page="home"] .os-btn { min-width: 140px; height: 44px; padding: 0 24px; border-radius: 22px; display: inline-flex; align-items: center; justify-content: center; font: 600 15px "Libre Franklin", system-ui, sans-serif; text-decoration: none; border: 1px solid var(--os-line); background: rgba(0,0,0,0.25); color: var(--os-fg); cursor: pointer; }
html[data-page="home"] .os-btn-fill { background: var(--os-fg); color: #000000; border-color: var(--os-fg); text-shadow: none; }
html[data-page="home"] .os-btn:hover { opacity: 0.85; }
html[data-page="home"] .os-facts { display: grid; grid-template-columns: auto auto; gap: 10px 24px; text-align: left; margin: 0; }
html[data-page="home"] .os-facts dt { color: var(--os-muted); }
html[data-page="home"] .os-facts dd { margin: 0; }
html[data-page="home"] .os-stats { display: grid; grid-template-columns: repeat(3, auto); gap: 8px clamp(20px, 5vw, 48px); justify-content: center; }
html[data-page="home"] .os-stats div { display: grid; gap: 2px; }
html[data-page="home"] .os-stats strong { font-size: clamp(20px, 3.4vw, 30px); font-weight: 600; font-variant-numeric: tabular-nums; }
html[data-page="home"] .os-stats span { font-size: 13px; color: var(--os-muted); }
html[data-page="home"] .os-press { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: min(100%, 560px); }
html[data-page="home"] .os-press div { aspect-ratio: 4 / 3; border: 1px solid rgba(255,255,255,0.16); border-radius: 12px; background: rgba(255,255,255,0.03); }
html[data-page="home"] .os-donate { display: grid; gap: 10px; width: min(100%, 340px); }
html[data-page="home"] .os-seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--os-chip); border-radius: 9px; padding: 2px; }
html[data-page="home"] .os-seg button, html[data-page="home"] .os-amounts button, html[data-page="home"] .os-amounts label { height: 40px; border: 0; border-radius: 8px; font: 15px "Libre Franklin", system-ui, sans-serif; color: var(--os-fg); background: none; cursor: pointer; }
html[data-page="home"] .os-seg button.active { background: var(--os-seg); }
html[data-page="home"] .os-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
html[data-page="home"] .os-amounts button, html[data-page="home"] .os-amounts label { border: 1px solid var(--os-line); background: rgba(0,0,0,0.25); display: flex; align-items: center; justify-content: center; gap: 2px; }
html[data-page="home"] .os-amounts button.selected { border-color: var(--os-fg); }
html[data-page="home"] .os-amounts input { -moz-appearance: textfield; appearance: textfield; width: 4.5em; border: 0; background: none; font: inherit; color: inherit; outline: none; }
html[data-page="home"] .os-amounts input::placeholder { color: var(--os-muted); }
html[data-page="home"] .os-foot { margin: 0; border: 0; background: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 24px; padding-block: 20px max(20px, env(safe-area-inset-bottom, 0px)); font-size: 13px; color: var(--os-muted); text-align: center; }
html[data-page="home"] .os-foot a { color: inherit; text-decoration: none; }
html[data-page="home"] .os-foot a:hover { color: var(--os-fg); }
html[data-page="home"] :focus-visible { outline: 2px solid var(--os-fg); outline-offset: 2px; }
html[data-page="home"] .os-amounts input::-webkit-inner-spin-button, html[data-page="home"] .os-amounts input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
html[data-page="home"] .os-nw { white-space: nowrap; }
