/* Page-specific rules split out of styles.css by tools/css_split.py.
   Linked from: roadmap.html. Shared rules stay in /styles.css. */

/* ============ ARCHITECTURE DIAGRAM ============ */
.arch {
  background: var(--navy-900);
  color: white;
  position: relative;
  overflow: hidden;
}

.arch::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(94, 234, 212, 0.15), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(31, 78, 120, 0.4), transparent 60%);
  pointer-events: none;
}

.arch .container { position: relative; }

.arch .section-title { color: white; }
.arch .section-lead { color: var(--slate-400); }
.arch .section-eyebrow { color: var(--teal-300); }

.arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.arch-layer {
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  position: relative;
}

.arch-layer::before {
  content: attr(data-num);
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  font-size: 11px;
  color: var(--teal-300);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Subtitle for sub-sections inside .arch */
.arch-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-300);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: var(--space-5);
  margin-bottom: var(--space-3);
}
.arch-subtitle-spaced { margin-top: var(--space-7); }

/* AI maturity mode cards — slightly bolder than the layer cards */
.arch-mode {
  background: linear-gradient(180deg, rgba(94, 234, 212, 0.06), rgba(255, 255, 255, 0.02));
  border-color: rgba(94, 234, 212, 0.18);
}
.arch-mode h4 {
  font-size: 17px;
  margin-bottom: 6px;
}
.arch-mode::before {
  background: rgba(94, 234, 212, 0.12);
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.08em;
}

.arch-layer h4 {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
}

.arch-layer p {
  font-size: 13px;
  color: var(--slate-400);
}

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

/* ============ PROCESS ============ */
.process {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ============ ROADMAP PAGE EXTRAS ============ */

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.deliverable {
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.deliverable:hover {
  border-color: var(--teal-500);
  transform: translateY(-2px);
}

.deliverable .num {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal-600);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.deliverable h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.deliverable p {
  font-size: 14px;
  color: var(--slate-700);
}

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

.roadmap-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-5);
}

@media (max-width: 768px) {
  .roadmap-tiers { grid-template-columns: 1fr; }
}

/* Phase blocks for Roadmap page */
.phase {
  border-left: 2px solid var(--teal-500);
  padding-left: var(--space-4);
  margin-bottom: var(--space-5);
}

.phase h3 {
  font-size: 18px;
  color: var(--navy-900);
  font-weight: 600;
  margin-bottom: 4px;
}

.phase p {
  font-size: 15px;
  color: var(--slate-700);
}
