:root {
  --bg: #f3f1ea;
  --ink: #111111;
  --muted: #6f716b;
  --line: #c8c6bd;
  --acid: #c6ff00;
  --panel: #181818;
  --white: #ffffff;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

.site-header {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--ink);
  color: var(--acid);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
  font-size: .9rem;
  letter-spacing: -.02em;
}

.brand-copy span { color: var(--muted); }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: .9rem;
}

.nav a {
  text-decoration: none;
}

.nav-cta {
  padding: 10px 14px;
  border: 1px solid var(--ink);
}

.menu-toggle { display: none; }

.hero {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 86px 0 76px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 64px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 18px;
  font-family: "IBM Plex Mono", monospace;
  font-size: .77rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 28px;
  font-size: clamp(4rem, 10vw, 8.5rem);
  line-height: .84;
  letter-spacing: -.08em;
}

h1 span {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}

.lede {
  max-width: 760px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.55;
  color: #393a36;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  text-decoration: none;
  font-weight: 700;
  font-size: .9rem;
  transition: transform .2s ease, background .2s ease;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  background: var(--ink);
  color: var(--white);
}

.button-primary:hover {
  background: #333;
}

.button-ghost {
  border: 1px solid var(--ink);
}

.signal-card {
  background: var(--panel);
  color: var(--white);
  padding: 24px;
  font-family: "IBM Plex Mono", monospace;
  box-shadow: 12px 12px 0 var(--acid);
}

.signal-header,
.metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.signal-header {
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid #3b3b3b;
  font-size: .72rem;
}

.status {
  color: var(--acid);
}

.metric {
  margin-top: 18px;
  font-size: .75rem;
}

.bar {
  height: 7px;
  margin-top: 8px;
  background: #333;
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  background: var(--acid);
}

.terminal {
  margin: 26px 0 0;
  color: #b9b9b9;
  font-size: .76rem;
  line-height: 1.8;
}

.ticker {
  overflow: hidden;
  background: var(--acid);
  border-block: 1px solid var(--ink);
}

.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  padding: 12px 0;
  animation: ticker 28s linear infinite;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-size: .77rem;
}

.ticker-track span::after {
  content: "↗";
  margin-left: 48px;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-35%); }
}

.section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 110px 0;
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

h2 {
  max-width: 850px;
  margin-bottom: 0;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.body-copy {
  align-self: end;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #3f403c;
}

.section-heading {
  display: grid;
  grid-template-columns: .35fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}

.card {
  min-height: 285px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.card:last-child { border-right: 0; }

.card-number {
  display: block;
  margin-bottom: 70px;
  font-family: "IBM Plex Mono", monospace;
  color: var(--muted);
  font-size: .8rem;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.card p {
  color: var(--muted);
  line-height: 1.6;
  font-size: .94rem;
}

.process-section {
  border-bottom: 0;
}

.process {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}

.process li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.process > li > span {
  font-family: "IBM Plex Mono", monospace;
  color: var(--muted);
}

.process h3 {
  margin-bottom: 7px;
  font-size: 1.65rem;
}

.process p {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.quote-section {
  background: var(--ink);
  color: var(--white);
  padding: 110px max(20px, calc((100vw - var(--max))/2));
}

.quote-section blockquote {
  max-width: 1000px;
  margin: 0 0 28px;
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  line-height: .98;
  letter-spacing: -.06em;
}

.quote-section p {
  margin: 0;
  color: #aaa;
  font-family: "IBM Plex Mono", monospace;
  font-size: .77rem;
}

.contact-section {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
  align-items: start;
}

.contact-box {
  padding: 30px;
  border: 1px solid var(--ink);
  background: #ebe9e1;
}

.contact-box p {
  line-height: 1.65;
  color: #3d3e3a;
}

.contact-box small {
  display: block;
  margin-top: 15px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: .7rem;
}

footer {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 30px 0 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  font-size: .78rem;
  color: var(--muted);
}

.footer-brand { justify-self: start; }
.footer-links {
  justify-self: end;
  display: flex;
  gap: 18px;
}

.footer-links a { text-decoration: none; }

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .contact-section,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero-grid { gap: 44px; }
  .signal-card { max-width: 560px; }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .card:nth-child(2) { border-right: 0; }
  .card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  footer {
    grid-template-columns: 1fr;
  }

  .footer-links { justify-self: start; }
}

@media (max-width: 700px) {
  .site-header {
    position: relative;
  }

  .menu-toggle {
    display: inline-flex;
    border: 1px solid var(--ink);
    background: transparent;
    padding: 8px 10px;
    font: inherit;
    font-size: .8rem;
  }

  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    z-index: 20;
    padding: 18px;
    background: var(--bg);
    border: 1px solid var(--ink);
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open { display: flex; }

  .hero {
    padding-top: 58px;
  }

  h1 { font-size: clamp(4rem, 20vw, 6.2rem); }

  .section { padding: 80px 0; }

  .cards {
    grid-template-columns: 1fr;
  }

  .card,
  .card:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .card:last-child { border-bottom: 0; }

  .process li {
    grid-template-columns: 52px 1fr;
    gap: 18px;
  }

  .quote-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}
