*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.5;
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

a {
  color: inherit;
}

/* ── Dark hero with scanline effect ── */

.hero {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 64px 24px 56px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  animation: scanline-drift 10s linear infinite;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  animation: hero-grid-drift 25s linear infinite;
  z-index: 0;
}

@keyframes hero-grid-drift {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(60px);
  }
}

@keyframes scanline-drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(30px);
  }
}

.logo {
  max-width: 480px;
  width: 100%;
  height: auto;
  filter: invert(1);
  position: relative;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.9;
}

.eyebrow {
  margin: 20px 0 8px;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  text-transform: uppercase;
  opacity: 0.6;
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 12px 0 0;
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}

.lede {
  margin: 16px auto 0;
  max-width: 600px;
  font-size: 1rem;
  opacity: 0.85;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ── Subtle background grid (Kraftwerk-inspired) ── */

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
  animation: grid-drift 20s linear infinite;
  opacity: 1;
}

@keyframes grid-drift {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(40px);
  }
}

/* ── Pillars ── */

.content {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px 96px;
  position: relative;
  z-index: 1;
}

.pillars {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 0 0 48px;
}

.pillar {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 24px;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
}

.pillar:hover {
  transform: translateY(-2px);
  border-color: #111;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pillar:focus-within {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.pillar h2 {
  margin: 0 0 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pillar p {
  margin: 0;
  font-size: 0.95rem;
  color: #444;
}

/* ── CTA ── */

.cta {
  text-align: center;
}

.button {
  display: inline-block;
  padding: 14px 28px;
  border: 2px solid #111;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  position: relative;
}

.button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid #111;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: scale(1.05);
}

.button:focus {
  outline: 2px solid #111;
  outline-offset: 4px;
}

.button:hover {
  background: #fff;
  color: #111;
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

/* ── Responsive ── */

@media (max-width: 640px) {
  .hero {
    padding: 48px 20px 40px;
  }

  .hero h1 {
    font-size: 1.2rem;
  }

  .content {
    padding: 36px 20px 72px;
  }
}
