:root {
  --ink: #10201d;
  --muted: #58645f;
  --paper: #f5f2ea;
  --panel: #fffdf8;
  --line: #d9d8cf;
  --green: #0c5949;
  --lime: #c8f560;
  --orange: #ef6c38;
  --shadow: 0 28px 80px rgba(18, 38, 33, .13);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 10; top: -5rem; left: 1rem; background: #fff; padding: .8rem 1rem; }
.skip-link:focus { top: 1rem; }
.site-header { min-height: 84px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 1.5rem; padding: 0 clamp(1.25rem, 5vw, 5.5rem); border-bottom: 1px solid rgba(16,32,29,.15); }
.brand { display: flex; gap: .65rem; align-items: center; text-decoration: none; font-weight: 800; letter-spacing: -.045em; font-size: 1.2rem; }
.brand > span:nth-child(2) > span { color: var(--green); }
.brand small { font-size: .64rem; letter-spacing: 0; color: var(--muted); }
.brand-mark { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: var(--green); color: #fff; }
.site-navigation { display: flex; flex-wrap: wrap; min-width: 0; align-items: center; gap: 0 clamp(.75rem, 2.2vw, 2rem); }
.site-navigation a { position: relative; padding: 1.9rem 0; color: var(--muted); font-size: .8rem; font-weight: 750; text-decoration: none; }
.site-navigation a:hover, .site-navigation a[aria-current="page"] { color: var(--ink); }
.site-navigation a[aria-current="page"]::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: var(--orange); }
.hero { min-height: 650px; padding: clamp(3.5rem, 8vw, 7.5rem) clamp(1.25rem, 5vw, 5.5rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 560px); gap: clamp(3rem, 8vw, 8rem); align-items: center; background: radial-gradient(circle at 8% 12%, rgba(200,245,96,.45), transparent 24%), linear-gradient(125deg, #f8f5ed, #ebece2); }
.eyebrow { margin: 0 0 1rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 800; color: var(--green); }
.hero h1 { max-width: 750px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(4rem, 8vw, 8.5rem); font-weight: 400; line-height: .82; letter-spacing: -.07em; }
.hero h1 em { color: var(--orange); font-weight: 400; }
.publisher-ad { max-width: 1100px; margin: 2rem auto; padding: 0 1rem; text-align: center; }
.publisher-ad > span { display: block; color: var(--muted); font-size: .7rem; text-transform: uppercase; }
.publisher-ad .adsbygoogle { min-height: 90px; }
.lede { max-width: 580px; margin: 2.2rem 0; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.65; }
.trust-row { display: flex; flex-wrap: wrap; gap: .55rem; }
.trust-row span { border: 1px solid rgba(16,32,29,.18); border-radius: 999px; padding: .55rem .8rem; font-size: .72rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.planner-shell { position: relative; }
.planner-shell::before { content: ""; position: absolute; inset: -16px 18px 16px -18px; border: 1px solid rgba(16,32,29,.28); transform: rotate(-1.5deg); }
.planner { position: relative; z-index: 1; background: var(--panel); box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 2.6rem); }
.planner-heading { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.planner-heading > span, .section-number { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border: 1px solid var(--ink); border-radius: 50%; font-size: .72rem; font-weight: 800; }
.planner-heading p { margin: 0; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.planner-heading h2 { margin: .1rem 0 0; font-family: Georgia, serif; font-size: 1.8rem; font-weight: 400; }
.route-fields { position: relative; display: grid; grid-template-columns: 1fr auto; gap: .8rem 1rem; padding-left: 2rem; }
.route-fields label { display: block; }
.route-fields label > span, .location-field > label, fieldset legend { display: block; margin-bottom: .45rem; color: var(--muted); font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.location-field > label small { color: var(--muted); font-size: .64rem; font-weight: 700; }
.location-field { min-width: 0; }.autocomplete-control { position: relative; }.autocomplete-menu { position: absolute; z-index: 20; top: calc(100% + 3px); right: 0; left: 0; max-height: 260px; overflow-y: auto; border: 1px solid var(--line); background: #fff; box-shadow: 0 16px 35px rgba(16,32,29,.18); }.autocomplete-option { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr) auto; gap: .8rem; padding: .75rem .85rem; border: 0; border-bottom: 1px solid var(--line); background: #fff; color: var(--ink); text-align: left; cursor: pointer; }.autocomplete-option:last-child { border-bottom: 0; }.autocomplete-option:hover, .autocomplete-option.is-active { background: #edf4df; }.autocomplete-option span { overflow-wrap: anywhere; line-height: 1.35; }.autocomplete-option small { color: var(--muted); font-size: .63rem; font-weight: 800; text-transform: uppercase; }.autocomplete-attribution, .autocomplete-empty { margin: 0; padding: .55rem .85rem; color: var(--muted); font-size: .66rem; line-height: 1.35; }.autocomplete-attribution { border-top: 1px solid var(--line); background: #faf9f4; }
input[type="text"], input:not([type]) { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: .35rem 0 .8rem; border-radius: 0; color: var(--ink); font: inherit; font-size: 1.03rem; }
input:focus { outline: 0; border-color: var(--green); box-shadow: 0 2px 0 var(--green); }
.route-line { position: absolute; left: 4px; top: 31px; bottom: 29px; width: 12px; border-left: 1px dashed #9ba49f; }
.route-line i, .route-line b { position: absolute; left: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.route-line i { top: -2px; }.route-line b { bottom: -2px; background: var(--orange); }
.route-line::after { position: absolute; top: 50%; left: -4px; width: 7px; height: 7px; border: 1px solid var(--green); border-radius: 50%; background: var(--panel); content: ""; transform: translateY(-50%); }
.route-stop-spacer { display: block; }
.route-stop-field[hidden], .route-stop-field[hidden] + .route-stop-spacer { display: none; }
.add-route-stop { grid-column: 1 / -1; justify-self: start; border: 0; padding: .15rem 0; background: transparent; color: var(--green); font: inherit; font-size: .78rem; font-weight: 800; cursor: pointer; }
.add-route-stop:hover, .add-route-stop:focus-visible { color: var(--orange); }
.locate, .swap { align-self: end; border: 0; background: transparent; color: var(--green); font-weight: 750; cursor: pointer; padding: .7rem 0; }
.swap { color: var(--muted); }
.locate:hover, .swap:hover { color: var(--orange); }
fieldset { margin: 2rem 0 1.5rem; padding: 0; border: 0; }
.route-preferences { margin-top: 1.2rem; }.route-preferences legend small { color: var(--muted); font-size: .65rem; font-weight: 700; }.preference-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }.preference-options label { min-width: 0; }.preference-options input { position: absolute; opacity: 0; pointer-events: none; }.preference-options span { display: flex; align-items: center; min-height: 46px; padding: .65rem .75rem; border: 1px solid var(--line); color: var(--ink); font-size: .72rem; font-weight: 750; line-height: 1.25; cursor: pointer; }.preference-options input:checked + span { border-color: var(--green); background: var(--green); color: #fff; }.preference-options input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }.preference-options input:disabled + span { opacity: .45; cursor: not-allowed; }.route-preferences > p { margin: .65rem 0 0; color: var(--muted); font-size: .7rem; line-height: 1.45; }
.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.modes input { position: absolute; opacity: 0; }
.modes span { display: block; text-align: center; border: 1px solid var(--line); padding: .75rem .35rem; cursor: pointer; font-size: .83rem; font-weight: 700; }
.modes input:checked + span { border-color: var(--green); background: var(--green); color: #fff; }
.modes input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
.primary-button { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 0; background: var(--lime); color: var(--ink); padding: 1rem 1.2rem; text-decoration: none; font: inherit; font-weight: 850; cursor: pointer; }
.primary-button:hover { background: #b9e652; }
.form-note { margin: .8rem 0 0; color: var(--muted); font-size: .75rem; line-height: 1.45; }
.error-box { margin: 0 0 1.2rem; padding: 1rem; border-left: 4px solid #b72f27; background: #fff1ee; }
.error-box:focus-visible { outline-color: #b72f27; }
.error-box a { color: var(--green); font-weight: 800; }
[aria-invalid="true"] { border-color: #b72f27 !important; }
.error-box ul { margin: .5rem 0 0; padding-left: 1.2rem; }.error-box p { margin: .65rem 0 0; font-size: .76rem; font-weight: 750; }
.site-footer { padding: 2.25rem clamp(1.25rem, 5vw, 5.5rem) 1.25rem; background: var(--ink); color: rgba(255,255,255,.68); font-size: .78rem; }
.site-footer-intro { max-width: 1100px; margin: 0 auto 1.9rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.86); font-size: .88rem; line-height: 1.65; text-wrap: pretty; }
.site-footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; max-width: 1100px; margin: 0 auto; }
.site-footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: .48rem; min-width: 0; }
.site-footer nav h2 { margin: 0 0 .55rem; color: #fff; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; }
.site-footer nav a { color: rgba(255,255,255,.82); text-underline-offset: .25rem; line-height: 1.45; }.site-footer nav a:hover, .site-footer nav a[aria-current="page"] { color: var(--lime); }
.site-footer-publisher { max-width: 1100px; margin: 2rem auto 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.18); line-height: 1.5; }
.not-found { min-height: 65vh; display: grid; place-content: center; padding: 3rem 1.25rem; text-align: center; }.not-found h1 { font: 400 clamp(3.5rem, 9vw, 8rem)/1 Georgia, serif; margin: 0; }.not-found .primary-button { margin: 2rem auto 0; width: auto; gap: 3rem; }
.trust-page { background: #fffdf8; }
.trust-page-hero { padding: clamp(4rem, 9vw, 8rem) clamp(1.25rem, 10vw, 11rem); background: radial-gradient(circle at 88% 8%, rgba(200,245,96,.52), transparent 27%), #ebece2; }
.trust-page-hero h1 { max-width: 950px; margin: 0; font: 400 clamp(3.5rem, 8vw, 7.5rem)/.92 Georgia, serif; letter-spacing: -.06em; overflow-wrap: anywhere; }
.trust-page-hero > p:last-of-type { max-width: 780px; margin: 2rem 0 0; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.22rem); line-height: 1.7; }
.trust-page-hero small { display: block; margin-top: 1rem; color: var(--muted); font-size: .75rem; }
.trust-page--brief .trust-page-hero { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.trust-page--brief .trust-page-hero h1 { font-size: clamp(2.7rem, 5.5vw, 5rem); letter-spacing: -.045em; }
.trust-page--brief .trust-page-hero > p:last-of-type { margin-top: 1.2rem; }
.trust-page-sections { max-width: 980px; margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 5vw, 4rem); }
.trust-page-sections section { padding: 1.8rem 0; border-top: 1px solid var(--line); }
.trust-page-sections section > div { min-width: 0; }
.trust-page-sections h2 { margin: 0 0 1rem; font: 400 clamp(1.8rem, 4vw, 2.8rem)/1.1 Georgia, serif; overflow-wrap: anywhere; }
.trust-page-sections p { margin: .7rem 0 0; color: var(--muted); line-height: 1.75; overflow-wrap: anywhere; }
.trust-page-next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 4rem) clamp(4rem, 8vw, 7rem); gap: 1rem; }
.trust-page-next a { display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem; background: var(--green); color: #fff; font-weight: 800; text-decoration: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(4.2rem, 15vw, 7rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (max-width: 560px) {
  .site-header { min-height: 70px; align-items: flex-start; flex-direction: column; gap: .75rem; padding-top: .9rem; }.site-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 0 .8rem; border-top: 1px solid var(--line); }.site-navigation a { padding: .65rem 0; }
  .hero { padding-top: 3.2rem; gap: 3rem; }
  .hero h1 { font-size: clamp(3.7rem, 19vw, 5rem); }
  .planner-shell::before { display: none; }.planner { margin-inline: -1.25rem; }
  .route-fields { grid-template-columns: 1fr; }.route-stop-spacer { display: none; }.locate, .swap { justify-self: start; padding-top: 0; }
  .modes { grid-template-columns: repeat(2, 1fr); }
  .preference-options { grid-template-columns: 1fr; }
  .site-footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }.trust-page-next { grid-template-columns: 1fr; }
}

@media print {
  @page { size: A4; margin: 14mm; }
  html { scroll-behavior: auto; }
  body { background: #fff; color: #000; font-family: Arial, sans-serif; font-size: 10pt; }
  .skip-link, .site-header, .hero, .site-footer, .publisher-ad { display: none !important; }
}

/* Home discovery stays below the planner and outside route-result views. */
.home-discovery { padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 5vw, 5.5rem); background: #f8f5ed; }
.home-discovery-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 1.5rem; }
.home-discovery-heading h2 { margin: 0; font: 400 clamp(2.4rem, 5vw, 4.5rem)/1 Georgia, serif; letter-spacing: -.04em; }
.home-discovery-heading p:last-child { max-width: 650px; color: var(--muted); line-height: 1.6; }
.home-discovery-heading > a { flex: none; padding-bottom: .3rem; color: var(--green); font-weight: 800; }
.home-guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.home-guide-grid a { display: flex; flex-direction: column; justify-content: space-between; min-height: 130px; gap: 1.5rem; padding: 1.2rem; border-top: 3px solid var(--green); background: #fff; text-decoration: none; }
.home-guide-grid a:hover { border-color: var(--orange); }
.home-guide-grid strong { font: 400 clamp(1.35rem, 2vw, 1.8rem)/1.1 Georgia, serif; }
.home-guide-grid span { color: var(--green); font-size: .73rem; font-weight: 800; }
.home-guide-grid b { color: var(--orange); }
.home-tools-heading { margin-top: clamp(3rem, 6vw, 5rem); }
.home-tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.home-tool-grid a { display: flex; flex-direction: column; gap: .8rem; padding: 1.4rem; background: #e8f0e8; text-decoration: none; }
.home-tool-grid strong { font: 400 clamp(1.45rem, 2.5vw, 2.2rem)/1.1 Georgia, serif; }
.home-tool-grid span { color: var(--muted); line-height: 1.55; }
.home-tool-grid b { margin-top: auto; color: var(--orange); }
@media (max-width: 800px) { .home-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.home-tool-grid { grid-template-columns: 1fr; }.home-discovery-heading { align-items: start; flex-direction: column; } }
