@font-face {
  font-family: "Source Han Sans";
  src: url("assets/source-han-sans-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Source Han Sans";
  src: url("assets/source-han-sans-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f4f4f1;
  --ink: #11110f;
  --muted: #696964;
  --line: #292925;
  --page-pad: clamp(20px, 2.1vw, 34px);
  --section-space: clamp(112px, 15vw, 230px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Han Sans", "Helvetica Neue", Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 12px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
}

.skip-link:focus {
  top: 12px;
}

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

.site-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding: 26px var(--page-pad) 0;
  font-size: 14px;
  line-height: 1.3;
}

.site-nav a {
  text-decoration: none;
}

.wordmark {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-feedback {
  justify-self: end;
  text-decoration: underline !important;
}

.intro {
  display: grid;
  min-height: 460px;
  place-content: center;
  gap: 28px;
  padding: 80px var(--page-pad) 110px;
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.13em;
}

h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(48px, 5.2vw, 64px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.gallery-figure {
  width: min(88vw, 1260px);
  margin: 0 auto;
}

.gallery-figure--narrow {
  width: min(72vw, 980px);
}

.gallery-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-color: var(--muted) transparent;
  scrollbar-width: thin;
}

.gallery-scroll img {
  width: auto;
  max-width: none;
  height: clamp(360px, 42vw, 540px);
  object-fit: contain;
}

.gallery-scroll::-webkit-scrollbar {
  height: 5px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
  background: var(--muted);
}

.gallery-scroll:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 6px;
}

.gallery-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  color: var(--muted);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.story {
  padding: var(--section-space) var(--page-pad);
}

.story p {
  width: min(58vw, 680px);
  margin-inline: auto;
  margin-block: 0;
  font-size: clamp(18px, 1.3vw, 20px);
  line-height: 1.8;
  letter-spacing: -0.015em;
}

.privacy-statement {
  padding: clamp(120px, 16vw, 240px) var(--page-pad);
  text-align: center;
}

.privacy-statement h2 {
  max-width: 820px;
  margin-inline: auto;
  margin-block: 0;
  font-size: clamp(38px, 4.4vw, 58px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.045em;
}

.site-information {
  padding: 0 var(--page-pad) 18px;
}

.information-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, .7fr) minmax(0, .75fr);
  gap: clamp(34px, 6vw, 110px);
  min-height: 330px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.product-facts {
  margin: 0;
}

.product-facts div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
}

.product-facts dt,
.product-facts dd {
  margin: 0;
}

.product-facts dt {
  font-weight: 700;
}

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

.legal-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product-facts,
.feature-index,
.legal-links {
  font-size: 14px;
  line-height: 1.75;
}

.footer-mark {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  line-height: 1.45;
}

.footer-mark > :last-child {
  justify-self: end;
  text-align: right;
}

.app-registration {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  text-align: center;
}

a:focus-visible {
  border-radius: 1px;
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}

@media (max-width: 720px) {
  .site-header {
    min-height: 84px;
  }

  .site-nav {
    grid-template-columns: 1fr 1fr;
    padding-top: 20px;
  }

  .nav-intro {
    display: none;
  }

  .intro {
    min-height: 380px;
    padding-block: 60px 86px;
  }

  h1 {
    font-size: clamp(42px, 12vw, 54px);
  }

  .gallery-figure,
  .gallery-figure--narrow {
    width: min(92vw, 680px);
  }

  .gallery-scroll img {
    height: clamp(260px, 72vw, 390px);
  }

  .gallery-figure figcaption {
    font-size: 12px;
  }

  .story {
    padding-block: clamp(96px, 28vw, 142px);
  }

  .story p {
    width: 100%;
    max-width: none;
    font-size: clamp(18px, 4.8vw, 20px);
    line-height: 1.7;
  }

  .privacy-statement h2 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .information-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-bottom: 72px;
  }

  .product-facts div {
    grid-template-columns: 92px 1fr;
  }

  .footer-mark {
    grid-template-columns: 1fr;
    gap: 10px;
    font-size: 12px;
  }

  .footer-mark > :last-child {
    justify-self: start;
    text-align: left;
  }
}

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