/* ByBike site. Colours are the app's (ios/App/MapView.swift, Model.swift). No external fonts or scripts. */
:root {
  --paper: #f4f5f0;
  --card: #ffffff;
  --ink: #0E3B2E;
  --ink-2: #44554e;
  --ink-3: #6f7d77;
  --line: #d8ddd6;
  --accent: #BE185D;
  --accent-ink: #9D174D;
  --kp: #15803D;
  --f: #1D5FD0;
  --route: #8A6D1F;
  --bad: #B42318;
  --good: #1f9d55;
  --round: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", system-ui, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 22px;
  --shadow: 0 1px 2px rgba(14, 59, 46, .06), 0 12px 32px rgba(14, 59, 46, .10);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--round); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 .5em; }
h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 750; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 720px; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; }
section { padding: clamp(72px, 10vw, 128px) 0; }

/* header */
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 24px; padding: 12px max(16px, calc(50% - 590px));
  background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font: 800 23px/1 var(--round); letter-spacing: -.03em; }
.brand .logo { width: 50px; height: 36px; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { text-decoration: none; font-size: 15px; font-weight: 550; color: var(--ink-2); }
.top nav a:hover { color: var(--ink); }
.langs { display: flex; border: 1.5px solid var(--ink); border-radius: 99px; overflow: hidden; font: 700 13px/1 var(--sans); }
.langs a { padding: 7px 11px; text-decoration: none; }
.langs a[aria-current] { background: var(--ink); color: var(--paper); }
@media (max-width: 720px) { .top nav { display: none; } .langs { margin-left: auto; } }

/* hero */
/* the first screen fits a 1440 × 800 viewport: heading and phones scale with the screen height too */
.hero { position: relative; padding-top: clamp(24px, 4svh, 64px); overflow: hidden; }
.hero-map { position: absolute; inset: 0; background: url(/img/map-network.webp) center / cover no-repeat; opacity: .5;
  -webkit-mask-image: linear-gradient(100deg, transparent 20%, #000 75%); mask-image: linear-gradient(100deg, transparent 20%, #000 75%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(transparent, var(--paper)); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(54px, min(8.6vw, 11svh), 112px); font-weight: 900; letter-spacing: -.045em; line-height: .93; margin-bottom: 20px; }
.hero .lead { max-width: 33ch; }
/* "Just the bike," is longer than "Enkel fiets,"; keep it on two lines */
:lang(en) .hero h1 { font-size: clamp(46px, min(7.2vw, 10svh), 92px); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.ctas.center { justify-content: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 24px; border-radius: 99px; font: 700 17px/1 var(--sans); text-decoration: none; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 6px 18px rgba(14, 59, 46, .25); }
.btn-primary:hover { background: #072a20; }
.btn-primary.is-soon { cursor: default; }
.btn-ghost { border: 1.5px solid var(--ink); background: color-mix(in srgb, var(--paper) 70%, transparent); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.note { font-size: 14px; color: var(--ink-3); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.pills li { font: 650 14px/1 var(--sans); padding: 9px 13px; border-radius: 99px; background: var(--card); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.pills li::before { content: "●"; color: var(--kp); margin-right: 7px; font-size: 10px; vertical-align: 2px; }

.phones { position: relative; height: min(clamp(560px, 62vw, 720px), calc(100svh - 150px)); }
.phone { margin: 0; position: absolute; width: min(clamp(220px, 21vw, 290px), calc((100svh - 150px) * .4)); aspect-ratio: 780 / 1688; border-radius: 15% / 7%; padding: 2.6%;
  background: #121614; box-shadow: 0 30px 60px rgba(14, 59, 46, .28), 0 0 0 1.5px #3a403d inset; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 12.6% / 5.9%; }
.phone::before { content: ""; position: absolute; top: 3.9%; left: 50%; width: 29%; height: 3.3%; transform: translateX(-50%); background: #121614; border-radius: 99px; z-index: 1; }
.p-mid { left: 50%; top: 2%; transform: translateX(-50%); z-index: 3; }
.p-left { left: 0; top: 12%; transform: rotate(-7deg); z-index: 1; }
.p-right { right: 0; top: 12%; transform: rotate(7deg); z-index: 2; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-map { opacity: .28; -webkit-mask-image: linear-gradient(transparent, #000 40%); mask-image: linear-gradient(transparent, #000 40%); }
  .phones { height: 130vw; max-height: 640px; }
  .phone { width: min(46vw, 260px); }
  .p-left { left: 0; } .p-right { right: 0; }
}

/* why */
.why { background: var(--ink); color: #e8ebe9; position: relative; overflow: hidden; }
/* the dashed trails of the app icon, faint, in the two forest sections; 830 × 935 and 574 × 614 icon units, at .55 */
.why::before, .outro::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .28;
  background: url(/img/trails-a.svg) left top / 457px no-repeat, url(/img/trails-b.svg) right bottom / 316px no-repeat; }
.why::before { background: url(/img/trails-b.svg) right bottom / 316px no-repeat; }
@media (max-width: 700px) {
  .outro::before { background-size: 290px, 200px; }
  .why::before { background-size: 200px; }
}
.why > *, .outro > * { position: relative; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.why h2 { color: #fff; }
.why p { color: #b7cbc2; font-size: 18px; }
.why-them h2 { text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: .08em; }
.carstack { display: flex; align-items: flex-end; gap: 10px; margin-top: 28px; color: #6c7672; font: 800 28px/1 var(--round); }
.why-us { border-left: 3px solid var(--accent); padding-left: clamp(24px, 4vw, 48px); }
.ladder { display: flex; flex-direction: column; gap: 8px; margin-top: 28px; max-width: 360px; }
.ladder span { display: flex; align-items: center; gap: 10px; font: 650 15px/1 var(--sans); color: #fff; }
.ladder span::before { content: ""; height: 10px; border-radius: 9px; background: var(--c); width: var(--w, 40px); }
.ladder span:nth-child(1)::before { --w: 30px; } .ladder span:nth-child(2)::before { --w: 44px; } .ladder span:nth-child(3)::before { --w: 70px; }
.ladder span:nth-child(4)::before { --w: 130px; } .ladder span:nth-child(5)::before { --w: 200px; }
@media (max-width: 800px) { .why-grid { grid-template-columns: 1fr; } .why-us { border-left: 0; border-top: 3px solid var(--accent); padding: 0; } }

/* comparison */
/* the two cards fit one laptop screen (1440 × 800) together with the heading */
.cmp { padding-top: clamp(56px, 7vw, 88px); }
.cmp .lead { margin-bottom: 0; max-width: none; }
/* as wide as the screen height allows: the maps are 3:2, the rest of the card and the heading take about 400px */
.cmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 28px auto 0; max-width: max(720px, calc((100svh - 400px) * 3 + 24px)); }
.cmp-card { margin: 0; background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.cmp-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.cmp-card figcaption { padding: 16px 22px 18px; }
.cmp-card h3 { display: flex; align-items: center; gap: 10px; margin: 0; }
.cmp-card h3::before { content: ""; width: 26px; height: 7px; border-radius: 9px; background: #5b6670; }
.cmp-bybike h3::before { background: var(--accent); }
.cmp-card h3 .mode { padding: 5px 11px; border-radius: 99px; background: var(--accent); color: #fff; font: 650 14px/1 var(--sans); }
.cmp-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin-bottom: 12px; }
.cmp-head { display: flex; align-items: baseline; gap: 10px; margin: 0; white-space: nowrap; }
.cmp-head b { font: 800 28px/1 var(--round); }
.cmp-head span { font-size: 18px; color: var(--ink-3); }
.bar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; gap: 2px; }
.cmp-facts { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 16px; color: var(--ink-2); }
.cmp-facts b { font-family: var(--round); font-size: 19px; color: var(--ink); }
.cmp-facts .bad b { color: var(--bad); }
.cmp-facts .good b { color: var(--good); }
.takeaway { margin: 56px auto 0; text-align: center; font: 800 clamp(28px, 4.4vw, 48px)/1.1 var(--round); letter-spacing: -.03em; }
.takeaway span { color: var(--accent); }
.legend-cats { margin: 40px auto 0; max-width: 820px; text-align: center; font-size: 14px; color: var(--ink-2); }
.legend-cats p:first-child { font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.legend-cats ul { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
.legend-cats i { display: inline-block; width: 14px; height: 8px; border-radius: 9px; margin-right: 6px; vertical-align: 1px; }
.fine { font-size: 13px; color: var(--ink-3); }
@media (max-width: 760px) { .cmp-grid { grid-template-columns: 1fr; max-width: none; } }

/* features */
.features { background: #fffdf8; }
.feat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 40px; }
.feat { background: var(--paper); border-radius: var(--r); padding: 28px; grid-column: span 2; display: flex; flex-direction: column; }
.feat p { color: var(--ink-2); font-size: 16px; margin: 0; }
.feat-visual { min-height: 120px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feat-kp { grid-column: span 4; background: #e3f1e7; }
.feat-ride { grid-row: span 2; grid-column: span 2; background: var(--ink); color: #fff; align-items: center; text-align: left; }
.feat-ride p { color: #b7cbc2; }
.feat-ride .phone-sm { position: relative; width: min(230px, 80%); margin-bottom: 28px; box-shadow: 0 20px 40px rgba(0,0,0,.4), 0 0 0 1.5px #3a403d inset; }
.feat-f { grid-column: span 2; background: #e4ecfa; }
.feat-offline { grid-column: span 2; }
.feat-profile, .feat-search { grid-column: span 2; }
.feat-ferry { grid-column: span 2; background: #fbe8f0; }
.chain { gap: 6px; flex-wrap: wrap; }
.chain i { font-style: normal; color: var(--kp); font-weight: 800; opacity: .6; }
.sign { width: 64px; height: 64px; border-radius: 50%; border: 6px solid var(--kp); background: #fff; color: var(--kp); display: grid; place-items: center;
  font: 800 27px/1 var(--round); font-variant-numeric: tabular-nums; box-shadow: 0 4px 10px rgba(21, 128, 61, .18); }
.fbadges { gap: 10px; flex-wrap: wrap; }
.fbadges span { background: var(--f); color: #fff; font: 800 26px/1 var(--round); padding: 12px 16px; border-radius: 12px; box-shadow: 0 4px 10px rgba(29, 95, 208, .25); }
.fbadges span:nth-child(2) { transform: rotate(-3deg); } .fbadges span:nth-child(3) { transform: rotate(2deg); }
.regions { list-style: none; padding: 0; margin: 0; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: 13px; }
.regions li { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 4px 0; color: var(--ink-3); }
.regions li.dl { color: var(--ink); font-weight: 650; }
.regions li.dl b { color: var(--kp); }
.regions b { font-weight: 700; }
.profiles { flex-wrap: wrap; gap: 8px; }
.profiles span { padding: 9px 14px; border-radius: 99px; background: #fff; font: 650 15px/1 var(--sans); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.profiles .on { background: var(--accent); color: #fff; }
.searchbox .q { display: flex; align-items: center; gap: 10px; width: 100%; background: #fff; border-radius: 14px; padding: 14px 16px; font-size: 18px; box-shadow: 0 1px 2px rgba(0,0,0,.08); color: var(--ink); }
.searchbox svg { color: var(--ink-3); flex: none; }
.caret { width: 2px; height: 22px; background: var(--accent); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
/* on a laptop the features take one screen: the ride card on the left over two rows, six small cards beside it */
@media (min-width: 961px) {
  .features h2 { font-size: clamp(30px, 3.1vw, 42px); }
  .features h2 br { display: none; }
  .feat-grid { grid-template-columns: 1.15fr repeat(3, 1fr); gap: 16px; margin-top: 28px; }
  .feat, .feat-kp, .feat-f, .feat-offline, .feat-profile, .feat-search, .feat-ferry { grid-column: auto; padding: 20px 22px; }
  .feat-ride { grid-column: 1; grid-row: 1 / span 2; justify-content: center; }
  .feat-ride .phone-sm { width: min(190px, 70%, calc((100svh - 330px) * .46)); margin-bottom: 18px; }
  .feat h3 { font-size: 19px; margin-bottom: .35em; }
  .feat p { font-size: 15px; line-height: 1.45; }
  .feat-visual { min-height: 76px; margin-bottom: 12px; }
  .chain { gap: 2px; flex-wrap: nowrap; }
  .chain i { font-size: 13px; }
  .chain .sign { width: 36px; height: 36px; border-width: 3.5px; font-size: 15px; flex: none; }
  .fbadges span { font-size: 20px; padding: 9px 12px; }
  .profiles span { font-size: 13px; padding: 7px 11px; }
  .searchbox .q { font-size: 16px; padding: 11px 14px; }
  .ferry svg { width: 130px; height: 76px; }
  .regions { font-size: 11.5px; gap: 0 10px; }
  .regions li { padding: 2px 0; }
}
@media (max-width: 960px) {
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .feat, .feat-kp, .feat-f, .feat-offline, .feat-profile, .feat-search, .feat-ferry { grid-column: span 1; }
  .feat-kp, .feat-ride { grid-column: span 2; }
  .feat-ride { grid-row: auto; flex-direction: row; gap: 28px; }
  .feat-ride .phone-sm { width: 42%; margin: 0; flex: none; }
}
@media (max-width: 600px) {
  .feat-grid { grid-template-columns: 1fr; }
  .feat, .feat-kp, .feat-ride { grid-column: span 1; }
  .feat-ride { flex-direction: column; }
  .feat-ride .phone-sm { width: 62%; margin-bottom: 24px; }
  .sign { width: 50px; height: 50px; border-width: 5px; font-size: 21px; }
}

/* big map */
.bigmap { padding-bottom: 0; }
/* the network map: a tour that lights up one layer at a time, then all of them; a legend button pins one */
.bigmap figure { margin: 32px 0 0; position: relative; }
.netmap-stage { position: relative; }
.netmap-stage img { width: 100%; height: calc(100svh - 230px); max-height: 1000px; min-height: 360px; object-fit: cover; display: block; }
.netmap-stage .layer { position: absolute; inset: 0; }
.netmap-cards { position: absolute; left: max(16px, calc(50% - 590px)); bottom: 24px; width: min(440px, calc(100% - 32px)); display: grid; }
.netmap-card { grid-area: 1 / 1; margin: 0; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .94); box-shadow: var(--shadow);
  font-size: 15.5px; line-height: 1.45; color: var(--ink-2); opacity: 0; }
.netmap-card b { color: var(--ink); font-family: var(--round); font-size: 17px; }
.legend-net button { font: inherit; color: inherit; background: none; border: 0; padding: 4px 6px; margin: -4px -6px; border-radius: 8px; cursor: pointer; }
.legend-net button:hover { background: rgba(14, 59, 46, .06); }
.legend-net button[aria-pressed="true"] { background: rgba(14, 59, 46, .1); color: var(--ink); font-weight: 650; }
@media (prefers-reduced-motion: no-preference) {
  .netmap:not([data-pin]) .layer-kp { animation: lit-kp 20s infinite; }
  .netmap:not([data-pin]) .legend-net [data-layer=kp] { animation: legend-kp 20s infinite; }
  .netmap:not([data-pin]) .layer-f { animation: lit-f 20s infinite; }
  .netmap:not([data-pin]) .legend-net [data-layer=f] { animation: legend-f 20s infinite; }
  .netmap:not([data-pin]) .layer-other { animation: lit-other 20s infinite; }
  .netmap:not([data-pin]) .legend-net [data-layer=other] { animation: legend-other 20s infinite; }
  .netmap:not([data-pin]) .layer-route { animation: lit-route 20s infinite; }
  .netmap:not([data-pin]) .legend-net [data-layer=route] { animation: legend-route 20s infinite; }
  .netmap:not([data-pin]) .card-kp { animation: card 20s 0s infinite; }
  .netmap:not([data-pin]) .card-f { animation: card 20s -16s infinite; }
  .netmap:not([data-pin]) .card-other { animation: card 20s -12s infinite; }
  .netmap:not([data-pin]) .card-route { animation: card 20s -8s infinite; }
  .netmap:not([data-pin]) .card-all { animation: card 20s -4s infinite; }
  @keyframes lit-kp { 0%, 19% { opacity: 1; } 21%, 39% { opacity: 0.12; } 41%, 59% { opacity: 0.12; } 61%, 79% { opacity: 0.12; } 81%, 100% { opacity: 1; } }
  @keyframes legend-kp { 0%, 19% { opacity: 1; } 21%, 39% { opacity: 0.45; } 41%, 59% { opacity: 0.45; } 61%, 79% { opacity: 0.45; } 81%, 100% { opacity: 1; } }
  @keyframes lit-f { 0%, 19% { opacity: 0.12; } 21%, 39% { opacity: 1; } 41%, 59% { opacity: 0.12; } 61%, 79% { opacity: 0.12; } 81%, 100% { opacity: 1; } }
  @keyframes legend-f { 0%, 19% { opacity: 0.45; } 21%, 39% { opacity: 1; } 41%, 59% { opacity: 0.45; } 61%, 79% { opacity: 0.45; } 81%, 100% { opacity: 1; } }
  @keyframes lit-other { 0%, 19% { opacity: 0.12; } 21%, 39% { opacity: 0.12; } 41%, 59% { opacity: 1; } 61%, 79% { opacity: 0.12; } 81%, 100% { opacity: 1; } }
  @keyframes legend-other { 0%, 19% { opacity: 0.45; } 21%, 39% { opacity: 0.45; } 41%, 59% { opacity: 1; } 61%, 79% { opacity: 0.45; } 81%, 100% { opacity: 1; } }
  @keyframes lit-route { 0%, 19% { opacity: 0.12; } 21%, 39% { opacity: 0.12; } 41%, 59% { opacity: 0.12; } 61%, 79% { opacity: 1; } 81%, 100% { opacity: 1; } }
  @keyframes legend-route { 0%, 19% { opacity: 0.45; } 21%, 39% { opacity: 0.45; } 41%, 59% { opacity: 0.45; } 61%, 79% { opacity: 1; } 81%, 100% { opacity: 1; } }
  @keyframes card { 0%, 1% { opacity: 0; } 2%, 18% { opacity: 1; } 19%, 100% { opacity: 0; } }
}
.netmap[data-pin]:not([data-pin=kp]) .layer-kp { opacity: 0.12; }
.netmap[data-pin=kp] .card-kp { opacity: 1; }
.netmap[data-pin]:not([data-pin=f]) .layer-f { opacity: 0.12; }
.netmap[data-pin=f] .card-f { opacity: 1; }
.netmap[data-pin]:not([data-pin=other]) .layer-other { opacity: 0.12; }
.netmap[data-pin=other] .card-other { opacity: 1; }
.netmap[data-pin]:not([data-pin=route]) .layer-route { opacity: 0.12; }
.netmap[data-pin=route] .card-route { opacity: 1; }
@media (max-width: 600px) { .netmap-card { font-size: 14px; padding: 10px 14px; } .netmap-cards { bottom: 12px; } }
/* the web map: a forest card on the big map, at the right; under the map on a narrow screen */
.webmap { position: absolute; right: max(16px, calc(50% - 590px)); top: 24px; width: 340px; padding: 22px 24px 24px; border-radius: var(--r);
  background: var(--ink); color: #fff; box-shadow: 0 18px 40px rgba(14, 59, 46, .28); }
.webmap h3 { font-size: 26px; font-weight: 850; letter-spacing: -.02em; margin: 2px 0 8px; }
.webmap p { font-size: 15.5px; line-height: 1.45; color: #d5e2db; margin: 0 0 20px; }
.btn-light { height: 48px; padding: 0 22px; font-size: 16px; background: #fff; color: var(--ink); box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }
.btn-light:hover { background: #e7f3ec; }
.btn-light span { transition: transform .2s; }
.btn-light:hover span { transform: translateX(3px); }
.webmap .webmap-note { font-size: 13.5px; color: #a9bdb3; margin: 12px 0 0; }
.webmap-note { display: none; }
.no-gpu .webmap-note { display: block; color: #fbcfe8; }
@media (max-width: 900px) {
  .webmap { position: static; width: auto; margin: 28px 16px 0; }
}
.legend-net { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 18px 0 0; font-size: 15px; color: var(--ink-2); }
.legend-net i { display: inline-block; width: 30px; height: 6px; border-radius: 9px; margin-right: 8px; vertical-align: 3px; }
.l-kp { background: var(--kp); opacity: .7; }
.l-f { background: var(--f); opacity: .7; height: 9px !important; }
.l-other { background: repeating-linear-gradient(90deg, var(--route) 0 5px, transparent 5px 9px); }
.l-route { background: var(--accent); }

/* promise */
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
.promise-grid > div { background: var(--card); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); }
.promise-grid p { color: var(--ink-2); font-size: 16px; margin: 0; }
.big { display: block; font: 900 52px/1 var(--round); letter-spacing: -.04em; color: var(--accent); margin-bottom: 18px; }
.big.be { color: var(--ink); }
@media (max-width: 960px) { .promise-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .promise-grid { grid-template-columns: 1fr; } }

/* faq */
.faq { padding-top: 0; }
.faq details { border-bottom: 1.5px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font: 750 20px/1.3 var(--round); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 26px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--ink-2); }

/* outro */
.outro { background: var(--ink); color: #fff; text-align: center; position: relative; overflow: hidden; }
/* the logo on a white tile */
.outro .tile { width: 132px; height: 132px; margin: 0 auto 28px; background: #fff; border-radius: 30px; display: grid; place-items: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .25); }
.outro .logo { width: 104px; height: 74px; }
.slogan { font: 900 clamp(40px, 7vw, 84px)/1 var(--round); letter-spacing: -.04em; margin: 0; }
.outro .btn-primary { background: #fff; color: var(--ink); }
.outro .slogan span { color: #f472b6; }

/* footer */
.foot { padding: 40px 0 56px; font-size: 14px; color: var(--ink-3); }
.foot p { margin: 0 0 6px; }

/* the privacy and help pages */
.doc { padding: clamp(40px, 7vw, 80px) 0 24px; }
.doc h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 900; letter-spacing: -.04em; }
.doc h2 { font-size: 24px; font-weight: 800; letter-spacing: -.01em; margin-top: 1.6em; }
.doc-date { font-size: 14px; color: var(--ink-3); }
.top nav a[aria-current] { color: var(--ink); }

/* the TestFlight steps (dialog) */
.tf-steps { width: min(520px, calc(100% - 32px)); max-height: calc(100svh - 32px); padding: 28px 28px 24px; border: 0; border-radius: var(--r);
  background: var(--card); color: var(--ink); box-shadow: 0 30px 80px rgba(14, 59, 46, .35); }
.tf-steps::backdrop { background: rgba(14, 59, 46, .45); }
.tf-steps h2 { font-size: 28px; font-weight: 900; letter-spacing: -.02em; margin: 0 40px 8px 0; }
.tf-steps > p { margin: 0 0 18px; color: var(--ink-2); }
.tf-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 99px; background: var(--paper);
  color: var(--ink); font: 400 26px/1 var(--sans); cursor: pointer; }
.tf-steps ol { list-style: none; counter-reset: tf; padding: 0; margin: 0; }
.tf-steps li { counter-increment: tf; position: relative; padding: 0 0 18px 46px; }
.tf-steps li::before { content: counter(tf); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 99px;
  background: var(--kp); color: #fff; font: 800 16px/30px var(--sans); text-align: center; }
.tf-steps li p { margin: 0 0 10px; }
.tf-steps .btn { height: 46px; padding: 0 20px; font-size: 16px; }
.tf-qr { display: flex; gap: 16px; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.tf-qr img { flex: none; }
.tf-qr p { margin: 0; }
.tf-steps.on-ios .tf-qr { display: none; }
.tf-steps:focus, .tf-steps:focus-visible { outline: none; }
.tf-steps .btn { white-space: nowrap; }
@media (max-width: 600px) {
  .tf-steps { padding: 20px 18px 8px; font-size: 16px; line-height: 1.45; }
  .tf-steps h2 { font-size: 24px; margin-bottom: 6px; }
  .tf-steps > p { margin-bottom: 14px; }
  .tf-close { top: 10px; right: 10px; width: 36px; height: 36px; font-size: 22px; }
  .tf-steps li { padding: 0 0 14px 38px; }
  .tf-steps li::before { width: 26px; height: 26px; font: 800 14px/26px var(--sans); top: 0; }
  .tf-steps li p { margin-bottom: 8px; }
  .tf-steps .btn { height: 44px; padding: 0 16px; font-size: 15px; gap: 8px; }
}
