/* ========================================
   RISEEAGLE — Defense Intelligence Aesthetic
   ======================================== */

:root {
  --ink: #0c0a08;
  --ink-2: #14110d;
  --ink-3: #1d1916;
  --ink-4: #25201b;
  --bone: #f0ebe1;
  --bone-dim: #a8a094;
  --bone-muted: #6b645a;
  --gold: #e8b547;
  --gold-soft: #c89934;
  --ember: #e85d3c;
  --moss: #7fa86b;
  --line: #2a241e;
  --line-soft: #1f1a15;

  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-body: "Sora", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;

  --maxw: 1280px;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.55;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(232, 181, 71, 0.06), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(232, 93, 60, 0.04), transparent 45%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 2px, rgba(240, 235, 225, 0.01) 2px, rgba(240, 235, 225, 0.01) 3px);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(12, 10, 8, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--bone);
}

.brand-mark {
  width: 28px;
  height: 28px;
  position: relative;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-text {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.brand-text .ampersand {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--bone-dim);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--bone);
}

.nav-links a.active::before {
  content: "▸";
  position: absolute;
  left: -16px;
  color: var(--gold);
}

.nav-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 18px;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--bone);
}

/* ---------- CONTAINER ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
  position: relative;
  z-index: 2;
}

/* ---------- HERO ---------- */
.hero {
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--bone-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-meta-right {
  text-align: right;
}

.hero-meta .live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--moss);
  margin-right: 6px;
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.hero h1 em {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}

.hero-lead {
  margin-top: 2.5rem;
  max-width: 38rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: var(--bone-dim);
  font-weight: 300;
}

.hero-cta {
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 24px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--bone);
  transform: translateX(2px);
}

.btn-secondary {
  background: transparent;
  color: var(--bone);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn .arrow {
  transition: transform 0.2s;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ---------- SECTION ---------- */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: end;
}

.section-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--bone-muted);
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.section-title em {
  color: var(--gold);
  font-style: italic;
}

.section-intro {
  color: var(--bone-dim);
  font-size: 1.05rem;
  max-width: 38rem;
  margin-top: 1.5rem;
}

@media (max-width: 720px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ---------- STATS STRIP ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 2.5rem var(--pad);
  border-right: 1px solid var(--line);
  position: relative;
}

.stat:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-num em {
  color: var(--gold);
  font-style: italic;
}

.stat-label {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-muted);
}

@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ---------- CAPABILITY GRID ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.cap-card {
  background: var(--ink);
  padding: 2.5rem 2rem;
  position: relative;
  transition: background 0.2s;
}

.cap-card:hover {
  background: var(--ink-2);
}

.cap-card-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--bone-muted);
  margin-bottom: 1.5rem;
}

.cap-card-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.cap-card-icon svg { width: 100%; height: 100%; }

.cap-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.1;
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.cap-card p {
  color: var(--bone-dim);
  font-size: 0.95rem;
  line-height: 1.6;
}

.cap-card ul {
  margin-top: 1.25rem;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--bone-muted);
  text-transform: uppercase;
}

.cap-card ul li {
  padding: 6px 0;
  border-top: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
}

.cap-card ul li:first-child { border-top: none; }

.cap-card ul li span:last-child { color: var(--gold); }

@media (max-width: 720px) {
  .cap-grid { grid-template-columns: 1fr; }
}

/* ---------- PROCESS ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 2rem;
}

.process-step {
  background: var(--ink);
  padding: 2rem 1.5rem 2.5rem;
  position: relative;
}

.process-step::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.process-step:hover::before { opacity: 1; }

.process-step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  font-style: italic;
}

.process-step h4 {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.process-step p {
  margin-top: 1rem;
  color: var(--bone-dim);
  font-size: 0.9rem;
  line-height: 1.55;
}

@media (max-width: 720px) {
  .process { grid-template-columns: 1fr; }
}

/* ---------- THREAT FEED ---------- */
.feed {
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: 0;
  overflow: hidden;
  font-family: var(--font-mono);
}

.feed-head {
  padding: 14px 1.5rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--ink-3);
}

.feed-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.feed-head-right {
  font-size: 11px;
  color: var(--bone-muted);
  letter-spacing: 0.1em;
}

.feed-list {
  list-style: none;
  max-height: 360px;
  overflow: hidden;
  position: relative;
}

.feed-list li {
  padding: 12px 1.5rem;
  border-bottom: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: 90px 1fr auto auto;
  gap: 1.5rem;
  font-size: 12px;
  align-items: center;
  animation: feedIn 0.4s ease-out;
}

@keyframes feedIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.feed-time { color: var(--bone-muted); }
.feed-event { color: var(--bone); }
.feed-source { color: var(--bone-dim); font-size: 11px; }
.feed-status {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 8px;
}
.feed-status.blocked { background: rgba(127, 168, 107, 0.15); color: var(--moss); }
.feed-status.flagged { background: rgba(232, 181, 71, 0.15); color: var(--gold); }
.feed-status.severed { background: rgba(232, 93, 60, 0.15); color: var(--ember); }

@media (max-width: 720px) {
  .feed-list li {
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
  }
  .feed-source { display: none; }
}

/* ---------- ARCHITECTURE LAYERS ---------- */
.layers {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.layer {
  display: grid;
  grid-template-columns: 100px 1fr 2.5fr 100px;
  background: var(--ink);
  padding: 2rem;
  gap: 2rem;
  align-items: center;
  transition: background 0.2s;
}

.layer:hover { background: var(--ink-2); }

.layer-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.layer-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.1;
}

.layer-desc {
  color: var(--bone-dim);
  font-size: 0.95rem;
  line-height: 1.55;
}

.layer-stat {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone-muted);
  text-align: right;
}

.layer-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--bone);
  font-style: italic;
  margin-bottom: 4px;
}

@media (max-width: 900px) {
  .layer {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .layer-stat { text-align: left; }
}

/* ---------- COMPARE TABLE ---------- */
.compare {
  margin-top: 2rem;
  border: 1px solid var(--line);
  overflow-x: auto;
}

.compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 640px;
}

.compare th,
.compare td {
  padding: 1.2rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}

.compare th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-muted);
  font-weight: 400;
  background: var(--ink-2);
}

.compare th.col-us { color: var(--gold); }

.compare td:first-child {
  color: var(--bone-dim);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.compare .check {
  color: var(--moss);
  font-family: var(--font-mono);
  font-weight: 600;
}

.compare .cross {
  color: var(--bone-muted);
  font-family: var(--font-mono);
}

.compare .partial {
  color: var(--gold);
  font-family: var(--font-mono);
}

/* ---------- TIER GRID ---------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.tier {
  background: var(--ink);
  padding: 2.5rem 1.8rem;
  display: flex;
  flex-direction: column;
}

.tier.featured {
  background: var(--ink-2);
  position: relative;
}

.tier.featured::before {
  content: "RECOMMENDED";
  position: absolute;
  top: -1px;
  left: 0; right: 0;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-align: center;
  padding: 6px;
}

.tier.featured { padding-top: 3.5rem; }

.tier-name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.tier-price {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -0.01em;
}

.tier-price small {
  font-size: 0.85rem;
  color: var(--bone-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  margin-left: 4px;
}

.tier-desc {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--bone-dim);
  line-height: 1.55;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.tier-feat {
  margin-top: 1.5rem;
  list-style: none;
  flex: 1;
}

.tier-feat li {
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--bone-dim);
  position: relative;
  padding-left: 18px;
}

.tier-feat li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
}

.tier-cta {
  margin-top: 1.8rem;
  padding: 12px;
  text-align: center;
  border: 1px solid var(--line);
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
}

.tier-cta:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.tier.featured .tier-cta {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.tier.featured .tier-cta:hover {
  background: var(--bone);
  border-color: var(--bone);
}

@media (max-width: 900px) {
  .tiers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .tiers { grid-template-columns: 1fr; }
}

/* ---------- COMPLIANCE STRIP ---------- */
.compliance {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 2rem;
}

.comp-item {
  background: var(--ink);
  padding: 2rem 1rem;
  text-align: center;
  font-family: var(--font-mono);
}

.comp-item strong {
  display: block;
  font-size: 1rem;
  color: var(--bone);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.comp-item span {
  font-size: 10px;
  color: var(--bone-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .compliance { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- USE CASE ---------- */
.usecases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.usecase {
  background: var(--ink);
  padding: 2.5rem 2rem;
}

.usecase-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.usecase h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.usecase p {
  color: var(--bone-dim);
  font-size: 0.95rem;
  line-height: 1.6;
}

.usecase-stats {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.uc-stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--gold);
}

.uc-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--bone-muted);
  text-transform: uppercase;
  margin-top: 4px;
}

@media (max-width: 720px) {
  .usecases { grid-template-columns: 1fr; }
}

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--bone-dim);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-block {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.contact-block-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--bone-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.contact-block-val {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--bone);
}

.contact-block-val a {
  color: var(--bone);
  text-decoration: none;
}

.contact-block-val a:hover { color: var(--gold); }

.form {
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: 2rem;
}

.form-row {
  margin-bottom: 1.25rem;
}

.form-row label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--bone-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line);
  color: var(--bone);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  transition: border 0.2s;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--gold);
}

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

.form-submit {
  width: 100%;
  background: var(--gold);
  color: var(--ink);
  border: none;
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.form-submit:hover { background: var(--bone); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  padding: clamp(4rem, 8vw, 6rem) 0;
  text-align: center;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  max-width: 20ch;
  margin: 0 auto;
  letter-spacing: -0.015em;
}

.cta-banner h2 em {
  color: var(--gold);
  font-style: italic;
}

.cta-banner-actions {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 3rem 0 2rem;
  background: var(--ink-2);
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.footer-brand p {
  margin-top: 1rem;
  color: var(--bone-dim);
  font-size: 0.9rem;
  max-width: 28rem;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--bone-muted);
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
}

.footer-col a {
  display: block;
  padding: 6px 0;
  color: var(--bone-dim);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--bone-muted);
  letter-spacing: 0.1em;
}

.footer-bottom .right {
  display: flex;
  gap: 2rem;
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 1rem; align-items: flex-start; }
}

/* ---------- DETECTION DIAGRAM ---------- */
.detection {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.det-method {
  background: var(--ink);
  padding: 2rem;
}

.det-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.det-head h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
}

.det-head .pct {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.det-bar {
  height: 4px;
  background: var(--line);
  margin: 1rem 0;
  position: relative;
  overflow: hidden;
}

.det-bar-fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  background: var(--gold);
  animation: barFill 1.4s ease-out;
}

@keyframes barFill {
  from { width: 0; }
}

.det-method p {
  color: var(--bone-dim);
  font-size: 0.92rem;
  line-height: 1.55;
}

.det-method ul {
  margin-top: 1rem;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 11px;
}

.det-method ul li {
  padding: 5px 0;
  color: var(--bone-muted);
  letter-spacing: 0.06em;
}

.det-method ul li::before {
  content: "│ ";
  color: var(--gold);
}

@media (max-width: 720px) {
  .detection { grid-template-columns: 1fr; }
}

/* ---------- DEPLOYMENT MODELS ---------- */
.deploy {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.deploy-mode {
  background: var(--ink);
  padding: 2.5rem 2rem;
}

.deploy-icon {
  width: 32px;
  height: 32px;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.deploy-icon svg { width: 100%; height: 100%; }

.deploy-mode h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.85rem;
}

.deploy-mode p {
  color: var(--bone-dim);
  font-size: 0.92rem;
  line-height: 1.6;
}

.deploy-mode .spec {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--bone-muted);
  letter-spacing: 0.08em;
}

.deploy-mode .spec strong {
  color: var(--bone);
  font-weight: 500;
}

@media (max-width: 720px) {
  .deploy { grid-template-columns: 1fr; }
}

/* ---------- INLINE CONSOLE ---------- */
.console {
  margin-top: 2rem;
  background: var(--ink-2);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  overflow: hidden;
}

.console-head {
  background: var(--ink-3);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-muted);
}

.console-head .dots {
  display: flex;
  gap: 6px;
}

.console-head .dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}

.console-head .dots span:first-child { background: var(--ember); }
.console-head .dots span:nth-child(2) { background: var(--gold); }
.console-head .dots span:nth-child(3) { background: var(--moss); }

.console-body {
  padding: 1.5rem;
  line-height: 1.85;
  color: var(--bone-dim);
}

.console-body .prompt { color: var(--gold); }
.console-body .ok { color: var(--moss); }
.console-body .warn { color: var(--gold); }
.console-body .err { color: var(--ember); }
.console-body .dim { color: var(--bone-muted); }

/* ---------- ANIMATIONS ---------- */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.9s ease-out forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.fade-in.d1 { animation-delay: 0.1s; }
.fade-in.d2 { animation-delay: 0.25s; }
.fade-in.d3 { animation-delay: 0.4s; }
.fade-in.d4 { animation-delay: 0.55s; }
