:root {
  color-scheme: light;
  --blue: #1100ff;
  --ink: #070707;
  --paper: #f7f7f2;
  --white: #ffffff;
  --muted: #6e6e68;
  --line: #d9d9d1;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  background:
    linear-gradient(90deg, rgba(17, 0, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(17, 0, 255, 0.06) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
}

img {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  user-select: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  transform: translateY(-180%);
  background: var(--ink);
  color: var(--white);
  min-height: 48px;
  padding: 0.95rem 1rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.hero {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: 1rem;
}

.brand-mark {
  width: clamp(150px, 42vw, 260px);
}

.brand-mark img {
  width: 100%;
  mix-blend-mode: multiply;
}

.location,
.domain,
.eyebrow,
.status-pill {
  font-size: clamp(0.75rem, 0.72rem + 0.15vw, 0.86rem);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.location {
  color: var(--blue);
  text-align: right;
  overflow-wrap: anywhere;
}

.hero {
  min-height: calc(100svh - 86px);
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 2rem;
  padding-block: clamp(2rem, 7vw, 5rem);
}

.hero-copy {
  max-width: 860px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 1.1rem;
  color: var(--blue);
}

h1,
p {
  margin: 0;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.45rem, 17vw, 11.5rem);
  line-height: 0.76;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 span {
  display: block;
}

h1 span:last-child {
  font-size: 0.54em;
  line-height: 0.9;
}

.lead {
  max-width: 660px;
  margin-top: clamp(1.25rem, 4vw, 2rem);
  font-size: clamp(1.08rem, 0.98rem + 0.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.18;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 1rem 1rem;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
}

.status-pill:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.domain {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.hero-art {
  position: relative;
  min-height: clamp(220px, 56vw, 520px);
  overflow: clip;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 4% 8% 20% 22%;
  border: 2px solid rgba(17, 0, 255, 0.22);
}

.hero-art img {
  position: absolute;
  right: 8%;
  bottom: 0;
  z-index: 1;
  width: min(66vw, 360px);
  max-height: 92%;
  object-fit: contain;
  object-position: right bottom;
  mix-blend-mode: multiply;
}

.shape {
  position: absolute;
  z-index: 2;
  display: block;
  background: var(--blue);
}

.shape-circle {
  width: clamp(40px, 11vw, 84px);
  aspect-ratio: 1;
  left: 26%;
  top: 23%;
  border-radius: 50%;
}

.shape-square {
  width: clamp(38px, 10vw, 76px);
  aspect-ratio: 1;
  left: 40%;
  top: 17%;
}

.shape-flag {
  width: clamp(50px, 13vw, 104px);
  height: clamp(24px, 6vw, 48px);
  left: 53%;
  top: 32%;
  clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 70%);
  transform: rotate(-4deg);
  transform-origin: 50% 50%;
}

@media (min-width: 760px) {
  .site-header,
  .hero {
    width: min(100% - 4rem, var(--max));
  }

  .hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
    align-items: center;
  }

  h1 {
    font-size: clamp(5rem, 10vw, 9.3rem);
  }

  .hero-art {
    min-height: min(55vw, 610px);
  }

  .hero-art img {
    right: 0;
    width: min(39vw, 500px);
  }

  .hero-art .shape {
    display: none;
  }

}

@media (prefers-reduced-motion: no-preference) {
  .shape-circle {
    animation: pulse 6s steps(2, end) infinite;
  }

  .shape-square {
    animation: nudge 8s steps(3, end) infinite;
  }

  .shape-flag {
    animation: flag-drift 7s steps(2, end) infinite;
  }
}

@keyframes pulse {
  50% {
    transform: scale(0.86);
  }
}

@keyframes nudge {
  50% {
    transform: translate(-14px, 10px);
  }
}

@keyframes flag-drift {
  50% {
    transform: translate(8px, -8px) rotate(-9deg);
  }
}
