/* SC LABS Design System 2.0
   Methodology informed by UI UX Pro Max and Awesome Design Skills.
   Original SC LABS tokens and implementation. */

:root {
  --ds-bg: #050811;
  --ds-bg-elevated: #08101d;
  --ds-surface: #0b1423;
  --ds-surface-raised: #101c2e;
  --ds-surface-glass: rgba(11, 20, 35, 0.84);
  --ds-border: rgba(145, 171, 205, 0.18);
  --ds-border-strong: rgba(112, 195, 255, 0.38);
  --ds-text: #f4f8fd;
  --ds-text-secondary: #b3c1d4;
  --ds-text-muted: #8497b0;
  --ds-primary: #4da8ff;
  --ds-primary-strong: #287dd4;
  --ds-cyan: #4fd8e8;
  --ds-violet: #8f7cff;
  --ds-success: #43d69b;
  --ds-warning: #f2b84b;
  --ds-danger: #f16f7a;
  --ds-info: #6eb8ff;
  --ds-space-1: 4px;
  --ds-space-2: 8px;
  --ds-space-3: 12px;
  --ds-space-4: 16px;
  --ds-space-6: 24px;
  --ds-space-8: 32px;
  --ds-space-10: 40px;
  --ds-space-12: 48px;
  --ds-space-16: 64px;
  --ds-space-20: 80px;
  --ds-space-24: 96px;
  --ds-space-32: 128px;
  --ds-radius-sm: 8px;
  --ds-radius-md: 12px;
  --ds-radius-lg: 16px;
  --ds-radius-xl: 24px;
  --ds-radius-pill: 999px;
  --ds-shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.18);
  --ds-shadow-md: 0 20px 60px rgba(0, 0, 0, 0.28);
  --ds-shadow-focus: 0 0 0 3px rgba(77, 168, 255, 0.28);
  --ds-font-body: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ds-font-mono: "Cascadia Code", "Consolas", monospace;
  --ds-content: 1280px;
  --ds-reading: 760px;
  --ds-transition-fast: 160ms ease;
  --ds-transition: 200ms ease;
}

html {
  scroll-padding-top: 88px;
  background: var(--ds-bg);
}

body,
.auron-page {
  font-family: var(--ds-font-body);
  color: var(--ds-text);
  background:
    radial-gradient(circle at 14% -8%, rgba(77, 168, 255, 0.13), transparent 36rem),
    radial-gradient(circle at 88% 14%, rgba(143, 124, 255, 0.09), transparent 32rem),
    var(--ds-bg);
  line-height: 1.6;
}

body::before,
.auron-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(132, 151, 176, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132, 151, 176, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 76%);
}

body::after,
.auron-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(5,8,17,0.02), rgba(5,8,17,0.8) 92%);
}

::selection {
  background: rgba(77, 168, 255, 0.28);
  color: #fff;
}

img,
svg {
  max-width: 100%;
}

p {
  color: var(--ds-text-secondary);
}

h1,
h2,
h3,
h4 {
  color: var(--ds-text);
  text-wrap: balance;
}

h1,
h2 {
  letter-spacing: -0.04em;
}

h3 {
  letter-spacing: -0.018em;
}

.skip-link {
  z-index: 10000;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 0 0 var(--ds-radius-md) 0;
  background: var(--ds-primary);
  color: #06111f;
  font-weight: 800;
}

:where(a, button, [role="button"], summary):focus-visible {
  outline: 2px solid var(--ds-cyan) !important;
  outline-offset: 3px;
  box-shadow: var(--ds-shadow-focus);
}

:where(button, [role="button"], summary, a) {
  -webkit-tap-highlight-color: transparent;
}

.particle-canvas,
.ambient-scene,
.auron-ambient,
.hero-grid,
.hero-radar,
.floating-tech-cloud,
.card-glow-pulse {
  display: none !important;
}

/* Navigation */
.nav-bar,
.auron-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 72px;
  border-bottom: 1px solid var(--ds-border);
  background: rgba(5, 8, 17, 0.86);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}

.nav-inner,
.auron-nav-inner {
  width: min(calc(100% - 32px), var(--ds-content));
  min-height: 72px;
  margin-inline: auto;
  padding: 0;
  display: flex;
  align-items: center;
  gap: var(--ds-space-6);
}

.nav-logo-link,
.auron-brand-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ds-text);
  text-decoration: none;
  flex: 0 0 auto;
}

.nav-logo-img,
.auron-brand-link img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: none;
}

.nav-wordmark {
  display: grid;
  line-height: 1.05;
}

.nav-wordmark strong {
  font-size: 0.86rem;
  letter-spacing: 0.11em;
}

.nav-wordmark small {
  margin-top: 4px;
  color: var(--ds-text-muted);
  font-family: var(--ds-font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.1em;
}

.nav-actions {
  min-width: 0;
  margin-left: auto;
}

.nav-links,
.auron-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a,
.auron-nav-links a {
  position: relative;
  min-height: 44px;
  padding: 12px 12px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--ds-radius-sm);
  color: var(--ds-text-muted);
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
  transition: color var(--ds-transition-fast), background var(--ds-transition-fast);
}

.nav-links a::after,
.auron-nav-links a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--ds-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--ds-transition-fast);
}

.nav-links a:hover,
.nav-links a[aria-current="location"],
.auron-nav-links a:hover,
.auron-nav-links a[aria-current="location"] {
  color: var(--ds-text);
  background: rgba(77, 168, 255, 0.07);
}

.nav-links a:hover::after,
.nav-links a[aria-current="location"]::after,
.auron-nav-links a:hover::after,
.auron-nav-links a[aria-current="location"]::after {
  transform: scaleX(1);
}

.sound-toggle,
.sound-status {
  display: none !important;
}

.auron-nav-cta {
  min-height: 44px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ds-border-strong);
  border-radius: var(--ds-radius-pill);
  color: var(--ds-text);
  background: rgba(77, 168, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

/* Page sections */
main > section,
.auron-page main > section {
  position: relative;
  width: min(100%, var(--ds-content));
  margin-inline: auto;
  padding: clamp(72px, 8vw, 112px) clamp(16px, 3vw, 32px);
  border-top: 1px solid rgba(145, 171, 205, 0.09);
}

main > section:first-child,
.auron-page main > section:first-child {
  border-top: 0;
}

.section-heading,
.auron-section-head {
  margin-bottom: clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: var(--ds-space-8);
}

.section-heading > div,
.auron-section-head {
  min-width: 0;
}

.section-label,
.hero-eyebrow,
.auron-kicker,
.auron-section-head > p {
  color: var(--ds-cyan);
  font-family: var(--ds-font-mono);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2,
.auron-section-head h2 {
  max-width: 760px;
  margin: 12px 0 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.05;
}

.section-heading > p,
.auron-section-head > span {
  max-width: 48ch;
  margin: 0;
  color: var(--ds-text-secondary);
  line-height: 1.75;
}

/* Homepage hero */
.hero.hero-v2 {
  min-height: calc(100vh - 72px);
  width: 100%;
  max-width: none;
  padding: clamp(56px, 7vw, 96px) max(16px, calc((100vw - var(--ds-content)) / 2 + 32px));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-v2::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -220px;
  top: 6%;
  border-radius: 50%;
  border: 1px solid rgba(77, 168, 255, 0.12);
  box-shadow:
    0 0 0 80px rgba(77, 168, 255, 0.025),
    0 0 0 160px rgba(143, 124, 255, 0.018);
  pointer-events: none;
}

.hero-v2 .hero-content {
  width: 100%;
  max-width: var(--ds-content);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
  text-align: left;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-brand-lockup {
  margin-bottom: var(--ds-space-8);
  display: inline-flex;
  align-items: center;
  gap: var(--ds-space-3);
}

.hero-brand-lockup img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.hero-brand-lockup span {
  display: grid;
  gap: 3px;
}

.hero-brand-lockup strong {
  font-size: 1.02rem;
  letter-spacing: 0.14em;
}

.hero-brand-lockup small {
  color: var(--ds-text-muted);
  font-family: var(--ds-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.hero-v2 h1 {
  max-width: 760px;
  margin: var(--ds-space-4) 0 var(--ds-space-6);
  color: var(--ds-text);
  font-size: clamp(3.1rem, 6vw, 6.7rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-v2 h1 span {
  color: var(--ds-primary);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.hero-v2 .hero-lead {
  max-width: 60ch;
  margin: 0;
  color: var(--ds-text-secondary);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.72;
}

.hero-v2 .hero-sub {
  max-width: 64ch;
  margin: var(--ds-space-4) 0 0;
  color: var(--ds-text-muted);
  font-size: 0.96rem;
  line-height: 1.72;
}

.hero-ctas,
.auron-actions,
.cta-buttons,
.auron-cta > div {
  margin-top: var(--ds-space-8);
  display: flex;
  gap: var(--ds-space-3);
  flex-wrap: wrap;
}

.btn {
  min-height: 48px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--ds-radius-md);
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    background var(--ds-transition-fast),
    border-color var(--ds-transition-fast),
    color var(--ds-transition-fast),
    transform var(--ds-transition-fast);
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--ds-primary);
  color: #06111f;
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 10px 28px rgba(40, 125, 212, 0.24);
}

.btn-primary:hover {
  background: #72baff;
}

.btn-secondary {
  background: rgba(16, 28, 46, 0.78);
  color: var(--ds-text);
  border-color: var(--ds-border);
}

.btn-secondary:hover {
  border-color: var(--ds-border-strong);
  background: var(--ds-surface-raised);
}

.hero-proof-strip {
  margin-top: var(--ds-space-10);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  background: var(--ds-border);
}

.hero-proof-item {
  min-width: 0;
  padding: var(--ds-space-4);
  background: rgba(8, 16, 29, 0.92);
}

.hero-proof-item strong {
  display: block;
  color: var(--ds-text);
  font-family: var(--ds-font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.hero-proof-item span {
  display: block;
  margin-top: 5px;
  color: var(--ds-text-muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.hero-system-map {
  position: relative;
  z-index: 2;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--ds-border-strong);
  border-radius: var(--ds-radius-xl);
  background:
    linear-gradient(145deg, rgba(16, 28, 46, 0.96), rgba(7, 13, 24, 0.96)),
    var(--ds-surface);
  box-shadow: var(--ds-shadow-md);
}

.hero-system-map::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(77, 168, 255, 0.08), transparent 35%, rgba(143, 124, 255, 0.05));
}

.system-map-head,
.system-map-foot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-4);
}

.system-map-head {
  padding-bottom: var(--ds-space-4);
  border-bottom: 1px solid var(--ds-border);
}

.system-map-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ds-text);
  font-family: var(--ds-font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.system-map-title img {
  width: 34px;
  height: 34px;
}

.system-map-state {
  padding: 6px 10px;
  border: 1px solid rgba(67, 214, 155, 0.26);
  border-radius: var(--ds-radius-pill);
  color: var(--ds-success);
  background: rgba(67, 214, 155, 0.07);
  font-family: var(--ds-font-mono);
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.system-map-grid {
  position: relative;
  margin: var(--ds-space-6) 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ds-space-3);
}

.system-node {
  position: relative;
  min-height: 148px;
  padding: var(--ds-space-4);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  background: rgba(5, 10, 19, 0.62);
  color: inherit;
  text-decoration: none;
  transition: border-color var(--ds-transition-fast), background var(--ds-transition-fast), transform var(--ds-transition-fast);
}

a.system-node {
  cursor: pointer;
}

a.system-node:hover,
a.system-node:focus-visible {
  border-color: var(--ds-border-strong);
  background: rgba(16, 28, 46, 0.86);
  transform: translateY(-2px);
}

.system-node.primary {
  grid-column: span 2;
  min-height: 178px;
  border-color: rgba(77, 168, 255, 0.34);
  background: linear-gradient(135deg, rgba(40, 125, 212, 0.16), rgba(8, 16, 29, 0.76));
}

.system-node-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--ds-space-3);
}

.system-node img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  opacity: 1;
  filter: saturate(1.12) brightness(1.14) contrast(1.06) drop-shadow(0 0 14px rgba(77, 184, 255, 0.24));
}

.system-node-status {
  color: var(--ds-text-muted);
  font-family: var(--ds-font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
}

.system-node h2,
.system-node h3 {
  margin: auto 0 4px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.system-node.primary h2 {
  font-size: 1.35rem;
}

.system-node p {
  margin: 0;
  color: var(--ds-text-muted);
  font-size: 0.74rem;
  line-height: 1.5;
}

.system-map-foot {
  padding-top: var(--ds-space-4);
  border-top: 1px solid var(--ds-border);
  color: var(--ds-text-muted);
  font-family: var(--ds-font-mono);
  font-size: 0.62rem;
}

.system-map-foot span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.system-map-foot i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ds-cyan);
}

/* Cards and Bento layouts */
.platform-grid,
.product-grid,
.principles-grid,
.status-grid,
.proof-grid,
.capability-grid,
.boundary-grid,
.auron-faq-list {
  display: grid;
  gap: var(--ds-space-4);
}

.platform-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.platform-grid > :nth-child(1) {
  grid-column: span 7;
}

.platform-grid > :nth-child(2) {
  grid-column: span 5;
}

.platform-grid > :nth-child(3) {
  grid-column: span 5;
}

.platform-grid > :nth-child(4) {
  grid-column: span 7;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card,
.card-glass,
.platform-card,
.principle-card,
.status-item,
.proof-grid article,
.capability-grid article,
.boundary-grid article,
.auron-faq details {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  background: linear-gradient(145deg, rgba(16, 28, 46, 0.82), rgba(8, 15, 27, 0.92));
  box-shadow: var(--ds-shadow-sm);
}

.product-card,
.platform-card {
  min-height: 100%;
  padding: clamp(20px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--ds-transition),
    border-color var(--ds-transition),
    background var(--ds-transition),
    box-shadow var(--ds-transition);
}

.product-card::before,
.platform-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--card-accent, var(--ds-primary));
  opacity: 0.72;
}

.product-card:hover,
.platform-card:hover,
.product-card:focus-visible,
.platform-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--ds-border-strong);
  background: linear-gradient(145deg, rgba(18, 34, 57, 0.94), rgba(9, 17, 30, 0.97));
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.3);
}

.accent-cyan { --card-accent: var(--ds-cyan); }
.accent-blue { --card-accent: var(--ds-primary); }
.accent-violet { --card-accent: var(--ds-violet); }
.accent-green { --card-accent: var(--ds-success); }
.accent-muted { --card-accent: var(--ds-text-muted); }

.card-header {
  min-height: 104px;
  margin-bottom: var(--ds-space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-4);
}

.platform-icon-crop,
.platform-icon-vector {
  width: 104px;
  height: 104px;
  padding: 10px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--ds-accent)) 38%, var(--ds-border));
  border-radius: var(--ds-radius-lg);
  background:
    radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--card-accent, var(--ds-accent)) 16%, transparent), transparent 68%),
    rgba(5, 10, 19, 0.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 12px 28px rgba(0,0,0,0.24);
}

.card-icon-crop {
  width: 92px;
  height: 92px;
  padding: 9px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--ds-accent)) 34%, var(--ds-border));
  border-radius: var(--ds-radius-lg);
  background:
    radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--card-accent, var(--ds-accent)) 14%, transparent), transparent 68%),
    rgba(5, 10, 19, 0.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 12px 28px rgba(0,0,0,0.22);
}

.card-logo-icon,
.card-logo-svg {
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  object-fit: contain;
  opacity: 1 !important;
  filter: saturate(1.12) brightness(1.12) contrast(1.06) drop-shadow(0 0 14px color-mix(in srgb, var(--card-accent, var(--ds-accent)) 34%, transparent)) !important;
}

.card-logo-icon[src$=".webp"] {
  transform: scale(1.08);
  filter: saturate(1.08) brightness(1.22) contrast(1.12) drop-shadow(0 0 16px color-mix(in srgb, var(--card-accent, var(--ds-accent)) 38%, transparent)) !important;
}

.card-logo-icon[src$=".svg"] {
  transform: scale(1.04);
}

.card-category {
  color: var(--ds-text-muted);
  font-family: var(--ds-font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card h3,
.platform-card h3 {
  margin: 10px 0 12px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.product-card p,
.platform-card p {
  margin: 0;
  color: var(--ds-text-secondary);
  font-size: 0.9rem;
  line-height: 1.72;
}

.card-tags {
  margin-top: auto;
  padding-top: var(--ds-space-6);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  min-height: 28px;
  padding: 5px 9px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-pill);
  background: rgba(132, 151, 176, 0.05);
  color: var(--ds-text-muted);
  font-family: var(--ds-font-mono);
  font-size: 0.62rem;
}

.card-detail-link,
.card-dossier-hint {
  margin-top: var(--ds-space-4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ds-primary);
  font-family: var(--ds-font-mono);
  font-size: 0.7rem;
  font-weight: 750;
  text-decoration: none;
}

.card-dossier-hint {
  color: var(--ds-text-muted);
}

.card-badge,
.modal-badge,
.status-phase,
.proof-result {
  min-height: 26px;
  padding: 5px 9px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-pill);
  background: rgba(132, 151, 176, 0.06);
  color: var(--ds-text-secondary);
  font-family: var(--ds-font-mono);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  white-space: normal;
  text-align: center;
}

.card-badge.functional,
.modal-badge.functional,
.card-badge.active,
.card-badge.public,
.modal-badge.public,
.proof-result {
  border-color: rgba(67, 214, 155, 0.3);
  background: rgba(67, 214, 155, 0.08);
  color: var(--ds-success);
  box-shadow: none;
}

.card-badge.alpha,
.card-badge.prototype,
.modal-badge.alpha,
.modal-badge.prototype,
.card-badge.development,
.modal-badge.development {
  border-color: rgba(242, 184, 75, 0.3);
  background: rgba(242, 184, 75, 0.08);
  color: var(--ds-warning);
}

.card-badge.concept,
.card-badge.research,
.card-badge.ideation,
.modal-badge.concept,
.modal-badge.research,
.modal-badge.ideation {
  border-color: rgba(143, 124, 255, 0.28);
  background: rgba(143, 124, 255, 0.08);
  color: #b8adff;
}

/* Supporting homepage sections */
.signal-strip {
  width: min(calc(100% - 32px), var(--ds-content));
  margin: 0 auto;
  padding: var(--ds-space-4) clamp(16px, 3vw, 32px);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  background: rgba(8, 16, 29, 0.74);
}

.brand-panorama {
  padding-top: var(--ds-space-16);
  padding-bottom: var(--ds-space-16);
}

.problem,
.solution,
.sclabs-about,
.about-sb,
.cta,
.auron-cta {
  border-radius: var(--ds-radius-xl);
}

.problem,
.solution,
.sclabs-about,
.about-sb {
  background: rgba(8, 16, 29, 0.4);
}

.principles-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.principle-card {
  padding: var(--ds-space-6);
  min-height: 210px;
}

.principle-card h3 {
  margin-top: var(--ds-space-8);
  font-size: 1rem;
}

.principle-card p {
  color: var(--ds-text-muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.status-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.status-item {
  min-height: 112px;
  padding: var(--ds-space-4);
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  align-items: start;
  gap: var(--ds-space-3);
  box-shadow: none;
}

.status-dot {
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--ds-text-muted);
  box-shadow: none !important;
}

.status-dot.active,
.status-dot.public {
  background: var(--ds-success);
}

.status-dot.alpha,
.status-dot.prototype,
.status-dot.development {
  background: var(--ds-warning);
}

.status-dot.concept,
.status-dot.research,
.status-dot.ideation {
  background: var(--ds-violet);
}

.status-info {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.status-name {
  color: var(--ds-text);
  font-weight: 750;
}

.status-phase {
  width: fit-content;
  min-height: 22px;
  padding: 3px 7px;
}

.status-focus {
  color: var(--ds-text-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.faq-list,
.auron-faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ds-space-3);
}

.faq-item,
.auron-faq details {
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  background: rgba(11, 20, 35, 0.7);
}

.faq-item summary,
.auron-faq summary {
  min-height: 56px;
  padding: 17px 48px 17px 18px;
  display: flex;
  align-items: center;
  color: var(--ds-text);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.faq-answer,
.auron-faq details p {
  padding: 0 18px 20px;
  color: var(--ds-text-secondary);
  font-size: 0.86rem;
  line-height: 1.72;
}

.cta,
.auron-cta {
  text-align: center;
  background:
    linear-gradient(135deg, rgba(40, 125, 212, 0.12), rgba(143, 124, 255, 0.06)),
    rgba(8, 16, 29, 0.72);
  border: 1px solid var(--ds-border);
}

.cta h2,
.auron-cta h2 {
  max-width: 920px;
  margin-inline: auto;
}

.cta-buttons,
.auron-cta > div {
  justify-content: center;
}

.footer,
.auron-footer {
  width: min(calc(100% - 32px), var(--ds-content));
  margin-inline: auto;
  padding: var(--ds-space-8) 0;
  border-top: 1px solid var(--ds-border);
  color: var(--ds-text-muted);
}

.footer p,
.auron-footer span {
  color: var(--ds-text-muted);
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ds-text-secondary);
}

/* Modal */
.modal-overlay {
  padding: var(--ds-space-4);
  background: rgba(2, 5, 10, 0.82);
  backdrop-filter: blur(12px);
}

.modal-panel,
.modal-overlay.active .modal-panel {
  width: min(760px, 100%);
  max-height: min(780px, calc(100vh - 32px));
  border: 1px solid var(--ds-border-strong);
  border-radius: var(--ds-radius-xl);
  background: var(--ds-surface-glass);
  box-shadow: var(--ds-shadow-md);
  transform: none;
  transition: opacity var(--ds-transition-fast);
}

.modal-close {
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  background: var(--ds-surface-raised);
  color: var(--ds-text);
  cursor: pointer;
}

.modal-body {
  padding: clamp(24px, 5vw, 48px);
}

.modal-icon {
  width: 72px;
  height: 72px;
  padding: 10px;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  background: rgba(5, 10, 19, 0.66);
}

.modal-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-category {
  color: var(--ds-text-muted);
  font-family: var(--ds-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.modal-name {
  margin-top: 8px;
  color: var(--ds-text);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
}

.modal-desc,
.modal-points {
  color: var(--ds-text-secondary);
  line-height: 1.72;
}

.modal-points li::marker {
  color: var(--ds-primary);
}

.modal-actions {
  display: flex;
  gap: var(--ds-space-3);
  flex-wrap: wrap;
}

.modal-cta {
  min-height: 46px;
  padding: 11px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ds-border-strong);
  border-radius: var(--ds-radius-md);
  background: rgba(77, 168, 255, 0.1);
  color: var(--ds-text);
  font-weight: 700;
  text-decoration: none;
}

.modal-cta-secondary {
  border-color: var(--ds-border);
  background: var(--ds-surface-raised);
}

body.modal-open .nav-bar,
body.modal-open .auron-nav {
  filter: none;
}

/* AURON page alignment */
.auron-page main {
  z-index: auto;
}

.auron-hero {
  min-height: calc(100vh - 72px);
  width: 100%;
  max-width: none;
  padding: clamp(56px, 7vw, 96px) max(16px, calc((100vw - var(--ds-content)) / 2 + 32px)) !important;
  background: transparent;
}

.auron-hero-grid {
  width: min(100%, var(--ds-content));
  margin-inline: auto;
  grid-template-columns: minmax(0, 0.92fr) minmax(540px, 1.08fr);
  gap: clamp(48px, 7vw, 88px);
}

.auron-title-lockup {
  gap: var(--ds-space-4);
}

.auron-title-lockup > img {
  width: 96px;
  height: 96px;
  filter: none;
}

.auron-wordmark {
  width: min(100%, 520px);
}

.auron-title-lockup p {
  color: var(--ds-text-muted);
}

.auron-hero h1 {
  margin: var(--ds-space-8) 0 var(--ds-space-6);
  font-size: clamp(3rem, 5.6vw, 6rem);
}

.auron-hero h1 span {
  color: var(--ds-primary);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.auron-lead {
  color: var(--ds-text-secondary);
}

.auron-trust-line {
  gap: var(--ds-space-3);
  color: var(--ds-text-muted);
}

.auron-trust-line li {
  padding: 7px 10px;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-pill);
  background: rgba(132, 151, 176, 0.04);
}

.auron-trust-line li::before {
  color: var(--ds-success);
}

.auron-product-surface {
  border-color: var(--ds-border-strong);
  border-radius: var(--ds-radius-xl);
  background: var(--ds-surface);
  box-shadow: var(--ds-shadow-md);
  transform: none;
}

.auron-product-surface:hover {
  transform: none;
}

.surface-top,
.surface-sidebar,
.surface-agents,
.surface-chat,
.surface-caption {
  background: rgba(8, 16, 29, 0.92);
}

.surface-sidebar,
.surface-agents,
.surface-top,
.surface-caption {
  border-color: var(--ds-border);
}

.surface-message.user {
  background: var(--ds-primary-strong);
}

.surface-message.assistant,
.surface-composer {
  border-color: var(--ds-border);
  background: var(--ds-surface-raised);
}

.auron-proof,
.auron-capabilities,
.auron-architecture,
.auron-boundaries,
.auron-faq {
  width: min(100%, var(--ds-content));
}

.proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.capability-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-grid article,
.capability-grid article,
.boundary-grid article {
  padding: var(--ds-space-6);
  box-shadow: var(--ds-shadow-sm);
}

.capability-grid article {
  min-height: 270px;
}

.capability-grid article:hover {
  transform: translateY(-2px);
}

.proof-metrics {
  border-color: var(--ds-border);
  background: var(--ds-border);
}

.proof-metrics div {
  background: var(--ds-surface);
}

.proof-metrics strong {
  color: var(--ds-primary);
}

.architecture-stack {
  border-color: var(--ds-border);
  border-radius: var(--ds-radius-xl);
  background: rgba(8, 16, 29, 0.72);
}

.arch-row,
.arch-columns > div {
  border-color: var(--ds-border);
  background: var(--ds-surface);
}

.arch-row span,
.arch-columns span {
  border-color: var(--ds-border);
  background: rgba(77, 168, 255, 0.06);
  color: var(--ds-text-secondary);
}

.boundary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.machine-proof {
  min-height: 44px;
  align-items: center;
}

/* Single, purposeful reveal */
.reveal-section,
.auron-reveal {
  opacity: 1;
  transform: none;
}

.js-reveal-ready .reveal-section,
.js-reveal-ready .auron-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 320ms ease, transform 320ms ease;
}

.js-reveal-ready .reveal-section.is-visible,
.js-reveal-ready .auron-reveal.auron-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1180px) {
  .hero-v2 .hero-content,
  .auron-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .auron-hero-copy {
    max-width: 880px;
  }

  .hero-system-map,
  .auron-product-surface {
    max-width: 920px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-grid,
  .principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 76px;
  }

  .nav-inner,
  .auron-nav-inner {
    width: min(calc(100% - 24px), var(--ds-content));
  }

  .nav-wordmark small,
  .auron-brand-link span {
    display: none;
  }

  .nav-actions {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-actions::-webkit-scrollbar {
    display: none;
  }

  .nav-links,
  .auron-nav-links {
    width: max-content;
  }

  .nav-links a,
  .auron-nav-links a {
    padding-inline: 10px;
  }

  .auron-nav-cta {
    margin-left: auto;
    white-space: nowrap;
  }

  .section-heading,
  .auron-section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section-heading > p,
  .auron-section-head > span {
    max-width: 64ch;
  }

  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-grid > * {
    grid-column: auto !important;
  }

  .status-grid,
  .faq-list,
  .auron-faq-list {
    grid-template-columns: 1fr;
  }

  .surface-body {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .surface-agents {
    display: none;
  }
}

@media (max-width: 680px) {
  body::before,
  .auron-page::before {
    background-size: 40px 40px;
  }

  .nav-bar,
  .auron-nav,
  .nav-inner,
  .auron-nav-inner {
    min-height: 64px;
  }

  .nav-logo-img,
  .auron-brand-link img {
    width: 38px;
    height: 38px;
  }

  main > section,
  .auron-page main > section {
    padding: 72px 16px;
  }

  .hero.hero-v2,
  .auron-hero {
    min-height: auto;
    padding: 52px 16px 72px !important;
  }

  .hero-v2::before {
    display: none;
  }

  .hero-v2 .hero-content,
  .auron-hero-grid {
    gap: 48px;
  }

  .hero-v2 h1,
  .auron-hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.3rem);
  }

  .hero-brand-lockup img {
    width: 60px;
    height: 60px;
  }

  .card-header {
    min-height: 88px;
    gap: 12px;
  }

  .platform-icon-crop,
  .platform-icon-vector {
    width: 84px;
    height: 84px;
    padding: 8px;
  }

  .card-icon-crop {
    width: 78px;
    height: 78px;
    padding: 8px;
  }

  .system-node img {
    width: 60px;
    height: 60px;
  }

  .hero-ctas,
  .auron-actions,
  .cta-buttons,
  .auron-cta > div {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-ctas .btn,
  .auron-actions .btn,
  .cta-buttons .btn,
  .auron-cta .btn {
    width: 100%;
  }

  .hero-proof-strip {
    grid-template-columns: 1fr;
  }

  .system-map-grid {
    grid-template-columns: 1fr;
  }

  .system-node.primary {
    grid-column: auto;
  }

  .system-map-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .platform-grid,
  .product-grid,
  .principles-grid,
  .proof-grid,
  .capability-grid,
  .boundary-grid {
    grid-template-columns: 1fr;
  }

  .product-card,
  .platform-card,
  .proof-grid article,
  .capability-grid article,
  .boundary-grid article {
    padding: 20px;
  }

  .card-header {
    margin-bottom: 20px;
  }

  .surface-body {
    display: block;
  }

  .surface-sidebar {
    display: none;
  }

  .surface-chat {
    min-height: 430px;
    padding: 16px;
  }

  .auron-title-lockup > img {
    width: 72px;
    height: 72px;
  }

  .auron-wordmark {
    width: 235px;
  }

  .auron-title-lockup p {
    display: none;
  }

  .modal-overlay {
    padding: 8px;
  }

  .modal-panel {
    max-height: calc(100vh - 16px);
    border-radius: var(--ds-radius-lg);
  }

  .modal-body {
    padding: 64px 20px 24px;
  }

  .modal-actions {
    display: grid;
  }
}

@media (max-width: 420px) {
  .hero-v2 h1,
  .auron-hero h1 {
    letter-spacing: -0.052em;
  }

  .system-map-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .card-badge,
  .modal-badge {
    max-width: 148px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js-reveal-ready .reveal-section,
  .js-reveal-ready .auron-reveal {
    opacity: 1;
    transform: none;
  }
}

@media (forced-colors: active) {
  .product-card,
  .platform-card,
  .status-item,
  .modal-panel,
  .hero-system-map {
    border: 1px solid CanvasText;
  }

  .card-badge,
  .modal-badge,
  .status-phase {
    border: 1px solid CanvasText;
  }
}
