:root {
  --bg: #050506;
  --fg: #ededee;
  --muted: #9a9aa2;
  --faint: #80808a;
  --line: rgba(255, 255, 255, 0.09);
  --accent: #6d8cff;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --pad: clamp(1.25rem, 5vw, 3rem);
  --max: 66rem;
}

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

html {
  background: var(--bg);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
p,
ul {
  margin: 0;
}

.top,
main > section,
.foot {
  width: min(var(--max), 100% - 2 * var(--pad));
  margin-inline: auto;
}

.wordmark {
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
}

.label {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

/* Header */

.top {
  position: relative;
  z-index: 2;
  padding-block: 1.75rem;
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(78vh, 46rem);
  padding-block: clamp(4rem, 12vh, 8rem) clamp(5rem, 14vh, 9rem);
  isolation: isolate;
}

.glow {
  position: absolute;
  z-index: -1;
  inset: -12rem -50vw 0;
  pointer-events: none;
  background:
    radial-gradient(40rem 22rem at 50% 38%, rgba(109, 140, 255, 0.16), transparent 70%),
    radial-gradient(26rem 14rem at 62% 30%, rgba(160, 120, 255, 0.08), transparent 70%);
  animation: breathe 12s ease-in-out infinite alternate;
}

.glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 4rem 4rem;
  background-position: center;
  opacity: 0.45;
  -webkit-mask-image: radial-gradient(ellipse 50% 45% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 50% 45% at 50% 40%, #000 20%, transparent 75%);
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
  background: linear-gradient(180deg, #ffffff 30%, #a9a9b2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rise 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.lede {
  max-width: 34rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--muted);
  animation: rise 900ms 120ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

/* Statements */

.statements {
  display: grid;
  grid-template-columns: 1fr;
}

.statements article {
  padding-block: 2.25rem;
  border-top: 1px solid var(--line);
}

.statements h2 {
  margin-top: 1rem;
  font-size: clamp(1.25rem, 2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.statements p {
  margin-top: 0.75rem;
  max-width: 30rem;
  color: var(--muted);
}

/* Capabilities */

.capabilities {
  padding-block: clamp(5rem, 12vw, 9rem);
}

.capabilities ul {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.capabilities li {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-block: 1.125rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

.capabilities li::before {
  content: "";
  flex: none;
  width: 0.3125rem;
  height: 0.3125rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0.75rem rgba(109, 140, 255, 0.6);
}

/* Footer */

.foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 2rem 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

/* Wider screens */

@media (min-width: 40rem) {
  .capabilities ul {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2.5rem;
  }
}

@media (min-width: 60rem) {
  .statements {
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .statements article {
    padding: 2.75rem 2.5rem 3rem;
    border-top: 0;
  }

  .statements article + article {
    border-left: 1px solid var(--line);
  }

  .statements article:first-child {
    padding-left: 0;
  }

  .statements article:last-child {
    padding-right: 0;
  }

  .capabilities ul {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Motion */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes breathe {
  from {
    opacity: 0.8;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
