/* flownapp.co.uk: one stylesheet for every page. The app's own colours
   (TravelTracker/Shared/Theme.swift), dark like the app. */
:root {
  color-scheme: dark;
  --bg: #0A0E1A;
  --surface: #141A2E;
  --surface-light: #202844;
  --line: rgba(255, 255, 255, .09);
  --text: #fff;
  --muted: rgba(255, 255, 255, .72);
  --faint: rgba(255, 255, 255, .5);
  --accent: #64D2FF;
  --amber: #FF9F0A;
  --green: #30D158;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
a { color: var(--accent); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 5.4vw, 50px); font-weight: 800; letter-spacing: -.025em; margin: 0 0 18px; }
h2 { font-size: clamp(23px, 3.4vw, 30px); font-weight: 750; margin: 52px 0 14px; }
h3 { font-size: 19px; font-weight: 700; margin: 28px 0 6px; }
p { margin: 0 0 16px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }

/* header and footer */
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 20px; text-decoration: none; }
.brand img { border-radius: 7px; }
nav.site { margin-left: auto; display: flex; align-items: center; gap: 20px; font-size: 15px; }
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a:hover { color: #fff; }
nav.site a.get { color: var(--bg); background: var(--accent); font-weight: 700; padding: 7px 14px; border-radius: 10px; }
footer.site { border-top: 1px solid var(--line); margin-top: 72px; padding: 28px 0 40px; font-size: 14px; color: var(--faint); }
footer.site p { margin: 0 0 6px; }
footer.site a { color: var(--muted); }
@media (max-width: 640px) {
  header.site .wrap { padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  nav.site { margin-left: 0; width: 100%; gap: 16px; font-size: 14px; }
  nav.site a.get { margin-left: auto; }
}

/* buttons */
.cta { display: inline-block; background: var(--accent); color: var(--bg); font-weight: 750; font-size: 17px;
       padding: 14px 26px; border-radius: 14px; text-decoration: none; }
.cta:hover { filter: brightness(1.08); }
.cta.small { font-size: 15px; padding: 10px 18px; border-radius: 11px; }
.cta-note { color: var(--faint); font-size: 14px; margin-top: 10px; }

/* home */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 56px 0 24px; }
.hero .kicker { color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.hero p.lede { font-size: 20px; color: var(--muted); max-width: 34em; }
.hero .phone { justify-self: center; width: min(320px, 100%); border-radius: 30px; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; padding-top: 36px; }
  .hero .phone { width: min(260px, 80%); }
}
.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 2px 18px; margin: 0 -2px; }
.shots figure { flex: 0 0 auto; width: 210px; margin: 0; scroll-snap-align: start; }
.shots img { border-radius: 18px; display: block; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.card h3 { margin-top: 0; }
.card p { color: var(--muted); margin-bottom: 0; }
.card ul { color: var(--muted); padding-left: 20px; margin: 8px 0 0; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
       padding: 2px 8px; border-radius: 6px; margin-left: 6px; vertical-align: 2px; }
.tag.free { background: rgba(48, 209, 88, .15); color: var(--green); }
.tag.pro { background: rgba(100, 210, 255, .15); color: var(--accent); }

/* tables */
.table-wrap { overflow-x: auto; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
thead th { background: var(--surface); font-size: 14px; color: var(--muted); white-space: nowrap; }
tbody th { font-weight: 600; min-width: 170px; }
td.yes { color: var(--green); }
td.no { color: var(--faint); }

/* articles: FAQ, compare, press, guides */
.article { max-width: 800px; }
.article > h1 { margin-top: 44px; }
.article p.lede { font-size: 19px; color: var(--muted); }
.article p.lede strong { color: #fff; }
.crumbs { margin-top: 28px; font-size: 14px; color: var(--faint); }
.crumbs a { color: var(--muted); }
.crumbs + h1 { margin-top: 10px !important; }
.faq h3 { margin-top: 30px; }
.faq p, .faq ul { color: var(--muted); }
.updated { color: var(--faint); font-size: 14px; }
.facts { list-style: none; padding: 0; margin: 22px 0 8px; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px; font-size: 15px; }
.facts li span { display: block; color: var(--faint); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.sides { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 14px 0 18px; }
.side { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.side h3 { margin: 0 0 8px; font-size: 15px; color: var(--accent); }
.side ol { list-style: none; padding: 0; margin: 0; }
.side li { padding: 7px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.35; }
.side li:first-child { border-top: 0; }
.side .sight { display: block; font-weight: 600; }
.side .when { display: block; color: var(--faint); font-size: 13px; }
.caveat { font-size: 14px; color: var(--faint); border-left: 3px solid var(--surface-light); padding-left: 14px; margin-top: 28px; }
.appcard { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line);
           border-radius: 18px; padding: 18px 20px; margin: 30px 0; }
.appcard img { border-radius: 13px; flex: 0 0 auto; }
.appcard p { color: var(--muted); }
.appcard p strong { color: #fff; }
.related p { color: var(--muted); font-size: 15px; }
.group h2 { font-size: 22px; margin-top: 40px; }
ul.routes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 18px; }
ul.routes li { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
ul.routes li a { font-weight: 600; text-decoration: none; }
ul.routes li span { display: block; color: var(--faint); font-size: 13px; }
.press-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.press-shots a { display: block; text-decoration: none; font-size: 13px; color: var(--faint); }
.press-shots img { border-radius: 14px; display: block; margin-bottom: 6px; }
dl.facts-list { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0 0 18px; }
dl.facts-list dt { color: var(--faint); }
dl.facts-list dd { margin: 0; }
@media (max-width: 520px) { dl.facts-list { grid-template-columns: 1fr; gap: 2px; } dl.facts-list dd { margin-bottom: 10px; } }
blockquote { margin: 0 0 16px; padding: 14px 18px; background: var(--surface); border-radius: 14px; color: var(--muted); }
