/* ───────────────────────────────────────────────────────────────
   BALLISTIC LEADS — stylesheet
   Hard-edge industrial. Black + lime. Monospace + condensed display.
   ─────────────────────────────────────────────────────────────── */

:root {
  --bg: #080808;
  --surface: #111111;
  --surface-2: #161616;
  --border: #222222;
  --border-2: #2c2c2c;
  --accent: #D4FF00;
  --text: #F0F0F0;
  --muted: #666666;
  --muted-2: #888888;

  --font-display: 'Bebas Neue', 'Barlow Condensed', Impact, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;

  --maxw: 1440px;
  --pad-x: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); color: var(--text); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #000; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.app { min-height: 100vh; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ────────────────────────── REVEAL ────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
.reveal--in { opacity: 1; transform: translateY(0); }

/* ────────────────────────── NAV ────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--pad-x);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: .04em;
  color: var(--text);
}
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent);
  width: 26px; height: 26px;
  border: 1px solid var(--border-2);
}
.brand-word { font-weight: 400; }
.brand-sub { color: var(--muted); font-size: 14px; letter-spacing: .12em; font-family: var(--font-mono); }

.nav-links {
  display: flex; gap: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--muted-2);
  justify-content: center;
}
.nav-links a { transition: color .15s ease; }
.nav-links a:hover { color: var(--accent); }

.nav-cta { justify-self: end; }

/* ────────────────────────── BUTTONS ────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid transparent;
  padding: 14px 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  background: transparent;
  color: inherit;
  position: relative;
  transition: transform .12s ease-out, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-arrow {
  display: inline-block;
  transition: transform .15s ease;
}
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn--solid {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}
.btn--solid:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 0 #000, 4px 4px 0 1px var(--accent);
}
.btn--ghost {
  border-color: var(--border-2);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 0 var(--accent);
}
.btn--ghost-sm {
  border: 1px solid var(--border-2);
  padding: 8px 12px;
  font-size: 10.5px;
  letter-spacing: .14em;
}
.btn--ghost-sm:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn--solid-sm {
  background: var(--accent);
  color: #000;
  border: 1px solid var(--accent);
  padding: 8px 12px;
  font-size: 10.5px;
  letter-spacing: .14em;
}
.btn--solid-sm:hover {
  transform: translate(-1px, -1px);
  box-shadow: 2px 2px 0 0 #000;
}
.tc-foot-actions { display: flex; gap: 8px; }
.btn--cta { padding: 18px 28px; font-size: 13px; }

/* ────────────────────────── SECTION LABELS ────────────────────────── */
.section-label {
  display: inline-flex; align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--muted-2);
  text-transform: uppercase;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
  width: 100%;
}
.sl-mark { color: var(--accent); }
.sl-idx { color: var(--text); }
.sl-slash { color: var(--muted); }
.sl-name { color: var(--text); }
.sl-coord { margin-left: auto; color: var(--muted); }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6.4vw, 92px);
  line-height: .92;
  letter-spacing: .005em;
  margin: 0 0 60px;
  color: var(--text);
  text-wrap: balance;
}

.accent-text { color: var(--accent); }
.accent-strike {
  position: relative;
  color: var(--muted);
}
.accent-strike::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%;
  top: 52%;
  height: 6px;
  background: var(--accent);
  transform: skewY(-2deg);
}

.section { padding: 120px 0; position: relative; }

/* ────────────────────────── HERO ────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 100px var(--pad-x) 60px;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 40px;
  overflow: hidden;
}

.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.scanlines {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.018) 0,
    rgba(255,255,255,0.018) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  mix-blend-mode: screen;
  animation: scan 8s linear infinite;
}
@keyframes scan { from { background-position: 0 0; } to { background-position: 0 6px; } }

.hero-corners { position: absolute; inset: 28px; pointer-events: none; }
.corner {
  position: absolute; width: 18px; height: 18px;
  border: 1px solid var(--accent);
}
.corner.tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.corner.tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.corner.bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.corner.br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.hero-meta-top {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .22em;
  color: var(--muted-2);
  position: relative; z-index: 2;
}
.meta-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border-2);
}
.meta-pill .dot {
  width: 6px; height: 6px; background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.hero-body {
  position: relative; z-index: 2;
  align-self: center;
  max-width: 1100px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .22em;
  color: var(--muted-2);
  margin-bottom: 24px;
}
.hero-tag .bar { width: 28px; height: 1px; background: var(--accent); }

.hero-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(54px, 8.6vw, 148px);
  line-height: .92;
  letter-spacing: .02em;
  margin: 0 0 32px;
  text-transform: uppercase;
  text-wrap: balance;
  max-width: 18ch;
}
.hero-headline .word-wrap { margin-right: .12em; }
.word-wrap { display: inline-block; overflow: hidden; vertical-align: baseline; }
.word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform .7s cubic-bezier(.2,.8,.2,1), opacity .7s ease;
}
.word--in { transform: translateY(0); opacity: 1; }

.hero-sub {
  max-width: 620px;
  color: var(--muted-2);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 36px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-readout {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
}
.ro-row {
  display: flex; flex-direction: column;
  padding: 18px 20px;
  border-right: 1px solid var(--border);
  font-family: var(--font-mono);
}
.ro-row:last-child { border-right: 0; }
.ro-k { color: var(--muted); font-size: 10px; letter-spacing: .22em; }
.ro-v { color: var(--text); font-family: var(--font-display); font-size: 36px; line-height: 1; margin-top: 6px; letter-spacing: .01em; }
.ro-d { color: var(--accent); font-size: 11px; letter-spacing: .12em; margin-top: 8px; }
.ro-d--neg { color: var(--accent); }

.hero-scrollcue {
  position: absolute;
  left: var(--pad-x); bottom: 30px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .25em;
  color: var(--muted);
  z-index: 2;
}
.cue-line {
  display: inline-block;
  width: 60px; height: 1px;
  background: var(--accent);
  position: relative;
  overflow: hidden;
}
.cue-line::after {
  content: ""; position: absolute; left: -30%; top: 0; width: 30%; height: 100%;
  background: var(--bg);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { left: -30%; } 100% { left: 130%; } }

/* ────────────────────────── PROBLEM ────────────────────────── */
.problem { background: var(--bg); }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-cell {
  padding: 56px 36px 48px;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat-cell:last-child { border-right: 0; }
.stat-rule { width: 40px; height: 2px; background: var(--accent); margin-bottom: 28px; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(72px, 9vw, 140px);
  line-height: .85;
  letter-spacing: -.01em;
  color: var(--text);
}
.stat-label {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  line-height: 1.55;
  color: var(--text);
  max-width: 320px;
}
.stat-tag {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--muted);
}

/* ────────────────────────── SERVICES ────────────────────────── */
.services { background: var(--bg); padding-bottom: 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 0;
}
.service-col {
  padding: 56px 40px 48px;
  border-right: 1px solid var(--border);
  background: var(--bg);
  transition: background .2s ease;
}
.service-col:last-child { border-right: 0; }
.service-col:hover { background: var(--surface); }
.svc-id {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--accent);
  margin-bottom: 24px;
}
.svc-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  line-height: .95;
  margin: 0 0 20px;
  letter-spacing: .005em;
}
.svc-desc {
  color: var(--muted-2);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 28px;
}
.svc-bullets {
  list-style: none; padding: 0; margin: 0 0 36px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--text);
  display: flex; flex-direction: column; gap: 10px;
}
.svc-bullets li { display: flex; gap: 10px; align-items: center; }
.b-mark { color: var(--accent); }
.svc-foot {
  display: flex; justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--muted);
}

/* ────────────────────────── MARQUEE ────────────────────────── */
.marquee {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0 0;
}
.mq-rail { overflow: hidden; }
.mq-track {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker linear infinite;
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 120px);
  line-height: 1;
  letter-spacing: .005em;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.mq-item { display: inline-flex; align-items: center; padding: 10px 28px; }
.mq-bullet { color: var(--accent); font-size: 24px; margin-right: 28px; }
.mq-text { color: var(--text); }
.mq-foot {
  display: flex; justify-content: space-between;
  padding: 16px var(--pad-x);
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--muted);
}

/* ────────────────────────── TOOLS ────────────────────────── */
.tools { background: var(--bg); padding-bottom: 80px; }
.tools-lede {
  max-width: 720px;
  color: var(--muted-2);
  margin: -40px 0 56px;
  font-size: 14px;
  line-height: 1.65;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.tool-card {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 32px 30px;
  background: var(--bg);
  position: relative;
  transition: background .2s ease;
}
.tool-card:hover { background: var(--surface); }
.tool-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .25s ease;
}
.tool-card:hover::before { width: 100%; }

.tc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tc-name {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: .01em;
}
.tc-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .18em;
  padding: 5px 9px;
  border: 1px solid var(--border-2);
  color: var(--muted-2);
}
.tcb-dot { width: 6px; height: 6px; background: var(--muted); }
.tc-badge--beginner { color: var(--accent); border-color: var(--accent); }
.tc-badge--beginner .tcb-dot { background: var(--accent); }
.tc-badge--intermediate { color: #FFB84D; border-color: #FFB84D; }
.tc-badge--intermediate .tcb-dot { background: #FFB84D; }
.tc-badge--advanced { color: #FF5C5C; border-color: #FF5C5C; }
.tc-badge--advanced .tcb-dot { background: #FF5C5C; }

.tc-lang { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; color: var(--muted); margin: 8px 0 18px; }
.tc-rule { height: 1px; background: var(--border); margin-bottom: 18px; }
.tc-desc { color: var(--muted-2); font-size: 13.5px; line-height: 1.6; margin: 0 0 28px; min-height: 56px; }
.tc-foot { display: flex; justify-content: space-between; align-items: center; }
.tc-meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; color: var(--muted); }

.tools-cta { margin-top: 56px; }
.tcta-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  border: 1px solid var(--border);
  background: var(--surface);
  flex-wrap: wrap;
}
.tcta-text {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: .01em;
}

/* ────────────────────────── CTA PANEL ────────────────────────── */
.cta-panel {
  padding: 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.cta-frame {
  position: relative;
  padding: clamp(80px, 12vw, 160px) var(--pad-x);
  max-width: var(--maxw);
  margin: 0 auto;
}
.cta-frame::before, .cta-frame::after {
  content: "";
  position: absolute;
  width: 32px; height: 32px;
  border: 1px solid var(--accent);
}
.cta-frame::before { top: 32px; left: 32px; border-right: 0; border-bottom: 0; }
.cta-frame::after { bottom: 32px; right: 32px; border-left: 0; border-top: 0; }

.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 140px);
  line-height: .88;
  letter-spacing: .005em;
  margin: 0 0 24px;
  text-transform: uppercase;
}
.cta-sub {
  color: var(--muted-2);
  font-size: 15px;
  max-width: 540px;
  margin: 0 0 44px;
}
.cta-form {
  display: flex;
  gap: 0;
  max-width: 680px;
  border: 1px solid var(--border-2);
}
.cta-input-wrap {
  display: flex; align-items: center; flex: 1;
  padding: 0 16px;
  background: var(--surface);
}
.cta-prompt { color: var(--accent); font-family: var(--font-mono); margin-right: 10px; }
.cta-input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 20px 0;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.cta-input::placeholder { color: var(--muted); }
.cta-form .btn { border-left: 1px solid #000; }
.cta-confirm {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 20px 24px;
  border: 1px solid var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--accent);
}
.cc-dot { width: 8px; height: 8px; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 1.4s ease-in-out infinite; }

.cta-foot {
  display: flex; justify-content: space-between;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--muted);
  flex-wrap: wrap; gap: 16px;
}

/* ────────────────────────── FOOTER ────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-inner--5 { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }
.foot-brand .brand { margin-bottom: 16px; }
.foot-tag {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: .02em;
  color: var(--muted-2);
  margin: 0;
  max-width: 280px;
  line-height: 1.2;
}
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-h {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--accent);
  margin-bottom: 8px;
}
.foot-col a {
  color: var(--muted-2);
  font-size: 13px;
  transition: color .15s ease;
}
.foot-col a:hover { color: var(--text); }

.footer-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px var(--pad-x);
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 16px;
}
.fb-mid { color: var(--accent); }

/* ────────────────────────── RESPONSIVE ────────────────────────── */
@media (max-width: 900px) {
  .nav-inner { grid-template-columns: auto auto; }
  .nav-links { display: none; }
  .hero-readout { grid-template-columns: repeat(2, 1fr); }
  .ro-row:nth-child(2) { border-right: 0; }
  .ro-row:nth-child(1), .ro-row:nth-child(2) { border-bottom: 1px solid var(--border); }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-cell { border-right: 0; border-bottom: 1px solid var(--border); }
  .stat-cell:last-child { border-bottom: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service-col { border-right: 0; border-bottom: 1px solid var(--border); }
  .service-col:last-child { border-bottom: 0; }
  .tools-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .cta-form { flex-direction: column; }
  .cta-form .btn { width: 100%; justify-content: center; border-left: 0; border-top: 1px solid #000; }
}
@media (max-width: 560px) {
  .hero-meta-top { flex-direction: column; gap: 10px; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-readout { grid-template-columns: 1fr 1fr; }
}
