:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #07100f;
  color: #edf4ef;
  --muted: #a8b9b2;
  --line: rgba(237, 244, 239, 0.14);
  --surface: rgba(13, 28, 25, 0.72);
  --green: #5bc58e;
  --blue: #5aa6d8;
  --amber: #dda65f;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background:
    radial-gradient(circle at 50% 34%, rgba(56, 116, 91, 0.18), transparent 34rem),
    linear-gradient(180deg, #07100f 0%, #091512 100%);
}

.shell {
  width: min(76rem, calc(100% - 2rem));
  min-height: 100vh;
  margin: 0 auto;
  padding: 1.25rem 0 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 1rem;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--green);
  box-shadow: 0 0 0 0.28rem rgba(91, 197, 142, 0.12);
}

.intro {
  max-width: 52rem;
}

.kicker {
  margin: 0 0 0.8rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 13ch;
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.lede {
  max-width: 46rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.globe-stage {
  position: relative;
  min-height: 26rem;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background:
    radial-gradient(circle at center, rgba(91, 197, 142, 0.08), transparent 48%),
    var(--surface);
}

.globe {
  position: relative;
  width: min(58vw, 22rem);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid rgba(237, 244, 239, 0.32);
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.25), transparent 24%),
    radial-gradient(circle at 64% 62%, rgba(91, 197, 142, 0.45), transparent 24%),
    linear-gradient(145deg, #183b42, #102d32 55%, #0b1f22);
  box-shadow:
    inset -2rem -2.5rem 4rem rgba(0, 0, 0, 0.42),
    0 2rem 5rem rgba(0, 0, 0, 0.36);
}

.globe::before,
.globe::after {
  content: "";
  position: absolute;
  inset: 14% 12%;
  border: 1px solid rgba(237, 244, 239, 0.12);
  border-radius: 50%;
}

.globe::after {
  inset: 8% 42%;
}

.field {
  position: absolute;
  display: block;
  border-radius: 55% 45% 60% 40%;
  opacity: 0.82;
}

.field-one {
  width: 42%;
  height: 24%;
  left: 14%;
  top: 24%;
  background: var(--green);
  transform: rotate(-18deg);
}

.field-two {
  width: 30%;
  height: 38%;
  right: 12%;
  top: 36%;
  background: var(--blue);
  transform: rotate(17deg);
}

.field-three {
  width: 24%;
  height: 17%;
  left: 30%;
  bottom: 15%;
  background: var(--amber);
  transform: rotate(8deg);
}

.digital-sphere {
  position: absolute;
  width: min(78vw, 31rem);
  aspect-ratio: 1;
  border: 1px solid rgba(90, 166, 216, 0.22);
  border-radius: 50%;
  color: rgba(159, 210, 238, 0.68);
}

.digital-sphere span {
  position: absolute;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(0.75rem, 2vw, 1rem);
}

.digital-sphere span:nth-child(1) { left: 8%; top: 26%; }
.digital-sphere span:nth-child(2) { left: 21%; top: 6%; }
.digital-sphere span:nth-child(3) { right: 24%; top: 4%; }
.digital-sphere span:nth-child(4) { right: 7%; top: 28%; }
.digital-sphere span:nth-child(5) { right: 5%; bottom: 27%; }
.digital-sphere span:nth-child(6) { right: 28%; bottom: 5%; }
.digital-sphere span:nth-child(7) { left: 25%; bottom: 4%; }
.digital-sphere span:nth-child(8) { left: 5%; bottom: 29%; }

figcaption {
  position: absolute;
  inset: auto 1rem 1rem;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.status {
  max-width: 48rem;
  padding: 1.4rem;
  border-left: 0.22rem solid var(--green);
  background: rgba(13, 28, 25, 0.52);
}

.status h2 {
  margin-bottom: 0.55rem;
  font-size: 1.2rem;
}

.status p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

@media (min-width: 58rem) {
  .shell {
    grid-template-columns: minmax(18rem, 0.8fr) minmax(28rem, 1.2fr);
    align-items: center;
  }

  .brand {
    grid-column: 1 / -1;
  }

  .intro,
  .status {
    grid-column: 1;
  }

  .globe-stage {
    grid-column: 2;
    grid-row: 2 / span 2;
    min-height: 38rem;
  }

  .catalog {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}

.catalog {
  display: grid;
  gap: 1.35rem;
  padding-top: 0.5rem;
}

.catalog-heading {
  max-width: 48rem;
}

.catalog-heading h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.035em;
}

.catalog-heading > p:last-child,
.catalog-meta {
  color: var(--muted);
  line-height: 1.65;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 0.9rem;
}

.catalog-card {
  min-height: 15rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: rgba(13, 28, 25, 0.62);
}

.catalog-kind {
  margin-bottom: 0.75rem;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
}

.catalog-card > p:not(.catalog-kind) {
  color: var(--muted);
  line-height: 1.55;
}

.catalog-card a,
.catalog-meta a {
  color: #bce8cf;
  text-underline-offset: 0.2em;
}

.catalog-card a {
  width: fit-content;
  margin-top: auto;
  font-weight: 700;
}

.catalog-meta {
  margin: 0;
  font-size: 0.86rem;
}
