/* Oath Discounts Desk — putty, woven blocks and an open reorder ledger. */
:root {
  --putty: #e7e0d2;
  --ink: #39332c;
  --olive: #606729;
  --oat: #f6f1e7;
  --taupe: #9e9381;
  --measure: 1184px;
  color-scheme: light;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--putty); color: var(--ink); font-family: "Open Sans", "Arial", sans-serif; font-size: 16px; line-height: 1.7; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
button, summary { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button, a, summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--olive); outline-offset: 5px; }
button:focus-visible { outline-color: var(--ink); }
.skip { position: fixed; left: 16px; top: -100px; padding: 10px 18px; background: var(--oat); z-index: 30; }
.skip:focus { top: 10px; }
.toolbar { position: relative; z-index: 10; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 20px; max-width: var(--measure); padding: 22px 0 20px; margin: 0 auto; border-bottom: 1px solid var(--taupe); }
.index { position: relative; justify-self: start; }
.index summary { display: flex; gap: 18px; align-items: center; list-style: none; cursor: pointer; min-height: 44px; padding: 4px 12px; border: 1px solid var(--ink); border-radius: 4px; }
.index summary::-webkit-details-marker { display: none; }
.index summary::after { content: "+"; font-size: 22px; line-height: 1; }
.index[open] summary::after { content: "−"; }
.index nav { position: absolute; top: calc(100% + 12px); left: 0; width: 280px; padding: 14px 0; border: 1px solid var(--ink); border-radius: 4px; background: var(--oat); box-shadow: 6px 8px 0 var(--taupe); }
.index ul { list-style: none; margin: 0; padding: 0; }
.index a { display: block; padding: 8px 20px; text-decoration: none; }
.index a:hover, .index a[aria-current="page"] { background: var(--putty); text-decoration: underline; }
.current-topic { text-align: center; font-family: "Alegreya", "Georgia", serif; font-variant-caps: small-caps; font-size: 20px; line-height: 1.2; }
.wordmark { justify-self: end; font-family: "Alegreya", "Georgia", serif; font-size: 25px; line-height: .95; letter-spacing: -.4px; }
.wordmark span { display: block; }
.wordmark span:last-child { font-size: 19px; margin-top: 5px; }
.page-opening { max-width: var(--measure); margin: auto; padding: 46px 0 30px; }
.eyebrow, .note-label, .pair-kicker { font-family: "Alegreya", "Georgia", serif; font-variant-caps: small-caps; font-size: 21px; line-height: 1.3; margin: 0 0 14px; color: var(--olive); }
h1, h2, h3 { font-family: "Alegreya", "Georgia", serif; font-weight: 500; }
h1 { font-size: clamp(38px, 5.2vw, 72px); line-height: 1.04; letter-spacing: -1.5px; max-width: 1000px; margin: 0 0 24px; }
.home-opening h1 { max-width: none; font-size: clamp(40px, 5.1vw, 70px); }
.home-opening { padding-top: 30px; padding-bottom: 20px; }
.opening-copy { max-width: 800px; margin: 0; font-size: 18px; line-height: 1.65; }
.ledger { max-width: var(--measure); margin: 0 auto; border-top: 3px solid var(--olive); }
.ledger-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) 96px; align-items: center; column-gap: 28px; padding: 23px 30px; background: var(--oat); }
.ledger-row.secondary { background: #dcd3c3; border-top: 1px solid var(--taupe); padding-top: 19px; padding-bottom: 19px; }
.offer-face { display: flex; gap: 30px; align-items: baseline; }
.code { display: inline-block; font-family: "Alegreya", "Georgia", serif; font-weight: 600; font-size: 54px; letter-spacing: -.8px; line-height: 1.05; user-select: text; -webkit-user-select: text; }
.secondary .code { font-size: 46px; }
.percent { font-family: "Alegreya", "Georgia", serif; font-size: 34px; line-height: 1; white-space: nowrap; color: var(--olive); }
.offer-terms { line-height: 1.5; }
.offer-terms p { margin: 0; }
.audience { font-weight: 600; }
.copy-control { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 8px 13px; background: var(--olive); color: var(--oat); border: 1px solid var(--olive); border-radius: 4px; cursor: pointer; }
.copy-control:hover { background: var(--ink); border-color: var(--ink); }
.copy-control:disabled { color: var(--ink); background: var(--putty); border-color: var(--taupe); cursor: default; }
.copy-control i { width: 16px; font-size: 17px; line-height: 1; }
.ledger-foot { display: grid; grid-template-columns: 1fr auto; gap: 8px 26px; padding: 12px 0 17px; font-size: 14px; line-height: 1.55; }
.ledger-foot p { margin: 0; }
.ledger-foot .record { text-align: right; }
.record span { display: block; }
.copy-status { min-height: 24px; margin: 0; font-size: 14px; }
.ledger-foot .copy-status { grid-column: 1 / -1; min-height: 0; }
.copy-status:empty { display: none; }
.hero-border { max-width: var(--measure); margin: 0 auto; }
.check-band { position: relative; height: 25px; background: repeating-linear-gradient(90deg, var(--olive) 0 56px, transparent 56px 84px); }
.check-band::after { content: ""; display: block; position: absolute; left: 0; right: 0; top: 13px; height: 12px; background: repeating-linear-gradient(90deg, transparent 0 28px, var(--olive) 28px 84px); }
figure { margin: 0; }
.domestic-photo { overflow: hidden; background: #dcd3c3; }
.domestic-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-border .domestic-photo { height: 112px; }
.hero-border .is-motif img { opacity: .42; object-position: center; }
.workbook-band { padding: 52px max(32px, calc((100vw - var(--measure)) / 2)); }
.workbook-band:nth-child(even) { background: var(--oat); }
.band-grid { display: grid; grid-template-columns: 31% minmax(0, 1fr); column-gap: 8%; align-items: start; }
.band-heading { margin: 0; font-size: 38px; line-height: 1.12; letter-spacing: -.4px; }
.band-copy { max-width: 710px; }
.band-copy p { margin: 0 0 18px; }
.band-copy p:last-child { margin-bottom: 0; }
.note-band { padding-top: 36px; padding-bottom: 40px; }
.note-band .band-grid { position: relative; }
.note-band .band-grid::before { content: ""; width: 84px; height: 22px; display: block; grid-column: 1 / -1; margin-bottom: 22px; background: linear-gradient(90deg, var(--olive) 0 56px, var(--taupe) 56px); box-shadow: 28px 10px 0 -2px var(--olive); }
.note-label { margin-bottom: 12px; }
.note-band .band-heading { font-size: 34px; }
.photo-inset { width: 100%; max-width: 340px; height: 195px; margin-top: 28px; border-radius: 0; }
.photo-inset.is-motif img { opacity: .26; }
.home-main .workbook-band:last-of-type { padding-bottom: 40px; }
.practical-link { max-width: var(--measure); margin: 0 auto; display: grid; grid-template-columns: 31% 1fr; gap: 8%; padding: 37px 0; border-top: 1px solid var(--taupe); }
.pair-kicker { margin: 2px 0 0; }
.paired-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: "Alegreya", "Georgia", serif; font-size: 29px; line-height: 1.2; text-decoration: none; }
.paired-link span { text-decoration: underline; text-underline-offset: 5px; }
.paired-link i { font-size: 24px; }
.site-footer { max-width: var(--measure); margin: auto; padding: 27px 0 34px; border-top: 1px solid var(--taupe); display: grid; grid-template-columns: 1fr auto; gap: 30px; font-size: 14px; line-height: 1.65; }
.site-footer p { margin: 0; max-width: 760px; }
.site-footer .copyright { white-space: nowrap; }
.single-offer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 28px; margin-top: 28px; max-width: 800px; border-left: 12px solid var(--olive); background: var(--oat); }
.single-offer .code { font-size: 43px; }
.single-offer p { margin: 5px 0 0; }
.single-offer + .copy-status { margin-top: 7px; }
.question-sheet { max-width: var(--measure); margin: 0 auto; padding-bottom: 36px; }
.question { display: grid; grid-template-columns: 39% minmax(0, 1fr); gap: 5%; padding: 25px 24px; }
.question:nth-child(odd) { background: var(--oat); }
.question h2 { margin: 0; font-size: 26px; line-height: 1.22; }
.question p { margin: 0; }
.not-found { min-height: 55vh; }
@media (min-width: 1600px) { .workbook-band { padding-left: calc((100vw - var(--measure)) / 2); padding-right: calc((100vw - var(--measure)) / 2); } }
@media (max-width: 1250px) {
  .toolbar, .page-opening, .ledger, .hero-border, .practical-link, .site-footer, .question-sheet { margin-left: 32px; margin-right: 32px; }
  .offer-face { gap: 20px; }
  .code { font-size: 48px; }
  .ledger-row { column-gap: 18px; }
}
@media (max-width: 800px) {
  .toolbar { padding-top: 16px; padding-bottom: 16px; gap: 12px; }
  .current-topic { font-size: 18px; }
  .wordmark { font-size: 22px; }
  .wordmark span:last-child { font-size: 17px; }
  .ledger-row { grid-template-columns: minmax(0, 1fr) 82px; padding: 18px 22px; gap: 9px 18px; }
  .offer-face { gap: 24px; }
  .offer-terms { grid-column: 1; grid-row: 2; }
  .copy-control { grid-column: 2; grid-row: 1 / span 2; }
  .band-grid { grid-template-columns: 1fr; gap: 22px; }
  .band-heading { max-width: 600px; }
  .band-copy { max-width: none; }
  .photo-inset { display: none; }
  .question { grid-template-columns: 1fr; gap: 15px; }
  .practical-link { grid-template-columns: 1fr; gap: 15px; }
  .site-footer { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 480px) {
  .toolbar, .page-opening, .ledger, .hero-border, .practical-link, .site-footer, .question-sheet { margin-left: 20px; margin-right: 20px; }
  .toolbar { grid-template-columns: 82px 1fr 98px; gap: 8px; padding-top: 12px; padding-bottom: 12px; }
  .index summary { padding-left: 10px; padding-right: 10px; gap: 12px; }
  .index nav { width: min(280px, calc(100vw - 40px)); }
  .current-topic { font-size: 16px; }
  .wordmark { font-size: 20px; letter-spacing: -.3px; }
  .wordmark span:last-child { font-size: 14px; margin-top: 3px; white-space: nowrap; }
  .page-opening { padding-top: 30px; padding-bottom: 26px; }
  .home-opening { padding-top: 23px; padding-bottom: 18px; }
  .eyebrow { font-size: 18px; margin-bottom: 10px; }
  h1 { font-size: 39px; letter-spacing: -.7px; margin-bottom: 18px; }
  .home-opening h1 { font-size: 40px; line-height: 1.03; }
  .opening-copy { font-size: 16px; line-height: 1.6; }
  .ledger-row, .ledger-row.secondary { grid-template-columns: minmax(0, 1fr) 68px; padding: 15px 14px; column-gap: 12px; }
  .offer-face { gap: 8px; flex-wrap: nowrap; }
  .code { font-size: 32px; letter-spacing: -.6px; }
  .secondary .code { font-size: 32px; }
  .percent { font-size: 24px; }
  .offer-terms { font-size: 16px; }
  .copy-control { padding: 7px 10px; gap: 6px; }
  .copy-control i { display: none; }
  .ledger-foot { display: block; padding-top: 10px; padding-bottom: 12px; font-size: 12px; }
  .ledger-foot .record { margin-top: 5px; text-align: left; }
  .record span { display: inline; }
  .record span + span::before { content: " "; }
  .hero-border .domestic-photo { height: 68px; }
  .check-band { height: 20px; }
  .check-band::after { top: 10px; height: 10px; }
  .workbook-band { padding: 34px 20px; }
  .band-grid { gap: 19px; }
  .band-heading { font-size: 31px; }
  .note-band .band-heading { font-size: 30px; }
  .note-label { font-size: 19px; }
  .paired-link { font-size: 26px; }
  .site-footer { padding-bottom: 26px; }
  .single-offer { padding: 15px; gap: 12px; border-left-width: 8px; }
  .single-offer .code { font-size: 36px; }
  .single-offer p { font-size: 16px; }
  .question { padding: 23px 16px; }
  .question h2 { font-size: 25px; }
}
@media (max-width: 360px) { .offer-face { flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
