@font-face {
  font-family: Newsreader;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/newsreader-regular-latin.woff2") format("woff2");
}

@font-face {
  font-family: Newsreader;
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/newsreader-italic-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --paper: #f6f5f1;
  --ink: #18161a;
  --muted: #625d60;
  --accent: #7a1f2b;
  --rule: #c9c5c3;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }
p { margin: 0; }
::selection { color: var(--paper); background: var(--accent); }

.page {
  width: min(100%, 1328px);
  min-height: 100svh;
  margin-inline: auto;
  padding: 58px 64px 30px;
  display: flex;
  flex-direction: column;
}

.masthead { flex-shrink: 0; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

main {
  width: 100%;
  margin-block: auto;
  padding-block: 40px 46px;
}

.introduction {
  position: relative;
  min-height: 500px;
  padding-top: 126px;
}
.introduction-copy { position: relative; z-index: 1; }
h1, .tagline, .product-name {
  font-family: Newsreader, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 400;
}
h1 {
  width: fit-content;
  margin: 0;
  font-size: clamp(90px, 10.7vw, 146px);
  line-height: .88;
  letter-spacing: -.055em;
}
.tagline {
  margin-top: 21px;
  font-size: clamp(36px, 3.9vw, 53px);
  font-style: italic;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.description {
  margin-top: 32px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}
.paper {
  position: absolute;
  top: -62px;
  right: -44px;
  width: 486px;
  height: auto;
  pointer-events: none;
}

.product {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 26px;
  min-height: 106px;
  padding-block: 22px;
  border-block: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease;
}
.product-name { font-size: 36px; letter-spacing: -.04em; }
.product-description { font-size: 14px; line-height: 1.6; color: var(--muted); }
.product-action {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
.product-action svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-width: 1.2;
  fill: none;
  transition: transform 180ms ease;
}
.product:hover { color: var(--accent); border-color: var(--accent); }
.product:hover .product-action svg { transform: translateX(5px); }
.product:focus-visible { outline: 2px solid var(--accent); outline-offset: 7px; }

footer { color: var(--muted); font-size: 10px; line-height: 1.6; letter-spacing: .02em; }

@media (max-width: 1050px) {
  .page { padding-inline: 44px; }
  .paper { right: -32px; width: 400px; top: -25px; }
  .introduction { min-height: 460px; padding-top: 145px; }
  h1 { font-size: clamp(90px, 11.7vw, 123px); }
  .product { grid-template-columns: 140px 1fr auto; gap: 20px; }
  .product-action { gap: 14px; }
}

@media (max-width: 760px) {
  .page { padding: 30px 26px 24px; }
  main { padding-block: 16px 40px; }
  .introduction { min-height: 0; padding-top: 236px; padding-bottom: 42px; }
  .paper { width: 270px; top: -25px; right: 0; }
  h1 { font-size: clamp(64px, 15.9vw, 110px); }
  .tagline { margin-top: 15px; font-size: clamp(29px, 7.2vw, 45px); }
  .description { margin-top: 26px; font-size: 13px; line-height: 1.75; }
  .product { grid-template-columns: 1fr auto; gap: 8px 20px; min-height: 140px; padding-block: 22px; }
  .product-name { font-size: 32px; }
  .product-description { grid-column: 1 / -1; grid-row: 2; font-size: 12px; }
  .product-action { font-size: 12px; gap: 12px; }
  .product-action svg { width: 21px; height: 21px; }
}

@media (max-width: 370px) {
  .page { padding-inline: 22px; }
  .introduction { padding-top: 218px; }
  .paper { width: 246px; right: -6px; }
  h1 { font-size: 64px; }
  .tagline { font-size: 28px; }
  .product { column-gap: 12px; }
  .product-action { gap: 8px; font-size: 11px; }
}

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