/* ==========================================================================
   Throughput Labs — Design System
   ========================================================================== */

:root {
  --bg:            #05070d;
  --bg-2:          #080b14;
  --surface:       #0d1220;
  --surface-2:     #111828;
  --line:          rgba(255, 255, 255, .08);
  --line-strong:   rgba(255, 255, 255, .16);

  --mint:          #3ee0b0;
  --blue:          #5b8cff;
  --violet:        #9b7cff;

  --text:          #e8edf7;
  --text-2:        #a7b1c4;
  --text-3:        #6f7b92;

  --grad:          linear-gradient(120deg, var(--mint), var(--blue) 55%, var(--violet));
  --grad-soft:     linear-gradient(140deg, rgba(62,224,176,.14), rgba(91,140,255,.10) 60%, rgba(155,124,255,.10));

  --radius:        16px;
  --radius-lg:     24px;
  --maxw:          1200px;

  --ff:            "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ff-mono:       "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease:          cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff);
  font-size: 16.5px;
  line-height: 1.68;
  font-weight: 400;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: rgba(62,224,176,.28); color: #fff; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; position: relative; }
.section--tight { padding: 72px 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.12;
  letter-spacing: -.028em;
  font-weight: 600;
}
h1 { font-size: clamp(2.35rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.35rem); letter-spacing: -.018em; }
h4 { font-size: 1.02rem; letter-spacing: -.01em; }
p  { margin: 0 0 1.1em; color: var(--text-2); }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.22rem); color: var(--text-2); max-width: 62ch; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--ff-mono);
  font-size: .715rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 18px;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--mint);
  opacity: .7;
}

.section-head { max-width: 780px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 100px;
  font-size: .94rem;
  font-weight: 550;
  letter-spacing: -.008em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
  font-family: inherit;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--primary {
  background: var(--grad);
  color: #04070e;
  font-weight: 650;
  box-shadow: 0 8px 28px -10px rgba(62,224,176,.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(91,140,255,.65); }
.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255,255,255,.02);
}
.btn--ghost:hover { border-color: rgba(62,224,176,.55); background: rgba(62,224,176,.06); transform: translateY(-2px); }
.btn--lg { padding: 17px 34px; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5,7,13,.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(5,7,13,.9); }
.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 74px;
}
.logo { display: flex; align-items: center; gap: 11px; flex: none; }
.logo__mark { width: 30px; height: 30px; }
.logo__txt {
  font-size: 1.04rem;
  font-weight: 620;
  letter-spacing: -.03em;
}
.logo__txt span { color: var(--text-3); font-weight: 450; }

.nav__links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav__links a {
  padding: 9px 15px;
  border-radius: 9px;
  font-size: .915rem;
  color: var(--text-2);
  transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav__links a.is-active { color: var(--mint); }
.nav__cta { flex: none; }

.nav__toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  width: 42px; height: 42px;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  display: block; width: 17px; height: 1.5px; background: currentColor; position: relative;
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 1.5px; background: currentColor;
}
.nav__toggle span::before { top: -5.5px; }
.nav__toggle span::after  { top: 5.5px; }

@media (max-width: 1000px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 74px; left: 0; right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    padding: 14px 24px 22px;
    gap: 2px;
  }
  .nav.is-open .nav__links a { padding: 13px 12px; font-size: 1rem; }
  .nav.is-open .nav__cta { display: block; position: absolute; top: 74px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 108px 0 92px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__bg::before {
  content: "";
  position: absolute;
  top: -300px; left: 50%;
  transform: translateX(-50%);
  width: 1100px; height: 800px;
  background: radial-gradient(ellipse at center, rgba(62,224,176,.16), rgba(91,140,255,.10) 42%, transparent 70%);
  filter: blur(20px);
}
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 85% 60% at 50% 25%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 60% at 50% 25%, #000 25%, transparent 78%);
}
.hero__inner { position: relative; z-index: 1; }
.hero--center { text-align: center; }
.hero--center .lead { margin-inline: auto; }
.hero--center .btn-row { justify-content: center; }
.hero--center .eyebrow::before { display: none; }

.chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  background: rgba(255,255,255,.03);
  font-size: .82rem;
  color: var(--text-2);
  margin-bottom: 26px;
}
.chip b { color: var(--text); font-weight: 550; }
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(62,224,176,.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(62,224,176,.05); } }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 660px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .35s var(--ease), border-color .35s, background .35s;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card__num {
  font-family: var(--ff-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--text-3);
  display: block;
  margin-bottom: 18px;
}

.icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(62,224,176,.10);
  border: 1px solid rgba(62,224,176,.2);
  margin-bottom: 20px;
  color: var(--mint);
}
.icon svg { width: 22px; height: 22px; }
.icon--blue { background: rgba(91,140,255,.10); border-color: rgba(91,140,255,.22); color: var(--blue); }
.icon--violet { background: rgba(155,124,255,.10); border-color: rgba(155,124,255,.22); color: var(--violet); }

.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.tag {
  font-family: var(--ff-mono);
  font-size: .68rem;
  letter-spacing: .04em;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line);
  color: var(--text-3);
}

/* ---------- Lists ---------- */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.checks li {
  display: flex; gap: 12px;
  color: var(--text-2);
  font-size: .96rem;
  line-height: 1.55;
}
.checks li::before {
  content: "";
  flex: none;
  width: 18px; height: 18px;
  margin-top: 4px;
  border-radius: 5px;
  background: rgba(62,224,176,.14);
  border: 1px solid rgba(62,224,176,.32);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ee0b0' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}
.checks li b { color: var(--text); font-weight: 550; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: var(--surface); padding: 30px 26px; }
.stat__val {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 620;
  letter-spacing: -.035em;
  line-height: 1;
  margin-bottom: 10px;
}
.stat__lbl { font-size: .86rem; color: var(--text-3); line-height: 1.45; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--wide { grid-template-columns: 1.05fr .95fr; }
@media (max-width: 940px) { .split, .split--wide { grid-template-columns: 1fr; gap: 42px; } }

/* ---------- Steps / timeline ---------- */
.steps { display: grid; gap: 0; position: relative; counter-reset: st; }
.step {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 26px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n {
  font-family: var(--ff-mono);
  font-size: .78rem;
  letter-spacing: .1em;
  color: var(--mint);
  padding-top: 5px;
}
.step__body h3 { margin-bottom: .4em; }
.step__body p:last-child { margin-bottom: 0; }
.step__meta {
  font-family: var(--ff-mono);
  font-size: .72rem;
  color: var(--text-3);
  letter-spacing: .06em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
@media (max-width: 620px) { .step { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- Case studies ---------- */
.case {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .35s;
}
.case:hover { border-color: var(--line-strong); }
.case__top {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 0;
}
@media (max-width: 900px) { .case__top { grid-template-columns: 1fr; } }
.case__main { padding: 34px 32px; }
.case__side {
  padding: 34px 32px;
  background: var(--surface-2);
  border-left: 1px solid var(--line);
}
@media (max-width: 900px) { .case__side { border-left: none; border-top: 1px solid var(--line); } }
.case__sector {
  font-family: var(--ff-mono);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
  display: block;
}
.case__block { margin-bottom: 20px; }
.case__block:last-child { margin-bottom: 0; }
.case__block h4 {
  font-size: .76rem;
  font-family: var(--ff-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
  font-weight: 500;
}
.case__block p { margin: 0; font-size: .95rem; }
.kpi { display: grid; gap: 16px; }
.kpi__item { display: flex; align-items: baseline; gap: 12px; }
.kpi__val {
  font-family: var(--ff-mono);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -.02em;
  min-width: 78px;
  color: var(--mint);
}
.kpi__lbl { font-size: .88rem; color: var(--text-2); line-height: 1.4; }

/* ---------- Code / terminal panel ---------- */
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #070a12;
  overflow: hidden;
  box-shadow: 0 30px 80px -40px rgba(0,0,0,.9);
}
.panel__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.panel__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.panel__bar span {
  font-family: var(--ff-mono); font-size: .72rem; color: var(--text-3); margin-left: 8px;
}
.panel__body {
  padding: 20px 20px;
  font-family: var(--ff-mono);
  font-size: .78rem;
  line-height: 1.95;
  color: var(--text-2);
  overflow-x: auto;
}
.panel__body .c-key { color: var(--blue); }
.panel__body .c-str { color: var(--mint); }
.panel__body .c-com { color: var(--text-3); }
.panel__body .c-num { color: var(--violet); }
.panel__body .c-op  { color: var(--text-3); }

/* ---------- Flow diagram ---------- */
.flow {
  display: grid;
  gap: 10px;
}
.flow__row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  font-size: .9rem;
}
.flow__row b { font-weight: 550; color: var(--text); }
.flow__row small { color: var(--text-3); font-family: var(--ff-mono); font-size: .7rem; margin-left: auto; }
.flow__ico {
  width: 32px; height: 32px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
  background: rgba(91,140,255,.1); color: var(--blue);
  border: 1px solid rgba(91,140,255,.2);
}
.flow__ico svg { width: 15px; height: 15px; }
.flow__arrow { text-align: center; color: var(--text-3); font-size: .8rem; line-height: 1; }

/* ---------- Logos strip ---------- */
.strip {
  display: flex; flex-wrap: wrap; gap: 14px 40px;
  align-items: center; justify-content: center;
  padding: 26px 0;
  opacity: .75;
}
.strip span {
  font-family: var(--ff-mono);
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ---------- CTA band ---------- */
.cta {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 62px 48px;
  text-align: center;
  overflow: hidden;
  background: var(--surface);
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 120% at 50% 0%, rgba(62,224,176,.16), transparent 65%);
}
.cta > * { position: relative; }
.cta h2 { margin-bottom: .35em; }
.cta .lead { margin: 0 auto 28px; }
@media (max-width: 620px) { .cta { padding: 44px 24px; } }

/* ---------- Form ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 34px;
}
@media (max-width: 620px) { .form-card { padding: 26px 20px; } }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: .82rem;
  font-weight: 550;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -.005em;
}
.field label .req { color: var(--mint); }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: #080c15;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  padding: 13px 15px;
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
  appearance: none;
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.6; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f7b92' stroke-width='2.2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 42px;
  cursor: pointer;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(62,224,176,.6);
  box-shadow: 0 0 0 3px rgba(62,224,176,.12);
  background: #0a0f1a;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field--error input, .field--error select, .field--error textarea { border-color: #ff6b6b; }
.field__err { display: none; font-size: .8rem; color: #ff8585; margin-top: 7px; }
.field--error .field__err { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.consent { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 24px; }
.consent input { width: 17px; height: 17px; margin-top: 3px; flex: none; accent-color: var(--mint); }
.consent span { font-size: .85rem; color: var(--text-3); line-height: 1.5; }

.alert {
  display: none;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 13px;
  margin-bottom: 22px;
  border: 1px solid rgba(62,224,176,.35);
  background: rgba(62,224,176,.07);
  align-items: flex-start;
}
.alert.is-visible { display: flex; animation: slideIn .45s var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateY(-8px); } }
.alert__ico { color: var(--mint); flex: none; margin-top: 1px; }
.alert__ico svg { width: 20px; height: 20px; }
.alert strong { display: block; color: var(--text); font-size: .95rem; margin-bottom: 3px; }
.alert p { margin: 0; font-size: .875rem; color: var(--text-2); }
.alert--note { border-color: rgba(91,140,255,.3); background: rgba(91,140,255,.06); }
.alert--note .alert__ico { color: var(--blue); }

.btn[disabled] { opacity: .6; cursor: progress; }
.spinner {
  width: 15px; height: 15px;
  border: 2px solid rgba(4,7,14,.3);
  border-top-color: #04070e;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Contact info side ---------- */
.info-list { display: grid; gap: 22px; }
.info-item { display: flex; gap: 15px; }
.info-item .icon { width: 40px; height: 40px; margin: 0; border-radius: 10px; flex: none; }
.info-item .icon svg { width: 18px; height: 18px; }
.info-item h4 { margin-bottom: 3px; font-size: .92rem; }
.info-item p { margin: 0; font-size: .9rem; }
.info-item a:hover { color: var(--mint); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  background: none; border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 1.04rem;
  font-weight: 550;
  letter-spacing: -.015em;
  text-align: left;
  padding: 24px 44px 24px 0;
  cursor: pointer;
  position: relative;
  line-height: 1.45;
}
.faq__q::after {
  content: "";
  position: absolute; right: 6px; top: 50%;
  width: 13px; height: 13px;
  margin-top: -6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ee0b0' stroke-width='2.6' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .3s var(--ease);
}
.faq__item.is-open .faq__q::after { transform: rotate(135deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a > div { padding: 0 0 24px; }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 62px 0 30px;
  margin-top: 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 48px;
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 500px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h5 {
  font-family: var(--ff-mono);
  font-size: .71rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { font-size: .91rem; color: var(--text-2); transition: color .2s; }
.footer ul a:hover { color: var(--mint); }
.footer__about p { font-size: .91rem; max-width: 34ch; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: space-between; align-items: center;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: .83rem;
  color: var(--text-3);
}
.footer__bottom p { margin: 0; color: var(--text-3); font-size: .83rem; }

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Utilities ---------- */
.mb-0 { margin-bottom: 0; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.center { text-align: center; }
.mono { font-family: var(--ff-mono); }
.small { font-size: .88rem; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
