:root {
  color-scheme: dark;
  --background: #0b0c0b;
  --surface: #121411;
  --text: #f3f4ed;
  --muted: #a3a79c;
  --line: #2a2d28;
  --accent: #e4ec7d;
  --accent-ink: #17190d;
  --max-width: 1540px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 78% 10%, rgba(228, 236, 125, 0.055), transparent 28rem),
    var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 13px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-80px);
}

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

.site-header,
main,
footer {
  width: min(calc(100% - 64px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.015em;
  text-decoration: none;
}

.wordmark img {
  border-radius: 7px;
}

.text-link,
.screenshot-link,
.back-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 540;
  text-decoration: none;
  transition: color 160ms ease;
}

.text-link:hover,
.screenshot-link:hover,
.back-link:hover {
  color: var(--accent);
}

.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(440px, 0.8fr) minmax(580px, 1.2fr);
  gap: clamp(48px, 7vw, 126px);
  align-items: center;
  padding: clamp(70px, 9vh, 132px) 0 clamp(84px, 11vh, 160px);
}

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

.eyebrow {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(58px, 6.6vw, 108px);
  font-weight: 590;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

h1 span {
  display: block;
}

h1 small {
  display: block;
  max-width: 670px;
  margin-top: 25px;
  color: var(--muted);
  font-size: clamp(25px, 2.4vw, 40px);
  font-weight: 440;
  letter-spacing: -0.038em;
  line-height: 1.08;
}

.feature-list {
  margin: clamp(42px, 6vh, 70px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.feature-list > li {
  position: relative;
  padding: 16px 0 16px 22px;
  border-bottom: 1px solid var(--line);
  color: #d9dbd3;
  font-size: 15px;
  line-height: 1.48;
}

.feature-list > li::before {
  position: absolute;
  top: 23px;
  left: 1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.feature-list a {
  color: var(--text);
  text-decoration-color: #666b59;
  text-underline-offset: 3px;
}

.feature-list ul {
  display: grid;
  gap: 7px;
  margin: 14px 0 1px;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
}

.feature-list ul li::before {
  margin-right: 9px;
  color: #60645b;
  content: "—";
}

code {
  color: #d9dbd3;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.86em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.button-primary:hover {
  background: #f0f6a0;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.025);
}

.button-secondary:hover {
  border-color: #4f534a;
  background: rgba(255, 255, 255, 0.055);
}

.screenshot-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 19px;
}

.product-shot {
  position: relative;
  display: block;
  justify-self: end;
  width: min(100%, 980px);
  text-decoration: none;
  transition: transform 300ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.product-shot::after {
  position: absolute;
  z-index: -1;
  right: 4%;
  bottom: -8%;
  left: 4%;
  height: 28%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.9);
  filter: blur(48px);
  content: "";
}

.product-shot:hover {
  transform: translateY(-6px);
}

.product-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #353832;
  border-radius: 13px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.56), 0 8px 20px rgba(0, 0, 0, 0.34);
}

footer {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

footer span:first-child {
  color: var(--text);
  font-weight: 650;
}

.gallery-main {
  padding: clamp(68px, 10vw, 140px) 0 120px;
}

.gallery-intro {
  max-width: 900px;
  margin-bottom: clamp(64px, 8vw, 120px);
}

.gallery-intro h1 {
  margin-top: 30px;
  font-size: clamp(50px, 8vw, 110px);
}

.gallery-intro p {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.42;
}

.gallery {
  display: grid;
  gap: clamp(76px, 10vw, 150px);
}

figure {
  margin: 0;
}

figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #353832;
  border-radius: 13px;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.52);
}

figcaption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 13px;
}

figcaption strong {
  color: var(--text);
  font-weight: 580;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal:nth-child(2) {
  transition-delay: 70ms;
}

.hero .reveal:nth-child(3) {
  transition-delay: 130ms;
}

.hero .reveal:nth-child(4) {
  transition-delay: 190ms;
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 72px;
  }

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

  .product-shot {
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 680px) {
  .site-header,
  main,
  footer {
    width: min(calc(100% - 36px), var(--max-width));
  }

  .site-header {
    min-height: 72px;
  }

  .hero {
    min-height: auto;
    padding: 64px 0 90px;
  }

  h1 {
    font-size: clamp(52px, 17vw, 76px);
  }

  h1 small {
    font-size: 26px;
  }

  .feature-list > li {
    font-size: 14px;
  }

  .button {
    flex: 1 1 100%;
  }

  footer {
    padding: 28px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  figcaption {
    flex-direction: column;
    gap: 6px;
  }
}

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

  .reveal,
  .reveal.is-visible,
  .button,
  .product-shot {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
