/* ═══════════════════════════════════════════════════════
   DIASPORA NEARBY — LANDING PAGE DESIGN SYSTEM
   Dark/Light theme, Lucide icons, all sections
   ═══════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS (DARK THEME — DEFAULT) ── */
:root {
  /* Surfaces */
  --bg: #0f1115;
  --bg-subtle: #161920;
  --surface: #1c1f28;
  --surface-hover: #232733;
  --surface-elevated: #282c38;

  /* Text */
  --fg: #e8e8ec;
  --fg-muted: #9498a6;
  --fg-dim: #62667a;

  /* Accents */
  --sage: #7eb09b;
  --sage-hover: #6ca08a;
  --sage-bg: rgba(126, 176, 155, 0.08);
  --orange: #e5933a;
  --orange-hover: #d4832c;
  --orange-bg: rgba(229, 147, 58, 0.08);

  /* Misc */
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.12);
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;

  /* Font */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

/* ── LIGHT THEME ── */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f8f9fb;
    --bg-subtle: #f0f1f4;
    --surface: #ffffff;
    --surface-hover: #f5f6f8;
    --surface-elevated: #ffffff;
    --fg: #1a1c22;
    --fg-muted: #5a5e6e;
    --fg-dim: #8c8f9e;
    --sage: #4d8c73;
    --sage-hover: #3d7c63;
    --sage-bg: rgba(77, 140, 115, 0.06);
    --orange: #c87a24;
    --orange-hover: #b86a18;
    --orange-bg: rgba(200, 122, 36, 0.06);
    --border: rgba(0, 0, 0, 0.06);
    --border-strong: rgba(0, 0, 0, 0.12);
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  }
}

/* ── RESET & BASE ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 12px;
}

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 17, 21, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

@media (prefers-color-scheme: light) {
  .nav {
    background: rgba(248, 249, 251, 0.85);
  }
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
}

.nav-logo img {
  border-radius: 8px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--fg);
  cursor: pointer;
  padding: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  color: var(--fg-muted);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--fg);
  background: var(--surface);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--sage) !important;
  color: #fff !important;
  padding: 6px 14px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--sage-hover) !important;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px;
    gap: 4px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 10px;
    font-size: 14px;
  }
}

/* ── HERO ── */
.hero {
  padding: 120px 0 64px;
  text-align: center;
}

.hero-content {
  max-width: 680px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sage-bg);
  color: var(--sage);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(126, 176, 155, 0.15);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.accent-green {
  color: var(--sage);
}

.accent-orange {
  color: var(--orange);
}

.hero p {
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--fg-muted);
  background: var(--surface);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.badge.live {
  color: var(--sage);
  border-color: rgba(126, 176, 155, 0.2);
  background: var(--sage-bg);
  cursor: pointer;
}

.badge.live:hover {
  border-color: var(--sage);
}

.badge .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage);
  animation: pulse 2s infinite;
}

/* ── EPOCH PROGRESS CARD ── */
.epoch-progress-card {
  margin-top: 28px;
  background: var(--surface-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: left;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow);
}

.epoch-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.epoch-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
}

.epoch-verify-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--sage);
  font-weight: 600;
}

.epoch-verify-link:hover {
  text-decoration: underline;
}

.epoch-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.epoch-stats-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 480px) {
  .epoch-stats-3 {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }
}

.epoch-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
  border: 1px solid var(--border);
}

.epoch-stat-label {
  font-size: 10px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.epoch-stat-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
}

.epoch-bar-wrapper {
  margin-bottom: 4px;
}

.epoch-bar {
  height: 10px;
  background: var(--bg-subtle);
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.epoch-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--sage), var(--orange));
  border-radius: 5px;
  transition: width 0.6s ease;
  min-width: 4px;
}

.epoch-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--fg-dim);
  margin-top: 6px;
  font-weight: 600;
}

.epoch-footnote {
  font-size: 12px;
  color: var(--fg-dim);
  line-height: 1.5;
  margin: 0;
}

/* ── TGE EFFICIENCY GATES CARD ── */
.tge-gates-card {
  margin-top: 32px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.tge-gates-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.tge-gates-header h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.tge-gates-desc {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
  margin: 0 0 20px;
}

.tge-gates {
  margin-top: 16px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.tge-gates-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--fg);
}

.tge-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.tge-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 12px;
  border-bottom: 2px solid var(--border-strong);
  background: var(--bg-subtle);
}

.tge-table th:first-child {
  border-radius: var(--radius-sm) 0 0 0;
}

.tge-table th:last-child {
  border-radius: 0 var(--radius-sm) 0 0;
}

.tge-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--fg-muted);
  font-weight: 500;
}

.tge-table tbody tr:hover {
  background: var(--surface-hover);
}

.tge-table tr:last-child td {
  border-bottom: none;
}

/* Efficiency column colors */
.eff-green {
  color: #4caf50;
  font-weight: 700;
}

.eff-yellow {
  color: #f9a825;
  font-weight: 700;
}

.eff-orange {
  color: #e5933a;
  font-weight: 700;
}

.eff-red {
  color: #e53935;
  font-weight: 700;
}

.eff-dim {
  color: var(--fg-dim);
  font-weight: 700;
}

/* Status column colors */
.status-max {
  color: #4caf50;
  font-weight: 600;
}

.status-vhigh {
  color: #4caf50;
  font-weight: 600;
}

.status-high {
  color: #66bb6a;
  font-weight: 600;
}

.status-good {
  color: #66bb6a;
  font-weight: 600;
}

.status-std {
  color: #f9a825;
  font-weight: 600;
}

.status-basic {
  color: #f9a825;
  font-weight: 600;
}

.status-low {
  color: #e5933a;
  font-weight: 600;
}

.status-vlow {
  color: #e5933a;
  font-weight: 600;
}

.status-min {
  color: #e53935;
  font-weight: 600;
}

.status-entry {
  color: #e53935;
  font-weight: 600;
}

.status-none {
  color: var(--fg-dim);
  font-weight: 600;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  font-family: var(--font);
  text-decoration: none;
}

.btn-sage {
  background: var(--sage);
  color: #fff;
}

.btn-sage:hover {
  background: var(--sage-hover);
  transform: translateY(-1px);
}

.btn-orange {
  background: var(--orange);
  color: #fff;
}

.btn-orange:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  background: var(--surface);
}

/* ── SECTIONS ── */
.section {
  padding: 72px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 20px;
}

.section-label.sage {
  color: var(--sage);
  background: var(--sage-bg);
}

.section-label.orange {
  color: var(--orange);
  background: var(--orange-bg);
}

.section-header h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--fg-muted);
  max-width: 580px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.7;
}

/* ── CARD GRID ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.card-icon.sage {
  background: var(--sage-bg);
  color: var(--sage);
}

.card-icon.orange {
  background: var(--orange-bg);
  color: var(--orange);
}

.card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.card p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ── DSP vs $DIASPORA DECOUPLING ── */
.decouple-grid {
  display: flex;
  align-items: stretch;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.decouple-card {
  flex: 1;
  min-width: 260px;
  max-width: 340px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.decouple-card.dsp {
  border-color: rgba(126, 176, 155, 0.2);
}

.decouple-card.diaspora {
  border-color: rgba(229, 147, 58, 0.2);
}

.decouple-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.decouple-card.dsp .decouple-header {
  color: var(--sage);
}

.decouple-card.diaspora .decouple-header {
  color: var(--orange);
}

.decouple-header h3 {
  font-size: 16px;
  font-weight: 700;
}

.decouple-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.decouple-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-muted);
}

.decouple-card.dsp .decouple-list li i {
  color: var(--sage);
}

.decouple-card.diaspora .decouple-list li i {
  color: var(--orange);
}

.decouple-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--fg-dim);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 48px;
}

.decouple-arrow i {
  width: 24px;
  height: 24px;
  color: var(--orange);
}

@media (max-width: 700px) {
  .decouple-arrow {
    transform: rotate(90deg);
  }

  .decouple-arrow i {
    transform: rotate(0deg);
  }
}

/* ── REWARDS GRID ── */
.rewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 40px;
}

.reward-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color 0.2s;
}

.reward-item:hover {
  border-color: var(--border-strong);
}

.reward-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reward-icon.sage {
  background: var(--sage-bg);
  color: var(--sage);
}

.reward-icon.orange {
  background: var(--orange-bg);
  color: var(--orange);
}

.reward-action {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

.reward-amount {
  font-size: 12px;
  color: var(--sage);
  font-weight: 700;
}

/* ── ECONOMY HIGHLIGHT ── */
.economy-highlight {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.economy-formula {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--orange);
  background: var(--orange-bg);
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  font-family: 'Courier New', monospace;
}

/* ── DISTRIBUTION BAR ── */
.dist-bar-wrap {
  margin-top: 16px;
}

.dist-bar {
  display: flex;
  height: 40px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.seg {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: flex 0.3s;
}

.seg-community {
  flex: 5;
  background: var(--sage);
}

.seg-founders {
  flex: 1;
  background: #5c6bc0;
}

.seg-investors {
  flex: 1;
  background: #7e57c2;
}

.seg-burn {
  flex: 1;
  background: #ef5350;
}

.dist-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: 12px;
  color: var(--fg-muted);
}

.dist-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dist-legend .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── EPOCH GRID ── */
.epoch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.epoch-card {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  transition: border-color 0.2s;
}

.epoch-card.active {
  border-color: var(--sage);
  background: var(--sage-bg);
}

.epoch-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 4px;
}

.epoch-card.active .epoch-number {
  color: var(--sage);
}

.epoch-label {
  font-size: 11px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.epoch-value {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.epoch-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--sage);
  margin-top: 8px;
  font-weight: 600;
}

.epoch-link:hover {
  text-decoration: underline;
}

/* ── TREASURY HIERARCHY ── */
.treasury-hierarchy {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 32px;
}

.hier-node {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
}

.hier-node i {
  width: 16px;
  height: 16px;
  color: var(--sage);
}

.hier-node.global {
  background: var(--sage-bg);
  border-color: rgba(126, 176, 155, 0.2);
  color: var(--sage);
  font-weight: 700;
}

.hier-node.global i {
  color: var(--sage);
}

.hier-label {
  margin-left: auto;
  font-size: 11px;
  color: var(--fg-dim);
  font-weight: 600;
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 4px;
}

.hier-heading {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
  margin-bottom: 8px;
  text-align: center;
}

.hierarchy-flow {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.hierarchy-col {
  flex: 1;
}

.hierarchy-col-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 28px;
}

.vline {
  width: 2px;
  height: 32px;
  background: var(--border-strong);
  border-radius: 1px;
}

@media (max-width: 600px) {
  .hierarchy-flow {
    flex-direction: column;
  }

  .hierarchy-col-center {
    display: none;
  }
}

/* ── UTILITY GRID ── */
.utility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.utility-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.utility-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.utility-card .icon {
  margin-bottom: 16px;
}

.utility-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.utility-card p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ── TRUST STEPS ── */
.trust-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.trust-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sage-bg);
  color: var(--sage);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border: 1px solid rgba(126, 176, 155, 0.2);
}

.trust-step h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.trust-step p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ── CONTRACT BOX ── */
.contract-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.contract-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}

.contract-row:last-child {
  border-bottom: none;
}

.contract-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
  flex-shrink: 0;
}

.contract-value {
  font-size: 13px;
  font-weight: 500;
  text-align: right;
  word-break: break-all;
}

.contract-value a {
  color: var(--orange);
  text-decoration: none;
  transition: color 0.2s;
}

.contract-value a:hover {
  color: var(--orange-hover);
  text-decoration: underline;
}

.contract-value.neutral {
  color: var(--fg-muted);
}

@media (max-width: 600px) {
  .contract-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* ── INVESTOR / TRANSPARENCY GRID ── */
.investor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.investor-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.metric {
  font-size: 28px;
  font-weight: 800;
  color: var(--sage);
  margin-bottom: 4px;
}

.metric-label {
  font-size: 12px;
  color: var(--fg-muted);
}

/* ── TEAM ── */
.team-grid {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.team-card {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 400px;
}

.team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sage-bg);
  color: var(--sage);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid rgba(126, 176, 155, 0.2);
}

.team-avatar-img {
  width: 56px;
  height: 56px;
  min-width: 56px;
  max-width: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(126, 176, 155, 0.2);
}

.team-info h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.team-info .role {
  font-size: 12px;
  color: var(--sage);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.team-info .bio {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

.team-info a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--sage);
  font-weight: 600;
}

.team-info a:hover {
  text-decoration: underline;
}

@media (max-width: 500px) {
  .team-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .team-avatar-img {
    width: 80px;
    height: 80px;
    min-width: 80px;
    max-width: 80px;
  }
}

/* ── INSTALL SECTION ── */
.install-section {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
}

.install-section h2 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.install-section>p {
  color: var(--fg-muted);
  max-width: 480px;
  margin: 0 auto 24px;
  font-size: 14px;
}

.install-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.ios-instructions {
  margin-top: 24px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.ios-step {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
}

.ios-step:last-child {
  margin-bottom: 0;
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sage-bg);
  color: var(--sage);
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── SIGNUP FORM ── */
.signup-form {
  max-width: 420px;
  margin: 0 auto;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--fg-muted);
}

.form-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.form-row input {
  flex: 1;
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--fg);
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}

.form-row input:focus {
  border-color: var(--sage);
}

.form-message {
  margin-top: 8px;
  font-size: 13px;
  min-height: 20px;
}

.form-message.success {
  color: var(--sage);
}

.form-message.error {
  color: #ef5350;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  margin-top: 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
}

.footer-brand .logo img {
  border-radius: 8px;
}

.footer-brand>p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 280px;
}

.footer-links h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 13px;
  color: var(--fg-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--fg);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 8px;
}

.disclaimer {
  font-size: 11px !important;
  color: var(--fg-dim) !important;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }
}

/* ── ANIMATIONS ── */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--fg-dim);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--fg-muted);
}

/* ── SELECTION ── */
::selection {
  background: rgba(126, 176, 155, 0.3);
}

/* ── LUCIDE ICON DEFAULTS ── */
[data-lucide] {
  width: 20px;
  height: 20px;
}