@import url("tokens.css");

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg-page); color: var(--fg-on-dark); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* =========== Layout primitives =========== */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.hstack { display: flex; align-items: center; }
.vstack { display: flex; flex-direction: column; }
.gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; }
.gap-5 { gap: 20px; } .gap-6 { gap: 24px; } .gap-7 { gap: 32px; } .gap-8 { gap: 40px; }
.gap-9 { gap: 56px; }
.center { align-items: center; justify-content: center; text-align: center; }

/* =========== Nav =========== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h); display: flex; align-items: center;
  background: rgba(0,2,18,0.65); backdrop-filter: blur(40px);
  border-bottom: 1px solid var(--line-15);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 32px; }
.nav-left { display: flex; align-items: center; gap: 40px; }
.nav-wordmark img { height: 18px; filter: brightness(0) invert(1); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-link { font-size: 14px; color: var(--fg-on-dark-92); display: inline-flex; align-items: center; gap: 4px; cursor: pointer; transition: color .15s; }
.nav-link:hover { color: var(--velo-blue); }
.nav-link.active { color: var(--velo-blue); }
.nav-actions { display: flex; align-items: center; gap: 16px; }

/* =========== Buttons =========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--r-sm); font-family: var(--font-body); font-weight: var(--w-medium);
  cursor: pointer; transition: all .15s ease-out; white-space: nowrap;
}
.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; }
.btn-md { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-sm { height: 32px; padding: 0 14px; font-size: 13px; }
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { background: var(--velo-blue); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid var(--line-36); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.05); }
.btn-velo { background: var(--velo-blue); color: #fff; }
.btn-velo:hover { background: var(--velo-blue-700); box-shadow: var(--glow-blue); }
.btn-text { display: inline-flex; align-items: center; gap: 6px; color: var(--velo-blue); font-size: 14px; font-weight: var(--w-medium); cursor: pointer; }
.btn-text:hover { gap: 10px; }

/* =========== Chips & pills =========== */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--r-pill);
  background: rgba(11,162,255,0.10);
  border: 1px solid rgba(11,162,255,0.35);
  color: var(--velo-blue);
  font-size: 12px; font-weight: var(--w-medium);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--velo-blue); box-shadow: 0 0 8px var(--velo-blue); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.eyebrow {
  font-family: var(--font-mono); font-size: 12px; font-weight: var(--w-medium);
  color: var(--velo-cyan); letter-spacing: 0.16em; text-transform: uppercase;
}
.eyebrow-line { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow-line::before { content: ""; width: 28px; height: 1px; background: var(--velo-cyan); }

.breadcrumb { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg-on-dark-64); font-family: var(--font-mono); letter-spacing: 0.04em; }
.breadcrumb .sep { color: var(--fg-on-dark-36); }
.breadcrumb .here { color: var(--velo-cyan); }

/* =========== Section frame =========== */
section { position: relative; }
.section-pad { padding: 120px 0; }
.section-pad-sm { padding: 80px 0; }
.section-head { text-align: center; max-width: 880px; margin: 0 auto 64px; }
.section-head .eyebrow { display: inline-block; margin-bottom: 16px; }
.section-head h2 { font-size: 56px; line-height: 1.05; letter-spacing: -0.02em; font-weight: var(--w-bold); }
.section-head p { font-size: 18px; line-height: 1.6; color: var(--fg-on-dark-64); margin-top: 20px; }

.h2-gradient {
  background: linear-gradient(90deg, #fff 30%, var(--velo-cyan) 70%, var(--velo-blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* =========== Hero =========== */
.hero {
  position: relative; overflow: hidden;
  padding: 152px 0 100px;
  border-bottom: 1px solid var(--line-08);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px 540px at 50% -180px, rgba(11,162,255,0.30), transparent 60%),
    radial-gradient(600px 400px at 90% 30%, rgba(26,236,255,0.10), transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 70%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr); gap: 32px; align-items: center; }

/* Hero artwork (image replaces the React dashboard mock) */
.hero-art {
  position: relative;
  width: calc(100% + 160px);
  margin-right: -160px;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.55));
}
.hero-art img {
  width: 100%; height: auto;
  display: block;
}
.hero-title {
  font-family: var(--font-display); font-weight: var(--w-bold);
  font-size: 76px; line-height: 1.04; letter-spacing: -0.025em;
  margin: 20px 0 24px;
}
.hero-title .accent {
  display: inline-block; position: relative;
  padding: 0 12px;
  background: var(--velo-blue);
  color: #fff;
}
.hero-title .accent::after { display: none; }
.hero-lede { font-size: 20px; line-height: 1.55; color: var(--fg-on-dark-64); max-width: 540px; }
.hero-bullets { display: grid; gap: 14px; margin: 32px 0 36px; }
.hero-bullet { display: flex; gap: 12px; font-size: 15px; color: var(--fg-on-dark-92); line-height: 1.5; }
.hero-bullet::before {
  content: ""; width: 16px; height: 16px; flex-shrink: 0; margin-top: 4px;
  background: var(--velo-blue);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}
.hero-ctas { display: flex; gap: 12px; }

/* Dashboard mock */
.dashboard {
  position: relative;
  background: linear-gradient(180deg, #0a0d1f 0%, #050714 100%);
  border: 1px solid var(--line-15);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(11,162,255,0.08), 0 0 80px rgba(11,162,255,0.15);
}
.dashboard::before {
  content: ""; position: absolute; inset: -1px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(11,162,255,0.40), transparent 40%, rgba(26,236,255,0.30));
  z-index: -1; filter: blur(0.5px);
}
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.dash-title { font-family: var(--font-mono); font-size: 11px; color: var(--fg-on-dark-64); letter-spacing: 0.16em; text-transform: uppercase; }
.dash-dot { display: inline-flex; gap: 6px; }
.dash-dot span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.20); }
.dash-dot span:first-child { background: #25D366; box-shadow: 0 0 8px #25D366; }
.dash-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.dash-kpi { background: rgba(255,255,255,0.03); border: 1px solid var(--line-08); border-radius: 10px; padding: 14px; }
.dash-kpi .label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--fg-on-dark-64); text-transform: uppercase; }
.dash-kpi .value { font-family: var(--font-display); font-size: 28px; font-weight: var(--w-semibold); letter-spacing: -0.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.dash-kpi .value .unit { font-size: 14px; color: var(--fg-on-dark-64); margin-left: 4px; font-weight: var(--w-regular); }
.dash-kpi .delta { font-size: 11px; font-family: var(--font-mono); color: var(--velo-cyan); margin-top: 2px; }
.dash-chart { height: 130px; background: rgba(255,255,255,0.02); border: 1px solid var(--line-08); border-radius: 10px; position: relative; overflow: hidden; padding: 10px 12px; }
.dash-chart svg { width: 100%; height: 100%; }
.dash-rows { margin-top: 12px; display: grid; gap: 6px; }
.dash-row { display: grid; grid-template-columns: 1fr 60px 80px 60px; gap: 12px; align-items: center; padding: 6px 10px; background: rgba(255,255,255,0.02); border-radius: 6px; font-family: var(--font-mono); font-size: 11px; }
.dash-row .badge { display: inline-flex; padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: var(--w-medium); }
.dash-row .badge.ok { background: rgba(37,211,102,0.15); color: #25D366; }
.dash-row .badge.warn { background: rgba(255,170,0,0.15); color: #FFAA00; }
.dash-row .ms { color: var(--velo-cyan); text-align: right; }
.dash-row .name { color: #fff; }
.dash-row .qps { color: var(--fg-on-dark-64); text-align: right; }

/* Hero stats strip */
.hero-stats {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-08);
  margin-top: 80px;
}
.hero-stat { padding: 28px 8px; text-align: center; border-right: 1px solid var(--line-08); }
.hero-stat:last-child { border-right: none; }
.hero-stat .num { font-family: var(--font-display); font-size: 36px; font-weight: var(--w-bold); letter-spacing: -0.02em; background: linear-gradient(180deg, #fff, rgba(255,255,255,0.55)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stat .lbl { font-size: 12px; color: var(--fg-on-dark-64); margin-top: 6px; font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }

/* =========== Value props =========== */
.vp-2col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 80px;
  align-items: start;
}
.vp-left { padding-top: 12px; }
.vp-h2 {
  font-family: var(--font-display); font-weight: var(--w-bold);
  font-size: 52px; line-height: 1.05; letter-spacing: -0.025em;
  color: #fff; margin-bottom: 28px;
}
.vp-lede {
  font-size: 17px; line-height: 1.6; color: var(--fg-on-dark-64);
  max-width: 480px;
}

.vp-cards { display: flex; flex-direction: column; gap: 14px; }

.vp-card {
  padding: 24px 28px;
  border: 1px solid var(--line-15);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 12px 30px rgba(0,0,0,0.45),
    0 2px 8px rgba(0,0,0,0.35);
  transition: all .2s ease-out;
}
.vp-card:hover {
  border-color: rgba(26,236,255,0.30);
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 16px 38px rgba(0,0,0,0.55),
    0 0 30px rgba(11,162,255,0.10);
}

.vp-title {
  font-size: 18px; font-weight: var(--w-semibold); line-height: 1.35;
  letter-spacing: -0.01em; color: #fff;
  margin-bottom: 8px;
}
.vp-body { font-size: 14px; line-height: 1.6; color: var(--fg-on-dark-64); }

/* =========== Industries =========== */
.ind-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.ind-tab {
  padding: 11px 22px; border-radius: var(--r-pill);
  background: rgba(255,255,255,0.03); border: 1px solid var(--line-08);
  font-size: 14px; font-weight: var(--w-medium); color: var(--fg-on-dark-64);
  cursor: pointer; transition: all .15s;
}
.ind-tab:hover { color: #fff; border-color: var(--line-36); }
.ind-tab.active {
  background: rgba(11,162,255,0.10); color: var(--velo-blue);
  border-color: var(--velo-blue);
}

.ind-panel {
  position: relative;
  border: 1px solid var(--line-15);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(11,162,255,0.04), rgba(0,0,0,0.30)),
    radial-gradient(700px 320px at 0% 0%, rgba(11,162,255,0.10), transparent 65%);
  padding: 48px 56px;
}
@keyframes ind-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.ind-summary {
  font-family: var(--font-display);
  font-size: 26px; font-weight: var(--w-semibold);
  line-height: 1.35; letter-spacing: -0.015em;
  max-width: 900px;
  margin-bottom: 44px;
  color: #fff;
}
.ind-accent { color: var(--velo-blue); }

.ind-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) 1.15fr;
  gap: 64px;
  align-items: start;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-08);
}
.ind-stats { display: flex; flex-direction: column; gap: 24px; }
.ind-stat {
  display: flex; align-items: baseline; gap: 18px;
}
.ind-n {
  font-family: var(--font-mono); font-weight: var(--w-semibold);
  font-size: 56px; line-height: 1.0; letter-spacing: -0.02em;
  color: var(--velo-blue);
  font-variant-numeric: tabular-nums;
  min-width: 0;
}
.ind-l {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-on-dark-64); letter-spacing: 0.12em; text-transform: uppercase;
  line-height: 1.4;
  max-width: 140px;
}

.ind-quote {
  font-size: 16px; line-height: 1.7;
  color: var(--fg-on-dark-92);
}

.ind-foot {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: 28px;
}
.ind-author {
  font-size: 15px; font-weight: var(--w-semibold); color: #fff;
}
.ind-scale {
  font-size: 13px; color: var(--fg-on-dark-64);
  margin-top: 4px;
}

/* =========== Challenges =========== */
.chal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: stretch; }
.chal-card {
  position: relative; perspective: 1600px;
  cursor: pointer;
}
.chal-inner {
  position: relative;
  display: grid;
  grid-template-areas: "face";
  height: 100%;
  transition: transform .6s cubic-bezier(.4,.2,.2,1);
  transform-style: preserve-3d;
}
.chal-card.flipped .chal-inner { transform: rotateY(180deg); }
.chal-face {
  grid-area: face;
  padding: 36px;
  border: 1px solid var(--line-08); border-radius: 16px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 24px;
  min-height: 280px;
}
.chal-front { background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0)); }
.chal-card:hover .chal-front { border-color: var(--line-36); }
.chal-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, rgba(11,162,255,0.10), rgba(0,0,0,0.6));
  border-color: rgba(11,162,255,0.4);
  box-shadow: var(--glow-blue-soft);
}
.chal-tag {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--velo-cyan); letter-spacing: 0.18em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
}
.chal-idx { color: var(--fg-on-dark-36); letter-spacing: 0.10em; }
.chal-sep { color: var(--fg-on-dark-36); }
.chal-back .chal-tag { color: var(--velo-blue); }
.chal-title { font-size: 24px; font-weight: var(--w-semibold); line-height: 1.25; margin: 12px 0 16px; letter-spacing: -0.01em; }
.chal-lines { display: grid; gap: 6px; }
.chal-line { font-size: 14px; line-height: 1.5; color: var(--fg-on-dark-64); }
.chal-line.kicker { color: #fff; font-weight: var(--w-medium); margin-top: 6px; }
.chal-flip-hint { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; color: var(--velo-blue); letter-spacing: 0.08em; text-transform: uppercase; }
.chal-back .chal-body { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.85); }

/* =========== Architecture (engine board) =========== */

.arch-2026-head {
  text-align: left;
  margin-bottom: 40px;
  max-width: 760px;
}
.arch-2026-title {
  font-family: var(--font-display); font-weight: var(--w-bold);
  font-size: 52px; line-height: 1.05; letter-spacing: -0.025em;
  margin: 14px 0 18px; color: #fff;
}
.arch-2026-lede {
  font-size: 16px; line-height: 1.6; color: var(--fg-on-dark-64); max-width: 600px;
}

/* 2-col board: engine + accordion */
.arch-2026-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}
.arch-side { min-width: 0; }

/* Engine board container */
.eng-board {
  border: 1px solid var(--line-08);
  border-radius: 16px;
  padding: 28px 24px 32px;
  background:
    radial-gradient(700px 350px at 50% 100%, rgba(11,162,255,0.04), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.015), rgba(0,0,0,0.30));
  min-width: 0;
}
.eng-board-head {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-on-dark-64); letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 28px;
}

.eng-foot {
  display: flex; align-items: center; gap: 18px;
  margin-top: 28px; padding-top: 18px;
  border-top: 1px dashed var(--line-08);
  font-family: var(--font-mono); font-size: 12px;
  color: var(--fg-on-dark-64); letter-spacing: 0.04em;
  flex-wrap: wrap;
}
.eng-foot-stat b {
  color: var(--velo-cyan); font-weight: var(--w-semibold); margin-right: 4px;
}
.eng-foot-sep {
  width: 1px; height: 14px; background: var(--line-15);
}

/* Columns row with dotted connectors */
.eng-cols {
  position: relative;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
/* Single dotted line through the center of all columns */
.eng-cols::before {
  content: ""; position: absolute;
  top: 50%; left: 0; right: 0; height: 1px;
  background-image: linear-gradient(90deg, var(--velo-blue) 50%, transparent 50%);
  background-size: 5px 1px;
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
  transform: translateY(-0.5px);
}

/* Individual column card */
.eng-col {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line-15);
  border-radius: 14px;
  background: rgba(8,10,28,0.90);
  padding: 18px 14px 16px;
  display: flex; flex-direction: column; gap: 14px;
  min-width: 0;
}
.eng-col.accent {
  border-color: var(--velo-blue);
  background:
    linear-gradient(180deg, rgba(11,162,255,0.10), rgba(8,10,28,0.95)),
    rgba(8,10,28,0.95);
  box-shadow:
    0 0 0 1px rgba(11,162,255,0.45),
    0 0 30px rgba(11,162,255,0.30),
    inset 0 0 30px rgba(11,162,255,0.05);
}

.eng-num {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--fg-on-dark-64); letter-spacing: 0.18em;
  text-align: center;
  font-weight: var(--w-medium);
}
.eng-col.accent .eng-num { color: var(--velo-cyan); }

.eng-title {
  font-family: var(--font-display); font-weight: var(--w-semibold);
  font-size: 16px; letter-spacing: -0.005em;
  color: #fff; text-align: center;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-08);
}

.eng-items {
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
  justify-content: space-between;
}
.eng-item {
  border: 1px solid var(--line-15);
  border-radius: 8px;
  padding: 12px 10px;
  text-align: center;
  background: rgba(255,255,255,0.015);
}
.eng-col.accent .eng-item {
  border-color: rgba(11,162,255,0.35);
  background: rgba(11,162,255,0.06);
}
.eng-item-t {
  font-size: 13.5px; font-weight: var(--w-semibold); color: #fff;
  letter-spacing: -0.005em; line-height: 1.3;
}
.eng-item-s {
  font-size: 11.5px; color: var(--fg-on-dark-64);
  line-height: 1.4; margin-top: 4px;
}

/* Accordion (side rail) */
.accordion { display: flex; flex-direction: column; gap: 10px; }
.acc-item {
  border: 1px solid var(--line-08);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
}
.acc-item.open {
  border-color: rgba(11,162,255,0.50);
  background: linear-gradient(180deg, rgba(11,162,255,0.06), rgba(0,0,0,0.40));
  box-shadow: 0 0 0 1px rgba(11,162,255,0.20);
}
.acc-head {
  width: 100%;
  display: grid; grid-template-columns: 36px 1fr 16px;
  align-items: center; gap: 14px;
  padding: 22px 22px;
  cursor: pointer; text-align: left;
}
.acc-num {
  font-family: var(--font-display); font-size: 24px;
  font-weight: var(--w-bold); color: var(--fg-on-dark-36);
  letter-spacing: -0.02em;
}
.acc-item.open .acc-num { color: #fff; }
.acc-title {
  font-size: 16px; font-weight: var(--w-medium); color: #fff;
  line-height: 1.3;
}
.acc-toggle {
  font-size: 22px; color: var(--fg-on-dark-64); text-align: center;
  width: 16px; line-height: 1; font-weight: var(--w-regular);
}
.acc-item.open .acc-toggle { color: var(--velo-cyan); }
.acc-body {
  padding: 0 22px 22px;
}
.acc-rule {
  height: 1px; background: var(--line-08); margin: 16px 0;
}
.acc-para {
  font-size: 14px; line-height: 1.65; color: var(--fg-on-dark-92);
}
.acc-cta {
  margin-top: 18px; font-size: 13px; color: var(--velo-blue);
}

/* =========== Deep dives =========== */
.dd-grid { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: flex-start; }
.dd-tabs { display: flex; flex-direction: column; gap: 4px; }
.dd-tab {
  text-align: left; padding: 18px 20px; border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer; transition: all .15s;
  display: flex; flex-direction: column; gap: 4px;
}
.dd-tab:hover { background: rgba(255,255,255,0.03); }
.dd-tab.active { background: rgba(11,162,255,0.08); border-color: rgba(11,162,255,0.30); }
.dd-tab .n { font-family: var(--font-mono); font-size: 11px; color: var(--velo-cyan); letter-spacing: 0.12em; }
.dd-tab .t { font-size: 16px; font-weight: var(--w-medium); color: #fff; line-height: 1.3; }
.dd-tab.active .t { color: var(--velo-cyan); }
.dd-content { font-size: 16px; line-height: 1.75; color: var(--fg-on-dark-64); }
.dd-content h3 { font-size: 32px; font-weight: var(--w-bold); color: #fff; line-height: 1.2; letter-spacing: -0.015em; margin-bottom: 8px; }
.dd-content .lead { font-size: 18px; color: #fff; line-height: 1.5; margin-bottom: 28px; }
.dd-content p { margin-bottom: 18px; }
.dd-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.dd-pill {
  display: inline-flex; padding: 6px 12px; border-radius: var(--r-pill);
  border: 1px solid rgba(11,162,255,0.30); background: rgba(11,162,255,0.05);
  font-family: var(--font-mono); font-size: 12px; color: var(--velo-cyan);
}
.dd-cta { margin-top: 16px; }

/* =========== Resources =========== */
.res-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.res-card {
  position: relative;
  padding: 24px 22px; border: 1px solid var(--line-08); border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  transition: all .2s; cursor: pointer; min-height: 200px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.res-card:hover { border-color: rgba(11,162,255,0.40); background: linear-gradient(180deg, rgba(11,162,255,0.06), rgba(255,255,255,0)); }
.res-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--velo-cyan); }
.res-tag.customer { color: var(--velo-pink); }
.res-tag.technical { color: var(--velo-cyan); }
.res-tag.guide { color: #FFAA00; }
.res-tag.integration { color: #25D366; }
.res-tag.benchmark { color: var(--velo-blue); }
.res-title { font-size: 17px; font-weight: var(--w-medium); line-height: 1.35; color: #fff; margin: 14px 0 14px; }
.res-cta { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; color: var(--velo-blue); letter-spacing: 0.08em; text-transform: uppercase; }

/* =========== Final CTA =========== */
.final-cta {
  position: relative; overflow: hidden;
  padding: 96px 64px;
  background: linear-gradient(135deg, #04062a 0%, #02030d 100%);
  border: 1px solid rgba(11,162,255,0.30); border-radius: 24px;
  text-align: center;
}
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 50% 100%, rgba(11,162,255,0.25), transparent 70%);
  pointer-events: none;
}
.final-cta h2 { position: relative; font-size: 56px; font-weight: var(--w-bold); line-height: 1.05; letter-spacing: -0.02em; max-width: 760px; margin: 0 auto; }
.final-cta p { position: relative; margin: 24px auto 36px; max-width: 600px; font-size: 18px; color: var(--fg-on-dark-64); line-height: 1.5; }
.final-cta .ctas { position: relative; display: inline-flex; gap: 12px; }

/* =========== Footer =========== */
.footer { background: var(--bg-footer); padding: 80px 0 40px; border-top: 1px solid var(--line-08); }
.footer-inner { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 60px; }
.footer-brand img { height: 22px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--fg-on-dark-64); line-height: 1.6; max-width: 280px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 13px; color: var(--fg-on-dark-mute); margin-bottom: 18px; font-weight: var(--w-medium); }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 14px; color: var(--fg-on-dark-92); cursor: pointer; }
.footer-col a:hover { color: var(--velo-blue); }
.footer-bottom {
  border-top: 1px solid var(--line-08); margin-top: 64px; padding-top: 24px;
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--fg-on-dark-64); font-family: var(--font-mono);
}

/* Tweak panel theme accent override */
.theme-cyan-accent .chip { background: rgba(26,236,255,0.10); border-color: rgba(26,236,255,0.35); color: var(--velo-cyan); }
.theme-cyan-accent .chip .dot { background: var(--velo-cyan); box-shadow: 0 0 8px var(--velo-cyan); }
.theme-cyan-accent .btn-velo { background: var(--velo-cyan); color: #000; }

/* Tweak: light mode for hero (toggleable) */
.theme-light .hero { background: #fff; color: #131B26; }
.theme-light .hero-bg { background: radial-gradient(900px 540px at 50% -180px, rgba(11,162,255,0.18), transparent 60%); }
.theme-light .hero-grid { background-image: linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px); }
.theme-light .hero-title, .theme-light .breadcrumb { color: #131B26; }
.theme-light .hero-lede, .theme-light .hero-bullet { color: #4C576C; }
.theme-light .btn-primary { background: #131B26; color: #fff; }
.theme-light .btn-ghost { color: #131B26; border-color: #C9CDD4; }

@media (max-width: 1380px) {
  .arch-2026-board { grid-template-columns: 1fr; }
  .arch-side { max-width: 720px; }
}

@media (max-width: 1000px) {
  .eng-cols { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .eng-cols::before { display: none; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .vp-2col { grid-template-columns: 1fr; gap: 40px; }
  .vp-h2 { font-size: 40px; }
  .res-grid { grid-template-columns: repeat(2, 1fr); }
  .eng-cols { grid-template-columns: 1fr; }
  .chal-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .ind-grid { grid-template-columns: 1fr; gap: 32px; }
  .ind-foot { flex-direction: column; align-items: flex-start; gap: 18px; }
  .ind-panel { padding: 32px 24px; }
  .ind-summary { font-size: 22px; }
  .ind-n { font-size: 44px; }
}
