/* Terms page: warm paper, editorial ink, and restrained candy accents. */
body[data-helper-page] {
  background: #f7f2e8;
  color: #3b1714;
}
body[data-helper-page] > header[data-homepage-region] {
  position: relative;
  z-index: 1;
  background-color: #f7f2e8;
  min-height: 0;
}
body[data-helper-page] > main {
  display: block;
  width: 100%;
  padding: 0 0 clamp(64px, 8vw, 120px);
  background-color: #f7f2e8;
  color: #3b1714;
  font-family: "SF Compact", "Arial Narrow", Arial, sans-serif;
}
body[data-helper-page] > main * { box-sizing: border-box; }
.terms-intro {
  padding: clamp(56px, 8vw, 116px) clamp(24px, 7.3vw, 140px) clamp(40px, 5vw, 72px);
  border-top: 1px solid #e3d8c7;
  background-color: #f7f2e8;
}
.terms-wrap { width: min(100% - 48px, 1360px); margin-inline: auto; }
.terms-lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(260px, .58fr);
  align-items: end;
  gap: clamp(32px, 7vw, 112px);
}
.terms-lead-copy { max-width: 850px; }
.terms-kicker, .terms-overline, .terms-rail-kicker, .terms-toc-label {
  margin: 0 0 17px;
  color: #72534a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}
body[data-helper-page] > main .terms-intro h1 {
  max-width: 850px;
  min-width: 0;
  margin: 0;
  color: #3b1714;
  font-family: "Arial Black", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(48px, 8.5vw, 118px);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .94;
  white-space: normal;
}
.terms-deck {
  max-width: 690px;
  margin: 26px 0 0;
  color: #5d4039;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}
.terms-note {
  position: relative;
  padding: 29px 30px 27px;
  border: 1px solid #a9d8e4;
  border-radius: 5px 26px 5px 26px;
  background-color: #dff2f5;
  color: #3b1714;
}
.terms-note-mark { display: block; margin-bottom: 16px; color: #7d3224; font-size: 30px; line-height: 1; }
.terms-note p { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.55; }
.terms-note-caption { display: block; margin-top: 22px; color: #72534a; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.terms-toc {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 18px 0;
  border-top: 1px solid #d8c9b8;
  border-bottom: 1px solid #d8c9b8;
}
.terms-toc-label { margin: 0 8px 0 0; }
.terms-toc a {
  color: #57332b;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: 4px;
}
.terms-toc a:hover, .terms-toc a:focus-visible { color: #8f3929; text-decoration: underline; }
.terms-clause {
  display: grid;
  grid-template-columns: 90px minmax(0, 760px);
  gap: clamp(22px, 4vw, 56px);
  align-items: start;
  padding: clamp(38px, 6vw, 82px) max(24px, calc((100% - 1360px) / 2));
  border-bottom: 1px solid #ded1c0;
  background-color: #f7f2e8;
}
.terms-clause-tint { background-color: #f1e9dc; }
.terms-number {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border: 1px solid #3b1714;
  border-radius: 50%;
  color: #3b1714;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .04em;
}
.terms-clause-copy { max-width: 760px; }
.terms-overline { margin-bottom: 12px; }
.terms-clause h2, .terms-contact h2 {
  margin: 0 0 18px;
  color: #3b1714;
  font-family: "Arial Black", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(27px, 3.4vw, 43px);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1.08;
}
.terms-clause-copy > p:not(.terms-overline), .terms-contact > div > p:not(.terms-rail-kicker) {
  max-width: 710px;
  margin: 0;
  color: #5d4039;
  font-size: 17px;
  line-height: 1.75;
}
.terms-policy { background-color: #e5eef0; }
.terms-policy-link, .terms-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  margin-top: 24px;
  padding: 13px 21px;
  border: 2px solid #3b1714;
  border-radius: 999px;
  background-color: #3b1714;
  color: #fffaf0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}
.terms-policy-link:hover, .terms-policy-link:focus-visible, .terms-contact-link:hover, .terms-contact-link:focus-visible {
  background-color: #693024;
  outline: 3px solid #c9eaf3;
  outline-offset: 3px;
}
.terms-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
  gap: 12px 60px;
  align-items: center;
  margin-top: clamp(54px, 8vw, 110px);
  padding: clamp(30px, 5vw, 62px);
  border-radius: 5px 40px 5px 40px;
  background-color: #e8edb9;
}
.terms-contact h2 { max-width: 450px; margin-bottom: 0; }
.terms-contact-link { width: fit-content; margin-top: 19px; }
.terms-updated { grid-column: 1 / -1; margin: 22px 0 0; color: #72534a; font-size: 12px; line-height: 1.5; }
.terms-consent-pixel { position: absolute; width: 1px; height: 1px; }
@media (max-width: 760px) {
  .terms-wrap { width: min(100% - 40px, 1360px); }
  .terms-intro { padding: 48px 20px 36px; }
  .terms-lead-grid { grid-template-columns: 1fr; gap: 32px; }
  body[data-helper-page] > main .terms-intro h1 { font-size: clamp(48px, 13vw, 82px); }
  .terms-note { max-width: 520px; }
  .terms-toc { align-items: flex-start; gap: 12px 17px; padding-block: 16px; }
  .terms-toc-label { flex-basis: 100%; }
  .terms-toc a { font-size: 12px; }
  .terms-clause { grid-template-columns: 46px minmax(0, 1fr); gap: 17px; padding: 38px 20px; }
  .terms-number { width: 42px; height: 42px; font-size: 12px; }
  .terms-clause h2, .terms-contact h2 { font-size: clamp(27px, 8vw, 36px); }
  .terms-clause-copy > p:not(.terms-overline), .terms-contact > div > p:not(.terms-rail-kicker) { font-size: 16px; line-height: 1.65; }
  .terms-contact { grid-template-columns: 1fr; gap: 20px; margin-top: 54px; padding: 28px 22px; }
  .terms-updated { grid-column: auto; margin-top: 0; }
}
@media (max-width: 420px) {
  .terms-wrap { width: min(100% - 32px, 1360px); }
  .terms-intro { padding-inline: 16px; }
  .terms-clause { padding-inline: 16px; }
  .terms-policy-link, .terms-contact-link { width: 100%; justify-content: space-between; }
}
