/* Nyssa Aberdeen & Apex Predator v14.0 Static Stylesheet */
:root {
  --bg-canvas: #050811;
  --bg-surface: #0f172a;
  --bg-elevated: #111827;
  --bg-panel: #162033;
  --border-subtle: #1e293b;
  --border-strong: #334155;
  --text-main: #f1f5f9;
  --text-soft: #cbd5e1;
  --text-muted: #94a3b8;
  --accent-gold: #f59e0b;
  --accent-gold-dark: #d97706;
  --t1-emerald: #10b981;
  --t2-amber: #f59e0b;
  --t3-sky: #38bdf8;
  --t4-purple: #a855f7;
  --t5-rose: #f43f5e;
  --danger-bg: rgba(244, 63, 94, 0.12);
  --warn-bg: rgba(245, 158, 11, 0.12);
  --ok-bg: rgba(16, 185, 129, 0.12);
  --max-width: 1220px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg-canvas);
  color: var(--text-main);
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.62;
}

a {
  color: var(--t3-sky);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code, pre {
  font-family: Consolas, "Courier New", monospace;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 8, 17, 0.96);
  border-bottom: 1px solid var(--border-subtle);
}

.topbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  font-weight: 700;
  font-size: 16px;
}

.brand-wrap:hover {
  text-decoration: none;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--accent-gold);
  color: #090d16;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.brand-sub {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.nav-links a {
  color: var(--text-soft);
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-gold);
  text-decoration: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 20px 56px;
}

.legal-review-banner {
  background: var(--warn-bg);
  border: 1px solid var(--accent-gold);
  border-left: 5px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 22px;
  color: #fde68a;
  font-size: 14px;
}

.legal-review-banner strong {
  color: #ffffff;
}

.disclosure-banner {
  display: inline-block;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #bae6fd;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

.hero-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 28px;
}

.hero-card h1 {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.22;
  color: #ffffff;
}

.hero-lead {
  margin: 0 0 20px;
  font-size: 16px;
  color: var(--text-soft);
  max-width: 860px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
  opacity: 0.94;
}

.btn-primary {
  background: var(--accent-gold);
  color: #090d16;
}

.btn-secondary {
  background: var(--bg-panel);
  color: var(--text-main);
  border-color: var(--border-strong);
}

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.kpi-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.kpi-val {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.kpi-lbl {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.section-head {
  margin: 34px 0 16px;
}

.section-head h2 {
  margin: 0 0 6px;
  font-size: 24px;
  color: #ffffff;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #ffffff;
}

.card p {
  margin: 0 0 10px;
  color: var(--text-soft);
}

.tier-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tier-card.t1 { border-top-color: var(--t1-emerald); }
.tier-card.t2 { border-top-color: var(--t2-amber); }
.tier-card.t3 { border-top-color: var(--t3-sky); }
.tier-card.t4 { border-top-color: var(--t4-purple); }
.tier-card.t5 { border-top-color: var(--t5-rose); }

.ribbon {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--bg-panel);
  color: var(--text-soft);
  margin-bottom: 10px;
}

.tier-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #ffffff;
}

.tier-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.tier-price-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 12px;
}

.tier-price {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.tier-price-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 14px;
}

.t1 .cta-btn { background: var(--t1-emerald); color: #052e16; }
.t2 .cta-btn { background: var(--t2-amber); color: #1c1917; }
.t3 .cta-btn { background: var(--t3-sky); color: #082f49; }
.t4 .cta-btn { background: var(--t4-purple); color: #ffffff; }
.t5 .cta-btn { background: var(--t5-rose); color: #ffffff; }

.cta-btn:hover {
  text-decoration: none;
  opacity: 0.92;
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
}

.bullet-list li {
  padding: 5px 0 5px 20px;
  position: relative;
  color: var(--text-soft);
  border-bottom: 1px solid rgba(30, 41, 59, 0.55);
}

.bullet-list li:last-child {
  border-bottom: none;
}

.bullet-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 5px;
  color: var(--t1-emerald);
  font-weight: 800;
}

.bullet-list li.locked {
  color: #64748b;
}

.bullet-list li.locked::before {
  content: "✕";
  color: var(--t5-rose);
}

.upgrade-callout {
  background: var(--ok-bg);
  border: 1px solid var(--t1-emerald);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  margin: 22px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.code-pill {
  display: inline-block;
  background: #090d16;
  border: 1px dashed var(--t1-emerald);
  color: #6ee7b7;
  padding: 8px 14px;
  border-radius: 8px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
  font-weight: 700;
}

.matrix-wrap {
  overflow-x: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.matrix-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.matrix-tbl th,
.matrix-tbl td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
}

.matrix-tbl th {
  background: var(--bg-panel);
  color: #ffffff;
  font-weight: 700;
}

.matrix-tbl tr:last-child td {
  border-bottom: none;
}

.m-yes {
  color: #34d399;
  font-weight: 700;
}

.m-no {
  color: #fb7185;
  font-weight: 600;
}

.m-info {
  color: #7dd3fc;
  font-weight: 600;
}

.clause-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 18px;
}

.clause-card h2 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #ffffff;
}

.clause-card ul {
  margin: 8px 0 0;
  padding-left: 20px;
  color: var(--text-soft);
}

.clause-card li {
  margin-bottom: 6px;
}

.address-box {
  background: var(--bg-elevated);
  border: 1px dashed var(--border-strong);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  color: #fde68a;
  margin: 10px 0;
}

.disclaimer {
  margin-top: 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #070b15;
  padding: 24px 20px;
  margin-top: 40px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 1080px) {
  .grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .grid-5,
  .grid-3,
  .grid-2,
  .kpi-strip {
    grid-template-columns: 1fr;
  }
  .hero-card {
    padding: 22px;
  }
  .hero-card h1 {
    font-size: 25px;
  }
}
