:root {
  /* Corporate slate — lighter than void black, still futuristic */
  --void: #1e2f48;
  --deep: #273b58;
  --surface: #2f4566;
  --surface-elevated: #364f72;
  --strip: #151f30;
  --panel: rgba(47, 69, 102, 0.72);
  --panel-border: rgba(56, 189, 248, 0.22);
  --ink: #f8fafc;
  --muted: #b8c5d9;
  /* Logo variants — default for lighter page surfaces */
  --logo-genesis-sm: url("brand/entelekron-genesis-mark-light-128.png");
  --logo-genesis-lg: url("brand/entelekron-genesis-mark-light-256.png");
  --logo-wordmark: url("brand/entelekron-logo-full-light.png");
  /* Logo spectrum: cyan → blue → purple → magenta → orange → gold */
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --violet: #8b5cf6;
  --magenta: #d946ef;
  --orange: #f97316;
  --emerald: #10b981;
  --gold: #fbbf24;
  --rose: #f43f5e;
  --brand-spectrum: linear-gradient(
    135deg,
    var(--cyan) 0%,
    var(--blue) 22%,
    var(--violet) 44%,
    var(--magenta) 62%,
    var(--orange) 82%,
    var(--gold) 100%
  );
  --glow-cyan: 0 0 40px rgba(34, 211, 238, 0.38);
  --glow-blue: 0 0 50px rgba(59, 130, 246, 0.32);
  --glow-spectrum: 0 8px 32px rgba(59, 130, 246, 0.18), 0 0 48px rgba(217, 70, 239, 0.12);
  --glass-shine: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, transparent 42%, rgba(255, 255, 255, 0.04) 100%);
  --radius: 24px;
  --nav-h: 76px;
  --presale-bar-h: 0px;
  --site-chrome-h: var(--nav-h);
  --site-max: 100rem;
  --site-gutter: 1rem;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
}

/* Dark strips (nav, footer) — use dark-background logo variants */
.surface-dark {
  --logo-genesis-sm: url("brand/entelekron-genesis-mark-dark-128.png");
  --logo-genesis-lg: url("brand/entelekron-genesis-mark-dark-256.png");
  --logo-wordmark: url("brand/entelekron-logo-full-dark.png");
}

.os-header,
.mobile-menu,
.os-footer--mega,
.consent-gate {
  --logo-genesis-sm: url("brand/entelekron-genesis-mark-dark-128.png");
  --logo-genesis-lg: url("brand/entelekron-genesis-mark-dark-256.png");
  --logo-wordmark: url("brand/entelekron-logo-full-dark.png");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--void);
  overflow-x: hidden;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Living background layers ── */
#neural-canvas,
#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
}
#particle-canvas { z-index: -2; opacity: 0.55; }
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 75%);
}
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 15% 20%, rgba(34, 211, 238, 0.16), transparent),
    radial-gradient(ellipse 45% 35% at 85% 15%, rgba(217, 70, 239, 0.12), transparent),
    radial-gradient(ellipse 40% 30% at 72% 68%, rgba(249, 115, 22, 0.08), transparent),
    radial-gradient(ellipse 60% 50% at 50% 80%, rgba(59, 130, 246, 0.1), transparent),
    linear-gradient(180deg, #1e2f48 0%, #2a3f5f 48%, #1e2f48 100%);
}
.bg-aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--glass-shine);
  opacity: 0.35;
  pointer-events: none;
}

.container,
.site-container {
  width: 100%;
  max-width: var(--site-max);
  margin-inline: auto;
  padding-inline: var(--site-gutter);
}

@media (min-width: 640px) {
  :root { --site-gutter: 1.5rem; }
}
@media (min-width: 1024px) {
  :root { --site-gutter: 2rem; }
}
@media (min-width: 1280px) {
  :root { --site-gutter: 2.5rem; }
}
@media (min-width: 1536px) {
  :root { --site-gutter: 3rem; }
}

/* ── Navigation ── */
.os-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(21, 31, 48, 0.82);
  border-bottom: 1px solid var(--panel-border);
  backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background 0.3s, box-shadow 0.3s;
}
.os-header.scrolled {
  background: rgba(21, 31, 48, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 8px 32px rgba(0, 0, 0, 0.28);
}
.os-nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.os-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 1.15rem;
}
/* Zero / Genesis Mark — adapts to surface via --logo-genesis-* */
.os-brand-mark,
img.os-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  flex-shrink: 0;
  object-fit: cover;
  background: var(--logo-genesis-sm) center / cover no-repeat;
  position: relative;
  box-shadow: var(--glow-cyan), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  animation: brandPulse 4s ease-in-out infinite;
}
@keyframes brandPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(34, 211, 238, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
  50% { box-shadow: 0 0 36px rgba(217, 70, 239, 0.28), 0 0 24px rgba(34, 211, 238, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.14); }
}
.os-brand-mark::after {
  content: none;
  display: none;
}
.brand-wordmark {
  display: block;
  height: 36px;
  width: min(240px, 58vw);
  background: var(--logo-wordmark) left center / contain no-repeat;
}
.os-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.os-nav-links a {
  position: relative;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}
.os-nav-links a:hover,
.os-nav-links a.active {
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
}
.os-nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.os-nav-cta {
  padding: 10px 18px !important;
  border-radius: 999px !important;
  background: var(--brand-spectrum) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: white !important;
  font-weight: 800 !important;
  box-shadow: var(--glow-spectrum) !important;
}
.language-wrap { position: relative; display: inline-flex; }
.language-select {
  appearance: none;
  min-height: 38px;
  max-width: 160px;
  padding: 0 34px 0 12px;
  border-radius: 10px;
  border: 1px solid var(--panel-border);
  background: rgba(47, 69, 102, 0.88);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.language-wrap::after {
  content: "⌄";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-55%);
  color: var(--muted);
  pointer-events: none;
}
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  background: rgba(47, 69, 102, 0.9);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.mobile-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.2s;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 199;
  background: rgba(21, 31, 48, 0.96);
  border-bottom: 1px solid var(--panel-border);
  backdrop-filter: blur(22px) saturate(1.4);
  padding: 16px 0 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.mobile-menu-inner {
  width: 100%;
  max-width: var(--site-max);
  margin-inline: auto;
  padding-inline: var(--site-gutter);
  display: grid;
  gap: 8px;
}
.mobile-menu a,
.mobile-menu label {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--panel-border);
  background: rgba(47, 69, 102, 0.82);
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.mobile-menu label { display: grid; gap: 8px; color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; }
.mobile-menu .language-select { max-width: none; width: 100%; }
body.menu-open .mobile-menu { display: block; }
body.menu-open .mobile-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .mobile-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .mobile-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

main { padding-top: var(--nav-h); }

/* ── Presale announcement bar (SOVRA Protocol–style integration) ── */
.presale-bar {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 199;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.12));
  border-bottom: 1px solid rgba(59, 130, 246, 0.25);
  backdrop-filter: blur(12px);
}
.presale-bar-inner {
  width: 100%;
  max-width: var(--site-max);
  margin-inline: auto;
  padding-inline: var(--site-gutter);
  padding-block: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.presale-bar-live,
.presale-bar-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.presale-bar-live {
  color: var(--emerald);
}
.presale-bar-soon {
  color: var(--cyan);
}
.pulse-dot--soon {
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.6);
  animation: pulseRing 2.5s ease infinite;
}
.investor-round-card.upcoming {
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.08);
}
.presale-bar-text { color: var(--muted); }
.presale-bar-link {
  color: var(--cyan);
  font-weight: 800;
  white-space: nowrap;
}
.presale-bar-link:hover { text-decoration: underline; }
body.has-presale-bar {
  --presale-bar-h: 44px;
  --site-chrome-h: calc(var(--nav-h) + var(--presale-bar-h));
}
body.has-presale-bar main { padding-top: var(--site-chrome-h); }
body.has-presale-bar .mobile-menu { top: var(--site-chrome-h); }

/* Investor gateway section on main homepage */
.investor-gateway {
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.06));
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.investor-gateway h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 3vw, 2rem); }
.investor-rounds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.investor-round-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--panel-border);
  background: rgba(47, 69, 102, 0.6);
}
.investor-round-card strong { display: block; color: white; margin-bottom: 4px; }
.investor-round-card span { font-size: 0.85rem; color: var(--muted); }
.investor-round-card.active {
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(59, 130, 246, 0.1);
}
@media (max-width: 900px) {
  .investor-gateway { grid-template-columns: 1fr; }
}

/* ── Shared UI primitives ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  background: rgba(47, 69, 102, 0.7);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  animation: pulseRing 2s ease infinite;
}
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.kicker {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 12px;
}
h1, h2, h3 { margin: 0; letter-spacing: -0.05em; font-weight: 900; }
h1 {
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  line-height: 0.9;
}
h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1;
}
.gradient-text {
  background: linear-gradient(
    135deg,
    #fff 0%,
    var(--cyan) 18%,
    var(--blue) 36%,
    var(--violet) 54%,
    var(--magenta) 72%,
    var(--orange) 88%,
    var(--gold) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 720px;
}
.section { padding: 4rem 0; position: relative; }
.section--compact { padding: 2.5rem 0 4rem; }
@media (min-width: 1024px) {
  .section { padding: 6rem 0; }
}
.section-head { margin-bottom: 48px; max-width: 800px; }
.section-text { color: var(--muted); margin-top: 16px; line-height: 1.75; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid var(--panel-border);
  background: rgba(47, 69, 102, 0.72);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: var(--glow-cyan), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.btn.primary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--brand-spectrum);
  color: white;
  box-shadow: var(--glow-spectrum), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ── Glass panels ── */
.glass-panel {
  border-radius: var(--radius);
  border: 1px solid var(--panel-border);
  background: var(--panel);
  backdrop-filter: blur(18px) saturate(1.35);
  box-shadow: var(--glow-spectrum), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--panel-border);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(217, 70, 239, 0.08), rgba(34, 211, 238, 0.08));
}
.panel-header strong {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.status-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.status-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  animation: pulseRing 2s ease infinite;
}

/* ── Hero ── */
.hero-os {
  min-height: calc(100dvh - var(--site-chrome-h));
  min-height: calc(100svh - var(--site-chrome-h));
  display: flex;
  align-items: center;
  padding: 3.5rem 0 5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-content { max-width: 880px; }
.hero-side { display: flex; flex-direction: column; gap: 20px; }
.hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.9rem);
  color: rgba(226, 232, 240, 0.85);
  margin: 16px 0 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.disclosure {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(59, 130, 246, 0.25);
  background: rgba(59, 130, 246, 0.06);
  color: #93c5fd;
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 680px;
}

/* ── Galaxy ── */
.galaxy-container {
  position: relative;
  min-height: 520px;
  border-radius: 28px;
  border: 1px solid var(--panel-border);
  background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.08), transparent 60%), rgba(30, 45, 68, 0.9);
  overflow: hidden;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5), inset 0 0 80px rgba(34, 211, 238, 0.03);
}
#galaxy-canvas {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  cursor: crosshair;
}
.galaxy-hud {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(11, 17, 32, 0.88);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(12px);
  z-index: 2;
  transition: opacity 0.3s;
}
.galaxy-hud strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--cyan);
}
.galaxy-hud p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}
.galaxy-hud .hud-meta {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: rgba(34, 211, 238, 0.7);
  letter-spacing: 0.05em;
}

/* ── Intelligence Dashboard ── */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.metric-card {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--panel-border);
  background: rgba(47, 69, 102, 0.75);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.metric-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.metric-card:hover {
  border-color: rgba(34, 211, 238, 0.35);
  transform: translateY(-3px);
}
.metric-card:hover::before { opacity: 1; }
.metric-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.metric-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}
.metric-indicator.warn { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.metric-indicator.sync { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: pulseRing 2s ease infinite; }
.metric-value {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: white;
  font-variant-numeric: tabular-nums;
}
.metric-bar {
  margin-top: 14px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.metric-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.5);
}
.metric-sub {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ── SOVRA Intelligence ── */
.sovra-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  align-items: stretch;
}
.sovra-panel {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(139, 92, 246, 0.25);
  background: radial-gradient(circle at 20% 0%, rgba(139, 92, 246, 0.12), transparent 50%), rgba(47, 69, 102, 0.85);
}
.sovra-insights {
  display: grid;
  gap: 12px;
}
.insight-row {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--panel-border);
  background: rgba(30, 45, 68, 0.7);
  transition: border-color 0.2s;
}
.insight-row:hover { border-color: rgba(139, 92, 246, 0.4); }
.insight-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(59, 130, 246, 0.2));
  color: var(--violet);
  font-weight: 900;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.insight-row strong { display: block; font-size: 0.92rem; margin-bottom: 4px; }
.insight-row span { color: var(--muted); font-size: 0.85rem; line-height: 1.5; }
.sovra-query {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}
.sovra-input {
  flex: 1;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--panel-border);
  background: rgba(30, 45, 68, 0.9);
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.sovra-input:focus { border-color: rgba(139, 92, 246, 0.5); }
.sovra-response {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  background: rgba(139, 92, 246, 0.06);
  color: #c4b5fd;
  font-size: 0.9rem;
  line-height: 1.65;
  min-height: 60px;
  display: none;
}
.sovra-response.visible { display: block; animation: fadeUp 0.4s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Explorer Console ── */
.explorer-console {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--panel-border);
  background: rgba(30, 45, 68, 0.95);
}
.console-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
}
.console-cell {
  padding: 24px;
  background: rgba(47, 69, 102, 0.95);
  min-height: 130px;
  transition: background 0.2s;
}
.console-cell:hover { background: rgba(12, 24, 45, 0.95); }
.console-cell span {
  display: block;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 10px;
}
.console-cell strong {
  display: block;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  color: white;
  letter-spacing: -0.03em;
}
.console-cell p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}
.contract-mono {
  font-family: var(--mono);
  font-size: 0.95rem !important;
  word-break: break-all;
}
.explorer-feed {
  padding: 0;
  max-height: 280px;
  overflow: hidden;
}
.feed-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.feed-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.84rem;
  animation: feedSlide 0.5s ease;
}
@keyframes feedSlide {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}
.feed-time { font-family: var(--mono); color: #64748b; font-size: 0.72rem; }
.feed-event { color: var(--ink); }
.feed-tag {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.feed-tag.tx { background: rgba(34, 211, 238, 0.12); color: var(--cyan); }
.feed-tag.val { background: rgba(16, 185, 129, 0.12); color: #6ee7b7; }
.feed-tag.gov { background: rgba(139, 92, 246, 0.12); color: #c4b5fd; }

/* ── Module grid ── */
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.module-card {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--panel-border);
  background: rgba(47, 69, 102, 0.7);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.module-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(34, 211, 238, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.module-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: var(--glow-cyan);
}
.module-card:hover::after { opacity: 1; }
.module-card.active {
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: var(--glow-cyan);
}
.module-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  margin-bottom: 16px;
}
.module-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.module-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}
.module-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--cyan);
  font-weight: 800;
  font-size: 0.82rem;
}

/* ── Connectivity map ── */
.connectivity-band {
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--panel-border);
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.1), transparent 50%), rgba(30, 45, 68, 0.8);
  overflow: hidden;
}
.connect-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 4px;
  margin-top: 28px;
}
.flow-node {
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--panel-border);
  background: rgba(47, 69, 102, 0.9);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.flow-node.core {
  border-color: rgba(34, 211, 238, 0.4);
  color: var(--cyan);
  box-shadow: var(--glow-cyan);
}
.flow-node:hover { border-color: rgba(139, 92, 246, 0.4); }
.flow-arrow {
  color: rgba(34, 211, 238, 0.5);
  font-size: 0.9rem;
  animation: arrowPulse 2s ease infinite;
}
@keyframes arrowPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ── Protocol layers ── */
.protocol-stack {
  display: grid;
  gap: 10px;
}
.layer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid var(--panel-border);
  background: rgba(47, 69, 102, 0.6);
  transition: transform 0.2s, border-color 0.2s;
}
.layer-row:hover {
  transform: translateX(6px);
  border-color: rgba(34, 211, 238, 0.25);
}
.layer-row span:first-child { font-weight: 800; }
.layer-row span:last-child {
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: right;
}
.stack-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: start;
}
.dark-band {
  padding: 48px;
  border-radius: 28px;
  border: 1px solid var(--panel-border);
  background: radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.15), transparent 40%), rgba(21, 31, 48, 0.88);
}

/* ── Timeline / validators ── */
.timeline { display: grid; gap: 14px; }
.timeline-step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--panel-border);
  background: rgba(47, 69, 102, 0.7);
  transition: border-color 0.2s;
}
.timeline-step:hover { border-color: rgba(34, 211, 238, 0.25); }
.timeline-step strong {
  color: var(--cyan);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}
.timeline-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.timeline-step p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.65; }

/* ── Contact CTA ── */
.contact-cta {
  padding: 56px;
  border-radius: 28px;
  border: 1px solid var(--panel-border);
  background: radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15), transparent 40%), linear-gradient(135deg, rgba(30, 45, 68, 0.95), rgba(39, 59, 88, 0.9));
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.contact-card {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--panel-border);
  background: rgba(30, 45, 68, 0.6);
}
.contact-card strong { display: block; margin-bottom: 6px; font-size: 0.88rem; }
.contact-card a { color: var(--cyan); font-weight: 700; font-size: 0.86rem; }

/* ── Footer ── */
.os-footer {
  padding: 40px 0 56px;
  border-top: 1px solid var(--panel-border);
  color: var(--muted);
  font-size: 0.86rem;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--cyan); }

/* ── Legal document pages ── */
.legal-doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 0 80px;
}
.legal-doc h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 8px;
  letter-spacing: -0.03em;
}
.legal-doc .legal-meta {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--panel-border);
}
.legal-doc h2 {
  font-size: 1.15rem;
  margin: 32px 0 12px;
  color: white;
}
.legal-doc h3 {
  font-size: 1rem;
  margin: 20px 0 8px;
  color: var(--ink);
}
.legal-doc p, .legal-doc li {
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.95rem;
}
.legal-doc ul, .legal-doc ol {
  margin: 12px 0;
  padding-left: 1.4rem;
}
.legal-doc a { color: var(--cyan); }
.legal-doc .legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.legal-doc .legal-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--panel-border);
  background: rgba(47, 69, 102, 0.6);
  font-size: 0.8rem;
  font-weight: 700;
}
.legal-doc .legal-nav a:hover { border-color: rgba(59, 130, 246, 0.4); }
.legal-callout {
  margin: 24px 0;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(251, 191, 36, 0.25);
  background: rgba(251, 191, 36, 0.06);
  color: var(--gold);
  font-size: 0.9rem;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-grid,
  .sovra-grid,
  .stack-layout,
  .contact-cta { grid-template-columns: 1fr; }
  .countdown-card { max-width: 520px; margin: 0 auto; width: 100%; }
  .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .os-nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .countdown-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid,
  .module-grid,
  .console-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .timeline-step { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .contact-cta,
  .dark-band { padding: 32px 24px; }
  .galaxy-container { min-height: 400px; }
  #galaxy-canvas { min-height: 400px; }
}

/* ── Presale platform (entelekron.io) ── */
.presale-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--panel-border);
  background: rgba(47, 69, 102, 0.7);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}
.trust-badge strong { color: var(--ink); }
.trust-badge.live { border-color: rgba(16, 185, 129, 0.35); color: var(--emerald); }
.trust-badge.live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

/* ── Early investor sale countdown (SOVRA Protocol–style) ── */
@keyframes countdownFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes countdownLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(0.92); }
}
@keyframes countdownTick {
  0% { transform: scale(1); }
  35% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.countdown-card {
  background: linear-gradient(160deg, rgba(54, 79, 114, 0.88), rgba(47, 69, 102, 0.92));
  border: 1px solid rgba(56, 189, 248, 0.22);
  backdrop-filter: blur(24px) saturate(1.3);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--glow-spectrum), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: countdownFadeIn 0.6s 0.15s ease both;
}
.hero-genesis-mark {
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  border-radius: 22px;
  background: var(--logo-genesis-lg) center / cover no-repeat;
  box-shadow: var(--glow-spectrum);
}

/* Full lockup above countdown — matches card width, luminous brand glow */
.hero-countdown-brand {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto 1.25rem;
  animation: countdownFadeIn 0.6s ease both;
}
.hero-countdown-brand::before {
  content: "";
  position: absolute;
  inset: 8% 5%;
  z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 45%, rgba(34, 211, 238, 0.42), rgba(59, 130, 246, 0.2) 45%, transparent 72%);
  filter: blur(20px);
  pointer-events: none;
  animation: heroLogoGlow 4s ease-in-out infinite;
}
@keyframes heroLogoGlow {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}
.hero-countdown-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 0 28px rgba(34, 211, 238, 0.55))
    drop-shadow(0 0 56px rgba(59, 130, 246, 0.35))
    drop-shadow(0 0 20px rgba(249, 115, 22, 0.15))
    brightness(1.1)
    saturate(1.18);
}
@media (prefers-reduced-motion: reduce) {
  .hero-countdown-brand::before { animation: none; }
}
.countdown-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.countdown-header .dot {
  width: 10px;
  height: 10px;
  background: var(--rose);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(244, 63, 94, 0.75);
  animation: countdownLivePulse 1.5s ease-in-out infinite;
}
.countdown-header span {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose);
}
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.countdown-item {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(34, 211, 238, 0.12);
  border-radius: 16px;
  padding: 20px 10px;
  text-align: center;
}
.countdown-num {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: #f8fafc;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35), 0 0 20px rgba(34, 211, 238, 0.25);
}
.countdown-num.tick {
  animation: countdownTick 0.35s ease;
}
/* Gradient digits break on iOS Safari / PWA — solid numbers on touch devices */
@media (hover: hover) and (pointer: fine) and (min-width: 769px) {
  .countdown-num {
    background: linear-gradient(180deg, #ffffff 35%, var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: none;
  }
}
@media (max-width: 768px) {
  .countdown-card {
    padding: 1.35rem 1rem;
  }
  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .countdown-item {
    padding: 1rem 0.5rem;
    min-height: 5.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    border-color: rgba(34, 211, 238, 0.28);
  }
  .countdown-num {
    font-size: clamp(2.35rem, 11vw, 3.25rem);
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    background: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  }
  .countdown-label {
    font-size: 0.68rem;
    color: #e2e8f0;
    letter-spacing: 0.12em;
  }
  .countdown-note {
    font-size: 0.82rem;
    line-height: 1.65;
  }
}
.countdown-label {
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 8px;
  font-weight: 700;
}
.countdown-note {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.7;
  margin: 0;
}
.countdown-note strong { color: var(--ink); }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.stat-cell {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--panel-border);
  background: rgba(47, 69, 102, 0.75);
  text-align: center;
}
.stat-cell strong {
  display: block;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 4px;
}
.stat-cell span { font-size: 0.8rem; color: var(--muted); font-weight: 600; }

.stage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.stage-card {
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--panel-border);
  background: linear-gradient(160deg, rgba(54, 79, 114, 0.72), rgba(47, 69, 102, 0.85));
  transition: border-color 0.25s, transform 0.25s;
}
.stage-card:hover { border-color: rgba(59, 130, 246, 0.35); transform: translateY(-2px); }
.stage-card.active {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.08);
}
.stage-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.stage-header h3 { margin: 0; font-size: 1.1rem; }
.stage-status {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.stage-status.open { background: rgba(16, 185, 129, 0.15); color: var(--emerald); border: 1px solid rgba(16, 185, 129, 0.3); }
.stage-status.upcoming { background: rgba(59, 130, 246, 0.12); color: var(--blue); border: 1px solid rgba(59, 130, 246, 0.25); }
.stage-status.planned { background: rgba(148, 163, 184, 0.1); color: var(--muted); border: 1px solid var(--panel-border); }
.stage-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0;
}
.stage-meta dt { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.stage-meta dd { margin: 0; font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.stage-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.65; margin: 0; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 24px 20px 20px 56px;
  border-radius: 16px;
  border: 1px solid var(--panel-border);
  background: rgba(47, 69, 102, 0.7);
}
.process-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 22px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-step h3 { font-size: 0.95rem; margin: 0 0 8px; }
.process-step p { margin: 0; font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.process-step .step-time { display: block; margin-top: 10px; font-size: 0.75rem; color: var(--cyan); font-weight: 700; }

.tokenomics-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}
.alloc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.alloc-table th, .alloc-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--panel-border);
}
.alloc-table th { color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.alloc-table td:last-child { text-align: right; font-weight: 700; color: var(--cyan); }
.alloc-bar-wrap { margin-top: 20px; }
.alloc-bar {
  display: flex;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(148, 163, 184, 0.1);
}
.alloc-seg { height: 100%; }

.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.payment-card {
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--panel-border);
  background: rgba(47, 69, 102, 0.65);
  text-align: center;
}
.payment-card strong { display: block; margin-bottom: 6px; }
.payment-card span { font-size: 0.82rem; color: var(--muted); }

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.compliance-card {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--panel-border);
  background: rgba(47, 69, 102, 0.6);
}
.compliance-card h3 { font-size: 0.95rem; margin: 0 0 8px; }
.compliance-card p { margin: 0; font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.compliance-card a { color: var(--cyan); font-weight: 700; font-size: 0.85rem; }

.faq-list { display: grid; gap: 10px; max-width: 900px; margin: 0 auto; }
.faq-item {
  border-radius: 14px;
  border: 1px solid var(--panel-border);
  background: rgba(47, 69, 102, 0.65);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  padding: 18px 20px;
  border: none;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-q::after { content: "+"; color: var(--cyan); font-size: 1.2rem; }
.faq-item.open .faq-q::after { content: "−"; }
.faq-a {
  display: none;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.support-card {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--panel-border);
  background: rgba(47, 69, 102, 0.7);
}
.support-card h3 { margin: 0 0 8px; font-size: 1rem; }
.support-card p { margin: 0 0 12px; font-size: 0.86rem; color: var(--muted); line-height: 1.6; }
.support-card a { color: var(--cyan); font-weight: 700; font-size: 0.88rem; }

.presale-disclosure {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(251, 191, 36, 0.25);
  background: rgba(251, 191, 36, 0.05);
  color: var(--gold);
  font-size: 0.84rem;
  line-height: 1.65;
}

.presale-footer-extended {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.presale-footer-extended h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 12px;
}
.presale-footer-extended ul { list-style: none; padding: 0; margin: 0; }
.presale-footer-extended li { margin-bottom: 8px; }
.presale-footer-extended a { color: var(--muted); font-size: 0.86rem; }
.presale-footer-extended a:hover { color: var(--cyan); }

/* ── Premium nav (Ripple-inspired) ── */
.os-header--premium {
  height: 72px;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.os-header--premium .os-nav { height: 72px; }
.os-header--premium .os-nav-links {
  gap: 2px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(47, 69, 102, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.os-header--premium .os-nav-links a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: none;
  padding: 9px 13px;
  border-radius: 10px;
}
.os-header--premium .os-nav-links a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}
.os-header--premium .os-nav-cta--sale {
  background: var(--brand-spectrum) !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  margin-left: 6px;
  white-space: nowrap;
  box-shadow: var(--glow-spectrum);
}
.os-nav-cta--sale:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.os-header--premium .language-select {
  border-radius: 10px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(47, 69, 102, 0.88);
}

/* ── Mega footer (4 columns) ── */
.os-footer--mega {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, transparent, rgba(21, 31, 48, 0.65));
}
.footer-mega-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand-col p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 320px;
  margin: 12px 0 0;
}
.footer-mega-grid h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 14px;
  font-weight: 800;
}
.footer-mega-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-mega-grid li { margin-bottom: 9px; }
.footer-mega-grid a {
  color: var(--muted);
  font-size: 0.86rem;
  transition: color 0.2s;
}
.footer-mega-grid a:hover { color: var(--cyan); }
.footer-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.footer-row--bottom {
  padding-top: 24px;
  border-top: 1px solid var(--panel-border);
}

/* ── Protocol video player ── */
.video-showcase {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}
.video-frame {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  border: 1px solid var(--panel-border);
  background: linear-gradient(145deg, rgba(47, 69, 102, 0.9), rgba(39, 59, 88, 0.6));
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}
.video-frame--player {
  padding: 0;
  background: #000;
}
.video-frame--soon {
  position: relative;
  padding: 0;
  background:
    radial-gradient(ellipse 70% 55% at 20% 15%, rgba(34, 211, 238, 0.14), transparent),
    radial-gradient(ellipse 60% 50% at 85% 75%, rgba(217, 70, 239, 0.12), transparent),
    linear-gradient(155deg, rgba(30, 45, 68, 0.98), rgba(21, 31, 48, 0.99));
}
.protocol-film-soon__glow {
  position: absolute;
  inset: 0;
  background: var(--glass-shine);
  opacity: 0.22;
  pointer-events: none;
}
.protocol-film-soon__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(24px, 5vw, 40px);
  gap: 10px;
}
.protocol-film-soon__mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  margin-bottom: 4px;
  box-shadow: var(--glow-cyan);
}
.protocol-film-soon__kicker {
  margin: 0;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 900;
}
.protocol-film-soon__title {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: -0.04em;
  background: var(--brand-spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.protocol-film-soon__text {
  margin: 0;
  max-width: 36ch;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}
.protocol-film-soon__text a {
  color: var(--cyan);
  font-weight: 700;
}
.protocol-film-soon__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--muted);
}
.protocol-film-soon__badge {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.1);
  color: #fde68a;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.68rem;
}
.protocol-film-soon__contact {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.protocol-film-soon__contact a {
  color: var(--cyan);
  font-weight: 700;
}
.protocol-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: var(--radius);
}
.video-frame-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  color: var(--muted);
}
.video-play-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(34, 211, 238, 0.15);
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: var(--cyan);
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.video-frame-sub { font-size: 0.8rem; margin-top: 8px; max-width: 420px; }
.video-topics {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

@media (max-width: 1024px) {
  .footer-mega-grid { grid-template-columns: 1fr 1fr; }
  .video-showcase { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .footer-mega-grid { grid-template-columns: 1fr; }
  .os-header--premium .os-nav-links { display: none; }
}

@media (max-width: 1024px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stage-grid, .tokenomics-layout, .presale-footer-extended { grid-template-columns: 1fr; }
  .process-grid, .payment-grid, .compliance-grid, .support-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .stat-strip { grid-template-columns: 1fr; }
  .stage-meta { grid-template-columns: 1fr; }
}

/* ── On-chain contract blocks ── */
.contract-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.contract-card {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--panel-border);
  background: rgba(47, 69, 102, 0.75);
}
.contract-card h3 { margin: 0 0 10px; font-size: 0.95rem; }
.contract-card .contract-addr {
  font-family: var(--mono);
  font-size: 0.72rem;
  word-break: break-all;
  color: var(--cyan);
  margin-bottom: 8px;
  line-height: 1.5;
}
.contract-card p { margin: 0 0 12px; font-size: 0.82rem; color: var(--muted); line-height: 1.55; }
.contract-card a { font-size: 0.84rem; font-weight: 700; color: var(--blue); }
@media (max-width: 1024px) {
  .contract-grid { grid-template-columns: 1fr; }
}

.wallet-group-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin: 36px 0 14px;
  font-weight: 800;
}
.wallet-group-title:first-of-type { margin-top: 0; }
.wallet-registry-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}
.wallet-registry-table th,
.wallet-registry-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--panel-border);
  vertical-align: top;
}
.wallet-registry-table th {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.wallet-registry-table td a.addr {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--cyan);
  word-break: break-all;
}
.wallet-registry-table tr:hover td { background: rgba(59, 130, 246, 0.04); }
@media (max-width: 768px) {
  .wallet-registry-table thead { display: none; }
  .wallet-registry-table tr { display: block; margin-bottom: 16px; border: 1px solid var(--panel-border); border-radius: 12px; padding: 12px; }
  .wallet-registry-table td { display: block; border: none; padding: 4px 0; }
  .wallet-registry-table td::before { content: attr(data-label); display: block; font-size: 0.7rem; color: var(--muted); text-transform: uppercase; margin-bottom: 2px; }
}


/* Enterprise SEO sections */
.section--seo .seo-prose { max-width: 72ch; margin: 0 auto; color: var(--muted, #94a3b8); line-height: 1.75; }
.section--seo .seo-prose h3 { color: var(--text, #f1f5f9); margin: 1.75rem 0 0.75rem; font-size: 1.15rem; }
.section--seo .seo-prose p { margin-bottom: 1rem; }
.section--seo .seo-prose a { color: var(--accent, #38bdf8); }
.seo-link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.5rem 1rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.seo-link-grid a { color: var(--accent, #38bdf8); text-decoration: none; }
.seo-faq-list { max-width: 48rem; margin: 0 auto; }
.seo-faq-item { border: 1px solid rgba(148, 163, 184, 0.2); border-radius: 12px; padding: 0.75rem 1rem; margin-bottom: 0.75rem; background: rgba(39, 59, 88, 0.5); }
.seo-faq-item summary { cursor: pointer; list-style: none; }
.seo-faq-item summary h3 { display: inline; font-size: 1rem; font-weight: 600; margin: 0; color: var(--text, #f1f5f9); }
.seo-faq-item p { margin: 0.75rem 0 0; color: var(--muted, #94a3b8); line-height: 1.65; }

/* ── Full-bleed section bands (InfraSphere-style edge-to-edge) ── */
.section-band {
  width: 100%;
  position: relative;
}
.section-band--panel {
  background: rgba(39, 59, 88, 0.45);
  border-block: 1px solid var(--panel-border);
}
.section-band--strip {
  background: rgba(21, 31, 48, 0.72);
  border-block: 1px solid var(--panel-border);
}

/* ── Apply / investor form ── */
.page-hero {
  padding: calc(var(--site-chrome-h) + 2.5rem) 0 2.5rem;
}
.page-hero h1 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.page-hero .lead {
  margin-top: 1rem;
  max-width: 52rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
}
.page-hero .lead a { color: var(--cyan); font-weight: 700; }

/* ── Presale subpages (tokenomics, FAQ, wallets, process, support) ── */
.presale-subpage-content {
  display: grid;
  gap: 1.5rem;
}

.content-panel {
  padding: clamp(1.35rem, 2.5vw, 1.85rem);
  border-radius: var(--radius);
  border: 1px solid var(--panel-border);
  background: var(--panel);
  backdrop-filter: blur(18px) saturate(1.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.content-panel h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.content-panel h3 {
  margin: 0 0 0.65rem;
  font-size: 1.08rem;
  color: var(--ink);
}

.content-panel p,
.content-panel li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

.content-panel p { margin: 0 0 0.85rem; }
.content-panel p:last-child { margin-bottom: 0; }

.content-list {
  margin: 0;
  padding-left: 1.35rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}

.content-list li + li { margin-top: 0.35rem; }

.presale-stat-lg {
  font-size: clamp(1.85rem, 4.5vw, 2.35rem);
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 0.35rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.subsection-title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  letter-spacing: -0.02em;
}

.content-meta {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.support-card .support-meta {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Typography scale — presale subpage components */
.alloc-table { font-size: 0.96rem; }
.alloc-table th { font-size: 0.78rem; }
.compliance-card { padding: 1.35rem; }
.compliance-card h3 { font-size: 1.08rem; }
.compliance-card p { font-size: 0.96rem; line-height: 1.65; }
.support-card h3 { font-size: 1.08rem; }
.support-card p { font-size: 0.96rem; line-height: 1.65; }
.faq-list { max-width: none; }
.faq-q { font-size: 1.02rem; padding: 1.1rem 1.25rem; }
.faq-a { font-size: 0.98rem; line-height: 1.7; }
.wallet-group-title {
  margin: 1.75rem 0 1rem;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}
.wallet-registry-table { font-size: 0.95rem; }

.presale-subpage .legal-doc {
  max-width: none;
  padding: 0;
}

.apply-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .apply-layout {
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: 2rem;
  }
}

.apply-sidebar {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--panel-border);
  background: var(--panel);
  backdrop-filter: blur(18px) saturate(1.35);
}
.apply-sidebar h2 {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.apply-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.apply-steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}
.apply-steps strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: var(--cyan);
  font-size: 0.72rem;
  flex-shrink: 0;
}
.apply-sidebar-note {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--panel-border);
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

.apply-form-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius);
  border: 1px solid var(--panel-border);
  background: var(--panel);
  backdrop-filter: blur(18px) saturate(1.35);
  box-shadow: var(--glow-spectrum), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.apply-form {
  display: grid;
  gap: 0;
}
.apply-form fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.apply-form fieldset + fieldset {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.form-section-title {
  display: block;
  width: 100%;
  margin: 0 0 1.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.apply-form label {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.92);
}
.apply-form label + label {
  margin-top: 1rem;
}

.apply-form input:not([type="checkbox"]),
.apply-form select,
.apply-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(21, 31, 48, 0.55);
  color: var(--ink);
  font: inherit;
  line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.apply-form textarea {
  min-height: 112px;
  resize: vertical;
}
.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  outline: none;
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
}
.apply-form input::placeholder,
.apply-form textarea::placeholder {
  color: rgba(184, 197, 217, 0.55);
}

.form-row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.regulatory-callout {
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(59, 130, 246, 0.28);
  background: rgba(59, 130, 246, 0.08);
  font-size: 0.88rem;
  color: #bfdbfe;
  line-height: 1.65;
}
.regulatory-callout--success {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.08);
  color: #a7f3d0;
}
.regulatory-callout strong { color: var(--ink); }

.eligibility-panel {
  margin: 0.75rem 0 1rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--panel-border);
  background: rgba(47, 69, 102, 0.55);
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.6;
}
.eligibility-panel.hidden { display: none; }

.restricted-list {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
}
.restricted-list a { color: var(--cyan); }

.form-msg {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.55;
  display: none;
}
.form-msg:not(:empty) { display: block; }
.form-msg.ok {
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.1);
  color: #6ee7b7;
}
.form-msg.err {
  border: 1px solid rgba(244, 63, 94, 0.35);
  background: rgba(244, 63, 94, 0.1);
  color: #fda4af;
}
.form-msg.warn {
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.1);
  color: #fde68a;
}

.checkbox-group {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.25rem;
}
.checkbox-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(21, 31, 48, 0.35);
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.55;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.checkbox-row:hover {
  border-color: rgba(34, 211, 238, 0.28);
  background: rgba(47, 69, 102, 0.45);
}
.checkbox-row input {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  accent-color: var(--cyan);
}
.checkbox-row a { color: var(--cyan); }

.apply-form .btn.primary[type="submit"] {
  width: 100%;
  margin-top: 1.5rem;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.apply-footer-note {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.apply-footer-note a { color: var(--cyan); }

/* ── Next.js presale portal (/presale/{locale}) ── */
.presale-portal .portal-section {
  padding: 4rem 0;
  position: relative;
}
@media (min-width: 1024px) {
  .presale-portal .portal-section {
    padding: 6rem 0;
  }
}

.presale-portal .portal-section-head {
  margin-bottom: 3rem;
  max-width: 48rem;
  text-align: center;
  margin-inline: auto;
}

.presale-portal .portal-section-head h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.03em;
  color: var(--ink);
}

.presale-portal .portal-section-head p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.presale-portal .portal-module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 1024px) {
  .presale-portal .portal-module-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .presale-portal .portal-module-grid {
    grid-template-columns: 1fr;
  }
}

.presale-portal .mobile-menu.is-open {
  display: block !important;
}

.presale-portal .hero-os.section {
  padding-top: 0;
}

/* iOS standalone PWA — avoid clipped / empty viewport bands */
@supports (-webkit-touch-callout: none) {
  .presale-portal .hero-os {
    min-height: auto;
  }

  .presale-portal .hero-grid {
    align-items: start;
  }
}

/* ── Investor app marketing (entelekron.app) ── */
.investor-app-section {
  padding-top: 0;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.investor-app-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: 20px;
  border: 1px solid rgba(120, 200, 255, 0.22);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(56, 189, 248, 0.14), transparent 55%),
    linear-gradient(145deg, rgba(30, 47, 72, 0.92), rgba(15, 23, 42, 0.88));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.investor-app-card h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  line-height: 1.2;
}

.investor-app-card h2 strong {
  color: var(--cyan);
  font-weight: 800;
}

.investor-app-card > p,
.investor-app-copy > p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.7;
  max-width: 52ch;
}

.investor-app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.investor-app-install {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.install-step {
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.03);
}

.install-platform {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

.install-step p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text);
}

.investor-app-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(120, 200, 255, 0.25);
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
}

.investor-app-sticky.is-visible {
  display: flex;
}

.investor-app-sticky-link {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.investor-app-sticky-link strong {
  color: var(--cyan);
}

.investor-app-sticky-link .os-brand-mark {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.investor-app-sticky-close {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.investor-app-sticky-close:hover {
  color: var(--text);
  border-color: rgba(120, 200, 255, 0.35);
}

@media (max-width: 860px) {
  .investor-app-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body.has-investor-app-sticky:not(.investor-app-sticky-dismissed) {
    padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px));
  }

  .investor-app-sticky.is-visible {
    display: flex;
  }
}
