:root {
  --bg: #050507;
  --ink: #f5f5e8;
  --muted: #b8b8a8;
  --green: #40ff8a;
  --amber: #ffcf4a;
  --blue: #54b7ff;
  --panel: #111116;
  --panel-2: #19191f;
  --line: rgba(245, 245, 232, 0.15);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px),
    radial-gradient(circle at 20% 0, rgba(64, 255, 138, 0.18), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(84, 183, 255, 0.16), transparent 30%),
    var(--bg);
  font-family: "Courier New", Consolas, monospace;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(5, 5, 7, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-dot {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #061008;
  background: var(--green);
  border-radius: 8px;
  box-shadow: 0 0 26px rgba(64, 255, 138, 0.42);
  font-size: 0.85rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav a:hover {
  color: var(--green);
  text-shadow: 0 0 12px rgba(64, 255, 138, 0.5);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--green);
  padding: 10px 14px;
  color: var(--green);
  background: transparent;
  border-radius: 8px;
  font: inherit;
}

.hero,
.section,
.ribbon,
.footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 36px;
  align-items: center;
  padding: 78px 0 48px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  max-width: 900px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(3.2rem, 7vw, 7.8rem);
  line-height: 0.88;
  letter-spacing: -0.09em;
}

h2 {
  margin-bottom: 22px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2rem, 4.8vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
}

h3 {
  margin-bottom: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.34rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #061008;
  background: var(--green);
  box-shadow: 0 0 28px rgba(64, 255, 138, 0.28);
}

.button.secondary {
  color: var(--amber);
  border: 1px solid var(--amber);
}

.terminal-card {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(25, 25, 31, 0.92), rgba(17, 17, 22, 0.96));
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.screen-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.screen-top span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}

.screen-top span:nth-child(2) {
  background: var(--amber);
}

.screen-top span:nth-child(3) {
  background: var(--blue);
  margin-right: 10px;
}

.scan-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border-bottom: 1px dashed var(--line);
}

.scan-line:last-child {
  border-bottom: 0;
}

.scan-line p {
  margin: 0;
  color: var(--muted);
}

.scan-line strong {
  color: var(--green);
}

.ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 0 30px;
}

.ribbon span {
  padding: 10px 14px;
  color: var(--amber);
  border: 1px solid rgba(255, 207, 74, 0.38);
  border-radius: 999px;
  background: rgba(255, 207, 74, 0.06);
}

.section {
  padding: 96px 0;
}

.mission,
.framework,
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
}

.mission-text,
.framework-copy p,
.service-grid p,
.service-grid li,
.lens-grid p,
.plan-list p,
.output-grid p,
.contact p {
  color: var(--muted);
}

.services {
  padding-top: 30px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-grid article,
.lens-grid article,
.plan-list article,
.output-grid p,
.contact-card {
  background: rgba(17, 17, 22, 0.88);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.service-grid article {
  padding: 26px;
}

.service-grid span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--green);
  font-weight: 900;
}

.service-grid ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.lens-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.lens-grid article {
  padding: 26px;
}

.lens-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--amber);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
}

.plan-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.plan-list article {
  padding: 28px;
}

.plan-list span {
  display: inline-flex;
  margin-bottom: 36px;
  color: #061008;
  background: var(--amber);
  padding: 7px 10px;
  border-radius: 999px;
  font-weight: 900;
}

.output-section {
  padding-top: 20px;
}

.output-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.output-grid p {
  margin: 0;
  padding: 18px;
}

.contact-card {
  padding: 30px;
}

.contact-card a:not(.button) {
  color: var(--green);
  font-weight: 900;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer p {
  margin: 0;
}

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 84px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
  }

  .nav.is-open {
    display: flex;
  }

  .hero,
  .mission,
  .framework,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .plan-list,
  .output-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .header,
  .hero,
  .section,
  .ribbon,
  .footer {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: auto;
    padding: 60px 0 38px;
  }

  .service-grid,
  .lens-grid,
  .plan-list,
  .output-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .footer {
    flex-direction: column;
  }
}
