/* ============================================================
   Quantum Dynamics, site v2
   Premium dark theme: near-black base, Tron cyan glow, QD red
   ============================================================ */

:root {
  --bg: #05070d;
  --bg-2: #080c16;
  --panel: #0a101f;
  --panel-2: #0d1526;
  --ink: #eaf1fa;
  --muted: #9db1c8;
  --muted-2: #7186a0;
  --cyan: #38c8f5;
  --cyan-soft: rgba(56, 200, 245, 0.14);
  --cyan-line: rgba(56, 200, 245, 0.22);
  --red: #ff2e2e;
  --red-soft: rgba(255, 46, 46, 0.12);
  --radius: 22px;
  --radius-sm: 16px;
  --font-display: "Orbitron", "Segoe UI", "Arial Black", sans-serif;
  --font-body: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --shadow-glow: 0 10px 44px rgba(56, 200, 245, 0.16);
  --max: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background:
    radial-gradient(1100px 520px at 85% -5%, rgba(56, 200, 245, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(56, 200, 245, 0.05), transparent 55%),
    radial-gradient(800px 600px at 110% 78%, rgba(255, 46, 46, 0.05), transparent 55%),
    var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

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

h1, h2, h3, .display {
  font-family: var(--font-display);
  line-height: 1.16;
  letter-spacing: 0.01em;
  font-weight: 800;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 14px; }
h3 { font-size: 1.16rem; font-weight: 700; }

.glow-text { color: var(--cyan); text-shadow: 0 0 26px rgba(56, 200, 245, 0.45); }
.red-text { color: var(--red); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 34px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--red), var(--cyan));
  box-shadow: 0 0 12px rgba(56, 200, 245, 0.6);
}
.eyebrow.center::after {
  content: ""; width: 34px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--red));
  box-shadow: 0 0 12px rgba(56, 200, 245, 0.6);
}

.lead { color: var(--muted); font-size: 1.08rem; max-width: 720px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }

.section { padding: 92px 0; }
.section.tight { padding: 60px 0; }
.section-head { margin-bottom: 44px; }

/* ---------- gradient-border card base ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid rgba(130, 205, 250, 0.14);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px 180px at 20% 0%, rgba(56, 200, 245, 0.10), transparent 65%);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 200, 245, 0.45);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.55), var(--shadow-glow);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 15px 28px; border-radius: 999px; border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  text-decoration: none !important; cursor: pointer; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(120deg, #6fdcff, #1d9fd8);
  color: #03121d;
  box-shadow: 0 8px 30px rgba(56, 200, 245, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(56, 200, 245, 0.5); }
.btn-red {
  background: linear-gradient(120deg, #ff5a4e, #e01e1e);
  color: #fff;
  box-shadow: 0 8px 30px rgba(255, 46, 46, 0.32);
}
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(255, 46, 46, 0.45); }
.btn-ghost {
  background: rgba(56, 200, 245, 0.05); color: var(--ink);
  border-color: rgba(56, 200, 245, 0.4);
}
.btn-ghost:hover { background: rgba(56, 200, 245, 0.14); transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(5, 7, 13, 0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(56, 200, 245, 0.14);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-logo img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a {
  color: var(--ink); font-size: 0.92rem; font-weight: 600; letter-spacing: 0.04em;
  text-decoration: none; padding: 6px 2px; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--red)); border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--cyan); }
.nav-cta { padding: 11px 22px; font-size: 0.78rem; }
.nav-links .nav-cta-li { display: none; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--cyan-line);
  border-radius: 12px; padding: 9px 11px; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--cyan); margin: 5px 0; border-radius: 2px; transition: 0.3s; }

/* ---------- hero ---------- */
.hero { padding: 168px 0 84px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center; }
.hero p.sub { color: var(--muted); font-size: 1.13rem; margin-top: 20px; max-width: 560px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em;
  color: var(--ink); background: rgba(56, 200, 245, 0.07);
  border: 1px solid rgba(56, 200, 245, 0.25); border-radius: 999px; padding: 7px 15px;
}
.chip.red { background: var(--red-soft); border-color: rgba(255, 46, 46, 0.35); }

.hero-media { position: relative; }
.frame {
  border-radius: 24px; overflow: hidden; position: relative;
  border: 1px solid rgba(56, 200, 245, 0.3);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(56, 200, 245, 0.13);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.lockup-strip {
  margin-top: 18px; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(255, 46, 46, 0.22);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5), 0 0 44px rgba(255, 46, 46, 0.08);
}
.lockup-strip img { width: 100%; }

.page-hero {
  padding: 178px 0 96px; position: relative; overflow: hidden;
  background-size: cover; background-position: center;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(5, 7, 13, 0.95) 25%, rgba(5, 7, 13, 0.72) 55%, rgba(5, 7, 13, 0.45)),
              linear-gradient(0deg, var(--bg) 2%, transparent 40%);
}
.page-hero .wrap { position: relative; }
.page-hero p.sub { color: #c3d3e6; font-size: 1.12rem; margin-top: 18px; max-width: 620px; }

/* ---------- stats band ---------- */
.stats {
  border-top: 1px solid rgba(56, 200, 245, 0.16);
  border-bottom: 1px solid rgba(56, 200, 245, 0.16);
  background: linear-gradient(90deg, rgba(56, 200, 245, 0.05), rgba(255, 46, 46, 0.04), rgba(56, 200, 245, 0.05));
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 38px 22px; text-align: center; }
.stat + .stat { border-left: 1px solid rgba(56, 200, 245, 0.12); }
.stat .num {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: #fff; text-shadow: 0 0 30px rgba(56, 200, 245, 0.5);
}
.stat .num em { font-style: normal; color: var(--cyan); }
.stat .lbl { color: var(--muted); font-size: 0.88rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 6px; }

/* ---------- grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }

/* ---------- icon cards ---------- */
.icon-chip {
  width: 58px; height: 58px; border-radius: 18px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, rgba(56, 200, 245, 0.18), rgba(56, 200, 245, 0.04));
  border: 1px solid rgba(56, 200, 245, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 6px 22px rgba(56, 200, 245, 0.14);
  color: var(--cyan); margin-bottom: 20px;
}
.icon-chip.red {
  background: linear-gradient(150deg, rgba(255, 46, 46, 0.2), rgba(255, 46, 46, 0.04));
  border-color: rgba(255, 46, 46, 0.4); color: #ff6d5e;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 6px 22px rgba(255, 46, 46, 0.14);
}
.icon-chip svg { width: 28px; height: 28px; }
.icon-card h3 { margin-bottom: 9px; }
.icon-card p { color: var(--muted); font-size: 0.97rem; }
.svc-num {
  font-family: var(--font-display); font-weight: 900; font-size: 0.95rem;
  color: var(--red); letter-spacing: 0.2em; display: block; margin-bottom: 14px;
}
.rate {
  display: inline-block; margin-top: 16px; font-family: var(--font-display);
  font-weight: 700; font-size: 0.92rem; color: var(--cyan);
  background: var(--cyan-soft); border: 1px solid rgba(56, 200, 245, 0.3);
  padding: 7px 14px; border-radius: 999px;
}

/* ---------- image cards ---------- */
.img-card { padding: 0; overflow: hidden; }
.img-card .img-top { height: 190px; overflow: hidden; }
.img-card .img-top img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.img-card:hover .img-top img { transform: scale(1.05); }
.img-card .body { padding: 26px 28px 30px; }
.img-card p { color: var(--muted); font-size: 0.97rem; margin-top: 8px; }
.card-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.card-link:hover { text-decoration: none; gap: 12px; }
.card-link { transition: gap 0.25s ease; }

/* ---------- Flight Lab browser frames ---------- */
.lab-panel {
  background: linear-gradient(180deg, rgba(13, 21, 38, 0.9), rgba(8, 12, 22, 0.9));
  border: 1px solid rgba(56, 200, 245, 0.2); border-radius: 28px;
  padding: clamp(28px, 4vw, 52px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}
.lab-frames { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.browser-frame {
  background: #0a0f1c; border: 1px solid rgba(56, 200, 245, 0.25);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.browser-frame:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(0, 0, 0, 0.55), var(--shadow-glow); }
.browser-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 13px; background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(56, 200, 245, 0.14);
}
.browser-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: #2b3c55; }
.browser-bar .dot.r { background: rgba(255, 46, 46, 0.75); }
.browser-bar .dot.c { background: rgba(56, 200, 245, 0.75); }
.browser-bar .bar-label {
  margin-left: 8px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}
.browser-frame figure { background: #000; }
.browser-frame figure img { width: 100%; height: 168px; object-fit: cover; object-position: top; }
.browser-frame figcaption { padding: 11px 14px 13px; font-size: 0.83rem; color: var(--muted); }
.browser-frame figcaption strong { color: var(--ink); display: block; font-size: 0.88rem; }
.lab-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.lab-step {
  border: 1px solid rgba(56, 200, 245, 0.18); border-radius: 18px; padding: 18px 20px;
  background: rgba(56, 200, 245, 0.04);
}
.lab-step .n {
  font-family: var(--font-display); font-weight: 900; color: var(--red);
  font-size: 0.8rem; letter-spacing: 0.2em; display: block; margin-bottom: 6px;
}
.lab-step strong { font-family: var(--font-display); font-size: 0.95rem; display: block; margin-bottom: 4px; }
.lab-step p { color: var(--muted); font-size: 0.9rem; }

/* ---------- team ---------- */
.team-card { text-align: left; padding: 0; overflow: hidden; }
.team-photo { height: 300px; overflow: hidden; background: #000; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.monogram {
  height: 300px; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(300px 200px at 50% 0%, rgba(56, 200, 245, 0.16), transparent 70%),
    linear-gradient(180deg, #0c1424, #060a14);
}
.monogram .ring {
  width: 128px; height: 128px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 900; font-size: 2rem; color: #fff;
  background: linear-gradient(160deg, rgba(56, 200, 245, 0.2), rgba(255, 46, 46, 0.12));
  border: 2px solid rgba(56, 200, 245, 0.5);
  box-shadow: 0 0 40px rgba(56, 200, 245, 0.25), inset 0 0 26px rgba(56, 200, 245, 0.15);
}
.team-card .body { padding: 26px 28px 30px; }
.team-card .role {
  font-family: var(--font-display); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan); margin: 4px 0 12px;
}
.team-card p { color: var(--muted); font-size: 0.96rem; }

/* ---------- testimonials ---------- */
.quote-card { padding: 34px 32px; }
.quote-mark {
  font-family: var(--font-display); font-size: 2.6rem; line-height: 0.6;
  color: var(--red); display: block; margin-bottom: 18px; text-shadow: 0 0 22px rgba(255, 46, 46, 0.4);
}
.quote-card blockquote { font-size: 1.06rem; line-height: 1.6; }
.quote-card .who { margin-top: 20px; color: var(--muted); font-size: 0.9rem; }
.quote-card .who strong { color: var(--ink); display: block; font-size: 0.98rem; }
.score-badge {
  display: inline-block; font-family: var(--font-display); font-weight: 900;
  color: var(--cyan); border: 1px solid rgba(56, 200, 245, 0.4); background: var(--cyan-soft);
  border-radius: 999px; padding: 5px 14px; font-size: 0.85rem; margin-bottom: 16px;
}

/* ---------- check list ---------- */
.check-list { list-style: none; margin-top: 22px; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 13px; color: var(--muted); font-size: 0.99rem; }
.check-list li strong { color: var(--ink); }
.check-list svg { width: 21px; height: 21px; flex: none; margin-top: 3px; color: var(--cyan); }

/* ---------- tables ---------- */
.table-panel { padding: 8px 30px 14px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
th, td { text-align: left; padding: 15px 12px; border-bottom: 1px solid rgba(130, 205, 250, 0.1); }
th {
  font-family: var(--font-display); font-size: 0.76rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--cyan);
}
td { color: var(--muted); font-size: 0.97rem; }
td:first-child { color: var(--ink); font-weight: 600; }
td.price { font-family: var(--font-display); font-weight: 700; color: #fff; white-space: nowrap; }
tr:last-child td { border-bottom: none; }

/* ---------- steps ---------- */
.step-card .n {
  font-family: var(--font-display); font-weight: 900; font-size: 1.7rem;
  color: transparent; -webkit-text-stroke: 1.5px var(--cyan);
  display: block; margin-bottom: 12px;
}
.step-card p { color: var(--muted); font-size: 0.96rem; margin-top: 7px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
details {
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border: 1px solid rgba(130, 205, 250, 0.14); border-radius: 18px;
  padding: 4px 26px; transition: border-color 0.3s ease;
}
details[open ] { border-color: rgba(56, 200, 245, 0.4); }
summary {
  cursor: pointer; list-style: none; padding: 18px 30px 18px 0; position: relative;
  font-family: var(--font-display); font-weight: 700; font-size: 1.0rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--cyan); font-weight: 400; transition: transform 0.3s ease;
}
details[open ] summary::after { transform: translateY(-50%) rotate(45deg); }
details .a { color: var(--muted); padding: 0 0 22px; font-size: 0.98rem; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 28px; overflow: hidden; position: relative;
  border: 1px solid rgba(56, 200, 245, 0.3);
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(56, 200, 245, 0.14), transparent 65%),
    radial-gradient(500px 300px at 8% 90%, rgba(255, 46, 46, 0.1), transparent 60%),
    linear-gradient(120deg, #0a1220, #060a14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.cta-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px; align-items: center; padding: clamp(30px, 4.5vw, 56px); }
.cta-band p { color: var(--muted); margin-top: 14px; max-width: 540px; }
.cta-media { border-radius: 20px; overflow: hidden; border: 1px solid rgba(56, 200, 245, 0.3); box-shadow: var(--shadow-glow); }
.cta-media img { width: 100%; height: 320px; object-fit: cover; object-position: top; }
.skool-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.skool-row img { width: 38px; height: 38px; }
.skool-row span { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.14em; font-size: 0.8rem; text-transform: uppercase; color: var(--muted); }

/* ---------- Timberland plate ---------- */
.timber-plate {
  text-align: center; padding: 40px 34px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid rgba(130, 205, 250, 0.14); border-radius: var(--radius);
}
.timber-plate img { max-width: 420px; width: 100%; margin: 0 auto 10px; }
.timber-word {
  font-family: var(--font-display); font-weight: 900; letter-spacing: 0.1em;
  font-size: clamp(1.5rem, 3vw, 2.1rem); color: #fff;
}
.timber-sub { letter-spacing: 0.52em; font-size: 0.8rem; color: var(--muted); text-transform: uppercase; margin-top: 4px; }
.timber-aff { letter-spacing: 0.34em; font-size: 0.68rem; color: var(--muted-2); text-transform: uppercase; margin-top: 12px; }

/* ---------- topics grid ---------- */
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.topic {
  display: flex; align-items: center; gap: 13px; padding: 17px 20px;
  border: 1px solid rgba(130, 205, 250, 0.13); border-radius: 16px;
  background: rgba(255, 255, 255, 0.03); font-weight: 600; font-size: 0.96rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.topic:hover { border-color: rgba(56, 200, 245, 0.45); background: rgba(56, 200, 245, 0.06); }
.topic svg { width: 20px; height: 20px; color: var(--cyan); flex: none; }

/* ---------- wide image strip ---------- */
.img-strip { border-radius: 26px; overflow: hidden; position: relative; border: 1px solid rgba(56, 200, 245, 0.22); }
.img-strip img { width: 100%; height: 340px; object-fit: cover; }
.img-strip .strip-cap {
  position: absolute; inset: auto 0 0 0; padding: 60px 34px 26px;
  background: linear-gradient(0deg, rgba(5, 7, 13, 0.9), transparent);
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.2rem, 2.6vw, 1.8rem);
}

/* ---------- seal row ---------- */
.seal-row { display: flex; gap: 30px; align-items: center; }
.seal-row img {
  width: 148px; height: 148px; object-fit: cover; border-radius: 50%; flex: none;
  border: 2px solid rgba(56, 200, 245, 0.4); box-shadow: var(--shadow-glow);
}

/* ---------- footer ---------- */
footer { border-top: 1px solid rgba(56, 200, 245, 0.14); background: #04060b; padding: 64px 0 34px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 0.65fr 0.9fr 0.75fr; gap: 40px; }
.foot-logo img { height: 54px; width: auto; margin-bottom: 16px; }
footer p { color: var(--muted); font-size: 0.94rem; max-width: 360px; }
.foot-h { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px; }
.foot-links { list-style: none; display: grid; gap: 11px; }
.foot-links a { color: var(--muted); font-size: 0.95rem; }
.foot-links a:hover { color: var(--cyan); }
.foot-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(130, 205, 250, 0.1);
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
  color: var(--muted-2); font-size: 0.83rem;
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .topics { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat { border-top: 1px solid rgba(56, 200, 245, 0.1); }
  .hero-grid, .split, .cta-grid { grid-template-columns: 1fr; }
  .cta-media img { height: 260px; }
}
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .hero { padding-top: 132px; }
  .page-hero { padding-top: 140px; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(5, 7, 13, 0.97); border-bottom: 1px solid rgba(56, 200, 245, 0.2);
    padding: 10px 24px 20px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(130, 205, 250, 0.08); }
  .nav-links a { display: block; padding: 14px 2px; }
  .nav-links .nav-cta-li { display: block; border-bottom: none; padding-top: 14px; }
  .nav-links .btn { width: 100%; justify-content: center; }
  .nav-toggle { display: block; }
  .nav-cta-desktop { display: none; }
  .grid-2, .grid-3, .grid-4, .grid-5, .topics { grid-template-columns: 1fr; }
  .lab-frames { grid-template-columns: 1fr 1fr; }
  .lab-steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 34px; }
  .seal-row { flex-direction: column; align-items: flex-start; }
  .browser-frame figure img { height: 130px; }
}
@media (max-width: 460px) {
  .lab-frames { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat + .stat { border-left: none; }
  .btn { width: 100%; justify-content: center; }
  .btn-row { flex-direction: column; }
}

.foot-bottom a { color: var(--muted); }
.foot-bottom a:hover { color: var(--cyan); }
.lab-legal { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(130, 205, 250, 0.12); text-align: center; color: var(--muted-2); font-size: 0.83rem; }
.lab-legal a { color: var(--muted); }
.lab-legal a:hover { color: var(--cyan); }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; max-width: 560px; }
.newsletter-form input { flex: 1 1 260px; background: rgba(10, 16, 26, 0.85); border: 1px solid rgba(130, 205, 250, 0.25); border-radius: 10px; padding: 13px 16px; color: #eef4f8; font-size: 1rem; }
.newsletter-form input:focus { outline: 2px solid var(--cyan); border-color: transparent; }
.beehiiv-embed { margin-top: 22px; max-width: 560px; min-height: 60px; }
.beehiiv-embed iframe { max-width: 100%; }
.legal-body { max-width: 820px; }
.legal-body h3 { margin: 26px 0 8px; }
.legal-body p, .legal-body li { color: var(--muted); }
.legal-body ul { margin: 8px 0 8px 20px; display: grid; gap: 6px; }

.team-link { margin-top: 10px; font-size: 0.9rem; }
.team-link a { color: var(--cyan); }

/* Video testimonial cards */
.video-card { display: block; padding: 0; overflow: hidden; text-decoration: none; }
.video-card img { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; }
.video-card .video-cap { display: block; padding: 14px 16px; color: var(--text, #e8f4fa); font-weight: 600; font-size: 0.95rem; }
.video-card .video-cap small { display: block; margin-top: 4px; font-weight: 400; color: var(--muted); font-size: 0.82rem; }
