:root {
  color-scheme: dark;
  --ink: #07000e;
  --ink-2: #11001f;
  --purple: #2a0060;
  --purple-2: #5b12c9;
  --purple-3: #b517ff;
  --acid: #c8ff00;
  --acid-2: #e5ff00;
  --white: #f8f7ff;
  --muted: #c8bce5;
  --line: #07000e;
  --shadow: 10px 10px 0 #07000e;
  --shadow-sm: 6px 6px 0 #07000e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
  padding: 12px clamp(16px, 4vw, 56px);
  border-bottom: 4px solid var(--line);
  background: rgba(32, 0, 76, 0.94);
}

.brand,
.nav-links,
.hero-actions,
.admin-actions,
.hero-metrics,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.brand img {
  width: 52px;
  height: 52px;
  border: 3px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  box-shadow: 4px 4px 0 var(--line);
}

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

.nav-links {
  gap: 10px;
  font-size: 14px;
  font-weight: 950;
}

.nav-links a {
  padding: 8px 12px;
  border: 3px solid transparent;
}

.nav-links a:hover {
  border-color: var(--line);
  background: var(--acid);
  color: var(--ink);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 4px solid var(--line);
  border-radius: 8px;
  font-weight: 950;
  white-space: nowrap;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.header-cta,
.button.primary {
  background: var(--acid);
  color: var(--ink);
}

.header-cta {
  min-height: 44px;
  padding: 0 18px;
}

.button {
  padding: 0 22px;
}

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

.header-cta:hover,
.button:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--line);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: 94vh;
  overflow: hidden;
  padding: 138px clamp(18px, 6vw, 72px) 76px;
  background:
    linear-gradient(135deg, rgba(7, 0, 14, 0.28) 0 25%, transparent 25% 50%, rgba(200, 255, 0, 0.26) 50% 75%, transparent 75%) 0 0 / 54px 54px,
    linear-gradient(145deg, #4c12a1 0%, #b517ff 50%, #00e5ff 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(760px, 100%);
}

.hero-visual {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(440px, 100%);
  transform: rotate(2deg);
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  z-index: -1;
  border: 4px solid var(--line);
  background: var(--acid);
  content: "";
  box-shadow: var(--shadow-sm);
}

.hero-visual::before {
  inset: 15% -8% auto 28%;
  height: 74px;
  transform: rotate(-11deg);
}

.hero-visual::after {
  inset: auto 40% 3% -10%;
  height: 96px;
  background: #ff4d8d;
  transform: rotate(13deg);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 5px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 4px solid var(--line);
  background: var(--acid);
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
  transform: rotate(-2deg);
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(46px, 6.6vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.055em;
  text-shadow: 5px 5px 0 var(--line);
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 30px;
  color: #f0e9ff;
  font-size: 20px;
  font-weight: 750;
  line-height: 1.5;
}

.hero-actions,
.admin-actions {
  flex-wrap: wrap;
  gap: 14px;
}

.hero-metrics {
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 0;
}

.hero-metrics div {
  min-width: 138px;
  padding: 16px 18px;
  border: 4px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.hero-metrics dt {
  color: var(--ink);
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
}

.hero-metrics dd {
  margin: 6px 0 0;
  color: #3b2459;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.section,
.process-section,
.admin-section {
  padding: 88px clamp(18px, 6vw, 72px);
}

.section {
  border-top: 4px solid var(--line);
  background:
    linear-gradient(135deg, rgba(181, 23, 255, 0.18) 0 25%, transparent 25% 50%, rgba(200, 255, 0, 0.12) 50% 75%, transparent 75%) 0 0 / 48px 48px,
    #190033;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.54fr) minmax(0, 1fr);
  gap: 34px;
  max-width: 1180px;
  margin: 0 auto 38px;
}

.section-heading h2,
.admin-copy h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-shadow: 4px 4px 0 var(--line);
}

.section-heading.narrow {
  display: block;
  max-width: 760px;
  margin-left: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.feature-card {
  min-height: 270px;
  padding: 28px;
  border: 4px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.feature-card:nth-child(2) {
  background: var(--acid);
}

.feature-card:nth-child(3) {
  background: #d8b4fe;
}

.feature-index {
  display: inline-flex;
  padding: 6px 10px;
  border: 3px solid var(--line);
  background: var(--ink);
  color: var(--acid);
  font-size: 13px;
  font-weight: 950;
}

.feature-card h3 {
  margin: 46px 0 16px;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.035em;
}

.feature-card p,
.admin-copy p,
.step p {
  color: inherit;
  font-weight: 750;
  line-height: 1.6;
}

.process-section {
  border-top: 4px solid var(--line);
  background: var(--purple-2);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
}

.step {
  min-height: 196px;
  padding: 24px;
  border: 4px solid var(--line);
  border-radius: 8px;
  background: #f5f3ff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.step:nth-child(even) {
  background: var(--acid);
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  border: 4px solid var(--line);
  background: var(--purple-3);
  color: var(--white);
  font-weight: 950;
}

.admin-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  border-top: 4px solid var(--line);
  background: var(--acid);
  color: var(--ink);
}

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

.admin-copy {
  max-width: 780px;
}

.admin-copy h2 {
  color: var(--ink);
  text-shadow: 4px 4px 0 rgba(255, 255, 255, 0.9);
}

.admin-copy p {
  max-width: 680px;
  margin: 20px 0 0;
}

.admin-section .button.secondary {
  background: var(--white);
  color: var(--ink);
}

.site-footer {
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 6vw, 72px);
  border-top: 4px solid var(--line);
  background: var(--ink);
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.site-footer span {
  color: var(--acid);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 90vh;
    padding-top: 116px;
  }

  .hero-visual {
    justify-self: start;
    width: min(280px, 76vw);
    order: -1;
  }

  .section-heading,
  .feature-grid,
  .steps,
  .admin-section {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .step {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 68px;
    padding: 9px 14px;
  }

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

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

  .header-cta {
    min-height: 40px;
    padding: 0 13px;
    font-size: 13px;
  }

  .hero {
    min-height: 92vh;
    padding: 96px 16px 48px;
  }

  .hero-visual {
    width: min(220px, 68vw);
  }

  h1 {
    font-size: 43px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .button {
    width: 100%;
    min-height: 50px;
  }

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

  .hero-metrics div {
    min-width: 0;
  }

  .section,
  .process-section,
  .admin-section {
    padding: 64px 16px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 16px;
  }
}
