/* =====================================================================
   APEX TECH CONSULTING — Design System v1
   "Linear precision × Anthropic warmth × Palantir gravity"
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@300;400;500;600&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* Surfaces — warm-tinted blacks, layered */
  --bg-0: #08080A;            /* page */
  --bg-1: #0E0E11;            /* section */
  --bg-2: #15151A;            /* card */
  --bg-3: #1D1D24;            /* elevated */
  --bg-4: #262631;            /* border-strong */

  /* Ink — warm whites, very Anthropic */
  --ink-0: #F7F6F2;
  --ink-1: #C7C5BE;
  --ink-2: #87857E;
  --ink-3: #54534D;
  --ink-4: #2E2D29;

  /* Accents — monochrome-aligned with brand mark */
  --accent: #6E7BFF;          /* electric cobalt — primary */
  --accent-2: #B488FF;        /* violet — gradient pair */
  --accent-3: #DCDCFF;        /* pale lavender — replaces warm terracotta */
  --accent-glow: none;

  /* State */
  --good: #5EE6A1;
  --warn: #F5C26B;
  --bad:  #FF8B7A;

  /* Type */
  --font-display: 'Instrument Serif', 'Tiempos Headline', Georgia, serif;
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, monospace;

  /* Geometry */
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --maxw: 1240px;
  --pad-x: clamp(20px, 4vw, 56px);
}

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

html, body { margin: 0; padding: 0; }

html {
  background: var(--bg-0);
  color: var(--ink-0);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  background: var(--bg-0);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
::selection { background: var(--accent); color: var(--bg-0); }

/* ---------- Page texture: grain + ambient mesh ---------- */
body::before {
  /* fine animated grain */
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
  animation: grain 8s steps(8) infinite;
}
@keyframes grain {
  0%   { transform: translate(0,0); }
  10%  { transform: translate(-3%,-2%); }
  20%  { transform: translate(2%, 3%); }
  30%  { transform: translate(-1%, 1%); }
  40%  { transform: translate(3%, -1%); }
  50%  { transform: translate(-2%, 2%); }
  60%  { transform: translate(1%, -3%); }
  70%  { transform: translate(-3%, 3%); }
  80%  { transform: translate(2%, -2%); }
  90%  { transform: translate(-1%, 2%); }
  100% { transform: translate(0,0); }
}

/* ambient mesh removed — no glow */

main, header, footer, section { position: relative; z-index: 2; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--accent);
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.02;
  font-size: clamp(48px, 7vw, 104px);
  color: var(--ink-0);
}
.display em { font-style: italic; color: var(--ink-1); }
.display .grad {
  background: linear-gradient(115deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1, h2, h3, h4 { font-family: var(--font-ui); font-weight: 600; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.05; }
h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; }
h3 { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.25; font-weight: 600; }
h4 { font-size: 16px; font-weight: 600; }

p { color: var(--ink-1); font-size: 16.5px; line-height: 1.65; margin: 0; }
.lead { font-size: clamp(18px, 1.6vw, 22px); color: var(--ink-1); line-height: 1.5; max-width: 62ch; }
.meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-2); }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--ink-4), transparent); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: linear-gradient(180deg, rgba(8,8,10,0.85), rgba(8,8,10,0.55));
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--pad-x);
  max-width: var(--maxw); margin: 0 auto;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-ui); font-weight: 600;
  letter-spacing: -0.01em; font-size: 16px;
}
.brand__mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  position: relative;
  color: var(--ink-0);
}
.brand__mark svg { width: 44px; height: 44px; }
.brand__mark::after { content: none; }
.brand__name { color: var(--ink-0); }
.brand__name span { color: var(--ink-2); }

.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-size: 13.5px; color: var(--ink-1);
  transition: color .25s var(--ease);
  font-weight: 450;
}
.nav__links a:hover { color: var(--ink-0); }
.nav__links a.active { color: var(--ink-0); }
.nav__links a.active::after {
  content: ""; display: block; height: 1px; margin-top: 6px;
  background: var(--accent);
}
@media (max-width: 760px) { .nav__links { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  font-size: 14px; font-weight: 500; letter-spacing: -0.005em;
  border-radius: 999px;
  transition: all .25s var(--ease);
  position: relative; overflow: hidden;
}
.btn--primary {
  background: var(--ink-0);
  color: var(--bg-0);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.0);
}
.btn--primary:hover { transform: translateY(-1px); background: #FFFFFF; }
.btn--ghost {
  color: var(--ink-0);
  box-shadow: inset 0 0 0 1px var(--bg-4);
  background: rgba(255,255,255,0.02);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink-3); background: rgba(255,255,255,0.04); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Card ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
  overflow: hidden;
}
.card::before { content: none; }
.card:hover { border-color: rgba(255,255,255,0.18); transform: translateY(-2px); }
.card__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.03);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10);
  color: var(--ink-0);
  margin-bottom: 18px;
}
.card__title { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-0); margin-bottom: 8px; }
.card__body { color: var(--ink-1); font-size: 14.5px; line-height: 1.6; }
.card__more {
  margin-top: 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px;
}
.card__more::after {
  content: "→"; transition: transform .25s var(--ease);
}
.card:hover .card__more { color: var(--ink-0); }
.card:hover .card__more::after { transform: translateX(4px); color: var(--accent); }

/* ---------- Tag/Chip ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  color: var(--ink-1);
}
.chip__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.chip__dot--good { background: var(--good); }
.chip__dot--warn { background: var(--warn); }
.chip--pulse .chip__dot { /* glow removed */ }

/* ---------- Grid & dot patterns ---------- */
.bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
}
.bg-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 75%);
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex; gap: 60px; width: max-content;
  animation: marquee 38s linear infinite;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.marquee__item {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em;
  color: var(--ink-2); display: inline-flex; align-items: center; gap: 14px;
  text-transform: uppercase; white-space: nowrap;
}
.marquee__item::after {
  content: "✱"; color: var(--ink-4); font-size: 12px;
}

/* ---------- Stat ---------- */
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 96px);
  line-height: 1; letter-spacing: -0.04em;
  color: var(--ink-0);
}
.stat__num .unit { font-size: 0.45em; color: var(--ink-2); margin-left: 4px; }
.stat__label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-2);
  margin-top: 14px;
}
.stat__hint { color: var(--ink-1); font-size: 14px; line-height: 1.5; margin-top: 8px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 80px 0 40px;
  background: transparent;
}
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }
.footer__col h5 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-2); margin: 0 0 18px 0;
}
.footer__col a { display: block; color: var(--ink-1); font-size: 14px; padding: 6px 0; transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--ink-0); }
.footer__bot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 60px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.05);
  font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-2); letter-spacing: 0.06em;
}
@media (max-width: 560px) { .footer__bot { flex-direction: column; gap: 12px; align-items: flex-start; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .4s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(72px, 12vw, 160px) 0 clamp(48px, 7vw, 100px);
  overflow: hidden;
}
.hero__halo { display: none; /* glow removed */ }

.hero__content { position: relative; z-index: 1; }
.hero__title { margin: 22px 0 28px; }
.hero__sub  { max-width: 56ch; color: var(--ink-1); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; }
.hero__cta  { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero__strip {
  margin-top: 80px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.hero__strip__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); }
.hero__strip__items { display: flex; gap: 36px; flex-wrap: wrap; }
.hero__strip__items span { font-size: 14px; color: var(--ink-1); font-weight: 500; letter-spacing: -0.005em; }

/* ---------- Console / live system mock ---------- */
.console {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    0 30px 80px -20px rgba(0,0,0,0.6);
  overflow: hidden;
}
.console__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-2);
  letter-spacing: 0.06em;
}
.console__dots { display: flex; gap: 6px; }
.console__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--bg-4); display: inline-block; }
.console__path { flex: 1; text-align: center; }
.console__status { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-1); }
.console__status::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--good);
}

.console__body { padding: 22px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; }
@media (max-width: 760px) { .console__body { grid-template-columns: 1fr; } }

.tile {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 16px;
}
.tile__label {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-2);
}
.tile__value {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 36px; letter-spacing: -0.03em; line-height: 1; color: var(--ink-0);
}
.tile__delta { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; color: var(--good); margin-top: 8px; }
.tile__delta.down { color: var(--bad); }

.spark { height: 38px; margin-top: 12px; }
.spark path.fill { fill: rgba(110,123,255,0.2); }
.spark path.line { stroke: var(--accent); stroke-width: 1.5; fill: none; }

/* Event stream */
.stream { display: flex; flex-direction: column; gap: 10px; }
.stream__row {
  display: grid; grid-template-columns: 64px 1fr auto;
  gap: 12px; align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
}
.stream__row .t { font-family: var(--font-mono); font-size: 11px; color: var(--ink-2); }
.stream__row .msg { color: var(--ink-1); }
.stream__row .tag { font-family: var(--font-mono); font-size: 10.5px; padding: 3px 8px; border-radius: 4px; }
.stream__row .tag.ok  { color: var(--good); background: rgba(94,230,161,0.08); box-shadow: inset 0 0 0 1px rgba(94,230,161,0.2); }
.stream__row .tag.warn{ color: var(--warn); background: rgba(245,194,107,0.08); box-shadow: inset 0 0 0 1px rgba(245,194,107,0.2); }
.stream__row .tag.info{ color: var(--accent); background: rgba(110,123,255,0.08); box-shadow: inset 0 0 0 1px rgba(110,123,255,0.2); }

/* ---------- "Stack" architecture diagram ---------- */
.stack {
  display: grid; gap: 10px;
}
.stack__layer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(110,123,255,0.06), rgba(110,123,255,0));
  border: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-1);
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
.stack__layer:nth-child(1) { background: linear-gradient(90deg, rgba(255,122,89,0.10), rgba(255,122,89,0)); }
.stack__layer:nth-child(2) { background: linear-gradient(90deg, rgba(180,136,255,0.10), rgba(180,136,255,0)); }
.stack__layer:nth-child(3) { background: linear-gradient(90deg, rgba(110,123,255,0.10), rgba(110,123,255,0)); }
.stack__layer:nth-child(4) { background: linear-gradient(90deg, rgba(94,230,161,0.08), rgba(94,230,161,0)); }
.stack__layer:nth-child(5) { background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0)); }
.stack__layer .num {
  width: 24px; height: 24px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  font-size: 10px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  margin-right: 12px;
  vertical-align: middle;
  text-align: center;
  padding-top: 1px;          /* optical balance for mono digits */
}
.stack__layer span:first-child { display: inline-flex; align-items: center; }
.stack__layer .desc { font-family: var(--font-ui); text-transform: none; letter-spacing: -0.005em; color: var(--ink-2); font-size: 12.5px; }

/* ---------- Section heads ---------- */
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.sec-head h2 { max-width: 22ch; }
.sec-head p  { max-width: 44ch; color: var(--ink-1); }

/* ---------- Lists ---------- */
.bullet { list-style: none; padding: 0; margin: 0; }
.bullet li {
  position: relative;
  padding: 14px 0 14px 30px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--ink-1); font-size: 15px;
}
.bullet li:last-child { border-bottom: 0; }
.bullet li::before {
  content: ""; position: absolute; left: 0; top: 22px;
  width: 12px; height: 1px; background: var(--ink-2);
}
.bullet li b { color: var(--ink-0); font-weight: 600; }

/* ---------- KPI strip ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.06); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 760px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
.kpi { background: var(--bg-1); padding: 28px; }
.kpi__num { font-family: var(--font-display); font-size: clamp(36px, 4vw, 54px); line-height: 1; letter-spacing: -0.03em; color: var(--ink-0); }
.kpi__lbl { margin-top: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- CTA banner ---------- */
.cta {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 80px);
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.cta__inner { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.cta h2 { max-width: 18ch; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Process / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 30px; position: relative; background: var(--bg-1); }
.step + .step { border-left: 1px solid rgba(255,255,255,0.06); }
@media (max-width: 900px) { .step + .step { border-left: 0; border-top: 1px solid rgba(255,255,255,0.06); } }
.step__num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--accent); }
.step__title { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin: 14px 0 10px; color: var(--ink-0); }
.step__body { color: var(--ink-1); font-size: 14px; line-height: 1.55; }
.step__body code { font-family: var(--font-mono); font-size: 12px; padding: 2px 6px; background: rgba(110,123,255,0.08); border-radius: 4px; color: var(--accent); }

/* ---------- People ---------- */
.person {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
}
.person__avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--ink-3);
  position: relative;
  display: grid; place-items: center;
  color: var(--ink-1); font-family: var(--font-display); font-size: 28px;
}
.person__avatar::after { content: none; }
.person__name { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.person__title { color: var(--ink-2); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.person__bio { color: var(--ink-1); font-size: 14px; line-height: 1.6; margin-top: 6px; }

/* ---------- Form ---------- */
.form {
  display: grid; gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.field input,
.field textarea,
.field select {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-family: var(--font-ui); font-size: 15px;
  color: var(--ink-0);
  transition: border-color .2s var(--ease), background .2s var(--ease);
  outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: rgba(110,123,255,0.5);
  background: rgba(110,123,255,0.06);
}
.field textarea { min-height: 140px; resize: vertical; }

/* ---------- Tab pill ---------- */
.tabbar {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
  gap: 4px;
}
.tabbar button {
  padding: 8px 16px;
  font-size: 12.5px; color: var(--ink-2);
  border-radius: 999px;
  transition: all .25s var(--ease);
}
.tabbar button.active { background: var(--ink-0); color: var(--bg-0); font-weight: 500; }

/* ---------- Misc ---------- */
.kbd {
  font-family: var(--font-mono); font-size: 11px;
  padding: 2px 6px; border-radius: 4px;
  background: var(--bg-2); color: var(--ink-1);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 1px 0 rgba(255,255,255,0.04);
}
.notice {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.05em;
  color: var(--ink-1);
}

/* ---------- Page-specific helpers ---------- */
.col-2 { columns: 2; column-gap: 36px; }
@media (max-width: 760px) { .col-2 { columns: 1; } }

.callout {
  padding: 22px 24px;
  border-radius: var(--radius);
  border-left: 2px solid var(--accent);
  background: rgba(110,123,255,0.05);
  color: var(--ink-1); font-size: 15px; line-height: 1.6;
  font-family: var(--font-display); font-style: italic;
}
