/* dropbird.app: one stylesheet, no web fonts, no scripts. Colours are the courier app's (app/styles/tokens.css);
   every text colour has at least 4.5:1 contrast on the backgrounds it is used on. */
:root {
  --paper: #f5f7f9;
  --card: #ffffff;
  --well: #ebeff3;
  --ink: #14202b;
  --grey: #4f5b67;
  --line: #d3dae1;
  --route: #1d5c8c;
  --route-deep: #154569;
  --route-soft: #dcebf7;
  --note: #fff3c4;
  --note-ink: #5c4200;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --g: clamp(16px, 4vw, 40px);
  --measure: 68ch;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-wrap: break-word; }
img, svg { display: block; max-width: 100%; }
a { color: var(--route); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--route-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--route); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--g); }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }

/* header */
.top { background: var(--card); border-bottom: 1px solid var(--line); }
.top__in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--route); text-decoration: none; margin-right: auto; padding: 4px 0; }
.brand__mark { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }
.brand__mark circle { fill: currentColor; stroke: none; }
.brand__name { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); }
.nav, .langs { font-size: 15px; }
.nav ul, .langs ul, .foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.nav li, .langs li, .foot li { margin: 0; }
.nav a, .foot a { color: var(--ink); text-decoration: none; padding: 6px 0; display: inline-block; }
.nav a:hover, .foot a:hover { color: var(--route); text-decoration: underline; }
.nav a[aria-current="page"] { color: var(--route); box-shadow: inset 0 -2px 0 var(--route); }
.langs { order: 2; }
.nav { order: 3; flex-basis: 100%; }
.langs ul { gap: 4px; }
.langs a { display: inline-block; min-width: 40px; padding: 6px 8px; text-align: center; border-radius: 6px; color: var(--grey); text-decoration: none; font-weight: 600; }
.langs a:hover { background: var(--well); color: var(--ink); }
.langs a[aria-current="true"] { background: var(--route); color: #fff; }
.other-lang { color: var(--grey); font-size: 0.85em; }
@media (min-width: 860px) {
  .nav { order: 1; flex-basis: auto; }
  .langs { order: 2; }
}

/* draft note on legal pages */
.draft { background: var(--note); color: var(--note-ink); border-bottom: 1px solid #e8d48a; }
.draft p { max-width: 1120px; margin: 0 auto; padding: 12px var(--g); font-size: 15px; }

/* page */
.page { padding-top: clamp(28px, 6vw, 72px); padding-bottom: clamp(48px, 8vw, 96px); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(34px, 5.4vw, 58px); font-weight: 800; letter-spacing: -0.03em; max-width: 20ch; }
h2 { font-size: clamp(23px, 2.6vw, 30px); font-weight: 750; margin-top: 2.2em; }
h3 { font-size: 19px; font-weight: 700; margin-top: 1.6em; }
p, ul, ol, table, dl { margin: 0.8em 0 0; }
li + li { margin-top: 0.35em; }
.lead { font-size: clamp(19px, 2.1vw, 22px); line-height: 1.5; color: var(--grey); max-width: 46ch; margin-top: 0.9em; }
.meta { color: var(--grey); font-size: 15px; }

/* home: the route line, the one bold element */
.hero { display: grid; gap: 32px; align-items: center; }
.hero__route { color: var(--route); }
.hero__route svg { width: 100%; height: auto; }
.route-line { fill: none; stroke: currentColor; stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; }
.route-stop { fill: var(--card); stroke: currentColor; stroke-width: 3; }
.route-end { fill: currentColor; }
.route-bird { fill: none; stroke: var(--ink); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.route-label { fill: var(--ink); font: 600 15px var(--sans); }
@media (min-width: 860px) { .hero { grid-template-columns: 1.05fr 1fr; } }

.journey { list-style: none; padding: 0; margin: clamp(40px, 7vw, 80px) 0 0; display: grid; gap: 0; counter-reset: stop; }
.journey li { position: relative; padding: 0 0 28px 44px; margin: 0; }
.journey li::before { content: ""; position: absolute; left: 8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--card); border: 3px solid var(--route); }
.journey li::after { content: ""; position: absolute; left: 16px; top: 26px; bottom: 0; border-left: 3px dotted var(--route); }
.journey li:last-child::after { display: none; }
.journey li:last-child::before { background: var(--route); }
.journey h3 { margin: 0; font-size: 20px; }
.journey p { margin-top: 0.3em; color: var(--grey); max-width: 52ch; }
@media (min-width: 860px) {
  .journey { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .journey li { padding: 40px 0 0; }
  .journey li::before { left: 0; top: 0; }
  .journey li::after { left: 24px; right: -24px; top: 9px; bottom: auto; border-left: 0; border-top: 3px dotted var(--route); }
}

.split { display: grid; gap: 24px; margin-top: clamp(48px, 8vw, 96px); }
.split section { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px clamp(20px, 3vw, 32px) 28px; }
.split h2 { margin-top: 0; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } }
.plain { margin-top: clamp(48px, 8vw, 96px); max-width: var(--measure); }
.plain h2 { margin-top: 0; }

/* text pages (legal, support) */
.text { max-width: var(--measure); }
.text h1 { max-width: none; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 22px 18px; margin-top: 28px; }
.toc h2 { font-size: 17px; margin: 0; }
.toc ol { margin-top: 8px; padding-left: 1.3em; }
.table-wrap { overflow-x: auto; margin-top: 0.8em; }
table { border-collapse: collapse; width: 100%; font-size: 15px; background: var(--card); }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
th { background: var(--well); font-weight: 650; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; }
dl.facts dt { font-weight: 650; }
dl.facts dd { margin: 0; }
@media (max-width: 520px) { dl.facts { grid-template-columns: 1fr; } dl.facts dd { margin-bottom: 8px; } }
.faq h3 { margin-top: 1.4em; }
.blank { display: inline-block; min-width: 14em; border-bottom: 1px solid var(--ink); }
.sign { display: grid; gap: 28px; margin-top: 2em; }
@media (min-width: 700px) { .sign { grid-template-columns: 1fr 1fr; } }

/* footer */
.foot { background: var(--card); border-top: 1px solid var(--line); font-size: 15px; }
.foot__in { padding-top: 24px; padding-bottom: 32px; }
.foot p { color: var(--grey); margin-top: 10px; }
.foot p a { color: var(--route); text-decoration: underline; }

/* 404 */
.missing section + section { margin-top: 32px; }
.missing h2 { margin-top: 0; font-size: 26px; }

@media print {
  .top, .foot, .skip, .langs { display: none; }
  body { background: #fff; font-size: 12pt; }
  a { color: inherit; }
}
