@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --gold: #f5c842;
  --accent: #2563EB; /* Trust Blue */
  --success: #34d399;
  --danger: #f87171;
  --radius: 12px;
  --font: 'Inter', system-ui, sans-serif;

  /* Base Theme Configurations - Light Mode default */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --text-main: #0F172A;
  --text-muted: #475569;
  --border-color: #E2E8F0;

  /* Compatibility mappings */
  --bg: var(--bg-primary);
  --surface: var(--bg-secondary);
  --surface-2: #f1f5f9;
  --border: var(--border-color);
  --text: var(--text-main);
  --muted: var(--text-muted);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #0B0F19; /* Pure Obsidian */
    --bg-secondary: #111827;
    --text-main: #F9FAFB;
    --text-muted: #9CA3AF;
    --accent: #3B82F6;
    --border-color: #1F2937;
  }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* Default Theme (Dark Mode) */
body {
  font-family: var(--font);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Explicit body overrides */
body.theme-light {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --text-main: #0F172A;
  --text-muted: #475569;
  --accent: #2563EB;
  --border-color: #E2E8F0;
}

body.theme-dark {
  --bg-primary: #0B0F19;
  --bg-secondary: #111827;
  --text-main: #F9FAFB;
  --text-muted: #9CA3AF;
  --accent: #3B82F6;
  --border-color: #1F2937;
}

/* System Auto-Toggle support */
@media (prefers-color-scheme: light) {
  body:not(.theme-dark) {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --text-main: #0F172A;
    --text-muted: #475569;
    --accent: #2563EB;
    --border-color: #E2E8F0;
  }
}

.section-alt {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

.container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

a.brand:hover { text-decoration: none; opacity: 0.92; }

.brand span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 0.25rem;
  font-size: 0.8125rem;
  color: var(--muted);
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a:hover { color: var(--text); text-decoration: none; }

.nav-dropdown { position: relative; }

.nav-dropdown-trigger {
  background: transparent;
  border: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
}

.nav-dropdown-trigger:hover,
.nav-dropdown.active .nav-dropdown-trigger,
.nav-dropdown-trigger[aria-expanded="true"] {
  color: var(--gold);
  background: color-mix(in srgb, var(--gold) 12%, transparent);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  padding: 0.35rem;
  z-index: 60;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.55rem 0.75rem;
  color: var(--text);
  font-size: 0.8125rem;
  border-radius: 8px;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: color-mix(in srgb, var(--gold) 14%, transparent);
  color: var(--gold);
  text-decoration: none;
}

/* Section pages (restored legacy tabs) */
#section-view { padding-top: 1.5rem; }

.section-page {
  padding: 2rem 0 4rem;
  border-bottom: 1px solid var(--border);
}

.section-page-head { margin-bottom: 1.5rem; }

.section-page-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.listen-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.btn-listen.is-playing { color: var(--gold); border-color: var(--gold); }

.listen-status { font-size: 0.75rem; color: var(--muted); }

.diagram-block { margin-top: 2rem; }

.diagram-block h3 {
  font-size: 1.25rem;
  margin: 0.35rem 0 1rem;
}

.diagram-grid {
  display: grid;
  gap: 1rem;
}

.diagram-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.diagram-grid img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.diagram-grid figcaption {
  padding: 0.6rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.membership-gate {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 1.25rem;
  background: var(--surface);
}

.membership-gate.is-paid { border-color: color-mix(in srgb, var(--success) 40%, var(--border)); }
.membership-gate.is-free { border-color: color-mix(in srgb, var(--gold) 35%, var(--border)); }

.membership-gate p { margin: 0.35rem 0 0; font-size: 0.875rem; color: var(--muted); }

.btn-sm { padding: 0.45rem 0.85rem; font-size: 0.75rem; }

.wizard-steps {
  margin: 1rem 0 1.5rem 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.wizard-steps li { margin-bottom: 0.35rem; }

.flow-map {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin: 1.5rem 0;
}

.flow-node {
  width: min(420px, 100%);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
}

.flow-node strong { display: block; color: var(--text); margin-bottom: 0.2rem; }
.flow-node span { font-size: 0.8rem; color: var(--muted); }
.flow-node.owner { border-color: color-mix(in srgb, var(--gold) 40%, var(--border)); }
.flow-node.release { border-color: color-mix(in srgb, var(--success) 40%, var(--border)); }

.flow-arrow { color: var(--muted); font-size: 1.25rem; }

.glossary-list { margin-top: 1rem; }
.glossary-list dt { font-weight: 600; color: var(--gold); margin-top: 1rem; }
.glossary-list dd { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.9rem; }

.compare-grid { display: grid; gap: 0.75rem; margin-top: 1rem; }

.doc-gen-result.fee { border-left: 3px solid var(--gold); }

#home-sections[hidden] { display: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
}

.btn:hover { opacity: 0.92; transform: translateY(-1px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.btn-gold { background: var(--gold); color: #080b14; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-accent { background: var(--accent); color: #fff; }

/* Hero */
.hero-cinematic {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 40%, transparent) 0%, var(--bg) 88%),
    linear-gradient(0deg, color-mix(in srgb, var(--bg) 70%, transparent), color-mix(in srgb, var(--bg) 20%, transparent));
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 20% 30%, color-mix(in srgb, var(--gold) 80%, white), transparent),
    radial-gradient(1px 1px at 60% 70%, color-mix(in srgb, var(--accent) 70%, white), transparent),
    radial-gradient(1.5px 1.5px at 80% 20%, color-mix(in srgb, var(--gold) 60%, white), transparent),
    radial-gradient(1px 1px at 40% 80%, color-mix(in srgb, var(--accent) 50%, white), transparent);
  background-size: 200% 200%;
  animation: drift 18s ease-in-out infinite alternate;
  opacity: 0.5;
}

@keyframes drift {
  from { background-position: 0% 0%; }
  to { background-position: 100% 100%; }
}

.hero-content {
  position: relative;
  z-index: 5;
  padding: 1.5rem 0 4rem;
}

.hero-institutional {
  position: relative;
  z-index: 4;
  width: min(720px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 1.25rem 0;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-metric {
  padding: 0.85rem 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(8px);
  text-align: center;
}

.hero-metric strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-metric span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-ecosystem {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  backdrop-filter: blur(8px);
}

.hero-ecosystem img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  opacity: 0.9;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

@media (max-width: 640px) {
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .hero-ecosystem { gap: 1rem; flex-wrap: wrap; }
  .hero-ecosystem img { width: 40px; height: 40px; }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.kicker {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.hero-cinematic h1,
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.hero .lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 42rem;
  margin: 0 auto 2rem;
}

.chain-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.pill {
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--surface);
}

/* Modules */
.section {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .section-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

.num {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section p.desc { color: var(--muted); font-size: 0.9rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (max-width: 540px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  font-size: 0.875rem;
  color: var(--muted);
  transition: border-color 0.2s;
}

.card:hover { border-color: color-mix(in srgb, var(--gold) 40%, var(--border)); }

.card strong { display: block; color: var(--text); margin-bottom: 0.25rem; }

/* Concierge */
.concierge-wrap {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 100;
  width: min(400px, calc(100vw - 2rem));
}

.concierge-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.45);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: min(70vh, 560px);
}

.concierge-panel.collapsed .concierge-body { display: none; }

.concierge-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}

.concierge-head h3 { font-size: 0.9rem; font-weight: 600; }

.concierge-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 320px;
}

.chat-log {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bubble {
  font-size: 0.85rem;
  line-height: 1.5;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  max-width: 95%;
}

.bubble.ai {
  background: var(--surface-2);
  border-left: 2px solid var(--gold);
  align-self: flex-start;
}

.bubble.user {
  background: color-mix(in srgb, var(--accent) 25%, var(--surface));
  align-self: flex-end;
}

.flow-actions {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.flow-actions .btn { font-size: 0.8rem; padding: 0.5rem 0.9rem; }

.flow-form {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 0.5rem;
}

.flow-form input, .flow-form select {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 0.85rem;
}

.chat-input-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
}

.chat-input-row input {
  flex: 1;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 0.85rem;
}

/* Tiers */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.tier-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  cursor: pointer;
  transition: border-color 0.2s;
}

.tier-card:hover, .tier-card.selected {
  border-color: var(--gold);
}

.tier-card .tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 700;
}

.tier-card h4 { margin: 0.5rem 0; font-size: 1rem; }
.tier-card p { font-size: 0.8rem; color: var(--muted); }

/* Footer */
.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2rem;
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-social .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin-top: 0.5rem;
}

.footer-social .social-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.75rem;
}

.footer-social .social-links a:hover { color: var(--gold); }

.presale-showcase {
  background: color-mix(in srgb, var(--surface) 60%, var(--bg));
  border-block: 1px solid var(--border);
}

.presale-head { margin-bottom: 2rem; }

.presale-layout {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 1.4fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .presale-layout { grid-template-columns: 1fr; }
}

.presale-visual img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.presale-grid .presale-tier { text-align: left; }

.presale-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0.5rem 0;
}

.presale-price span { font-size: 0.85rem; font-weight: 500; color: var(--muted); }

.presale-benefits {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

.presale-stripe-note {
  font-size: 0.68rem;
  color: var(--muted);
  margin: 0.75rem 0 0.5rem;
  font-style: italic;
}

.presale-ecosystem {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.ecosystem-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1rem;
}

.ecosystem-logos img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--gold) 25%, transparent));
}

.badge {
  display: inline-flex;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

.badge.live { background: color-mix(in srgb, var(--success) 20%, transparent); color: var(--success); }
.badge.soon { background: color-mix(in srgb, var(--gold) 20%, transparent); color: var(--gold); }

.trust-marquee {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 80%, var(--bg));
  padding: 0.85rem 0;
}

.trust-marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.trust-marquee-track span::before {
  content: '◆ ';
  color: var(--gold);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Story banner */
.story-banner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 420px;
  border-bottom: 1px solid var(--border);
}

.story-banner-media {
  position: relative;
  overflow: hidden;
}

.story-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.03);
  transition: transform 8s ease;
}

.story-banner:hover .story-banner-media img {
  transform: scale(1.08);
}

.story-banner-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(135deg, var(--surface), var(--bg));
}

.story-banner-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

/* Visual sections */
.section-visual.alt {
  background: color-mix(in srgb, var(--surface) 35%, var(--bg));
}

.section-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.section-split.reverse .visual-panel { order: 2; }
.section-split.reverse .section-copy { order: 1; }

.visual-panel {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.visual-panel img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.visual-panel:hover img {
  transform: scale(1.04);
}

.visual-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.25rem;
  font-size: 0.8rem;
  color: var(--text);
  background: linear-gradient(0deg, rgba(8, 11, 20, 0.92), transparent);
}

.card-grid.compact {
  margin-top: 1.25rem;
}

/* Security showcase */
.section-visual {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, color-mix(in srgb, var(--accent) 8%, transparent), transparent),
    var(--bg);
}

/* Force card text visibility in section-visual */
.section-visual .card {
  background: var(--surface);
  border-color: var(--border);
}

.section-visual .card strong {
  color: var(--text) !important;
}

.section-visual h2 {
  color: var(--text);
}

.section-visual .desc {
  color: var(--muted);
}

.section-visual .num {
  color: var(--gold);
}

/* Light mode overrides for section-visual */
body.theme-light .section-visual {
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
}

body.theme-light .section-visual .card strong {
  color: #0F172A !important;
}

body.theme-light .section-visual h2 {
  color: #0F172A;
}

body.theme-light .section-visual .desc {
  color: #475569;
}

/* System light preference fallback */
@media (prefers-color-scheme: light) {
  body:not(.theme-dark):not(.theme-light) .section-visual {
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  }
  body:not(.theme-dark):not(.theme-light) .section-visual .card strong {
    color: #0F172A !important;
  }
  body:not(.theme-dark):not(.theme-light) .section-visual h2 {
    color: #0F172A;
  }
}

.security-showcase {
  padding: 4rem 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, color-mix(in srgb, var(--accent) 8%, transparent), transparent),
    var(--bg);
}

.security-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2rem;
}

.security-visual img {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  display: block;
  border-radius: var(--radius);
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.45));
}

/* Video showcase */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.video-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 10;
  background: var(--surface);
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

/* Bento gallery */
.gallery-head {
  margin-bottom: 1.5rem;
}

.bento-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 0.75rem;
}

.bento-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: default;
}

.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.bento-item:hover img {
  transform: scale(1.06);
  filter: brightness(1.08);
}

.bento-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  background: linear-gradient(0deg, rgba(8, 11, 20, 0.9), transparent);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s, transform 0.25s;
}

.bento-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

.bento-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-item.wide {
  grid-column: span 3;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.nav-mobile-select {
  display: none;
  max-width: 160px;
  padding: 0.45rem 0.5rem;
  font-size: 0.75rem;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-mobile-select { display: block; }
  .story-banner { grid-template-columns: 1fr; }
  .story-banner-media { min-height: 280px; }
  .section-split,
  .section-split.reverse { grid-template-columns: 1fr; }
  .section-split.reverse .visual-panel,
  .section-split.reverse .section-copy { order: unset; }
  .video-grid { grid-template-columns: 1fr; }
  .bento-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
  .bento-item.large { grid-column: span 2; grid-row: span 1; }
  .bento-item.wide { grid-column: span 2; }
}

@media (max-width: 540px) {
  .bento-gallery { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .bento-item.large,
  .bento-item.wide { grid-column: span 1; }
}

/* Partner hub */
.partner-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

@media (max-width: 860px) {
  .partner-grid { grid-template-columns: 1fr; }
}

.partner-form label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.partner-form input,
.partner-form select,
.partner-form textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.partner-result {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
}

.partner-result.success {
  background: color-mix(in srgb, var(--success) 15%, transparent);
  color: var(--success);
}

.partner-result.error {
  background: color-mix(in srgb, var(--danger) 15%, transparent);
  color: var(--danger);
}

.partner-tickets {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0.75rem 0 1rem;
  max-height: 360px;
  overflow-y: auto;
}

.partner-ticket {
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.partner-ticket-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.channel-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.partner-ticket-meta {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0.35rem 0 0.5rem;
}

.partner-ticket-detail {
  margin-top: 0.5rem;
  font-size: 0.7rem;
  max-height: 180px;
  overflow: auto;
  background: var(--bg);
  padding: 0.5rem;
  border-radius: 6px;
}

.partner-hint { margin-top: 1rem; }

.partner-hub .btn-gold {
  width: 100%;
  max-width: 320px;
}

.partner-hub .partner-form-card h3,
.partner-hub .partner-list-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.partner-hub .flow-form.partner-form {
  display: grid;
  gap: 0.75rem;
}

/* Light Theme Alternating Sections */
.section-light {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --border: #e2e8f0;
  --text: #0f172a;
  --muted: #64748b;
  background: var(--bg);
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.section-light h2, 
.section-light h3, 
.section-light h4 {
  color: #0f172a !important;
}

.section-light .card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

.section-light .desc,
.section-light p,
.section-light li {
  color: #334155 !important;
}

.section-light .num {
  color: var(--gold) !important;
}

/* ============================================================
   GET STARTED — Inline Registration Section
   ============================================================ */
.get-started-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 768px) {
  .get-started-layout { grid-template-columns: 1fr; }
}

.get-started-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.get-started-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.get-started-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
}

.get-started-form-wrap {
  width: 100%;
}

.get-started-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.get-started-form h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 200, 66, 0.15);
}

.form-legal {
  margin-top: 1rem;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.5;
}

#inline-register-result {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
}

#inline-register-result.success {
  background: color-mix(in srgb, var(--success) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--success) 30%, transparent);
  color: var(--success);
}

#inline-register-result.error {
  background: color-mix(in srgb, var(--danger) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--danger) 30%, transparent);
  color: var(--danger);
}

/* ============================================================
   PLANS — Pricing Grid
   ============================================================ */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .plans-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

.plan-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.plan-card:hover {
  border-color: color-mix(in srgb, var(--gold) 50%, var(--border));
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.plan-card.popular {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 20px 60px rgba(245, 200, 66, 0.15);
  transform: scale(1.03);
}

.plan-card.popular:hover {
  transform: scale(1.05) translateY(-4px);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #080b14;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.plan-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.plan-price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}

.plan-features li {
  font-size: 0.85rem;
  color: var(--text);
  padding: 0.4rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 50%, transparent);
  line-height: 1.4;
}

.plan-features li::before {
  content: '✓ ';
  color: var(--gold);
  font-weight: 700;
}

.plan-features li:first-child::before {
  content: '';
}

.plan-features li:first-child {
  font-weight: 600;
  color: var(--gold);
  border-bottom-color: var(--border);
}

.plan-cta {
  width: 100%;
  text-align: center;
  padding: 0.85rem;
  font-size: 0.95rem;
}

/* ============================================================
   VAULT FEATURES LIST
   ============================================================ */
.vault-feature-list {
  display: grid;
  gap: 1rem;
}

.vault-feature-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s;
}

.vault-feature-item:hover {
  border-color: color-mix(in srgb, var(--gold) 40%, var(--border));
}

.vault-feature-item strong {
  color: var(--text);
  font-size: 0.9rem;
}

.vault-feature-item span {
  color: var(--muted);
  font-size: 0.8rem;
}

/* ============================================================
   VAULT SIMULATOR — Interactive Demo Panel
   ============================================================ */
.vault-sim-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .vault-sim-layout { grid-template-columns: 1fr; }
}

.vault-sim-panel {
  background: #0d1117;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #30363d;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.vault-sim-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.7rem 1rem;
  background: #161b22;
  border-bottom: 1px solid #30363d;
}

.vault-sim-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.vault-sim-dot.red { background: #ff5f57; }
.vault-sim-dot.yellow { background: #febc2e; }
.vault-sim-dot.green { background: #28c840; }

.vault-sim-title {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  color: #8b949e;
  font-weight: 500;
}

.vault-sim-body {
  padding: 1.5rem;
}

.vault-sim-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #8b949e;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.vault-sim-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid #30363d;
  background: #0d1117;
  color: #c9d1d9;
  font-size: 0.9rem;
  font-family: inherit;
  resize: vertical;
  line-height: 1.5;
  transition: border-color 0.2s;
}

.vault-sim-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 200, 66, 0.1);
}

.vault-sim-textarea::placeholder {
  color: #484f58;
}

.vault-sim-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

@media (max-width: 540px) {
  .vault-sim-row { grid-template-columns: 1fr; }
}

.vault-sim-select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #30363d;
  background: #161b22;
  color: #c9d1d9;
  font-size: 0.8rem;
  font-family: inherit;
  cursor: pointer;
}

.vault-sim-select:focus {
  outline: none;
  border-color: var(--gold);
}

/* Receipt Card */
.vault-sim-receipt {
  border-top: 1px solid #30363d;
  padding: 1.5rem;
  background: #0d1117;
  animation: receiptSlide 0.5s ease;
}

@keyframes receiptSlide {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.vault-sim-receipt-header {
  font-size: 0.95rem;
  font-weight: 700;
  color: #3fb950;
  margin-bottom: 1rem;
}

.vault-sim-receipt-grid {
  display: grid;
  gap: 0.5rem;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  border-bottom: 1px solid #21262d;
}

.receipt-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8b949e;
  font-weight: 600;
}

.receipt-value {
  font-size: 0.8rem;
  color: #c9d1d9;
  text-align: right;
}

.receipt-value.mono {
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  color: var(--gold);
  word-break: break-all;
}

.vault-sim-receipt-note {
  margin-top: 1rem;
  font-size: 0.72rem;
  color: #484f58;
  line-height: 1.5;
}

.vault-sim-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Spinner Keyframe Animation */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   THEME OVERRIDE SYSTEM — Clean, non-conflicting rules
   ============================================================ */

/* Force consistent base background */
body, #packages, .section-clean {
  background-color: var(--bg-primary);
  color: var(--text-main);
}

#packages, .section-clean {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

/* Hero vertical stacking */
.hero-cinematic {
  flex-direction: column;
  padding: 3rem 1.5rem;
}

/* -----------------------------------------------------------
   HERO: Force the overlay to always create a dark scrim
   so text is ALWAYS readable against the video background,
   regardless of light/dark theme.
   ----------------------------------------------------------- */
.hero-overlay {
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(37, 99, 235, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(11, 15, 25, 0.55) 0%, rgba(11, 15, 25, 0.92) 88%),
    linear-gradient(0deg, rgba(11, 15, 25, 0.75), rgba(11, 15, 25, 0.25)) !important;
}

/* Hero text is ALWAYS white because it sits on the dark video overlay */
#hero h1,
#hero .lead,
#hero .kicker,
#hero p,
#hero span {
  color: #F9FAFB !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

#hero .kicker {
  color: #9CA3AF !important;
}

#hero .hero-metric strong {
  color: var(--gold) !important;
}

#hero .hero-metric span {
  color: #9CA3AF !important;
}

#hero .pill {
  color: #CBD5E1 !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

#hero .btn-ghost {
  color: #F9FAFB !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

/* -----------------------------------------------------------
   OVERVIEW (Story Banner): Fix text visibility in both modes
   ----------------------------------------------------------- */

/* Dark mode: white text on dark gradient */
body.theme-dark .story-banner-copy,
body.theme-dark #overview .story-banner-copy {
  background: linear-gradient(135deg, var(--surface), var(--bg)) !important;
}

body.theme-dark #overview h2,
body.theme-dark #overview .num,
body.theme-dark #overview .desc {
  color: #F9FAFB !important;
}

/* Light mode: dark text on light gradient */
body.theme-light .story-banner-copy,
body.theme-light #overview .story-banner-copy {
  background: linear-gradient(135deg, #F8FAFC, #FFFFFF) !important;
}

body.theme-light #overview h2,
body.theme-light #overview .num {
  color: #0F172A !important;
}

body.theme-light #overview .desc {
  color: #334155 !important;
}

/* Section Visual Overrides */
.section-visual .card {
  color: var(--text-main);
}

/* System preference fallback — no class on body */
@media (prefers-color-scheme: light) {
  body:not(.theme-dark):not(.theme-light) .story-banner-copy {
    background: linear-gradient(135deg, #F8FAFC, #FFFFFF) !important;
  }
  body:not(.theme-dark):not(.theme-light) #overview h2,
  body:not(.theme-dark):not(.theme-light) #overview .num {
    color: #0F172A !important;
  }
  body:not(.theme-dark):not(.theme-light) #overview .desc {
    color: #334155 !important;
  }
}

@media (prefers-color-scheme: dark) {
  body:not(.theme-dark):not(.theme-light) .story-banner-copy {
    background: linear-gradient(135deg, var(--surface), var(--bg)) !important;
  }
  body:not(.theme-dark):not(.theme-light) #overview h2,
  body:not(.theme-dark):not(.theme-light) #overview .num,
  body:not(.theme-dark):not(.theme-light) #overview .desc {
    color: #F9FAFB !important;
  }
}

/* -----------------------------------------------------------
   SECTION-LEVEL TEXT CONTRAST: All .section blocks
   ----------------------------------------------------------- */

/* Light mode: all sections with .section class get dark text */
body.theme-light .section h2,
body.theme-light .section h3,
body.theme-light .section h4,
body.theme-light .section .desc,
body.theme-light .section p {
  color: var(--text-main);
}

body.theme-light .section .num {
  color: var(--gold);
}

body.theme-light .section .card strong {
  color: #0F172A;
}

body.theme-light .section .card {
  color: #475569;
}

/* Dark mode: all sections with .section class get light text */
body.theme-dark .section h2,
body.theme-dark .section h3,
body.theme-dark .section h4 {
  color: #F9FAFB;
}

body.theme-dark .section .desc,
body.theme-dark .section p {
  color: #9CA3AF;
}

body.theme-dark .section .card strong {
  color: #F9FAFB;
}

/* System preference fallback */
@media (prefers-color-scheme: light) {
  body:not(.theme-dark):not(.theme-light) .section h2,
  body:not(.theme-dark):not(.theme-light) .section h3,
  body:not(.theme-dark):not(.theme-light) .section h4 {
    color: #0F172A;
  }
  body:not(.theme-dark):not(.theme-light) .section .desc,
  body:not(.theme-dark):not(.theme-light) .section p {
    color: #475569;
  }
  body:not(.theme-dark):not(.theme-light) .section .card strong {
    color: #0F172A;
  }
}

/* -----------------------------------------------------------
   LIGHT THEME VARIABLE OVERRIDES
   ----------------------------------------------------------- */
body.theme-light, body.light-theme {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --text-main: #0F172A;
  --text-muted: #475569;
  --accent: #2563EB;
  --border-color: #E2E8F0;
  --bg: #FFFFFF;
  --surface: #F8FAFC;
  --surface-2: #f1f5f9;
  --border: #E2E8F0;
  --text: #0F172A;
  --muted: #475569;
  background-color: #FFFFFF;
  color: #0F172A;
}

/* Gold stays vibrant in light mode */
body.theme-light .btn-gold,
body.light-theme .btn-gold {
  background: #D97706;
  color: #FFFFFF !important;
}

/* -----------------------------------------------------------
   FOOTER: Ensure text is readable in both themes
   ----------------------------------------------------------- */
body.theme-light .section-alt,
body.theme-light footer {
  background-color: #F8FAFC;
  color: #0F172A;
}

body.theme-light footer p,
body.theme-light footer strong {
  color: #0F172A;
}

/* -----------------------------------------------------------
   LAYOUT COLLAPSE: Prevent artificial stretching
   ----------------------------------------------------------- */
.split-layout-container {
  display: flex;
  flex-wrap: wrap;
  min-height: auto;
  height: auto;
}
