:root {
  color-scheme: dark;
  --background: #000000;
  --text: #ffffff;
  --muted: #a0a0a0;
  --line: #292929;
  --line-strong: #5a5a5a;
  --gutter: clamp(1.25rem, 3.2vw, 3rem);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  min-width: 20rem;
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  min-height: 100%;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.page-shell {
  width: min(100%, 96rem);
  min-height: 100svh;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

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

.wordmark,
.page-name {
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.wordmark {
  text-decoration: none;
}

.wordmark:hover,
.wordmark:focus-visible,
.page-footer a:hover,
.page-footer a:focus-visible {
  color: var(--muted);
}

.hero {
  padding-block: clamp(1.75rem, 2.2vw, 2rem);
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(28rem, 1.04fr);
  gap: clamp(2rem, 3.5vw, 3.5rem);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.product-name {
  display: flex;
  margin-bottom: clamp(1.5rem, 2.6vw, 2.4rem);
  gap: 1rem;
  align-items: center;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.05em;
}

.product-name img {
  width: clamp(3.25rem, 5vw, 4.5rem);
  height: clamp(3.25rem, 5vw, 4.5rem);
  border-radius: 22%;
}

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

h1 {
  max-width: 13ch;
  font-size: clamp(3.3rem, 5.3vw, 5rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.072em;
}

.hero-lede {
  max-width: 38rem;
  margin-top: clamp(1.4rem, 2vw, 2rem);
  color: var(--muted);
  font-size: clamp(1.1rem, 1.55vw, 1.45rem);
  line-height: 1.43;
  letter-spacing: -0.025em;
}

.hero-actions {
  display: flex;
  margin-top: clamp(1.7rem, 2.8vw, 2.6rem);
  gap: 0.75rem;
  flex-wrap: wrap;
}

.button {
  min-height: 3.25rem;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  display: inline-flex;
  padding: 0.75rem 1rem;
  gap: 0.65rem;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button svg,
.button-icon {
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 auto;
}

.button-icon {
  display: block;
  object-fit: contain;
}

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

.button:hover {
  border-color: var(--text);
  background: var(--text);
  color: var(--background);
}

.button-primary:hover {
  border-color: #cfcfcf;
  background: #cfcfcf;
}

.product-frame {
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 0.3rem;
  background: #0a0a0a;
  overflow: hidden;
}

.product-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.explanation {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(15rem, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  padding-block: 2rem;
}

.explanation-intro h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.75rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 4.25rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.process-list li:first-child {
  border-top: 0;
}

.process-number {
  align-self: start;
  padding-top: 1.1rem;
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.process-list p {
  padding-block: 1rem;
  color: var(--text);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.015em;
}

.availability {
  border-bottom: 1px solid var(--line-strong);
  padding-block: 1.4rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  letter-spacing: -0.02em;
}

.page-footer {
  min-height: 3.75rem;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.page-footer a {
  font-size: 1rem;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.3em;
}

@media (max-width: 67rem) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 50rem;
  }

  .product-frame {
    width: min(100%, 64rem);
  }
}

@media (max-width: 47rem) {
  .site-header {
    min-height: 4rem;
  }

  .hero {
    gap: 2.25rem;
  }

  h1 {
    font-size: clamp(3.2rem, 15vw, 5.1rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .explanation {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .process-list li {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .process-number {
    font-size: 1.25rem;
  }
}

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

  .button {
    transition: none;
  }
}
