/* ============================================================
   TONNEXIS · Premium landing system
   Black + green brand, engineered for steel professionals
   ============================================================ */

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

:root {
  /* Brand greens */
  --green:        #1D9E75;
  --green-bright: #2BD08F;
  --green-dim:    #0F6E56;
  --green-glow:   rgba(29,158,117,0.14);
  --green-line:   rgba(29,158,117,0.28);
  --green-soft:   rgba(29,158,117,0.06);

  /* Surfaces */
  --bg:     #07090B;
  --bg-1:   #090C0F;
  --bg-2:   #0C1014;
  --panel:  #0F151B;
  --panel-2:#131B22;
  --line:   rgba(255,255,255,0.07);
  --line-2: rgba(255,255,255,0.11);
  --blueprint: rgba(255,255,255,0.022);

  /* Type */
  --text:   #EAEFF4;
  --muted:  #8A99A8;
  --faint:  #5C6A77;
  --amber:  #E8A93C;

  --radius:    16px;
  --radius-sm: 8px;
  --maxw: 1240px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-sans: 'Barlow', -apple-system, sans-serif;
  --font-disp: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Fine blueprint grid + grain over everything */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--blueprint) 1px, transparent 1px),
    linear-gradient(90deg, var(--blueprint) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
section { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
::selection { background: var(--green); color: #04130D; }

/* Shared eyebrow / labels */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 500;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid var(--green-line);
  background: var(--green-soft);
  padding: 7px 14px;
  border-radius: 100px;
}
.kicker .pip {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 10px var(--green-bright);
  animation: pip 2.4s infinite;
}
@keyframes pip { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }

.display {
  font-family: var(--font-disp);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.5px;
}
.green { color: var(--green); }
.outline-word { color: transparent; -webkit-text-stroke: 1.4px var(--faint); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-sans);
  font-weight: 500; font-size: 15px; letter-spacing: .2px;
  padding: 14px 26px; border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; transition: all .25s var(--ease); white-space: nowrap;
}
.btn-primary { background: var(--green); color: #04130D; }
.btn-primary:hover { background: var(--green-bright); transform: translateY(-2px); box-shadow: 0 12px 30px -10px var(--green); }
.btn-ghost { background: rgba(255,255,255,0.03); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,0.07); border-color: var(--faint); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

.textlink {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--green); font-weight: 500; font-size: 15px;
}
.textlink .arr { transition: transform .25s var(--ease); }
.textlink:hover .arr { transform: translateX(4px); }

/* ════════════════ NAV ════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(7,9,11,0.72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between;
  transition: padding .3s var(--ease);
}
nav.scrolled .nav-inner { padding: 11px 32px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { width: 30px; height: 30px; display: block; }
.brand .bar { width: 1px; height: 26px; background: var(--line-2); }
.brand-name {
  font-family: var(--font-disp); font-weight: 700; font-size: 20px;
  letter-spacing: 3.5px; color: #fff; line-height: 1;
}
.brand-sub {
  font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 2.5px;
  color: var(--green); margin-top: 3px;
}
.nav-links { display: flex; gap: 34px; }
.nav-links a {
  font-size: 14px; color: var(--muted); letter-spacing: .2px;
  transition: color .2s; position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-signin { font-size: 14px; color: var(--muted); transition: color .2s; }
.nav-signin:hover { color: var(--text); }

/* ════════════════ HERO ════════════════ */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  text-align: center; padding: 168px 24px 0; overflow: hidden;
}
.hero-glow {
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 760px;
  background: radial-gradient(ellipse at center, var(--green-glow) 0%, transparent 62%);
  pointer-events: none; z-index: 0;
}
.hero > *:not(.hero-glow) { position: relative; z-index: 1; }
.hero .kicker { margin-bottom: 30px; }
.hero h1 {
  font-family: var(--font-disp); font-weight: 800; text-transform: uppercase;
  font-size: clamp(52px, 9vw, 132px); line-height: 0.94; letter-spacing: -1px;
  margin-bottom: 38px;
}
.hero h1 .sub-line { display:block; }
.hero-lead {
  max-width: 620px; font-size: clamp(17px, 2vw, 21px); font-weight: 300;
  color: var(--muted); line-height: 1.6; margin: 0 auto 38px;
}
.hero-lead strong { color: var(--text); font-weight: 500; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.hero-trust {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.5px;
  color: var(--faint); text-transform: uppercase; margin-bottom: 64px;
}
.hero-trust b { color: var(--green); font-weight: 500; }

/* Hero product panel (app mock) */
.hero-stage { perspective: 2000px; width: 100%; max-width: 1080px; margin: 0 auto; }
.app-mock {
  transform: rotateX(16deg) translateY(0);
  transform-style: preserve-3d;
  transition: transform .15s ease-out;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  box-shadow: 0 60px 120px -40px rgba(0,0,0,0.9), 0 0 0 1px rgba(0,0,0,0.4);
  overflow: hidden;
  will-change: transform;
}
.app-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
}
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); display:block; }
.app-bar .file {
  font-family: var(--font-mono); font-size: 12px; color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.app-bar .file .tag {
  color: var(--green); border: 1px solid var(--green-line);
  border-radius: 4px; padding: 1px 7px; font-size: 10px; letter-spacing: 1px;
}
.app-bar .right { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--faint); }

.takeoff { display: grid; grid-template-columns: 1.55fr 1fr; }
.takeoff-main { border-right: 1px solid var(--line); }
.to-row {
  display: grid; grid-template-columns: 1.4fr .7fr .5fr .7fr .8fr;
  gap: 10px; padding: 12px 20px; align-items: center;
  font-family: var(--font-mono); font-size: 12.5px;
  border-bottom: 1px solid var(--line);
}
.to-row.head { color: var(--faint); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; }
.to-row .sec { color: var(--text); font-weight: 500; }
.to-row .num { color: var(--muted); text-align: right; }
.conf { display: inline-flex; align-items: center; gap: 6px; justify-content: flex-end; }
.conf .bead { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.conf.warn { color: var(--amber); } .conf.warn .bead { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.conf .v { color: var(--green); } .conf.warn .v { color: var(--amber); }

.takeoff-side { padding: 22px 22px; display: flex; flex-direction: column; gap: 18px; }
.side-stat .l { font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.side-stat .v { font-family: var(--font-disp); font-weight: 800; font-size: 34px; line-height: 1; color: var(--text); }
.side-stat .v.green { color: var(--green); }
.side-bar { height: 1px; background: var(--line); }
.stock-row { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.stock-row .track { flex: 1; height: 6px; background: var(--panel-2); border-radius: 3px; overflow: hidden; }
.stock-row .fill { height: 100%; background: var(--green); border-radius: 3px; }
.stock-row .fill.waste { background: var(--green-dim); opacity: .5; }

/* ════════════════ MARQUEE / sub-hero spec strip ════════════════ */
.specstrip {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-1); margin-top: 110px;
}
.specstrip .wrap { display: flex; flex-wrap: wrap; }
.specstrip .cell {
  flex: 1 1 0; min-width: 200px; padding: 34px 28px;
  border-right: 1px solid var(--line);
}
.specstrip .cell:last-child { border-right: none; }
.specstrip .num { font-family: var(--font-disp); font-weight: 800; font-size: clamp(40px,5vw,58px); line-height: 1; color: var(--green); }
.specstrip .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-top: 10px; }

/* ════════════════ SECTION SHELL ════════════════ */
.section { padding: 130px 0; scroll-margin-top: 80px; }
.sec-head { max-width: 760px; margin-bottom: 64px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head .eyebrow { display: block; margin-bottom: 18px; }
.sec-head h2 {
  font-family: var(--font-disp); font-weight: 800; text-transform: uppercase;
  font-size: clamp(38px, 5.4vw, 76px); line-height: 0.95; letter-spacing: -0.5px;
}
.sec-head p { margin-top: 22px; font-size: 18px; font-weight: 300; color: var(--muted); line-height: 1.65; }

/* ════════════════ PINNED PIPELINE ════════════════ */
.pipeline { background: var(--bg-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pipe-track { position: relative; }
.pipe-sticky {
  position: sticky; top: 0; height: 100vh;
  display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 40px;
  max-width: var(--maxw); margin: 0 auto; padding: 0 32px;
}
/* left: copy + progress */
.pipe-copy { position: relative; }
.pipe-copy .eyebrow { display:block; margin-bottom: 22px; }
.pipe-steps { position: relative; }
.pipe-step {
  position: absolute; top: 0; left: 0; width: 100%;
  opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease);
  pointer-events: none;
}
.pipe-step.active { opacity: 1; transform: translateY(0); position: relative; }
.pipe-step .idx { font-family: var(--font-mono); font-size: 13px; color: var(--green); letter-spacing: 2px; }
.pipe-step h3 { font-family: var(--font-disp); font-weight: 800; text-transform: uppercase; font-size: clamp(34px,4.2vw,58px); line-height: .95; margin: 14px 0 16px; }
.pipe-step p { font-size: 17px; font-weight: 300; color: var(--muted); line-height: 1.6; max-width: 420px; }
.pipe-rail { display: flex; gap: 10px; margin-top: 40px; }
.pipe-rail .tick { width: 38px; height: 3px; background: var(--line-2); border-radius: 2px; transition: background .4s var(--ease); }
.pipe-rail .tick.on { background: var(--green); }

/* right: morphing stage */
.pipe-stage { position: relative; height: 460px; }
.stage-panel {
  position: absolute; inset: 0;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,0.8);
  opacity: 0; transform: scale(0.96) translateY(14px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  overflow: hidden; padding: 26px;
}
.stage-panel.active { opacity: 1; transform: scale(1) translateY(0); }
.stage-panel .ph-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.stage-panel .ph-head .t { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--faint); }
.stage-panel .ph-head .badge { font-family: var(--font-mono); font-size: 10px; color: var(--green); border: 1px solid var(--green-line); border-radius: 4px; padding: 3px 8px; }

/* stage: upload (sheet) */
.sheet {
  height: calc(100% - 44px); border: 1px dashed var(--line-2); border-radius: 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: repeating-linear-gradient(135deg, transparent, transparent 16px, rgba(255,255,255,0.012) 16px, rgba(255,255,255,0.012) 17px);
}
.sheet .ico { width: 64px; height: 64px; border: 1.5px solid var(--green); border-radius: 8px; position: relative; }
.sheet .ico::after { content:''; position:absolute; inset: 12px; border-top: 1.5px solid var(--green-line); border-bottom: 1.5px solid var(--green-line); }
.sheet .meta { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.sheet .meta b { color: var(--text); font-weight: 500; }

/* stage: read (scan) */
.scan { position: relative; height: calc(100% - 44px); border-radius: 8px; background: var(--bg-2); overflow: hidden; border: 1px solid var(--line); }
.scan .lines { position: absolute; inset: 22px; display: flex; flex-direction: column; gap: 13px; }
.scan .ln { height: 9px; border-radius: 3px; background: var(--panel-2); }
.scan .ln.hl { background: var(--green-soft); border: 1px solid var(--green-line); position: relative; }
.scan .beam { position: absolute; left: 0; right: 0; height: 80px; top: -80px; background: linear-gradient(180deg, transparent, var(--green-glow), transparent); animation: scanmove 2.6s linear infinite; }
@keyframes scanmove { 0%{top:-80px} 100%{top:100%} }

/* stage: match (rows) */
.match-list { display: flex; flex-direction: column; gap: 9px; height: calc(100% - 44px); }
.match-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; padding: 10px 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; }
.match-row .from { color: var(--muted); }
.match-row .to { color: var(--green); text-align: right; }
.match-row .link { color: var(--faint); }

/* stage: optimize (bars) */
.opt { height: calc(100% - 44px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.opt-bar { }
.opt-bar .lab { display:flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-bottom: 7px; }
.opt-bar .track { height: 22px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 5px; overflow: hidden; display: flex; }
.opt-bar .use { height: 100%; background: var(--green); }
.opt-bar .scrap { height: 100%; background: repeating-linear-gradient(45deg, var(--green-dim), var(--green-dim) 5px, transparent 5px, transparent 10px); opacity: .6; }

/* stage: quote */
.quote-doc { height: calc(100% - 44px); border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2); padding: 20px; display: flex; flex-direction: column; }
.quote-doc .qrow { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; color: var(--muted); padding: 9px 0; border-bottom: 1px solid var(--line); }
.quote-doc .qrow .v { color: var(--text); }
.quote-doc .qtotal { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; padding-top: 18px; }
.quote-doc .qtotal .l { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--faint); }
.quote-doc .qtotal .big { font-family: var(--font-disp); font-weight: 800; font-size: 40px; color: var(--green); line-height: 1; }

/* ════════════════ BENTO ════════════════ */
.bento {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 16px;
}
.cell {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  padding: 28px; overflow: hidden; transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.cell:hover { border-color: var(--green-line); transform: translateY(-3px); }
.cell.span2 { grid-column: span 2; }
.cell.tall { grid-row: span 2; }
.cell .c-ico { width: 40px; height: 40px; border: 1px solid var(--green-line); background: var(--green-soft); border-radius: 9px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.cell h3 { font-family: var(--font-disp); font-weight: 700; text-transform: uppercase; font-size: 21px; letter-spacing: .5px; margin-bottom: 9px; }
.cell p { font-size: 14.5px; color: var(--muted); line-height: 1.55; max-width: 340px; }
.cell .c-glow { position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; background: radial-gradient(circle, var(--green-glow), transparent 70%); opacity: 0; transition: opacity .4s; }
.cell:hover .c-glow { opacity: 1; }

/* big visual cell: confidence meter */
.meter { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin-top: 8px; }
.meter i { flex: 1; background: var(--green); border-radius: 2px 2px 0 0; opacity: .85; display:block; }
.meter i.amb { background: var(--amber); }

/* ════════════════ ROADMAP ════════════════ */
.roadmap { background: var(--bg-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.road-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.phase {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  padding: 26px 24px; display: flex; flex-direction: column;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.phase:hover { border-color: var(--green-line); transform: translateY(-3px); }
.phase.live { border-color: var(--green-line); box-shadow: 0 30px 70px -45px var(--green); }
.phase .ph-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 30px; }
.phase .ph-no { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--faint); }
.phase .ph-status { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 1px; text-transform: uppercase; padding: 4px 9px; border-radius: 100px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.phase.live .ph-status { color: var(--green); border-color: var(--green-line); background: var(--green-soft); }
.phase h3 { font-family: var(--font-disp); font-weight: 800; text-transform: uppercase; font-size: 27px; letter-spacing: .4px; line-height: .98; margin-bottom: 18px; }
.phase ul { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-top: auto; }
.phase li { font-family: var(--font-mono); font-size: 12px; color: var(--muted); padding-left: 16px; position: relative; line-height: 1.5; }
.phase li::before { content: '·'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.road-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.road-flow { font-family: var(--font-mono); font-size: 13px; letter-spacing: 1px; color: var(--green); }
.road-note { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--faint); }

/* pipeline review stage */
.review-list { display: flex; flex-direction: column; gap: 9px; height: calc(100% - 44px); justify-content: center; }
.rev-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 12.5px; padding: 11px 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; }
.rev-row .sec { color: var(--text); }
.rev-row.flag { border-color: var(--green-line); }
.stage-panel .badge.warn { color: var(--amber); border-color: rgba(232,169,60,0.4); }

/* ════════════════ NUMBERS ════════════════ */
.numbers { background: var(--bg-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numbers.top-impact { margin-top: 110px; }
.num-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.num-cell { padding: 60px 30px; border-right: 1px solid var(--line); }
.num-cell:last-child { border-right: none; }
.num-cell .big { font-family: var(--font-disp); font-weight: 800; font-size: clamp(52px,6vw,86px); line-height: .9; color: var(--text); }
.num-cell .big .u { color: var(--green); }
.num-cell .big.green, .num-cell .big.green .u { color: var(--green); }
.num-cell .lbl { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-top: 14px; max-width: 200px; }

/* ════════════════ SPEC SHEET ════════════════ */
.specsheet { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.beam-fig { position: relative; aspect-ratio: 4/5; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); display:flex; align-items:center; justify-content:center; overflow: hidden; }
.beam-fig::before { content:''; position:absolute; inset:0; background-image: linear-gradient(var(--blueprint) 1px, transparent 1px), linear-gradient(90deg, var(--blueprint) 1px, transparent 1px); background-size: 28px 28px; }
.spec-list { border-top: 1px solid var(--line); }
.spec-item { display: grid; grid-template-columns: auto 1fr; gap: 26px; padding: 24px 4px; border-bottom: 1px solid var(--line); align-items: baseline; }
.spec-item .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--green); white-space: nowrap; }
.spec-item .d h4 { font-family: var(--font-disp); font-weight: 700; text-transform: uppercase; font-size: 22px; letter-spacing: .5px; margin-bottom: 6px; }
.spec-item .d p { font-size: 15px; color: var(--muted); line-height: 1.55; }

/* ════════════════ MANIFESTO ════════════════ */
.manifesto .eyebrow { display: block; margin-bottom: 32px; }
.manifesto-lead {
  font-family: var(--font-disp); font-weight: 800; text-transform: uppercase;
  font-size: clamp(32px, 4.8vw, 66px); line-height: 1.0; letter-spacing: -0.5px;
  max-width: 1040px; margin-bottom: 40px;
}
.manifesto-body {
  font-size: clamp(18px, 1.9vw, 22px); font-weight: 300; line-height: 1.72;
  color: var(--muted); max-width: 840px; text-wrap: pretty;
}
.manifesto-body strong { color: var(--text); font-weight: 500; }

/* ════════════════ FAQ ════════════════ */
.faq2-list { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq2-item { border-bottom: 1px solid var(--line); }
.faq2-q {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 30px 4px;
  font-family: var(--font-disp); font-weight: 700; text-transform: uppercase;
  font-size: clamp(19px, 2.1vw, 27px); letter-spacing: 0.4px; line-height: 1.1;
  color: var(--text); transition: color .2s var(--ease);
}
.faq2-q::-webkit-details-marker { display: none; }
.faq2-item:hover .faq2-q, .faq2-item[open] .faq2-q { color: var(--green); }
.faq2-mark { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq2-mark::before, .faq2-mark::after {
  content: ''; position: absolute; background: var(--green);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.faq2-mark::before { top: 50%; left: 0; width: 16px; height: 2px; transform: translateY(-50%); }
.faq2-mark::after { left: 50%; top: 0; width: 2px; height: 16px; transform: translateX(-50%); }
.faq2-item[open] .faq2-mark::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq2-a { padding: 0 4px 30px; max-width: 760px; }
.faq2-a p { font-size: 16px; font-weight: 300; line-height: 1.7; color: var(--muted); text-wrap: pretty; }

/* ════════════════ PARTNERSHIP ════════════════ */
.partner { padding: 130px 0; text-align: center; border-top: 1px solid var(--line); }
.partner .eyebrow { display: block; margin-bottom: 28px; }
.partner-line {
  font-family: var(--font-sans); font-weight: 300;
  font-size: clamp(25px, 3.3vw, 44px); line-height: 1.3; letter-spacing: -0.3px;
  max-width: 960px; margin: 0 auto; color: var(--text); text-wrap: balance;
}
.partner-tag {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--faint); margin-top: 36px;
}

/* ════════════════ CTA ════════════════ */
.cta { text-align: center; padding: 150px 0; overflow: hidden; }
.cta-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 900px; height: 600px; background: radial-gradient(ellipse, var(--green-glow), transparent 65%); pointer-events: none; }
.cta h2 { font-family: var(--font-disp); font-weight: 800; text-transform: uppercase; font-size: clamp(44px,7vw,104px); line-height: .9; letter-spacing: -1px; margin-bottom: 26px; position: relative; }
.cta p { color: var(--muted); font-size: 19px; font-weight: 300; max-width: 520px; margin: 0 auto 44px; position: relative; }
.wl-form { display: flex; gap: 12px; max-width: 540px; margin: 0 auto; flex-wrap: wrap; justify-content: center; position: relative; }
.wl-form input {
  flex: 1; min-width: 200px; background: var(--panel); border: 1px solid var(--line-2);
  color: var(--text); padding: 16px 20px; border-radius: 100px; font-family: var(--font-sans); font-size: 15px; outline: none; transition: border-color .2s;
}
.wl-form input::placeholder { color: var(--faint); }
.wl-form input:focus { border-color: var(--green); }
.wl-note { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--faint); margin-top: 22px; position: relative; }
.wl-success { display: none; margin-top: 24px; color: var(--green); font-size: 16px; position: relative; }
.wl-success.show { display: block; }
.cta-contact { position: relative; margin-top: 26px; font-size: 14px; color: var(--muted); }
.cta-contact a { color: var(--green); transition: opacity .2s; }
.cta-contact a:hover { opacity: 0.78; }

/* ════════════════ FOOTER ════════════════ */
footer { border-top: 1px solid var(--line); padding: 56px 0 40px; }
.foot-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand { max-width: 300px; }
.foot-brand .brand-name { font-size: 24px; }
.foot-brand p { color: var(--faint); font-size: 13px; margin-top: 16px; line-height: 1.6; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-col h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.foot-col a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 11px; transition: color .2s; }
.foot-col a:hover { color: var(--text); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; gap: 12px; }
.foot-bottom span { font-family: var(--font-mono); font-size: 12px; color: var(--faint); letter-spacing: .5px; }
.foot-social { display: flex; gap: 10px; }
.foot-social a {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: 9px; color: var(--muted);
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.foot-social a:hover { color: var(--green); border-color: var(--green-line); background: var(--green-soft); }

/* ════════════════ REVEAL ════════════════ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* ════════════════ RESPONSIVE ════════════════ */

/* ── Tablet / small laptop ── */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .takeoff { grid-template-columns: 1fr; }
  .takeoff-main { border-right: none; border-bottom: 1px solid var(--line); }
  .pipe-sticky { grid-template-columns: 1fr; gap: 28px; align-content: center; }
  .pipe-stage { height: 320px; }
  .pipe-step { text-align: left; }
  .pipe-step p { max-width: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .cell.tall { grid-row: span 1; }
  .specsheet { grid-template-columns: 1fr; gap: 32px; }
  .beam-fig { max-width: 360px; margin: 0 auto; }
  .num-grid { grid-template-columns: 1fr 1fr; }
  .road-grid { grid-template-columns: 1fr 1fr; }
  .num-cell:nth-child(2) { border-right: none; }
  .num-cell { border-bottom: 1px solid var(--line); }
  .section { padding: 96px 0; }
  .cta { padding: 110px 0; }
  .partner { padding: 96px 0; }
}

/* ── Phone ── */
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .nav-inner { padding: 14px 18px; }
  nav.scrolled .nav-inner { padding: 10px 18px; }
  .brand .bar, .brand-sub { display: none; }
  .brand svg { width: 26px; height: 26px; }
  .brand-name { font-size: 18px; letter-spacing: 2.5px; }
  .btn { font-size: 14px; padding: 11px 18px; }

  .hero { padding: 120px 20px 0; min-height: 0; }
  .hero .kicker { margin-bottom: 22px; font-size: 10.5px; letter-spacing: 1.8px; padding: 6px 12px; }
  .hero h1 { font-size: clamp(40px, 13vw, 64px); margin-bottom: 24px; }
  .hero-lead { font-size: 16px; margin-bottom: 28px; }
  .hero-cta { width: 100%; flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-trust { margin-bottom: 40px; }

  .app-mock { transform: none; border-radius: 12px; }
  .app-bar { padding: 11px 14px; gap: 10px; }
  .app-bar .file { font-size: 10.5px; }
  .app-bar .file .tag { font-size: 9px; padding: 1px 5px; }
  .app-bar .right { font-size: 9px; }
  .to-row { padding: 10px 14px; gap: 7px; font-size: 10.5px; }
  .to-row.head { font-size: 8.5px; letter-spacing: 1px; }
  .takeoff-side { padding: 18px 16px; }
  .side-stat .v { font-size: 28px; }

  .specstrip .cell { min-width: 50%; border-bottom: 1px solid var(--line); padding: 26px 18px; }
  .specstrip .cell:nth-child(2n) { border-right: none; }

  .section { padding: 76px 0; }
  .numbers.top-impact { margin-top: 56px; }
  .sec-head { margin-bottom: 44px; }
  .cta { padding: 90px 0; }
  .partner { padding: 76px 0; }

  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 14px; }
  .cell { min-height: 190px; }
  .cell.span2 { grid-column: span 1; }

  .num-grid { grid-template-columns: 1fr; }
  .road-grid { grid-template-columns: 1fr; }
  .num-cell { border-right: none; padding: 44px 4px; }

  .manifesto-body { font-size: 17px; }
  .partner-tag { font-size: 11px; letter-spacing: 1.5px; }

  .wl-form { flex-direction: column; }
  .wl-form input, .wl-form .btn { width: 100%; }

  .foot-inner { flex-direction: column; gap: 36px; }
  .foot-cols { gap: 40px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 18px; }
}

/* ── Pinned pipeline: lighter scroll budget on touch ── */
@media (max-width: 600px) {
  .pipe-track { height: 360vh !important; }
  .pipe-sticky { padding: 0 20px; gap: 22px; }
  .pipe-stage { height: 280px; }
  .pipe-step h3 { font-size: clamp(30px, 9vw, 44px); }
  .pipe-rail { margin-top: 28px; }
  .pipe-rail .tick { width: 28px; }
}

/* ── Very small phones ── */
@media (max-width: 380px) {
  .hero h1 { font-size: 38px; }
  .to-row { font-size: 9.5px; gap: 5px; }
  .display, .sec-head h2 { letter-spacing: -0.5px; }
}

/* ════════════════ MOBILE MENU ════════════════ */
.nav-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 0 9px; cursor: pointer;
  background: rgba(255,255,255,0.03); border: 1px solid var(--line-2); border-radius: 9px;
}
.nav-burger span {
  display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px;
  transition: transform .28s var(--ease), opacity .2s var(--ease);
}
nav.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
nav.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 8px 18px 22px; border-bottom: 1px solid var(--line);
  background: rgba(7,9,11,0.96); backdrop-filter: blur(16px);
}
.mobile-menu a {
  font-family: var(--font-sans); font-size: 16px; color: var(--muted);
  padding: 13px 4px; border-bottom: 1px solid var(--line);
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--text); }
.mobile-menu a.btn { margin-top: 16px; border-bottom: none; color: #04130D; justify-content: center; }
nav.menu-open .mobile-menu { display: flex; }

@media (max-width: 980px) {
  .nav-burger { display: flex; }
}
@media (max-width: 600px) {
  .nav-cta { display: none; }
}
