.product-page {
  --product-muted: #575954;
  --product-accent: #874416;
  --product-tint: #eeefea;
  --product-gutter: 32px;
}

.focus-page {
  --product-accent: #345c53;
  --product-tint: #eaf0ed;
}

.product-wrap {
  width: min(1120px, calc(100% - 2 * var(--product-gutter)));
  margin-inline: auto;
}

.product-home {
  padding-block: 44px 56px;
}

.product-home-heading {
  text-align: center;
}

.product-home-heading h1 {
  font-size: 62px;
  line-height: 1.04;
}

.product-home-heading p {
  margin: 13px 0 0;
  color: var(--product-muted);
  text-wrap: balance;
}

.product-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 46px;
}

.product-overview-link {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  row-gap: 12px;
  text-decoration: none;
  border-radius: 8px;
}

.product-overview-link h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 36px;
}

.product-overview-link h2 span {
  color: var(--product-muted);
  font: 20px system-ui, sans-serif;
}

.product-overview-link:hover h2,
.product-overview-link:focus-visible h2 {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.product-overview-link p {
  margin: 0;
  color: var(--product-muted);
}

.product-overview-link strong { color: var(--ink); }
.product-hero {
  padding-block: 30px 34px;
  text-align: center;
}

.product-kicker {
  margin: 0 0 9px;
  color: var(--product-accent);
  font-size: 13px;
  font-weight: 740;
}

.product-hero h1 {
  font-size: 88px;
  line-height: 1;
}

.product-tagline {
  margin: 9px 0 0;
  font-size: 26px;
  font-weight: 680;
  line-height: 1.2;
  text-wrap: balance;
}

.product-intro {
  max-width: 56ch;
  margin: 10px auto 0;
  color: var(--product-muted);
  font-size: 17px;
  text-wrap: pretty;
}

.product-download { margin-top: 17px; }

.product-platform {
  margin: 12px 0 0;
  color: var(--product-muted);
  font-size: 13px;
  text-wrap: balance;
}

.product-platform span { margin-inline: 3px; }

.product-availability {
  margin: 5px 0 0;
  color: var(--product-muted);
  font-size: 13px;
}

.product-shot {
  position: relative;
  min-width: 0;
  margin: 0;
  border-radius: 8px;
}

.product-hero > .product-shot {
  width: min(100%, 1030px);
  margin: 22px auto 0;
}

.product-shot > a[data-image-zoom] {
  display: block;
  cursor: zoom-in;
}

.product-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
  outline: 1px solid #24282122;
  outline-offset: -1px;
  box-shadow: 0 8px 24px #22282112;
}

.product-shot figcaption,
.product-credit {
  margin: 14px 0 0;
  color: var(--product-muted);
  font-size: 13px;
}

.product-shot figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
}

.product-hero .product-shot figcaption,
.product-appearance figcaption { justify-content: center; }

.product-heading a,
.product-resources a {
  color: inherit;
  text-underline-offset: 3px;
}

.product-shot-detail { width: min(100%, 340px); justify-self: center; }
.product-guide-shot { max-width: 440px; margin-top: 20px; }

.product-handoff-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
}

.product-band {
  padding-block: 58px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 18px;
}

.product-workflow,
.product-promise { background: var(--product-tint); }

.product-file-art {
  display: block;
  width: min(100%, 480px);
  height: auto;
  justify-self: center;
}

.product-heading h2 {
  font-size: 42px;
  line-height: 1.08;
}

.product-heading h3,
.product-view h3 {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.15;
}

.product-heading p:not(.product-kicker),
.product-view-copy p {
  margin: 12px 0 0;
  max-width: 60ch;
  color: var(--product-muted);
}

.product-view-copy a {
  display: inline-block;
  margin-top: 14px;
  font-weight: 680;
  text-underline-offset: 3px;
}

.product-tablist {
  display: flex;
  width: fit-content;
  max-width: 100%;
  gap: 4px;
  padding: 4px;
  margin: 22px 0 20px;
  border: 1px solid #d2d6ce;
  border-radius: 8px;
  background: #f7f8f5;
}

.product-tablist button {
  min-height: 40px;
  padding: 5px 14px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 660;
  cursor: pointer;
}

.product-tablist button:hover { background: #e7e9e3; }
.product-tablist button[aria-selected="true"] { background: #282c27; color: #fff; }
.product-tablist[hidden],
.product-view[hidden] { display: none; }

.product-view,
.product-split {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.55fr);
  align-items: center;
  gap: 42px;
}

.product-view { margin-top: 22px; }
.product-split-reverse { grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.84fr); }
.product-split-reverse > .product-shot { grid-area: 1 / 1; }
.product-split + .product-split { margin-top: 40px; }

.product-sample {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.product-file-type { font-size: 13px; }

.product-resources {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 24px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}

.product-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 26px;
}

.product-feature-group {
  border-top: 2px solid var(--line);
  padding-top: 14px;
}

.product-feature-group h3 {
  margin: 0;
  color: var(--product-accent);
  font-size: 17px;
}

.product-feature-group ul {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding-inline-start: 20px;
  color: var(--product-muted);
  font-size: 15px;
  overflow-wrap: anywhere;
}

.product-quiet {
  --product-muted: #d0d2cc;
  --product-accent: #aecac0;
  color: #f7f7f2;
  background: #262a27;
}

.product-appearance { max-width: 760px; margin: 30px auto 0; }
.product-appearance figcaption { text-align: center; }
.product-shot-compact { max-width: 580px; }

@media (max-width: 760px) {
  .product-page { --product-gutter: 16px; }
  .product-home { padding-block: 30px 38px; }
  .product-home-heading h1 { font-size: 42px; }
  .product-overview { grid-template-columns: minmax(0, 1fr); gap: 34px; margin-top: 34px; }
  .product-overview-link { grid-row: auto; grid-template-rows: auto; }
  .product-overview-link h2 { font-size: 32px; }
  .product-hero { padding-block: 27px 26px; }
  .product-hero h1 { font-size: 63px; }
  .product-tagline { font-size: 22px; }
  .product-intro { font-size: 16px; }
  .product-band { padding-block: 36px; }
  .product-heading h2 { font-size: 34px; }
  .product-handoff-pair { grid-template-columns: minmax(0, 1fr); }
  .product-feature-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }

  .product-view,
  .product-split,
  .product-split-reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .product-split-reverse > .product-shot { grid-area: auto; }
  .product-tablist button { padding-inline: 9px; }
}

@media (max-width: 360px) {
  .product-home-heading h1 { font-size: 37px; }
  .product-hero h1 { font-size: 54px; }
  .product-heading h2 { font-size: 31px; }
}
