/* ================================================================
   DESIGN TOKENS
================================================================ */
:root {
  --navy-deep:    #07101d;
  --navy:         #0d1b2e;
  --navy-mid:     #142236;
  --navy-light:   #1e3450;
  --gold:         #c9a030;
  --gold-bright:  #e8b840;
  --gold-pale:    rgba(201, 160, 48, 0.12);
  --gold-border:  rgba(201, 160, 48, 0.25);
  --white:        #ffffff;
  --off-white:    #f7f8fc;
  --gray-100:     #f0f3f9;
  --gray-200:     #e1e7f0;
  --gray-400:     #94a3b8;
  --gray-600:     #64748b;
  --text-dark:    #0d1b2e;
  --text-body:    #475569;
  --border:       rgba(0, 0, 0, 0.07);
  --shadow-sm:    0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:    0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:    0 10px 48px rgba(0,0,0,0.16);
  --radius:       14px;
  --radius-sm:    9px;
  --font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition:   0.22s ease;
  --nav-h:        68px;
}

/* ================================================================
   RESET & BASE
================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
ul { list-style: none; }

/* ================================================================
   LAYOUT UTILITIES
================================================================ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 100px 0; }
.section-light { background: var(--off-white); }
.section-dark  { background: var(--navy); }
.section-navy  { background: var(--navy-deep); }
.section-cta   { background: var(--navy); }

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

/* ================================================================
   TYPOGRAPHY
================================================================ */
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-eyebrow.light { color: var(--gold-bright); }

.section-title {
  font-size: clamp(30px, 4.5vw, 50px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--text-dark);
  margin-bottom: 18px;
}
.section-title.light { color: var(--white); }

.section-sub {
  font-size: 17px;
  color: var(--text-body);
  line-height: 1.75;
  max-width: 620px;
  margin-bottom: 56px;
}
.section-sub.light { color: rgba(255,255,255,0.58); }

.gold { color: var(--gold-bright); }

/* ================================================================
   NAVIGATION
================================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  background: rgba(7, 16, 29, 0.94);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(201, 160, 48, 0.1);
  transition: background var(--transition);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  font-size: 21px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.logo-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-left: 2px;
  margin-bottom: 10px;
  vertical-align: bottom;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.68);
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
  padding: 8px 18px !important;
  border-radius: 7px;
  font-weight: 700 !important;
  font-size: 13px !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover {
  background: var(--gold-bright) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile nav panel */
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 12px 28px 28px;
  gap: 4px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.nav-mobile a {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--white); }
.nav-mobile-cta {
  background: var(--gold);
  color: var(--navy-deep) !important;
  font-weight: 700 !important;
  text-align: center;
  padding: 14px 20px !important;
  border-radius: 9px;
  margin-top: 12px;
  border-bottom: none !important;
}

/* Open state */
.nav-open .nav-mobile          { display: flex; }
.nav-open .nav-hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-open .nav-hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-open .nav-hamburger span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ================================================================
   BUTTONS
================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,160,48,0.38);
}
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.18);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.3);
}
.btn-full {
  width: 100%;
  justify-content: center;
}

.play-icon { font-size: 11px; }

/* ================================================================
   HERO
================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  background: var(--navy-deep);
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.6) 20%, rgba(0,0,0,0.6) 80%, transparent 100%);
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% 40%, rgba(201,160,48,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 85% 10%, rgba(14,34,56,0.7) 0%, transparent 55%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
}
.eyebrow-dot { color: var(--gold); font-size: 14px; }

.hero-title {
  font-size: clamp(40px, 6.5vw, 74px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 840px;
}
.hero-title em { font-style: normal; }

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.60);
  line-height: 1.72;
  max-width: 580px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 60px;
}

/* Hero video */
.hero-video-wrap {
  max-width: 680px;
  margin-bottom: 52px;
}

.video-placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--navy-mid);
  border-radius: 16px;
  border: 1px solid rgba(201,160,48,0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.video-placeholder:hover {
  border-color: rgba(201,160,48,0.35);
  box-shadow: 0 0 40px rgba(201,160,48,0.1);
}
.video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,160,48,0.04) 0%, transparent 55%);
}

.video-play-ring {
  position: relative;
  z-index: 1;
}

.play-btn {
  display: block;
  width: 70px;
  height: 70px;
  color: var(--gold);
  transition: transform var(--transition), color var(--transition);
}
.play-btn:hover { transform: scale(1.1); color: var(--gold-bright); }
.play-btn svg { width: 100%; height: 100%; }

.play-btn-md { width: 76px; height: 76px; }

.video-meta {
  text-align: center;
  position: relative;
  z-index: 1;
}
.video-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
}
.video-title {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

.video-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

/* Stock photo replacements */
.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 680px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(201,160,48,0.14);
}
.hero-stock-img {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  filter: brightness(0.82) saturate(0.9);
}
.hero-img-overlay {
  position: absolute;
  top: 16px;
  right: 16px;
}

.founder-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(201,160,48,0.14);
}
.founder-stock-img {
  width: 100%;
  display: block;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: brightness(0.85) saturate(0.85);
}
.founder-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 20px 16px;
  background: linear-gradient(to top, rgba(7,16,29,0.92) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.founder-img-caption .fvc-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}
.founder-img-caption .fvc-title {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

.hero-tagline {
  font-size: 17px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  font-style: italic;
  letter-spacing: 0.01em;
}
.tagline-quote { color: var(--gold); font-style: normal; }

/* ================================================================
   STATS BAR
================================================================ */
.stats-bar {
  background: var(--navy-mid);
  border-top: 1px solid rgba(201,160,48,0.12);
  border-bottom: 1px solid rgba(201,160,48,0.12);
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 24px;
  gap: 4px;
}

.stat-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  text-align: center;
  letter-spacing: 0.03em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

/* ================================================================
   CARD GRIDS
================================================================ */
.card-grid {
  display: grid;
  gap: 22px;
  margin-bottom: 52px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Problem cards */
.problem-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-border);
}
.card-num {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.problem-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}
.problem-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.68;
}

/* Callout strip */
.callout-strip {
  text-align: center;
  padding: 44px 20px;
  border-top: 1px solid var(--gray-200);
}
.callout-text {
  font-size: clamp(19px, 3vw, 27px);
  font-weight: 700;
  color: var(--text-dark);
  font-style: italic;
  line-height: 1.4;
}

/* ================================================================
   ECOSYSTEM
================================================================ */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 52px;
}

.eco-card {
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  padding: 36px 30px;
  border: 1px solid rgba(255,255,255,0.07);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.eco-card:hover {
  border-color: rgba(201,160,48,0.28);
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}
.eco-card-center {
  background: rgba(201,160,48,0.06);
  border-color: rgba(201,160,48,0.22);
}
.eco-card-center:hover { background: rgba(201,160,48,0.09); }

.eco-tag {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.75);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 5px;
  margin-bottom: 20px;
}
.eco-tag-gold {
  background: var(--gold);
  color: var(--navy-deep);
}

.eco-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}
.eco-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.68;
  margin-bottom: 20px;
}

.eco-list {
  margin-bottom: 20px;
}
.eco-list li {
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.eco-list li::before {
  content: '→';
  color: var(--gold);
  flex-shrink: 0;
  font-size: 12px;
  margin-top: 1px;
}

.eco-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold);
  transition: color var(--transition);
}
.eco-link:hover { color: var(--gold-bright); }

/* Network effect block */
.network-block {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius);
  padding: 52px 40px;
  border: 1px solid rgba(255,255,255,0.07);
  text-align: center;
}
.network-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 32px;
}
.network-chain {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.chain-node {
  background: var(--gold-pale);
  border: 1px solid var(--gold-border);
  color: var(--gold-bright);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
}
.chain-arrow {
  color: rgba(255,255,255,0.28);
  font-size: 15px;
}
.chain-loop {
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  font-style: italic;
}
.network-quote {
  font-size: 17px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  font-style: italic;
}

/* ================================================================
   CTABLE
================================================================ */
.ctable-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.ctable-left h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.5;
}
.feature-list li:last-child { border-bottom: none; }

.check-mark {
  color: var(--gold);
  font-weight: 800;
  flex-shrink: 0;
  font-size: 15px;
  margin-top: 1px;
}

.ctable-quote {
  margin-top: 28px;
  font-size: 16px;
  font-weight: 700;
  font-style: italic;
  color: var(--text-dark);
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  line-height: 1.5;
}

/* Platform preview card */
.platform-preview {
  background: var(--navy);
  border-radius: var(--radius);
  border: 1px solid rgba(201,160,48,0.15);
  overflow: hidden;
}
.platform-header {
  background: var(--navy-mid);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.platform-wordmark {
  font-size: 17px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.04em;
}
.platform-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.platform-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.platform-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.pf-icon { flex-shrink: 0; margin-top: 1px; color: var(--gold); }
.pf-icon svg { width: 22px; height: 22px; display: block; }
.pf-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}
.pf-text p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
}
.platform-footer-note {
  padding: 14px 24px;
  background: rgba(0,0,0,0.2);
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  font-style: italic;
  text-align: center;
}

/* ================================================================
   EDUCATION / QUESTIONS
================================================================ */
.questions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 52px;
}
.question-card {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  transition: background var(--transition), border-color var(--transition);
}
.question-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(201,160,48,0.2);
}
.q-label {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.question-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.35;
}
.question-card p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.52);
  line-height: 1.68;
}
.dark-callout {
  text-align: center;
  padding: 56px 24px;
}
.dark-callout h3 {
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
}

/* ================================================================
   TRANSPARENCY GRID
================================================================ */
.trans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.trans-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 22px 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.trans-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold-border);
}
.trans-icon {
  width: 28px;
  height: 28px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}
.trans-item strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3px;
}
.trans-item p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.5;
}

/* ================================================================
   COMMUNITY
================================================================ */
.community-grid { margin-bottom: 52px; }

.community-card {
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  padding: 30px 26px;
  border: 1px solid rgba(255,255,255,0.07);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.community-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(201,160,48,0.2);
  transform: translateY(-2px);
}
.comm-icon { margin-bottom: 16px; color: var(--gold); }
.comm-icon svg { width: 28px; height: 28px; display: block; }
.community-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.community-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.52);
  line-height: 1.62;
}

.founder-round-box {
  background: rgba(201,160,48,0.06);
  border: 1px solid rgba(201,160,48,0.22);
  border-radius: var(--radius);
  padding: 52px 40px;
  text-align: center;
}
.fr-eyebrow {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.fr-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.fr-stat { text-align: center; }
.fr-num {
  display: block;
  font-size: 34px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 5px;
}
.fr-desc {
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}
.fr-rule {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}
.fr-statement {
  font-size: 16px;
  font-weight: 700;
  font-style: italic;
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
  line-height: 1.5;
}

/* ================================================================
   PROOF OF CONCEPT
================================================================ */
.poc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 40px 0;
}
.poc-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dark);
  padding: 14px 18px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  line-height: 1.45;
}
.poc-check {
  color: var(--gold);
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}
.poc-quote {
  background: var(--gray-100);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 28px 30px;
  font-size: 16px;
  font-style: italic;
  color: var(--text-body);
  line-height: 1.68;
}

/* ================================================================
   ROADMAP / TIMELINE
================================================================ */
.timeline {
  position: relative;
  padding-left: 36px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
}
.tl-item {
  position: relative;
  padding-bottom: 48px;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute;
  left: -33px;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.18);
  z-index: 1;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.tl-active .tl-dot {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 18px rgba(201,160,48,0.55);
}
.tl-tag {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 7px;
}
.tl-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.tl-body p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.52);
  line-height: 1.68;
}

/* ================================================================
   FOUNDER
================================================================ */
.founder-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: start;
}
.founder-video-card {
  background: var(--navy);
  border-radius: var(--radius);
  border: 1px solid rgba(201,160,48,0.14);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.founder-video-card:hover {
  border-color: rgba(201,160,48,0.3);
  box-shadow: 0 0 32px rgba(201,160,48,0.1);
}
.fvc-inner { text-align: center; }
.fvc-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-top: 14px;
  margin-bottom: 2px;
}
.fvc-title {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.founder-text-col p {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.78;
  margin-bottom: 18px;
}
.founder-close {
  font-weight: 600;
  color: var(--text-dark) !important;
}
.founder-sig {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-dark);
  border-top: 1px solid var(--gray-200);
  padding-top: 18px;
  margin-top: 24px;
}

/* ================================================================
   LONG-TERM VISION — Map Section
================================================================ */
.vision-section {
  position: relative;
  overflow: hidden;
}
.vision-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 32% 55%, rgba(201,160,48,0.09) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 78% 30%, rgba(20,34,54,0.4) 0%, transparent 60%);
  pointer-events: none;
}
.vision-section > .container {
  position: relative;
  z-index: 1;
}

.vision-eyebrow,
.vision-title {
  text-align: center;
}
.vision-title {
  margin: 0 auto 64px;
  max-width: 900px;
}

.vision-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 60px;
  align-items: center;
}

/* === MAP === */
.vision-map-wrap {
  position: relative;
  width: 100%;
}
.vision-map-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* US continental outline */
.us-outline {
  fill: rgba(255, 255, 255, 0.015);
  stroke: rgba(201, 160, 48, 0.28);
  stroke-width: 1.1;
  stroke-linejoin: round;
  stroke-linecap: round;
}

/* Connection lines */
.map-connections line {
  stroke: rgba(201, 160, 48, 0.22);
  stroke-width: 0.8;
}

/* City pulse rings (animated) */
.city-pulse {
  fill: none;
  stroke: rgba(232, 184, 64, 0.45);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: city-pulse 3.6s ease-out infinite;
  will-change: transform, opacity;
}
.city:nth-of-type(1) .city-pulse { animation-delay: 0s;   }
.city:nth-of-type(2) .city-pulse { animation-delay: 0.45s;}
.city:nth-of-type(3) .city-pulse { animation-delay: 0.9s; }
.city:nth-of-type(4) .city-pulse { animation-delay: 1.35s;}
.city:nth-of-type(5) .city-pulse { animation-delay: 1.8s; }
.city:nth-of-type(6) .city-pulse { animation-delay: 2.25s;}
.city:nth-of-type(7) .city-pulse { animation-delay: 2.7s; }

@keyframes city-pulse {
  0%   { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(2.2); opacity: 0;   }
}

/* Static rings + cores */
.city-ring {
  fill: none;
  stroke: rgba(232, 184, 64, 0.55);
  stroke-width: 1;
}
.city-dot {
  fill: #e8b840;
  filter: drop-shadow(0 0 8px rgba(232, 184, 64, 0.85));
}

/* City labels */
.city-label {
  fill: rgba(255, 255, 255, 0.88);
  font-size: 13.5px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-anchor: middle;
  letter-spacing: 0.02em;
}
.city-label-below {
  dominant-baseline: hanging;
}
.city-label-side {
  text-anchor: start;
  dominant-baseline: middle;
}
.city-label-side-left {
  text-anchor: end;
  dominant-baseline: middle;
}

/* Center BTHI mark */
.center-mark {
  fill: #ffffff;
  font-size: 42px;
  font-weight: 900;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.08em;
  text-anchor: middle;
  filter: drop-shadow(0 0 24px rgba(232, 184, 64, 0.45));
}
.center-sub {
  fill: rgba(232, 184, 64, 0.78);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-anchor: middle;
  text-transform: uppercase;
}

/* Activity chips — clean row below the map */
.vision-activities {
  margin-top: 72px;
  text-align: center;
}
.va-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.va-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
}
.va-chip {
  background: rgba(201, 160, 48, 0.06);
  border: 1px solid rgba(201, 160, 48, 0.22);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 100px;
  letter-spacing: 0.01em;
  transition: background var(--transition), border-color var(--transition);
}
.va-chip:hover {
  background: rgba(201, 160, 48, 0.12);
  border-color: rgba(201, 160, 48, 0.4);
}

/* Standalone Vision page — extra top padding to clear nav */
.vision-standalone {
  padding-top: calc(var(--nav-h) + 80px);
}

/* Back-to-home CTAs at bottom of vision page */
.vision-back {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 48px;
  flex-wrap: wrap;
}

/* Active nav link (current page) */
.nav-current,
.nav-mobile .nav-current {
  color: var(--gold-bright) !important;
}

/* === VISION TEXT BLOCK === */
.vision-lead {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.42;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}
.vision-body {
  font-size: 15.5px;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
  margin-bottom: 22px;
}
.vision-pillars-list {
  list-style: none;
  margin: 0 0 32px 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.vision-pillars-list li {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--gold-bright);
  padding-left: 20px;
  position: relative;
  letter-spacing: 0.005em;
}
.vision-pillars-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 800;
}
.vision-triad {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 24px;
  background: rgba(201, 160, 48, 0.06);
  border-left: 2px solid var(--gold);
  border-radius: 6px;
}
.vision-triad span {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

/* Closing line */
.vision-closing {
  text-align: center;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.vision-closing p {
  font-size: clamp(19px, 2.5vw, 26px);
  font-weight: 600;
  font-style: italic;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.01em;
}

/* ================================================================
   JOIN / CTA SECTION
================================================================ */
.cta-title {
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.cta-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.58);
  line-height: 1.72;
  max-width: 580px;
  margin: 0 auto 52px;
}

.join-card {
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 52px 48px;
  text-align: left;
}
.join-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}
.join-sub {
  font-size: 14.5px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 32px;
  line-height: 1.55;
}

.join-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.optional {
  font-weight: 400;
  text-transform: none;
  font-size: 11px;
  opacity: 0.7;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.form-group input::placeholder { color: rgba(255,255,255,0.28); }
.form-group input:focus,
.form-group select:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.09);
}
.form-group select option { background: var(--navy-mid); color: var(--white); }

.form-note {
  font-size: 12.5px;
  color: rgba(255,255,255,0.3);
  text-align: center;
  margin-top: 12px;
  line-height: 1.6;
}

/* Success state */
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.form-success p {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

/* ================================================================
   FOOTER
================================================================ */
.footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 72px 0 36px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  padding-bottom: 52px;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-logo {
  display: flex;
  align-items: center;
  font-size: 26px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.footer-brand p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}
.footer-tagline {
  color: var(--gold) !important;
  font-style: italic;
  font-weight: 500;
  margin-top: 10px !important;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-col-title {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 6px;
}
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.28);
  line-height: 1.65;
}
.footer-bottom p + p { margin-top: 8px; }
.footer-legal {
  font-size: 11.5px !important;
  color: rgba(255,255,255,0.18) !important;
}

/* ================================================================
   SCROLL REVEAL ANIMATION
================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   RESPONSIVE — 1024px
================================================================ */
@media (max-width: 1024px) {
  .eco-grid           { grid-template-columns: 1fr; max-width: 600px; }
  .ctable-layout      { grid-template-columns: 1fr; gap: 44px; }
  .founder-layout     { grid-template-columns: 200px 1fr; gap: 40px; }
  .footer-top         { grid-template-columns: 1fr; gap: 44px; }
  .vision-layout      { grid-template-columns: 1fr; gap: 48px; }
  .vision-title       { margin-bottom: 48px; }
  .map-tag            { font-size: 9.5px; letter-spacing: 0.15em; }
  .nav-links          { gap: 22px; }
  .nav-links a        { font-size: 13px; }
}

/* ================================================================
   RESPONSIVE — 768px
================================================================ */
@media (max-width: 768px) {
  .section { padding: 72px 0; }

  /* Nav */
  .nav-links    { display: none; }
  .nav-hamburger { display: flex; }

  /* Hero */
  .hero { padding: calc(var(--nav-h) + 40px) 0 60px; }
  .hero-title { font-size: clamp(36px, 9vw, 52px); }
  .hero-sub { font-size: 16px; }
  .hero-ctas { gap: 12px; }

  /* Stats */
  .stats-inner { justify-content: flex-start; }
  .stat-divider { display: none; }
  .stat-item { min-width: 45%; border-right: none; }

  /* Cards */
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }

  /* Questions */
  .questions-grid { grid-template-columns: 1fr; }

  /* Transparency */
  .trans-grid { grid-template-columns: 1fr; }

  /* POC */
  .poc-grid { grid-template-columns: 1fr; }

  /* Founder round stats */
  .fr-stats { flex-direction: column; gap: 20px; }
  .fr-rule  { width: 60px; height: 1px; }

  /* Founder layout */
  .founder-layout { grid-template-columns: 1fr; }
  .founder-video-card { aspect-ratio: 16/9; max-height: 220px; }

  /* Join form */
  .join-card     { padding: 36px 24px; }
  .form-row-2    { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top    { grid-template-columns: 1fr; }
  .footer-cols   { grid-template-columns: repeat(2, 1fr); }

  /* Network chain */
  .network-chain  { flex-direction: column; align-items: center; }
  .chain-arrow    { transform: rotate(90deg); }
  .chain-loop     { transform: none; font-style: italic; }

  /* Vision map */
  .vision-pillars-list  { grid-template-columns: 1fr; }
  .city-label           { font-size: 11px; }
  .center-mark          { font-size: 32px; }
  .center-sub           { font-size: 9px; letter-spacing: 0.18em; }
  .tag-ml, .tag-mr      { display: none; }
  .map-tag              { font-size: 8.5px; }
  .vision-lead          { font-size: 19px; }
}

/* ================================================================
   RESPONSIVE — 480px
================================================================ */
@media (max-width: 480px) {
  .container,
  .container-narrow { padding: 0 18px; }

  .hero-ctas .btn { width: 100%; justify-content: center; }

  .footer-cols { grid-template-columns: 1fr; }
}

/* ================================================================
   ACCOUNT — nav button + modal (sign in / sign up)
================================================================ */
.nav-account {
  background: transparent;
  border: 1px solid rgba(232, 184, 64, 0.45);
  color: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 8px 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
  margin-left: 4px;
}
.nav-account:hover {
  background: rgba(232, 184, 64, 0.12);
  border-color: rgba(232, 184, 64, 0.85);
  color: var(--gold-bright, #e8b840);
}
.nav-account:active { transform: translateY(1px); }

/* Signed-in avatar variant */
.nav-account.has-user {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1.5px solid rgba(232, 184, 64, 0.6);
  background: linear-gradient(135deg, #c9a030 0%, #e8b840 100%);
  color: #07101d;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  letter-spacing: 0;
  box-shadow: 0 4px 12px rgba(232, 184, 64, 0.22);
}
.nav-account.has-user:hover {
  border-color: var(--gold-bright, #e8b840);
  background: linear-gradient(135deg, #e8b840 0%, #f0c450 100%);
  color: #07101d;
  transform: translateY(-1px);
}
.nav-avatar-initials { display: block; line-height: 1; }

/* Hide invitation entry links once signed in */
body.is-signed-in .nav-invite,
body.is-signed-in a.nav-mobile-account[href="invite.html"] {
  display: none;
}

.nav-mobile-account {
  background: transparent;
  border: 1px solid rgba(232, 184, 64, 0.45);
  color: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
  width: 100%;
  text-align: center;
  margin-top: 8px;
  text-decoration: none;
  display: block;
}

.nav-invite {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(232, 184, 64, 0.8);
  text-decoration: none;
  padding: 8px 10px;
  position: relative;
  transition: color 0.18s ease;
}
.nav-invite:hover { color: var(--gold-bright, #e8b840); }
.nav-invite::before {
  content: '◆';
  font-size: 8px;
  margin-right: 6px;
  color: var(--gold-bright, #e8b840);
  vertical-align: middle;
}

/* Sign-up invitation badge inside account modal */
.account-code-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  margin-bottom: 18px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.account-code-badge.is-valid {
  background: rgba(232, 184, 64, 0.08);
  border: 1px solid rgba(232, 184, 64, 0.4);
  border-style: solid;
}
.account-code-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.account-code-badge.is-valid .account-code-label {
  color: rgba(232, 184, 64, 0.8);
}
.account-code-value {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
}
.account-code-badge.is-valid .account-code-value {
  color: var(--gold-bright, #e8b840);
}

.account-need-code {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 8px;
}
.account-need-code a {
  color: var(--gold-bright, #e8b840);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============ MODAL ============ */
.account-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.account-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.account-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 16, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.account-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: linear-gradient(180deg, #0c1828 0%, #07101d 100%);
  border: 1px solid rgba(232, 184, 64, 0.18);
  border-radius: 18px;
  padding: 38px 36px 28px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55),
              0 0 0 1px rgba(232, 184, 64, 0.06) inset;
  transform: translateY(10px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.account-modal.is-open .account-card {
  transform: translateY(0) scale(1);
}
.account-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 8px;
  transition: color 0.18s ease, background 0.18s ease;
}
.account-close:hover {
  color: var(--gold-bright, #e8b840);
  background: rgba(232, 184, 64, 0.08);
}

/* Brand */
.account-brand {
  text-align: center;
  margin-bottom: 18px;
}
.account-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  display: inline-flex;
  align-items: baseline;
}
.account-logo .logo-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-bright, #e8b840);
  margin-left: 4px;
}
.account-sub {
  margin: 4px 0 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232, 184, 64, 0.7);
}

/* Tabs */
.account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 100px;
  margin-bottom: 26px;
}
.account-tab {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 12px;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.account-tab:hover { color: rgba(255, 255, 255, 0.85); }
.account-tab.is-active {
  background: var(--gold-bright, #e8b840);
  color: #0a1320;
}

/* Forms */
.account-form { display: none; }
.account-form.is-active { display: block; animation: account-fade 0.28s ease; }
@keyframes account-fade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.account-title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.account-lead {
  margin: 0 0 22px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}
.account-field {
  display: block;
  margin-bottom: 14px;
}
.account-field > span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}
.account-field input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #fff;
  font: inherit;
  font-size: 14.5px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  box-sizing: border-box;
}
.account-field input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}
.account-field input:focus {
  border-color: rgba(232, 184, 64, 0.6);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(232, 184, 64, 0.12);
}
.account-field input:invalid:not(:placeholder-shown) {
  border-color: rgba(255, 90, 90, 0.6);
}

.account-submit {
  width: 100%;
  background: var(--gold-bright, #e8b840);
  color: #0a1320;
  border: none;
  font: inherit;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 13px 18px;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 8px;
  transition: transform 0.15s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.account-submit:hover {
  background: #f0c450;
  box-shadow: 0 8px 22px rgba(232, 184, 64, 0.28);
}
.account-submit:active { transform: translateY(1px); }
.account-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.account-alt {
  text-align: center;
  margin: 18px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.account-link,
.account-link-a {
  background: none;
  border: none;
  color: var(--gold-bright, #e8b840);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0 0 0 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(232, 184, 64, 0.4);
}
.account-link:hover,
.account-link-a:hover { text-decoration-color: var(--gold-bright, #e8b840); }

.account-legal {
  margin: 22px 0 0;
  font-size: 11px;
  text-align: center;
  color: rgba(255, 255, 255, 0.32);
  line-height: 1.55;
}

.account-error {
  margin: 12px 0 0;
  padding: 10px 12px;
  font-size: 13px;
  color: #ff9a9a;
  background: rgba(255, 80, 80, 0.08);
  border: 1px solid rgba(255, 80, 80, 0.22);
  border-radius: 8px;
}

body.account-open { overflow: hidden; }

/* ============ SIGN-UP NAME ROW ============ */
.account-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ============ PROFILE VIEW (signed-in) ============ */
.profile-header {
  text-align: center;
  margin-bottom: 22px;
}
.profile-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a030 0%, #e8b840 100%);
  color: #0a1320;
  font-size: 32px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 10px 28px rgba(232, 184, 64, 0.28);
  letter-spacing: -0.01em;
}
.profile-name {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}
.profile-email {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.profile-rows {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(232, 184, 64, 0.12);
  border-radius: 10px;
  margin-bottom: 22px;
  overflow: hidden;
}
.profile-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(7, 16, 29, 0.92);
  gap: 14px;
}
.pr-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}
.pr-value {
  font-size: 13.5px;
  color: #fff;
  font-weight: 500;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  text-align: right;
  word-break: break-word;
}

.account-signout {
  background: rgba(255, 100, 100, 0.08);
  color: #ff9a9a;
  border: 1px solid rgba(255, 100, 100, 0.3);
}
.account-signout:hover {
  background: rgba(255, 100, 100, 0.18);
  color: #ffb0b0;
  border-color: rgba(255, 100, 100, 0.5);
  box-shadow: none;
}

/* ============ WELCOME / CONFIRMED MODAL ============ */
.welcome-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.welcome-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.welcome-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 16, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.welcome-card {
  position: relative;
  max-width: 460px;
  width: 100%;
  background: linear-gradient(180deg, #0c1828 0%, #07101d 100%);
  border: 1px solid rgba(232, 184, 64, 0.3);
  border-radius: 18px;
  padding: 50px 40px 38px;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55),
              0 0 0 1px rgba(232, 184, 64, 0.06) inset,
              0 0 100px rgba(232, 184, 64, 0.18);
  transform: scale(0.94) translateY(8px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.welcome-modal.is-open .welcome-card {
  transform: scale(1) translateY(0);
}
.welcome-icon {
  width: 86px;
  height: 86px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a030 0%, #e8b840 100%);
  color: #0a1320;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(232, 184, 64, 0.4),
              0 0 0 4px rgba(232, 184, 64, 0.18),
              0 0 0 12px rgba(232, 184, 64, 0.08);
  animation: welcome-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.welcome-icon svg {
  width: 44px;
  height: 44px;
  animation: welcome-check 0.55s 0.2s cubic-bezier(0.65, 0, 0.45, 1) both;
}
@keyframes welcome-pop {
  0%   { transform: scale(0);   opacity: 0; }
  60%  { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1);   opacity: 1; }
}
@keyframes welcome-check {
  from { stroke-dasharray: 0 40; }
  to   { stroke-dasharray: 40 0; }
}
.welcome-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright, #e8b840);
  margin-bottom: 12px;
}
.welcome-title {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  color: #fff;
}
.welcome-sub {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 30px;
}
.welcome-cta {
  background: var(--gold-bright, #e8b840);
  color: #0a1320;
  border: none;
  font: inherit;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 14px 30px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.welcome-cta:hover {
  background: #f0c450;
  box-shadow: 0 10px 28px rgba(232, 184, 64, 0.35);
}
.welcome-cta:active { transform: translateY(1px); }

@media (max-width: 480px) {
  .welcome-card { padding: 36px 24px 28px; }
  .welcome-title { font-size: 23px; }
  .welcome-icon { width: 72px; height: 72px; }
  .welcome-icon svg { width: 38px; height: 38px; }
}

@media (max-width: 480px) {
  .account-card { padding: 30px 22px 22px; border-radius: 14px; }
  .account-title { font-size: 19px; }
}

/* ================================================================
   INVITE PAGE — Founding Manifest
================================================================ */
.page-invite {
  background: #050b14;
  color: rgba(255, 255, 255, 0.92);
  min-height: 100vh;
  overflow-x: hidden;
}

.invite-stage {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 28px 32px;
  z-index: 1;
}

.invite-bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 184, 64, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 184, 64, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.invite-bg-glow {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(232, 184, 64, 0.10) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  animation: invite-glow-pulse 7s ease-in-out infinite;
}
@keyframes invite-glow-pulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.06); }
}

/* Header */
.invite-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.invite-logo {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: baseline;
}
.invite-logo .logo-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-bright, #e8b840);
  margin-left: 4px;
}
.invite-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: rgba(232, 184, 64, 0.7);
}

/* Main */
.invite-main {
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
}
.invite-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 38px;
}
.invite-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright, #e8b840);
  padding: 6px 14px;
  border: 1px solid rgba(232, 184, 64, 0.35);
  border-radius: 100px;
  margin-bottom: 18px;
  background: rgba(232, 184, 64, 0.05);
}
.invite-title {
  margin: 0 0 14px;
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: #fff;
}
.invite-sub {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
}

/* ============ UNIFIED PANEL ============ */
.invite-panel {
  max-width: 760px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(12, 24, 40, 0.88) 0%, rgba(7, 16, 29, 0.92) 100%);
  border: 1px solid rgba(232, 184, 64, 0.18);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45),
              0 0 0 1px rgba(232, 184, 64, 0.05) inset;
  display: block;
}
.invite-panel.shake { animation: entry-shake 0.45s ease; }

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px;
  border-bottom: 1px solid rgba(232, 184, 64, 0.10);
  background: rgba(232, 184, 64, 0.02);
}
.panel-head-left { display: flex; flex-direction: column; gap: 3px; }
.panel-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(232, 184, 64, 0.85);
}
.panel-sub {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.4);
}
.panel-counts {
  display: flex;
  gap: 22px;
}
.panel-counts > div {
  text-align: right;
  display: flex;
  flex-direction: column;
}
.panel-counts strong {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.panel-counts span {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.panel-table-wrap { position: relative; }

/* Instruction banner — sits between head and table */
.panel-instruction {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  background: linear-gradient(90deg,
    rgba(232, 184, 64, 0.05) 0%,
    rgba(232, 184, 64, 0.12) 50%,
    rgba(232, 184, 64, 0.05) 100%);
  border-bottom: 1px solid rgba(232, 184, 64, 0.18);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  line-height: 1.4;
}
.panel-instruction strong {
  color: var(--gold-bright, #e8b840);
  font-weight: 700;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.pi-arrow {
  display: inline-block;
  color: var(--gold-bright, #e8b840);
  font-size: 18px;
  font-weight: 700;
  animation: pi-bounce 1.4s ease-in-out infinite;
}
@keyframes pi-bounce {
  0%, 100% { transform: translateY(-3px); opacity: 0.7; }
  50%      { transform: translateY(3px);  opacity: 1; }
}

.manifest-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
}
.manifest-table thead th {
  position: sticky;
  top: 0;
  background: rgba(8, 18, 32, 0.96);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.35);
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(232, 184, 64, 0.10);
  z-index: 3;
}
.manifest-table thead th.col-num    { padding-left: 22px; }
.manifest-table thead th.col-status { padding-right: 22px; }
.manifest-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.18s ease;
}
.manifest-table td {
  padding: 16px 14px;
  vertical-align: middle;
}
.manifest-table td.col-num { padding-left: 22px; }
.manifest-table td.col-status { padding-right: 22px; }
.col-num    { width: 70px;  color: rgba(255, 255, 255, 0.42); font-weight: 600; }
.col-name   { color: rgba(255, 255, 255, 0.85); }
.col-shares { width: 92px; text-align: right; color: rgba(255, 255, 255, 0.75); font-variant-numeric: tabular-nums; }
.col-stake  { width: 78px; text-align: right; color: rgba(255, 255, 255, 0.75); font-variant-numeric: tabular-nums; }
.col-status { width: 130px; text-align: right; }

.m-shares, .m-stake { font-weight: 500; }
.m-shares-locked, .m-stake-locked { color: rgba(255, 255, 255, 0.2); }
.m-shares-pending, .m-stake-pending { color: var(--gold-bright, #e8b840); font-weight: 700; }
.m-shares-self, .m-stake-self { color: #fff; font-weight: 700; }

/* Filled row */
.m-row-filled .m-name-holder    {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 13px;
}
.m-row-filled .col-num          { color: rgba(232, 184, 64, 0.55); }

/* Locked / sealed row (last placeholder) */
.m-row-locked                   { opacity: 0.55; }
.m-row-locked .m-name-sealed    {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
  letter-spacing: 0.04em;
  font-style: italic;
  font-size: 13px;
}
.m-row-locked .col-num          { color: rgba(255, 255, 255, 0.3); }

/* Pending row — the user's seat. Twice the size of the other rows. */
.m-row-pending {
  background: linear-gradient(90deg, rgba(232, 184, 64, 0.16) 0%, rgba(232, 184, 64, 0.06) 100%);
  position: relative;
}
.m-row-pending td {
  padding-top: 32px;
  padding-bottom: 32px;
}
.m-row-pending .col-num {
  font-size: 16px;
  font-weight: 700;
}
.m-row-pending .m-shares-pending,
.m-row-pending .m-stake-pending {
  font-size: 16px;
}
.m-row-pending .m-status-pending {
  font-size: 12px;
}
.m-row-pending::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--gold-bright, #e8b840);
  box-shadow: 0 0 14px rgba(232, 184, 64, 0.7);
  animation: m-glow 1.8s ease-in-out infinite;
}
@keyframes m-glow {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1; }
}
.m-row-pending .col-num { color: var(--gold-bright, #e8b840); font-weight: 700; }
.m-code-row {
  display: inline-flex;
  gap: 6px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 700;
  color: var(--gold-bright, #e8b840);
  font-size: 15px;
  letter-spacing: 0.05em;
}
.m-cbx {
  display: inline-block;
  width: 14px;
  text-align: center;
  color: rgba(232, 184, 64, 0.4);
  border-bottom: 1px solid rgba(232, 184, 64, 0.3);
}
.m-cbx.filled {
  color: var(--gold-bright, #e8b840);
  border-bottom-color: var(--gold-bright, #e8b840);
  animation: m-cbx-pop 0.25s ease;
}
@keyframes m-cbx-pop {
  0%   { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1);   opacity: 1; }
}

/* Roles + statuses */
.m-role {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.m-role-locked { color: rgba(255, 255, 255, 0.2); }
.m-role-pending,
.m-role-self {
  color: var(--gold-bright, #e8b840);
  font-weight: 600;
}

.m-status {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.35);
}
.m-status-claimed { color: rgba(102, 204, 153, 0.7); }
.m-status-locked  { color: rgba(255, 255, 255, 0.18); }
.m-status-pending {
  color: var(--gold-bright, #e8b840);
  animation: m-pulse 1.6s ease-in-out infinite;
}
@keyframes m-pulse {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}

.m-row-claimed-now {
  background: linear-gradient(90deg, rgba(102, 204, 153, 0.14) 0%, rgba(102, 204, 153, 0.04) 100%);
  animation: m-row-flash 0.7s ease;
}
@keyframes m-row-flash {
  0%   { background: rgba(232, 184, 64, 0.4); }
  100% { background: linear-gradient(90deg, rgba(102, 204, 153, 0.14) 0%, rgba(102, 204, 153, 0.04) 100%); }
}
.m-name-self {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.m-status-self { color: #6fcc99; }

/* Row-inline code inputs (live INSIDE the pending row's holder cell) */
.row-code-inputs {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}
.row-code-inputs input {
  width: 36px;
  height: 48px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  color: var(--gold-bright, #e8b840);
  background: rgba(232, 184, 64, 0.1);
  border: 1.5px solid rgba(232, 184, 64, 0.5);
  border-radius: 7px;
  padding: 0;
  outline: none;
  caret-color: var(--gold-bright, #e8b840);
  box-sizing: border-box;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.15s ease;
}
.row-code-inputs input:focus {
  border-color: var(--gold-bright, #e8b840);
  background: rgba(232, 184, 64, 0.18);
  box-shadow: 0 0 0 3px rgba(232, 184, 64, 0.18),
              0 0 16px rgba(232, 184, 64, 0.18);
  transform: translateY(-1px);
}
.row-code-inputs input:not(:placeholder-shown):not(:focus) {
  background: rgba(232, 184, 64, 0.22);
}

/* Panel footer: holds the submit button + feedback + fineprint */
.panel-foot {
  padding: 22px 26px 22px;
  border-top: 1px solid rgba(232, 184, 64, 0.10);
  background: rgba(232, 184, 64, 0.025);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.panel-fineprint {
  margin: 6px 0 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}
.panel-fineprint a {
  color: rgba(232, 184, 64, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(232, 184, 64, 0.35);
  margin-left: 6px;
}
.panel-fineprint a:hover { color: var(--gold-bright, #e8b840); }
.manifest-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-bright, #e8b840);
  box-shadow: 0 0 8px rgba(232, 184, 64, 0.5);
  animation: m-pulse 1.6s ease-in-out infinite;
  display: inline-block;
}

@keyframes entry-shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-7px); }
  40%, 80% { transform: translateX(7px); }
}
.code-submit {
  width: 100%;
  max-width: 320px;
  background: rgba(232, 184, 64, 0.12);
  color: rgba(232, 184, 64, 0.5);
  border: 1px solid rgba(232, 184, 64, 0.25);
  font: inherit;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 14px 18px;
  border-radius: 10px;
  cursor: not-allowed;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.code-submit.is-ready {
  background: var(--gold-bright, #e8b840);
  color: #0a1320;
  border-color: var(--gold-bright, #e8b840);
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(232, 184, 64, 0.25);
}
.code-submit.is-ready:hover { background: #f0c450; }
.code-submit.is-ready:active { transform: translateY(1px); }
.code-submit.is-success {
  background: #6fcc99;
  border-color: #6fcc99;
  color: #0a1320;
  box-shadow: 0 6px 22px rgba(102, 204, 153, 0.3);
}

.code-feedback {
  margin-top: 14px;
  font-size: 13px;
  min-height: 18px;
  color: rgba(255, 255, 255, 0.5);
}
.code-feedback.is-error { color: #ff9a9a; }

/* Footer */
.invite-footer {
  position: relative;
  z-index: 2;
  text-align: center;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.3);
  padding-top: 32px;
}
.invite-footer-divider { margin: 0 8px; color: rgba(232, 184, 64, 0.4); }

/* Responsive */
@media (max-width: 720px) {
  .col-shares { display: none; }
  .manifest-table td, .manifest-table thead th { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 560px) {
  .invite-stage { padding: 20px 16px; }
  .invite-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .panel-head { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 18px; }
  .panel-foot { padding: 18px 18px; }
  .panel-instruction { font-size: 12.5px; padding: 12px 16px; gap: 8px; }
  .col-stake { display: none; }
  .manifest-table td, .manifest-table thead th { padding-left: 14px; padding-right: 14px; }
  .m-row-pending td { padding-top: 22px; padding-bottom: 22px; }
  .row-code-inputs input { width: 38px; height: 48px; font-size: 18px; }
  .row-code-inputs { gap: 5px; }
}
@media (max-width: 380px) {
  .manifest-table td, .manifest-table thead th { padding-left: 10px; padding-right: 10px; font-size: 12px; }
  .row-code-inputs input { width: 32px; height: 42px; font-size: 16px; }
}
