/* The landing page (/). A road runs down the left edge and passes seven stops; on a phone
   it straightens into a strip. Fonts, icons and the logo come from this host like
   everything else — no CDN (COMPLIANCE.md 1.6). */

:root {
  --ink: #15233a;
  --ink-2: #35445e;
  --muted: #44536d;
  --blue: #1f6fd6;
  --blue-d: #16529f;
  --sky: #eaf4ff;
  --yellow: #ffd34d;
  --road: #22314a;
  --bed: #e3ecf7;
  --green: #17915d;
  --green-d: #0e5c3a;
  --green-l: #e1f5ea;
  --warm: #fff5d6;
  --warm-d: #7a5600;
  --tile: #f3f7fc;
  --line: #dfe8f3;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --gutter: 130px;   /* the road's column; the curve drawings in landing.html are this wide */
}

* { box-sizing: border-box }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
body { margin: 0; background: #fff; color: var(--ink);
       font-family: 'Manrope', system-ui, -apple-system, sans-serif }
h1, h2, p, ul, ol, figure { margin: 0 }
ul, ol { list-style: none; padding: 0 }
img, svg { display: block }
a { color: var(--blue) }
a:hover { color: var(--blue-d) }
input, select, button { font: inherit }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px }

.wrap { max-width: 1288px; margin: 0 auto; padding-left: 24px; padding-right: 24px }
.defs { position: absolute }
.ic { flex: none; fill: none; stroke: currentColor; stroke-width: 2.2;
      stroke-linecap: round; stroke-linejoin: round }
.eyebrow { font-family: var(--mono); font-size: 13px; font-weight: 600;
           letter-spacing: .06em; color: var(--blue-d) }
.eyebrow.green { color: var(--green-d) }
.eyebrow.warm { color: var(--warm-d) }

/* ---------- hero ---------- */

/* The scenery is drawn 1440 × 260 and scaled by its height alone, centred. Between 830 and
   1660 px that is exactly the window's width; narrower, the sides are cut and the town in
   the middle stays; wider, the drawing's continuation past its own edges shows. */
.hero { position: relative; background: var(--sky); overflow: hidden;
        --scenery: clamp(150px, 18.06vw, 300px) }
.scenery { position: absolute; left: 50%; bottom: -1px; height: var(--scenery);
           aspect-ratio: 1440 / 260; transform: translateX(-50%); overflow: visible }

.top { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center;
       justify-content: space-between; gap: 8px 28px; padding-top: 18px; padding-bottom: 18px }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none;
         color: var(--ink); font-weight: 800; font-size: 20px; letter-spacing: -.3px }
.brand:hover { color: var(--ink) }
.brand img { width: 40px; height: 40px; border-radius: 12px }
.top nav { display: flex; flex-wrap: wrap; gap: 0 26px; font-size: 15px; font-weight: 600 }
.top nav a { color: var(--ink-2); text-decoration: none; padding: 12px 0 }
.top nav a:hover { color: var(--blue-d) }

.hero-body { position: relative; z-index: 1; padding-top: 56px;
             padding-bottom: calc(var(--scenery) + 20px); text-align: center;
             display: flex; flex-direction: column; align-items: center; gap: 44px }
h1 { font-size: clamp(38px, 6.6vw, 96px); line-height: 1.04; letter-spacing: -.035em;
     font-weight: 800 }
.mark { background: linear-gradient(transparent 64%, var(--yellow) 64%); padding: 0 8px;
        -webkit-box-decoration-break: clone; box-decoration-break: clone }

.fork { width: 100%; display: flex; flex-wrap: wrap; justify-content: center;
        align-items: flex-start; gap: 32px 56px }
.fork-col { display: flex; flex-direction: column; align-items: center; gap: 12px }
.fork-login { width: min(430px, 100%) }
.fork-label { font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em }

.cta { display: inline-flex; align-items: center; gap: 14px; height: 64px;
       background: var(--road); color: #fff; text-decoration: none; font-weight: 700;
       font-size: 18px; letter-spacing: -.01em; padding: 8px 14px 8px 8px;
       border-radius: 999px; box-shadow: 0 16px 32px -14px rgba(21, 35, 58, .6);
       transition: transform .2s ease }
.cta:hover { color: #fff; transform: translateY(-2px) }
.cta img { width: 48px; height: 48px; border-radius: 50%; transition: transform .2s ease }
.cta:hover img { transform: translateX(4px) }
.cta-chip { width: 36px; height: 36px; border-radius: 50%; background: var(--yellow);
            color: var(--ink); display: flex; align-items: center; justify-content: center }
.cta-chip svg { stroke-width: 2.8; animation: bob 1.6s ease-in-out infinite }
@keyframes bob {
  0%, 100% { transform: translateY(-2px) }
  50% { transform: translateY(3px) }
}

.login { width: 100%; height: 64px; display: flex; align-items: center; gap: 8px;
         background: #fff; border-radius: 999px; padding: 8px 8px 8px 24px;
         box-shadow: 0 16px 32px -18px rgba(21, 35, 58, .35) }
.login:focus-within { box-shadow: 0 0 0 3px rgba(31, 111, 214, .35),
                                  0 16px 32px -18px rgba(21, 35, 58, .35) }
.login input { flex: 1 1 auto; min-width: 0; width: 100%; border: 0; outline: 0;
               background: transparent; font-size: 17px; color: var(--ink); padding: 10px 0 }
.login button { flex: none; font-weight: 700; font-size: 16px; background: var(--blue);
                color: #fff; border: 0; height: 48px; padding: 0 20px; border-radius: 999px;
                cursor: pointer; display: flex; align-items: center; gap: 8px }
.login button:hover { background: var(--blue-d) }
.login button svg { stroke-width: 2.8 }
button:disabled { opacity: .6; cursor: default }

.form-msg { font-size: 14.5px; font-weight: 600; line-height: 1.45; color: var(--muted) }
.form-msg.error { color: #b42318 }
.form-msg.ok { color: var(--green-d) }
.form-msg a { font-weight: 700 }
.choices { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px }
.choices a { background: #fff; border-radius: 999px; padding: 8px 16px; font-size: 14.5px;
             font-weight: 700; text-decoration: none }

/* ---------- the road ---------- */

/* "Einmal durchfahren" lands here. The start logo stands 34 px above the first stop, so
   the jump stops short of it instead of cutting it off. */
#weg { scroll-margin-top: 76px }

.stop { position: relative; display: grid;
        grid-template-columns: var(--gutter) minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas: "road text visual"; column-gap: 36px; align-items: center }
.s-text { grid-area: text; padding: 64px 12px 64px 0; display: flex;
          flex-direction: column; gap: 18px }
.s-visual { grid-area: visual; padding: 64px 0 }
.s-road { grid-area: road; position: relative; align-self: stretch; min-height: 250px }

h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.1; letter-spacing: -.03em;
     font-weight: 800; text-wrap: balance }
.s-text p { font-size: 19px; line-height: 1.55; color: var(--muted) }
.s-text p.big { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.4; font-weight: 600 }
.big b { color: var(--ink); font-weight: inherit }

/* A stop's piece of road: a curve in, a straight run, a curve out. The curves are fixed
   drawings 130 × 120 (the <g id="rc-…"> in landing.html) that hand over at x = 65 in the
   middle; the straight sits in the left lane (x = 28) or the right one (x = 102) and
   stretches with the text. The light border is the road bed, so no section paints over
   its neighbour the way a shadow would. */
.rs { position: absolute; top: 118px; bottom: 118px; left: 5px; box-sizing: content-box;
      width: 30px; background: var(--road); border: solid var(--bed); border-width: 0 8px }
.rs::after { content: ""; position: absolute; left: 50%; margin-left: -1px; top: 0;
             bottom: 0; width: 2px;
             background: repeating-linear-gradient(180deg, var(--yellow) 0 12px, transparent 12px 26px) }
.right .rs { left: 79px }
.tail { height: 96px }
.tail .s-road { min-height: 0 }
.tail .rs { left: 42px; top: 0; bottom: 0 }
.rc { position: absolute; left: 0; width: 130px; height: 120px; overflow: visible }
.rc.in { top: 0 }
.rc.out { bottom: 0 }

.mk { position: absolute; top: 50%; left: 28px; transform: translate(-50%, -50%);
      width: 48px; height: 48px; border-radius: 50%; background: #fff;
      border: 3px solid var(--blue); display: flex; align-items: center;
      justify-content: center; font-family: var(--mono); font-weight: 600;
      font-size: 17px; color: var(--blue-d) }
.right .mk { left: 102px }
.mk.green { border-color: var(--green); color: var(--green-d) }
.mk.yellow { background: var(--yellow); border-color: #fff; color: #3d2c00 }
.start-logo { position: absolute; left: 50%; top: -34px; margin-left: -32px; width: 64px;
              height: 64px; border-radius: 19px; box-shadow: 0 10px 26px rgba(21, 35, 58, .28) }
.start-tag { position: absolute; left: calc(50% + 44px); top: -12px;
             font-family: var(--mono); font-size: 12px; font-weight: 600;
             letter-spacing: .06em; color: var(--blue-d); background: #fff;
             border: 1.5px solid #cfe0f5; padding: 3px 10px; border-radius: 999px }

/* ---------- the pictures beside the stops ---------- */

.scene { background: #e6eef7; border-radius: 28px; padding: 22px 22px 20px;
         display: flex; flex-direction: column; gap: 14px }
.scene.sky { background: var(--sky) }
.scene svg { width: 100%; height: auto }
.scene text { font-size: 13px; font-weight: 700; text-anchor: middle }
.caption { font-size: 16px; line-height: 1.4; font-weight: 600; color: var(--muted) }
.caption b { color: var(--ink); font-weight: 800 }

.mapcard { border-radius: 28px; overflow: hidden; border: 1px solid var(--line);
           background: #fff; box-shadow: 0 30px 60px -32px rgba(21, 35, 58, .32) }
/* Half as high as wide, like the drawing, so the whole map shows. Narrower than 480 px the
   height stops shrinking and the sides are cut instead: the chips stay readable on a
   phone. Padding and not aspect-ratio, which would turn the minimum height into a width. */
.mapcard-map { position: relative; min-height: 240px; background: #f2efe9 }
.mapcard-map::before { content: ""; display: block; padding-top: 50% }
.mapcard-map svg { position: absolute; inset: 0; width: 100%; height: 100% }
.mapcard-map text { font-family: var(--mono); font-size: 10.5px; font-weight: 600;
                    text-anchor: middle }
.mapcard-body { padding: 12px; display: flex; flex-direction: column; gap: 8px;
                background: #ebf2fc }
/* The trip card, the role switch and the list rows as the app has them (#routeCard,
   .segmented and .item.marked in style.css), in the app's own softer blue. */
.mapcard { --app-blue: #3b74c8 }
.ride { background: var(--app-blue); color: #fff; border-radius: 16px;
        padding: 14px 16px 12px }
.ride-label { font-size: 11px; font-weight: 700; letter-spacing: .8px }
.ride-figures { display: flex; align-items: flex-end; gap: 12px; margin-top: 6px;
                font-size: 12.5px }
.ride-figures > b { font: 600 36px/1 var(--mono) }
.ride-figures small { font-size: 16px; margin-left: 3px }
.ride-figures span { padding-bottom: 4px }
.ride-figures strong { font-weight: 700 }
.ride-chain { display: flex; align-items: center; margin-top: 22px }
.node { display: flex; flex-direction: column; align-items: center; gap: 5px;
        font-size: 10.5px; white-space: nowrap }
.node i { width: 11px; height: 11px; border-radius: 50%; background: #fff }
.node.start i { width: 13px; height: 13px; background: var(--green); border: 2.5px solid #fff }
.node.target i { width: 12px; height: 12px; border-radius: 3px; background: #d8402f;
                 box-shadow: 0 0 0 2px #fff }
.link { position: relative; flex: 1; min-width: 18px; height: 2px; margin: 0 6px 16px;
        background: rgba(255, 255, 255, .45) }
.link em { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
           font: 600 10px var(--mono); white-space: nowrap }
.roles { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: #dbe6f5;
         font-size: 13px; font-weight: 600; color: var(--muted) }
.roles span { flex: 1; padding: 8px 4px; border-radius: 9px; text-align: center;
              white-space: nowrap }
.roles .on { background: #fff; color: var(--ink); font-weight: 700;
             box-shadow: 0 1px 3px rgba(21, 35, 58, .16) }
.person { display: flex; align-items: center; gap: 12px; padding: 9.5px 11.5px;
          background: #fff; border: 1.5px solid var(--app-blue); border-radius: 14px }
.avatar { flex: none; width: 32px; height: 32px; border-radius: 50%;
          background: var(--app-blue); color: #fff; font-weight: 700; font-size: 11.5px;
          display: flex; align-items: center; justify-content: center }
.who { flex: 1; min-width: 0; display: flex; flex-direction: column }
.who b { font-size: 13.5px; font-weight: 700 }
.who small { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden;
             text-overflow: ellipsis }
.detour { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--blue-d);
          background: var(--sky); padding: 4px 9px; border-radius: 999px }
.person .detour { font-size: 11.5px; color: #fff; background: var(--app-blue) }

.steps { padding: 10px; background: var(--tile); border-radius: 28px; display: flex;
         flex-direction: column; gap: 10px }
.steps li { background: #fff; border-radius: 20px; padding: 18px; display: flex; gap: 16px;
            align-items: flex-start }
.step-n { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--sky);
          color: var(--blue-d); font-family: var(--mono); font-weight: 600; font-size: 16px;
          display: flex; align-items: center; justify-content: center }
.step-body { display: flex; flex-direction: column; gap: 10px; min-width: 0; flex: 1 }
.step-body h3 { margin: 0; font-size: 19px; line-height: 1.2; font-weight: 700 }
.step-body p { margin-top: 2px; font-size: 15.5px; color: var(--muted) }
.chips { display: flex; flex-wrap: wrap; gap: 8px }
.chip { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px;
        padding: 8px 14px; font-size: 13.5px; white-space: nowrap;
        flex: none; max-width: 100% }   /* too long for a phone: its own line, then "…" */
.chip span { min-width: 0; overflow: hidden; text-overflow: ellipsis }
.chip svg { stroke-width: 2.4 }
.chip.url { background: var(--tile); font-family: var(--mono); font-weight: 500;
            color: var(--ink-2) }
.chip.ok { background: var(--green-l); font-weight: 700; color: var(--green-d) }
.field { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line);
         border-radius: 12px; padding: 8px 12px; background: #fff; font-size: 14px;
         font-weight: 600; color: var(--ink-2) }
.field svg { stroke-width: 2.4 }
.field.on { border-color: var(--blue) }
.field.on svg { color: var(--blue) }
.caret { width: 1.5px; height: 16px; background: var(--blue) }
.rows { display: flex; flex-direction: column; gap: 8px }
.row { display: flex; align-items: center; gap: 10px }
.row .dot { flex: none; width: 26px; height: 26px; border-radius: 50% }
.row .bar { flex: 1; height: 8px; border-radius: 4px; background: #e6eef7 }
.row .detour { font-size: 12.5px; padding: 3px 8px }

.benefits { margin-top: 6px; display: grid; gap: 12px;
            grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)) }
.benefits li { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px;
               border-radius: 20px; background: var(--tile); font-weight: 700;
               font-size: 17px; line-height: 1.25 }
.benefits svg { flex: none; width: 56px; height: 56px; padding: 8px; border-radius: 16px;
                background: #fff }
.benefits text { font-size: 13px; font-weight: 800; text-anchor: middle }

.facts { margin-top: 6px; display: flex; flex-direction: column; gap: 14px }
.facts li { display: flex; align-items: center; gap: 16px }
.facts svg { width: 52px; height: 52px; padding: 13px; border-radius: 16px;
             background: var(--green-l); color: var(--green-d) }
.facts b { display: block; font-size: 18px; color: var(--ink) }
.facts span { font-size: 15.5px; color: var(--muted) }

.compare { background: var(--green-l); border-radius: 28px; padding: 18px; display: flex;
           flex-direction: column; gap: 14px }
.compare-grid { display: grid; gap: 14px;
                grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)) }
.compare figure { background: #fff; border-radius: 20px; overflow: hidden; display: flex;
                  flex-direction: column }
.compare figure > svg { width: 100%; height: auto }
.tile-head { padding: 14px 16px 12px; font-family: var(--mono); font-size: 12px;
             font-weight: 600; letter-spacing: .06em; color: var(--ink-2) }
.tile-head.green { color: var(--green-d) }
.compare figcaption { padding: 12px 16px 14px; display: flex; align-items: center; gap: 8px;
                      font-size: 14.5px; font-weight: 700 }
.compare figcaption svg { stroke-width: 2.4 }
.compare .caption { color: #24503c }
.compare .caption b { color: #0b3d27 }

.tags { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px;
        font-weight: 700 }
.tags li { padding: 9px 16px; border-radius: 999px; background: var(--warm); color: #4d3f1a }
.event { background: var(--warm); border-radius: 28px; padding: 18px }
.event-card { background: #fff; border-radius: 20px; padding: 20px; display: flex;
              flex-direction: column; gap: 22px;
              box-shadow: 0 24px 48px -30px rgba(77, 63, 26, .4) }
.event-head { display: flex; flex-wrap: wrap; align-items: center;
              justify-content: space-between; gap: 10px }
.switch { display: inline-flex; background: var(--tile); border-radius: 999px; padding: 4px;
          font-size: 14px; font-weight: 700 }
.switch span { padding: 7px 14px; border-radius: 999px; color: #5a6880 }
.switch .on { background: var(--yellow); color: #3d2c00 }
.hops { display: grid; grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr) auto;
        align-items: center; justify-items: center; column-gap: 10px; row-gap: 8px;
        font-size: 12.5px; font-weight: 700; color: var(--ink-2) }
.hop { width: 48px; height: 48px; border-radius: 50%; background: var(--sky);
       color: var(--blue-d); display: flex; align-items: center; justify-content: center }
.hop.goal { background: var(--yellow); color: #3d2c00 }
.hop-line { justify-self: stretch; height: 0; border-top: 2px dashed #c5d3e6 }
.asks { display: flex; flex-direction: column; gap: 10px; font-size: 16px; font-weight: 700 }
.asks li { display: flex; align-items: center; gap: 12px }
.asks svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px;
            background: var(--warm); color: var(--warm-d) }

.browser { background: var(--tile); border-radius: 28px; padding: 18px }
.browser-win { background: #fff; border-radius: 20px; overflow: hidden;
               box-shadow: 0 24px 48px -30px rgba(21, 35, 58, .35) }
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px;
               border-bottom: 1px solid #e6eef7 }
.dots { display: flex; gap: 6px }
.dots span { width: 10px; height: 10px; border-radius: 50%; background: #d5dfec }
.browser-url { flex: 1; min-width: 0; background: var(--tile); border-radius: 999px;
               padding: 6px 14px; font-family: var(--mono); font-size: 12.5px;
               font-weight: 500; color: var(--ink-2); white-space: nowrap; overflow: hidden;
               text-overflow: ellipsis }
.yours { padding: 18px; display: flex; flex-direction: column; gap: 16px }
.yours li { display: flex; align-items: center; gap: 14px }
.yours li > svg { width: 44px; height: 44px; padding: 11px; border-radius: 14px;
                  background: var(--sky); color: var(--blue-d) }
.yours li.warm > svg { background: var(--warm); color: var(--warm-d) }
.yours-row { flex: 1; display: flex; flex-wrap: wrap; align-items: center;
             justify-content: space-between; gap: 8px }
.yours-row b { font-size: 17px }
.slot { border: 2px dashed #9fb4cf; border-radius: 12px; padding: 8px 16px;
        font-family: var(--mono); font-size: 12.5px; font-weight: 600; color: var(--muted) }
.pills { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; font-weight: 700;
         color: var(--blue-d) }
.pills span { background: var(--sky); border-radius: 999px; padding: 6px 12px }
.wish { display: inline-flex; align-items: center; gap: 6px; border: 2px dashed #e0c36a;
        border-radius: 999px; padding: 6px 14px; font-size: 13.5px; font-weight: 700;
        color: var(--warm-d) }
.wish svg { stroke-width: 2.8 }

/* ---------- the finish: price ---------- */

.finish { position: relative; z-index: 1; margin-top: -30px; scroll-margin-top: 20px;
          background: var(--road);
          color: #fff; border-radius: 40px; display: grid;
          grid-template-columns: var(--gutter) minmax(0, 1fr); column-gap: 36px;
          padding-right: clamp(20px, 4vw, 56px) }
.finish-road { display: flex; flex-direction: column; align-items: center }
.finish-road::before { content: ""; width: 2px; height: 56px;
                       background: repeating-linear-gradient(180deg, var(--yellow) 0 12px, transparent 12px 26px) }
.flag { width: 60px; height: 60px; border-radius: 50%; background: var(--yellow);
        color: var(--ink); display: flex; align-items: center; justify-content: center }
.flag svg { stroke-width: 2.4 }
.finish-body { padding: 56px 0 64px; display: flex; flex-direction: column; gap: 18px }
.finish .eyebrow { color: var(--yellow) }
.finish h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.06 }
.finish-body > p { font-size: 19px; line-height: 1.55; color: #c5d2e6; max-width: 620px }

.inquiry { margin-top: 14px; background: rgba(255, 255, 255, .07);
           border: 1px solid rgba(255, 255, 255, .16); border-radius: 28px;
           padding: clamp(18px, 3vw, 28px); display: flex; flex-wrap: wrap; gap: 14px;
           align-items: flex-end }
.inquiry label { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px;
                 font-size: 14px; font-weight: 700; color: #dbe6f5 }
.inquiry label.narrow { flex-basis: 160px }
.inquiry input, .inquiry select { width: 100%; padding: 15px 16px; border-radius: 14px;
                                  border: 0; background: #fff; color: var(--ink);
                                  font-size: 16px }
.inquiry button { flex: 1 1 190px; font-weight: 800; font-size: 17px;
                  background: var(--yellow); color: var(--ink); border: 0;
                  padding: 16px 20px; border-radius: 999px; cursor: pointer; display: flex;
                  align-items: center; justify-content: center; gap: 10px }
.inquiry button:hover { background: #ffdc6b }
.inquiry button svg { stroke-width: 2.8 }
.inquiry :focus-visible { outline-color: var(--yellow) }
.inquiry .note { flex: 1 1 100%; font-size: 13.5px; color: #c5d2e6 }
.inquiry .note a { color: #ffe08a }
.inquiry .form-msg { flex: 1 1 100%; color: #c5d2e6 }
.inquiry .form-msg.error { color: #ffb4a8 }
.inquiry .form-msg.ok { color: #9be3bf }

/* ---------- FAQ, footer ---------- */

.faq { background: #f6f9fd; margin-top: 96px }
.faq .wrap { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column;
             gap: 24px }
.faq h2 { font-size: clamp(30px, 3.4vw, 44px) }
.faq-grid { display: grid; gap: 12px; align-items: start;
            grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)) }
details { background: #fff; border-radius: 20px; padding: 20px 24px }
summary { cursor: pointer; list-style: none; display: flex; align-items: center;
          justify-content: space-between; gap: 16px; font-weight: 700; font-size: 17px }
summary::-webkit-details-marker { display: none }
summary svg { color: var(--blue); stroke-width: 2.6; transition: transform .2s ease }
details[open] summary svg { transform: rotate(45deg) }
details p { margin-top: 10px; color: var(--muted); line-height: 1.6 }

.foot { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center;
        padding-top: 32px; padding-bottom: 32px; font-size: 14.5px; color: #5a6880 }
.foot .brand { font-size: inherit; letter-spacing: 0; gap: 8px }
.foot .brand img { width: 28px; height: 28px; border-radius: 8px }
.foot a { color: var(--ink-2) }
.foot nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 20px }
.foot nav a { text-decoration: none }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  .cta-chip svg { animation: none }
}

/* Phone: text above picture, and the road a straight strip down the left edge. */
@media (max-width: 860px) {
  .stop { grid-template-columns: 44px minmax(0, 1fr);
          grid-template-areas: "road text" "road visual"; column-gap: 22px; row-gap: 28px }
  .s-text { padding: 52px 0 0 }
  .s-visual { padding: 0 0 52px }
  .rc { display: none }
  .rs, .right .rs, .tail .rs { left: 6px; top: 0; bottom: -1px; width: 20px;
                               border-width: 0 6px }
  .mk, .right .mk { left: 22px; top: 62px; width: 40px; height: 40px; font-size: 15px }
  .start-tag { display: none }
  .hero-body { padding-top: 32px; gap: 32px }
  .fork-label { font-size: 20px }
  .finish { display: block; padding: 0 22px }
  .finish-road { align-items: flex-start; padding-top: 32px }
  .finish-road::before { display: none }
  .finish-body { padding: 20px 0 40px }
  .faq { margin-top: 64px }
  .faq .wrap { padding-top: 56px; padding-bottom: 56px }
  /* A step's number sits beside its title, and the little picture below gets the full
     width of the card: the address chip needs it. */
  .steps { padding: 6px; gap: 6px }
  .steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px;
              padding: 14px; align-items: center }
  .step-body { display: contents }
  .step-body > :last-child { grid-column: 1 / -1 }
  .step-body h3 { font-size: 17.5px }
  .chip { font-size: 12.5px }
}

/* The app drops the same words on a phone, where the trip card and the rows are narrow. */
@media (max-width: 480px) {
  .mapcard .opt { display: none }
}

@media (max-width: 560px) {
  .top nav { display: none }
}
