/* InfraNode — landing styles (light theme). No external fonts or CDNs. */

:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #eef0f7;
  --line: #e2e5ef;
  --line-strong: #cfd4e3;
  --text: #0f172a;
  --muted: #4b5568;
  --accent: #4f46e5;
  --accent-strong: #4338ca;
  --accent-soft: #eef2ff;
  --accent-2: #f97316;
  --accent-2-text: #c2410c;
  --accent-2-soft: #fff1e6;
  --band: #16143d;
  --band-2: #1f1c52;
  --band-line: #34307a;
  --band-text: #eceafe;
  --band-muted: #b9b5ec;
  --radius: 12px;
  --radius-sm: 8px;
  --container: 1180px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -12px rgba(15, 23, 42, 0.12);
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 { line-height: 1.18; margin: 0 0 0.6em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); font-weight: 750; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 66px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.logo:hover { text-decoration: none; }
.logo svg { width: 30px; height: 30px; }
.logo span b { color: var(--accent); font-weight: 800; }

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav a {
  color: var(--muted);
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 500;
}
.nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.nav a.nav-ai { color: var(--accent-2-text); font-weight: 650; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.85rem;
  font-weight: 650;
}
.lang-switch a,
.lang-switch span {
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--muted);
}
.lang-switch a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.lang-switch [aria-current="true"] { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; margin: 0 auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 650;
  font-size: 0.98rem;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; }

.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px -8px rgba(79, 70, 229, 0.7); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 8px 14px; font-size: 0.9rem; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 80px 0 84px;
  background:
    radial-gradient(circle at 1px 1px, rgba(79, 70, 229, 0.14) 1px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.tags li {
  padding: 4px 11px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 650;
}
.tags li.tag-ai { background: var(--accent-2-soft); color: var(--accent-2-text); }

.hero h1 .hl {
  color: var(--accent);
  background: linear-gradient(transparent 68%, rgba(249, 115, 22, 0.22) 68%);
}

.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 30px; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.facts li { padding: 12px 18px; font-size: 0.9rem; color: var(--muted); }
.facts li + li { border-left: 1px solid var(--line); }
.facts strong { display: block; color: var(--text); font-size: 0.98rem; }

.hero-visual {
  position: relative;
  padding: 18px 18px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 30px 70px -40px rgba(67, 56, 202, 0.45), var(--shadow);
}

.cluster { width: 100%; height: auto; }
.cluster .frame { fill: #fafbff; stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 6 5; }
.cluster .box { fill: #fff; stroke: var(--line-strong); stroke-width: 1.5; }
.cluster .node { fill: #fff; stroke: #d6daea; stroke-width: 1.5; }
.cluster .node-gpu { stroke: #fbc79f; fill: #fffaf5; }
.cluster .pill { fill: var(--accent); }
.cluster .strip { fill: var(--accent-soft); stroke: #d9dcfb; stroke-width: 1.5; }
.cluster .t { fill: var(--text); font: 650 14px var(--font); }
.cluster .t-c { text-anchor: middle; }
.cluster .t-w { fill: #fff; }
.cluster .s { fill: var(--muted); font: 11.5px var(--mono); }
.cluster .s-a { fill: var(--accent-strong); }
.cluster .pod { fill: #c7cbf9; }
.cluster .pod-alt { fill: var(--accent); }
.cluster .pod-gpu { fill: var(--accent-2); }
.cluster .pod-empty { fill: none; stroke: #dfe2ee; stroke-width: 1.5; stroke-dasharray: 3 3; }
.cluster .pulse { animation: pulse 2.4s ease-in-out infinite; }
.cluster .pulse-2 { animation-delay: 1.2s; }
.cluster .flow {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 5 9;
  animation: flow 1.4s linear infinite;
}

@keyframes pulse { 50% { opacity: 0.35; } }
@keyframes flow { to { stroke-dashoffset: -28; } }

.ai-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #fcd9bd;
  border-radius: 10px;
  background: var(--accent-2-soft);
  font-size: 0.86rem;
  line-height: 1.5;
}
.ai-note .ai-badge {
  align-self: start;
  padding: 2px 8px;
  border-radius: 5px;
  background: var(--accent-2);
  color: #fff;
  font: 700 0.75rem var(--mono);
}
.ai-note p { margin: 0; color: var(--text); }
.ai-note em { font-style: normal; color: var(--accent-2-text); font-weight: 650; }

/* ---------- Sections ---------- */

.section { padding: 92px 0; }
.section-white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 740px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.07rem; }
.section-head.left { margin-left: 0; text-align: left; }

.kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  padding: 28px 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.card::before {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: -1px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.card:hover::before { opacity: 1; }
.card p { color: var(--muted); }

.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}
.card-icon svg { width: 24px; height: 24px; }

.ticks { margin: 0; padding: 0; list-style: none; font-size: 0.94rem; }
.ticks li { position: relative; padding-left: 24px; margin-top: 7px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 15px;
  height: 15px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%234f46e5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3 8.5l3 3 7-7'/%3E%3C/svg%3E");
}

/* ---------- AI band ---------- */

.band {
  position: relative;
  padding: 96px 0;
  background:
    radial-gradient(700px 360px at 90% 0%, rgba(249, 115, 22, 0.18), transparent 70%),
    radial-gradient(700px 400px at 0% 100%, rgba(99, 102, 241, 0.35), transparent 70%),
    var(--band);
  color: var(--band-text);
}
.band .section-head p { color: var(--band-muted); }
.band .kicker { color: #fdba74; }
.band h2, .band h3 { color: #fff; }

.ai-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.ai-col {
  padding: 30px;
  border: 1px solid var(--band-line);
  border-radius: 16px;
  background: rgba(31, 28, 82, 0.72);
}
.ai-col-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.ai-col-head h3 { margin: 0; font-size: 1.25rem; }
.ai-col > p { color: var(--band-muted); margin-top: 8px; }
.ai-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(249, 115, 22, 0.16);
  color: #fdba74;
}
.ai-icon svg { width: 24px; height: 24px; }

.ai-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.ai-list li {
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(22, 20, 61, 0.7);
  border: 1px solid rgba(52, 48, 122, 0.8);
}
.ai-list strong { display: block; color: #fff; font-size: 0.98rem; margin-bottom: 2px; }
.ai-list span { color: var(--band-muted); font-size: 0.92rem; }
.ai-list code { font-family: var(--mono); font-size: 0.86em; color: #fdba74; }

.guardrails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.guardrails li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px dashed var(--band-line);
  border-radius: 12px;
  font-size: 0.92rem;
  color: var(--band-muted);
}
.guardrails li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fdba74' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.4 8.3-8 9-4.6-.7-8-4.5-8-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
}
.guardrails strong { display: block; color: #fff; }

.pilot {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding: 22px 26px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.18), rgba(99, 102, 241, 0.18));
  border: 1px solid var(--band-line);
}
.pilot p { margin: 0; color: var(--band-text); max-width: 46em; }
.pilot strong { color: #fff; }
.btn-light { background: #fff; color: var(--band); }
.btn-light:hover { background: var(--accent-soft); }

/* ---------- Timeline ---------- */

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 22px;
  border-top: 2px solid var(--line-strong);
}
.timeline li { position: relative; counter-increment: step; }
.timeline li::before {
  content: counter(step);
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 800;
}
.timeline li:last-child::before { background: var(--accent); color: #fff; }
.timeline h3 { margin-bottom: 6px; }
.timeline .dur { display: block; margin-bottom: 8px; color: var(--accent-2-text); font-size: 0.85rem; font-weight: 650; }
.timeline p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- Support ---------- */

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }

.plain-list { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.plain-list li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.plain-list li::before {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent-soft) no-repeat center / 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%234f46e5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3 8.5l3 3 7-7'/%3E%3C/svg%3E");
}
.plain-list strong { display: block; }
.plain-list span { color: var(--muted); font-size: 0.95rem; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.sev { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.sev caption { padding: 16px 20px 0; text-align: left; font-weight: 700; }
.sev th, .sev td { padding: 14px 20px; text-align: left; vertical-align: top; }
.sev thead th { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 1px solid var(--line); }
.sev tbody tr + tr td, .sev tbody tr + tr th { border-top: 1px solid var(--line); }
.sev tbody th { white-space: nowrap; }
.sev .lvl {
  display: inline-block;
  min-width: 34px;
  margin-right: 8px;
  padding: 2px 7px;
  border-radius: 5px;
  font: 700 0.8rem var(--mono);
  text-align: center;
}
.sev .p1 { background: #fee2e2; color: #b91c1c; }
.sev .p2 { background: var(--accent-2-soft); color: var(--accent-2-text); }
.sev .p3 { background: var(--accent-soft); color: var(--accent-strong); }
.sev .p4 { background: var(--surface-2); color: var(--muted); }
.sev td:last-child { font-weight: 650; white-space: nowrap; }
.table-note { margin: 0; padding: 12px 20px 16px; color: var(--muted); font-size: 0.85rem; border-top: 1px solid var(--line); }

/* ---------- Stack ---------- */

.stack-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stack-group {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.stack-group h3 { font-size: 0.95rem; margin-bottom: 12px; }
.stack-group.is-ai { border-color: #fcd9bd; background: #fffaf5; }
.stack-group.is-ai h3 { color: var(--accent-2-text); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.chips li {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--surface-2);
  font-size: 0.86rem;
  font-family: var(--mono);
}

/* ---------- Engagement ---------- */

.plan { display: flex; flex-direction: column; }
.plan-tag {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 700;
}
.plan-ai .plan-tag { background: var(--accent-2-soft); color: var(--accent-2-text); }
.plan .ticks { margin-top: auto; padding-top: 6px; }
.plan-featured { border: 2px solid var(--accent); padding: 27px 25px 23px; }
.plan-featured::before { opacity: 1; }

.ownership {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: center;
  margin-top: 32px;
  padding: 18px 24px;
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.95rem;
}
.ownership strong { color: var(--text); }

/* ---------- FAQ ---------- */

.faq { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  position: relative;
  padding: 20px 48px 20px 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.04rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0; padding: 0 48px 22px 0; color: var(--muted); }

/* ---------- Contact ---------- */

.contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -45px rgba(67, 56, 202, 0.55), var(--shadow);
}
.contact-main { padding: 48px; }
.contact-main p { color: var(--muted); }
.contact-side { padding: 48px 40px; background: var(--accent-soft); }
.contact-side h3 { font-size: 1rem; }
.contact-side ol { margin: 0; padding-left: 20px; color: var(--muted); }
.contact-side li { margin-bottom: 8px; }

.email-link {
  display: inline-block;
  margin: 6px 0 20px;
  font: 800 clamp(1.3rem, 3vw, 2rem) var(--font);
  letter-spacing: -0.02em;
  color: var(--text);
  word-break: break-all;
}
.email-link:hover { color: var(--accent); text-decoration: none; }

.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.copy-status { color: #047857; font-size: 0.9rem; min-height: 1.4em; }

/* ---------- Footer ---------- */

.site-footer { padding: 34px 0; border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 0.9rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-inner a { color: var(--muted); }
.footer-inner a:hover { color: var(--accent); }

/* ---------- 404 ---------- */

.notfound { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound .code { font: 800 4.5rem var(--mono); color: var(--accent); margin-bottom: 4px; }
.notfound .code span { color: var(--accent-2); }
.notfound .lead { margin-left: auto; margin-right: auto; }
.notfound .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .nav a { padding: 8px 8px; font-size: 0.9rem; }
  .guardrails { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 16px 18px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px; font-size: 1rem; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }

  .hero { padding-top: 56px; }
  .hero-grid,
  .split,
  .ai-cols,
  .contact { grid-template-columns: 1fr; }
  .grid-3,
  .stack-groups { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .timeline::before { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section, .band { padding: 64px 0; }
  .grid-3,
  .grid-2,
  .stack-groups,
  .timeline,
  .guardrails { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; width: 100%; }
  .facts li + li { border-left: 0; border-top: 1px solid var(--line); }
  .ai-col { padding: 22px; }
  .contact-main, .contact-side { padding: 28px 24px; }
  .sev { font-size: 0.88rem; }
  .sev th, .sev td { padding: 12px 10px; }
  .sev tbody th { white-space: normal; }
  .sev .lvl { display: block; width: max-content; margin: 0 0 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cluster .flow, .cluster .pulse { animation: none; }
  .card::before, .btn { transition: none; }
}
