/* ==========================================================================
   First Jet: funding site styles
   Colors, type and spacing follow the live firstjetair.org brand.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-var.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-var-italic.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/playfair-var.ttf") format("truetype-variations");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/playfair-var-italic.ttf") format("truetype-variations");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --navy: #002b4e;
  --navy-deep: #00203b;
  --navy-mid: #053a63;
  --blue: #0077b6;
  --blue-ink: #005e90;
  --gold: #ffb603;
  --gold-dark: #f0a400;
  --ice: #e8f6fd;
  --sand: #fff0c0;
  --paper: #f6f9fc;
  --bg-gray: #f2f4f7;
  --gray: #585f6b;
  --gray-soft: #8a93a0;
  --gray-light: #b8dcf0;
  --green: #1a7a40;
  --red: #c0392b;
  --white: #fff;
  --line: rgba(0, 43, 78, 0.12);
  --line-strong: rgba(0, 43, 78, 0.22);

  --font-sans: "Inter", system-ui, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-mono: ui-monospace, "Courier New", monospace;

  --max-w: 1320px;
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-btn: 10px;

  --shadow-card: 0 1px 2px rgba(0, 43, 78, 0.06), 0 8px 20px -10px rgba(0, 43, 78, 0.22);
  --shadow-card-hover: 0 2px 4px rgba(0, 43, 78, 0.08), 0 16px 32px -14px rgba(0, 43, 78, 0.28);
  --shadow-panel: inset 0 1.5px 0 rgba(255, 255, 255, 0.22), inset 0 -2px 0 rgba(0, 0, 0, 0.28),
    inset 1px 0 0 rgba(255, 255, 255, 0.1), 0 2px 4px rgba(0, 43, 78, 0.2), 0 22px 44px -16px rgba(0, 43, 78, 0.55);
  --shadow-btn: 0 2px 4px rgba(0, 43, 78, 0.12), 0 6px 14px -8px rgba(0, 43, 78, 0.32);
  --shadow-btn-hover: 0 3px 6px rgba(0, 43, 78, 0.14), 0 10px 20px -10px rgba(0, 43, 78, 0.36);
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--navy);
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

input,
textarea,
button,
select {
  font: inherit;
}

a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  color: var(--navy);
  text-decoration: underline;
}

img,
svg {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--gold);
  color: var(--navy);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 3px;
}

main:focus {
  outline: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 16px 24px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 16px;
  color: var(--gold);
  text-decoration: none;
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
}

@keyframes fj-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@keyframes fj-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Type ---------- */

.eyebrow {
  display: inline-block;
  margin-bottom: 22px;
  padding: 8px 16px;
  border-radius: 6px;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.h1 {
  margin: 0 0 18px;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.06;
}
.h1.on-blue {
  color: var(--white);
}

.h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.h2.on-dark {
  color: var(--white);
}
.h2.serif {
  font-family: var(--font-serif);
  font-weight: 600;
}

.h3 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.lead {
  margin: 0;
  color: var(--white);
  font-size: 18px;
  line-height: 1.75;
}

.body {
  margin: 0;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.75;
}
.body.on-color {
  color: var(--white);
}

.tiny-label {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.text-gold {
  color: var(--gold);
}
.text-navy {
  color: var(--navy);
}

.max-640 { max-width: 640px; }
.max-680 { max-width: 680px; }
.max-760 { max-width: 760px; }
.max-820 { max-width: 820px; }
.max-880 { max-width: 880px; }
.max-900 { max-width: 900px; }

.legal-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.75;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover {
  text-decoration: none;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-gold {
  border-color: var(--navy);
  background: var(--gold);
  color: var(--navy);
  box-shadow: var(--shadow-btn);
}
.btn-gold:hover {
  background: var(--gold-dark);
  color: var(--navy);
  box-shadow: var(--shadow-btn-hover);
}

.btn-navy {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--gold);
  box-shadow: var(--shadow-btn);
}
.btn-navy:hover {
  background: var(--navy-mid);
  color: var(--gold);
  box-shadow: var(--shadow-btn-hover);
}

.btn-gold-outline {
  border-color: var(--gold);
  background: transparent;
  color: var(--gold);
}
.btn-gold-outline:hover {
  background: rgba(255, 182, 3, 0.12);
  color: var(--gold);
}

.btn-block {
  display: block;
  width: 100%;
  padding: 17px;
  font-size: 16px;
}

.btn-text {
  padding: 0;
  border: none;
  background: none;
  color: var(--gray);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}
.btn-text:hover {
  color: var(--navy);
}
.btn-text:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.self-center {
  align-self: center;
}

/* ---------- Cards and panels ---------- */

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.panel-navy {
  padding: 40px;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--navy-mid) 0%, var(--navy) 55%, var(--navy-deep) 100%);
  box-shadow: var(--shadow-panel);
}

.quote {
  margin: 0;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.quote span {
  color: var(--white);
}
.quote-lg {
  font-size: 20px;
}

.note-card {
  padding: 28px;
  border: 1px solid rgba(0, 119, 182, 0.25);
  border-radius: var(--radius-xl);
  background: var(--ice);
}
.note-card-tight {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}
.note-label {
  margin-bottom: 12px;
  color: var(--blue-ink);
}
.note-card-tight .note-label {
  margin-bottom: 0;
}
.note-copy {
  margin: 0;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
}
.note-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
}

.disclosure-card {
  padding: 24px;
  border-radius: var(--radius-xl);
  background: var(--bg-gray);
}
.disclosure-copy {
  margin: 0;
  color: var(--gray);
  font-size: 13px;
  line-height: 1.7;
}
.disclosure-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--gray);
  font-size: 13px;
  line-height: 1.7;
}

/* ---------- "Investment is open" ticker (under the header) ---------- */

.ticker {
  display: block;
  overflow: hidden;
  padding: 11px 0;
  border-bottom: 3px solid var(--navy);
  background: var(--blue);
  color: var(--white);
}
.ticker:hover {
  color: var(--white);
  text-decoration: none;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: fj-marquee 34s linear infinite;
}
.ticker:hover .ticker-track,
.ticker:focus-visible .ticker-track {
  animation-play-state: paused;
}
.ticker-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-around;
  gap: 28px;
  min-width: 100vw;
  padding-right: 28px;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker-item-strong {
  color: var(--gold);
}
.ticker-item-cta {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
}
.ticker .live-dot {
  background: #5ee08f;
}
.ticker-plane {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.55);
}

@keyframes fj-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
}
.site-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand-link {
  display: flex;
  align-items: center;
}
.brand-logo {
  width: auto;
  height: 56px;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
}
.nav-link {
  padding-bottom: 2px;
  border-bottom: 3px solid transparent;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
}
.nav-link:hover {
  color: var(--navy);
  text-decoration: none;
  border-bottom-color: rgba(255, 182, 3, 0.5);
}
.nav-link.active {
  border-bottom-color: var(--gold);
  color: var(--blue-ink);
  font-weight: 700;
}
.gold-bar {
  width: 100%;
  height: 6px;
  background: var(--gold);
}

#home,
#get-involved,
#about,
#timeline,
#community,
#invest-cta {
  scroll-margin-top: 92px;
}

/* ---------- Sections ---------- */

.section-white { background: var(--white); }
.section-blue { background: var(--blue); }
.section-sand { background: var(--sand); }
.section-gray { background: var(--bg-gray); }

.pad-80 { padding: 80px 0; }
.pad-88 { padding: 88px 0; }
.pad-72 { padding: 72px 0; }
.pad-72-88 { padding: 72px 0 88px; }
.pad-64-72 { padding: 64px 0 72px; }

.hero-pad {
  padding-top: clamp(44px, 7vw, 64px);
  padding-bottom: 72px;
}
.hero-pad-sm {
  padding-top: clamp(44px, 7vw, 64px);
  padding-bottom: 68px;
}
.hero-pad-home {
  padding-top: 68px;
  padding-bottom: 84px;
}

/* Navy hero with the gold diagonal edge. The section clip-path creates a stacking
   context, so the navy ::before layer sits over the gold background and leaves a
   thin gold band along the slanted bottom. */
.hero-section {
  position: relative;
  overflow: hidden;
  margin-bottom: -64px;
  padding-bottom: 64px;
  background: var(--gold);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 64px), 0 100%);
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--navy);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 72px), 0 calc(100% - 8px));
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 28px;
}
.cta-band .body {
  margin: 0;
}
.cta-band-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Home: hero ---------- */

/* "Now boarding" launch panel at the top of the home page */
.launch {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 44px;
  padding: clamp(22px, 4vw, 34px);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--navy-mid) 0%, var(--navy-deep) 100%);
  box-shadow: var(--shadow-panel);
}
.launch-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px 36px;
}
.launch-copy {
  flex: 1 1 420px;
  min-width: 0;
}
.launch-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.launch-title {
  margin: 16px 0 10px;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.launch-text {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.65;
}
.launch-text strong {
  color: var(--gold);
}
.launch-actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.launch-btn {
  padding: 18px 44px;
  font-size: 18px;
  font-weight: 800;
  animation: fj-ring-gold 2.4s ease-out infinite;
}
.launch-btn:hover {
  animation: none;
}
.launch-link {
  color: var(--gray-light);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.launch-link:hover {
  color: var(--white);
}

.board {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.9fr) minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 10px;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(184, 220, 240, 0.18);
}
.board-cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.board dt {
  color: var(--gray-light);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
/* Split-flap tiles: two halves with a dark seam across the middle. */
.board dd {
  margin: 0;
  overflow: hidden;
  padding: 11px 12px;
  border-radius: 8px;
  background: linear-gradient(180deg, #0f2740 0, #0f2740 calc(50% - 1px), #000d1a calc(50% - 1px), #000d1a calc(50% + 1px), #0a1f35 calc(50% + 1px));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.5vw, 17px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.board .board-status {
  background: var(--gold);
  color: var(--navy);
}
.board-status span {
  display: inline-block;
  animation: fj-pulse 1.6s ease-in-out infinite;
}

@keyframes fj-ring-gold {
  0% {
    box-shadow: var(--shadow-btn), 0 0 0 0 rgba(255, 182, 3, 0.55);
  }
  70%,
  100% {
    box-shadow: var(--shadow-btn), 0 0 0 14px rgba(255, 182, 3, 0);
  }
}

.hero-video {
  margin-bottom: 48px;
}
.video-embed {
  position: relative;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  background: var(--navy-deep);
  box-shadow: var(--shadow-panel);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  align-items: stretch;
  gap: 56px;
}
.hero-grid > * {
  min-width: 0;
}
.hero-tagline {
  margin: 0 0 34px;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.2;
}
.hero-copy-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 640px;
}
.hero-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  line-height: 1.7;
}
.hero-copy-muted {
  margin: 0;
  color: var(--gray-light);
  font-size: 16px;
  line-height: 1.7;
}
.hero-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
}
.stat-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}
.stat-card-gold { background: var(--gold); }
.stat-card-blue {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: var(--blue);
}
.stat-card-ice { background: var(--ice); }
.stat-card-link {
  align-items: flex-start;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stat-card-link:hover {
  color: inherit;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}
.stat-heading-serif {
  margin-bottom: 12px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.stat-body {
  margin: 0;
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
}
.stat-number {
  margin-bottom: 10px;
  color: var(--white);
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-label {
  color: var(--gray);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-transform: uppercase;
}
.stat-label-white {
  color: var(--white);
}
.stat-heading-mono {
  display: block;
  margin: 14px 0 10px;
  color: var(--blue-ink);
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px;
  border: 1px solid rgba(26, 122, 64, 0.5);
  border-radius: 18px;
  background: var(--white);
}
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: fj-pulse 2s infinite;
}
.live-label {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Home: get involved ---------- */

.gi-card {
  overflow: hidden;
}
.gi-header {
  padding: 38px 36px;
  background: var(--blue);
}
.gi-eyebrow {
  margin-bottom: 16px;
  color: var(--white);
}
.gi-title {
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.15;
}
.gi-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
}
.gi-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
}
.gi-col-bordered {
  border-right: 1px solid var(--line);
}
.gi-col-gray {
  background: var(--bg-gray);
}
.gi-copy {
  margin: 0;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.75;
}
.gi-col .note-box-accent {
  margin-top: auto;
}
.step-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 182, 3, 0.6);
  border-radius: 50%;
  background: var(--ice);
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}
.note-box-accent {
  padding: 16px;
  border-left: 4px solid var(--blue);
  border-radius: 0 18px 18px 0;
  background: var(--ice);
}
.note-box-label {
  margin-bottom: 8px;
  color: var(--blue);
}
.note-box-copy {
  margin: 0;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
}

.about-teaser-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* ---------- Home: timeline ---------- */

.timeline-section {
  padding: 0 0 8px;
  border-top: 3px solid var(--gold);
  background: var(--blue);
}
.timeline-pad {
  padding-top: clamp(44px, 7vw, 64px);
  padding-bottom: 64px;
}
.timeline-subtitle {
  margin: 0 0 48px;
  color: var(--white);
  font-size: 15px;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(148px, 100%), 1fr));
  gap: 32px 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0 8px;
  text-align: center;
}
.timeline-tag-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 22px;
}
.timeline-tag {
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.timeline-stage.is-active .timeline-tag {
  background: var(--gold);
}
.timeline-tag:empty {
  padding: 0;
}
.timeline-dot-row {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  align-self: stretch;
  justify-content: center;
  height: 26px;
}
.timeline-track {
  position: absolute;
  top: 50%;
  right: -8px;
  left: -8px;
  height: 16px;
  background: var(--blue-ink);
  transform: translateY(-50%);
}
.timeline-stage.is-done .timeline-track,
.timeline-stage.is-active .timeline-track {
  background: var(--gold);
}
.timeline-stage:first-child .timeline-track {
  border-radius: 999px 0 0 999px;
}
.timeline-stage:last-child .timeline-track {
  border-radius: 0 999px 999px 0;
}
.timeline-dot {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}
.timeline-stage.is-done .timeline-dot {
  background: var(--navy);
}
.timeline-stage.is-active .timeline-dot {
  width: 26px;
  height: 26px;
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 6px rgba(0, 43, 78, 0.35);
  animation: fj-pulse 1.6s ease-in-out infinite;
}
.timeline-labels {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.timeline-progress {
  min-height: 13px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.timeline-label {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

/* ---------- Home: community ---------- */

.community-section {
  padding: 44px 0;
  border-top: 3px solid var(--navy);
  border-bottom: 3px solid var(--navy);
  background: var(--gold);
}
.community-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.community-heading {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.community-copy {
  margin: 0;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.85;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 44px 0 30px;
  background: var(--navy);
}
.site-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
/* "Invest now" block at the top of the footer */
.invest-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  overflow: hidden;
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #ffc93d 0%, var(--gold) 50%, var(--gold-dark) 100%);
  box-shadow: 0 0 0 3px rgba(255, 182, 3, 0.25), var(--shadow-panel);
}
.invest-cta::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -45%;
  width: 62%;
  height: 130%;
  background: rgba(255, 255, 255, 0.16);
  transform: rotate(-12deg);
  pointer-events: none;
}
.invest-cta-copy,
.invest-cta-action {
  position: relative;
  z-index: 1;
}
.invest-cta-title {
  margin: 18px 0 12px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.invest-cta-text {
  max-width: 560px;
  margin: 0;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.7;
}
.invest-cta-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}
.invest-cta-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.invest-cta-points li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}
.invest-cta-action {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card-hover);
}
.invest-cta-label {
  color: var(--blue-ink);
}
.invest-cta-amounts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.invest-cta-chip {
  padding: 12px 4px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-btn);
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  transition: background 0.12s ease, border-color 0.12s ease;
}
.invest-cta-chip:hover {
  border-color: var(--navy);
  background: var(--sand);
  color: var(--navy);
  text-decoration: none;
}
.invest-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 19px 24px;
  border-color: var(--navy);
  background: var(--navy);
  color: var(--gold);
  font-size: 19px;
  font-weight: 800;
  box-shadow: var(--shadow-btn);
  animation: fj-ring 2.4s ease-out infinite;
}
.invest-cta-btn:hover {
  background: var(--navy-mid);
  color: var(--gold);
  box-shadow: var(--shadow-btn-hover);
  animation: none;
}
.invest-cta-btn span {
  transition: transform 0.15s ease;
}
.invest-cta-btn:hover span {
  transform: translateX(4px);
}
.invest-cta-note {
  margin: 0;
  color: var(--gray);
  font-size: 13px;
  text-align: center;
}

@keyframes fj-ring {
  0% {
    box-shadow: var(--shadow-btn), 0 0 0 0 rgba(0, 43, 78, 0.45);
  }
  70%,
  100% {
    box-shadow: var(--shadow-btn), 0 0 0 12px rgba(0, 43, 78, 0);
  }
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.footer-logo {
  width: auto;
  height: 40px;
}
.footer-tagline {
  color: var(--gray-light);
  font-family: var(--font-serif);
  font-size: 15px;
  font-style: italic;
}
.footer-groups {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
  gap: 32px;
  min-width: min(320px, 100%);
}
.footer-heading {
  margin-bottom: 12px;
  color: var(--gold);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  font-weight: 500;
}
.footer-links a {
  color: var(--white);
}
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: var(--white);
  transition: color 0.15s ease;
}
.social-btn:hover {
  color: var(--gold);
}
.footer-legal {
  margin: 0;
  color: rgba(184, 220, 240, 0.75);
  font-size: 13px;
  line-height: 1.65;
}
.footer-copyright {
  padding-top: 18px;
  border-top: 1px solid rgba(184, 220, 240, 0.2);
  color: rgba(184, 220, 240, 0.55);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

/* ---------- About ---------- */

.story {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.story .h2 {
  margin: 0;
}
.about-figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}
.about-figure img {
  width: 100%;
  height: auto;
}
.about-figure figcaption {
  padding: 10px 16px 14px;
  color: var(--gray);
  font-size: 13px;
  text-align: center;
}
.sources {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-sources {
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- Team ---------- */

.team-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 32px;
}
.team-header-row .h2 {
  margin: 0;
}
.mono-hint {
  color: var(--blue-ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.member {
  height: 326px;
  perspective: 1400px;
}
.member-flip {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  border-radius: var(--radius-xl);
  background: none;
  text-align: left;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0.1, 0.2, 1);
}
.member-flip.is-flipped {
  transform: rotateY(180deg);
}
.member-front,
.member-back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.member-front {
  padding: 20px;
  background: linear-gradient(180deg, #fff, var(--paper));
}
.member-portrait {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 0;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid #d0d5dd;
  border-radius: 18px;
  background: repeating-linear-gradient(135deg, var(--ice) 0 9px, #fff 9px 18px);
}
.member-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member-name {
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
}
.member-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}
.member-role {
  color: var(--blue-ink);
  font-size: 13px;
  font-weight: 500;
}
.member-flip-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ice);
  color: var(--blue-ink);
  font-size: 13px;
  font-weight: 700;
}
.member-back {
  gap: 12px;
  padding: 26px;
  border-radius: var(--radius-xl);
  background: var(--navy);
  box-shadow: var(--shadow-panel);
  transform: rotateY(180deg);
}
.member-back-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.member-name-dark {
  color: var(--gold);
  font-size: 16px;
  font-weight: 700;
}
.member-role-dark {
  color: var(--gray-light);
  font-size: 13px;
  font-weight: 500;
}
.member-bio {
  flex: 1;
  min-height: 0;
  margin: 0;
  padding-right: 4px;
  overflow-y: auto;
  color: var(--white);
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-line;
}
.member-back-label {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  align-items: start;
  gap: 44px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  background: var(--white);
  list-style: none;
  cursor: pointer;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-item[open] .faq-question {
  background: var(--sand);
}
.faq-question-text {
  color: var(--navy);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq-toggle {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ice);
  color: var(--blue-ink);
  font-size: 16px;
  font-weight: 700;
}
.faq-toggle::before {
  content: "+";
}
.faq-item[open] .faq-toggle::before {
  content: "\2212";
}
.faq-answer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 24px;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.75;
}
.faq-answer p {
  margin: 0;
}
.faq-answer .legal-list {
  color: inherit;
}
.faq-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 420px;
}
.faq-side-card {
  padding: 32px;
}
.faq-side-heading {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.faq-side-copy {
  margin: 0 0 22px;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.7;
}
.faq-side-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* ---------- Invest and pay ---------- */

.invest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  align-items: start;
  gap: 40px;
}
.invest-card {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: clamp(24px, 4vw, 36px);
}
.invest-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step-item {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
}
.step-bar {
  height: 5px;
  border-radius: 999px;
  background: rgba(0, 43, 78, 0.14);
  transition: background 0.2s ease;
}
.step-label {
  color: var(--gray-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.step-item.is-active .step-bar {
  background: var(--gold);
}
.step-item.is-active .step-label {
  color: var(--navy);
}

.invest-step,
.pay-state {
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fj-rise 0.25s ease;
}

.form-heading {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  scroll-margin-top: 24px;
}
.form-heading:focus {
  outline: none;
}
.form-subtext {
  margin: 0;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.7;
}

.banner {
  padding: 18px;
  border-radius: var(--radius-lg);
}
.banner-sand { background: var(--sand); }
.banner-ice { background: var(--ice); }
.banner-label {
  margin-bottom: 8px;
  color: var(--navy);
}
.banner-text {
  margin: 0;
  color: var(--gray);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
}

.amount-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.amount-label {
  display: block;
  margin-bottom: 12px;
  padding: 0;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.preset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(88px, 100%), 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.preset-btn {
  padding: 14px 6px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-btn);
  background: var(--white);
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease;
}
.preset-btn:hover {
  border-color: var(--navy);
}
.preset-btn.is-selected {
  border-color: var(--navy);
  background: var(--gold);
}
.amount-input-wrap {
  position: relative;
}
.amount-input-prefix {
  position: absolute;
  top: 50%;
  left: 18px;
  color: var(--gray);
  font-size: 16px;
  font-weight: 700;
  transform: translateY(-50%);
}
.amount-input {
  width: 100%;
  padding: 14px 18px 14px 34px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  outline: none;
  background: var(--white);
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
}
.amount-input:focus {
  border-color: var(--blue);
}
.field-hint {
  margin: 8px 0 0;
  color: var(--gray);
  font-size: 13px;
  line-height: 1.5;
}
.fj-field .field-hint {
  margin: 0;
}
.err {
  margin: 8px 0 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
}
.fj-field .err {
  margin: 0;
}
.form-error {
  margin: 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: #fdecea;
}
[aria-invalid="true"] {
  border-color: var(--red) !important;
}

.step-divider {
  display: flex;
  align-items: center;
  gap: 14px;
}
.step-divider-line {
  flex: 1;
  height: 1px;
  background: rgba(0, 43, 78, 0.14);
}
.step-divider-text {
  color: var(--gray-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  background: var(--sand);
}
.summary-label {
  margin-bottom: 4px;
  color: var(--navy);
}
.summary-amount {
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
}

.name-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr));
  gap: 14px;
}
.fj-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.fj-field label {
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.fj-field input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  outline: none;
  background: var(--white);
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
}
.fj-field input:focus {
  border-color: var(--blue);
}

.fj-checkbox {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-gray);
}
.fj-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
}
.fj-checkbox input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--blue);
  cursor: pointer;
}
.fj-checkbox .err {
  margin: 10px 0 0 34px;
}
.ck-title {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}
.ck-body {
  display: block;
  color: var(--gray);
  font-size: 13px;
  line-height: 1.65;
}

.review-list {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.review-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
}
.review-list > div + div {
  border-top: 1px solid var(--line);
}
.review-list dt {
  flex-shrink: 0;
  color: var(--gray);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.review-list dd {
  min-width: 0;
  margin: 0;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
}

.result-panel {
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  text-align: center;
}
.result-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 700;
}
.result-icon.is-warn {
  background: var(--gold);
  color: var(--navy);
}
.result-icon.is-success {
  background: var(--navy);
  color: var(--gold);
}
.result-heading {
  margin: 0;
  color: var(--navy);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.result-heading:focus {
  outline: none;
}
.result-copy {
  max-width: 440px;
  margin: 0;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.7;
}
.reference-line {
  margin: 0;
  color: var(--gray);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.reference-line strong {
  color: var(--navy);
}
.demo-note {
  max-width: 440px;
  margin: 0;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--bg-gray);
  color: var(--gray);
  font-size: 13px;
  line-height: 1.6;
}
.resend-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.status-line {
  min-height: 20px;
  margin: 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
}
.status-line.is-error {
  color: var(--red);
}

.how-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.7;
}
.how-list strong {
  color: var(--navy);
}

.funding-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
}
.funding-card .note-label {
  margin: 0;
}
.funding-figures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.funding-value {
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
}
.funding-caption {
  margin-top: 4px;
  color: var(--gray);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.funding-bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 43, 78, 0.1);
}
.funding-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: var(--gold);
  transition: width 0.6s ease;
}
.funding-goal {
  margin: 0;
  color: var(--gray);
  font-size: 13px;
}

.checkout-placeholder {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1.5px dashed rgba(0, 43, 78, 0.28);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--gray);
  font-size: 14px;
  line-height: 1.65;
}
.checkout-placeholder p {
  margin: 0;
}
.checkout-placeholder-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--blue-ink);
}
.checkout-placeholder-note {
  color: var(--navy);
  font-weight: 600;
}
.demo-chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Live checkout: pick a payment method, then the processor takes over. */
.pay-providers {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.provider-heading {
  margin: 0;
  color: var(--navy);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
  gap: 10px;
}
.provider-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-btn);
  background: var(--white);
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease;
}
.provider-btn:hover {
  border-color: var(--navy);
}
.provider-btn:disabled {
  opacity: 0.7;
  cursor: default;
}
.provider-recommended {
  color: var(--blue-ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Investor travel perk ---------- */

.icon-plane {
  display: inline-block;
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  vertical-align: -0.14em;
}

/* Boarding-pass card. --perk-notch should match whatever the pass sits on. */
.perk-pass {
  --perk-notch: var(--white);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(120deg, #ffd25a 0%, var(--gold) 45%, var(--gold-dark) 100%);
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.55);
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.perk-pass:hover {
  color: var(--navy);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.6);
}
.perk-pass-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 18px 22px;
}
.perk-pass-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.perk-pass-title {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.perk-pass-sub {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  opacity: 0.85;
}
.perk-pass-stub {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 160px;
  padding: 18px 22px;
  border-left: 2px dashed rgba(0, 43, 78, 0.45);
  text-align: center;
}
.perk-pass-stub::before,
.perk-pass-stub::after {
  content: "";
  position: absolute;
  left: -11px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--perk-notch);
}
.perk-pass-stub::before {
  top: -10px;
}
.perk-pass-stub::after {
  bottom: -10px;
}
.perk-pass-big {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}
.perk-pass-small {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.perk-pass-cta {
  margin-top: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.launch .perk-pass {
  --perk-notch: #01294a;
}
.perk-pass.is-compact .perk-pass-main {
  padding: 14px 18px;
}
.perk-pass.is-compact .perk-pass-title {
  font-size: 1.15rem;
}
.perk-pass.is-compact .perk-pass-stub {
  min-width: 118px;
  padding: 14px 16px;
}
.perk-pass.is-compact .perk-pass-big {
  font-size: 20px;
}
.perk-pass.is-compact .perk-pass-cta {
  margin-top: 6px;
}

/* "1 yr free" tag on qualifying amount buttons */
.preset-btn,
.invest-cta-chip {
  position: relative;
}
.preset-grid,
.invest-cta-amounts {
  row-gap: 16px;
  padding-top: 6px;
}
.perk-badge {
  position: absolute;
  top: -9px;
  right: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

/* Live hint under the amount: how close the amount is to the perk */
.perk-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin: 12px 0 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--sand);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.perk-status.is-unlocked {
  background: #e3f4ea;
  color: var(--green);
}
.perk-status .btn-text {
  color: var(--navy);
  font-weight: 800;
}
.review-perk dd {
  color: var(--green);
}
.review-perk .icon-plane {
  margin-right: 6px;
}
.perk-footnote {
  margin-top: 12px;
}

.launch-footnote {
  margin: 0;
  color: var(--gray-light);
  font-size: 12px;
  line-height: 1.5;
}
.gi-perk {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--sand);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}
.invest-cta-perk {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--navy);
  box-shadow: var(--shadow-btn);
  color: var(--gold);
  font-size: 16px;
  font-weight: 800;
}
.invest-cta-footnote {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--navy);
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.75;
}
.perk-unlocked {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 440px;
  margin: 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--gold);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}
.ticker-item-perk {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--gold);
}
.badge-perk {
  margin-left: 8px;
  background: var(--navy);
  color: var(--gold);
}

/* ---------- Legal ---------- */

.legal-stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.legal-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.legal-section .h2 {
  margin: 0;
}
.draft-note {
  margin: 0;
  padding: 16px 20px;
  border-left: 4px solid var(--gold);
  border-radius: 0 18px 18px 0;
  background: var(--sand);
  color: var(--navy);
  font-size: 14px;
  line-height: 1.65;
}

/* ---------- Admin ---------- */

.admin {
  min-height: 100vh;
  background: var(--bg-gray);
}
.admin-top {
  background: var(--navy);
}
.admin-top-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.admin-logo {
  width: auto;
  height: 36px;
}
.admin-title {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
}
.admin-signout {
  margin-left: auto;
  color: var(--gray-light);
}
.admin-signout:hover {
  color: var(--white);
}
.admin-body {
  padding-top: 32px;
  padding-bottom: 64px;
}
.admin-login {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 420px;
  margin: 40px auto;
  padding: 32px;
}
.admin-login code {
  font-family: var(--font-mono);
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.admin-stat {
  padding: 20px 22px;
}
.admin-stat .tiny-label {
  color: var(--blue-ink);
}
.admin-stat-value {
  margin-top: 6px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
}
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.admin-search {
  flex: 1;
  min-width: min(260px, 100%);
  max-width: 420px;
  padding: 12px 18px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  outline: none;
  background: var(--white);
  color: var(--navy);
  font-size: 14px;
}
.admin-search:focus {
  border-color: var(--blue);
}
.admin-toolbar-actions {
  display: flex;
  gap: 10px;
}
.admin-btn {
  padding: 10px 18px;
  font-size: 14px;
}
.admin-mode {
  margin: 0 0 16px;
  color: var(--gray);
  font-size: 13px;
}
.admin-table-wrap {
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.admin-table th {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--gray);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  vertical-align: middle;
}
.admin-table tr:last-child td {
  border-bottom: 0;
}
.admin-table .num {
  text-align: right;
  white-space: nowrap;
}
.admin-ref {
  font-family: var(--font-mono);
  font-weight: 700;
  white-space: nowrap;
}
.admin-investor strong {
  display: block;
}
.admin-investor span {
  color: var(--gray);
  font-size: 13px;
}
.admin-when {
  color: var(--gray);
  white-space: nowrap;
}
.admin-empty {
  margin: 0;
  padding: 32px;
  color: var(--gray);
  text-align: center;
}
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge-paid {
  background: #e3f4ea;
  color: var(--green);
}
.badge-pending {
  background: var(--sand);
  color: #8a5a00;
}
.badge-failed {
  background: #fdecea;
  color: var(--red);
}
.badge-muted {
  background: var(--bg-gray);
  color: var(--gray);
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .invest-cta {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .h1 {
    font-size: clamp(2.2rem, 7vw, 3rem);
  }
  .board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* Phones: flight + amount side by side, destination and status full width. */
  .board-cell:nth-child(2) {
    order: 3;
    grid-column: 1 / -1;
  }
  .board-cell:nth-child(4) {
    order: 4;
    grid-column: 1 / -1;
  }
  .launch-actions {
    width: 100%;
  }
  .launch-btn {
    display: block;
    width: 100%;
  }
  .cta-band-buttons {
    width: 100%;
    justify-content: center;
  }
  .gi-col-bordered {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .panel-navy {
    padding: 28px;
  }

  .timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .timeline-stage {
    position: relative;
    flex-direction: row;
    align-items: stretch;
    gap: 18px;
    padding: 0 0 28px;
    text-align: left;
  }
  .timeline-stage:last-child {
    padding-bottom: 0;
  }
  .timeline-tag-row {
    position: absolute;
    top: -2px;
    left: 44px;
    height: auto;
    justify-content: flex-start;
  }
  .timeline-dot-row {
    flex-direction: column;
    align-items: center;
    align-self: auto;
    width: 26px;
    height: auto;
  }
  .timeline-track {
    inset: 0 auto -28px 50%;
    width: 16px;
    height: auto;
    border-radius: 0 !important;
    transform: translateX(-50%);
  }
  .timeline-stage:first-child .timeline-track {
    top: 50%;
  }
  .timeline-stage:last-child .timeline-track {
    bottom: 50%;
  }
  .timeline-labels {
    align-items: flex-start;
    padding-top: 2px;
    text-align: left;
  }
  .timeline-progress {
    visibility: hidden;
  }
}

@media (max-width: 480px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .nav-links {
    justify-content: flex-start;
    width: 100%;
  }
  .hero-btn-row {
    justify-content: center;
  }
  .summary-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .invest-cta-amounts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  /* The pass stacks: the stub moves under the main part with a horizontal tear line. */
  .perk-pass {
    grid-template-columns: minmax(0, 1fr);
  }
  .perk-pass-stub,
  .perk-pass.is-compact .perk-pass-stub {
    flex-flow: row wrap;
    justify-content: space-between;
    gap: 6px 12px;
    min-width: 0;
    border-top: 2px dashed rgba(0, 43, 78, 0.45);
    border-left: 0;
    text-align: left;
  }
  .perk-pass-stub::before {
    top: -11px;
    left: -10px;
  }
  .perk-pass-stub::after {
    top: -11px;
    right: -10px;
    bottom: auto;
    left: auto;
  }
  .perk-pass-cta,
  .perk-pass.is-compact .perk-pass-cta {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
