/* Flyward Studio, the page before signing in (30 Nov 2026): four options to choose from, sharing these pieces.
   Helvetica Now from the studio's own files; the five kinds in the studio's colours; Google's sign-in button. */
@font-face { font-family: 'Helvetica Now Display'; src: url('/assets/fonts/HelveticaNowDisplay-Lt.otf') format('opentype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Helvetica Now Display'; src: url('/assets/fonts/HelveticaNowDisplay-Regular.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Helvetica Now Display'; src: url('/assets/fonts/HelveticaNowDisplay-Md.otf') format('opentype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Helvetica Now Text'; src: url('/assets/fonts/HelveticaNowText-Regular.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Helvetica Now Text'; src: url('/assets/fonts/HelveticaNowText-Medium.otf') format('opentype'); font-weight: 500; font-display: swap; }

:root {
  --ink: #0d0e10;
  --ink-2: #17191c;
  --paper: #f5f2ec;
  --muted: rgba(245, 242, 236, 0.6);
  --line: rgba(245, 242, 236, 0.14);
  --flight: oklch(0.6 0.17 250);
  --hotel: oklch(0.68 0.16 52);
  --transfer: oklch(0.62 0.11 185);
  --itinerary: oklch(0.6 0.19 340);
  --bundle: #f5f2ec;
  --events: oklch(0.56 0.13 150);
  --onboarding: oklch(0.52 0.17 285);
  --forms: oklch(0.56 0.16 18);
  --display: 'Helvetica Now Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --text: 'Helvetica Now Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--ink); color: var(--paper); font-family: var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.i { width: 1em; height: 1em; fill: currentColor; display: block; }

/* The bar: the wordmark, and signing in. */
.fw-bar { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 22px clamp(16px, 4vw, 48px); pointer-events: none; }
.fw-bar > * { pointer-events: auto; }
.fw-bar .wm, .fw-wm .wm { display: block; height: 16px; width: auto; fill: currentColor; }
.fw-bar .brand { display: flex; align-items: center; gap: 14px; color: var(--paper); text-decoration: none; }
.fw-bar .brand span + span { font-size: 13px; letter-spacing: 0.02em; color: var(--muted); border-left: 1px solid var(--line); padding-left: 14px; }
/* On a phone the bar keeps Google's mark alone; the full button waits below. */
@media (max-width: 600px) { .fw-bar .g-btn.small { padding: 0 9px; } .fw-bar .g-btn.small span { display: none; } }

/* Google's sign-in button (its own colours and mark, as Google asks). */
.g-btn { display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 18px 0 14px; border-radius: 999px; background: #fff; color: #1f1f1f; border: 1px solid #dadce0; font-family: var(--text); font-weight: 500; font-size: 15px; letter-spacing: 0.01em; text-decoration: none; white-space: nowrap; transition: box-shadow 0.2s, transform 0.2s; }
.g-btn:hover { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25); transform: translateY(-1px); }
.g-btn:focus-visible { outline: 3px solid var(--flight); outline-offset: 3px; }
.g-btn svg { width: 20px; height: 20px; flex: none; }
.g-btn.small { height: 38px; font-size: 14px; padding: 0 14px 0 11px; gap: 10px; }
.g-btn.small svg { width: 18px; height: 18px; }
.fw-note { font-size: 13px; color: var(--muted); }

/* The kinds, as cards. */
.kind-card { position: relative; border-radius: 22px; overflow: hidden; color: #fff; }
.kind-card[data-kind="flight"] { background: var(--flight); }
.kind-card[data-kind="hotel"] { background: var(--hotel); }
.kind-card[data-kind="transfer"] { background: var(--transfer); }
.kind-card[data-kind="itinerary"] { background: var(--itinerary); }
.kind-card[data-kind="bundle"] { background: var(--bundle); color: var(--ink); }
.kind-card[data-kind="events"] { background: var(--events); }
.kind-card[data-kind="onboarding"] { background: var(--onboarding); }
.kind-card[data-kind="forms"] { background: var(--forms); }
.kind-card .kc { position: absolute; inset: 0; padding: 7% 8%; display: flex; flex-direction: column; }
.kind-card .kc-icon { width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, 0.18); display: grid; place-items: center; font-size: 24px; }
.kind-card[data-kind="bundle"] .kc-icon { background: rgba(13, 14, 16, 0.08); }
.kind-card .kc-mini { margin: auto 0; font-family: var(--display); }
.kind-card .kc-name { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.1vw, 34px); letter-spacing: -0.02em; line-height: 1.05; }
.kind-card .kc-say { margin-top: 6px; font-size: clamp(12px, 0.95vw, 15px); line-height: 1.35; opacity: 0.85; }
/* What each kind makes, in miniature. */
.mini-route { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mini-route b { font-weight: 500; font-size: clamp(26px, 2.6vw, 44px); letter-spacing: -0.02em; }
.mini-route .i { font-size: 22px; opacity: 0.8; }
.mini-line { display: flex; justify-content: space-between; font-family: var(--text); font-size: 13px; opacity: 0.8; margin-top: 4px; }
.mini-big { font-weight: 300; font-size: clamp(34px, 3.6vw, 60px); letter-spacing: -0.03em; line-height: 1; }
.mini-days { display: grid; gap: 6px; font-family: var(--text); font-size: 13px; }
.mini-days span { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.16); }
.mini-days .i { font-size: 15px; }
.mini-stack { position: relative; height: 110px; }
.mini-stack i { position: absolute; left: 50%; top: 50%; width: 52%; aspect-ratio: 0.72; border-radius: 6px; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16); border: 1px solid rgba(13, 14, 16, 0.12); }
.mini-stack i::before { content: ''; position: absolute; left: 12%; right: 12%; top: 14%; height: 6%; background: var(--ink); border-radius: 2px; }
.mini-stack i::after { content: ''; position: absolute; left: 12%; right: 30%; top: 30%; height: 30%; background: repeating-linear-gradient(var(--ink) 0 2px, transparent 2px 9px); opacity: 0.25; }
.mini-event { display: grid; gap: 10px; }
.mini-event .ev-name { font-weight: 500; font-size: clamp(18px, 1.7vw, 26px); letter-spacing: -0.02em; line-height: 1.05; }
.mini-event .ev-bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.22); overflow: hidden; }
.mini-event .ev-bar i { display: block; height: 100%; border-radius: inherit; background: #fff; }
.mini-chips { display: grid; gap: 8px; font-family: var(--text); font-size: 13px; }
.mini-chips span { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.16); }
.mini-chips .i { font-size: 15px; }
.mini-chips em { margin-left: auto; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #fff; color: var(--onboarding); font-size: 12px; font-style: normal; }
.mini-form { display: grid; gap: 6px; font-family: var(--text); font-size: 12px; }
.mini-form .mf-step { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 13px; }
.mini-form .mf-step b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #fff; color: var(--forms); font-size: 11px; }
.mini-form .mf-q { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.16); }
.mini-form .mf-q .i { font-size: 13px; }
.mini-form .mf-q em { margin-left: auto; font-style: normal; font-size: 10px; padding: 1px 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.22); }
.mini-form .mf-add { padding: 5px 8px; border-radius: 8px; border: 1px dashed rgba(255, 255, 255, 0.5); opacity: 0.85; }
.mini-car { width: 100%; height: auto; display: block; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.25)); }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
/* The S-Class picture (the studio's own), cropped to the car. */
.mini-carclip { overflow: hidden; aspect-ratio: 3.9; }
.mini-carclip img { display: block; width: 100%; height: auto; margin-top: -23.2%; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.22)); }

/* Refused (30 Nov 2026): a card over the welcome page, saying why and how to try a work account. */
.denied { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(13, 14, 16, 0.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.denied[hidden] { display: none; }
.is-denied, .is-denied body { overflow: hidden; }
.denied-card { width: min(480px, 100%); background: var(--ink-2); border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px 24px; text-align: center; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5); animation: denied-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.denied-mark { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(245, 242, 236, 0.08); color: var(--paper); font-size: 24px; margin-bottom: 18px; }
.denied-card h2 { margin: 0 0 10px; font-family: var(--display); font-weight: 400; font-size: clamp(24px, 3vw, 30px); letter-spacing: -0.02em; line-height: 1.1; }
.denied-card p { margin: 0 0 22px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.denied-card .denied-small { margin: 18px 0 14px; font-size: 13px; }
.denied-close { background: none; border: 0; color: var(--paper); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px; }
@keyframes denied-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
@media (prefers-reduced-motion: reduce) { .denied-card { animation: none; } }
