:root {
  color-scheme: dark;
  --background: #444a47;
  --surface: #505753;
  --text: #f5faf7;
  --muted: #d0d9d4;
  --accent: #8ff0bd;
  --line: #69726d;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 85% 8%, rgba(143, 240, 189, 0.12), transparent 32rem),
    repeating-linear-gradient(
      118deg,
      rgba(255, 255, 255, 0.024) 0,
      rgba(255, 255, 255, 0.024) 1px,
      transparent 1px,
      transparent 4px
    ),
    var(--background);
  background-attachment: fixed;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header,
main,
footer {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.5rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 0.7rem;
  background: var(--accent);
  color: var(--background);
  font-size: 0.85rem;
  letter-spacing: -0.04em;
}

nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--accent);
}

.hero {
  max-width: 54rem;
  padding-block: clamp(5rem, 13vw, 10rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  text-wrap: balance;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.75rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.spinning-earth {
  display: inline-grid;
  width: 0.62em;
  aspect-ratio: 1;
  margin-left: 0.18em;
  place-items: center;
  border: 0.055em solid rgba(143, 240, 189, 0.7);
  border-radius: 50%;
  background: rgba(143, 240, 189, 0.08);
  box-shadow: 0 0 0.45em rgba(143, 240, 189, 0.12);
  color: var(--accent);
  font-family: "Apple Symbols", "Segoe UI Symbol", sans-serif;
  font-size: 0.42em;
  line-height: 1;
  vertical-align: 0.11em;
  animation: globe-spin 6s linear infinite;
}

@keyframes globe-spin {
  to {
    transform: rotate(1turn);
  }
}

.intro {
  max-width: 40rem;
  margin: 2rem 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

.button {
  display: inline-block;
  border-radius: 999px;
  background: var(--accent);
  color: var(--background);
  padding: 0.8rem 1.25rem;
  font-weight: 750;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.feature,
.about {
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.feature {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

.feature > div,
.about {
  max-width: 46rem;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.section-title {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.32em;
}

.wire-icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 0.9em;
  aspect-ratio: 1;
  place-items: center;
  color: var(--accent);
  filter: drop-shadow(0 0 0.18em rgba(143, 240, 189, 0.2));
}

.wire-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}

.wire-truck .truck-body {
  animation: truck-roll 3.5s ease-in-out infinite;
  transform-origin: center;
}

.wire-truck .article-stack {
  animation: articles-bob 3.5s ease-in-out infinite;
  transform-origin: 25px 25px;
}

.wire-truck .motion-line {
  animation: motion-pulse 3.5s ease-in-out infinite;
}

.wire-truck .motion-line-two {
  animation-delay: 0.18s;
}

@keyframes truck-roll {
  0%,
  16%,
  84%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}

@keyframes articles-bob {
  0%,
  20%,
  80%,
  100% {
    transform: translateY(0) rotate(0);
  }
  48% {
    transform: translateY(-3px) rotate(-2deg);
  }
  58% {
    transform: translateY(-1px) rotate(1.5deg);
  }
}

@keyframes motion-pulse {
  0%,
  25%,
  80%,
  100% {
    opacity: 0.2;
    transform: translateX(3px);
  }
  48% {
    opacity: 1;
    transform: translateX(-2px);
  }
}

.wire-headphones .headphone-band,
.wire-headphones .headphone-cup {
  transform-box: fill-box;
}

.wire-headphones .headphone-band {
  animation: band-settle 4s ease-in-out infinite;
  transform-origin: center bottom;
}

.wire-headphones .cup-left {
  animation: cup-left-settle 4s ease-in-out infinite;
  transform-origin: right center;
}

.wire-headphones .cup-right {
  animation: cup-right-settle 4s ease-in-out infinite;
  transform-origin: left center;
}

.wire-headphones .quiet-wave {
  animation: noise-fade 4s ease-in-out infinite;
}

@keyframes band-settle {
  0%,
  16%,
  84%,
  100% {
    transform: translateY(-4px) scale(1.055);
  }
  45%,
  68% {
    transform: translateY(0) scale(1);
  }
}

@keyframes cup-left-settle {
  0%,
  16%,
  84%,
  100% {
    transform: translateX(-4px);
  }
  45%,
  68% {
    transform: translateX(0);
  }
}

@keyframes cup-right-settle {
  0%,
  16%,
  84%,
  100% {
    transform: translateX(4px);
  }
  45%,
  68% {
    transform: translateX(0);
  }
}

@keyframes noise-fade {
  0%,
  18%,
  82%,
  100% {
    opacity: 0.75;
  }
  48%,
  66% {
    opacity: 0.08;
  }
}

.feature p:last-child,
.about p:last-child {
  color: var(--muted);
}

.status {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  padding: 0.45rem 0.8rem;
  font-size: 0.8rem;
  white-space: nowrap;
}

footer {
  border-top: 1px solid var(--line);
  padding-block: 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 38rem) {
  .site-header {
    align-items: flex-start;
  }

  nav {
    gap: 0.8rem;
    flex-direction: column;
  }

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

  .status {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button:hover,
  .button:focus-visible {
    transform: none;
  }

  .spinning-earth {
    animation: none;
  }

  .wire-icon *,
  .wire-icon svg {
    animation: none;
  }
}
