:root {
  color-scheme: dark;
  --bg: #070809;
  --ink: #f7f7f1;
  --muted: #bec3b8;
  --paper: #f1f4e9;
  --paper-ink: #111510;
  --line: rgba(247, 247, 241, 0.18);
  --green: #a7ff45;
  --red: #ff3f34;
  --steel: #6fb4ff;
  --max: 1180px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--bg);
  background-size: 72px 72px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.modal-open,
body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.brand strong,
.eyebrow,
.button,
.failure-card span,
.expand-cue {
  font-weight: 950;
  text-transform: uppercase;
}

.brand strong {
  font-size: 0.95rem;
  line-height: 1.05;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px) saturate(145%);
  background: rgba(7, 8, 9, 0.9);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 10px;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  min-height: 64px;
  padding: 8px clamp(18px, 4vw, 48px);
  position: sticky;
  top: 0;
  z-index: 30;
}

.brand {
  justify-self: center;
  min-width: 0;
  text-align: center;
}

.menu-button,
.menu-close {
  appearance: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  font: inherit;
  place-items: center;
}

.menu-button,
.header-balance {
  height: 46px;
  width: 46px;
}

.menu-button {
  background: transparent;
}

.menu-button:hover,
.menu-button:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: 0;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  background: currentColor;
  border-radius: 999px;
  content: "";
  display: block;
  height: 3px;
}

.hamburger {
  position: relative;
  width: 27px;
}

.hamburger::before,
.hamburger::after {
  left: 0;
  position: absolute;
}

.hamburger::before {
  top: -8px;
  width: 27px;
}

.hamburger::after {
  top: 8px;
  width: 18px;
}

.site-menu[hidden] {
  display: none;
}

.site-menu {
  inset: 0;
  position: fixed;
  z-index: 120;
}

.menu-backdrop {
  appearance: none;
  background: rgba(0, 0, 0, 0.68);
  border: 0;
  cursor: pointer;
  inset: 0;
  position: absolute;
  width: 100%;
}

.menu-panel {
  background:
    linear-gradient(135deg, rgba(167, 255, 69, 0.1), transparent 40%),
    linear-gradient(180deg, rgba(17, 21, 24, 0.96), rgba(7, 8, 9, 0.98));
  border-right: 1px solid var(--line);
  box-shadow: 24px 0 90px rgba(0, 0, 0, 0.45);
  color: var(--ink);
  height: 100dvh;
  max-width: min(390px, 92vw);
  overflow-y: auto;
  padding: 22px;
  position: relative;
}

.menu-head {
  align-items: start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 26px;
}

.menu-head h2 {
  font-size: 2.25rem;
  margin: 0;
}

.menu-close {
  background: var(--red);
  height: 42px;
  min-width: 42px;
}

.menu-nav {
  display: grid;
}

.menu-nav a {
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.28rem;
  font-weight: 950;
  padding: 16px 0;
  text-transform: uppercase;
}

.menu-nav a:hover,
.menu-nav a:focus-visible,
.menu-nav a.is-active {
  color: var(--green);
  outline: 0;
}

.menu-surface-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.menu-surface-links span {
  width: 100%;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.menu-surface-links a {
  color: rgba(247, 247, 241, 0.78);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.menu-surface-links a:hover,
.menu-surface-links a:focus-visible {
  color: var(--green);
  outline: 0;
}

.menu-note {
  color: var(--muted);
  font-weight: 750;
  margin: 26px 0 0;
}

.hero {
  align-items: end;
  background-image:
    linear-gradient(90deg, rgba(7, 8, 9, 0.86), rgba(7, 8, 9, 0.42) 52%, rgba(7, 8, 9, 0.72)),
    linear-gradient(0deg, rgba(7, 8, 9, 0.86), rgba(7, 8, 9, 0.14) 44%, rgba(7, 8, 9, 0.86)),
    url("assets/hero-command-center.jpg");
  background-position: center;
  background-size: cover;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  min-height: calc(100svh - 64px);
  padding: clamp(44px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.hero-copy {
  max-width: 760px;
  min-width: 0;
}

.eyebrow {
  color: var(--green);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}

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

h1 {
  font-size: 5.45rem;
  letter-spacing: 0;
  line-height: 0.88;
  margin-bottom: 18px;
  max-width: 10ch;
  text-transform: uppercase;
}

h2 {
  font-size: 3.9rem;
  letter-spacing: 0;
  line-height: 0.95;
  margin-bottom: 20px;
  max-width: 12ch;
  text-transform: uppercase;
}

h3 {
  font-size: 1.18rem;
  letter-spacing: 0;
  line-height: 1.05;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.tagline {
  color: var(--green);
  font-size: 2.2rem;
  font-weight: 950;
  line-height: 1.05;
  margin-bottom: 22px;
}

.deck {
  color: #e6ebe1;
  font-size: 1.28rem;
  font-weight: 780;
  max-width: 650px;
}

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

.button {
  align-items: center;
  border: 1px solid var(--line);
  display: inline-flex;
  font-size: 0.9rem;
  justify-content: center;
  min-height: 52px;
  padding: 14px 18px;
}

.button-primary {
  background: var(--green);
  border-color: var(--green);
  color: #101410;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
}

.hero-proof-panel {
  backdrop-filter: blur(18px);
  background: rgba(7, 8, 9, 0.62);
  border: 1px solid var(--line);
  padding: 22px;
}

.hero-proof-panel span {
  color: var(--green);
  display: block;
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-proof-panel strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.08;
  margin: 12px 0 18px;
  text-transform: uppercase;
}

.hero-proof-panel ol {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-proof-panel li {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
  padding-top: 8px;
}

.section-pad {
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(56px, 8vw, 104px) clamp(18px, 4vw, 34px);
}

.section-intro {
  margin-bottom: 34px;
  max-width: 850px;
}

.section-intro p:not(.eyebrow),
.section-heading p,
.framework-copy p,
.offer-copy p,
.proof-panel p {
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 700;
}

.problem-grid,
.failure-grid,
.product-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr);
}

.problem-grid article,
.failure-card,
.product-grid article,
.offer-grid article {
  border: 1px solid var(--line);
  padding: 22px;
}

.problem-grid article {
  background: var(--paper);
  color: var(--paper-ink);
  min-height: 268px;
}

.problem-grid span {
  color: var(--red);
  display: block;
  font-size: 0.82rem;
  font-weight: 950;
  margin-bottom: 28px;
}

.problem-grid p,
.product-grid p,
.offer-grid p,
.failure-card p {
  font-weight: 700;
  margin-bottom: 0;
}

.image-band {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.image-band figure,
.framework-image {
  margin: 0;
  position: relative;
}

.image-band img,
.framework-image img {
  aspect-ratio: 1.15;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.image-band figcaption,
.framework-image figcaption {
  background: rgba(7, 8, 9, 0.78);
  bottom: 0;
  left: 0;
  padding: 18px;
  position: absolute;
  right: 0;
}

.image-band strong,
.framework-image figcaption {
  color: var(--green);
  display: block;
  font-weight: 950;
  text-transform: uppercase;
}

.pattern-band {
  background:
    linear-gradient(135deg, rgba(167, 255, 69, 0.14), transparent 36%),
    linear-gradient(315deg, rgba(255, 63, 52, 0.16), transparent 42%),
    #111518;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  padding: clamp(56px, 8vw, 104px) clamp(18px, 4vw, 34px);
}

.section-heading {
  margin: 0 auto 34px;
  max-width: var(--max);
}

.section-heading.inverse p:not(.eyebrow) {
  max-width: 760px;
}

.failure-grid {
  margin: 0 auto;
  max-width: var(--max);
}

.failure-card {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  cursor: pointer;
  min-height: 330px;
  text-align: left;
}

.failure-card:hover,
.failure-card:focus-visible {
  border-color: var(--green);
  outline: none;
}

.failure-card span {
  color: var(--red);
  display: block;
  margin-bottom: 28px;
}

.failure-card h3 {
  font-size: 1.35rem;
}

.expand-cue {
  color: var(--red);
  display: inline-block;
  margin-top: 24px;
}

.modal-copy {
  display: none;
}

.framework-layout,
.offer-section {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
}

.framework-copy {
  align-self: center;
}

.framework-copy ul {
  color: var(--ink);
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
}

.framework-copy li {
  background: var(--paper);
  color: var(--paper-ink);
  font-weight: 850;
  list-style: none;
  padding: 14px 16px;
}

.framework-image img {
  aspect-ratio: 0.95;
}

.proof-section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 4vw, 34px);
}

.proof-panel {
  background: var(--paper);
  color: var(--paper-ink);
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(28px, 5vw, 58px);
}

.proof-panel .eyebrow {
  color: var(--red);
}

.proof-panel p {
  color: #32372f;
  max-width: 780px;
}

.offer-copy {
  align-self: start;
  position: sticky;
  top: 112px;
}

.offer-grid {
  display: grid;
  gap: 12px;
}

.offer-grid article {
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 16px;
  grid-template-columns: 118px 1fr;
}

.offer-grid span {
  color: var(--green);
  font-size: 1.45rem;
  font-weight: 950;
  text-transform: uppercase;
}

.product-grid article {
  background: rgba(255, 255, 255, 0.05);
  min-height: 220px;
}

pre {
  background: #030405;
  border: 1px solid var(--line);
  color: #d7ead0;
  margin: 0;
  overflow-x: auto;
  padding: 20px;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.86rem;
}

.modal {
  background: rgba(0, 0, 0, 0.76);
  display: none;
  inset: 0;
  overflow-y: auto;
  position: fixed;
  z-index: 100;
}

.modal.is-open {
  display: block;
}

.modal-inner {
  background: var(--bg);
  min-height: 100svh;
  position: relative;
}

.modal-close {
  background: var(--red);
  border: 0;
  color: white;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 950;
  height: 46px;
  position: fixed;
  right: 18px;
  top: 18px;
  width: 46px;
  z-index: 110;
}

.modal-hero {
  align-items: end;
  background-image:
    linear-gradient(90deg, rgba(7, 8, 9, 0.84), rgba(7, 8, 9, 0.34)),
    var(--modal-image);
  background-position: center;
  background-size: cover;
  display: grid;
  min-height: 54svh;
  padding: clamp(40px, 7vw, 86px);
}

.modal-hero h2 {
  max-width: 14ch;
}

.modal-content {
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-width: 920px;
  padding: clamp(30px, 5vw, 62px) 18px 80px;
}

.modal-content h3 {
  color: var(--green);
  font-size: 1rem;
  margin: 10px 0 0;
}

.modal-content p {
  color: #e3e8dd;
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0;
}

.site-footer {
  background: #070809;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  padding: 28px clamp(18px, 5vw, 72px) 30px;
}

.footer-line,
.footer-links,
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 17px;
}

.footer-line {
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(247, 247, 241, 0.1);
}

.footer-line strong,
.footer-links span {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer-line span,
.footer-meta span {
  color: rgba(247, 247, 241, 0.64);
  font-size: 0.72rem;
  font-weight: 650;
}

.footer-line a,
.footer-links a {
  color: rgba(247, 247, 241, 0.82);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.footer-line a:hover,
.footer-links a:hover,
.footer-line a:focus-visible,
.footer-links a:focus-visible {
  color: var(--green);
  outline: 0;
}

.button,
.hero-proof-panel,
.problem-grid article,
.failure-card,
.product-grid article,
.offer-grid article,
.modal-inner,
.modal-content,
.image-band figure {
  border-radius: var(--radius-lg);
}

@media (max-width: 1040px) {
  .hero,
  .framework-layout,
  .offer-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: end;
    min-height: auto;
    padding-top: 64px;
  }

  .problem-grid,
  .failure-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .offer-copy {
    position: static;
  }

}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    min-height: 56px;
    padding: 8px 18px;
  }

  .menu-button,
  .header-balance {
    height: 40px;
    width: 40px;
  }

  .brand strong {
    font-size: 0.86rem;
  }

  .hero {
    background-image:
      linear-gradient(90deg, rgba(7, 8, 9, 0.52), rgba(7, 8, 9, 0.16)),
      linear-gradient(0deg, rgba(7, 8, 9, 0.78), rgba(7, 8, 9, 0.04) 52%, rgba(7, 8, 9, 0.52)),
      url("assets/hero-mobile-systems.jpg");
    background-position: center center;
    min-height: calc(100svh - 56px);
    padding: 42px 18px 32px;
  }

  h1 {
    font-size: 2.82rem;
    line-height: 0.92;
    max-width: 100%;
    overflow-wrap: normal;
  }

  h2 {
    font-size: 2.55rem;
  }

  .tagline {
    font-size: 1.65rem;
  }

  .deck,
  .section-intro p:not(.eyebrow),
  .section-heading p,
  .framework-copy p,
  .offer-copy p,
  .modal-content p {
    font-size: 1rem;
  }

  .hero-actions,
  .problem-grid,
  .failure-grid,
  .product-grid,
  .image-band {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .problem-grid article,
  .failure-card,
  .product-grid article {
    min-height: auto;
  }

  .offer-grid article {
    grid-template-columns: 1fr;
  }

  .modal-hero {
    background-position: center;
    min-height: 46svh;
    padding: 78px 18px 28px;
  }
}
