@font-face{font-family:"Sofia Sans";font-style:normal;font-display:swap;font-weight:100 900;src:url("fonts/sofia-sans-latin-ext-wght-normal.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Sofia Sans";font-style:normal;font-display:swap;font-weight:100 900;src:url("fonts/sofia-sans-latin-wght-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Sofia Sans Condensed";font-style:normal;font-display:swap;font-weight:100 900;src:url("fonts/sofia-sans-condensed-latin-ext-wght-normal.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Sofia Sans Condensed";font-style:normal;font-display:swap;font-weight:100 900;src:url("fonts/sofia-sans-condensed-latin-wght-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* Flight Coordinator
   Concept: an airfield seen by day. Yellow direction signs with black letters,
   the black location sign for the one thing that matters, and the white dashed
   route the player draws in the game. */
:root {
  --sign: #ffb547;
  --sign-deep: #f59f1f;
  --ink: #0b1e33;
  --ink-2: #13304f;
  --sky: #eaf2f8;
  --white: #fff;
  --route: #0d8a48;
  --mayday: #ff4fa3;
  --muted: #47596c;
  --muted-on-ink: #b5c6d6;
  --display: "Sofia Sans Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Sofia Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1.125rem/1.5 var(--body);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
h1, h2 { font-family: var(--display); font-weight: 800; line-height: .98; letter-spacing: -.01em; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
h2 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); }
:focus-visible { outline: 3px solid var(--route); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1240px; margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.band { padding-block: clamp(56px, 8vw, 112px); }
.lede { max-width: 56ch; color: var(--muted); font-size: 1.25rem; margin-top: 14px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 30; background: var(--ink); color: var(--sign); padding: 10px 14px; border-radius: 6px; }
.skip:focus { left: 12px; }

/* Navigation */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--ink); color: var(--white); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--ink); }
.nav__in { display: flex; align-items: center; gap: 22px; min-height: 60px; flex-wrap: wrap; padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 1.4rem/1 var(--display); text-decoration: none; margin-right: auto; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav__links { display: flex; gap: 20px; font-weight: 600; font-size: 1rem; }
.nav__links a { text-decoration: none; }
.nav__links a:hover { color: var(--sign); }
.lang { position: relative; }
.lang summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 6px; font-weight: 700; font-size: .95rem; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.lang__list { position: absolute; right: 0; top: calc(100% + 8px); width: min(420px, calc(100vw - 32px)); background: var(--white); color: var(--ink); border-radius: 10px; box-shadow: 0 14px 40px rgba(11, 30, 51, .3); padding: 10px; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 2px; }
.lang__list a { display: block; padding: 6px 10px; text-decoration: none; border-radius: 6px; font-size: 1rem; }
.lang__list a:hover { background: var(--sky); }
.lang__list a[aria-current] { background: var(--sign); font-weight: 700; }
@media (max-width: 760px) { .nav__links { display: none; } }

/* Hero */
.hero { background: var(--sign); position: relative; overflow: hidden; }
.hero__in { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(36px, 6vw, 84px); }
.hero__kicker { font-weight: 700; font-size: 1.25rem; }
.hero h1 { font-size: clamp(3rem, 5.5vw, 5.3rem); margin-top: 10px; }
.hero h1 > span { display: block; }
.sign { display: inline; background: var(--ink); color: var(--sign); padding: .02em .16em .05em; border-radius: .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; line-height: 1.16; }
.hero h1 .l2 { margin-top: .16em; }
.hero__sub { font-size: 1.3rem; max-width: 34ch; margin-top: 20px; font-weight: 500; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.store { display: inline-flex; align-items: center; min-height: 50px; padding: 10px 20px; border-radius: 10px; font-weight: 800; text-decoration: none; background: var(--ink); color: var(--white); }
a.store:hover { background: var(--ink-2); }
span.store { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.hero__note { margin-top: 14px; font-size: 1rem; font-weight: 500; }

.stage { position: relative; min-width: 0; padding-block: 5% 7%; }
.phone { position: relative; background: #060d16; border-radius: clamp(20px, 3vw, 38px); padding: clamp(7px, 1vw, 12px); box-shadow: 0 30px 60px rgba(11, 30, 51, .34); transform: rotate(-2deg); }
.phone img { border-radius: clamp(13px, 2.2vw, 28px); width: 100%; }
.flyer { position: absolute; width: 17%; filter: drop-shadow(0 12px 10px rgba(11, 30, 51, .28)); pointer-events: none; }
.flyer--a { left: -5%; top: 0; transform: rotate(38deg); }
.flyer--b { right: -3%; bottom: 2%; transform: rotate(205deg); width: 20%; }
.flyer--c { right: -3%; top: -7%; transform: rotate(120deg); width: 12%; }
.drawn { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.drawn path { fill: none; stroke: var(--white); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 16 15; animation: dash 1.6s linear infinite; filter: drop-shadow(0 1px 1px rgba(11, 30, 51, .6)); }
@keyframes dash { to { stroke-dashoffset: -31; } }
@media (max-width: 880px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(3rem, 11vw, 5.6rem); }
  .stage { max-width: 680px; }
}

/* Weather ticker */
.ticker { background: var(--ink); color: var(--sign); overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.ticker ul { display: flex; flex: none; }
.ticker li { font: 800 clamp(1.5rem, 3vw, 2.2rem)/1 var(--display); padding: 18px 26px; white-space: nowrap; position: relative; }
.ticker li::after { content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 3px; background: var(--sign); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Scenes */
.scenes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: clamp(28px, 4vw, 48px); }
.scene img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px 10px 0 0; }
.scene figcaption { background: var(--sky); padding: 14px 16px 16px; border-radius: 0 0 10px 10px; flex: 1; }
.scene { display: flex; flex-direction: column; }
.scene__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.scene h3 { font: 800 1.55rem/1.1 var(--display); margin: 0; }
.code { font: 700 .8rem/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .06em; color: var(--muted); }
.scene p { margin-top: 6px; font-size: 1.02rem; line-height: 1.4; color: var(--muted); }
@media (max-width: 1040px) { .scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .scenes { grid-template-columns: minmax(0, 1fr); } }

/* Three moves, joined by the route */
.how { background: var(--sky); }
.steps { display: grid; gap: clamp(36px, 5vw, 64px); margin-top: clamp(32px, 5vw, 60px); position: relative; }
.steps::before { content: ""; position: absolute; left: 25px; top: 28px; bottom: 28px; border-left: 4px dashed var(--sign-deep); }
.step { display: grid; grid-template-columns: 54px minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(16px, 3vw, 40px); align-items: center; position: relative; }
.step__no { width: 54px; height: 54px; background: var(--sign); border: 3px solid var(--ink); border-radius: 8px; display: grid; place-items: center; font: 800 1.9rem/1 var(--display); }
.step h3 { font: 800 clamp(3rem, 7vw, 5.6rem)/.95 var(--display); margin: 0; overflow-wrap: anywhere; hyphens: auto; }
.step p { margin-top: 10px; color: var(--muted); max-width: 40ch; }
.step img { border-radius: 12px; width: 100%; box-shadow: 0 14px 34px rgba(11, 30, 51, .18); }
@media (max-width: 860px) {
  .step { grid-template-columns: 54px minmax(0, 1fr); }
  .step__shot { grid-column: 2; }
}

/* Airports */
.airports { background: var(--ink); color: var(--white); }
.airports .lede { color: var(--muted-on-ink); }
.belt { overflow: hidden; margin-top: clamp(28px, 4vw, 44px); }
.belt__track { display: flex; width: max-content; animation: slide 90s linear infinite; }
.belt ul { display: flex; flex: none; }
.belt li { width: clamp(220px, 24vw, 300px); margin-right: 16px; }
.belt img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.belt__name { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; font-weight: 700; font-size: 1rem; }
.belt .code { color: var(--sign); }

/* Map builder */
.builder { background: var(--ink-2); color: var(--white); }
.builder .lede { color: var(--muted-on-ink); }
.builder__shots { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(16px, 3vw, 32px); align-items: center; margin-top: clamp(28px, 4vw, 48px); }
.builder__points { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(32px, 5vw, 56px); list-style: none; padding: 0; }
.builder__points h3 { font: 800 clamp(2.2rem, 4.6vw, 3.6rem)/1 var(--display); margin: 0; color: var(--sign); overflow-wrap: anywhere; hyphens: auto; }
.builder__points p { margin-top: 10px; color: var(--muted-on-ink); }
@media (max-width: 880px) {
  .builder__shots { grid-template-columns: minmax(0, 1fr); }
}

/* The page behind a link to a map */
.landing { min-height: 100vh; }
.landing img { border-radius: 14px; margin-bottom: 18px; }
.landing__map { margin-top: 12px; font-weight: 700; font-size: 1.25rem; }
.landing__code { margin-top: 18px; font: 800 clamp(2.2rem, 7vw, 3.4rem)/1 var(--display); letter-spacing: .04em; color: var(--ink); }

/* Mathilda */
.school__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.school p.lede { margin-top: 16px; }
.lessons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.lessons li { background: var(--sign); padding: 5px 12px; border-radius: 5px; font-weight: 700; font-size: 1rem; }
.mathilda { display: flex; align-items: flex-end; gap: 14px; }
.mathilda img { width: clamp(110px, 16vw, 190px); flex: none; }
.bubble { background: var(--ink); color: var(--white); border-radius: 18px; padding: 18px 20px; min-width: 0; }
.bubble b { display: block; color: var(--sign); font-size: 1rem; margin-bottom: 4px; }
@media (max-width: 860px) { .school__in { grid-template-columns: minmax(0, 1fr); } }

/* Numbers */
.facts { background: var(--sign); }
.facts ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; padding-block: 34px; }
.facts b { display: block; font: 800 clamp(3rem, 6vw, 4.6rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.facts span { font-weight: 600; }

/* Questions */
.faq__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(28px, 5vw, 64px); margin-top: clamp(28px, 4vw, 44px); }
.faq__list dt { font: 800 1.7rem/1.1 var(--display); }
.faq__list dd { margin-top: 8px; color: var(--muted); }
@media (max-width: 760px) { .faq__list { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.foot { background: var(--ink); color: var(--muted-on-ink); padding-block: 38px; font-size: 1rem; }
.foot__row { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.foot a { color: var(--white); }
.foot__langs { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 18px; font-size: .95rem; }
.foot__langs a { color: var(--muted-on-ink); text-decoration: none; }
.foot__langs a:hover { color: var(--sign); }
.foot small { display: block; margin-top: 16px; font-size: .85rem; }

/* Legal pages */
.legal { max-width: 72ch; }
.legal h1 { font-size: clamp(2.6rem, 6vw, 4rem); }
.legal h2 { font: 800 1.8rem/1.15 var(--display); margin-top: 34px; }
.legal h3 { font: 700 1.2rem/1.25 var(--body); margin: 20px 0 0; }
.legal p, .legal ul { margin-top: 10px; }
.legal ul { list-style: disc; padding-left: 22px; }
.todo { background: var(--sign); padding: 0 5px; border-radius: 3px; font-weight: 700; }
.draft { background: var(--sign); padding: 12px 16px; border-radius: 8px; margin-top: 20px; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .drawn path { animation: none; }
  .ticker__track, .belt__track { animation: none; }
  .ticker, .belt { overflow-x: auto; }
}

/* The construction page while the game is not in the stores yet (site.json, coming_soon). */
.soon { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 24px var(--gutter-r) 24px var(--gutter-l); text-align: center; }
.soon h1 { font-size: clamp(2rem, 5.5vw, 3.6rem); max-width: 18ch; margin-inline: auto; }
.soon nav { display: flex; justify-content: center; gap: 20px; margin-top: 28px; font-size: .95rem; color: var(--muted); }
