@font-face { font-family: Outfit; font-weight: 400; font-display: swap; src: url(/fonts/outfit_regular.ttf) format("truetype"); }
@font-face { font-family: Outfit; font-weight: 600; font-display: swap; src: url(/fonts/outfit_semibold.ttf) format("truetype"); }
@font-face { font-family: Outfit; font-weight: 700; font-display: swap; src: url(/fonts/outfit_bold.ttf) format("truetype"); }

:root {
  --ground: #26302D;      /* the app's Welcome ground */
  --ground-2: #2E3935;
  --sage: #9BB3A4;        /* Login button sage */
  --mist: #DCE2D3;        /* day sky */
  --paper: #EFF2EC;       /* text on the ground */
  --muted: #A9B5AE;
  --pin: #F2C744;         /* the route pin */
  --ink: #1C2522;
  --line: rgba(239, 242, 236, .14);
  --r: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--paper); font: 400 17px/1.55 Outfit, system-ui, sans-serif; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--pin); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

/* ---------- top bar ---------- */
.bar { position: absolute; inset: 0 0 auto 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 16px max(16px, calc((100% - 1080px) / 2)); }
.doc .bar { position: static; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; text-decoration: none; color: var(--ink); }
.home .bar .brand, .home .bar nav { background: rgba(239, 242, 236, .78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 999px; }
.home .bar .brand { padding: 6px 14px 6px 6px; }
.home .bar nav { padding: 4px; }
.doc .brand, .foot .brand { color: var(--paper); }
.brand img { border-radius: 8px; }
.bar nav { display: flex; gap: 6px; align-items: center; }
.bar nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; color: var(--ink); }
.doc .bar nav a { color: var(--paper); }
.bar nav a:not(.pill):hover { background: rgba(28, 37, 34, .08); }
.bar nav a.pill { background: var(--ink); color: var(--paper); }
.doc .bar nav a.pill { background: var(--sage); color: var(--ink); }
@media (max-width: 560px) { .bar nav a:not(.pill) { display: none; } }

/* ---------- hero: the city, day to night ---------- */
.hero { position: relative; overflow: hidden; }
.city { display: block; width: 100%; height: clamp(340px, 56svh, 600px); }
/* the city fades into the ground the words stand on */
.hero::before { content: ""; position: absolute; left: 0; right: 0; top: calc(clamp(340px, 56svh, 600px) - 90px); height: 90px; background: linear-gradient(to bottom, rgba(38, 48, 45, 0), var(--ground)); pointer-events: none; z-index: 1; }
.hero-text { position: relative; z-index: 2; padding: 12px 0 clamp(48px, 8vh, 88px); }
h1 { font-weight: 700; font-size: clamp(34px, 5.6vw, 64px); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 16px; max-width: 16ch; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 46ch; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--sage); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 17px; padding: 16px 26px; border-radius: 12px; transition: transform .15s ease, background .15s ease; }
.btn::before { content: ""; width: 12px; height: 16px; background: var(--ink); clip-path: path("M6 0C2.7 0 0 2.7 0 6c0 4.4 6 10 6 10s6-5.6 6-10C12 2.7 9.3 0 6 0z"); }
.btn:hover { background: #ADC3B5; }
.btn:active { transform: scale(.98); }
.meta { margin: 0; color: var(--muted); font-size: 15px; }

/* scene colours, animated over a 28 s day */
.city .land, .city .front { fill: #34413A; animation: build 28s linear infinite; }
.city .front { fill: #323E38; animation-name: build-front; }
.city .back { fill: #74867C; animation: build-back 28s linear infinite; }
.city .sky.dusk { animation: dusk 28s linear infinite; opacity: 0; }
.city .sky.night { animation: night 28s linear infinite; opacity: 0; }
.city .stars circle { fill: #FFF8E6; animation: twinkle 2.6s ease-in-out infinite alternate; }
.city .stars { animation: night 28s linear infinite; opacity: 0; }
.city .moon { animation: moon 28s ease-in-out infinite; opacity: 0; }
.city .sun circle:last-child { fill: #ECE8C8; }
.city .sun { animation: sun 28s ease-in-out infinite; }
.city .plane { stroke: #5E6E64; animation: fly 28s linear infinite; }
.city .plane .body { fill: #3A4741; stroke: none; }
.city .wb rect, .city .wf rect { fill: #F4D68C; }
.city .wb { animation: lights-far 28s linear infinite; opacity: 0; }
.city .wf { animation: lights 28s linear infinite; opacity: .25; }
.city .wf .d1 { animation: flicker 3.1s ease-in-out infinite alternate; }
.city .wf .d4 { animation: flicker 4.3s ease-in-out infinite alternate-reverse; }
.city .beam, .city .burjlights, .city .arab { animation: night 28s linear infinite; opacity: 0; }
.city .burjlights { fill: #FFE3A1; }
.city .arab { stroke: #8CBFFF; }
.city .spire { fill: #F06A5B; animation: blink 1s ease-in-out infinite alternate; }
.city .ground { fill: #26302D; }

@keyframes dusk { 0%, 22% { opacity: 0 } 36%, 44% { opacity: 1 } 56%, 86% { opacity: 0 } 92% { opacity: .8 } 100% { opacity: 0 } }
@keyframes night { 0%, 38% { opacity: 0 } 52%, 80% { opacity: 1 } 94%, 100% { opacity: 0 } }
@keyframes moon { 0%, 40% { opacity: 0; transform: translate(40px, 140px) } 54%, 80% { opacity: 1; transform: translate(40px, 90px) } 92%, 100% { opacity: 0; transform: translate(40px, 120px) } }
@keyframes sun { 0%, 24% { transform: translateY(0); opacity: 1 } 46% { transform: translateY(150px); opacity: 0 } 84% { transform: translateY(150px); opacity: 0 } 100% { transform: translateY(0); opacity: 1 } }
@keyframes fly { 0% { transform: translate(-560px, 108px) } 100% { transform: translate(820px, 96px) } }
@keyframes build { 0%, 24% { fill: #34413A } 42% { fill: #3A3334 } 54%, 80% { fill: #121B22 } 100% { fill: #34413A } }
@keyframes build-front { 0%, 24% { fill: #323E38 } 42% { fill: #352F30 } 54%, 80% { fill: #0F171D } 100% { fill: #323E38 } }
@keyframes build-back { 0%, 24% { fill: #74867C } 42% { fill: #7D6E73 } 54%, 80% { fill: #24323E } 100% { fill: #74867C } }
@keyframes lights { 0%, 34% { opacity: .18 } 50%, 80% { opacity: 1 } 94%, 100% { opacity: .18 } }
@keyframes lights-far { 0%, 44% { opacity: 0 } 56%, 80% { opacity: .55 } 92%, 100% { opacity: 0 } }
@keyframes twinkle { from { opacity: .35 } to { opacity: 1 } }
@keyframes flicker { from { opacity: .55 } to { opacity: 1 } }
@keyframes blink { from { opacity: .2 } to { opacity: 1 } }

@media (prefers-reduced-motion: reduce) {
  .city *, .city { animation: none !important; }
  .btn { transition: none; }
}

/* ---------- a day on the road ---------- */
.day { padding: clamp(56px, 9vw, 110px) 0 40px; }
h2 { font-weight: 700; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -.01em; margin: 0 0 36px; }
.route { list-style: none; margin: 0; padding: 0; position: relative; }
/* the dotted route line the stops sit on */
.route::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 60px; border-left: 3px dotted rgba(155, 179, 164, .55); }
.stop { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px 48px; align-items: center; padding: 0 0 56px 48px; }
.stop::before { content: ""; position: absolute; left: 0; top: 6px; width: 25px; height: 32px; background: var(--pin); clip-path: path("M12.5 0C5.6 0 0 5.6 0 12.5 0 21.9 12.5 32 12.5 32S25 21.9 25 12.5C25 5.6 19.4 0 12.5 0z"); }
.stop::after { content: ""; position: absolute; left: 8px; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--ground); }
.time { margin: 0 0 4px; font-weight: 700; color: var(--pin); font-variant-numeric: tabular-nums; font-size: 16px; }
.stop h3 { margin: 0 0 8px; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; }
.stop p { margin: 0; max-width: 44ch; color: #D3DAD5; }
.shot { width: 260px; height: auto; border-radius: 28px; border: 6px solid #141B19; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
@media (max-width: 720px) {
  .stop { grid-template-columns: 1fr; padding-left: 44px; }
  .shot { width: min(260px, 100%); }
}

/* ---------- facts ---------- */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; padding: 48px 0 72px; border-top: 1px solid var(--line); }
.facts h3 { margin: 0 0 8px; font-size: 20px; }
.facts p { margin: 0; color: #C9D1CC; font-size: 16px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

/* ---------- install ---------- */
.install { padding: 56px 0 88px; border-top: 1px solid var(--line); }
.steps { margin: 0 0 32px; padding-left: 1.3em; display: grid; gap: 10px; max-width: 60ch; }
.steps li::marker { color: var(--pin); font-weight: 700; }

/* ---------- documents ---------- */
.prose { padding: 48px 0 80px; max-width: 68ch; }
.prose h1 { font-size: clamp(32px, 4.5vw, 46px); max-width: none; }
.prose h2 { font-size: 22px; margin: 36px 0 10px; }
.prose p, .prose li { color: #D3DAD5; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--pin); }
.updated { color: var(--muted); font-size: 15px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 32px 0 44px; color: var(--muted); font-size: 15px; }
.foot-in { display: grid; gap: 8px; }
.foot p { margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 8px; }
.foot nav a { color: var(--paper); }
.brand.small { font-size: 16px; }
