:root {
  color-scheme: dark;
  --bg: #111313;
  --surface: #191c1b;
  --surface-strong: #202523;
  --line: #343b37;
  --text: #f5f4ed;
  --muted: #b7bdb4;
  --soft: #89928a;
  --accent: #e9a83f;
  --accent-strong: #ffc96b;
  --accent-ink: #271808;
  --max: 72rem;
}
:root[data-theme="paper"] { color-scheme: light; --bg: #f1eee6; --surface: #fffdf7; --surface-strong: #e8e2d5; --line: #c8c0b0; --text: #211d17; --muted: #5d574d; --soft: #746d60; --accent: #b46c19; --accent-strong: #874c0c; --accent-ink: #fffaf0; }
:root[data-theme="ink"] { --bg: #0b1118; --surface: #111c25; --surface-strong: #172632; --line: #29404d; --text: #eef6f5; --muted: #afc2c8; --soft: #8299a2; --accent: #e2a554; --accent-strong: #ffd083; --accent-ink: #1d1409; }
:root[data-text="large"] { font-size: 112%; }
:root[data-motion="off"] *, :root[data-motion="off"] *::before, :root[data-motion="off"] *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: var(--accent-strong); }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--accent-strong); outline-offset: 4px; }
.skip-link { position: absolute; left: 1rem; top: -5rem; padding: .6rem .8rem; background: var(--accent); color: var(--accent-ink); font-weight: 800; z-index: 10; }
.skip-link:focus { top: 1rem; }
.site-header, .site-main, .site-footer { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 2rem; height: 2rem; flex: 0 0 auto; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1rem; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(18rem, .7fr); gap: 3rem; align-items: end; padding: clamp(4rem, 11vw, 8rem) 0 5rem; }
.eyebrow { margin: 0 0 .8rem; color: var(--accent-strong); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.04em; }
h1 { max-width: 12ch; margin: 0; font-size: clamp(3.2rem, 8vw, 6.8rem); }
h2 { margin: 0 0 .8rem; font-size: clamp(1.7rem, 4vw, 2.7rem); }
h3 { margin: 0 0 .4rem; font-size: 1.1rem; }
.hero-copy { max-width: 38rem; margin: 1.4rem 0 0; color: var(--muted); font-size: 1.15rem; }
.hero-actions, .action-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .65rem 1rem; border: 1px solid var(--accent); border-radius: .35rem; background: var(--accent); color: var(--accent-ink); font-weight: 800; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--accent-strong); color: var(--accent-ink); }
.button.secondary { border-color: var(--line); background: transparent; color: var(--text); }
.button.secondary:hover { border-color: var(--accent-strong); color: var(--accent-strong); }
.button[aria-disabled="true"] { pointer-events: none; opacity: .45; }
.hero-note { margin-top: .9rem; color: var(--soft); font-size: .85rem; }
.hero-panel { padding: 1.4rem; border: 1px solid var(--line); background: var(--surface); }
.panel-kicker { display: block; margin-bottom: 1.2rem; color: var(--soft); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero-panel strong { display: block; color: var(--accent-strong); font-size: 2.2rem; }
.hero-panel p { margin: .8rem 0 0; color: var(--muted); }
.section { padding: 4.5rem 0; border-top: 1px solid var(--line); }
.section-intro { max-width: 42rem; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.card { padding: 1.35rem; border: 1px solid var(--line); background: var(--surface); }
.card-number { display: block; margin-bottom: 2.5rem; color: var(--accent-strong); font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.card p { margin: 0; color: var(--muted); }
.card a { display: inline-block; margin-top: 1rem; font-weight: 700; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: stretch; }
.release-list { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.release-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.release-list strong { color: var(--text); }
.prose { max-width: 52rem; padding: 4.5rem 0; }
.prose h1 { max-width: none; font-size: clamp(2.6rem, 6vw, 4.5rem); }
.prose h2 { margin-top: 2.4rem; font-size: 1.45rem; }
.prose p, .prose li { color: var(--muted); }
.meta-line { margin: 1rem 0 0; color: var(--soft); font-size: .9rem; }
.download-card { max-width: 44rem; margin-top: 2rem; }
.acknowledgement { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1.5rem; color: var(--muted); }
.acknowledgement input { margin-top: .35rem; accent-color: var(--accent); }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; padding: 2rem 0 3rem; border-top: 1px solid var(--line); color: var(--soft); font-size: .86rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .8rem 1rem; }
.site-footer a { color: var(--muted); }
.note-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; }
.note-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.note-list p { margin: 0; padding-top: 1rem; border-top: 2px solid var(--accent); color: var(--muted); }
.note-list strong { display: block; margin-bottom: .45rem; color: var(--text); }
.support-section { padding-bottom: 5.5rem; }
.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.support-grid .card { display: flex; flex-direction: column; }
.support-grid .card p { flex: 1; }
.update-list { margin-top: 3rem; border-top: 1px solid var(--line); }
.update-entry { padding: 2rem 0 2.4rem; border-bottom: 1px solid var(--line); }
.update-entry h2 { margin: .35rem 0 1rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.update-entry ul { margin: 0; padding-left: 1.2rem; }
.update-entry li { margin: .45rem 0; }
.update-date { margin: 0; color: var(--accent-strong) !important; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.settings-note { margin: .2rem 0 0; color: var(--muted); font-size: .92rem; }
.settings-trigger { border: 0; padding: .25rem 0; background: transparent; color: var(--muted); font: inherit; cursor: pointer; }
.settings-trigger:hover { color: var(--text); }
.settings-dialog { width: min(32rem, calc(100% - 2rem)); padding: 0; border: 1px solid var(--line); background: var(--surface-strong); color: var(--text); box-shadow: 0 1.5rem 5rem rgb(0 0 0 / .35); }
.settings-dialog::backdrop { background: rgb(0 0 0 / .58); }
.settings-dialog form { padding: 1.5rem; }
.settings-dialog h2 { margin-top: 0; font-size: 1.6rem; }
.settings-dialog fieldset { margin: 1.2rem 0 0; padding: 0; border: 0; }
.settings-dialog legend { margin-bottom: .6rem; color: var(--soft); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.settings-dialog label { display: flex; align-items: center; gap: .65rem; padding: .5rem 0; color: var(--muted); cursor: pointer; }
.settings-dialog input { accent-color: var(--accent); }
@media (max-width: 46rem) { .support-grid { grid-template-columns: 1fr; } }
.settings-dialog .action-row { justify-content: flex-end; margin-top: 1.2rem; }
@media (max-width: 46rem) {
  .site-header, .hero, .split { grid-template-columns: 1fr; }
  .site-header { align-items: flex-start; flex-direction: column; }
  .site-nav { justify-content: flex-start; }
  .hero { gap: 2rem; padding-top: 4rem; }
  .grid { grid-template-columns: 1fr; }
  .note-grid, .note-list { grid-template-columns: 1fr; gap: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
