:root {
  --purchase-sand: #f4efe6;
  --purchase-paper: #faf7f1;
  --purchase-earth: #40372e;
  --purchase-earth-soft: rgba(64, 55, 46, 0.72);
  --purchase-rule: rgba(64, 55, 46, 0.14);
}

.purchase-page {
  margin: 0;
  background: var(--purchase-sand);
  color: var(--purchase-earth);
  font-family: Georgia, "Times New Roman", serif;
}

.purchase-page * { box-sizing: border-box; }
.purchase-page a { color: inherit; }

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

.purchase-header {
  padding: 28px 0 22px;
  border-bottom: 1px solid var(--purchase-rule);
}

.purchase-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 28px;
  color: var(--purchase-earth-soft);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

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

.purchase-nav a:hover,
.purchase-nav a:focus-visible,
.purchase-reading a:hover,
.purchase-reading a:focus-visible,
.purchase-return a:hover,
.purchase-return a:focus-visible {
  color: var(--purchase-earth);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.purchase-nav a:focus-visible,
.purchase-reading a:focus-visible,
.purchase-return a:focus-visible {
  outline: 2px solid var(--purchase-earth);
  outline-offset: 4px;
}

.purchase-main { padding: 76px 0 96px; }

.purchase-reading {
  width: min(760px, 100%);
  margin-inline: auto;
}

.purchase-section {
  padding: 54px 0 0;
  border-top: 1px solid var(--purchase-rule);
}

.purchase-section + .purchase-section { margin-top: 58px; }

.purchase-intro {
  padding-top: 0;
  border-top: 0;
}

.purchase-section h1,
.purchase-section h2 {
  margin: 0;
  color: var(--purchase-earth);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.purchase-section h1 {
  max-width: 720px;
  font-size: clamp(48px, 7vw, 82px);
  line-height: 0.98;
}

.purchase-section h2 {
  font-size: clamp(31px, 4vw, 43px);
  line-height: 1.1;
}

.purchase-section p {
  margin: 24px 0 0;
  color: var(--purchase-earth-soft);
  font-size: 20px;
  line-height: 1.72;
}

.purchase-intro p:first-of-type { margin-top: 38px; }

.purchase-reading a {
  color: var(--purchase-earth);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.purchase-rights {
  padding: 22px 24px;
  border-left: 2px solid rgba(64, 55, 46, 0.28);
  background: rgba(250, 247, 241, 0.58);
  color: var(--purchase-earth) !important;
}

.purchase-return {
  width: min(760px, 100%);
  margin: 68px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--purchase-rule);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.purchase-return a { color: var(--purchase-earth-soft); }

.purchase-footer {
  padding: 26px 0 38px;
  border-top: 1px solid var(--purchase-rule);
  color: rgba(64, 55, 46, 0.5);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}

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

  .purchase-header { padding: 18px 0 14px; }
  .purchase-nav { gap: 8px 16px; font-size: 12px; }
  .purchase-main { padding: 48px 0 72px; }
  .purchase-section h1 { font-size: clamp(42px, 14vw, 58px); }
  .purchase-section h2 { font-size: 30px; }
  .purchase-section p { font-size: 18px; line-height: 1.68; }
  .purchase-intro p:first-of-type { margin-top: 30px; }
  .purchase-section { padding-top: 42px; }
  .purchase-section + .purchase-section { margin-top: 46px; }
  .purchase-rights { padding: 18px; }
  .purchase-return { margin-top: 54px; }
}

@media (max-width: 340px) {
  .purchase-header,
  .purchase-main,
  .purchase-footer { width: calc(100% - 28px); }
  .purchase-nav { gap: 7px 12px; }
  .purchase-section h1 { font-size: 40px; }
  .purchase-section h2 { font-size: 28px; }
}
