/* Geist, self-hosted. One variable file per script covers every weight. SIL OFL 1.1, see /static/fonts/OFL.txt */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/static/fonts/geist-v5-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; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/static/fonts/geist-v5-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; }

/* Soaring Turtle · Job-Day prototype · design system v1.0 (Forest Teal, Geist), revised 10 October 2026 */
:root {
  --teal: #0E5149; --teal-soft: rgba(14,81,73,0.10); --teal-dark: #0B3F39;
  --teal-70: #568580; --teal-45: #93B1AD; --teal-25: #C3D4D2; --mist: #F2F7F6;
  --ink: #222222; --focus: #3f3f3f; --second: #6a6a6a;
  --border: #ebebeb; --surface: #F7F7F7; --surface-2: #f0f0f0; --white: #ffffff;
  --dark: #0b1520; --dark-card: #142233; --dark-line: #1f3448;
  --dark-text: #f1f5f9; --dark-second: #86A8A4; --dark-body: #c9d4d2;
  --warn-bg: #FFF4D6; --warn-text: #5A4A1A;
  --r: 20px; --r-large: 32px; --rs: 8px; --r-pill: 999px;
  --shadow: rgba(0,0,0,0.02) 0 0 0 1px, rgba(0,0,0,0.04) 0 2px 6px, rgba(0,0,0,0.10) 0 4px 8px;
  --shadow-hover: rgba(0,0,0,0.02) 0 0 0 1px, rgba(0,0,0,0.08) 0 6px 16px, rgba(0,0,0,0.14) 0 10px 20px;
  --sans: 'Geist', -apple-system, system-ui, sans-serif;
  /* type scale, six steps */
  --text-xs: 0.8125rem;  /* 13px  meta, captions */
  --text-sm: 0.875rem;   /* 14px  hints, table text */
  --text-md: 1.0625rem;  /* 17px  body */
  --text-lg: 1.3125rem;  /* 21px  lead, h3 */
  --text-xl: clamp(1.75rem, 2.6vw, 2.25rem);   /* h2 28 to 36 */
  --text-2xl: clamp(2.5rem, 5vw, 3.75rem);     /* h1 40 to 60 */
  /* spacing */
  --space-xs: 0.5rem; --space-sm: 0.75rem; --space-md: 1rem; --space-lg: 1.5rem; --space-xl: 2rem;
  --space-2xl: 3rem; --space-3xl: 4rem; --space-4xl: 6rem;
  --control: 3rem;      /* 48px inputs and buttons */
  --control-lg: 3.5rem; /* 56px primary action */
  --tap: 2.75rem;       /* 44px minimum target */
  --measure: 36rem;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { background: var(--white); color: var(--ink); font-family: var(--sans); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; font-feature-settings: "tnum"; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font-family: var(--sans); font-size: inherit; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: var(--rs); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }

/* type */
h1, h2, h3 { line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: 2.5rem; font-size: var(--text-2xl); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: 1.75rem; font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); font-weight: 700; letter-spacing: -0.01em; }
p { max-width: var(--measure); }
.lead { font-size: var(--text-lg); line-height: 1.45; color: var(--focus); font-weight: 400; }
.meta { font-size: var(--text-xs); color: var(--second); }
.hint { font-size: var(--text-sm); color: var(--second); }
.label { font-size: var(--text-xs); font-weight: 700; color: var(--focus); }
.second { color: var(--second); }
.focus-text { color: var(--focus); }
.measure { max-width: var(--measure); }
.measure-wide { max-width: 46rem; }

/* layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.stack { display: flex; flex-direction: column; gap: var(--space-md); }
.stack--tight { gap: var(--space-xs); }
.stack--loose { gap: var(--space-lg); }
.row { display: flex; align-items: center; gap: var(--space-sm); flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.row--end { align-items: flex-end; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: var(--space-2xl); align-items: start; }
.split--center { align-items: center; }
.cols { display: flex; flex-wrap: wrap; gap: var(--space-2xl); align-items: flex-start; }
.cols > .main { flex: 999 1 32rem; min-width: 0; }
.cols > .side { flex: 1 1 18rem; min-width: 0; max-width: 24rem; }

/* sections: varied rhythm on purpose */
.hero { padding: var(--space-3xl) 0 var(--space-2xl); border-bottom: 1px solid var(--border); }
.hero .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: var(--space-2xl); align-items: start; }
.hero__copy { display: flex; flex-direction: column; gap: var(--space-lg); max-width: 36rem; }
.section { padding: var(--space-4xl) 0; }
.section--tight { padding: var(--space-2xl) 0; }
.section--roomy { padding: var(--space-4xl) 0 7rem; }
.section--then { padding-bottom: var(--space-2xl); }
.map-block { border-radius: var(--r-large); padding: var(--space-xl); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.section--grey { background: var(--surface); }
.section--dark { background: var(--dark); color: var(--dark-text); }
.section--dark .lead, .section--dark .focus-text { color: var(--dark-body); }
.section--dark .hint, .section--dark .meta, .section--dark .label, .section--dark .facts span { color: var(--dark-second); }
.section--dark .facts strong { color: var(--dark-text); }
.section--dark h2 { color: var(--dark-text); }
.divider { border: 0; border-top: 1px solid var(--border); margin: 0; }

/* header and footer */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.site-header .container { min-height: 4.75rem; display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: var(--space-sm); color: var(--ink); font-size: var(--text-md); font-weight: 700; letter-spacing: -0.02em; min-height: var(--tap); }
.brand:hover { text-decoration: none; }
.brand img { height: 2.5rem; width: auto; }
.brand em { font-style: normal; color: var(--teal); }
.nav { display: flex; align-items: center; gap: var(--space-lg); flex-wrap: wrap; }
.nav a { color: var(--ink); font-weight: 600; min-height: var(--tap); display: inline-flex; align-items: center; }
.nav a.is-active { font-weight: 700; border-bottom: 2px solid var(--ink); }
.nav a:hover { text-decoration: none; color: var(--teal); }
.site-footer { border-top: 1px solid var(--border); padding: var(--space-2xl) 0 var(--space-xl); }
.site-footer .cols { gap: var(--space-xl); }
.site-footer nav { display: flex; flex-direction: column; gap: var(--space-xs); }
.site-footer nav a, .site-footer .contact a { color: var(--ink); min-height: var(--tap); display: inline-flex; align-items: center; }
.site-footer .legal { display: flex; justify-content: space-between; gap: var(--space-md); flex-wrap: wrap; padding-top: var(--space-lg); margin-top: var(--space-xl); border-top: 1px solid var(--border); font-size: var(--text-xs); color: var(--second); }
.site-footer .legal p { max-width: 48rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); font-weight: 700; border-radius: var(--rs); border: 0; cursor: pointer; text-decoration: none; height: var(--control); padding: 0 1.375rem; font-size: var(--text-md); transition: background .18s cubic-bezier(.2,0,.2,1), transform .18s cubic-bezier(.2,0,.2,1); }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary, a.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover, a.btn--primary:hover { background: var(--teal-dark); color: var(--white); }
.btn--ghost { background: var(--white); color: var(--ink); border: 1px solid var(--ink); }
.btn--ghost:hover { background: var(--surface); }
.btn--white { background: var(--white); color: var(--dark); }
.btn--white:hover { background: var(--mist); }
.btn--lg { height: var(--control-lg); padding: 0 1.75rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn .btn__busy { display: none; }
.htmx-request .btn--submit .btn__label, .htmx-request.btn--submit .btn__label { display: none; }
.htmx-request .btn--submit .btn__busy, .htmx-request.btn--submit .btn__busy { display: inline; }
.link-arrow { display: inline-flex; align-items: center; gap: var(--space-xs); font-weight: 700; color: var(--teal); min-height: var(--tap); }

/* cards, used sparingly */
.card { background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); padding: var(--space-xl); }
.card--mist { background: var(--mist); box-shadow: none; }
.card--grey { background: var(--surface); box-shadow: none; }
.card--outline { box-shadow: none; border: 1px solid var(--border); }
.card--pad-sm { padding: var(--space-lg); }

/* form */
.form { display: flex; flex-direction: column; gap: var(--space-lg); max-width: 32rem; width: 100%; justify-self: end; }
.field { display: flex; flex-direction: column; gap: var(--space-xs); position: relative; }
.field label, .field .label { font-size: var(--text-sm); font-weight: 700; color: var(--ink); }
.field-hint { font-size: var(--text-sm); color: var(--second); }
.field-hint--ok { color: var(--teal); font-weight: 600; }
.field-error { font-size: var(--text-sm); font-weight: 600; color: var(--warn-text); background: var(--warn-bg); border-radius: var(--rs); padding: var(--space-xs) var(--space-sm); }
.input { font-size: var(--text-md); height: var(--control); padding: 0 var(--space-md); border: 1px solid var(--border); border-radius: var(--rs); background: var(--white); color: var(--ink); width: 100%; }
.input:focus { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); outline: none; }
.results { list-style: none; margin-top: var(--space-xs); padding: var(--space-xs); background: var(--white); border-radius: 12px; box-shadow: var(--shadow-hover); display: flex; flex-direction: column; }
.result { display: flex; justify-content: space-between; align-items: center; gap: var(--space-sm); width: 100%; padding: 0 var(--space-sm); min-height: var(--control); border-radius: var(--rs); border: 0; background: transparent; cursor: pointer; text-align: left; font-weight: 600; font-size: var(--text-md); }
.result:hover, .result:focus-visible { background: var(--mist); }
.result__county { font-size: var(--text-sm); color: var(--second); font-weight: 500; }
.result--free { font-weight: 500; color: var(--second); border-top: 1px solid var(--border); border-radius: 0; margin-top: var(--space-xs); font-size: var(--text-sm); }
.result__empty { padding: 0 var(--space-sm); min-height: var(--tap); display: flex; align-items: center; font-size: var(--text-sm); color: var(--second); }
.chips { display: flex; gap: var(--space-xs); flex-wrap: wrap; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips label { font-size: var(--text-md); font-weight: 600; min-height: var(--tap); padding: 0 var(--space-md); border-radius: var(--r-pill); border: 1.5px solid var(--border); background: var(--white); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; }
.chips input:checked + label { background: var(--ink); color: var(--white); border-color: var(--ink); font-weight: 700; }
.chips input:focus-visible + label { outline: 2px solid var(--teal); outline-offset: 2px; }

/* how it works */
.steps { list-style: none; display: flex; flex-direction: column; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 2.5rem 1fr; gap: var(--space-md); padding: var(--space-md) 0; border-top: 1px solid var(--border); }
.steps li:last-child { border-bottom: 1px solid var(--border); }
.steps .n { font-size: var(--text-lg); font-weight: 500; color: var(--second); line-height: 1.2; }
.steps strong { display: block; font-size: var(--text-md); }
.steps span { color: var(--focus); }
.steps--wide li { grid-template-columns: 3rem 1fr; padding: var(--space-lg) 0; }
.schematic { background: var(--surface); border-radius: var(--r-large); padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; gap: var(--space-lg); }
.schematic__houses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); }
.house { background: var(--white); border-radius: 14px; padding: var(--space-md); display: flex; flex-direction: column; gap: 0.25rem; box-shadow: rgba(0,0,0,0.02) 0 0 0 1px, rgba(0,0,0,0.04) 0 2px 6px; }
.house .meta { font-weight: 700; }
.house strong { font-size: var(--text-md); }
.house span { font-size: var(--text-sm); color: var(--second); }
.schematic__arrow { display: flex; align-items: center; gap: var(--space-md); color: var(--teal); }
.schematic__arrow i { flex: 1; height: 1px; background: var(--teal-45); display: block; }
.van { background: var(--ink); color: var(--white); border-radius: 14px; padding: var(--space-md) var(--space-lg); display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); flex-wrap: wrap; }
.van__copy { display: flex; align-items: center; gap: var(--space-sm); }
.van__copy span { font-size: var(--text-sm); color: #d9d9d9; display: block; }
.van__facts { display: flex; gap: var(--space-lg); font-size: var(--text-sm); color: #d9d9d9; }
.van__facts strong { color: var(--white); font-size: var(--text-md); display: block; }

/* map and demand */
.counts { font-size: var(--text-md); font-weight: 600; display: inline-flex; align-items: center; gap: var(--space-xs); }
.dot { width: 0.5rem; height: 0.5rem; border-radius: 999px; background: var(--teal); display: inline-block; }
.dot--pale { background: var(--teal-45); }
.ring { width: 0.75rem; height: 0.75rem; border-radius: 999px; border: 1px solid var(--teal-45); display: inline-block; }
.map-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: var(--space-xl); align-items: start; }
.panel { background: var(--dark-card); border-radius: var(--r); padding: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-md); color: var(--dark-text); }
.panel h3 { font-size: var(--text-md); font-weight: 700; color: var(--dark-second); }
.panel--map svg { width: 100%; max-width: 32rem; height: auto; display: block; margin: 0 auto; }
.panel--light { background: var(--white); color: var(--ink); }
.panel--light h3 { color: var(--focus); }
.map-legend { display: flex; gap: var(--space-lg); flex-wrap: wrap; font-size: var(--text-xs); color: var(--dark-second); }
.map-legend span { display: inline-flex; align-items: center; gap: var(--space-xs); }
.map-empty { font-size: var(--text-sm); color: var(--dark-second); text-align: center; }
.ladder { display: flex; flex-direction: column; gap: var(--space-sm); }
.ladder__head { display: flex; justify-content: space-between; font-size: var(--text-sm); }
.ladder__track { height: 0.5rem; background: var(--dark); border-radius: 999px; overflow: hidden; margin-top: 0.3rem; }
.panel--light .ladder__track { background: var(--surface-2); }
.ladder__bar { height: 100%; border-radius: 999px; }
.panel-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: var(--space-lg); }
.arrived { display: flex; gap: var(--space-lg); flex-wrap: wrap; }
.arrived strong { font-size: var(--text-lg); font-weight: 800; display: block; line-height: 1.1; }
.arrived span { font-size: var(--text-xs); color: var(--dark-second); }
.table-wrap { overflow-x: auto; }
.jobs-table { width: 100%; border-collapse: collapse; min-width: 32rem; font-size: var(--text-sm); }
.jobs-table th { text-align: left; padding: var(--space-xs) var(--space-md) var(--space-xs) 0; font-size: var(--text-xs); font-weight: 700; color: var(--focus); border-bottom: 1px solid var(--border); }
.jobs-table td { padding: var(--space-sm) var(--space-md) var(--space-sm) 0; border-bottom: 1px solid var(--border); }
.jobs-table th.num, .jobs-table td.num { text-align: right; padding-right: 0; }
.pill { font-size: var(--text-xs); font-weight: 600; padding: 0.25rem 0.625rem; border-radius: var(--r-pill); white-space: nowrap; }
.pill--magazine { background: #2e2e2e; color: var(--white); }
.pill--share, .pill--facebook { background: var(--surface-2); color: var(--ink); border: 1.5px solid var(--ink); padding: 0.2rem 0.625rem; }
.pill--direct { background: var(--surface); color: var(--second); }
.demand-empty { border: 1.5px dashed var(--teal-45); }

/* confirmation */
.confirm { display: flex; flex-direction: column; gap: var(--space-md); }
.confirm__tick { width: 3.5rem; height: 3.5rem; border-radius: 999px; background: var(--teal); color: var(--white); display: flex; align-items: center; justify-content: center; }
.confirm h2 { font-size: var(--text-xl); }
.pips { display: grid; grid-template-columns: repeat(auto-fit, minmax(2rem, 1fr)); gap: var(--space-xs); }
.pip { height: 0.625rem; border-radius: 999px; background: var(--surface-2); display: block; }
.pip.is-on { background: var(--teal); }
.share-link { background: var(--white); border: 1px solid var(--border); border-radius: var(--rs); padding: var(--space-sm) var(--space-md); font-size: var(--text-sm); word-break: break-all; }

/* content */
.ticks { list-style: none; display: flex; flex-direction: column; gap: var(--space-sm); color: var(--focus); }
.ticks li { display: flex; gap: var(--space-sm); align-items: flex-start; }
.ticks svg { flex-shrink: 0; margin-top: 0.2rem; }
.faq { display: flex; flex-direction: column; }
.faq > div { padding: var(--space-lg) 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 0.375rem; }
.faq > div:last-child { border-bottom: 1px solid var(--border); }
.faq strong { font-size: var(--text-md); }
.faq span { color: var(--focus); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: var(--space-md); }
.facts div { display: flex; flex-direction: column; gap: 0.25rem; }
.facts strong { font-size: var(--text-xl); font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.facts span { font-size: var(--text-sm); color: var(--second); }
.price-table { background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.price-table > div { display: grid; grid-template-columns: 1fr auto; gap: var(--space-lg); align-items: center; padding: var(--space-lg); border-bottom: 1px solid var(--border); }
.price-table > div:last-of-type { border-bottom: 0; }
.price-table .amount { font-size: var(--text-lg); font-weight: 800; }
.price-table .note { background: var(--mist); color: var(--teal); font-weight: 600; font-size: var(--text-sm); display: block; padding: var(--space-md) var(--space-lg); }
.post { max-width: var(--measure); display: flex; flex-direction: column; gap: var(--space-lg); line-height: 1.65; }
.post h2 { margin-top: var(--space-xs); }
.post table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.post th, .post td { text-align: left; vertical-align: top; padding: var(--space-xs) var(--space-sm); border-bottom: 1px solid var(--border); }
.post th { font-weight: 700; }
.pull { padding: var(--space-lg) var(--space-xl); background: var(--mist); border-radius: var(--r); font-size: var(--text-lg); line-height: 1.35; font-weight: 700; color: var(--teal); }
.notes-list { display: flex; flex-direction: column; }
.notes-list a { display: grid; grid-template-columns: minmax(7rem, 10rem) 1fr; gap: var(--space-lg); padding: var(--space-lg) 0; border-top: 1px solid var(--border); color: var(--ink); }
.notes-list a:hover { text-decoration: none; background: var(--surface); }
.notes-list a:last-child { border-bottom: 1px solid var(--border); }
.notes-list h3 { font-size: var(--text-lg); line-height: 1.3; }
.notes-list p { color: var(--focus); }
.photo-figure { margin: 0; display: flex; flex-direction: column; gap: var(--space-xs); }
.photo-figure img { display: block; width: 100%; height: auto; border-radius: var(--r); background: var(--teal-25); }
.photo-figure figcaption { font-size: var(--text-xs); color: var(--second); }
.photo-figure figcaption a { color: inherit; text-decoration: underline; }
.logo-panel { min-height: 26rem; background: var(--mist); border-radius: var(--r-large); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-lg); padding: var(--space-xl); }
.logo-panel img { width: 60%; max-width: 20rem; }
.feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); overflow: hidden; border-radius: var(--r); box-shadow: var(--shadow); color: var(--ink); }
.feature:hover { text-decoration: none; }
.feature__photo { display: block; width: 100%; height: 100%; min-height: 20rem; object-fit: cover; background: var(--teal-25); }
.feature__copy { padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; gap: var(--space-sm); justify-content: center; }
.feature__copy h2 { font-size: var(--text-xl); }
.byline { display: flex; align-items: center; gap: var(--space-sm); }
.byline img { height: 2.5rem; width: auto; }
.email-note { display: flex; flex-direction: column; gap: var(--space-xs); padding: var(--space-lg); background: var(--mist); border-radius: var(--r); }
.email-note strong { font-size: var(--text-lg); line-height: 1.3; }

/* phone */
@media (max-width: 720px) {
  .section { padding: var(--space-2xl) 0; }
  .section--roomy { padding: var(--space-2xl) 0 var(--space-3xl); }
  .hero { padding: var(--space-xl) 0; }
  .hero .container { gap: var(--space-lg); }
  .site-header .container { gap: var(--space-xs); }
  .nav { gap: var(--space-md); }
  .nav a { font-size: var(--text-sm); }
  .form { justify-self: stretch; }
  .notes-list a { grid-template-columns: 1fr; gap: 0.375rem; }
  .steps--wide li { grid-template-columns: 2.5rem 1fr; }
}

/* How we check: the list of registers */
.register-list { list-style: none; display: flex; flex-direction: column; gap: var(--space-sm); }
.register-list li { display: flex; flex-direction: column; gap: 0.125rem; }
.register-list a { font-weight: 700; color: var(--teal); }
.register-list span { font-size: var(--text-sm); color: var(--second); }
