/* ==========================================================================
   DMNE Meme Alpha — Institutional Obsidian Glassmorphism Stylesheet
   ========================================================================== */

:root {
  --bg: #070B14;
  --bg-deep: #050810;
  --surface: rgba(13, 19, 34, 0.76);
  --surface-strong: rgba(13, 19, 34, 0.92);
  --surface-hover: rgba(18, 27, 48, 0.88);
  --border: rgba(148, 163, 184, 0.14);
  --border-subtle: rgba(26, 35, 54, 0.9);
  --border-cyan: rgba(0, 229, 255, 0.35);
  --border-emerald: rgba(16, 185, 129, 0.35);
  --text: #F1F5F9;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --cyan: #00E5FF;
  --cyan-soft: rgba(0, 229, 255, 0.12);
  --emerald: #10B981;
  --emerald-soft: rgba(16, 185, 129, 0.12);
  --blue: #3B82F6;
  --blue-soft: rgba(59, 130, 246, 0.16);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-card: 0 18px 48px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 36px rgba(0, 229, 255, 0.14);
}

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

html {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

.mono {
  font-family: var(--font-mono);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--cyan);
  color: #050810;
  font-weight: 600;
  font-size: 0.85rem;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* Ambient Backdrop */
.ambient-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.24;
}

.ambient-orb-cyan {
  width: 560px;
  height: 560px;
  top: -180px;
  left: -140px;
  background: radial-gradient(circle, #00E5FF 0%, rgba(59, 130, 246, 0.35) 55%, transparent 75%);
}

.ambient-orb-emerald {
  width: 520px;
  height: 520px;
  top: 24%;
  right: -180px;
  background: radial-gradient(circle, #10B981 0%, rgba(0, 229, 255, 0.22) 55%, transparent 75%);
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 18%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 18%, #000 35%, transparent 100%);
}

/* Status Dots */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.status-dot-emerald {
  background: var(--emerald);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
}

.status-dot-cyan {
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.8);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

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

.btn-sm {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  padding: 9px 15px;
}

.btn-lg {
  font-size: 0.94rem;
  padding: 13px 22px;
}

.btn-full {
  width: 100%;
  padding: 12px 18px;
  font-size: 0.9rem;
}

.btn-primary {
  background: linear-gradient(135deg, #00E5FF 0%, #3B82F6 100%);
  color: #050810;
  box-shadow: 0 8px 26px rgba(0, 229, 255, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(0, 229, 255, 0.34);
}

.btn-secondary {
  background: rgba(13, 19, 34, 0.86);
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.26);
}

.btn-secondary:hover {
  background: rgba(20, 30, 52, 0.95);
  border-color: var(--border-cyan);
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(7, 11, 20, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 11, 20, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}

.brand-emblem-wrap {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-emblem {
  width: 44px;
  height: 44px;
  object-fit: cover;
  background-color: #F8FAFC;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #F8FAFC;
}

.brand-subtitle {
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 2px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.18s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.menu-line {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-drawer {
  border-top: 1px solid var(--border);
  background: rgba(7, 11, 20, 0.97);
}

.mobile-drawer-inner {
  padding: 18px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-nav-link {
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.mobile-nav-link:hover {
  color: var(--text);
}

.mobile-login-btn {
  margin-top: 6px;
  padding: 11px 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

/* Glass Cards & Media Showcases */
.glass-card {
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.glass-showcase {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface-strong);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.showcase-media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #070B14;
  overflow: hidden;
}

.showcase-media {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.glass-showcase.is-fallback .showcase-media {
  display: none;
}

.fallback-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, rgba(19, 34, 61, 0.72), #070B14 78%);
}

.fallback-svg {
  width: 100%;
  height: 100%;
}

.showcase-scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 11, 20, 0.04) 45%, rgba(7, 11, 20, 0.82) 100%);
}

.status-pills-overlay {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(7, 11, 20, 0.9);
  border-top: 1px solid var(--border);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: #DBEAFE;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.18);
  padding: 5px 10px;
  border-radius: 999px;
}

.showcase-caption {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 16px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: rgba(7, 11, 20, 0.92);
  border-top: 1px solid var(--border);
}

/* Section 2: Hero */
.hero-section {
  padding: 84px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 44px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  color: var(--cyan);
  background: var(--cyan-soft);
  border: 1px solid var(--border-cyan);
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.1vw, 3.35rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #F8FAFC;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1.03rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-description strong {
  color: var(--text);
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(13, 19, 34, 0.72);
  border: 1px solid var(--border);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-label {
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.meta-value {
  font-size: 0.8rem;
  color: var(--text);
}

.meta-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
}

/* Shared Section Headers */
.section {
  padding: 78px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.section-header {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #F8FAFC;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 0.99rem;
  color: var(--text-muted);
}

/* Section 3: Interactive Pipeline */
.pipeline-shell {
  padding: 26px;
}

.stage-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.stage-tab {
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  padding: 14px 15px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(7, 11, 20, 0.65);
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.stage-tab:hover {
  border-color: rgba(0, 229, 255, 0.28);
  color: var(--text);
  background: rgba(15, 23, 42, 0.9);
}

.stage-tab.is-active {
  border-color: var(--cyan);
  background: rgba(0, 229, 255, 0.1);
  color: #F8FAFC;
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.14);
}

.stage-index {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--cyan);
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.25);
  flex-shrink: 0;
}

.stage-label {
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.25;
}

/* Signal-Flow SVG */
.signal-flow-board {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(5, 8, 16, 0.72);
  padding: 8px 16px;
  margin-bottom: 24px;
}

.signal-flow-svg {
  width: 100%;
  height: auto;
  max-height: 112px;
}

.flow-pulse-stream {
  opacity: 0.55;
  animation: flowDash 3.6s linear infinite;
}

@keyframes flowDash {
  from {
    stroke-dashoffset: 68;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.flow-node {
  cursor: pointer;
}

.flow-node-halo {
  fill: rgba(0, 229, 255, 0.04);
  stroke: rgba(148, 163, 184, 0.18);
  stroke-width: 1.2;
  transition: fill 0.25s ease, stroke 0.25s ease;
}

.flow-node-core {
  fill: #0D1322;
  stroke: #334155;
  stroke-width: 2;
  transition: fill 0.25s ease, stroke 0.25s ease;
}

.flow-node-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  fill: #94A3B8;
  transition: fill 0.25s ease;
}

.flow-node.is-complete .flow-node-core {
  fill: rgba(16, 185, 129, 0.18);
  stroke: var(--emerald);
}

.flow-node.is-complete .flow-node-num {
  fill: var(--emerald);
}

.flow-node.is-active .flow-node-halo {
  fill: rgba(0, 229, 255, 0.14);
  stroke: rgba(0, 229, 255, 0.6);
}

.flow-node.is-active .flow-node-core {
  fill: #071B2C;
  stroke: var(--cyan);
}

.flow-node.is-active .flow-node-num {
  fill: var(--cyan);
}

/* Pipeline Split Body */
.pipeline-body {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 24px;
  align-items: stretch;
}

.stage-detail-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(7, 11, 20, 0.7);
  border: 1px solid var(--border);
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.detail-code {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.verified-badge {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--emerald);
  background: var(--emerald-soft);
  border: 1px solid var(--border-emerald);
  padding: 4px 9px;
  border-radius: 999px;
}

.detail-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 12px;
}

.detail-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.detail-points {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.detail-points li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  color: #CBD5E1;
}

.detail-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.7);
}

.detail-footer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.detail-kv {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.kv-label {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.kv-value {
  font-size: 0.8rem;
  color: var(--text);
}

/* Section 4: Supervision & Parity */
.supervision-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}

.agents-stack {
  display: grid;
  gap: 18px;
}

.agent-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.agent-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.agent-badge {
  font-size: 0.71rem;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 6px;
}

.agent-badge-cyan {
  color: var(--cyan);
  background: var(--cyan-soft);
  border: 1px solid var(--border-cyan);
}

.agent-badge-emerald {
  color: var(--emerald);
  background: var(--emerald-soft);
  border: 1px solid var(--border-emerald);
}

.agent-title {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 10px;
}

.agent-copy {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.agent-list {
  list-style: none;
  display: grid;
  gap: 7px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: #CBD5E1;
}

.agent-list li::before {
  content: "› ";
  color: var(--cyan);
  font-weight: 700;
}

.parity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.parity-card {
  padding: 24px;
}

.parity-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(7, 11, 20, 0.85);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.parity-icon svg {
  width: 24px;
  height: 24px;
}

.parity-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 10px;
}

.parity-copy {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Section 5: Licensing Tiers */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tier-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.tier-card-featured {
  border-color: var(--border-cyan);
  background: linear-gradient(160deg, rgba(14, 24, 44, 0.92) 0%, rgba(11, 18, 34, 0.82) 100%);
  box-shadow: var(--shadow-card), 0 0 38px rgba(0, 229, 255, 0.12);
}

.tier-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.tier-tag {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #CBD5E1;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.24);
  padding: 4px 10px;
  border-radius: 6px;
}

.tier-tag-cyan {
  color: var(--cyan);
  background: var(--cyan-soft);
  border-color: var(--border-cyan);
}

.tier-title {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 12px;
}

.tier-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.tier-features {
  list-style: none;
  display: grid;
  gap: 11px;
  margin-bottom: 26px;
  flex: 1;
}

.tier-features li {
  position: relative;
  padding-left: 20px;
  font-size: 0.91rem;
  color: #CBD5E1;
}

.tier-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--emerald);
  font-weight: 700;
}

.tier-cta-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.tier-cta-row .btn {
  padding: 12px 16px;
  font-size: 0.88rem;
}

/* Footer */
.site-footer {
  padding: 58px 0 46px;
  border-top: 1px solid var(--border);
  background: rgba(5, 8, 16, 0.88);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

.legal-notice {
  padding: 20px 22px;
  border-radius: var(--radius-md);
}

.legal-heading {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 8px;
}

.legal-copy {
  font-size: 0.84rem;
  line-height: 1.68;
  color: var(--text-muted);
}

.legal-copy strong {
  color: var(--text);
}

.legal-copy a {
  color: var(--cyan);
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 20px;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

/* Reveal Animation (safe default visible unless JS animates) */
html.js-reveal .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

html.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid,
  .pipeline-body,
  .supervision-grid {
    grid-template-columns: 1fr;
  }

  .stage-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .parity-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .primary-nav,
  .header-actions .btn-primary {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .tiers-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-section {
    padding: 54px 0 48px;
  }

  .section {
    padding: 56px 0;
  }

  .stage-tabs,
  .detail-footer,
  .tier-cta-row {
    grid-template-columns: 1fr;
  }

  .pipeline-shell,
  .tier-card {
    padding: 20px;
  }

  .meta-divider {
    display: none;
  }
}

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

  .flow-pulse-stream {
    animation: none;
  }

  html.js-reveal .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
