:root {
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --panel: #ffffff;
  --panel-2: #f1f5f9;
  --border: #e2e8f0;
  --text: #020817;
  --muted: #64748b;
  --accent: #0f61cc;
  --accent-2: #ff7a3d;
  --brand-2: #b8b8b8;
  --danger: #dc2626;
  --warn: #f59e0b;
  --ok: #10b981;
  --maxw: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Unbounded", "Manrope", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: clamp(16px, 0.95vw + 12px, 17px);
  overflow-x: hidden;
  cursor: default;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); margin: 0 0 0.4em; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 3.5vw + 1rem, 3.75rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 1.8vw + 1rem, 2.25rem); font-weight: 700; }
h3 { font-size: clamp(1.05rem, 0.4vw + 0.95rem, 1.25rem); font-weight: 600; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Emergency banner */
.emergency {
  background: linear-gradient(90deg, #5a0e0a, var(--danger));
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
}
.emergency .inner { padding: 8px 0; }
.emergency a { text-decoration: underline; color: #fff; }

/* Header / nav */
header {
  position: relative;
  background: rgba(9, 10, 15, 0.98);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease;
}
header:hover {
  background: rgba(9, 10, 15, 1);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1vw, 16px);
  flex-shrink: 1;
  min-width: 0;
}
.brand-logo {
  width: clamp(40px, 4.5vw, 58px);
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.15rem);
  line-height: 1.1;
  white-space: nowrap;
}
.brand-text small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.links {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 24px);
  font-size: 0.94rem;
  font-weight: 500;
}
.links a { color: var(--muted); transition: color 0.15s ease, transform 0.15s ease; }
.links a:hover { color: var(--text); transform: translateY(-1px); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: var(--panel);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.16s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left 0.5s ease;
}
.btn:hover::before {
  left: 100%;
}
.btn:hover { 
  background: var(--panel-2); 
  border-color: rgba(15, 23, 42, 0.12); 
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}
.btn.danger {
  background: var(--danger);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 30px rgba(185, 28, 28, 0.18);
}
.btn.danger:hover { 
  background: #991b1b; 
  border-color: transparent; 
  box-shadow: 0 14px 32px rgba(185, 28, 28, 0.22);
}
.btn.secondary {
  background: transparent;
  color: var(--text);
}
.btn:active { transform: translateY(1px); }

/* Sections */
.section { padding: clamp(32px, 5vw, 64px) 0; }
.section.alt { background: var(--bg-alt); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.lead { font-size: clamp(1rem, 0.4vw + 0.95rem, 1.18rem); color: #cdd2dc; }

/* Hero */
.hero {
  position: relative;
  padding: clamp(32px, 5vw, 72px) 0 clamp(40px, 6vw, 80px);
  background:
    radial-gradient(1100px 480px at 90% -10%, rgba(15, 97, 204, 0.18), transparent 60%),
    radial-gradient(700px 400px at 10% 20%, rgba(217, 45, 32, 0.10), transparent 60%);
}
.cinematic-hero {
  overflow: hidden;
}
.hero-bg-parallax {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(15, 97, 204, 0.08) 0%, transparent 55%);
  transform: translateZ(0);
}
.hero-bg-layer-1 {
  animation: parallax-float-1 24s ease-in-out infinite;
}
.hero-bg-layer-2 {
  animation: parallax-float-2 28s ease-in-out infinite reverse;
  opacity: 0.45;
}
.hero-bg-layer-3 {
  animation: parallax-float-3 32s ease-in-out infinite;
  opacity: 0.25;
}
@keyframes parallax-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-20px, -10px) scale(1.05); }
  66% { transform: translate(10px, -20px) scale(0.95); }
}
@keyframes parallax-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(15px, 15px) scale(1.1); }
}
@keyframes parallax-float-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-10px, 10px) scale(0.9); }
  75% { transform: translate(20px, -15px) scale(1.05); }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 14px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45); }
  70% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 22px;
}
.hotline-card {
  display: inline-flex;
  flex-direction: column;
  padding: 16px 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--text);
  margin-bottom: 20px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.hotline-card:hover {
  border-color: rgba(15, 23, 42, 0.16);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}
.hotline-card span {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hotline-card strong {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.5vw + 1rem, 1.85rem);
  color: var(--danger);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}
.metric {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--panel);
}
.metric b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}
.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 2px;
}

/* Cinematic animations and effects */
.js-cinematic-ready [data-cinematic-reveal] {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-cinematic-ready [data-cinematic-reveal].cinematic-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cinematic-section {
  position: relative;
}
.cinematic-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.01) 50%, transparent 100%);
  pointer-events: none;
  opacity: 0;
  animation: cinematic-shimmer 8s ease-in-out infinite;
}
@keyframes cinematic-shimmer {
  0%, 100% { opacity: 0; transform: translateX(-100%); }
  50% { opacity: 0.3; transform: translateX(100%); }
}

.cinematic-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cinematic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s ease;
}
.cinematic-card:hover::before {
  left: 100%;
}
.cinematic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.cinematic-terminal {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cinematic-terminal:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.cinematic-cta {
  background: linear-gradient(135deg, var(--bg-alt) 0%, rgba(217,45,32,0.05) 100%);
  position: relative;
  overflow: hidden;
}
.cinematic-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(43,98,217,0.1) 0%, transparent 50%);
  animation: cta-pulse 4s ease-in-out infinite;
}
@keyframes cta-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.cinematic-list .cinematic-card {
  transition-delay: 0.1s;
}
.cinematic-cards .cinematic-card:nth-child(1) { transition-delay: 0.1s; }
.cinematic-cards .cinematic-card:nth-child(2) { transition-delay: 0.2s; }
.cinematic-cards .cinematic-card:nth-child(3) { transition-delay: 0.3s; }
.cinematic-cards .cinematic-card:nth-child(4) { transition-delay: 0.4s; }
.cinematic-cards .cinematic-card:nth-child(5) { transition-delay: 0.5s; }
.cinematic-cards .cinematic-card:nth-child(6) { transition-delay: 0.6s; }

.cinematic-steps .cinematic-step {
  position: relative;
}
.cinematic-steps .cinematic-step::before {
  content: counter(step-counter);
  position: absolute;
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(15, 97, 204, 0.3);
  opacity: 0;
  transform: translateY(-50%) scale(0.5);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.cinematic-steps .cinematic-step.cinematic-visible::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
.cinematic-steps {
  counter-reset: step-counter;
}
.cinematic-steps .cinematic-step {
  counter-increment: step-counter;
}

/* Press Section */
.press-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 36px);
  align-items: start;
}
@media (min-width: 900px) {
  .press-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

.press-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px);
  position: relative;
  overflow: hidden;
}
.press-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.press-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}
.press-date {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}
.press-category {
  padding: 4px 12px;
  background: rgba(15, 97, 204, 0.1);
  color: var(--accent);
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.press-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
  color: var(--text);
}

.press-excerpt {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 1rem;
}

.press-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.press-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.stat-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-number {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  font-family: var(--font-display);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.terminal {
  position: relative;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-family: var(--font-mono);
  font-size: clamp(0.78rem, 0.25vw + 0.72rem, 0.92rem);
}
.cinematic-terminal {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  box-shadow: 
    0 12px 32px rgba(0, 0, 0, 0.08),
    0 0 40px rgba(15, 97, 204, 0.1);
  transition: all 0.3s ease;
}
.terminal::before,
.process-console::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 48%, rgba(203, 213, 225, 0.05) 49%, rgba(203, 213, 225, 0.05) 51%, transparent 52%);
  pointer-events: none;
  opacity: 0.28;
  z-index: 0;
}
.terminal .term-top,
.terminal .term-body,
.process-console .term-top,
.process-console .term-body,
.process-console .process-console-line,
.process-console-footer {
  position: relative;
  z-index: 1;
}
.cinematic-terminal:hover {
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(15, 97, 204, 0.2);
  transform: scale(1.02);
}
.term-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(241, 245, 249, 0.92);
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.78rem;
  text-shadow: none;
}
.cinematic-terminal .term-top {
  background: linear-gradient(135deg, rgba(241, 245, 249, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
}
.term-top .circle {
  width: 10px; height: 10px; border-radius: 50%;
  background: #cbd5e1;
  transition: transform 0.3s ease;
}
.cinematic-terminal:hover .term-top .circle {
  transform: scale(1.2);
}
.term-top .circle:nth-child(1) { background: #ef4444; }
.term-top .circle:nth-child(2) { background: #f59e0b; }
.term-top .circle:nth-child(3) { background: #10b981; }
.term-title { margin-left: auto; color: var(--accent); text-shadow: none; }
.term-live { font-variant-numeric: tabular-nums; color: var(--ok); }
.term-body {
  padding: 22px 22px 26px;
  min-height: 230px;
}
.term-line {
  margin: 0 0 8px;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
  opacity: 0;
  transform: translateY(2px);
  animation: termIn 0.35s ease forwards;
  letter-spacing: 0.01em;
  text-shadow: none;
}
.term-line:nth-child(1) { animation-delay: 0.05s; }
.term-line:nth-child(2) { animation-delay: 0.55s; }
.term-line:nth-child(3) { animation-delay: 1.05s; }
.term-line:nth-child(4) { animation-delay: 1.55s; }
.term-line:nth-child(5) { animation-delay: 2.05s; }
.term-line:nth-child(6) { animation-delay: 2.55s; }
.term-line:nth-child(7) { animation-delay: 3.05s; }
.term-line:nth-child(8) { animation-delay: 3.55s; }
@keyframes termIn { to { opacity: 1; transform: translateY(0); } }
.term-line .prompt { color: var(--accent-2); margin-right: 6px; }
.term-line.warn { color: var(--warn); }
.term-line.ok { color: var(--ok); }
.term-line.muted { color: var(--muted); }
.term-line.callout {
  margin-top: 10px;
  padding: 10px 12px;
  background: rgba(217, 45, 32, 0.10);
  border-left: 2px solid var(--danger);
  color: #f5c5c0;
  border-radius: 4px;
}
.term-line.callout a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Disable CSS-driven line reveals once the JS terminal takes over */
.terminal.is-js .term-line {
  animation: none !important;
  opacity: 1;
  transform: none;
}

.term-cursor {
  display: inline-block;
  width: 0.55em;
  height: 1em;
  background: var(--accent-2);
  vertical-align: -0.15em;
  margin-left: 2px;
  animation: termBlink 1s steps(2, end) infinite;
}
@keyframes termBlink { 50% { opacity: 0; } }

.term-progress {
  display: inline-block;
  margin-left: 8px;
  color: var(--accent-2);
  font-variant-numeric: tabular-nums;
}

.term-replay {
  position: absolute;
  right: 12px;
  bottom: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.term-replay:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

/* Split (senior-led section) */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.1fr 1fr; }
}
.list { display: flex; flex-direction: column; gap: 12px; }
.list-item {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.check {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(16, 185, 129, 0.15);
  color: var(--ok);
  font-weight: 700;
  font-size: 0.85rem;
}

/* Section heads */
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: clamp(20px, 2.5vw, 36px);
}
@media (min-width: 800px) {
  .section-head { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; gap: 32px; }
}
.section-head p { color: var(--muted); margin: 0; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(14px, 1.5vw, 22px);
}
.card {
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.18);
  background: var(--panel-2);
}
.card .icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.card p { color: var(--muted); margin: 0; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  counter-reset: step;
}
@media (min-width: 700px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .steps { grid-template-columns: repeat(5, 1fr); }
}
.step {
  counter-increment: step;
  position: relative;
  padding: 18px 16px 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-2);
  letter-spacing: 0.18em;
  margin-bottom: 8px;
}
.step p { color: var(--muted); margin: 0; }

.process-interactive {
  display: grid;
  gap: 28px;
}
@media (min-width: 900px) {
  .process-interactive {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }
}
.process-grid {
  display: grid;
  gap: 24px;
}
.process-console {
  min-height: 420px;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid var(--border);
  box-shadow: inset 0 0 90px rgba(241, 245, 249, 0.4);
}
.process-console .term-body {
  padding: 22px 22px 18px;
}
.process-console-line {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text);
  opacity: 0.82;
  margin-bottom: 12px;
  line-height: 1.75;
  position: relative;
  padding-left: 18px;
  letter-spacing: 0.01em;
  text-shadow: none;
}
.process-console-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 12px;
  border-radius: 999px;
  background: rgba(15, 97, 204, 0.65);
  opacity: 0.55;
}
.process-console-line .prompt {
  color: var(--accent);
  margin-right: 10px;
  font-size: 0.9rem;
}
.process-console-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 22px 20px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.process-controls {
  display: grid;
  gap: 14px;
}
.process-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}
.process-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 97, 204, 0.3);
  background: rgba(248, 250, 252, 0.95);
  box-shadow: 0 0 22px rgba(15, 97, 204, 0.1);
}
.process-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
  color: var(--text);
}
.process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.process-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(15, 97, 204, 0.1);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
}
#process-step-1:checked ~ .process-grid .process-console .line-1,
#process-step-2:checked ~ .process-grid .process-console .line-2,
#process-step-3:checked ~ .process-grid .process-console .line-3,
#process-step-4:checked ~ .process-grid .process-console .line-4,
#process-step-5:checked ~ .process-grid .process-console .line-5 {
  opacity: 1;
  color: var(--text);
}
#process-step-1:checked ~ .process-grid .process-console .line-1::before,
#process-step-2:checked ~ .process-grid .process-console .line-2::before,
#process-step-3:checked ~ .process-grid .process-console .line-3::before,
#process-step-4:checked ~ .process-grid .process-console .line-4::before,
#process-step-5:checked ~ .process-grid .process-console .line-5::before {
  opacity: 1;
  background: var(--accent);
}
#process-step-1:checked ~ .process-grid .process-controls label[for="process-step-1"],
#process-step-2:checked ~ .process-grid .process-controls label[for="process-step-2"],
#process-step-3:checked ~ .process-grid .process-controls label[for="process-step-3"],
#process-step-4:checked ~ .process-grid .process-controls label[for="process-step-4"],
#process-step-5:checked ~ .process-grid .process-controls label[for="process-step-5"] {
  border-color: var(--accent);
  background: rgba(15, 97, 204, 0.1);
}

/* CTA */
.cta {
  background: linear-gradient(135deg, rgba(217,45,32,0.18), rgba(43,98,217,0.18));
  padding: clamp(40px, 6vw, 80px) 0;
  border-block: 1px solid var(--border);
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
@media (min-width: 800px) {
  .cta-grid { grid-template-columns: 1fr auto; }
}
.cta p { color: #d8dde7; margin: 0; }

/* Press */
.press {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  align-items: center;
}
@media (min-width: 800px) {
  .press { grid-template-columns: 1fr auto; gap: 32px; }
}
.press time {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.press p { color: var(--muted); margin: 0; }

/* Press release article page */
.press-hero {
  padding: clamp(60px, 10vw, 120px) 0;
  text-align: center;
  position: relative;
}
.press-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(15, 97, 204, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
.press-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}
.press-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 20px;
  line-height: 1.1;
}
.press-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.press-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(15, 97, 204, 0.1), rgba(15, 97, 204, 0.05));
  border: 1px solid rgba(15, 97, 204, 0.2);
  border-radius: 20px;
  margin-bottom: 24px;
}
.press-icon {
  font-size: 1.2rem;
}
.press-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.press-content {
  padding: clamp(40px, 6vw, 80px) 0;
}
.press-article {
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}
.press-article .lead {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.press-article h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 3rem 0 1.5rem 0;
  color: var(--text);
}
.press-article h3 {
  font-size: 1.25rem;
  margin: 2.5rem 0 1rem 0;
  color: var(--text);
}
.press-article p {
  margin-bottom: 1.5rem;
  color: var(--muted);
}
.press-article strong {
  color: var(--text);
  font-weight: 600;
}

.press-cta {
  display: flex;
  gap: 16px;
  margin: 3rem 0;
  flex-wrap: wrap;
  justify-content: center;
}

.press-divider {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 3rem 0;
}

.press-contact {
  color: var(--muted);
}
.press-contact a {
  color: var(--accent);
  text-decoration: none;
}
.press-contact a:hover {
  text-decoration: underline;
}
.back-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 20px;
  transition: color 0.15s ease;
}
.back-link:hover {
  color: var(--accent-2);
}
  margin: 36px 0 24px;
}
.press-contact a {
  color: var(--accent-2);
  transition: color 0.15s ease;
}
.press-contact a:hover { color: var(--text); }

/* Blog-post extras: subtitle, code, callouts, pullquote, IR timeline, framework box */
.press-subtitle {
  font-family: var(--font-body);
  font-weight: 500;
  color: #cdd2dc;
  font-size: clamp(1rem, 0.5vw + 0.95rem, 1.2rem);
  margin: 0 0 16px;
  line-height: 1.5;
}

.press-article code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: rgba(15, 97, 204, 0.12);
  color: #0f61cc;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(15, 97, 204, 0.2);
}

.press-article em { color: var(--text); font-style: italic; }

.press-article a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(15, 97, 204, 0.4);
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.press-article a:hover { color: var(--text); text-decoration-color: var(--text); }

.callout {
  margin: 28px 0;
  padding: 20px 22px;
  background: rgba(15, 97, 204, 0.08);
  border: 1px solid rgba(15, 97, 204, 0.25);
  border-left: 3px solid var(--accent-2);
  border-radius: var(--radius-sm);
}
.callout-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 8px;
}
.callout p {
  margin: 0;
  color: #cdd2dc;
  font-size: 0.96rem;
  line-height: 1.65;
}
.callout-warn {
  background: rgba(217, 45, 32, 0.08);
  border-color: rgba(217, 45, 32, 0.3);
  border-left-color: var(--danger);
}
.callout-warn .callout-label { color: #ff7a6e; }

.pullquote {
  margin: 36px 0;
  padding: 26px 28px;
  background: linear-gradient(135deg, rgba(15, 97, 204, 0.12), rgba(217, 45, 32, 0.08));
  border-left: 3px solid var(--warn);
  border-radius: var(--radius-sm);
}
.pullquote p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.1rem, 0.6vw + 1rem, 1.35rem);
  line-height: 1.45;
  color: var(--text);
  font-style: italic;
}

/* IR timeline */
.ir-timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}
.ir-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  align-items: start;
}
.ir-step-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  background: rgba(15, 97, 204, 0.1);
  border: 1px solid rgba(15, 97, 204, 0.25);
  border-radius: 6px;
  padding: 6px 10px;
  min-width: 44px;
  text-align: center;
}
.ir-step-body { display: flex; flex-direction: column; gap: 4px; }
.ir-step-when {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.ir-step-body strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.ir-step-body p {
  margin: 4px 0 0;
  color: #cdd2dc;
  font-size: 0.93rem;
  line-height: 1.6;
}

/* Framework download box */
.framework-box {
  margin: 48px 0;
  padding: clamp(28px, 4vw, 44px);
  background:
    radial-gradient(800px 320px at 90% -10%, rgba(15, 97, 204, 0.18), transparent 60%),
    var(--panel);
  border: 1px solid rgba(15, 97, 204, 0.25);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.framework-box .eyebrow { color: var(--warn); }
.framework-box h2 {
  margin: 6px 0 12px;
  font-size: clamp(1.3rem, 1vw + 1rem, 1.85rem);
}
.framework-box > p { color: #cdd2dc; }
.framework-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}
.feature-chip {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.feature-chip .chip-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.feature-chip .chip-body {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Framework form (inside framework-box) */
.framework-form {
  margin-top: 8px;
  background: var(--panel-2);
}
.framework-form .form-intro {
  color: #cdd2dc;
  margin: 0 0 6px;
  font-size: 0.95rem;
}

/* Thank-you / download confirmation page */
.download-card {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px);
  background: var(--panel);
  border: 1px solid rgba(15, 97, 204, 0.25);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}
.download-card .eyebrow { color: var(--ok); }
.download-card h1 {
  margin: 6px 0 12px;
  font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem);
}
.download-card p { color: #cdd2dc; }
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 22px 0 8px;
}
.download-meta {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Blog */
.blog-hero {
  padding: clamp(80px, 12vw, 140px) 0;
  text-align: center;
  position: relative;
}
.blog-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(15, 97, 204, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.blog-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}
.blog-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(15, 97, 204, 0.1), rgba(15, 97, 204, 0.05));
  border: 1px solid rgba(15, 97, 204, 0.2);
  border-radius: 20px;
  margin-bottom: 24px;
}
.blog-icon {
  font-size: 1.2rem;
}
.blog-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.blog-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 20px;
  line-height: 1.1;
}
.blog-hero .lead {
  font-size: 1.25rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.blog-posts {
  padding: clamp(60px, 8vw, 100px) 0;
}
.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 40px);
  margin-bottom: clamp(60px, 8vw, 100px);
}
@media (min-width: 768px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.post-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(15, 97, 204, 0.3);
}
.post-card-link {
  display: block;
  padding: clamp(24px, 3vw, 32px);
  text-decoration: none;
  color: inherit;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 16px;
}
.post-tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent-2);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}
.post-card h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin: 0 0 12px 0;
  line-height: 1.3;
  color: var(--text);
}
.post-card p {
  color: var(--muted);
  margin: 0 0 16px 0;
  line-height: 1.6;
}
.post-readmore {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-2);
  font-weight: 500;
}
.post-card:hover .post-readmore {
  color: var(--text);
}

.blog-cta {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(32px, 4vw, 48px);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.blog-cta p {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 1.1rem;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}


/* Form */
.incident-form {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.5vw, 28px);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 36px);
}
.bot-field { display: none !important; }
.form-section { display: flex; flex-direction: column; gap: 14px; }
.form-section-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.form-hint { color: var(--muted); margin: -4px 0 0; font-size: 0.9rem; }
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) {
  .form-grid-2 { grid-template-columns: repeat(2, 1fr); }
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}
.req { color: var(--danger); margin-left: 2px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 1);
}
.form-field textarea { resize: vertical; min-height: 90px; }

.severity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}
.sev-option { cursor: pointer; }
.sev-option input { position: absolute; opacity: 0; pointer-events: none; }
.sev-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}
.sev-card strong { font-size: 0.95rem; }
.sev-card small { color: var(--muted); font-size: 0.8rem; }
.sev-option input:checked + .sev-card {
  border-color: var(--accent);
  background: rgba(15, 97, 204, 0.1);
}
.sev-option:hover .sev-card { border-color: rgba(15, 97, 204, 0.3); }
.sev-low strong { color: #84cc16; }
.sev-med strong { color: var(--warn); }
.sev-high strong { color: #fb923c; }
.sev-crit strong { color: var(--danger); }
.sev-option input:checked + .sev-card.sev-crit { border-color: var(--danger); background: rgba(217,45,32,0.12); }

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
}
.check-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.92rem;
  transition: border-color 0.15s ease;
}
.check-option:hover { border-color: rgba(15, 23, 42, 0.18); }
.check-option input { accent-color: var(--accent); }

.form-submit { align-self: flex-start; padding: 14px 24px; font-size: 1rem; }
.form-legal { color: var(--muted); font-size: 0.82rem; margin: 0; }

/* Footer */
footer {
  padding: clamp(28px, 4vw, 56px) 0;
  border-top: 1px solid var(--border);
  background: #06070b;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; align-items: center; }
}
.legal { color: var(--muted); }

/* Mobile call sticky button */
.mobile-call {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 10px 16px env(safe-area-inset-bottom);
  background: linear-gradient(180deg, rgba(9,10,15,0), rgba(9,10,15,0.95) 35%);
  display: none;
  z-index: 40;
}
.mobile-call .btn { width: 100%; padding: 14px; font-size: 1rem; }
@media (max-width: 720px) {
  .mobile-call { display: block; }
  body { padding-bottom: 76px; }
  .links a:not(.btn) { display: none; }
}
@media (max-width: 420px) {
  .brand-text small { display: none; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
