/* Layout only. Values come from tokens.css (copy of design/tokens.css); rules in design/DESIGN.md. */

/* Self-hosted Instrument Sans (SIL OFL 1.1, see LICENSES/). */
@font-face { font-family: 'Instrument Sans'; font-weight: 400 700; font-display: swap; src: url(/fonts/instrument-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-weight: 400 700; font-display: swap; src: url(/fonts/instrument-sans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

* { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; background: var(--nl-bg); color: var(--nl-ink); font: 400 var(--nl-fs-body)/var(--nl-lh) var(--nl-font); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; transition: color var(--nl-ease), background-color var(--nl-ease); }
:focus-visible { outline: 2px solid var(--nl-ink); outline-offset: 4px; }
.wrap { max-width: calc(var(--nl-max) + 2 * var(--nl-gutter)); margin-inline: auto; padding-inline: var(--nl-gutter); }
section { padding-block: var(--nl-section); }

.top { display: flex; justify-content: space-between; align-items: center; padding-block: 2rem; }
.top a { text-decoration: none; }
.top a:last-child { color: var(--nl-muted); }
.top a:last-child:hover { color: var(--nl-ink); }
.mark img { display: block; height: 20px; width: auto; }

.hero { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; }
h1 { font-weight: 600; font-size: var(--nl-fs-display); line-height: var(--nl-lh-tight); letter-spacing: var(--nl-track-display); max-width: 13ch; }
.lead { max-width: var(--nl-measure); }
.hero .lead { margin-top: 2rem; font-size: var(--nl-fs-lead); color: var(--nl-muted); }
.hero .cta { margin-top: 2.5rem; }
h2 { font-weight: 600; font-size: var(--nl-fs-h2); letter-spacing: var(--nl-track-h2); line-height: 1.1; margin-bottom: var(--nl-title-gap); }
h3 { font-weight: 600; font-size: var(--nl-fs-h3); margin-bottom: .5rem; }

.list { display: grid; gap: var(--nl-grid-gap); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.list li { border-top: 1px solid var(--nl-line); padding-top: 1.25rem; }
.list p { color: var(--nl-muted); }
.steps { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.steps .num { display: block; color: var(--nl-dot); font-weight: 600; margin-bottom: .75rem; }

.roof h2 { font-size: var(--nl-fs-h3); color: var(--nl-muted); margin-bottom: 1.5rem; letter-spacing: 0; }
.statement { font-weight: 600; font-size: var(--nl-fs-h2); letter-spacing: var(--nl-track-h2); line-height: 1.15; max-width: 22ch; }

.contact { text-align: center; }
.contact h2 { margin: 0 auto 2.5rem; max-width: 16ch; }
.mail { display: inline-block; padding: 1rem 2rem; border-radius: var(--nl-radius); background: var(--nl-ink); color: var(--nl-bg); text-decoration: none; font-weight: 600; }
.mail:is(:hover, :focus-visible) { background: var(--nl-ink-hover); }
.hero .mail { font-size: .9375rem; }

footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 3rem; color: var(--nl-muted); font-size: var(--nl-fs-small); }
footer a { text-decoration: none; }
footer a:hover { color: var(--nl-ink); }
.hero .lead + .lead { margin-top: 1rem; }
h2 + .intro { margin: -2.5rem 0 var(--nl-title-gap); color: var(--nl-muted); }
