/* ==========================================================================
   The Outbound Install — Signal
   Near-black + electric lime. Infrastructure, not agency.

   One stylesheet, shared by all three pages. Every colour is a token; never
   hardcode a hex in a page.
   ========================================================================== */

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

:root {
  /* --- Surfaces --- */
  --ink:          #0C0F0D;   /* the dark surface, and the darkest text */
  --ink-deep:     #060807;   /* footer / deepest panel */
  --ink-line:     #1e2521;   /* hairlines on dark */
  --paper:        #FBFCFA;   /* the light surface */
  --paper-warm:   #F1F4EF;   /* alternating light panel */

  /* --- The one accent, in two weights ---
     lime is only legible on dark; moss is its counterpart on paper.
     Using the wrong one is the single easiest way to break this brand. */
  --lime:         #A3E635;   /* accent ON DARK   — 12.78:1 on --ink */
  --moss:         #4D7C0F;   /* accent ON PAPER  —  4.85:1 on --paper */

  /* --- Text --- */
  --text:         #0C0F0D;
  --text-soft:    #3f4744;
  --text-muted:   #6c7570;
  --rule:         #dfe5db;

  /* --- On dark --- */
  --on-dark:        rgba(251, 252, 250, 0.78);
  --on-dark-muted:  rgba(251, 252, 250, 0.52);
  --rule-dark:      rgba(163, 230, 53, 0.16);
  --ink-panel:      #10130F;  /* screenshot mat, slightly lifted off --ink */

  /* --- Type --- */
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body:    'Geist', system-ui, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;

  /* --- Measure --- */
  --wide: 1180px;
  --col:  1080px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--lime); color: var(--ink); }

/* --------------------------------------------------------------- helpers */
.wrap { max-width: var(--col); margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: var(--wide); margin: 0 auto; padding: 0 24px; }

.label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--moss);
  display: block;
}
.dark .label, .label-on-dark { color: var(--lime); }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--moss); }
.dark h1 em, .dark h2 em, .dark h3 em { color: var(--lime); }

a { color: inherit; }

/* ------------------------------------------------------------------- nav */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12, 15, 13, 0.94);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--ink-line);
}
.nav-inner {
  max-width: var(--wide); margin: 0 auto; padding: 0 24px;
  height: 62px; display: flex; align-items: center; justify-content: space-between;
}
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark-mark {
  width: 13px; height: 13px; border: 2px solid var(--lime);
  border-radius: 2px; position: relative; flex: none;
}
.wordmark-mark::after {
  content: ""; position: absolute; inset: 2px;
  background: var(--lime); border-radius: 1px;
}
.wordmark-text {
  font-family: var(--display); font-size: 15.5px; font-weight: 600;
  letter-spacing: -0.2px; color: var(--paper); white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a {
  color: var(--on-dark); text-decoration: none; font-size: 13.5px;
  letter-spacing: 0.01em; transition: color .18s;
}
.nav-links a:hover { color: var(--paper); }
.nav-links a.active { color: var(--lime); }

.btn-nav {
  background: var(--lime); color: var(--ink) !important;
  padding: 8px 18px; border-radius: 5px;
  font-weight: 600; font-size: 13px; text-decoration: none;
  transition: filter .18s, transform .18s;
}
.btn-nav:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* ----------------------------------------------------------------- hero */
.hero { padding: 104px 0 76px; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 0.8fr; gap: 60px; align-items: end;
}
.hero h1 {
  font-size: clamp(40px, 6.2vw, 82px);
  line-height: 1.0; letter-spacing: -0.035em; margin-bottom: 26px;
}
.hero-deck { font-size: 19.5px; line-height: 1.55; color: var(--text-soft); max-width: 46ch; }
.hero-side {
  border-left: 2px solid var(--rule); padding-left: 28px;
  font-size: 14.5px; line-height: 1.7; color: var(--text-soft);
}
.hero-side .label { margin-bottom: 12px; }
.hero-side p { margin-bottom: 18px; }
.hero-side p:last-child { margin-bottom: 0; }
.hero-side strong { color: var(--text); font-weight: 600; }

/* --------------------------------------------------------- section rule */
.rule-bar { background: var(--ink); border-top: 1px solid var(--moss); }
.rule-bar-inner {
  max-width: var(--col); margin: 0 auto; padding: 13px 24px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 2.2px;
  text-transform: uppercase; color: var(--lime); text-align: center;
}

/* --------------------------------------------------------- dark section */
.dark { background: var(--ink); color: var(--paper); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--paper); }

/* -------------------------------------------------------------- stages */
.stages { padding: 44px 0 60px; }
.stage {
  display: grid; grid-template-columns: 170px 1fr 250px; gap: 44px;
  padding: 46px 0; border-bottom: 1px solid var(--rule-dark); align-items: start;
}
.stage:first-child { padding-top: 22px; }
.stage:last-child { border-bottom: 0; }
.stage-num {
  font-family: var(--display); font-weight: 500; font-size: 104px;
  line-height: 0.85; color: var(--paper); letter-spacing: -0.05em;
}
.stage-num em { font-style: normal; color: var(--lime); }
.stage-body h3 { font-size: 33px; margin-bottom: 16px; line-height: 1.1; }
.stage-body .summary {
  font-size: 16.5px; line-height: 1.65; color: var(--on-dark); max-width: 56ch;
}
.stage-tools {
  font-family: var(--mono); font-size: 12px; line-height: 1.85;
  color: var(--on-dark); border-top: 1px solid var(--moss); padding-top: 12px;
}
.stage-tools .label {
  display: block; margin-bottom: 16px; color: var(--on-dark-muted);
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
}
.tool-logos {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 8px;
}
.tool-logos li { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.tool-logos img { height: 26px; max-width: 50px; object-fit: contain; }
.tool-logos span {
  font-size: 9px; line-height: 1.25; color: var(--on-dark-muted);
  text-align: center; letter-spacing: 0.02em;
}

/* ------------------------------------------------------------- outcomes */
.outcomes {
  background: var(--paper-warm); padding: 88px 0;
  border-top: 1px solid var(--moss); border-bottom: 1px solid var(--moss);
}
.outcomes h2 {
  font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05;
  margin-bottom: 44px; max-width: 18ch;
}
.outcomes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.outcome { border-top: 1px solid var(--ink); padding-top: 16px; }
.outcome .num {
  font-family: var(--mono); font-size: 11px; letter-spacing: 2px;
  color: var(--moss); margin-bottom: 11px;
}
.outcome h4 { font-size: 21px; margin-bottom: 8px; line-height: 1.15; }
.outcome p { font-size: 14.5px; line-height: 1.55; color: var(--text-soft); }

/* -------------------------------------------------------------- pricing */
.pricing { padding: 88px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.pricing h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; margin-bottom: 22px; }
.pricing-left p { color: var(--on-dark); font-size: 16.5px; max-width: 44ch; }
.pricing-left a.inline {
  color: var(--lime); text-decoration: none; border-bottom: 1px solid var(--rule-dark);
  font-size: 14.5px; display: inline-block; margin-top: 22px; font-family: var(--mono);
}
.pricing-left a.inline:hover { border-color: var(--lime); }

.price-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--rule-dark);
}
.price-row:last-of-type { border-bottom: 0; }
.price-row .k { font-size: 15px; color: var(--on-dark); }
.price-row .v { font-family: var(--display); font-size: 30px; color: var(--paper); white-space: nowrap; }
.price-row .v.accent { color: var(--lime); }
.guarantee {
  margin-top: 26px; padding: 20px; border: 1px solid var(--rule-dark);
  border-left: 2px solid var(--lime); border-radius: 0 7px 7px 0;
  font-size: 14.5px; color: var(--on-dark);
}
.guarantee strong { color: var(--paper); }

/* ------------------------------------------------------------------ cta */
.cta { padding: 96px 0; text-align: center; }
.cta h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.03; margin-bottom: 22px; }
.cta p { color: var(--text-soft); font-size: 17px; max-width: 56ch; margin: 0 auto 36px; }
.btn {
  display: inline-block; font-family: var(--mono); font-size: 13px;
  text-transform: uppercase; letter-spacing: 2.4px;
  color: var(--ink); background: var(--lime); border: 1px solid var(--lime);
  text-decoration: none; padding: 20px 44px; border-radius: 5px;
  transition: filter .2s, transform .2s;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--moss); border-color: var(--rule); }
.btn.ghost:hover { border-color: var(--moss); background: transparent; }
.cta-pair { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------------------- footer */
footer { background: var(--ink-deep); color: var(--on-dark-muted); padding: 30px 0; }
.footer-inner {
  max-width: var(--col); margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px; letter-spacing: 1.6px;
}
footer a { color: var(--on-dark-muted); text-decoration: none; }
footer a:hover { color: var(--lime); }

/* ------------------------------------------------------------ utilities */
.section { padding: 88px 0; }
.section-head { max-width: 60ch; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.05; margin: 14px 0 18px; }
.section-head p { color: var(--text-soft); font-size: 17px; }
.dark .section-head p { color: var(--on-dark); }

/* ----------------------------------------------------------- responsive */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-side { border-left: 0; border-top: 2px solid var(--rule); padding-left: 0; padding-top: 24px; }
  .stage { grid-template-columns: 1fr; gap: 20px; }
  .stage-num { font-size: 66px; }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .pricing { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero { padding: 66px 0 52px; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .nav-links li.hide-sm { display: none; }
  .btn { padding: 17px 30px; letter-spacing: 1.8px; }
}
