/* dayport.app: the same concourse as the app. A white page, a dark split-flap board, Dayport yellow as the one accent. */
:root {
  --bg: #FFFFFF; --paper: #FFFFFF; --ink: #16171A; --muted: #5E6068; --rule: #D3D2CD;
  --sign: #FFCC00; --sign-ink: #111111; --board: #111215; --flap: #1D1E22; --flap-hi: #26272C; --flap-ink: #F3F1EA;
  --font-ui: 'Barlow', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --font-flap: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--font-ui); }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--sign); outline-offset: 2px; border-radius: 2px; }
.page { max-width: 760px; margin: 0 auto; padding: max(28px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); display: flex; flex-direction: column; gap: 28px; min-height: 100vh; min-height: 100dvh; }

/* The primary logo on the home page: the app icon butted against the split-flap DAYPORT board, with a green
   status light after the T. --cw and --ch are one flap's width and height; everything else scales from them. */
.lockup { --cw: clamp(21px, 5.6vw, 30px); --ch: clamp(32px, 8.6vw, 46px); display: inline-flex; align-items: stretch; max-width: 100%; }
.lockup-icon { width: calc(var(--ch) * 1.32); flex: 0 0 auto; border-radius: calc(var(--ch) * 0.2) 0 0 calc(var(--ch) * 0.2); overflow: hidden; }
.lockup-icon svg { width: 100%; height: 100%; display: block; }
/* As in the final logo: a black split line behind the check, rather than the white one across it */
.lockup-icon .lg7-u { fill: #111214; }
.lockup-icon .lg7-o { display: none; }
.board { display: inline-flex; align-items: center; gap: calc(var(--cw) * 0.45); width: fit-content; max-width: 100%; border: 0; margin: 0; cursor: pointer; font: inherit; color: inherit; background: var(--board); border-radius: 0 calc(var(--ch) * 0.2) calc(var(--ch) * 0.2) 0; padding: calc(var(--ch) * 0.16); }
.board:focus-visible { outline: 3px solid var(--sign); outline-offset: 3px; }
/* The smaller logo in the header of the privacy and support pages, linking home */
.lockup-sm { --cw: 20px; --ch: 32px; text-decoration: none; border-radius: calc(var(--ch) * 0.2); }
.lockup-sm:focus-visible { outline: 3px solid var(--sign); outline-offset: 3px; }
.board .flaps { display: flex; }
/* The light's glow is a soft gradient rather than a blurred shadow */
.lamp { width: calc(var(--ch) * 0.62); height: calc(var(--ch) * 0.62); flex: 0 0 auto; margin: 0 calc(var(--cw) * -0.05) 0 calc(var(--cw) * -0.35); border-radius: 50%; background: radial-gradient(circle, #3DDC84 0 24%, rgba(61, 220, 132, 0.45) 30%, rgba(61, 220, 132, 0.12) 50%, rgba(61, 220, 132, 0) 70%); }
.flaps { display: flex; gap: 0; border-radius: 4px; overflow: hidden; }
/* Flaps sit side by side in one strip, as in the app: a dark seam between them, and a small hinge pin
   straddling each seam on the split line, half at the right edge of one flap and half at the left of the next */
.flaps span { --pin-w: 1.5px; --pin: linear-gradient(#383A40, #26272C 50%, #323439); --pin-h: calc(var(--ch) * 0.2);
  position: relative; width: var(--cw); height: var(--ch); display: grid; place-items: center;
  background: var(--pin) left center / var(--pin-w) var(--pin-h) no-repeat, var(--pin) right 1px center / var(--pin-w) var(--pin-h) no-repeat, linear-gradient(var(--flap-hi) 0 50%, var(--flap) 50% 100%);
  box-shadow: inset -1px 0 rgba(0,0,0,.6); color: var(--flap-ink); font: 600 calc(var(--ch) * 0.76)/1 var(--font-flap); }
.flaps span:first-child { background: var(--pin) right 1px center / var(--pin-w) var(--pin-h) no-repeat, linear-gradient(var(--flap-hi) 0 50%, var(--flap) 50% 100%); }
.flaps span.fa { animation: fa 0.08s linear; } .flaps span.fb { animation: fb 0.08s linear; }
@keyframes fa { from { transform: scaleY(0.15); } to { transform: none; } }
@keyframes fb { from { transform: scaleY(0.15); } to { transform: none; } }
.flaps span::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #050506; }
.flaps span:last-child { background: var(--pin) left center / var(--pin-w) var(--pin-h) no-repeat, linear-gradient(var(--flap-hi) 0 50%, var(--flap) 50% 100%); box-shadow: none; }

.hero h1 { margin: 6px 0 0; font: 700 clamp(38px, 9vw, 64px)/0.98 var(--font-flap); text-transform: uppercase; letter-spacing: .005em; text-wrap: balance; }
.hero p { margin: 14px 0 0; max-width: 34em; color: var(--muted); font-size: 19px; }
.sign { display: inline-block; background: var(--sign); color: var(--sign-ink); font: 700 18px/1.2 var(--font-flap); text-transform: uppercase; letter-spacing: .04em; padding: 6px 12px; border-radius: 3px; }

/* Legend: the airport words */
.legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
.legend div { padding: 14px 16px; background: var(--paper); }
.legend div, .card { background: #F6F6F4; }
.legend b { display: block; font: 700 17px var(--font-flap); text-transform: uppercase; letter-spacing: .03em; }
.legend span { color: var(--muted); font-size: 15px; }

/* Long-form pages: privacy and support */
.doc h1 { margin: 0 0 4px; font: 700 clamp(34px, 7vw, 48px)/1 var(--font-flap); text-transform: uppercase; }
.doc .meta { margin: 0; color: var(--muted); font-size: 15px; }
.doc h2 { margin: 30px 0 6px; font: 700 22px/1.15 var(--font-flap); text-transform: uppercase; letter-spacing: .02em; text-wrap: balance; }
.doc p, .doc li { max-width: 40em; }
.doc ul { padding-left: 22px; }
.doc .lead { font-size: 19px; }
.card { background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 16px 18px; margin-top: 12px; }
.card h3 { margin: 0 0 4px; font: 700 18px var(--font-flap); text-transform: uppercase; letter-spacing: .02em; }
.card p { margin: 0; }

footer { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 14px; }
footer nav { display: flex; gap: 18px; }
/* The logo's yellow parts: the check, the seam, the notches, and the gap around the plane */
.lg7 .lg7-t { fill: var(--sign); }
.lg7 .lg7-k { fill: #111214; }
.lg7 .lg7-ks { fill: #111214; stroke: #111214; }
.lg7 .lg7-o { fill: #FFFFFF; }
.lg7 .lg7-d { display: none; }
.lg5 .lg5-y { fill: var(--sign); }
.lg5 .lg5-ys { fill: var(--sign); stroke: var(--sign); }
