/* ORBIT ME 2.0 — shared design tokens and components (language of the approved first screen v7.1).
   One accent (the suit's cyan) + white, Geist / Geist Mono, light "liquid glass" for the buyer's own objects (pass,
   patches, ID), dark hull panels for everything around them, white pill buttons. Every 2.0 screen uses only these. */
:root {
  --void: #02060b; --hull: #0a141c; --hull-2: #0f1d28; --line: #1a2a36;
  --ink: #f4f8fa; --soft: #c9d6dc; --dim: #8fa3ad; --faint: #6f838d;
  --acc: #4fd6e3; --acc-ink: #0c8a97; --glass-ink: #0a1620;
  --ok: #4fd6e3;
  --sans: "Geist", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --r-lg: 22px; --r-md: 16px; --r-sm: 12px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--void); min-height: 100vh; color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }

/* backgrounds */
.v2-bg { position: fixed; inset: 0; z-index: -2; background: var(--void) center / cover no-repeat; }
.v2-bg::after { content: ""; position: absolute; inset: 0; background: var(--v2-shade, linear-gradient(0deg, #02060bf2 0%, #02060bb3 45%, #02060bd9 100%)); }
.v2-bg.station { background-image: url("assets/cover-flipped.jpg"); background-position: 40% 50%; }
.v2-bg.earth { background-image: url("assets/earth.jpg"); }
.v2-bg.orbit { background-image: url("assets/station.jpg"); }
.v2-grain { position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .05; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* header (same as the first screen) */
.v2-top { display: flex; align-items: center; gap: 44px; padding: 24px 64px; }
.v2-logo { display: inline-flex; align-items: center; gap: 10px; font: 800 22px/1 Arial, Helvetica, sans-serif; letter-spacing: -.04em; }
.v2-logo svg { color: var(--acc); }
.v2-nav { display: flex; gap: 38px; font: 500 14px var(--sans); color: var(--soft); }
.v2-nav a[aria-current="page"] { color: var(--ink); }
.v2-sign { margin-left: auto; padding: 10px 18px; border-radius: 999px; border: 1px solid #ffffff40; background: #ffffff10; font: 700 14px var(--sans); backdrop-filter: blur(8px); }
.v2-step { font: 500 11px var(--mono); letter-spacing: .14em; color: var(--dim); }
.v2-step b { color: var(--acc); font-weight: 500; }

/* type */
.v2-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 500 12px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.v2-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px #4fd6e326; }
.v2-h1 { margin: 0; font: 800 clamp(44px, 5.8vw, 84px)/.95 var(--sans); letter-spacing: -.045em; text-wrap: balance; }
.v2-h1 em, .v2-h2 em { font-style: normal; color: var(--acc); }
.v2-h2 { margin: 0; font: 800 clamp(30px, 3.4vw, 48px)/1 var(--sans); letter-spacing: -.035em; text-wrap: balance; }
.v2-h3 { margin: 0; font: 700 20px/1.2 var(--sans); letter-spacing: -.01em; }
.v2-lede { margin: 18px 0 28px; font: 400 clamp(16px, 1.35vw, 19px)/1.45 var(--sans); color: var(--soft); max-width: 30em; }
.v2-k { margin: 0 0 10px; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.v2-mono { font-family: var(--mono); }
.v2-truth { font: 500 10.5px var(--mono); letter-spacing: .16em; color: var(--faint); text-transform: uppercase; }

/* buttons */
.v2-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.v2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 58px; padding: 0 28px; border-radius: 999px; border: 0; color: #02121a; background: #fff; box-shadow: 0 12px 40px #4fd6e340, inset 0 -3px 6px #02121a1a; font: 800 18px Arial, Helvetica, sans-serif; letter-spacing: -.02em; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s; }
.v2-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 46px #4fd6e360, inset 0 -3px 6px #02121a1a; }
.v2-btn svg { width: 20px; height: 20px; }
.v2-btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid #ffffff38; background: #ffffff0d; color: var(--ink); font: 600 14.5px var(--sans); white-space: nowrap; }
.v2-btn-ghost:hover { background: #ffffff1a; }
.v2-play { display: inline-flex; align-items: center; gap: 12px; font: 700 15px Arial, sans-serif; white-space: nowrap; background: none; border: 0; padding: 0; color: var(--ink); }
.v2-play i { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid #ffffffb3; display: grid; place-items: center; }
.v2-play i::after { content: ""; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }

/* surfaces */
.v2-panel { background: #0a141ccc; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; backdrop-filter: blur(10px); min-width: 0; }
.v2-glass { position: relative; color: var(--glass-ink); border-radius: 26px; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, #ffffffcc 0%, #eef3f7a6 38%, #dfe6eda6 70%, #f4f7fae0 100%);
  -webkit-backdrop-filter: blur(28px) saturate(170%) brightness(1.15); backdrop-filter: blur(28px) saturate(170%) brightness(1.15);
  box-shadow: inset 2px 2px 1px -1px #fff, inset -2px -2px 2px -1px #ffffffb3, inset 0 0 0 1px #ffffff80, inset 0 -18px 30px -18px #0a16201f, inset 0 22px 30px -20px #ffffffd9, 0 30px 70px #0008, 0 8px 18px #0004; }
.v2-glass::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(120% 60% at 20% -10%, #ffffffe6 0%, #ffffff00 55%), radial-gradient(80% 40% at 110% 110%, #ffffff8c 0%, #ffffff00 60%); }
.v2-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; border: 1px solid #ffffff2e; background: #02060b80; font: 500 12px var(--mono); color: var(--soft); white-space: nowrap; }
.v2-chip.on { color: var(--acc); border-color: #4fd6e366; }
.v2-count { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: #0a1620e6; color: #fff; box-shadow: inset 0 1px 0 #ffffff33; }
.v2-count b { font: 600 8.5px var(--mono); letter-spacing: .16em; color: #ffffffa6; }
.v2-count span { font: 600 18px var(--mono); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.v2-count span em { font-style: normal; color: var(--acc); }
.v2-bar { position: relative; height: 6px; border-radius: 6px; background: #ffffff14; overflow: hidden; }
.v2-bar i { position: absolute; inset: 0 auto 0 0; width: var(--v, 0%); background: var(--acc); border-radius: 6px; }
.v2-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--hull-2) center 20% / cover; border: 1.5px solid #1f3442; display: grid; place-items: center; font: 700 14px var(--sans); color: #9fb3bd; }
.v2-avatar.you { border-color: var(--acc); box-shadow: 0 0 0 3px #4fd6e333; }
.v2-stub-note { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 999px; border: 1px dashed #4fd6e399; color: var(--acc); font: 500 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; }

/* page frame */
.v2-wrap { max-width: 1312px; margin: 0 auto; padding: 8px 64px 64px; }
.v2-foot { display: flex; justify-content: space-between; gap: 16px; padding: 20px 64px 28px; }

/* the boarding pass (same as the first screen) */
.v2-pass { width: 350px; }
.v2-pass .p-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 0; }
.v2-pass .p-brand { display: inline-flex; align-items: center; gap: 7px; font: 800 15px Arial, sans-serif; letter-spacing: -.03em; }
.v2-pass .p-brand svg { color: var(--acc-ink); }
.v2-pass .p-kind { font: 600 9.5px var(--mono); letter-spacing: .16em; color: #3c4d5a; }
.v2-pass .route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 8px; padding: 14px 20px 12px; }
.v2-pass .code { font: 800 34px/1 var(--sans); letter-spacing: -.03em; }
.v2-pass .route small { display: block; margin-top: 3px; font: 500 9.5px var(--mono); color: #3c4d5a; letter-spacing: .06em; }
.v2-pass .route .r { text-align: right; }
.v2-pass .arc { width: 70px; height: 30px; color: var(--acc-ink); }
.v2-pass .fields { display: grid; grid-template-columns: 1.15fr 1fr 1.25fr; gap: 10px; padding: 0 20px 14px; }
.v2-pass .f b { display: block; font: 600 8.5px var(--mono); letter-spacing: .16em; color: #4a5b68; margin-bottom: 2px; }
.v2-pass .f span { font: 700 15px/1.1 var(--sans); }
.v2-pass .f span small { display: block; font: 500 9px var(--mono); color: #4a5b68; margin-top: 2px; }
.v2-pass .f.you span { display: inline-flex; align-items: center; gap: 5px; color: var(--acc-ink); }
.v2-pass .f.you span::after { content: ""; width: 2px; height: 15px; background: var(--acc-ink); }
.v2-pass .v2-count { margin: 0 20px 16px; }

@media (max-width: 760px) {
  .v2-top { padding: 16px 20px; gap: 0; } .v2-logo { font-size: 20px; } .v2-nav { display: none; } .v2-sign { font-size: 13px; padding: 8px 14px; }
  .v2-step { display: none; }
  .v2-wrap { padding: 4px 20px 40px; }
  .v2-foot { padding: 16px 20px 24px; flex-direction: column; }
  .v2-btn { width: 100%; }
  .v2-pass { width: 300px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
/* the buyer's delivered astronaut is full-body (2:3); every portrait slot shows the face and shoulders, never stretched */
.live-portrait { background-size: 230% auto !important; background-position: 50% 3% !important; }
img.live-portrait { object-fit: cover; object-position: 50% 3%; }
/* small round slots (crew, ticket chip, the cabin circle in the launch film): the face only */
.v2-avatar.live-portrait, .slot-cabin.live-portrait { background-size: 360% auto !important; background-position: 50% 4% !important; }
/* no demo portrait ever flashes for a signed-in buyer (Founder 23.10): until /api/v2/me answers, portrait slots are a
   quiet skeleton; signed out (data-live="0") they show the sample; signed in they wait for the buyer's own portrait */
@keyframes v2-skel { 0%, 100% { opacity: .55 } 50% { opacity: .9 } }
html:not([data-live="0"]) [data-portrait]:not(.live-portrait), html:not([data-live="0"]) .portrait:not(.live-portrait), html:not([data-live="0"]) .me .pic:not(.live-portrait) { background-image: none !important; background-color: #0f1d28 !important; animation: v2-skel 1.4s ease-in-out infinite; }
html:not([data-live="0"]) .portrait:not(.live-portrait) > span { visibility: hidden; }
.v2-avatar-empty { background: transparent !important; border: 1.5px dashed #ffffff26 !important; }
.v2-after-launch { opacity: .55; cursor: default; pointer-events: none; box-shadow: none !important; }
.v2-lang { margin-left: 12px; min-height: 36px; padding: 0 10px; border-radius: 999px; border: 1px solid #ffffff38; background: #ffffff0d; color: #f4f8fa; font: 600 13px var(--sans); }
.v2-lang option { color: #02121a; }
.v2-lang-note { margin: 0 64px 8px; padding: 10px 14px; border-radius: 12px; border: 1px solid #4fd6e355; background: #4fd6e314; color: #dff7fb; font: 500 14px/1.35 var(--sans); }
@media (max-width: 760px) { .v2-lang-note { margin: 0 16px 8px; font-size: 13px; } }
/* Founder 24.10: the language arrow sits inside the pill, away from its edge */
.v2-lang { appearance: none; -webkit-appearance: none; padding: 0 32px 0 14px; background: #ffffff0d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23f4f8fa' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 13px center; }
.v2-train { margin-left: auto; margin-right: -32px; padding: 10px 18px; border-radius: 999px; background: var(--acc); color: #02121a; font: 800 14px var(--sans); }
.v2-train + .v2-sign { margin-left: 0; }
.v2-acct { position: fixed; inset: 0; z-index: 90; display: grid; place-items: start end; padding: 76px 24px 24px; background: #00060a99; }
.v2-acct-card { position: relative; width: min(360px, 100%); display: grid; gap: 8px; padding: 22px; border-radius: 18px; border: 1px solid #ffffff2a; background: #071820f2; box-shadow: 0 24px 60px #000a; color: #f4f8fa; }
.v2-acct-card small { font: 500 11px var(--mono); letter-spacing: .14em; color: #8fa3ad; }
.v2-acct-card b { font: 700 17px var(--sans); overflow-wrap: anywhere; padding-right: 28px; }
.v2-acct-card p { margin: 0; font: 500 13px var(--mono); color: var(--acc); }
.v2-acct-card nav { display: grid; margin: 8px 0; border-top: 1px solid #ffffff1c; }
.v2-acct-card nav a { display: flex; justify-content: space-between; padding: 12px 2px; border-bottom: 1px solid #ffffff1c; font: 600 15px var(--sans); }
.v2-acct-card nav a[aria-current] { color: var(--acc); }
.v2-acct-x { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #ffffff14; color: #f4f8fa; font-size: 20px; cursor: pointer; }
.v2-acct-out { justify-self: start; padding: 10px 16px; border-radius: 999px; border: 1px solid #ffffff38; background: transparent; color: #f4f8fa; font: 600 14px var(--sans); cursor: pointer; }
@media (max-width: 760px) { .v2-acct { padding: 64px 16px 16px; place-items: start stretch; } .v2-acct-card { width: 100%; } .v2-train { font-size: 13px; padding: 8px 12px; margin-right: 8px; } .v2-lang { margin-left: 8px; padding: 0 26px 0 10px; background-position: right 10px center; } }
/* launch header: LIVE pill holds the auto margin; Training and Account follow it */
.v2-top .live ~ .v2-train, .v2-top .live ~ .v2-sign { margin-left: 0; }
/* Founder 24.10 (п.6 everywhere): a button never leaves its card — long labels («· after launch», translations) wrap */
.v2-btn, .v2-btn-ghost { max-width: 100%; min-width: 0; white-space: normal; text-align: center; line-height: 1.2; }
.v2-btn.v2-after-launch, .v2-btn-ghost.v2-after-launch { padding-block: 10px; }
/* Founder 24.10 (phones): after the launch the header holds Training + Account + language — the logo keeps its mark only,
   the language pill is compact, and on the broadcast the LIVE pill steps aside for Training (the stage shows the phase) */
@media (max-width: 480px) {
  .v2-logo { font-size: 0; gap: 0; } .v2-logo svg { width: 28px; height: 28px; }
  .v2-top { gap: 8px; } .v2-train { margin-right: 0; } .v2-lang { margin-left: 0; }
  .v2-top:has(.v2-train) .live { display: none; }
  .v2-top:has(.v2-train) .v2-train { margin-left: auto; }
}
@media (max-width: 340px) { .v2-train, .v2-sign { padding: 8px 10px; font-size: 12.5px; } .v2-lang { padding: 0 26px 0 8px; background-position: right 11px center; } }
.v2-eyebrow { flex-wrap: wrap; max-width: 100%; }
@media (max-width: 350px) { .v2-eyebrow { letter-spacing: .1em; } }
