/* Fonts are self-hosted (SIL Open Font License 1.1, see fonts/LICENSE.txt). Latin subset. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 800; font-stretch: 62% 125%; font-display: swap; src: url("fonts/archivo.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/plex-sans.woff2") format("woff2"); }

:root {
  --paper: #f6f5f2;
  --surface: #ffffff;
  --alt: #ecebe6;
  --ink: #1b1f24;
  --muted: #565d66;
  --rule: #d8d6cf;
  --accent: #1f4e79;
  --accent-ink: #ffffff;
  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 64rem;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121417; --surface: #1a1d21; --alt: #16191c; --ink: #e8e9eb; --muted: #a2a8b0; --rule: #2c3036;
    --accent: #8fb8e0; --accent-ink: #0d1b29; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #121417; --surface: #1a1d21; --alt: #16191c; --ink: #e8e9eb; --muted: #a2a8b0; --rule: #2c3036;
  --accent: #8fb8e0; --accent-ink: #0d1b29; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--body); }
a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 0.6rem; }
h1 { font-size: clamp(2rem, 5.5vw, 3.2rem); font-weight: 750; font-stretch: 90%; max-width: 20ch; }
h2 { font-size: 1.6rem; font-weight: 700; margin-top: 0.4rem; }
h2 + * { margin-top: 0; }
* + h2 { margin-top: 2.5rem; }
h3 { font-size: 1.1rem; font-weight: 650; }
p { margin: 0 0 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 40rem) { .wrap { padding: 0 24px; } }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 42rem; }

.top { border-bottom: 1px solid var(--rule); background: var(--surface); }
.top .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center; justify-content: space-between; padding-top: 0.9rem; padding-bottom: 0.9rem; }
.brand { font-family: var(--display); font-weight: 800; font-size: 1.25rem; color: var(--ink); text-decoration: none; letter-spacing: 0.01em; }
.brand span { font-weight: 500; color: var(--muted); }
.top nav { display: flex; gap: 1.25rem; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.top nav a:hover { color: var(--accent); }

section { padding: 3rem 0; }
.hero { padding: 4rem 0 3rem; border-bottom: 1px solid var(--rule); }
.alt { background: var(--alt); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); padding: 0.7rem 1.2rem; border-radius: 6px; font-weight: 600; text-decoration: none; }
.btn:hover { filter: brightness(1.1); }

.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin: 1.5rem 0 2rem; }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 1.25rem; }
.card p:last-child { margin-bottom: 0; }
.price { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--accent); margin-bottom: 0.6rem; }
.sub { margin-top: 1rem; }
.steps { padding-left: 1.3rem; max-width: 42rem; }
.steps li { margin-bottom: 0.4rem; }

.policy { max-width: 46rem; margin: 1.25rem 0 0; }
.policy dt { font-weight: 650; margin-top: 1rem; }
.policy dd { margin: 0.2rem 0 0; color: var(--ink); }
.plain { padding-left: 1.2rem; max-width: 46rem; }
.plain li { margin-bottom: 0.4rem; }

.contact { display: grid; gap: 1.5rem 3rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin-top: 1rem; }
address { font-style: normal; margin-bottom: 0.6rem; }

footer { border-top: 1px solid var(--rule); padding: 1.5rem 0 2rem; color: var(--muted); font-size: 0.92rem; }
footer p { margin: 0 0 0.3rem; }
