:root {
  color-scheme: light;
  --ink: #1d2733;
  --muted: #586473;
  --navy: #16324f;
  --navy-deep: #0f2439;
  --amber: #f2a33a;
  --amber-deep: #c97a12;
  --paper: #faf8f4;
  --card: #ffffff;
  --line: #e2ddd3;
  --band: #eef2f5;
  --radius: 10px;
  --van-glass: #faf8f4;
  --van-stripe: #f2a33a;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 1.0625rem; }
img, svg { max-width: 100%; }
a { color: var(--navy); text-underline-offset: 2px; }
a:hover { color: var(--amber-deep); }
h1, h2, h3 { line-height: 1.2; color: var(--navy-deep); }
h1 { font-size: clamp(1.9rem, 5vw, 2.9rem); margin: 0 0 .6rem; letter-spacing: -.01em; }
h2 { font-size: 1.45rem; margin: 2.2rem 0 .8rem; }
h3 { font-size: 1.1rem; margin: 0 0 .35rem; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.section { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 1.2rem; }
.hint, .field-hint { color: var(--muted); font-size: .95rem; }

.skip { position: absolute; left: -999px; top: 0; background: var(--amber); color: var(--ink); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

.draft-banner { background: #b3261e; color: #fff; text-align: center; font-weight: 700; padding: .45rem 16px; font-size: .9rem; }

/* Header */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; flex-wrap: wrap; padding-top: .5rem; padding-bottom: .5rem; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; }
.brand-mark { width: 52px; height: 26px; color: var(--navy); }
.site-header nav { display: flex; align-items: center; gap: .25rem 1rem; flex-wrap: wrap; }
.site-header nav a { text-decoration: none; font-weight: 600; padding: .3rem 0; }
.site-header nav a[aria-current="page"]:not(.button) { border-bottom: 3px solid var(--amber); }

/* Buttons */
.button { display: inline-block; background: var(--amber); color: var(--navy-deep); border: 0; border-radius: 999px; padding: .8rem 1.5rem; font-weight: 700; font-size: 1.05rem; text-decoration: none; cursor: pointer; font-family: inherit; }
.button:hover { background: #f5b55c; color: var(--navy-deep); }
.button.small { padding: .45rem 1rem; font-size: .95rem; }
.button.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.button.ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.button[disabled] { opacity: .55; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 1rem; }

/* Hero */
.hero { background: var(--navy); color: #e8eef4; --van-glass: var(--navy); }
.hero h1 { color: #fff; }
.hero .lead { color: #c9d6e2; }
.hero .hint { color: #b5c5d4; }
.hero a:not(.button) { color: #fff; }
.hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; padding-top: 3.5rem; padding-bottom: 3.5rem; }
.hero-art { color: #e8eef4; }
.hero-art svg { width: 100%; height: auto; display: block; }

/* Cards and lists */
.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.cards li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.25rem; border-top: 4px solid var(--amber); }
.cards p { margin: 0; color: var(--muted); }
.band { background: var(--band); }
.band h2 { margin-top: 0; }
.ticks { list-style: none; padding: 0; columns: 2 260px; }
.ticks li { padding-left: 1.6rem; position: relative; margin: 0 0 .5rem; break-inside: avoid; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: .9rem; height: .5rem; border-left: 3px solid var(--amber-deep); border-bottom: 3px solid var(--amber-deep); transform: rotate(-45deg); }
.steps { padding-left: 1.3rem; }
.steps li { margin-bottom: .6rem; }
.town-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.town-list li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .9rem; }

/* Prices */
.examples { display: grid; gap: .75rem; }
.example { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; }
.example p { margin: 0; color: var(--muted); }
.example .price { font-size: 1.6rem; font-weight: 800; color: var(--navy-deep); white-space: nowrap; }

/* Form */
.quote-form fieldset { border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); padding: 1rem 1.25rem 1.25rem; margin: 0 0 1.25rem; }
.quote-form legend { font-weight: 800; color: var(--navy-deep); padding: 0 .4rem; font-size: 1.1rem; }
.quote-form label { display: block; font-weight: 600; margin: .9rem 0 .3rem; }
.quote-form input:not([type=checkbox]):not([type=radio]), .quote-form select, .quote-form textarea {
  width: 100%; font: inherit; padding: .65rem .75rem; border: 1px solid #b9b2a5; border-radius: 8px; background: #fff; color: var(--ink);
}
.quote-form input.postcode { max-width: 12rem; text-transform: uppercase; }
.quote-form select { max-width: 16rem; }
.quote-form label.check, .quote-form label.choice { font-weight: 400; display: flex; gap: .6rem; align-items: flex-start; }
.quote-form label.choice { border: 1px solid var(--line); border-radius: 8px; padding: .7rem .8rem; margin: .5rem 0; cursor: pointer; }
.quote-form label.choice:has(input:checked) { border-color: var(--amber-deep); background: #fff7ec; }
.quote-form input[type=checkbox], .quote-form input[type=radio] { width: 1.15rem; height: 1.15rem; margin-top: .2rem; flex: none; accent-color: var(--navy); }
.optional { font-weight: 400; color: var(--muted); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 0 0 1rem; }

.counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 1.25rem; margin-top: .5rem; }
.count label { margin-bottom: 0; }
.count .field-hint { display: block; margin: 0 0 .35rem; font-size: .9rem; }
.quote-form .count input { max-width: 8rem; }

/* Prose pages */
.prose li { margin-bottom: .4rem; }
.todo { color: #b3261e; font-weight: 700; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #c9d6e2; margin-top: 2rem; padding: 2rem 0 1.25rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-inner p { margin: 0 0 .3rem; }
.footer-name { font-weight: 800; color: #fff; font-size: 1.1rem; }
.site-footer nav { display: grid; grid-template-columns: repeat(2, auto); gap: .3rem 2rem; align-content: start; }
.legal { margin-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1rem; font-size: .8rem; color: #93a5b8; }
.legal p { margin: 0 0 .3rem; }

@media (max-width: 720px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 2rem; padding-bottom: 2.5rem; }
  .hero-art { order: -1; max-width: 220px; }
  .example { flex-direction: column; align-items: flex-start; gap: .3rem; }
  .site-header nav { width: 100%; justify-content: space-between; }
}
