:root {
  color-scheme: light dark;
  --background: #fbfaf8;
  --label-1: #17171a;
  --label-2: #5c5c63;
  --label-3: #a3a3aa;
  --line: rgba(23, 23, 26, 0.1);
  --glow-1: rgba(196, 231, 246, 0.7);
  --glow-2: rgba(244, 183, 210, 0.45);
  --focus: #4d91e5;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #111113;
    --label-1: #f5f5f7;
    --label-2: #a8a8b0;
    --label-3: #5c5c63;
    --line: rgba(245, 245, 247, 0.12);
    --glow-1: rgba(64, 120, 150, 0.35);
    --glow-2: rgba(150, 70, 110, 0.3);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, var(--glow-1), transparent 28rem),
    radial-gradient(circle at 88% 0%, var(--glow-2), transparent 30rem),
    var(--background);
  background-repeat: no-repeat;
  color: var(--label-1);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 160ms ease;
}

a:hover {
  opacity: 0.62;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 4px;
}

.shell {
  width: min(100% - 40px, 760px);
  margin-inline: auto;
  padding: 28px 0 40px;
}

.header,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.nav {
  display: flex;
  gap: 20px;
  color: var(--label-2);
  font-size: 14px;
  font-weight: 600;
}

.nav a[aria-current="page"] {
  color: var(--label-1);
}

main {
  margin: 88px 0 96px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--label-2);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(46px, 8vw, 76px);
  font-weight: 720;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.intro {
  max-width: 650px;
  margin-top: 30px;
  color: var(--label-2);
  font-size: clamp(19px, 3vw, 23px);
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.content {
  margin-top: 72px;
}

section + section {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

h2 {
  margin-bottom: 14px;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

h3 {
  margin: 24px 0 8px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.content p {
  color: var(--label-2);
  font-size: 17px;
  line-height: 1.65;
}

.content p + p {
  margin-top: 14px;
}

.content strong {
  color: var(--label-1);
  font-weight: 650;
}

.content a,
.footer a {
  color: var(--label-1);
  text-decoration: underline;
  text-decoration-color: var(--label-3);
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.wide {
  width: min(100% - 40px, 1080px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.cta,
.share {
  padding: 14px 22px;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 650;
}

.cta {
  background: var(--label-1);
  color: var(--background);
}

.share {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--label-1);
  cursor: pointer;
  transition: opacity 160ms ease;
}

.share:hover {
  opacity: 0.62;
}

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

.hero h1 {
  font-size: clamp(52px, 10vw, 104px);
}

.gallery {
  display: flex;
  gap: 20px;
  margin: 72px -20px 0;
  padding: 0 20px 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.gallery img {
  flex: 0 0 auto;
  width: clamp(220px, 26vw, 280px);
  height: auto;
  border-radius: 22px;
  scroll-snap-align: start;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.35);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 112px;
}

.pillars p,
.starts .intro,
.spread .intro {
  color: var(--label-2);
  font-size: 17px;
  line-height: 1.65;
}

.pillars a {
  color: var(--label-1);
  text-decoration: underline;
  text-decoration-color: var(--label-3);
  text-underline-offset: 4px;
}

.starts,
.spread {
  margin-top: 112px;
  padding-top: 64px;
  border-top: 1px solid var(--line);
}

.starts h2,
.spread h2 {
  max-width: 720px;
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.starts .intro,
.spread .intro {
  margin-top: 16px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--label-1);
  font-size: 15px;
  font-weight: 600;
}

.footer {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--label-2);
  font-size: 13px;
}

@media (max-width: 760px) {
  .pillars {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 80px;
  }

  .starts,
  .spread {
    margin-top: 80px;
    padding-top: 48px;
  }
}

@media (max-width: 540px) {
  .shell {
    width: min(100% - 32px, 760px);
    padding-top: 20px;
  }

  .gallery {
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .nav {
    gap: 14px;
  }

  main {
    margin: 64px 0 72px;
  }

  .content {
    margin-top: 56px;
  }

  section + section {
    margin-top: 38px;
    padding-top: 38px;
  }

  .content p {
    font-size: 16px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  a,
  .share {
    transition: none;
  }
}
