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

:root {
  color-scheme: dark;
  --bg: #0e0e0e;
  --surface: #131313;
  --text: #e5e2e1;
  --muted: #c4c5d9;
  --accent: #b8c3ff;
  --accent-strong: #2e5bff;
  --grid: rgba(229, 226, 225, 0.055);
  --max-width: 1920px;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page-shell {
  min-height: 100vh;
  padding: clamp(16px, 2vw, 24px);
  display: grid;
  place-items: center;
}

.hero {
  position: relative;
  isolation: isolate;
  width: min(100%, var(--max-width));
  min-height: calc(100vh - clamp(32px, 4vw, 48px));
  overflow: hidden;
  background: var(--surface);
  display: flex;
  align-items: center;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.content {
  width: 100%;
  min-height: 100%;
  padding: clamp(40px, 7vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 34%);
  gap: clamp(40px, 5vw, 96px);
  align-items: center;
}

.intro {
  max-width: 900px;
}

h1 {
  margin: 0;
  font-size: clamp(72px, 9vw, 150px);
  line-height: 0.9;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  font-weight: 800;
}

.eyebrow {
  margin: clamp(28px, 3vw, 44px) 0 0;
  color: var(--accent);
  font-size: clamp(12px, 1.05vw, 16px);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.summary {
  margin: clamp(28px, 3vw, 42px) 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.6;
}

.actions {
  margin-top: clamp(28px, 3vw, 40px);
}

.primary-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  background: var(--accent-strong);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  transition: transform 160ms ease, box-shadow 160ms ease;
  box-shadow: 7px 7px 0 rgba(46, 91, 255, 0.18);
}

.primary-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 9px 9px 0 rgba(46, 91, 255, 0.22);
}

.primary-cta:focus-visible,
.secondary-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.secondary-links {
  display: flex;
  gap: 32px;
  margin-top: clamp(56px, 6vw, 84px);
}

.secondary-links a {
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.11em;
  opacity: 0.82;
  transition: opacity 160ms ease, color 160ms ease;
}

.secondary-links a:hover {
  color: var(--accent);
  opacity: 1;
}

.art {
  display: grid;
  place-items: center;
  min-height: 360px;
}

.art svg {
  width: min(100%, 380px);
  aspect-ratio: 1;
  overflow: visible;
  transform: rotate(18deg);
  opacity: 0.46;
  color: var(--accent-strong);
  animation: drift 18s ease-in-out infinite alternate;
}

.art rect,
.art circle,
.art line {
  fill: none;
  stroke: currentColor;
  stroke-width: 0.55;
  vector-effect: non-scaling-stroke;
}

.art circle {
  stroke-dasharray: 2 4;
}

@keyframes drift {
  from {
    transform: rotate(14deg) translateY(-4px);
  }
  to {
    transform: rotate(22deg) translateY(8px);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .content {
    grid-template-columns: 1fr;
    padding: 48px 28px 56px;
  }

  .intro {
    max-width: 720px;
  }

  .art {
    order: -1;
    min-height: 180px;
    justify-items: end;
    margin-bottom: -12px;
  }

  .art svg {
    width: min(54vw, 260px);
  }

  h1 {
    font-size: clamp(66px, 18vw, 112px);
  }

  .summary {
    max-width: 34rem;
  }
}

@media (max-width: 560px) {
  .page-shell {
    padding: 0;
  }

  .hero {
    min-height: 100vh;
  }

  .content {
    padding: 40px 22px 44px;
  }

  .art {
    min-height: 130px;
    margin-bottom: 8px;
  }

  .art svg {
    width: min(52vw, 210px);
  }

  .eyebrow {
    letter-spacing: 0.09em;
  }

  .summary {
    font-size: 17px;
    line-height: 1.55;
  }

  .primary-cta {
    width: 100%;
  }

  .secondary-links {
    margin-top: 46px;
  }
}

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

  .primary-cta,
  .secondary-links a {
    transition: none;
  }
}
