:root {
  color-scheme: light;
  --paper: #f7f6ef;
  --ink: #192b25;
  --muted: #475a50;
  --line: #c9cec0;
  --accent: #dbef9b;
  --dark: #173a2e;
  font: 16px/1.6 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body, h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: .15rem solid currentColor; outline-offset: .3rem; }
.shell { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.topbar, .footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.15rem; }
.topbar { border-bottom: 1px solid var(--line); }
.topbar nav, .footer div { display: flex; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; text-decoration: none; }
.brand-mark { width: 2.25rem; height: 2.25rem; fill: none; stroke: currentColor; stroke-width: 1.5; }
.hero, .split { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.hero { padding-block: clamp(3rem, 6vw, 5rem); }
.eyebrow { font: 700 .75rem/1.4 ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; }
h1, h2 { font-family: Georgia, serif; font-weight: 500; letter-spacing: -.055em; line-height: 1.04; }
h1 { margin: .8rem 0 1.25rem; font-size: clamp(3rem, 7.1vw, 6.4rem); }
h1 em { color: #2f684c; }
.status-dot { display: inline-block; width: .5rem; height: .5rem; margin-right: .35rem; border-radius: 50%; background: #2f684c; }
.hero-note { margin-top: 1.1rem; color: var(--muted); font-size: .8rem; }
h2 { margin-block: .55rem .9rem; font-size: clamp(2.3rem, 5vw, 4rem); }
h3 { font-size: 1.2rem; line-height: 1.3; }
.lede { max-width: 35rem; color: var(--muted); font-size: 1.12rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem 1.3rem; align-items: center; margin-top: 1.5rem; font-weight: 650; }
.button { display: inline-flex; justify-content: space-between; gap: 1.5rem; align-items: center; padding: .8rem 1.15rem; border: 1px solid var(--ink); border-radius: .15rem; background: var(--accent); color: var(--ink); font-weight: 750; text-decoration: none; }
.button:hover { background: #e9f5bd; }
.brief, .contact { background: var(--dark); color: var(--paper); border-radius: .25rem; }
.brief { padding: clamp(1rem, 3vw, 1.7rem); box-shadow: .6rem .6rem 0 #e2e5d8; transform: rotate(1deg); }
.brief-header { display: flex; justify-content: space-between; gap: 1rem; color: var(--accent); font: 600 .65rem/1.5 ui-monospace, monospace; text-transform: uppercase; letter-spacing: .08em; }
.territory { position: relative; margin: 1rem -1rem; background: linear-gradient(#173a2e26, #173a2e66), url('/contours.svg') center / cover; border-block: 1px solid #54786a; }
.route { display: block; width: 100%; height: auto; }
.route > path { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 4 5; }
.route circle { fill: var(--dark); stroke: var(--accent); stroke-width: 1.5; }
.map-numbers { fill: var(--accent); font: 600 10px ui-monospace, monospace; text-anchor: middle; dominant-baseline: central; }
.map-caption, .map-scale { position: absolute; bottom: .4rem; font: .58rem/1.5 ui-monospace, monospace; color: #e3ecd8; }
.map-caption { left: .6rem; }
.map-scale { right: .6rem; }
.brief-title h2 { font-size: 2.25rem; margin: .8rem 0 .25rem; }
.brief-title p { font-size: .85rem; color: #d7e6db; margin-bottom: 1rem; }
.brief dl div { display: grid; grid-template-columns: 4.5rem 1fr; align-items: baseline; gap: .5rem; padding: .65rem 0; border-top: 1px solid #54786a; }
.brief dt { color: var(--accent); font: 700 .75rem/1.4 ui-monospace, monospace; }
.brief dd { font-size: .8rem; }
.brief > p { color: #d7e6db; font-size: .72rem; margin-top: .5rem; }
.section { border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.intro { max-width: 43rem; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; margin-block: 1.6rem 1rem; }
.cards article { display: flex; flex-direction: column; gap: .7rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: .15rem; background: #fcfcf7; }
.card-number { font: .62rem/1.5 ui-monospace, monospace; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.cards article > p { font-size: .92rem; }
.cards article > p, .fine { color: var(--muted); }
.fine, .footer { font-size: .9rem; }
.contract { padding: 1.2rem; border: 1px solid var(--line); border-radius: .45rem; background: #e9eee2; }
.contract p + p { margin-top: .6rem; }
code { overflow-wrap: anywhere; }
.contact { position: relative; isolation: isolate; overflow: hidden; padding: clamp(1.5rem, 5vw, 4rem); }
.contact::before { position: absolute; z-index: -1; content: ''; inset: 0 0 0 40%; opacity: .15; background: url('/contours.svg') center / cover; }
.contact p:not(.eyebrow) { max-width: 40rem; }
.contact .button { margin-top: 1.25rem; border-color: transparent; }
.contact .button:focus-visible { outline-color: var(--paper); }
.contact-note { margin-top: 1rem; font-size: .8rem; color: #d7e6db; }
.footer { padding-block: 1.5rem; }
.footer p > span { font-size: .75rem; color: var(--muted); }

@media (max-width: 59rem) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 42rem) {
  .shell { width: calc(100% - 2rem); }
  .hero, .split { grid-template-columns: 1fr; }
  .hero { padding-block: 3rem; }
  .brief { transform: none; }
}

@media (max-width: 27rem) {
  .cards { grid-template-columns: 1fr; }
}
