/* ==========================================================================
   Mentor Sentinel: mentor_sentinel.css
   Clean premium dark fintech
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&family=Orbitron:wght@600;700&display=swap');

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  --bg:        #081220;
  --bg-deep:   #050A12;
  --panel:     #0B1220;
  --panel2:    #0F172A;
  --panel3:    #111827;
  --border:    #1E293B;
  --border2:   #263452;
  --blue:      #2563EB;
  --blue2:     #3B82F6;
  --blue3:     #60A5FA;
  --blue-dim:  #1D4ED8;
  --green:     #22C55E;
  --green-dim: #166534;
  --red:       #EF4444;
  --text:      #E2E8F0;
  --muted:     #94A3B8;
  --muted2:    #7E8A9A;
  --white:     #F8FAFC;
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 20px;
  --shadow:    0 24px 72px rgba(0,0,0,.45);
  --shadow-sm: 0 4px 20px rgba(0,0,0,.3);
  --gutter:    28px;
  --max-w:     1220px;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: radial-gradient(circle at top center, #0D2548 0%, var(--bg) 38%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font-family: inherit; }

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--blue2);
  margin-bottom: 12px;
}

.section-title {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 12px;
  max-width: 620px;
}

.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------------------
   Utility
   -------------------------------------------------------------------------- */
.green  { color: var(--green); }
.red    { color: var(--red); }
.muted  { color: var(--muted); }
.blue   { color: var(--blue2); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: border-color .2s, background .2s, opacity .2s;
  white-space: nowrap;
  background: transparent;
}
.btn:hover { border-color: var(--blue3); color: var(--white); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), #1A44A8);
  border-color: var(--blue2);
  color: var(--white);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--blue2), var(--blue)); opacity: .92; }

.btn-ghost {
  background: rgba(255,255,255,.04);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(8,18,32,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-inner {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img { height: 42px; width: auto; }
.nav-logo-svg { display: block; height: 78px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .01em;
  transition: color .15s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}
.nav-toggle svg { display: block; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 48px;
}

.hero-copy { display: flex; flex-direction: column; gap: 0; }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(34,197,94,.3);
  background: rgba(5,46,22,.5);
  color: var(--green);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 20px;
}
.hero-pill::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.85); }
}
@keyframes pulse-load {
  0%, 100% { opacity: .5; }
  50%      { opacity: .2; }
}
.loading-pulse { animation: pulse-load 1.5s ease-in-out infinite; }

.hero h1 {
  font-size: 58px;
  font-weight: 900;
  line-height: 1.06;
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--blue2); }

.hero-sub {
  font-size: 18px;
  color: #C8D0DC;
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.trust-row span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .01em;
  line-height: 1.3;
}
.trust-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--blue2);
}

/* Dashboard card (right side of hero) */
.hero-visual {
  position: relative;
}
.dashboard-frame {
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  background: #0A1422;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.window-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #0A1422;
  border-bottom: 1px solid var(--border);
}
.window-chrome .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: block;
}
.dot-red    { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green  { background: #28C840; }
.dashboard-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.dashboard-frame::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(37,99,235,.25), transparent 55%);
  pointer-events: none;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Metric Strips (Live Snapshot + All-Time Performance)
   -------------------------------------------------------------------------- */
.metric-strip {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(11,18,32,.8);
  padding: 20px 28px 24px;
  margin-bottom: 16px;
  position: relative;
}

.strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.strip-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 8px;
}
.strip-label::before {
  content: '●';
  font-size: 8px;
  animation: pulse-dot 2s ease-in-out infinite;
}
.strip-label-blue { color: var(--blue2); }
/* Label text stays blue, but its pulsing status dot is green */
.strip-label-blue::before { color: var(--green); }

/* Monitoring indicator, same size as the strip label, shield icon instead of a
   leading dot, fades green when active and red when not */
.monitoring-indicator {
  color: var(--green);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
.monitoring-indicator::before { content: none; }
.monitoring-indicator svg { width: 13px; height: 13px; flex-shrink: 0; }
.monitoring-indicator.inactive { color: var(--red); }

/* All-Time Performance - icon + number-first layout */
.perf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.perf-cell {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 18px;
  border-left: 1px solid var(--border);
}
.perf-cell:first-child { border-left: none; }
/* No divider on the leftmost cell of each row (4-column grid) */
.perf-cell:nth-child(4n+1) { border-left: none; }
.perf-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37,99,235,.22), rgba(37,99,235,.08));
  border: 1px solid rgba(59,130,246,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue2);
}
.perf-icon svg { width: 24px; height: 24px; }
.perf-text { display: flex; flex-direction: column; }
.perf-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}
.perf-value.green { color: var(--green); }
.perf-value.red   { color: var(--red); }
.perf-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.strip-meta {
  font-size: 12px;
  color: var(--muted2);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Disclaimer line moved to the bottom-right of the performance box */
.strip-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.paper-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(234,179,8,.12);
  border: 1px solid rgba(234,179,8,.25);
  color: #EAB308;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
}

.stale-warning {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.25);
  color: #FCA5A5;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
}
.stale-warning[hidden] { display: none; }

.metrics-grid {
  display: grid;
  gap: 4px;
}
.metrics-grid-7 { grid-template-columns: repeat(7, 1fr); }
.metrics-grid-4 { grid-template-columns: repeat(4, 1fr); }

.metric-cell {
  border-left: 1px solid var(--border);
  padding-left: 18px;
}

.metric-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.metric-value {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Built Different section
   -------------------------------------------------------------------------- */
.built-different { padding: 72px 0; }

.feature-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.feature-card {
  border: 1px solid var(--border);
  background: rgba(11,18,32,.75);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37,99,235,.22), rgba(37,99,235,.08));
  border: 1px solid rgba(59,130,246,.28);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--blue2);
}
.feature-icon svg { width: 26px; height: 26px; }

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* --------------------------------------------------------------------------
   How It Works (7-stage pipeline)
   -------------------------------------------------------------------------- */
.pipeline-section { padding: 80px 0; background: rgba(5,10,18,.5); }

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.pipeline-card {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
  transition: border-color .2s;
}
.pipeline-card:hover { border-color: var(--border2); }

.pipeline-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dim));
  font-size: 13px;
  font-weight: 900;
  color: var(--white);
  flex-shrink: 0;
}

.pipeline-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.pipeline-card p { font-size: 13px; color: var(--muted); line-height: 1.55; }

.pipeline-interval {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--blue3);
  font-weight: 600;
}

/* Pipeline Accordion */
.pipeline-accordion {
  max-width: 800px;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pipeline-item {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s;
}
.pipeline-item:hover { border-color: var(--border2); }
.pipeline-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.pipeline-toggle-title {
  flex: 1;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}
.pipeline-chevron {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform .2s;
}
.pipeline-toggle[aria-expanded="true"] .pipeline-chevron {
  transform: rotate(180deg);
}
.pipeline-body {
  padding: 0 20px 16px 68px;
}
.pipeline-body[hidden] { display: none; }
.pipeline-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Safety Architecture
   -------------------------------------------------------------------------- */
.safety-section { padding: 80px 0; }

.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.safety-card {
  border: 1px solid var(--border);
  background: rgba(11,18,32,.75);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .2s;
}
.safety-card:hover { border-color: rgba(37,99,235,.35); }

.safety-icon {
  font-size: 24px;
  margin-bottom: 14px;
}

.safety-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.safety-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* --------------------------------------------------------------------------
   Track Record
   -------------------------------------------------------------------------- */
.track-record-section { padding: 80px 0; background: rgba(5,10,18,.4); }

.record-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.record-card {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}

.record-value {
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
}
.record-value.positive { color: var(--green); }
.record-value.negative { color: var(--red); }

.record-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.paper-disclaimer {
  margin-top: 24px;
  border: 1px solid rgba(234,179,8,.2);
  background: rgba(234,179,8,.06);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.paper-disclaimer strong { color: #EAB308; }

/* --------------------------------------------------------------------------
   How We Compare
   -------------------------------------------------------------------------- */
.compare-section { padding: 80px 0; background: rgba(5,10,18,.4); }

.compare-card {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: 36px 40px 32px;
  margin-top: 40px;
}

.compare-table-wrap { overflow-x: auto; }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compare-table th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border2);
  white-space: nowrap;
}
.compare-table td {
  padding: 12px 16px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  line-height: 1.45;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: rgba(255,255,255,.02); }

.compare-highlight {
  background: linear-gradient(90deg, rgba(37,99,235,.12), rgba(37,99,235,.04));
  position: relative;
}
.compare-highlight td {
  border-bottom: 1px solid rgba(59,130,246,.25);
  font-weight: 600;
}
.compare-highlight td:first-child {
  border-left: 3px solid var(--blue2);
  padding-left: 13px;
}

.compare-pf-callout {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(34,197,94,.2);
  background: rgba(34,197,94,.06);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}
.compare-pf-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 120px;
  flex-shrink: 0;
}
.compare-pf-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.compare-pf-value {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.1;
}
.compare-pf-vs {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.compare-pf-vs strong { color: var(--text); }
.compare-pf-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.compare-footnote {
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted2);
  line-height: 1.6;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* --------------------------------------------------------------------------
   Plans
   -------------------------------------------------------------------------- */
.plans-section { padding: 80px 0; }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.plan-card {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, transform .2s;
}
.plan-card:hover { border-color: var(--border2); transform: translateY(-2px); }

.plan-card.featured {
  border-color: var(--blue2);
  background: linear-gradient(160deg, rgba(37,99,235,.12), var(--panel));
  position: relative;
}
.plan-card.featured::before {
  content: 'Recommended';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue), var(--blue-dim));
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 4px 14px;
  border-radius: 999px;
}

.plan-tier {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue2);
  margin-bottom: 8px;
}

.plan-name {
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 10px;
}

.plan-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 24px;
}

.plan-features {
  list-style: none;
  margin-bottom: 28px;
}
.plan-features li {
  font-size: 14px;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.plan-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.plan-features li:last-child { border-bottom: none; }

.plan-pricing {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
  font-style: italic;
}

/* --------------------------------------------------------------------------
   Licensing
   -------------------------------------------------------------------------- */
.licensing-section { padding: 80px 0; background: rgba(5,10,18,.4); }

.licensing-inner {
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(37,99,235,.08), var(--panel));
  border-radius: var(--radius-lg);
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.licensing-copy .section-title { font-size: 30px; }
.licensing-copy .section-sub { margin-top: 14px; }

.licensing-list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.licensing-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
}
.licensing-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue2);
  flex-shrink: 0;
}

.licensing-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.licensing-cta p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}
.licensing-cta a.link-email {
  color: var(--blue3);
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.licensing-cta a.link-email:hover { color: var(--white); }

/* --------------------------------------------------------------------------
   Contact / Request Demo
   -------------------------------------------------------------------------- */
.contact-section { padding: 80px 0; }

.contact-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-form {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .04em;
}

.form-input, .form-select, .form-textarea {
  background: var(--panel);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 15px;
  color: var(--white);
  transition: border-color .15s;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--blue2);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted2); }

.form-textarea { min-height: 110px; resize: vertical; }

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 6px;
}
.form-note {
  font-size: 13px;
  color: var(--muted2);
}

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-emails {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.contact-email-item {
  text-align: center;
}
.contact-email-item .label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-email-item a {
  font-size: 14px;
  color: var(--blue3);
  font-weight: 500;
}
.contact-email-item a:hover { color: var(--white); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--border);
  background: #06101D;
  padding: 52px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 36px;
}

.footer-logo-svg { display: block; height: 60px; width: auto; margin-bottom: 18px; }
.footer-entity {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}
.footer-subentity {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue2);
  margin-bottom: 16px;
}

.footer-badge-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-badge-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}
.footer-badge-list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--blue2);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 12px;
  transition: color .15s;
}
.footer-contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--blue2);
}
.footer-contact-item:hover { color: var(--text); }

.footer-disclaimer-text {
  font-size: 13px;
  color: var(--muted2);
  line-height: 1.65;
}

.footer-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

.footer-bottom-row {
  padding: 20px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-legal-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-legal-links a {
  font-size: 13px;
  color: var(--muted2);
  transition: color .15s;
}
.footer-legal-links a:hover { color: var(--text); }
.copyright-text {
  font-size: 13px;
  color: #6B7280;
}

/* --------------------------------------------------------------------------
   Launch Status Block
   -------------------------------------------------------------------------- */
.launch-status {
  border: 1px solid rgba(37,99,235,.25);
  background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(11,18,32,.9));
  border-radius: var(--radius);
  padding: 24px 32px;
  margin-bottom: 8px;
  text-align: center;
}
.launch-badge {
  display: inline-block;
  background: rgba(37,99,235,.15);
  border: 1px solid rgba(59,130,246,.3);
  color: var(--blue3);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.launch-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 700px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Validation Note
   -------------------------------------------------------------------------- */
.validation-note {
  border: 1px solid rgba(234,179,8,.18);
  background: rgba(234,179,8,.05);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
  margin-top: 16px;
}

/* --------------------------------------------------------------------------
   Plan Availability Badge
   -------------------------------------------------------------------------- */
.plan-avail {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue3);
  background: rgba(37,99,235,.12);
  border: 1px solid rgba(59,130,246,.25);
  border-radius: 6px;
  padding: 4px 10px;
  margin-bottom: 14px;
}
.plan-avail.avail-open {
  color: var(--green);
  background: rgba(34,197,94,.1);
  border-color: rgba(34,197,94,.25);
}

/* --------------------------------------------------------------------------
   Form Checkbox
   -------------------------------------------------------------------------- */
.form-checkbox-group {
  padding: 4px 0;
}
.form-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}
.form-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--blue2);
  cursor: pointer;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Divider accent
   -------------------------------------------------------------------------- */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border2), transparent);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero h1 { font-size: 48px; }
  .pipeline-grid { grid-template-columns: repeat(2, 1fr); }
  .pipeline-accordion { max-width: 100%; }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --gutter: 20px; }

  /* Nav */
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(8,18,32,.97);
    border-bottom: 1px solid var(--border);
    padding: 16px var(--gutter) 24px;
    gap: 0;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
  }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }

  /* Hero */
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .hero h1 { font-size: 38px; }
  .hero-sub { font-size: 16px; }
  .trust-row { grid-template-columns: 1fr 1fr; }
  .hero-visual { display: none; } /* Dashboard visible below fold on mobile */

  /* Metric grids */
  .metrics-grid-7 { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .perf-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; overflow: hidden; }
  .perf-cell { border-left: none; padding: 6px 8px; min-width: 0; }
  .perf-text { min-width: 0; }
  .perf-value { font-size: 22px; }

  /* Feature / safety / pipeline / plans */
  .feature-cards,
  .safety-grid,
  .plans-grid { grid-template-columns: 1fr; }

  .pipeline-grid { grid-template-columns: 1fr; }
  .pipeline-card.s7 { grid-column: auto; }

  /* Track record */
  .record-grid { grid-template-columns: repeat(2, 1fr); overflow: hidden; }
  .record-card { min-width: 0; padding: 24px 16px; }
  .record-value { font-size: 28px; }

  /* How We Compare */
  .compare-card { padding: 24px 16px 24px; }
  .compare-table th,
  .compare-table td { padding: 10px 10px; font-size: 13px; }
  .compare-pf-callout { flex-direction: column; gap: 16px; text-align: center; }

  /* Licensing */
  .licensing-inner { grid-template-columns: 1fr; padding: 36px 28px; gap: 32px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom-row { flex-direction: column; align-items: flex-start; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }
  .form-submit-row { flex-direction: column; align-items: stretch; }

  .section-title { font-size: 28px; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .feature-cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .metrics-grid-7 { grid-template-columns: 1fr 1fr; }
  .record-grid { grid-template-columns: 1fr 1fr; }

  /* Tighten the perf + track-record cells so the right column never clips */
  .perf-cell { gap: 10px; }
  .perf-icon { width: 36px; height: 36px; border-radius: 10px; }
  .perf-icon svg { width: 20px; height: 20px; }
  .perf-value { font-size: 20px; }
  .record-value { font-size: 24px; }
}

/* ==========================================================================
   Inner pages (legal, press, blog)
   ========================================================================== */
.page-hero {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(circle at top center, rgba(37,99,235,.10), transparent 60%);
}
.page-hero .kicker { margin-bottom: 14px; }
.page-hero h1 {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 14px;
}
.page-hero h1 .accent { color: var(--blue2); }
.page-hero .page-sub {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 720px;
}
.page-hero .page-meta {
  font-size: 13px;
  color: var(--muted2);
  margin-top: 18px;
}

.page-body { padding: 56px 0 80px; }
.prose { max-width: 820px; }
.prose h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  margin: 40px 0 14px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 10px;
}
.prose p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.prose ul, .prose ol {
  margin: 0 0 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.prose li {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}
.prose a { color: var(--blue3); }
.prose a:hover { color: var(--white); }
.prose strong { color: var(--text); }

.legal-callout {
  border: 1px solid rgba(234,179,8,.22);
  background: rgba(234,179,8,.06);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 0 0 32px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 820px;
}
.legal-callout strong { color: #EAB308; }

/* Press / Blog placeholder cards */
.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 16px;
  max-width: 980px;
}
.placeholder-card {
  border: 1px solid var(--border);
  background: rgba(11,18,32,.7);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.placeholder-card .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue2);
  margin-bottom: 12px;
}
.placeholder-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.placeholder-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

.coming-soon-banner {
  border: 1px dashed var(--border2);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  max-width: 820px;
  margin-bottom: 36px;
  background: rgba(11,18,32,.4);
}
.coming-soon-banner h2 {
  font-size: 22px;
  color: var(--white);
  margin-bottom: 10px;
}
.coming-soon-banner p { font-size: 15px; color: var(--muted); max-width: 540px; margin: 0 auto; }

.contact-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .page-hero h1 { font-size: 34px; }
  .placeholder-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Market Segments (homepage)
   ========================================================================== */
.segments-section { padding: 72px 0; }

.segments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.segment-card {
  border: 1px solid var(--border);
  background: rgba(11,18,32,.75);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, transform .2s;
}
.segment-card:hover { border-color: var(--border2); transform: translateY(-2px); }

.segment-card.featured {
  border-color: var(--blue2);
  background: linear-gradient(160deg, rgba(37,99,235,.14), var(--panel));
  box-shadow: 0 0 0 1px rgba(37,99,235,.15), var(--shadow-sm);
}

.seg-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 6px;
  padding: 4px 10px;
  margin-bottom: 16px;
}
.seg-pill.live {
  color: var(--green);
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.25);
}
.seg-pill.live::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}
.seg-pill.soon {
  color: var(--blue3);
  background: rgba(37,99,235,.12);
  border: 1px solid rgba(59,130,246,.25);
}
.seg-pill.license {
  color: #A78BFA;
  background: rgba(139,92,246,.12);
  border: 1px solid rgba(139,92,246,.3);
}

.segment-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.segment-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.62;
  margin-bottom: 16px;
}

.seg-change {
  font-size: 13px;
  color: var(--muted2);
  line-height: 1.55;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: auto;
}
.seg-change strong { color: var(--blue3); font-weight: 600; }

.seg-link {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue3);
  transition: color .15s;
}
.seg-link:hover { color: var(--white); }

.segments-foot {
  margin-top: 28px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}
.segments-foot a { color: var(--blue3); font-weight: 600; }
.segments-foot a:hover { color: var(--white); }

/* ==========================================================================
   Technology page: fail-closed pipeline flow
   ========================================================================== */
.fail-legend {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid rgba(239,68,68,.28);
  background: rgba(239,68,68,.07);
  border-radius: var(--radius);
  padding: 18px 22px;
  max-width: 880px;
  margin: 0 auto 36px;
}
.fail-legend .fail-dot {
  flex-shrink: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--red);
  margin-top: 5px;
  box-shadow: 0 0 0 4px rgba(239,68,68,.12);
}
.fail-legend p { font-size: 14px; color: var(--muted); line-height: 1.65; margin: 0; }
.fail-legend strong { color: #FCA5A5; }

.flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.flow-stage {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
}
.flow-stage:hover { border-color: var(--border2); }
.flow-stage .flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dim));
  font-size: 16px;
  font-weight: 900;
  color: var(--white);
}
.flow-body h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}
.flow-body p { font-size: 14px; color: var(--muted); line-height: 1.62; margin: 0; }

.fail-rule {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  border: 1px solid rgba(239,68,68,.3);
  background: rgba(239,68,68,.08);
  color: #FCA5A5;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.fail-rule svg { width: 14px; height: 14px; flex-shrink: 0; }

.flow-arrow {
  display: flex;
  justify-content: center;
  color: var(--border2);
  padding: 6px 0;
}
.flow-arrow svg { width: 22px; height: 22px; }

/* FAQ (technology / markets) */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 880px;
  margin: 8px auto 0;
}
.faq-card {
  border: 1px solid var(--border);
  background: rgba(11,18,32,.7);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.faq-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.faq-card p { font-size: 14px; color: var(--muted); line-height: 1.62; margin: 0; }

/* NDA gate split (technology page) */
.nda-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 880px;
  margin: 8px auto 0;
}
.nda-card {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.nda-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}
.nda-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.nda-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.nda-card.public li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.nda-card.gated li::before { content: '🔒'; flex-shrink: 0; font-size: 12px; }

/* Patents page: protected-pillars grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 880px;
  margin-top: 8px;
}
.pillar-card {
  border: 1px solid var(--border);
  background: rgba(11,18,32,.7);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.pillar-card .pillar-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(37,99,235,.22), rgba(37,99,235,.08));
  border: 1px solid rgba(59,130,246,.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue2);
  margin-bottom: 14px;
}
.pillar-card .pillar-icon svg { width: 22px; height: 22px; }
.pillar-card h3 { font-size: 16px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.pillar-card p { font-size: 14px; color: var(--muted); line-height: 1.62; margin: 0; }

@media (max-width: 1100px) {
  .segments-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .segments-grid { grid-template-columns: 1fr; }
  .faq-grid,
  .nda-split,
  .pillars-grid { grid-template-columns: 1fr; }
  .flow-stage { grid-template-columns: 36px 1fr; gap: 14px; padding: 18px 18px; }
  .flow-stage .flow-num { width: 36px; height: 36px; font-size: 14px; border-radius: 10px; }
}

/* ==========================================================================
   Nav dropdown: Market Segments
   ========================================================================== */
.nav-dropdown { position: relative; }

.nav-drop-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .01em;
  transition: color .15s;
}
.nav-drop-toggle:hover,
.nav-drop-toggle.active,
.nav-drop-toggle[aria-expanded="true"] { color: var(--white); }

.drop-chevron { flex-shrink: 0; transition: transform .18s; }
.nav-drop-toggle[aria-expanded="true"] .drop-chevron { transform: rotate(180deg); }

.nav-drop-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 244px;
  list-style: none;
  z-index: 110;
  background: var(--panel2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: 8px;
  box-shadow: var(--shadow-sm);
}
.nav-drop-menu[hidden] { display: none; }
/* Invisible hover bridge across the gap between toggle and panel */
.nav-drop-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-drop-menu li { width: 100%; }
.nav-drop-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.nav-drop-menu a:hover,
.nav-drop-menu a:focus { color: var(--white); background: rgba(37,99,235,.14); }
.nav-drop-menu a.current { color: var(--white); background: rgba(37,99,235,.18); }
.nav-drop-menu .drop-overview {
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
  padding-bottom: 6px;
}

@media (max-width: 900px) {
  .nav-dropdown { width: 100%; }
  .nav-drop-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
  }
  .nav-drop-menu {
    position: static;
    transform: none;
    min-width: 0;
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    box-shadow: none;
    background: rgba(255,255,255,.02);
    padding: 4px 0 10px 14px;
  }
  .nav-drop-menu::before { content: none; }
  /* Mobile .nav-links a rule adds row borders; menu items use panel spacing instead */
  .nav-drop-menu a { white-space: normal; border-bottom: none; }
}

/* ==========================================================================
   Market segment pages
   ========================================================================== */

/* Hero badge row (status / clock / patents / cage pills) */
.seg-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0 30px;
}
.seg-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border2);
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
}
.seg-badge strong { color: var(--blue3); font-weight: 700; }
.seg-badge.live { color: var(--green); border-color: rgba(34,197,94,.3); background: rgba(34,197,94,.07); }
.seg-badge.live strong { color: var(--green); }
.seg-badge.amber { color: #FBBF24; border-color: rgba(234,179,8,.3); background: rgba(234,179,8,.07); }
.seg-badge.license { color: #A78BFA; border-color: rgba(139,92,246,.35); background: rgba(139,92,246,.08); }
.seg-badge.license strong { color: #A78BFA; }

/* Segment subnav strip (cross-links between segment pages) */
.seg-subnav {
  border-bottom: 1px solid var(--border);
  background: rgba(8,18,32,.6);
}
.seg-subnav .wrap {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-top: 13px;
  padding-bottom: 13px;
  -webkit-overflow-scrolling: touch;
}
.seg-tab {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: color .15s, border-color .15s, background .15s;
}
.seg-tab:hover { color: var(--white); }
.seg-tab.current {
  color: var(--white);
  background: rgba(37,99,235,.16);
  border-color: rgba(59,130,246,.35);
}
.seg-tab.live {
  color: var(--green);
  background: rgba(34,197,94,.08);
  border-color: rgba(34,197,94,.22);
}
.seg-tab.gated { color: var(--muted2); border-color: var(--border); }

/* Position lifecycle timeline */
.timeline {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin: 36px auto 0;
}
.tl-step {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  align-items: start;
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color .2s;
}
.tl-step:hover { border-color: var(--border2); }
.tl-when {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue3);
  letter-spacing: .06em;
  text-transform: uppercase;
  padding-top: 3px;
  line-height: 1.5;
}
.tl-step p { font-size: 14px; color: var(--muted); line-height: 1.62; margin: 0; }
.tl-step p strong { color: var(--text); }
.tl-note {
  max-width: 880px;
  margin: 16px auto 0;
  border: 1px solid rgba(34,197,94,.22);
  background: rgba(34,197,94,.06);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}
.tl-note strong { color: var(--green); }

/* Segment adaptation diagram (native cards, no diagram library) */
.adapt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 980px;
  margin: 36px auto 0;
}
.adapt-node {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color .2s;
}
.adapt-node:hover { border-color: var(--border2); }
.adapt-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue2);
  margin-bottom: 8px;
}
.adapt-node h3 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.adapt-node p { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; }
.adapt-node.fail {
  border-color: rgba(239,68,68,.3);
  background: rgba(239,68,68,.06);
}
.adapt-node.fail .adapt-label { color: #FCA5A5; }
.adapt-node.rework {
  border-color: rgba(234,179,8,.35);
  background: rgba(234,179,8,.05);
}
.adapt-node.rework .adapt-label { color: #FBBF24; }
.unchanged-strip {
  max-width: 980px;
  margin: 16px auto 0;
  border: 1px solid var(--border);
  background: rgba(11,18,32,.7);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}
.unchanged-strip strong { color: var(--white); }

/* Status & patent posture block */
.posture-block {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(37,99,235,.25);
  background: linear-gradient(135deg, rgba(37,99,235,.08), var(--panel));
  border-radius: var(--radius);
  padding: 24px 28px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}
.posture-block strong { color: var(--text); }

/* Final CTA box on segment pages */
.seg-cta-box {
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(37,99,235,.08), var(--panel));
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.seg-cta-box h2 { font-size: 28px; font-weight: 900; color: var(--white); margin-bottom: 8px; }
.seg-cta-box p { font-size: 15px; color: var(--muted); line-height: 1.65; margin: 0; max-width: 560px; }
.seg-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .adapt-grid { grid-template-columns: 1fr; }
  .tl-step { grid-template-columns: 1fr; gap: 8px; padding: 18px 20px; }
  .seg-cta-box { padding: 32px 26px; }
  .seg-cta-actions { width: 100%; }
  .seg-cta-actions .btn { flex: 1; justify-content: center; }
}

/* ==========================================================================
   Technology page: pipeline centerpiece (stages + fail-closed rail)
   ========================================================================== */
.pipe-diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 20px;
  max-width: 1180px;
  margin: 36px auto 0;
  align-items: start;
}
.pipe-diagram .flow { max-width: none; margin: 0; }

.pipe-rail {
  position: sticky;
  top: 124px;
  border: 1px solid rgba(239,68,68,.3);
  background: linear-gradient(180deg, rgba(239,68,68,.08), rgba(11,18,32,.9));
  border-radius: var(--radius);
  padding: 24px 22px;
}
.pipe-rail-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #FCA5A5;
  margin-bottom: 12px;
}
.pipe-rail-head::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(239,68,68,.15);
  flex-shrink: 0;
}
.pipe-rail p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 14px;
}
.pipe-rail-outcomes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.pipe-rail-outcomes span {
  border: 1px solid rgba(239,68,68,.3);
  background: rgba(239,68,68,.08);
  color: #FCA5A5;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pipe-rail-note {
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.55;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin: 0;
}

/* Terminal outcomes after Stage 7: hold / tighten (one-way) / exit */
.pipe-outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.pipe-outcome {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 18px;
}
.pipe-outcome b {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.pipe-outcome p { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 0; }
.pipe-outcome.hold    { border-color: rgba(34,197,94,.3); }
.pipe-outcome.hold b  { color: var(--green); }
.pipe-outcome.tighten { border-color: rgba(234,179,8,.3); }
.pipe-outcome.tighten b { color: #FBBF24; }
.pipe-outcome.exit    { border-color: rgba(239,68,68,.3); }
.pipe-outcome.exit b  { color: #FCA5A5; }

@media (max-width: 900px) {
  .pipe-diagram { grid-template-columns: 1fr; }
  .pipe-rail { position: static; order: -1; }
  .pipe-outcomes { grid-template-columns: 1fr; }
}
