/* Plain Post public site. Brand (brand/BRAND.txt): civic green #1D5240, curb yellow #F2C200,
   ink #14201B, light #F3F6F5. Logo files are in brand/. */
:root {
  --brand: #1D5240;        /* civic green: links, buttons (9.3:1 on white) */
  --brand-ink: #FFFFFF;    /* text on --brand */
  --accent: #F2C200;       /* curb yellow: rules and highlights, never text on white */
  --brand-soft: #F3F6F5;   /* light */
  --ink: #14201B;          /* body text */
  --muted: #3E4A45;        /* secondary text (9:1 on white) */
  --line: #D3DCD8;
  --bg: #FFFFFF;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { font-size: 106.25%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; }
a { color: var(--brand); text-underline-offset: 0.15em; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--bg); padding: .5rem 1rem; z-index: 10; }
.wrap { max-width: 64rem; margin: 0 auto; padding: 0 1.25rem; }
header.site { border-bottom: 4px solid var(--accent); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding-top: 1rem; padding-bottom: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.brand img { height: 2.25rem; width: auto; display: block; }
nav.site ul { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; list-style: none; margin: 0; padding: 0; }
@media (max-width: 40rem) { nav.site { width: 100%; } .hide-small { display: none; } }
.button { display: inline-block; background: var(--brand); color: var(--brand-ink); padding: .7rem 1.2rem; border-radius: .4rem; text-decoration: none; font-weight: 600; }
.button.secondary { background: transparent; color: var(--brand); border: 2px solid var(--brand); }
.hero { padding-top: 4rem; padding-bottom: 3rem; }
.hero h1 { font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.15; margin: 0 0 1rem; max-width: 22ch; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 40rem; margin: 0 0 1.75rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
section { padding: 2.5rem 0; }
section h2 { font-size: 1.6rem; margin: 0 0 1rem; }
.steps { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { background: var(--brand-soft); border-radius: .5rem; padding: 1.25rem; counter-increment: step; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-weight: 700; margin-bottom: .5rem; }
.steps h3 { margin: .25rem 0 .4rem; font-size: 1.1rem; }
.note { border-left: 4px solid var(--accent); background: var(--brand-soft); padding: 1rem 1.25rem; border-radius: 0 .4rem .4rem 0; }
.prose { max-width: 44rem; }
.prose h2 { margin-top: 2rem; font-size: 1.3rem; }
footer.site { border-top: 1px solid var(--line); margin-top: 3rem; padding: 2rem 0; color: var(--muted); font-size: .95rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
footer.site ul { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
@media (prefers-color-scheme: dark) {
  /* On dark: links and buttons in curb yellow on ink (11:1). */
  :root { --bg: #14201B; --ink: #F3F6F5; --muted: #C9D3CF; --line: #2E3D37; --brand-soft: #1B2A24; --brand: #F2C200; --brand-ink: #14201B; }
}
