:root {
  color-scheme: light;
  --petrol: #173f46;
  --ink: #16363d;
  --muted: #4c6264;
  --paper: #faf4e8;
  --white: #fffdf1;
  --coral: #ef8b75;
  --rose: #e65860;
  --tint: #f9ded4;
  --line: #ded6c7;
  --focus: #196675;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 "DM Sans", system-ui, sans-serif; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.wrap { width: min(1150px, calc(100% - 3rem)); margin-inline: auto; }
.brandbar { background: var(--white); border-bottom: 4px solid var(--rose); }
.brandbar img { display: block; width: 84px; height: 84px; object-fit: contain; }
.hero { background: var(--petrol); color: var(--white); padding: clamp(1.7rem, 4vw, 3rem) 0; }
h1, h2 { font-family: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif; letter-spacing: -.04em; line-height: 1.05; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); margin: 0 0 .35rem; }
.hero p { margin: 0; font-size: clamp(1.12rem, 2.5vw, 1.55rem); }
main { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: clamp(1rem, 3vw, 2rem); align-items: start; padding: 1.75rem 0 3.5rem; }
aside { position: sticky; top: 1rem; padding: .6rem 0; }
#count { display: block; font-size: 1.1rem; }
progress { appearance: none; width: 100%; height: .55rem; border: 0; border-radius: 1rem; overflow: hidden; background: var(--line); color: var(--rose); }
progress::-webkit-progress-bar { background: var(--line); }
progress::-webkit-progress-value { background: var(--rose); }
progress::-moz-progress-bar { background: var(--rose); }
nav { display: grid; gap: .22rem; margin: 1rem 0; }
nav button { display: flex; align-items: start; justify-content: space-between; gap: .35rem; padding: .55rem .65rem; border: 0; border-radius: .55rem; background: none; color: var(--ink); text-align: left; }
nav button:hover, nav button[aria-current] { background: var(--tint); }
nav button[aria-current] { font-weight: 750; box-shadow: inset 3px 0 var(--rose); }
small, .muted { color: var(--muted); }
nav small { white-space: nowrap; }
#storage-status { margin: 0; font-size: .82rem; }
.panel { min-width: 0; padding: clamp(1.15rem, 3.5vw, 2.65rem); background: var(--white); border: 1px solid var(--line); border-radius: 1.25rem; }
.step { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 750; }
h2 { margin: .4rem 0 .8rem; font-size: clamp(1.8rem, 4vw, 3.05rem); }
.panel p { margin: .65rem 0; }
fieldset { min-width: 0; border: 0; border-top: 1px solid var(--line); padding: 0; margin: 1.3rem 0 0; }
fieldset:first-of-type { border-top: 0; margin-top: .25rem; }
legend { float: left; width: 100%; padding: .9rem 0 .55rem; font-weight: 750; font-size: 1.06rem; }
legend + div { clear: both; }
.options { display: flex; gap: .45rem; flex-wrap: wrap; }
.options label { cursor: pointer; position: relative; }
.options input { position: absolute; opacity: 0; }
.options span { display: flex; align-items: center; gap: .4rem; min-height: 44px; padding: .3rem .65rem; border: 1px solid var(--line); border-radius: .55rem; }
.options span::before { content: ""; width: .85rem; height: .85rem; flex: 0 0 .85rem; border: 1px solid var(--muted); border-radius: 50%; }
.options input:checked + span { background: var(--tint); border-color: #bd4c4b; font-weight: 750; }
.options input:checked + span::before { background: #bd4c4b; border-color: #bd4c4b; box-shadow: inset 0 0 0 2px var(--white); }
.options input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.scale { background: #f4eee1; padding: .6rem .75rem; margin: 1.15rem 0 .2rem; border-radius: .55rem; color: var(--ink); font-size: .86rem; }
.notes { display: block; margin: 1.4rem 0 .3rem; font-weight: 650; }
textarea, .contact-fields input { width: 100%; padding: .55rem .65rem; background: var(--white); color: var(--ink); border: 1px solid #938e82; border-radius: .55rem; }
textarea { resize: vertical; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: 1.25rem; }
.actions .primary { margin-inline-start: auto; }
.primary, .secondary { min-height: 44px; border-radius: .55rem; padding: .6rem .9rem; font-weight: 750; }
.primary { border: 1px solid transparent; background: var(--coral); color: var(--ink); }
.primary:hover:not(:disabled) { background: #f3a38e; }
.secondary { border: 1px solid var(--line); background: transparent; color: var(--ink); }
.secondary:hover { background: var(--paper); }
.contact { margin-top: 1.2rem; }
.contact-fields { display: grid; gap: .75rem; }
.contact-fields label { display: grid; gap: .25rem; font-weight: 650; }
.consent { display: flex; gap: .55rem; align-items: baseline; margin: 1rem 0; }
.consent input { accent-color: var(--petrol); }
.contact button:disabled { background: #e9e2d5; color: var(--muted); opacity: 1; cursor: default; }
@media (max-width: 720px) {
  .wrap { width: calc(100% - 1.5rem); }
  main { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
  aside { position: static; padding: 0; }
  nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  nav button { font-size: .9rem; }
  .brandbar img { width: 68px; height: 68px; }
}
.brandbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.brandbar a { color: var(--petrol); font-size: .93rem; font-weight: 700; text-underline-offset: .2em; }
button:disabled { opacity: .62; cursor: default; }
.route-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.route-picker .panel { display: flex; flex-direction: column; align-items: flex-start; }
.route-link { display: inline-flex; align-items: center; text-decoration: none; }
.route-picker .panel p { flex: 1; margin-bottom: 1.15rem; }
@media (max-width: 720px) { .route-picker { grid-template-columns: 1fr; } }
.route-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.match-layout { grid-template-columns: minmax(0, 750px); justify-content: center; }

.contact-fields select { width: 100%; padding: .55rem .65rem; background: var(--white); color: var(--ink); border: 1px solid #938e82; border-radius: .55rem; font: inherit; }
