/* ═══════════════════════════════════════════════════════════════
   PARIKALP — style.css
   Palette: YC Orange · Royal Navy · Off-White · Near-Black
   ═══════════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  /* Colour */
  --c-bg:          #080A12;
  --c-surface:     #0E1120;
  --c-surface-2:   #141828;
  --c-navy:        #1B2A5C;
  --c-navy-light:  #243570;
  --c-orange:      #FF6600;
  --c-orange-dim:  rgba(255,102,0,0.12);
  --c-orange-glow: rgba(255,102,0,0.35);
  --c-offwhite:    #F5F2EC;
  --c-offwhite-2:  #C8C3B8;
  --c-muted:       #7A7A8A;
  --c-border:      rgba(255,255,255,0.07);
  --c-border-hi:   rgba(255,102,0,0.3);

  /* Type */
  --f-display: 'Space Grotesk', system-ui, sans-serif;
  --f-body:    'Inter', system-ui, sans-serif;
  --f-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* Scale */
  --text-xs:   0.72rem;
  --text-sm:   0.85rem;
  --text-base: 1rem;
  --text-lg:   1.15rem;
  --text-xl:   1.35rem;
  --text-2xl:  1.7rem;
  --text-3xl:  2.2rem;
  --text-4xl:  3rem;
  --text-5xl:  4.2rem;
  --text-6xl:  5.8rem;

  /* Space */
  --space-1: 0.25rem; --space-2: 0.5rem;  --space-3: 0.75rem;
  --space-4: 1rem;    --space-5: 1.25rem;  --space-6: 1.5rem;
  --space-8: 2rem;    --space-10: 2.5rem;  --space-12: 3rem;
  --space-16: 4rem;   --space-20: 5rem;    --space-24: 6rem;
  --space-32: 8rem;

  /* Misc */
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;
  --nav-h:     72px;
  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
}

/* ── Light theme ────────────────────────────────────────────── */
:root[data-theme="light"] {
  --c-bg:          #F7F4EC;
  --c-surface:     #FFFFFF;
  --c-surface-2:   #EFEAE0;
  --c-offwhite:    #14161E;
  --c-offwhite-2:  #4B4E58;
  --c-muted:       #6E6E78;
  --c-border:      rgba(20,22,30,0.10);
  --c-border-hi:   rgba(255,102,0,0.35);
  --c-orange-dim:  rgba(255,102,0,0.10);
}
[data-theme="light"] #nav.scrolled     { background: rgba(247,244,236,0.92); }
[data-theme="light"] .btn-outline:hover {
  border-color: rgba(20,22,30,0.18);
  background: rgba(20,22,30,0.045);
}
[data-theme="light"] .hero-eyebrow {
  color: rgba(20,22,30,0.65);
  background: rgba(255,255,255,0.65);
}
[data-theme="light"] .hero-meta        { background: rgba(255,255,255,0.6); }
[data-theme="light"] .pipe-icon-wrap   { background: rgba(20,22,30,0.035); }
[data-theme="light"] .hero-logo-decor  { opacity: 0.16; }

/* Light: sandbox shell overrides */
[data-theme="light"] .sandbox-shell {
  background: #FFFFFF;
  border-color: rgba(255,102,0,0.2);
}
[data-theme="light"] .sandbox-bar {
  background: rgba(20,22,30,0.03);
}
[data-theme="light"] .sb-msg.user .sb-bubble {
  background: rgba(27,42,92,0.10);
  color: #14161E;
}
[data-theme="light"] .sb-msg.ai .sb-bubble {
  background: rgba(255,102,0,0.07);
  color: #14161E;
  border-color: rgba(255,102,0,0.18);
}
[data-theme="light"] .sb-msg.system p {
  color: var(--c-muted);
}
[data-theme="light"] .sandbox-input {
  color: #14161E;
}
[data-theme="light"] .input-wrap {
  background: #F0EDE5;
}
[data-theme="light"] .sg-btn {
  color: rgba(20,22,30,0.6);
  background: rgba(20,22,30,0.03);
}

/* Light: feature card terminal overlay */
[data-theme="light"] .fc-terminal {
  background: #F0EDE5;
}
[data-theme="light"] .fc-term-body { color: #4B4E58; }

/* Light: cost terminal */
[data-theme="light"] .cost-terminal {
  background: #F0EDE5;
  border-color: rgba(20,22,30,0.10);
}
[data-theme="light"] .terminal-body { background: transparent; }
[data-theme="light"] .tprompt { color: var(--c-orange); }
[data-theme="light"] .tcmd { color: #4B4E58; }
[data-theme="light"] .tout { color: #4B4E58; }
[data-theme="light"] .tacc { color: var(--c-orange); }
[data-theme="light"] .tcursor { color: var(--c-orange); }

/* Light: sector tag items */
[data-theme="light"] .sector-tag-item {
  background: rgba(27,42,92,0.08);
  border-color: rgba(27,42,92,0.2);
  color: #243570;
}

/* Light: onboarding banner */
[data-theme="light"] .onboarding-banner {
  background: linear-gradient(135deg, rgba(27,42,92,0.12) 0%, rgba(18,32,72,0.08) 100%);
  border-color: rgba(27,42,92,0.2);
}
[data-theme="light"] .ob-num { color: var(--c-orange); }

/* Light: team cards */
[data-theme="light"] .team-card {
  background: #FFFFFF;
}

/* Light: waitlist & contact */
[data-theme="light"] .wl-form input,
[data-theme="light"] .wl-form select {
  background: #FFFFFF;
  color: #14161E;
  border-color: rgba(20,22,30,0.15);
}
[data-theme="light"] .trust-card {
  background: #FFFFFF;
}
[data-theme="light"] .contact-card {
  background: #FFFFFF;
  border-color: rgba(20,22,30,0.10);
}

/* Light: modal */
[data-theme="light"] .modal-card {
  background: #FFFFFF;
}

/* Light: footer */
[data-theme="light"] .site-footer {
  background: #EFEAE0;
  border-color: rgba(20,22,30,0.10);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--c-bg);
  color: var(--c-offwhite);
  font-family: var(--f-body);
  font-size: var(--text-base);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, canvas, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
ul { list-style: none; }
input, select, textarea { font: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Typography helpers ──────────────────────────────────────── */
.mono { font-family: var(--f-mono); }

/* ── Container ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--space-6);
}

/* ── Section base ────────────────────────────────────────────── */
.section { padding-block: var(--space-32); }

.section-tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: var(--text-xs);
  color: var(--c-orange);
  letter-spacing: 0.12em;
  margin-bottom: var(--space-4);
  opacity: 0.85;
}

.section-header {
  max-width: 700px;
  margin-bottom: var(--space-16);
}

.section-heading {
  font-family: var(--f-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
  font-weight: 600;
  line-height: 1.1;
  color: var(--c-offwhite);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-5);
}

.section-sub {
  font-size: var(--text-lg);
  color: var(--c-offwhite-2);
  line-height: 1.7;
  max-width: 600px;
}

/* ═══════════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(8,10,18,0.92);
  backdrop-filter: blur(16px);
  border-color: var(--c-border);
  box-shadow: 0 1px 0 var(--c-border);
}

.nav-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-6);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark { flex-shrink: 0; border-radius: 50%; display: block; object-fit: cover; }
.logo-wordmark {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--c-offwhite);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin-left: auto;
}
.nav-links li a {
  font-size: var(--text-sm);
  color: var(--c-offwhite-2);
  transition: color var(--transition);
  letter-spacing: 0.01em;
}
.nav-links li a:hover { color: var(--c-offwhite); }

.nav-cta {
  font-family: var(--f-mono);
  font-size: var(--text-xs) !important;
  letter-spacing: 0.08em !important;
  color: var(--c-orange) !important;
  border: 1px solid var(--c-border-hi);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition) !important;
}
.nav-cta:hover {
  background: var(--c-orange-dim);
  color: var(--c-orange) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-offwhite-2);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  color: var(--c-offwhite-2);
  background: transparent;
  flex-shrink: 0;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.theme-toggle:hover {
  color: var(--c-orange);
  border-color: var(--c-border-hi);
  background: var(--c-orange-dim);
}
.theme-toggle .ti-icon[hidden] { display: none; }

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--text-base);
  letter-spacing: -0.01em;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--c-orange);
  color: #fff;
  box-shadow: 0 0 0 0 var(--c-orange-glow);
}
.btn-primary:hover {
  background: #ff7a1a;
  box-shadow: 0 0 24px 4px var(--c-orange-glow), 0 0 60px 8px rgba(255,102,0,0.15);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  color: var(--c-offwhite-2);
  border: 1px solid var(--c-border);
  background: transparent;
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--c-offwhite);
  background: rgba(255,255,255,0.04);
}

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

/* Primary with glow element */
#btnInitialize {
  font-family: var(--f-mono);
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
  padding: var(--space-4) var(--space-8);
}
.btn-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.25) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
#btnInitialize:hover .btn-glow { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.85;
}

#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-logo-decor {
  position: absolute;
  top: 50%;
  right: -14px;
  transform: translateY(-50%);
  width: 40vw;
  max-width: 600px;
  height: auto;
  z-index: 0;
  opacity: 0.9;
  pointer-events: none;
  user-select: none;
}
.hero-logo-decor.left {
  right: auto;
  left: -14px;
  transform: translateY(-50%) scaleX(-1);
}
@media (max-width: 900px) {
  .hero-logo-decor { display: none; }
}

.blueprint-grid {
  position: absolute;
  inset: 0;
  z-index: 3;
  background-image:
    linear-gradient(rgba(27,42,92,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,42,92,0.12) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* Corner coordinate labels */
.corner-label {
  position: absolute;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  color: rgba(255,102,0,0.4);
  letter-spacing: 0.05em;
}
.coord-tl { top: calc(var(--nav-h) + 24px); left: var(--space-8); }
.coord-br { bottom: var(--space-8); right: var(--space-8); text-align: right; }

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 820px;
  padding-inline: var(--space-6);
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--f-mono);
  font-size: var(--text-xs);
  color: rgba(245,242,236,0.5);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-6);
  border: 1px solid var(--c-border);
  padding: var(--space-2) var(--space-4);
  border-radius: 999px;
  background: rgba(14,17,32,0.6);
  backdrop-filter: blur(8px);
}

.pulse-ring {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-orange);
  box-shadow: 0 0 0 0 var(--c-orange-glow);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,102,0,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(255,102,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,102,0,0); }
}

.hero-heading {
  font-family: var(--f-display);
  font-size: clamp(var(--text-4xl), 7vw, var(--text-6xl));
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--c-offwhite);
  margin-bottom: var(--space-6);
}

.heading-accent {
  font-style: normal;
  color: var(--c-orange);
  display: inline-block;
  position: relative;
}
.heading-accent::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-orange), transparent);
  border-radius: 2px;
}

.hero-sub {
  font-size: clamp(var(--text-base), 2vw, var(--text-xl));
  color: var(--c-offwhite-2);
  line-height: 1.7;
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: var(--space-10);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  padding: var(--space-5) var(--space-6);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: rgba(14,17,32,0.55);
  backdrop-filter: blur(8px);
}

.meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}
.meta-val {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--c-orange);
}
.meta-label {
  font-size: var(--text-xs);
  color: var(--c-muted);
  letter-spacing: 0.02em;
}
.meta-sep {
  color: var(--c-border);
  font-size: var(--text-xl);
  align-self: center;
}

.scroll-cue {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--c-muted);
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  animation: floatCue 3s ease-in-out infinite;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--c-orange), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes floatCue {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}
@keyframes scrollLine {
  0%,100% { opacity: 0.3; }
  50%      { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════
   PROBLEM
   ═══════════════════════════════════════════════════════════════ */
.problem-section { background: var(--c-bg); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-12);
}
.security-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: var(--space-5);
}

.problem-card, .security-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.problem-card::before, .security-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-orange-glow), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.problem-card:hover, .security-card:hover { border-color: var(--c-border-hi); transform: translateY(-3px); }
.problem-card:hover::before, .security-card:hover::before { opacity: 1; }

.problem-num, .security-num {
  font-size: var(--text-xs);
  color: var(--c-orange);
  opacity: 0.6;
  margin-bottom: var(--space-4);
  letter-spacing: 0.1em;
}
.problem-icon, .security-icon {
  color: var(--c-offwhite-2);
  margin-bottom: var(--space-5);
}
.problem-card h3, .security-card h3 {
  font-family: var(--f-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--c-offwhite);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}
.problem-card p, .security-card p { font-size: var(--text-sm); color: var(--c-offwhite-2); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 760px;
}
.faq-item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 0 var(--space-6);
  transition: border-color var(--transition);
}
.faq-item[open] { border-color: var(--c-border-hi); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--c-offwhite);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { content: ''; }
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  color: var(--c-orange);
  font-size: var(--text-base);
  line-height: 1;
  transition: transform var(--transition), border-color var(--transition);
}
.faq-item[open] .faq-icon { transform: rotate(45deg); border-color: var(--c-border-hi); }
.faq-a {
  padding-bottom: var(--space-5);
  color: var(--c-offwhite-2);
  font-size: var(--text-sm);
  line-height: 1.7;
  max-width: 62ch;
}
.faq-a p { margin: 0; }

/* Terminal */
.cost-terminal {
  background: #060810;
  border: 1px solid rgba(255,102,0,0.2);
  border-radius: var(--radius);
  overflow: hidden;
  font-family: var(--f-mono);
  box-shadow: 0 0 40px rgba(255,102,0,0.06);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--c-border);
}
.tdot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.tdot.red    { background: #FF5F57; }
.tdot.amber  { background: #FEBC2E; }
.tdot.green  { background: #28C840; }
.terminal-title {
  margin-left: var(--space-3);
  font-size: var(--text-xs);
  color: var(--c-muted);
  letter-spacing: 0.05em;
}
.terminal-body { padding: var(--space-6) var(--space-8); display: flex; flex-direction: column; gap: var(--space-3); }
.tline { font-size: var(--text-sm); }
.tprompt { color: var(--c-orange); margin-right: var(--space-3); }
.tcmd   { color: var(--c-offwhite-2); }
.tout   { color: var(--c-offwhite-2); padding-left: 1.2rem; }
.tacc   { color: var(--c-offwhite); font-weight: 600; }
.tacc.warn { color: var(--c-orange); }
.tcursor { animation: blink 1.2s step-end infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* ═══════════════════════════════════════════════════════════════
   ARCHITECTURE
   ═══════════════════════════════════════════════════════════════ */
.arch-section { background: var(--c-surface); }

/* Pipeline */
.pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--space-16);
  padding: var(--space-6) var(--space-8);
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow-x: auto;
}
.pipe-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  color: var(--c-muted);
}
.pipe-node:hover { color: var(--c-offwhite); }
.pipe-node.active { color: var(--c-orange); }
.pipe-icon-wrap {
  width: 48px; height: 48px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.02);
  transition: border-color var(--transition), background var(--transition);
}
.pipe-node.active .pipe-icon-wrap {
  border-color: var(--c-border-hi);
  background: var(--c-orange-dim);
}
.pipe-node span { font-size: var(--text-xs); letter-spacing: 0.07em; }
.pipe-connector { flex: 1; display: flex; align-items: center; min-width: 24px; max-width: 80px; }
.pipe-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--c-border), rgba(255,102,0,0.4), var(--c-border));
}

/* Feature cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: var(--space-5);
}

.feature-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition);
  outline: none;
}
.feature-card:hover,
.feature-card:focus-visible {
  border-color: var(--c-border-hi);
  transform: scale(1.02);
}
.feature-card:focus-visible { box-shadow: 0 0 0 2px var(--c-orange); }

.fc-front { transition: opacity var(--transition); }
.fc-tag {
  font-size: var(--text-xs);
  color: var(--c-orange);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
  opacity: 0.7;
}
.fc-title {
  font-family: var(--f-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--c-offwhite);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}
.fc-desc { font-size: var(--text-sm); color: var(--c-offwhite-2); line-height: 1.7; margin-bottom: var(--space-5); }

.format-list { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.ftag {
  font-size: 0.68rem;
  color: var(--c-orange);
  background: var(--c-orange-dim);
  border: 1px solid rgba(255,102,0,0.2);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
}

.graph-mini { margin-top: var(--space-4); }

.chat-mini { margin-top: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); }
.cm-msg {
  font-size: 0.72rem;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  line-height: 1.5;
}
.cm-msg.user { background: rgba(27,42,92,0.5); color: var(--c-offwhite-2); align-self: flex-end; max-width: 90%; }
.cm-msg.ai   { background: var(--c-orange-dim); color: var(--c-offwhite-2); border: 1px solid rgba(255,102,0,0.15); }

/* Terminal overlay on hover */
.fc-terminal {
  position: absolute;
  inset: 0;
  background: #060810;
  border-radius: var(--radius);
  padding: var(--space-5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  display: flex;
  flex-direction: column;
}
.feature-card:hover .fc-terminal,
.feature-card:focus-visible .fc-terminal { opacity: 1; pointer-events: auto; }
.feature-card:hover .fc-front,
.feature-card:focus-visible .fc-front { opacity: 0; }

.fc-term-header {
  font-size: var(--text-xs);
  color: var(--c-orange);
  border-bottom: 1px solid var(--c-border);
  padding-bottom: var(--space-2);
  margin-bottom: var(--space-3);
  letter-spacing: 0.05em;
  opacity: 0.7;
}
.fc-term-body {
  font-size: 0.68rem;
  color: var(--c-offwhite-2);
  line-height: 1.8;
  overflow: hidden;
  flex: 1;
}

/* ═══════════════════════════════════════════════════════════════
   SANDBOX
   ═══════════════════════════════════════════════════════════════ */
.sandbox-section { background: var(--c-bg); }

.sandbox-shell {
  border: 1px solid rgba(255,102,0,0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #060810;
  box-shadow: 0 0 60px rgba(255,102,0,0.07), 0 0 120px rgba(27,42,92,0.15);
  display: flex;
  flex-direction: column;
  max-height: 600px;
}

.sandbox-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--c-border);
  flex-shrink: 0;
}
.sdot { width: 10px; height: 10px; border-radius: 50%; }
.sdot.red    { background: #FF5F57; }
.sdot.amber  { background: #FEBC2E; }
.sdot.green  { background: #28C840; }
.sandbox-title {
  flex: 1;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--c-muted);
  letter-spacing: 0.06em;
}
.sandbox-status {
  font-size: 0.65rem;
  color: #28C840;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 4px;
}
.sandbox-status::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #28C840;
  animation: pulse 2s infinite;
}

.sandbox-messages {
  flex: 1;
  padding: var(--space-6) var(--space-8);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  scrollbar-width: thin;
  scrollbar-color: var(--c-border) transparent;
}
.sandbox-messages::-webkit-scrollbar { width: 4px; }
.sandbox-messages::-webkit-scrollbar-thumb { background: var(--c-border); border-radius: 2px; }

.sb-msg {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  max-width: 85%;
  animation: slideIn 0.3s ease;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.sb-msg.system { max-width: 100%; }
.sb-msg.user   { align-self: flex-end; }
.sb-msg.ai     { align-self: flex-start; }

.sb-label {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-1);
  opacity: 0.5;
}
.sb-msg.user   .sb-label { color: var(--c-navy-light); align-self: flex-end; }
.sb-msg.ai     .sb-label { color: var(--c-orange); }
.sb-msg.system .sb-label { color: var(--c-muted); }

.sb-msg p, .sb-bubble {
  font-family: var(--f-mono);
  font-size: var(--text-xs);
  line-height: 1.75;
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
}
.sb-msg.system p { color: var(--c-muted); background: transparent; padding: 0; }
.sb-msg.user   .sb-bubble { background: var(--c-navy); color: var(--c-offwhite-2); }
.sb-msg.ai     .sb-bubble { background: rgba(255,102,0,0.08); border: 1px solid rgba(255,102,0,0.15); color: var(--c-offwhite-2); }
.sb-msg.ai .sb-bubble .highlight { color: var(--c-orange); }

.sandbox-suggestions {
  display: flex;
  gap: var(--space-2);
  padding: 0 var(--space-8) var(--space-4);
  overflow-x: auto;
  flex-shrink: 0;
  scrollbar-width: none;
}
.sandbox-suggestions::-webkit-scrollbar { display: none; }
.sg-btn {
  font-size: 0.65rem;
  color: var(--c-muted);
  border: 1px solid var(--c-border);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all var(--transition);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.sg-btn:hover {
  border-color: var(--c-border-hi);
  color: var(--c-orange);
  background: var(--c-orange-dim);
}

.sandbox-input-row {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--c-border);
  flex-shrink: 0;
}
.input-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-2) var(--space-2) var(--space-4);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input-wrap:focus-within {
  border-color: var(--c-orange);
  box-shadow: 0 0 0 3px var(--c-orange-dim), 0 0 20px rgba(255,102,0,0.08);
  animation: inputPulse 2s ease-in-out infinite;
}
@keyframes inputPulse {
  0%,100% { box-shadow: 0 0 0 3px var(--c-orange-dim), 0 0 20px rgba(255,102,0,0.08); }
  50%      { box-shadow: 0 0 0 3px var(--c-orange-dim), 0 0 35px rgba(255,102,0,0.15); }
}

.input-prefix { color: var(--c-orange); font-size: var(--text-sm); opacity: 0.7; }
.sandbox-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--f-mono);
  font-size: var(--text-xs);
  color: var(--c-offwhite);
  caret-color: var(--c-orange);
  letter-spacing: 0.02em;
}
.sandbox-input::placeholder { color: var(--c-muted); }
.input-send {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  background: var(--c-orange);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
  flex-shrink: 0;
}
.input-send:hover { background: #ff7a1a; }

/* Contact nudge bubble (shown after 3 messages) */
.sb-contact-nudge .sb-nudge-bubble {
  background: linear-gradient(135deg, rgba(255,102,0,0.10), rgba(27,42,92,0.10));
  border: 1px solid rgba(255,102,0,0.25);
  color: var(--c-offwhite-2);
  line-height: 1.8;
  max-width: 100%;
  animation: nudgePop 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes nudgePop {
  from { transform: scale(0.95); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.sb-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-orange);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,102,0,0.35);
  transition: border-color var(--transition), color var(--transition);
  cursor: pointer;
}
.sb-contact-link:hover {
  color: #ff7a1a;
  border-color: var(--c-orange);
}
[data-theme="light"] .sb-contact-nudge .sb-nudge-bubble {
  background: linear-gradient(135deg, rgba(255,102,0,0.07), rgba(27,42,92,0.05));
  color: #14161E;
}
/* ═══════════════════════════════════════════════════════════════
   SECTORS
   ═══════════════════════════════════════════════════════════════ */
.sectors-section { background: var(--c-surface); }

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-12);
}

.sector-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--space-8);
  transition: border-color var(--transition), transform var(--transition);
}
.sector-card:hover { border-color: var(--c-border-hi); transform: translateY(-3px); }

.sector-header-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.sector-icon { color: var(--c-orange); opacity: 0.8; }
.sector-title {
  font-family: var(--f-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--c-offwhite);
  letter-spacing: -0.01em;
}
.sector-card p { font-size: var(--text-sm); color: var(--c-offwhite-2); line-height: 1.7; margin-bottom: var(--space-5); }
.sector-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.sector-tag-item {
  font-size: 0.68rem;
  color: var(--c-navy-light);
  background: rgba(27,42,92,0.4);
  border: 1px solid rgba(27,42,92,0.8);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
  color: #8fa0d4;
}

.onboarding-banner {
  background: linear-gradient(135deg, var(--c-navy) 0%, #122048 100%);
  border: 1px solid rgba(27,42,92,0.8);
  border-radius: var(--radius);
  padding: var(--space-10) var(--space-12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-10);
  position: relative;
  overflow: hidden;
}
.onboarding-banner::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(circle at right, rgba(255,102,0,0.08), transparent 70%);
}
.ob-left { flex: 1; }
.ob-left h3 {
  font-family: var(--f-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--c-offwhite);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}
.ob-left p { font-size: var(--text-base); color: var(--c-offwhite-2); line-height: 1.65; }
.ob-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
  gap: var(--space-2);
}
.ob-num {
  font-family: var(--f-display);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--c-orange);
  line-height: 1;
  letter-spacing: -0.04em;
}
.ob-label {
  font-size: var(--text-xs);
  color: var(--c-offwhite-2);
  max-width: 150px;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════
   WAITLIST
   ═══════════════════════════════════════════════════════════════ */
.waitlist-section { background: var(--c-bg); }

.waitlist-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.wl-left .section-heading { margin-top: var(--space-3); }
.wl-sub { font-size: var(--text-base); color: var(--c-offwhite-2); line-height: 1.7; margin-bottom: var(--space-8); }

.wl-form { display: flex; flex-direction: column; gap: var(--space-4); }
.wl-row  { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.wl-group { display: flex; flex-direction: column; gap: var(--space-2); }
.wl-full { grid-column: 1/-1; }

.wl-group label {
  font-size: var(--text-xs);
  color: var(--c-offwhite-2);
  letter-spacing: 0.04em;
  font-family: var(--f-mono);
}
.wl-group input,
.wl-group select {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  color: var(--c-offwhite);
  font-size: var(--text-sm);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
  -webkit-appearance: none;
}
.wl-group input::placeholder { color: var(--c-muted); }
.wl-group input:focus,
.wl-group select:focus {
  border-color: var(--c-orange);
  box-shadow: 0 0 0 3px var(--c-orange-dim);
}
.wl-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A7A8A' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: var(--space-10);
  cursor: pointer;
}
.wl-group select option { background: var(--c-surface-2); color: var(--c-offwhite); }

.wl-note { font-size: var(--text-xs); color: var(--c-muted); margin-top: var(--space-3); letter-spacing: 0.02em; }

/* Waitlist aside */
.trust-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--space-8);
  margin-bottom: var(--space-5);
}
.trust-title {
  font-family: var(--f-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--c-offwhite);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-5);
}
.trust-list { display: flex; flex-direction: column; gap: var(--space-4); }
.trust-list li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--c-offwhite-2);
  line-height: 1.6;
}
.ti { color: var(--c-orange); flex-shrink: 0; font-size: var(--text-sm); }

.pull-quote {
  border-left: 2px solid var(--c-orange);
  padding-left: var(--space-5);
  margin: 0;
}
.pull-quote p {
  font-size: var(--text-base);
  color: var(--c-offwhite-2);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: var(--space-2);
}
.pull-quote footer { font-size: var(--text-xs); color: var(--c-muted); }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  padding-block: var(--space-16) var(--space-8);
}

.footer-inner {
  display: flex;
  gap: var(--space-16);
  margin-bottom: var(--space-12);
  align-items: flex-start;
}

.footer-brand { flex: 1; }
.footer-tagline {
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--c-muted);
  letter-spacing: 0.06em;
}

.footer-nav { display: flex; gap: var(--space-12); }
.footer-col { display: flex; flex-direction: column; gap: var(--space-3); }
.fc-label {
  font-size: var(--text-xs);
  color: var(--c-offwhite-2);
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}
.footer-col a {
  font-size: var(--text-sm);
  color: var(--c-muted);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--c-offwhite); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-6);
  border-top: 1px solid var(--c-border);
  font-size: var(--text-xs);
  color: var(--c-muted);
}
.footer-legal { display: flex; gap: var(--space-6); }
.footer-legal a { color: var(--c-muted); transition: color var(--transition); }
.footer-legal a:hover { color: var(--c-offwhite-2); }

/* ═══════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════ */
.contact-section { background: var(--c-bg); }

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-8);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
}

.contact-person {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-shrink: 0;
}

.contact-name {
  font-family: var(--f-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--c-offwhite);
  letter-spacing: -0.01em;
}

.contact-role {
  display: block;
  margin-top: var(--space-1);
  font-size: var(--text-xs);
  color: var(--c-orange);
  letter-spacing: 0.05em;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: var(--c-surface-2);
  color: var(--c-offwhite-2);
  font-size: var(--text-sm);
  transition: all var(--transition);
}
.contact-link:hover,
.contact-link:focus-visible {
  border-color: var(--c-border-hi);
  background: var(--c-orange-dim);
  color: var(--c-offwhite);
  transform: translateY(-1px);
}
.cl-icon { display: flex; color: var(--c-orange); }
.cl-text { letter-spacing: 0.01em; }

@media (max-width: 900px) {
  .contact-card { flex-direction: column; align-items: flex-start; }
  .contact-links { width: 100%; }
}
@media (max-width: 480px) {
  .contact-card { padding: var(--space-6); }
  .contact-link { width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════
   MODAL
   ═══════════════════════════════════════════════════════════════ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,10,18,0.85);
  backdrop-filter: blur(8px);
}
.modal-card {
  position: relative;
  z-index: 1;
  background: var(--c-surface);
  border: 1px solid rgba(255,102,0,0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-12) var(--space-12);
  max-width: 440px;
  width: 100%;
  text-align: center;
  animation: modalIn 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-icon { margin-inline: auto; margin-bottom: var(--space-6); }
.modal-card h3 {
  font-family: var(--f-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--c-offwhite);
  margin-bottom: var(--space-3);
}
.modal-card p { font-size: var(--text-sm); color: var(--c-offwhite-2); margin-bottom: var(--space-8); }

/* ═══════════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2,0.8,0.4,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .scroll-cue { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .problem-grid  { grid-template-columns: 1fr; gap: var(--space-4); }
  .security-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .features-grid { grid-template-columns: 1fr; }
  .sectors-grid  { grid-template-columns: 1fr; }
  .waitlist-wrap { grid-template-columns: 1fr; gap: var(--space-10); }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(8,10,18,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    gap: 0;
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--c-border);
    transform: translateY(-110%);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    z-index: 99;
  }
  .nav-links.open { transform: translateY(0); }
  [data-theme="light"] .nav-links { background: rgba(247,244,236,0.97); }
  .nav-links li a {
    display: block;
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-base);
  }
  .nav-cta { margin: var(--space-4) var(--space-6); display: inline-block; }
  .nav-toggle { display: flex; }

  .hero-heading { letter-spacing: -0.02em; }
  .hero-meta { flex-direction: column; gap: var(--space-4); }
  .meta-sep  { display: none; }

  .pipeline { padding: var(--space-4); }
  .pipe-connector { min-width: 12px; }

  .wl-row { grid-template-columns: 1fr; }

  .onboarding-banner {
    flex-direction: column;
    padding: var(--space-8);
    text-align: center;
  }

  .footer-inner { flex-direction: column; gap: var(--space-8); }
  .footer-nav   { gap: var(--space-8); }

  .corner-label { display: none; }
}

@media (max-width: 480px) {
  .section { padding-block: var(--space-20); }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  #btnInitialize { width: 100%; }
  .team-grid { grid-template-columns: 1fr; }
  .advisors-row { flex-direction: column; gap: var(--space-4); align-items: flex-start; }
  .advisor-logos { flex-wrap: wrap; }
}

/* ═══════════════════════════════════════════════════════════════
   TEAM
   ═══════════════════════════════════════════════════════════════ */
.team-section { background: var(--c-bg); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.advisory-header {
  text-align: center;
  margin-top: var(--space-20);
  margin-bottom: var(--space-10);
  margin-inline: auto;
  max-width: 650px;
}

.advisory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 380px));
  justify-content: center;
  gap: var(--space-8);
  margin-inline: auto;
  max-width: 820px;
  margin-bottom: var(--space-12);
}

.team-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-5);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.team-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-orange-glow), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.team-card:hover {
  border-color: var(--c-border-hi);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 30px rgba(255,102,0,0.06);
}
.team-card:hover::before { opacity: 1; }

/* Avatar */
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255,102,0,0.2);
  flex-shrink: 0;
  transition: border-color var(--transition);
  box-shadow: 0 0 0 4px rgba(27,42,92,0.4);
}
.team-card:hover .team-avatar {
  border-color: rgba(255,102,0,0.5);
  box-shadow: 0 0 0 4px rgba(27,42,92,0.6), 0 0 16px rgba(255,102,0,0.15);
}

/* Info block */
.team-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  flex: 1;
}

.team-name {
  font-family: var(--f-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--c-offwhite);
  letter-spacing: -0.02em;
}

.team-role {
  font-size: var(--text-xs);
  color: var(--c-orange);
  letter-spacing: 0.06em;
  opacity: 0.85;
}

.team-bio {
  font-size: var(--text-sm);
  color: var(--c-offwhite-2);
  line-height: 1.65;
  margin-top: var(--space-2);
}

/* Expertise tags */
.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  justify-content: center;
  margin-top: var(--space-2);
}
.ttag {
  font-size: 0.62rem;
  color: rgba(135,155,210,0.9);
  background: rgba(27,42,92,0.4);
  border: 1px solid rgba(27,42,92,0.9);
  padding: 2px var(--space-2);
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
}

/* Social links */
.team-links {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}
.tlink {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  color: var(--c-muted);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.tlink:hover {
  background: var(--c-orange-dim);
  border-color: var(--c-border-hi);
  color: var(--c-orange);
}

/* ── Advisor strip ───────────────────────────────────────────── */
.advisors-row {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-6) var(--space-8);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  flex-wrap: wrap;
}
.advisors-label {
  font-size: var(--text-xs);
  color: var(--c-muted);
  letter-spacing: 0.08em;
  flex-shrink: 0;
  white-space: nowrap;
}
.advisor-logos {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.advisor-co {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--c-offwhite-2);
  letter-spacing: 0.04em;
  opacity: 0.6;
  transition: opacity var(--transition), color var(--transition);
}
.advisor-co:hover { opacity: 1; color: var(--c-offwhite); }
.adv-sep {
  color: var(--c-border);
  font-size: var(--text-base);
  opacity: 0.5;
}

/* ── Team responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .advisory-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .team-grid { grid-template-columns: 1fr; }
  .advisory-grid { grid-template-columns: 1fr; }
  .advisors-row { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
  .advisor-logos { gap: var(--space-3); }
}

