/* Prelaunch subset of the existing KeepNeat website visual system. */
:root {
  color-scheme: light dark;
  --bg: #f4f7fb;
  --ink: #19283c;
  --muted: #475971;
  --accent: #174fc4;
  --focus: #1759d0;
  --page-width: 46rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 100%;
  line-height: 1.65;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111b29;
    --ink: #edf3fb;
    --muted: #bdcbdf;
    --accent: #a9c8ff;
    --focus: #b6d0ff;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); }
a { color: var(--accent); text-underline-offset: .2em; text-decoration-thickness: .08em; }
a:hover { text-decoration-thickness: .15em; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
p { margin: 0 0 1rem; text-wrap: pretty; }
h1, h2 { font-weight: 650; line-height: 1.13; letter-spacing: -.035em; text-wrap: balance; }
h1 { margin: 0; font-size: clamp(2.625rem, 6.5vw, 4.5rem); }
h2 { margin: 0 0 1.25rem; font-size: clamp(1.65rem, 4vw, 2.25rem); }
.wrap { width: min(var(--page-width), calc(100% - 3rem)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 2rem; }
.brand { color: var(--ink); text-decoration: none; font-size: 1.3rem; font-weight: 700; letter-spacing: -.035em; }
nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
nav a { color: var(--ink); font-size: .95rem; padding-block: .4rem; }
.skip-link { position: absolute; top: -6rem; left: 1rem; background: var(--bg); padding: .75rem 1rem; z-index: 1; }
.skip-link:focus { top: 1rem; }
.hero { padding-block: 5rem 4.5rem; }
.lede { margin-top: 2rem; max-width: 35rem; font-size: 1.25rem; line-height: 1.55; }
.note { color: var(--muted); font-size: .95rem; }
.support { margin-block: 0 4rem; }
.support a { overflow-wrap: anywhere; }
.site-footer { padding-block: 1rem 2.5rem; }
.site-footer p { color: var(--muted); font-size: .95rem; }
@media (max-width: 550px) {
  .wrap { width: calc(100% - 2.5rem); }
  .site-header { align-items: flex-start; flex-direction: column; gap: .75rem; padding-block: 1.4rem; }
  .hero { padding-block: 2.5rem 2.75rem; }
  .lede { margin-top: 1.5rem; font-size: 1.125rem; }
  .support { margin-bottom: 3rem; }
}
