:root {
  --bg: #050508;
  --bg-elevated: #0c0c12;
  --bg-card: #111118;
  --border: rgba(255, 255, 255, 0.1);
  --text: #f5f5f7;
  --text-muted: #8b92a8;
  --accent: #f5c518;
  --accent-soft: rgba(245, 197, 24, 0.15);
  --accent-og: #3ecf8e;
  --accent-og-soft: rgba(62, 207, 142, 0.15);
  --accent-purple: #a855f7;
  --accent-cyan: #22d3ee;
  --max-width: 1240px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  --glow-gold: 0 0 40px rgba(245, 197, 24, 0.25);
  --glow-green: 0 0 40px rgba(62, 207, 142, 0.3);
  --font-sans: "Space Grotesk", system-ui, sans-serif;
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
}

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

html { scroll-behavior: smooth; }

html.hub-page-root,
html.is-loading {
  scroll-behavior: auto;
}

html.is-loading,
html.is-loading body {
  overflow: hidden;
  height: 100%;
}

html.is-mobile #hero-canvas {
  display: none !important;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Site loader ── */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
  width: min(320px, 80vw);
}

.loader-title {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4rem);
  letter-spacing: 0.08em;
  color: var(--accent);
  background: linear-gradient(135deg, #fff, var(--accent), var(--accent-og));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: loader-pulse 1.4s ease-in-out infinite;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .loader-title {
    -webkit-text-fill-color: currentColor;
    color: var(--accent);
  }
}

.loader-sub {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.loader-bar {
  margin-top: 2rem;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.loader-progress {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-og), var(--accent));
  transition: width 0.25s ease;
}

.loader-pct {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent-og);
}

@keyframes loader-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.02); }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(168, 85, 247, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(62, 207, 142, 0.08), transparent);
  pointer-events: none;
  z-index: 0;
}

img, video, iframe { max-width: 100%; }

a { color: var(--accent); text-decoration: none; transition: color 0.2s, opacity 0.2s; }
a:hover { color: #ffe566; }

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(20px);
  background: rgba(5, 5, 8, 0.85);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  flex-shrink: 0;
}
.brand:hover { color: var(--text); }

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  line-height: 1;
}

.brand-legal {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.85rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-link, .nav-trigger {
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-link:hover, .nav-trigger:hover,
.nav-link.active, .nav-trigger.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-trigger::after {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
}

.nav-item.open .nav-trigger::after {
  transform: rotate(-135deg) translateY(1px);
}

.nav-cta {
  margin-left: 0.35rem;
  background: linear-gradient(135deg, var(--accent), #e6a800);
  color: #111 !important;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-cta:hover { color: #111 !important; filter: brightness(1.1); }

/* Mega panel */
.nav-item { position: relative; }

.mega-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 320px;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 300;
}

.nav-item.open .mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(4px);
}

.mega-panel::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.mega-title {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.65rem;
}

.mega-list { list-style: none; margin: 0; padding: 0; }

.mega-list li { margin-bottom: 0.25rem; }

.mega-list a {
  display: flex;
  flex-direction: column;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: background 0.2s;
}

.mega-list a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent);
}

.mega-list strong { font-size: 0.95rem; }
.mega-list span { font-size: 0.8rem; color: var(--text-muted); }

.mega-external {
  display: block;
  margin-top: 0.5rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--accent-og-soft);
  color: var(--accent-og);
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mega-external:hover { color: #5eead4; background: rgba(62, 207, 142, 0.22); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, filter 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #e6a800);
  color: #111;
  box-shadow: var(--glow-gold);
}

.btn-og {
  background: linear-gradient(135deg, var(--accent-og), #22a06b);
  color: #041208;
  box-shadow: var(--glow-green);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-sm { padding: 0.55rem 1rem; font-size: 0.8rem; }

/* ── Hero ── */
.hub-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  padding: 4rem 0 3.5rem;
  overflow: hidden;
}

.hub-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hub-hero-bg iframe {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hub-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,5,8,0.25) 0%, rgba(5,5,8,0.65) 50%, var(--bg) 100%);
  z-index: 2;
}

.hub-hero-content {
  position: relative;
  z-index: 3;
}

.stats-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  letter-spacing: 0.04em;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.venture-marquee {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 1rem 0;
}

.marquee-inner {
  display: flex;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}

.marquee-inner:hover { animation-play-state: paused; }

.marquee-inner a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 2rem;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s;
}

.marquee-inner a:hover { color: var(--accent-og); }

.marquee-inner a em {
  font-style: normal;
  font-size: 0.7rem;
  color: var(--accent-og);
  opacity: 0.8;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.section-bleed-header {
  padding-inline: max(1rem, calc((100% - var(--max-width)) / 2 + 1rem));
  margin-bottom: 1.5rem;
}

.hot-stage {
  position: relative;
  min-height: 420px;
  margin-inline: max(0px, calc((100% - 100vw) / 2));
  width: 100vw;
  max-width: 100vw;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-block: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}

.hot-stage-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 0.6s ease;
}

.hot-stage:hover .hot-stage-bg { transform: scale(1.06); }

.hot-stage-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,5,8,0.92) 0%, rgba(5,5,8,0.5) 55%, rgba(5,5,8,0.3) 100%);
}

.hot-stage-content {
  position: relative;
  z-index: 1;
  padding: 3rem max(1rem, calc((100% - var(--max-width)) / 2 + 1rem));
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.hot-stage-content h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

.hot-stage-content p {
  margin: 0;
  color: var(--text-muted);
  max-width: 48ch;
}

.spotlight-module {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-inline: max(0px, calc((100% - 100vw) / 2));
  width: 100vw;
  max-width: 100vw;
  border: 1px solid var(--border);
  border-radius: 0;
  overflow: hidden;
  background: var(--bg-card);
}

.spotlight-explainer {
  padding: 3rem max(1rem, calc((100% - var(--max-width)) / 2 + 1rem)) 3rem  max(1rem, calc((100% - var(--max-width)) / 2 + 1rem));
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border);
}

.spotlight-whats {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 0.75rem;
}

.spotlight-explainer h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  line-height: 1;
}

.spotlight-explainer p {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 42ch;
}

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

.spotlight-visual {
  position: relative;
  min-height: 400px;
  background: #0c0818;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.spotlight-visual img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius);
}

.venture-search-wrap {
  margin-bottom: 1rem;
}

.venture-search {
  width: 100%;
  max-width: 400px;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%238b92a8' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.242 1.156a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/%3E%3C/svg%3E") no-repeat 1rem center;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
}

.venture-search:focus {
  outline: none;
  border-color: var(--accent-og);
  box-shadow: 0 0 0 3px var(--accent-og-soft);
}

.venture-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: visible;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.app-card:has(.featured-credit.is-open) {
  z-index: 30;
}

.app-card.hidden { display: none; }

.app-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: color-mix(in srgb, var(--card-accent, var(--accent)) 50%, transparent);
  box-shadow: 0 0 40px color-mix(in srgb, var(--card-accent, var(--accent)) 25%, transparent);
}

.app-card-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.app-card-image img,
.app-card-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.app-card[data-id="nexus-token"] .app-card-image img {
  object-fit: contain;
  background: #0a0a0c;
  padding: 1.75rem;
}

.app-card:hover .app-card-image img,
.app-card:hover .app-card-image video { transform: scale(1.05); }

.app-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.app-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  margin: 0;
  text-transform: uppercase;
}

.app-card-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  flex: 1;
}

.app-about-link {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.app-about-link:hover { color: var(--accent); }

.launch-banner {
  background: linear-gradient(135deg, rgba(62,207,142,0.15), rgba(5,5,8,0.95));
  border: 1px solid rgba(62,207,142,0.35);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.launch-banner.spotlight-banner {
  background: linear-gradient(135deg, rgba(168,85,247,0.15), rgba(5,5,8,0.95));
  border-color: rgba(168,85,247,0.35);
}

.launch-banner h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  margin: 0 0 0.35rem;
  text-transform: uppercase;
}

.launch-banner p { margin: 0; color: var(--text-muted); }

.featured-ventures-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 1.25rem;
  width: 100%;
}

.featured-venture-card {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 0;
  width: 50%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.featured-venture-card:hover {
  transform: translateY(-6px);
  color: inherit;
  border-color: rgba(62, 207, 142, 0.4);
  box-shadow: var(--glow-green);
}

.featured-venture-card--wallet:hover {
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.25);
}

.featured-venture-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
}

.featured-venture-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.featured-venture-card--wallet .featured-venture-media img {
  object-fit: contain;
  background: #0a0a0f;
}

.featured-venture-card:hover .featured-venture-media img {
  transform: scale(1.03);
}

.featured-venture-body {
  padding: 1.35rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.featured-venture-body h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  margin: 0;
  text-transform: uppercase;
}

.featured-venture-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  flex: 1;
}

.venture-banner {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  display: block;
  background: #000;
  position: relative;
  overflow: visible;
}

.venture-banner video,
.venture-video {
  width: 100%;
  max-height: min(420px, 50vh);
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

/* ── Featured spot credits ── */
.hub-hero-credit {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.25rem;
  z-index: 4;
  padding-inline: max(1rem, calc((100% - var(--max-width)) / 2 + 1rem));
  pointer-events: none;
}

.hub-hero-credit .featured-credit {
  pointer-events: auto;
  max-width: 42rem;
}

.featured-credit {
  position: relative;
}

.featured-credit-trigger {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  background: rgba(5, 5, 8, 0.72);
  backdrop-filter: blur(12px);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.featured-credit-trigger strong {
  color: var(--accent);
  font-weight: 600;
}

.featured-credit-trigger:hover,
.featured-credit.is-open .featured-credit-trigger {
  border-color: rgba(245, 197, 24, 0.45);
  background: rgba(5, 5, 8, 0.88);
  color: var(--text);
}

.featured-credit--hero .featured-credit-trigger {
  font-size: 0.82rem;
}

.app-card-image-wrap {
  position: relative;
  overflow: visible;
  border-radius: var(--radius) var(--radius) 0 0;
}

.app-card-image-wrap .featured-credit {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 2;
}

.app-card-image-wrap .featured-credit-trigger {
  font-size: 0.68rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
}

.venture-banner .featured-credit {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
}

.google-preview-bubble {
  position: absolute;
  left: 0;
  bottom: calc(100% + 0.65rem);
  width: min(400px, 96vw);
  padding: 0.9rem;
  background: #fff;
  color: #202124;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  z-index: 100;
  pointer-events: auto;
}

.featured-credit--hero .google-preview-bubble {
  left: 0;
}

.app-card-image-wrap .google-preview-bubble,
.venture-banner .google-preview-bubble {
  left: 0;
  right: auto;
}

.gpb-result {
  display: block;
  text-decoration: none;
  color: inherit;
}

.gpb-result:hover .gpb-title {
  text-decoration: underline;
}

.gpb-title {
  display: block;
  font-size: 1.05rem;
  color: #1a0dab;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.gpb-snippet {
  display: block;
  font-size: 0.78rem;
  color: #4d5156;
  line-height: 1.45;
}

.gpb-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.gpb-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e8eaed;
  background: #f1f3f4;
  display: block;
}

.immersive-strip.bleed { padding-block: 4rem; }

.immersive-media-col { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .marquee-inner { animation: none; }
  .app-card:hover { transform: none; }
  .loader-title { animation: none; }
}

.hub-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fff 0%, var(--accent) 50%, var(--accent-og) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hub-tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 50ch;
  margin: 0 0 1.75rem;
}

.hub-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ── Section labels ── */
.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-label.hot { color: #ff6b4a; }
.section-label.spotlight { color: var(--accent-purple); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  line-height: 1;
}

.section-desc {
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 55ch;
}

section { padding: 4rem 0; position: relative; z-index: 1; }

/* ── Featured cards (HOT / Spotlight) ── */
.featured-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  color: inherit;
}

.featured-card.hot:hover { box-shadow: var(--glow-green), var(--shadow); border-color: rgba(62,207,142,0.4); }
.featured-card.spotlight:hover { box-shadow: 0 0 40px rgba(168,85,247,0.3), var(--shadow); border-color: rgba(168,85,247,0.4); }

.featured-visual {
  min-height: 280px;
  background: linear-gradient(135deg, rgba(62,207,142,0.2), rgba(5,5,8,0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.featured-card.spotlight .featured-visual {
  background: linear-gradient(135deg, rgba(168,85,247,0.25), rgba(5,5,8,0.9));
}

.featured-visual .big-name {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1;
}

.featured-body {
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
}

.tag.fintech { background: var(--accent-og-soft); color: var(--accent-og); }
.tag.immersive,
.tag.hardware { background: rgba(245,197,24,0.15); color: var(--accent); }
.tag.creative { background: rgba(168,85,247,0.15); color: var(--accent-purple); }
.tag.infrastructure { background: rgba(34,211,238,0.12); color: var(--accent-cyan); }
.tag.token { background: rgba(255,107,74,0.15); color: #ff8a6b; }

.featured-body h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.featured-body p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

/* ── Filter chips ── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.filter-chip {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-chip:hover { border-color: var(--accent); color: var(--accent); }

.filter-chip.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Venture grid ── */
.venture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.venture-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  opacity: 1;
  transform: translateY(0);
}

.venture-card.hidden { display: none; }

.venture-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 197, 24, 0.35);
  box-shadow: var(--glow-gold);
}

.venture-card[data-categories*="fintech"]:hover {
  border-color: rgba(62, 207, 142, 0.4);
  box-shadow: var(--glow-green);
}

.venture-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  margin: 0;
  text-transform: uppercase;
}

.venture-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  flex: 1;
}

.venture-card-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* ── Immersive strip ── */
.immersive-strip {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.immersive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.media-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/9;
  background: #000;
}

.media-embed iframe { width: 100%; height: 100%; border: 0; }

.sketchfab-wrap iframe { height: 360px; }

.immersive-list {
  display: grid;
  gap: 0.75rem;
}

.immersive-item {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.immersive-item h4 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.immersive-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Subpages ── */
.page-hero {
  padding: 4rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  line-height: 1;
}

.page-hero p { margin: 0; color: var(--text-muted); max-width: 60ch; }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.section-og .eyebrow { color: var(--accent-og); }

.prose { max-width: 72ch; }
.prose h2, .prose h3 {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 400;
}
.prose h2 { font-size: 1.8rem; margin: 2.5rem 0 1rem; }
.prose h3 { font-size: 1.3rem; margin: 2rem 0 0.75rem; }
.prose p, .prose li { color: var(--text-muted); }
.prose ul, .prose ol { padding-left: 1.25rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.card-body { padding: 1.35rem; }
.card h3, .card h4 { margin: 0 0 0.5rem; }
.card p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

.stat-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.pill-og { background: var(--accent-og-soft); color: var(--accent-og); }

.token-address {
  display: inline-block;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  font-family: ui-monospace, monospace;
  font-size: 0.82rem;
  word-break: break-all;
  color: var(--accent-og);
}

.form-hint {
  margin: -0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.form-error {
  margin: 0;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  font-size: 0.85rem;
}

/* ── Invest / checkout page ── */
.checkout-body {
  background: var(--bg);
}

.checkout-header .header-inner {
  align-items: center;
}

.checkout-header .brand-legal {
  display: none;
}

.checkout-header .checkout-secure-badge {
  margin-left: auto;
}

.checkout-header .nav-toggle,
.checkout-header .site-nav {
  display: none;
}

.checkout-header-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
}

.checkout-secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-og);
}

.checkout-header-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}

.checkout-header-link:hover {
  color: var(--text);
}

.checkout-page {
  padding: 3rem 0 4rem;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
}

.checkout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 0;
  max-width: 980px;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.checkout-shell--solo {
  grid-template-columns: 1fr;
  max-width: 420px;
  margin-inline: auto;
}

.checkout-summary {
  padding: 2rem 2rem 2.25rem;
  background: linear-gradient(165deg, #0e0e16 0%, #0a0a10 100%);
  border-right: 1px solid var(--border);
}

.checkout-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 2rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.checkout-back:hover {
  color: var(--text);
}

.checkout-product {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.checkout-product-img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.checkout-product-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.checkout-product-sub {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.checkout-lines {
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}

.checkout-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}

.checkout-line dt {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 400;
}

.checkout-line dd {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: right;
}

.checkout-line--amount dd,
.checkout-line--tokens dd {
  color: var(--accent);
}

.checkout-phase-badge {
  margin: 0 0 1.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-og);
}

.checkout-amount-wrap {
  position: relative;
}

.checkout-amount-prefix {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  pointer-events: none;
}

.checkout-field .checkout-amount-wrap input {
  padding-left: 2rem;
}

.checkout-field.is-valid input {
  border-color: rgba(62, 207, 142, 0.55);
}

.checkout-field.is-valid input:focus {
  box-shadow: 0 0 0 3px rgba(62, 207, 142, 0.12);
}

.checkout-field.is-invalid input {
  border-color: rgba(239, 68, 68, 0.55);
}

.checkout-field.is-invalid input:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.checkout-recap {
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(245, 197, 24, 0.25);
  background: rgba(245, 197, 24, 0.06);
}

.checkout-recap-label {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.checkout-recap-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.92rem;
}

.checkout-recap-row + .checkout-recap-row {
  margin-top: 0.45rem;
}

.checkout-recap-row strong {
  font-size: 1.05rem;
}

.checkout-recap-row--tokens strong {
  color: var(--accent);
  font-size: 1.15rem;
}

.checkout-recap-rate {
  margin: 0.75rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.checkout-summary-note {
  margin: 0 0 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.checkout-trust {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.checkout-trust li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.checkout-trust svg {
  flex-shrink: 0;
  color: var(--accent-og);
  opacity: 0.85;
}

.checkout-contract {
  font-size: 0.82rem;
}

.checkout-contract summary {
  cursor: pointer;
  color: var(--text-muted);
  font-weight: 500;
}

.checkout-contract summary:hover {
  color: var(--text);
}

.checkout-contract[open] summary {
  margin-bottom: 0.65rem;
}

.checkout-contract .token-address {
  display: block;
  width: 100%;
  font-size: 0.72rem;
}

.checkout-panel {
  padding: 2rem 2.25rem 2.5rem;
  background: var(--bg-card);
}

.checkout-shell--solo .checkout-panel {
  padding: 2rem 1.75rem 2rem;
}

.checkout-recap-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  font-size: 1rem;
  font-weight: 600;
}

.checkout-recap-inline #checkout-recap-tokens {
  color: var(--accent);
}

.checkout-recap-arrow {
  color: var(--text-muted);
  font-weight: 400;
}

.checkout-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  position: relative;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.checkout-step:not(:last-child)::after {
  content: "";
  flex: 1;
  height: 1px;
  margin: 0 0.75rem;
  background: var(--border);
}

.checkout-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 700;
}

.checkout-step.is-active {
  color: var(--text);
}

.checkout-step.is-active .checkout-step-num {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0a10;
}

.checkout-alert {
  margin-bottom: 1.5rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.5;
}

.checkout-alert--success {
  background: rgba(62, 207, 142, 0.12);
  border: 1px solid rgba(62, 207, 142, 0.35);
}

.checkout-alert--warn {
  background: rgba(245, 197, 24, 0.1);
  border: 1px solid rgba(245, 197, 24, 0.35);
}

.checkout-alert code {
  font-family: ui-monospace, monospace;
  font-size: 0.82rem;
}

.checkout-panel-head {
  margin-bottom: 1.75rem;
}

.checkout-panel-head h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.checkout-panel-head p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 42ch;
}

.checkout-form {
  display: grid;
  gap: 1.35rem;
}

.checkout-field label {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.checkout-optional {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
}

.checkout-field input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.checkout-field input::placeholder {
  color: rgba(139, 146, 168, 0.65);
}

.checkout-field input:focus {
  outline: none;
  border-color: rgba(245, 197, 24, 0.55);
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.12);
}

.checkout-field input[name="wallet"] {
  font-family: ui-monospace, monospace;
  font-size: 0.88rem;
}

.checkout-field-hint {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.checkout-field-error {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  font-size: 0.85rem;
}

.checkout-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  margin-top: 0.25rem;
}

.checkout-legal {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
  text-align: center;
}

.checkout-legal a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkout-legal a:hover {
  color: var(--text);
}

.checkout-alt {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.checkout-alt p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.checkout-alt a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-og);
}

.checkout-alt a:hover {
  color: var(--text);
}

.checkout-support {
  margin: 1.25rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

.checkout-support a {
  color: var(--text);
  font-weight: 500;
}

.checkout-footer .footer-bottom {
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.checkout-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.checkout-footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.checkout-footer-links a:hover {
  color: var(--text);
}

.timeline { display: grid; gap: 1rem; }
.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.25rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.timeline-year {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
}
.timeline-item h3 { margin: 0 0 0.4rem; font-size: 1rem; }
.timeline-item p { margin: 0; color: var(--text-muted); font-size: 0.9rem; }

.glossary-grid { display: grid; gap: 1rem; }
.glossary-term {
  padding: 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.glossary-term h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.glossary-term p { margin: 0; color: var(--text-muted); font-size: 0.9rem; }

.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.doc-link {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
}
.doc-link:hover { border-color: var(--accent-og); color: var(--text); }
.doc-link small { color: var(--text-muted); }

.module-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
.module-item {
  padding: 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.module-item h4 { margin: 0 0 0.3rem; font-size: 0.92rem; }
.module-item p { margin: 0; color: var(--text-muted); font-size: 0.82rem; }

.contact-card { text-align: center; }
.contact-card .btn { margin-top: 0.75rem; }

.subsidiary-card .media-frame { border-radius: var(--radius) var(--radius) 0 0; }

.media-frame { aspect-ratio: 16/9; background: #000; }
.media-frame iframe { width: 100%; height: 100%; border: 0; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  background: var(--bg-elevated);
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.85rem;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}
.footer-col a:hover { color: var(--accent); }

.footer-brand p { color: var(--text-muted); font-size: 0.9rem; max-width: 36ch; margin-top: 0.75rem; }

.section-elevated {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.nexus-prose {
  max-width: 65ch;
  color: var(--text-muted);
}

.nexus-prose p { margin: 0 0 1.15rem; }
.nexus-prose p:last-child { margin-bottom: 0; }

.nexus-doc-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.page-hero--compact {
  padding-bottom: 2rem;
}

.page-hero--compact h1 { margin-bottom: 0.5rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer-compact .footer-bottom {
  padding-top: 0;
  border-top: 0;
}

/* Cookie */
.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  max-width: 380px;
  margin-left: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  z-index: 500;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { margin: 0 0 0.75rem; color: var(--text-muted); font-size: 0.88rem; }
.cookie-banner button {
  border: 0;
  background: var(--accent);
  color: #111;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  cursor: pointer;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .featured-ventures-grid {
    flex-direction: column;
    flex-wrap: wrap;
  }

  .featured-venture-card {
    width: 100%;
    flex: 1 1 auto;
  }
}

@media (max-width: 900px) {
  .featured-card { grid-template-columns: 1fr; }
  .spotlight-module { grid-template-columns: 1fr; }
  .spotlight-explainer { border-right: 0; border-bottom: 1px solid var(--border); }
  .hot-stage { min-height: 360px; }
  .hot-stage-content { flex-direction: column; align-items: flex-start; }
  .immersive-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .doc-grid, .module-list, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .timeline-item { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }

  .site-header {
    overflow: visible;
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 400;
  }

  .site-nav.open { display: flex; }

  .nav-item {
    position: static;
    width: 100%;
  }

  .nav-trigger {
    width: 100%;
    justify-content: space-between;
    text-align: left;
  }

  .mega-panel,
  .nav-item.open .mega-panel {
    position: static;
    left: auto;
    right: auto;
    transform: none !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    margin-top: 0.35rem;
    box-shadow: none;
    border: 1px solid var(--border);
    box-sizing: border-box;
    overflow: hidden;
  }

  .nav-item.open .mega-panel { display: block; }

  .mega-panel::before { display: none; }

  .mega-list a {
    width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .mega-external {
    width: 100%;
    box-sizing: border-box;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }

  .brand-legal { display: none; }

  .hub-hero {
    min-height: 62vh;
    padding-bottom: 2rem;
  }

  .hub-hero h1 {
    font-size: clamp(2.5rem, 14vw, 4rem);
    word-break: break-word;
  }

  .hub-tagline {
    font-size: 0.95rem;
    max-width: 100%;
  }

  section { padding: 2.5rem 0; }

  .container {
    width: min(var(--max-width), calc(100% - 1.25rem));
  }

  .page-hero h1 {
    font-size: clamp(2rem, 10vw, 3.5rem);
    word-break: break-word;
  }

  .section-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    word-break: break-word;
  }

  .filter-bar {
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .filter-chip {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }

  .app-card-body h3,
  .featured-venture-body h3 {
    font-size: 1.25rem;
  }

  .app-card-body p,
  .featured-venture-body p {
    font-size: 0.85rem;
  }

  .btn-sm {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .venture-marquee { display: none; }

  .cookie-banner {
    right: 0.75rem;
    left: 0.75rem;
    max-width: none;
    bottom: 0.75rem;
  }

  .nexus-doc-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .nexus-doc-cta .btn { width: 100%; text-align: center; }

  .launch-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .launch-banner .btn { width: 100%; text-align: center; }

  .media-frame iframe,
  .sketchfab-wrap iframe {
    height: 220px;
  }

  .venture-banner video,
  .venture-video {
    max-height: 40vh;
  }

  .hub-hero-credit {
    padding-inline: 1rem;
    bottom: 0.75rem;
  }

  .hub-hero-credit .featured-credit-trigger {
    font-size: 0.72rem;
    border-radius: var(--radius-sm);
  }

  .google-preview-bubble {
    width: min(280px, calc(100vw - 2rem));
  }

  .app-card-image {
    aspect-ratio: 16 / 10;
  }

  .checkout-header-meta {
    gap: 0.75rem;
  }

  .checkout-secure-badge span,
  .checkout-header-link {
    font-size: 0.75rem;
  }

  .checkout-page {
    padding: 1.5rem 0 2.5rem;
    align-items: flex-start;
  }

  .checkout-shell--solo {
    max-width: 100%;
  }

  .checkout-shell {
    grid-template-columns: 1fr;
    border-radius: var(--radius);
  }

  .checkout-summary {
    padding: 1.5rem 1.25rem 1.75rem;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .checkout-back {
    margin-bottom: 1.25rem;
  }

  .checkout-product {
    margin-bottom: 1.25rem;
  }

  .checkout-panel {
    padding: 1.5rem 1.25rem 2rem;
  }

  .checkout-panel-head h2 {
    font-size: 1.25rem;
  }

  .checkout-steps {
    margin-bottom: 1.5rem;
  }

  .checkout-step-label {
    display: none;
  }

  .checkout-alt {
    flex-direction: column;
    align-items: flex-start;
  }
}

html.is-mobile .hub-hero {
  min-height: 58vh;
}
