@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");

:root {
  --bg: #050805;
  --bg-soft: #081308;
  --panel: #0b130c;
  --green: #74ff7a;
  --amber: #ffd15a;
  --amber-2: #c28a2e;
  --text: #e6ffe6;
  --muted: #a5c9a5;
  --dim: #789278;
  --line: #286239;
  --line-strong: #4bd46b;
  --font: "Press Start 2P", Monaco, Menlo, Consolas, "Courier New", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: var(--font) !important;
  font-variant-ligatures: none;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(116, 255, 122, 0.16), transparent 32rem),
    radial-gradient(circle at 88% 8%, rgba(255, 209, 90, 0.08), transparent 26rem),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 72%);
  font-size: 11px;
  line-height: 1.9;
  letter-spacing: 0;
  -webkit-font-smoothing: none;
  text-rendering: geometricPrecision;
}

.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.16;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.10) 0,
      rgba(255, 255, 255, 0.10) 1px,
      transparent 1px,
      transparent 4px
    ),
    repeating-linear-gradient(
      to right,
      rgba(116, 255, 122, 0.03) 0,
      rgba(116, 255, 122, 0.03) 1px,
      transparent 1px,
      transparent 7px
    );
  mix-blend-mode: screen;
}

.vignette {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: radial-gradient(circle at center, transparent 58%, rgba(0, 0, 0, 0.45) 100%);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10000;
  padding: 10px 12px;
  color: var(--bg);
  background: var(--amber);
}

.skip-link:focus {
  top: 16px;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--amber);
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.site-header,
.page-shell,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0 18px;
}

.site-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  min-width: 62px;
  border: 2px solid var(--line-strong);
  background: rgba(5, 8, 5, 0.92);
  box-shadow: 4px 4px 0 #000;
}

.site-mark:hover,
.site-mark:focus-visible {
  border-color: var(--amber);
  text-decoration: none;
}

.site-mark img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
  image-rendering: pixelated;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid var(--line);
  padding: 9px 11px;
  color: var(--text);
  background: rgba(8, 14, 9, 0.78);
  box-shadow: 3px 3px 0 #000;
  font-size: 8px;
  line-height: 1.5;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--bg);
  background: var(--green);
  border-color: var(--green);
  text-decoration: none;
}

.site-nav a::before,
.button::before {
  content: "[";
}

.site-nav a::after,
.button::after {
  content: "]";
}

.page-shell {
  padding: 16px 0 42px;
}

.hero,
.content-panel,
.lead-copy,
.release-card,
.feature-grid article,
.screenshot-preview,
.teaser,
.why,
.note-box,
.phone-card,
.screenshot-grid figure {
  border: 2px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 28, 16, 0.98), rgba(5, 9, 6, 0.98));
  box-shadow: 6px 6px 0 #000, inset 0 0 0 1px rgba(116, 255, 122, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 320px);
  gap: clamp(22px, 4vw, 44px);
  align-items: end;
  margin-bottom: 22px;
  padding: clamp(28px, 5vw, 56px);
}

.eyebrow,
.system-title,
.feature-grid article span,
figcaption {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 8px;
  line-height: 1.7;
  text-transform: uppercase;
}

.cursor {
  color: var(--green);
  animation: blink 1.1s steps(2, start) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--green);
  font-size: clamp(28px, 5.2vw, 56px);
  line-height: 1.18;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 0 7px rgba(116, 255, 122, 0.25),
    3px 3px 0 #102d18;
}

.hero-text {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--text);
  font-size: 11px;
  line-height: 1.95;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 2px solid var(--green);
  padding: 9px 12px;
  color: var(--green);
  background: transparent;
  box-shadow: 3px 3px 0 #000;
  font-size: 8px;
  line-height: 1.6;
  text-transform: uppercase;
}

.button.primary {
  color: var(--bg);
  background: var(--green);
}

.button:hover,
.button:focus-visible {
  color: var(--bg);
  background: var(--amber);
  border-color: var(--amber);
  text-decoration: none;
}

.system-card {
  border: 1px solid var(--line);
  padding: 18px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.24);
}

.system-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.system-card div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px dotted rgba(116, 255, 122, 0.2);
  padding-bottom: 6px;
}

.system-card dt {
  color: var(--dim);
  text-transform: uppercase;
}

.system-card dd {
  margin: 0;
  color: var(--green);
  text-align: right;
  text-transform: uppercase;
}

.content {
  padding: clamp(20px, 4vw, 40px);
}

.content h1,
.content h2,
.content h3 {
  color: var(--green);
  line-height: 1.35;
  text-transform: uppercase;
}

.content h1 {
  margin-top: 0;
  font-size: clamp(20px, 3.6vw, 34px);
}

.content h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(15px, 2.1vw, 22px);
}

.content > h2 {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}

.content h3 {
  font-size: clamp(12px, 1.4vw, 16px);
}

.content p,
.content li,
.lead-copy p,
.release-card p,
.note-box p,
.system-card {
  font-size: 10px;
  line-height: 1.95;
}

.content strong {
  color: var(--amber);
}

.content ul,
.content ol {
  padding-left: 1.25rem;
}

.content li::marker {
  color: var(--amber);
}

.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 320px);
  gap: 18px;
  margin-bottom: 18px;
}

.lead-copy,
.release-card,
.screenshot-preview,
.teaser,
.why,
.note-box {
  padding: clamp(20px, 3vw, 30px);
}

.teaser,
.why {
  margin: 18px 0;
}

.teaser-video {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 16px auto 0;
  border: 1px solid var(--line);
  background: #000;
}

.lead-copy {
  border-left: 4px solid var(--green);
}

.release-card {
  display: grid;
  align-content: center;
  gap: 10px;
}

.release-card span {
  color: var(--amber);
  font-size: 8px;
  line-height: 1.7;
  text-transform: uppercase;
}

.release-card strong {
  color: var(--green);
  font-size: 13px;
  line-height: 1.5;
  text-transform: uppercase;
}

.release-card p {
  margin: 0;
  color: var(--muted);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 18px 0;
  border: 2px solid var(--line);
  padding: 8px;
  background: #050805;
  box-shadow: 4px 4px 0 #000;
}

.trust-strip span {
  border: 1px solid var(--amber);
  padding: 10px 8px;
  color: var(--bg);
  background: var(--amber);
  font-size: 8px;
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 18px 0;
}

.feature-grid article {
  padding: 20px;
}

.feature-grid h3 {
  margin: 0 0 10px;
  font-size: clamp(12px, 1.4vw, 16px);
  line-height: 1.5;
  text-transform: uppercase;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.95;
}

.screenshot-preview {
  margin: 18px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 18px;
}

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

.phone-card {
  display: block;
  padding: 12px;
  color: var(--text);
  text-decoration: none;
}

.phone-card:hover,
.phone-card:focus-visible {
  border-color: var(--amber);
  text-decoration: none;
}

.phone-card img,
.screenshot-grid img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  background: #000;
}

.phone-card span {
  display: block;
  margin-top: 10px;
  color: var(--amber);
  font-size: 8px;
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
}

.center-action {
  margin: 22px 0 0;
  text-align: center;
}

.note-box {
  margin-top: 18px;
  border-color: var(--amber-2);
}

.note-box p:not(.eyebrow)::before {
  content: "> ";
  color: var(--green);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  margin-top: 22px;
}

.screenshot-grid figure {
  margin: 0;
  padding: 12px;
}

figcaption {
  margin-top: 10px;
  text-align: center;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 22px 0 34px;
  color: var(--dim);
  font-size: 8px;
  line-height: 1.8;
  text-align: center;
}

.site-footer a {
  color: var(--amber);
}

@media (max-width: 900px) {
  .hero,
  .lead-grid,
  .preview-grid {
    grid-template-columns: 1fr;
  }

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

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: stretch;
    flex-direction: column;
    width: min(100% - 24px, 1120px);
    padding-top: 18px;
  }

  .site-mark {
    width: 54px;
    height: 54px;
    min-width: 54px;
  }

  .site-mark img {
    width: 38px;
    height: 38px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .site-nav a {
    width: 100%;
    font-size: 7px;
  }

  .page-shell {
    width: min(100% - 24px, 1120px);
    padding-top: 10px;
  }

  .hero {
    padding: 24px;
  }

  .hero h1 {
    font-size: clamp(24px, 9vw, 40px);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    font-size: 7px;
  }

  .feature-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .content {
    padding: 22px;
  }

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

@media (max-width: 390px) {
  .site-nav {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor {
    animation: none;
  }

  .scanlines {
    opacity: 0.08;
  }
}
