@import url("https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700;800;900&family=Silkscreen:wght@400;700&display=swap");

:root {
  --yellow: #ffcc01;
  --blue: #1ea0f2;
  --blue-dark: #0672ba;
  --black: #101014;
  --ink: #1b1922;
  --muted: #696873;
  --line: #101014;
  --white: #ffffff;
  --paper: #fffdf4;
  --gray: #d7d7d7;
  --shadow: 7px 7px 0 var(--black);
  --shadow-blue: 7px 7px 0 var(--blue);
  --shadow-gray: 7px 7px 0 #929292;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  background-image:
    linear-gradient(rgba(30, 160, 242, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 160, 242, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.skip-link {
  background: var(--black);
  color: var(--white);
  left: 16px;
  padding: 10px 14px;
  position: absolute;
  top: -80px;
  z-index: 50;
}

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

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

.site-header {
  background: var(--yellow);
  border-bottom: 3px solid var(--black);
  position: sticky;
  top: 0;
  z-index: 30;
}

.nav {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: calc(var(--container) + 48px);
  padding: 14px 24px;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: max-content;
}

.brand img {
  height: 42px;
  image-rendering: pixelated;
  width: 42px;
}

.brand span {
  font-family: Silkscreen, Inter, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 6px;
  justify-content: center;
}

.nav-links a {
  border: 2px solid transparent;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  padding: 10px 11px;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--white);
  border-color: var(--black);
  outline: none;
}

.menu-button {
  background: var(--white);
  border: 3px solid var(--black);
  box-shadow: 4px 4px 0 var(--black);
  display: none;
  font-family: Silkscreen, Inter, sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  min-height: 38px;
  padding: 10px 12px;
  text-transform: uppercase;
}

.pixel-button,
.toolbar-button {
  align-items: center;
  background: var(--white);
  border: 3px solid var(--black);
  box-shadow: 5px 5px 0 var(--black);
  color: var(--black);
  display: inline-flex;
  font-family: Silkscreen, Inter, sans-serif;
  font-size: 12px;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
  min-height: 46px;
  padding: 13px 17px;
  text-align: center;
  text-transform: uppercase;
  transition: box-shadow 150ms ease, transform 150ms ease;
}

.pixel-button:hover,
.pixel-button:focus-visible,
.toolbar-button:hover,
.toolbar-button:focus-visible {
  box-shadow: 2px 2px 0 var(--black);
  outline: none;
  transform: translate(3px, 3px);
}

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

.pixel-button.small {
  font-size: 10px;
  min-height: 38px;
  padding: 10px 12px;
}

.pixel-button.compact {
  min-height: 40px;
  padding: 11px 14px;
}

.hero {
  background: var(--white);
  min-height: calc(100svh - 73px);
  padding: clamp(68px, 8vw, 112px) 24px 62px;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(34px, 6vw, 78px);
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.78fr);
}

.hero-copy h1 {
  font-family: Silkscreen, Inter, sans-serif;
  font-size: clamp(62px, 10vw, 132px);
  line-height: 0.88;
  margin: 0 0 24px;
  max-width: 760px;
  text-transform: uppercase;
}

.lead {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
  max-width: 680px;
}

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

.hero-frame {
  background: var(--paper);
  border: 3px solid var(--black);
  box-shadow: var(--shadow);
  display: grid;
  gap: 24px;
  min-height: 460px;
  overflow: hidden;
  padding: 24px;
  position: relative;
}

.hero-frame::after {
  background:
    linear-gradient(90deg, rgba(16, 16, 20, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(16, 16, 20, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  content: "";
  inset: 72px 0 0;
  pointer-events: none;
  position: absolute;
}

.frame-top,
.iframe-toolbar,
.report-panel-top {
  align-items: center;
  background: var(--black);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  min-height: 46px;
  padding: 12px 14px;
  position: relative;
  z-index: 2;
}

.frame-top span,
.frame-top strong,
.iframe-toolbar strong,
.iframe-toolbar span,
.report-panel-top strong,
.report-panel-top span {
  font-family: Silkscreen, Inter, sans-serif;
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
}

.frame-top strong,
.iframe-toolbar span,
.report-panel-top span {
  color: var(--yellow);
}

.mini-match {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: auto 0;
  position: relative;
  z-index: 2;
}

.avatar-tile {
  align-items: center;
  background: var(--yellow);
  border: 3px solid var(--black);
  box-shadow: 5px 5px 0 var(--black);
  display: grid;
  font-family: Silkscreen, Inter, sans-serif;
  font-size: 28px;
  height: 112px;
  place-items: center;
  width: 112px;
}

.avatar-tile.blue {
  background: var(--blue);
  color: var(--white);
}

.signal {
  display: grid;
  gap: 8px;
}

.signal span {
  animation: signal-pulse 1.2s ease-in-out infinite;
  background: var(--black);
  display: block;
  height: 10px;
  width: 42px;
}

.signal span:nth-child(2) {
  animation-delay: 120ms;
}

.signal span:nth-child(3) {
  animation-delay: 240ms;
}

.hero-frame p {
  color: var(--muted);
  font-weight: 800;
  margin: 0;
  position: relative;
  z-index: 2;
}

.section {
  padding: clamp(76px, 9vw, 124px) 24px;
}

.section.white {
  background: var(--white);
}

.section.paper {
  background:
    radial-gradient(circle at 0 0, rgba(30, 160, 242, 0.12) 0 3px, transparent 4px),
    var(--paper);
  background-size: 30px 30px;
}

.experience-section {
  background: var(--black);
  color: var(--white);
}

.split-heading {
  align-items: end;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.9fr);
  margin-bottom: 46px;
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 760px;
}

.section-label {
  color: var(--blue);
  display: block;
  font-family: Silkscreen, Inter, sans-serif;
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
}

.section-heading h2 {
  font-family: Silkscreen, Inter, sans-serif;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
  margin: 0;
  text-transform: uppercase;
}

.section-heading p,
.section-intro {
  color: var(--muted);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.65;
  margin: 0;
}

.experience-section .section-heading p,
.experience-section .section-intro {
  color: rgba(255, 255, 255, 0.72);
}

.iframe-shell {
  background: var(--white);
  border: 3px solid var(--black);
  box-shadow: var(--shadow-blue);
  color: var(--ink);
  overflow: hidden;
}

.iframe-toolbar {
  border-bottom: 3px solid var(--black);
  gap: 16px;
}

.iframe-toolbar > div {
  display: grid;
  gap: 4px;
}

.toolbar-button {
  box-shadow: 4px 4px 0 var(--blue);
  font-size: 10px;
  min-height: 38px;
  padding: 10px 12px;
}

.toolbar-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.iframe-stage {
  background: #0d0d12;
  height: min(78vh, 820px);
  min-height: 620px;
  position: relative;
}

.iframe-stage iframe {
  border: 0;
  display: block;
  height: 100%;
  opacity: 0;
  transition: opacity 260ms ease;
  width: 100%;
}

.iframe-stage iframe.is-loaded {
  opacity: 1;
}

.iframe-gate {
  align-items: center;
  background:
    linear-gradient(rgba(16, 16, 20, 0.82), rgba(16, 16, 20, 0.82)),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(255, 204, 1, 0.08) 18px 20px);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: absolute;
  transition: opacity 260ms ease, visibility 260ms ease;
  z-index: 4;
}

.iframe-gate.is-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.gate-card {
  background: var(--white);
  border: 3px solid var(--black);
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  max-width: 520px;
  padding: 32px;
}

.pixel-icon {
  align-items: center;
  background: var(--yellow);
  border: 3px solid var(--black);
  box-shadow: 4px 4px 0 var(--blue);
  display: inline-flex;
  font-family: Silkscreen, Inter, sans-serif;
  font-size: 16px;
  height: 52px;
  justify-content: center;
  line-height: 1;
  width: 52px;
}

.gate-card h3,
.product-card h3,
.status-panel h3 {
  font-family: Silkscreen, Inter, sans-serif;
  font-size: 22px;
  line-height: 1.15;
  margin: 0;
  text-transform: uppercase;
}

.gate-card p,
.product-card p {
  color: var(--muted);
  font-weight: 800;
  margin: 0;
}

.check-row {
  align-items: flex-start;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-weight: 800;
  gap: 12px;
}

.check-row input {
  accent-color: var(--blue);
  height: 22px;
  margin-top: 3px;
  width: 22px;
}

.gate-warning {
  color: #c51d1d;
  font-size: 14px;
  font-weight: 900;
  min-height: 20px;
}

.product-grid,
.status-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card,
.status-panel {
  background: var(--white);
  border: 3px solid var(--black);
  box-shadow: var(--shadow-gray);
  display: grid;
  gap: 18px;
  min-height: 300px;
  padding: 32px;
}

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

.status-panel {
  min-height: 0;
}

.status-panel ul {
  color: var(--muted);
  display: grid;
  font-weight: 800;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.safety-section {
  background: var(--yellow);
}

.safety-grid,
.legal-grid {
  align-items: start;
  display: grid;
  gap: 52px;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
}

.safety-section .section-heading p,
.legal-grid .section-heading p {
  color: rgba(27, 25, 34, 0.72);
}

.report-panel {
  background: var(--white);
  border: 3px solid var(--black);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.report-options {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 24px;
}

.report-option {
  background: var(--paper);
  border: 3px solid var(--black);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  min-height: 52px;
  padding: 12px;
  text-align: left;
}

.report-option.is-active,
.report-option:hover,
.report-option:focus-visible {
  background: var(--blue);
  color: var(--white);
  outline: none;
}

.safety-steps {
  border-top: 3px solid var(--black);
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 24px 24px 24px 44px;
}

.safety-steps li {
  font-weight: 900;
}

.legal-links {
  display: grid;
  gap: 12px;
}

.legal-links a {
  align-items: center;
  background: var(--white);
  border: 3px solid var(--black);
  box-shadow: 5px 5px 0 var(--gray);
  display: flex;
  font-family: Silkscreen, Inter, sans-serif;
  font-size: 14px;
  justify-content: space-between;
  min-height: 58px;
  padding: 14px 18px;
  text-transform: uppercase;
  transition: box-shadow 150ms ease, transform 150ms ease;
}

.legal-links a::after {
  content: ">";
}

.legal-links a:hover,
.legal-links a:focus-visible {
  box-shadow: 2px 2px 0 var(--gray);
  outline: none;
  transform: translate(3px, 3px);
}

.company-band {
  background: var(--yellow);
  border-bottom: 3px solid var(--black);
  border-top: 3px solid var(--black);
  padding: 34px 24px;
}

.company-inner {
  align-items: center;
  display: flex;
  gap: 18px;
}

.company-inner img {
  background: var(--white);
  border: 3px solid var(--black);
  height: 64px;
  image-rendering: pixelated;
  width: 64px;
}

.company-inner div {
  display: grid;
  gap: 2px;
}

.company-inner strong {
  font-family: Silkscreen, Inter, sans-serif;
  font-size: 18px;
  text-transform: uppercase;
}

.company-inner span {
  font-weight: 800;
}

.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 46px 24px;
}

.footer-inner {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.8fr) auto;
}

.footer-inner p,
.footer-inner a[href^="mailto"] {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes signal-pulse {
  0%,
  100% {
    opacity: 0.28;
    transform: scaleX(0.78);
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-8px);
  }

  75% {
    transform: translateX(8px);
  }
}

.shake {
  animation: shake 280ms ease-in-out;
}

@media (max-width: 980px) {
  .nav {
    align-items: start;
    flex-wrap: wrap;
  }

  .menu-button {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    order: 3;
    padding-top: 12px;
    width: 100%;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    background: var(--white);
    border: 2px solid var(--black);
    width: 100%;
  }

  .hero-grid,
  .split-heading,
  .safety-grid,
  .legal-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-frame {
    min-height: 380px;
  }

  .iframe-stage {
    height: 76vh;
    min-height: 560px;
  }

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

@media (max-width: 640px) {
  .nav {
    padding: 12px 18px;
  }

  .brand span {
    font-size: 18px;
  }

  .brand img {
    height: 36px;
    width: 36px;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 56px 18px 42px;
  }

  .hero-copy h1 {
    font-size: clamp(44px, 17vw, 64px);
  }

  .hero-actions {
    display: grid;
  }

  .hero-frame,
  .gate-card,
  .product-card,
  .status-panel {
    padding: 22px;
  }

  .mini-match {
    gap: 12px;
  }

  .avatar-tile {
    font-size: 20px;
    height: 78px;
    width: 78px;
  }

  .signal span {
    width: 24px;
  }

  .section {
    padding: 62px 18px;
  }

  .section-heading h2 {
    font-size: clamp(30px, 10vw, 44px);
  }

  .iframe-toolbar {
    align-items: start;
    flex-direction: column;
  }

  .iframe-stage {
    height: 74vh;
    min-height: 520px;
  }

  .report-options,
  .status-grid {
    grid-template-columns: 1fr;
  }

  .company-inner {
    align-items: start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
