* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-sans); line-height: 1.55; }
a { color: inherit; }
button, input, select { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--font-serif); font-weight: 500; line-height: 1.03; letter-spacing: -.035em; }
h1 { font-size: clamp(2.7rem, 8vw, 5.7rem); }
h2 { font-size: clamp(2.1rem, 5vw, 3.7rem); }
h3 { font-size: 1.15rem; }
:focus-visible { outline: 3px solid #1967d2; outline-offset: 3px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 750; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: white; background: var(--green); font-family: var(--font-serif); font-size: 1.3rem; }
.privacy-chip { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); font-size: .78rem; }
.eyebrow { margin-bottom: 16px; color: var(--green); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.button { min-height: 48px; padding: 13px 20px; border: 1px solid transparent; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; cursor: pointer; text-decoration: none; font-weight: 750; }
.button-primary { color: white; background: var(--green); }
.button-primary:hover { background: #0e3c2d; }
.button-secondary { background: var(--surface); border-color: var(--line); }
.button-danger { color: var(--rust); background: transparent; border-color: #d6a99f; }
.button-full { width: 100%; }
.button-quiet, .text-button { border: 0; color: var(--green); background: transparent; text-decoration: underline; cursor: pointer; }
.button-quiet { min-height: 44px; padding: 8px 12px; }
.system-notice { width: min(1180px, calc(100% - 32px)); margin: 0 auto 10px; padding: 12px 16px; border-radius: var(--radius-sm); color: #3f3100; background: #fff0b8; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.notice { margin-bottom: 20px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface-soft); }
.notice.error { color: #781f11; background: #f9e4df; }
.notice.warning { color: #493700; background: #fff0b8; }
.offline-page { width: min(680px, calc(100% - 32px)); margin: 12vh auto; padding: clamp(28px, 7vw, 64px); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
footer { padding: 48px 20px; text-align: center; color: var(--ink-soft); font-size: .85rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
.footer-links a { color: var(--green); font-weight: 700; }
.legal-page { width: min(800px, calc(100% - 32px)); margin: 40px auto 80px; padding: clamp(28px, 7vw, 64px); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.legal-page h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); }
.legal-page h2 { margin-top: 36px; font-family: var(--font-sans); font-size: 1.2rem; font-weight: 800; letter-spacing: 0; }
.legal-page .draft-warning { padding: 16px; border-radius: var(--radius-sm); color: #493700; background: #fff0b8; }
