/* Lorenzo Bellini — the study at night (dark walnut) and the reading table (linen) where the books are laid out.
   One fixed look: dark study for the story, linen for the purchase sections so the dark covers stand out. */
:root {
  --walnut: #1f1712;      /* page ground, study at night */
  --walnut-2: #2a1f18;    /* raised dark surface */
  --linen: #eee5d6;       /* reading-table ground for the books */
  --ink: #2a1d15;         /* text on linen */
  --cream: #f3e9d9;       /* text on walnut */
  --muted-d: #bba995;     /* secondary text on walnut */
  --muted-l: #6b5747;     /* secondary text on linen */
  --brass: #c9a15a;       /* accent, taken from the cover gold */
  --brass-hi: #dbb877;
  --brass-ink: #8a6427;   /* brass for text on linen */
  --rule-d: rgba(201, 161, 90, .32);
  --rule-l: rgba(42, 29, 21, .16);

  --display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--walnut);
  color: var(--cream);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: -.005em; }
p { margin: 0; text-wrap: pretty; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 2px solid var(--brass-hi); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 0; z-index: 50; background: var(--brass); color: var(--walnut); padding: .6rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 3.25rem; padding: .85rem 1.6rem;
  font: 600 .8125rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; text-align: center;
  background: var(--brass); color: var(--walnut);
  border: 1px solid var(--brass); border-radius: 2px;
  transition: background-color .2s ease, border-color .2s ease;
}
.btn:hover { background: var(--brass-hi); border-color: var(--brass-hi); }
.btn--ghost { background: transparent; color: var(--cream); border-color: var(--rule-d); }
.btn--ghost:hover { background: transparent; border-color: var(--brass); color: var(--brass-hi); }
.btn--block { display: flex; width: 100%; }

/* ---------- Offer bar + header ---------- */
.offer-bar { background: var(--brass); color: var(--walnut); font-size: .875rem; }
.offer-bar .wrap { display: flex; justify-content: center; align-items: center; gap: .4rem 1.25rem; flex-wrap: wrap; padding-block: .55rem; text-align: center; }
.offer-bar a { font-weight: 600; text-underline-offset: 3px; }

.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; }
.wordmark { font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: .3em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 2rem; font-size: .9375rem; }
.site-nav a:not(.btn) { text-decoration: none; color: var(--muted-d); }
.site-nav a:not(.btn):hover { color: var(--cream); }
.site-nav .btn { min-height: 2.75rem; padding: .6rem 1.15rem; }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: stretch; padding-left: max(var(--gutter-l), calc((100% - var(--wrap)) / 2 + 20px)); }
.hero__copy { padding-block: clamp(3rem, 8vw, 6.5rem); padding-right: clamp(1.5rem, 4vw, 4rem); display: flex; flex-direction: column; justify-content: center; gap: 1.75rem; min-width: 0; }
.hero__method { font-family: var(--display); font-size: 1.125rem; letter-spacing: .26em; text-transform: uppercase; color: var(--brass); }
.hero h1 { font-size: clamp(3.4rem, 7.2vw, 6.6rem); line-height: .94; font-weight: 500; }
.hero h1 em { display: block; font-style: italic; color: var(--brass-hi); }
.hero__lede { max-width: 34rem; font-size: 1.1875rem; color: var(--muted-d); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero__photo { position: relative; min-height: 100%; }
.hero__photo picture, .hero__photo img { height: 100%; width: 100%; }
.hero__photo img { object-fit: cover; object-position: 50% 22%; max-height: 860px; min-height: 620px; }
.hero__photo::after { /* blends the photo into the text side */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--walnut) 0%, rgba(31, 23, 18, 0) 22%), linear-gradient(0deg, var(--walnut) 0%, rgba(31, 23, 18, 0) 18%);
  pointer-events: none;
}

/* page-load moment: the hero only */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__copy > :nth-child(2) { animation-delay: .08s; }
  .hero__copy > :nth-child(3) { animation-delay: .18s; }
  .hero__copy > :nth-child(4) { animation-delay: .28s; }
  .hero__photo img { animation: settle 1.6s ease-out both; }
}
@keyframes rise { from { opacity: .001; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: .4; transform: scale(1.03); } to { opacity: 1; transform: none; } }

/* ---------- Linen (purchase) sections ---------- */
.linen { background: var(--linen); color: var(--ink); }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-head { max-width: 40rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 1rem; }
.section-head h2 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); }
.section-head p { color: var(--muted-l); font-size: 1.125rem; }

.books { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 6vw, 5.5rem); }
.book { display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.book__shelf { /* covers stand on a shared baseline at the same height, never resized out of ratio */
  display: flex; align-items: flex-end; justify-content: flex-start;
  height: clamp(340px, 38vw, 470px); margin-bottom: .9rem;
}
.cover { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: left bottom;
  box-shadow: 0 1px 2px rgba(42, 29, 21, .25), 0 22px 40px -12px rgba(42, 29, 21, .55); border-radius: 1px; }
.book picture { height: 100%; max-width: 100%; }
.book h3 { font-size: clamp(1.9rem, 3vw, 2.4rem); }
.book__sub { font-family: var(--display); font-style: italic; font-size: 1.3rem; line-height: 1.3; color: var(--muted-l); }
.book__desc { max-width: 34rem; }
.buy { margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--rule-l); display: grid; gap: 1rem; }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.price { font-family: var(--display); font-weight: 600; font-size: 2.75rem; line-height: 1; font-variant-numeric: lining-nums; }
.price small { font-family: var(--body); font-weight: 500; font-size: .875rem; color: var(--muted-l); margin-left: .35rem; letter-spacing: 0; }
.delivery { font-size: .875rem; color: var(--muted-l); }
.linen .btn { background: var(--walnut); border-color: var(--walnut); color: var(--cream); }
.linen .btn:hover { background: #3a2b21; border-color: #3a2b21; }
.collection .btn { background: var(--brass); border-color: var(--brass); color: var(--walnut); }
.collection .btn:hover { background: var(--brass-hi); border-color: var(--brass-hi); }

/* ---------- Bundle ---------- */
.collection {
  margin-top: clamp(4rem, 8vw, 6.5rem);
  background: var(--walnut); color: var(--cream); border-radius: 3px;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center;
  gap: clamp(2rem, 5vw, 4rem); padding: clamp(2rem, 5vw, 4rem);
  position: relative; overflow: hidden;
}
.collection::before { /* lamp glow behind the books */
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; left: -10%; top: -20%;
  background: radial-gradient(closest-side, rgba(201, 161, 90, .22), rgba(201, 161, 90, 0));
  pointer-events: none;
}
.stack { position: relative; display: flex; align-items: flex-end; justify-content: center; height: clamp(300px, 34vw, 430px); }
.stack picture { height: 100%; flex: 0 0 auto; }
.stack .cover { max-width: none; }
.stack picture:first-child { z-index: 1; transform: translateY(-6%); }
.stack picture + picture { z-index: 2; margin-left: -18%; }
.stack .cover { box-shadow: 0 2px 3px rgba(0, 0, 0, .4), 0 30px 50px -14px rgba(0, 0, 0, .85); }
.collection__copy { display: grid; gap: 1.1rem; position: relative; min-width: 0; }
.collection__label { font-family: var(--display); font-size: 1.05rem; letter-spacing: .26em; text-transform: uppercase; color: var(--brass); }
.collection h3 { font-size: clamp(2.3rem, 4vw, 3.3rem); }
.collection__includes { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; color: var(--muted-d); }
.collection__includes li { padding-left: 1.4rem; position: relative; }
.collection__includes li::before { content: ""; position: absolute; left: 0; top: .72em; width: .7rem; height: 1px; background: var(--brass); }
.collection__includes em { color: var(--cream); font-style: normal; }
.bundle-price { display: flex; align-items: baseline; gap: .9rem 1.2rem; flex-wrap: wrap; padding-top: .4rem; }
.bundle-price .now { font-family: var(--display); font-weight: 600; font-size: 3.4rem; line-height: 1; color: var(--cream); }
.bundle-price .was { color: var(--muted-d); font-size: 1rem; }
.bundle-price .was s { text-decoration-thickness: 1px; }
.bundle-price .saving { color: var(--brass-hi); font-weight: 600; font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; }
.collection .delivery { color: var(--muted-d); }

/* ---------- Dark story sections ---------- */
.story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.story--flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.story--flip .story__photo { order: 2; }
.story__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.story__photo--method img { object-position: 50% 15%; }
.story__photo--about img { object-position: 50% 12%; }
.story__copy { display: grid; gap: 1.4rem; min-width: 0; max-width: 36rem; }
.story__copy h2 { font-size: clamp(2.5rem, 4.8vw, 3.8rem); }
.story__copy h2 .tm { font-size: .4em; vertical-align: super; letter-spacing: 0; }
.story__copy .tagline { font-family: var(--display); font-style: italic; font-size: 1.5rem; color: var(--brass-hi); line-height: 1.3; }
.story__copy p { color: var(--muted-d); }
.story__copy p strong { color: var(--cream); font-weight: 500; }
.dark-2 { background: var(--walnut-2); }

.principles { margin: .5rem 0 0; display: grid; gap: 1.5rem; }
.principles div { border-top: 1px solid var(--rule-d); padding-top: 1.1rem; display: grid; gap: .35rem; }
.principles dt { font-family: var(--display); font-size: 1.6rem; color: var(--cream); line-height: 1.15; }
.principles dd { margin: 0; color: var(--muted-d); }
.bridge { font-family: var(--display); font-size: 1.35rem; line-height: 1.4; color: var(--cream) !important; }
.bridge a { color: var(--brass-hi); text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- Final choice ---------- */
.choices { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-l); }
.choice {
  display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) auto auto; align-items: center;
  gap: 1rem clamp(1rem, 3vw, 2.5rem); padding-block: 1.5rem; border-bottom: 1px solid var(--rule-l);
}
.choice__thumbs { display: flex; align-items: flex-end; height: 7rem; }
.choice__thumbs img { height: 100%; width: auto; object-fit: contain; box-shadow: 0 10px 18px -8px rgba(42, 29, 21, .6); }
.choice__thumbs img + img { margin-left: -2.2rem; }
.choice__thumbs--pair img:first-child { height: 88%; }
.choice h3 { font-size: 1.65rem; line-height: 1.15; }
.choice p { color: var(--muted-l); font-size: .9688rem; }
.choice .price { font-size: 2.2rem; text-align: right; }
.choice .price s { display: block; font-family: var(--body); font-size: .875rem; font-weight: 400; color: var(--muted-l); }
.choice .btn { width: 16.5rem; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 3.5rem calc(3.5rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--rule-d); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 3rem; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; font-size: .9375rem; }
.site-footer nav a { color: var(--muted-d); text-decoration: none; }
.site-footer nav a:hover { color: var(--cream); }
.site-footer small { display: block; color: var(--muted-d); font-size: .8125rem; margin-top: .4rem; }

/* ---------- Mobile buy bar ---------- */
.buy-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: rgba(31, 23, 18, .97); border-top: 1px solid var(--rule-d);
  padding: .7rem var(--gutter-r) calc(.7rem + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
  display: none; align-items: center; justify-content: space-between; gap: 1rem;
  transform: translateY(110%); transition: transform .3s ease;
}
.buy-bar.is-visible { transform: none; }
.buy-bar p { font-size: .875rem; line-height: 1.3; color: var(--muted-d); }
.buy-bar p strong { display: block; color: var(--cream); font-size: 1rem; font-weight: 600; }
.buy-bar .btn { min-height: 2.9rem; padding: .6rem 1.1rem; flex: 0 0 auto; }

/* ---------- Simple pages (thank-you, 404) ---------- */
.simple { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.simple .wrap { display: grid; gap: 1.4rem; justify-items: center; max-width: 40rem; padding-block: 5rem; }
.simple h1 { font-size: clamp(2.6rem, 6vw, 4rem); }
.simple p { color: var(--muted-d); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .choice { grid-template-columns: 5.5rem minmax(0, 1fr) auto; }
  .choice .btn { grid-column: 2 / -1; width: 100%; }
  .choice__thumbs { height: 6rem; grid-row: span 2; align-self: start; }
}
@media (max-width: 860px) {
  .site-nav a:not(.btn) { display: none; }
  .hero__grid { grid-template-columns: 1fr; padding-left: 0; }
  .hero__photo { order: -1; }
  .hero__photo img { min-height: 0; max-height: none; aspect-ratio: 4 / 4.4; object-position: 50% 18%; }
  .hero__photo::after { background: linear-gradient(0deg, var(--walnut) 0%, rgba(31, 23, 18, 0) 38%); }
  .hero__copy { padding: 0 var(--gutter-r) 3.5rem var(--gutter-l); margin-top: -6.5rem; position: relative; z-index: 1; gap: 1.4rem; }
  .hero h1 { font-size: clamp(3rem, 13.5vw, 4.6rem); }
  .hero__lede { font-size: 1.0625rem; }
  .hero__actions .btn { flex: 1 1 100%; }

  .books { grid-template-columns: 1fr; gap: 4.5rem; }
  .book__shelf { height: auto; justify-content: center; }
  .book__shelf picture { height: auto; }
  .book .cover { height: auto; width: min(78vw, 340px); object-position: center; }

  .collection { grid-template-columns: 1fr; padding: 2.5rem 1.25rem 2rem; }
  .stack { height: clamp(220px, 64vw, 380px); }

  .story, .story--flip { grid-template-columns: 1fr; }
  .story--flip .story__photo { order: 0; }

  .buy-bar { display: flex; }
  .site-footer { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 520px) {
  .offer-bar .hide-sm { display: none; }
  .wordmark { font-size: .95rem; letter-spacing: .24em; }
  .site-nav .btn { padding: .55rem .85rem; font-size: .75rem; letter-spacing: .1em; }
  .price { font-size: 2.4rem; }
  .choice { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .choice .price { grid-column: 2; text-align: left; }
  .choice .price s { display: inline; margin-right: .5rem; }
  .choice__thumbs { height: 5.2rem; grid-row: span 3; }
  .choice__thumbs img + img { margin-left: -1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .buy-bar { transition: none; }
}

/* =====================================================================
   CHECKOUT, SUCCESS, CANCEL AND POLICY PAGES
   (added; homepage rules above are unchanged)
   ===================================================================== */
.checkout-page { background: var(--linen); }
.checkout-header { background: var(--walnut); color: var(--cream); }
.checkout-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.1rem; }
.secure-label { display: inline-flex; align-items: center; gap: .45rem; font-size: .875rem; color: var(--muted-d); }
.secure-label svg { color: var(--brass); }

.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - 4.5rem); }
.checkout__visual {
  background: var(--walnut); position: relative; overflow: hidden;
  display: grid; place-items: center; padding: clamp(2.5rem, 6vw, 5rem) var(--gutter-r) clamp(2.5rem, 6vw, 5rem) var(--gutter-l);
}
.checkout__visual::before { /* lamp glow behind the books, as in the homepage collection */
  content: ""; position: absolute; width: 90%; aspect-ratio: 1; left: 5%; top: 5%;
  background: radial-gradient(closest-side, rgba(201, 161, 90, .2), rgba(201, 161, 90, 0));
  pointer-events: none;
}
.checkout__covers { position: relative; display: flex; align-items: flex-end; justify-content: center; height: clamp(360px, 44vw, 560px); }
.checkout__covers picture { height: 100%; flex: 0 0 auto; }
.checkout__covers .cover { height: 100%; width: auto; max-width: none; box-shadow: 0 2px 3px rgba(0, 0, 0, .4), 0 30px 50px -14px rgba(0, 0, 0, .85); }
.checkout__covers.is-pair { height: clamp(300px, 34vw, 470px); }
.checkout__covers.is-pair picture:first-child { transform: translateY(-6%); }
.checkout__covers.is-pair picture + picture { margin-left: -18%; }
.checkout__save {
  position: absolute; left: 50%; bottom: -2.6rem; transform: translateX(-50%);
  background: var(--brass); color: var(--walnut); white-space: nowrap;
  font: 600 .75rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; padding: .55rem .9rem; border-radius: 2px;
}

.checkout__panel { color: var(--ink); padding: clamp(2.5rem, 6vw, 5rem) var(--gutter-r) clamp(2.5rem, 6vw, 4rem) var(--gutter-l); display: flex; align-items: center; }
.checkout__inner { width: 100%; max-width: 31rem; margin-inline: auto; display: grid; gap: 1.4rem; }
.checkout__brand { font-family: var(--display); font-size: 1rem; letter-spacing: .26em; text-transform: uppercase; color: var(--brass-ink); }
.checkout h1 { font-size: clamp(2.3rem, 4vw, 3.3rem); line-height: 1; margin-top: -.6rem; }
.checkout__intro { color: var(--muted-l); font-family: var(--display); font-style: italic; font-size: 1.3rem; line-height: 1.35; margin-top: -.4rem; }

.switcher { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--rule-l); border-radius: 3px; overflow: hidden; }
.switcher a { display: grid; gap: .1rem; justify-items: center; text-align: center; padding: .65rem .4rem; font-size: .875rem; font-weight: 500; text-decoration: none; color: var(--muted-l); min-height: 3.25rem; align-content: center; }
.switcher a + a { border-left: 1px solid var(--rule-l); }
.switcher a span { font-size: .8125rem; font-weight: 400; }
.switcher a:hover { color: var(--ink); background: rgba(42, 29, 21, .04); }
.switcher a[aria-current="page"] { background: var(--walnut); color: var(--cream); }
.switcher a[aria-current="page"] span { color: var(--brass-hi); }
.checkout__choose { color: var(--muted-l); }

#order { display: grid; gap: 1.4rem; }
#order[hidden] { display: none; }
.checkout__product { display: grid; gap: .45rem; }
.checkout__product h2 { font-size: clamp(1.9rem, 3vw, 2.3rem); line-height: 1.08; }
.checkout__subtitle { font-family: var(--display); font-style: italic; font-size: 1.2rem; line-height: 1.3; color: var(--muted-l); }
.checkout__desc { font-size: 1rem; }

.summary { border-top: 1px solid var(--rule-l); padding-top: 1rem; }
.summary h3 { font: 600 .8125rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-l); margin-bottom: .75rem; }
.summary dl { margin: 0; display: grid; gap: .5rem; }
.summary__row { display: flex; justify-content: space-between; gap: 1rem; font-size: .9688rem; }
.summary__row dt { min-width: 0; }
.summary__row dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary__row--discount { color: var(--brass-ink); font-weight: 500; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--rule-l); }
.summary__total > span { font-weight: 600; }
.summary__total small { font-weight: 500; color: var(--muted-l); font-size: .8125rem; margin-left: .25rem; }
.summary__total strong { font-family: var(--display); font-weight: 600; font-size: 2.6rem; line-height: 1; font-variant-numeric: lining-nums; }
.summary__was { color: var(--muted-l); margin-left: auto; margin-right: .6rem; font-size: 1rem; }

.pay { display: grid; gap: .6rem; }
.checkout-page .btn--pay, .simple-page .btn--pay { min-height: 3.75rem; font-size: .875rem; background: var(--walnut); border-color: var(--walnut); color: var(--cream); }
.checkout-page .btn--pay:hover { background: #3a2b21; border-color: #3a2b21; }
.btn--pay[disabled] { opacity: .45; cursor: not-allowed; }
.pay__notice { font-size: .9375rem; color: var(--ink); }
.pay__setup { font-size: .8125rem; color: var(--muted-l); }

.checkout__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .875rem; color: var(--muted-l); }
.checkout__facts li { padding-left: 1.3rem; position: relative; }
.checkout__facts li::before { content: ""; position: absolute; left: 0; top: .72em; width: .65rem; height: 1px; background: var(--brass-ink); }
.checkout__back { font-size: .9375rem; }
.checkout__back a { color: var(--muted-l); text-underline-offset: 3px; }

.legal-footer { background: var(--walnut); color: var(--muted-d); font-size: .875rem; }
.legal-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-block: 1.6rem calc(1.6rem + env(safe-area-inset-bottom, 0px)); }
.legal-footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.legal-footer a { color: var(--muted-d); text-underline-offset: 3px; }
.legal-footer a:hover { color: var(--cream); }

/* success / cancel */
.simple-page { background: var(--walnut); }
.status { padding-block: clamp(3rem, 9vw, 6rem); }
.status .wrap { max-width: 44rem; display: grid; gap: 1.5rem; }
.status h1 { font-size: clamp(2.6rem, 6vw, 4rem); }
.status__lede { font-size: 1.125rem; color: var(--muted-d); }
.status__steps { margin: .5rem 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 1.1rem; }
.status__steps li { counter-increment: step; display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: .9rem; align-items: start; color: var(--muted-d); }
.status__steps li::before { content: counter(step); font-family: var(--display); font-size: 1.5rem; line-height: 1.1; color: var(--brass); border: 1px solid var(--rule-d); border-radius: 50%; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; }
.status__steps strong { display: block; color: var(--cream); font-weight: 500; }
.status__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: .5rem; }
.status__note { font-size: .9375rem; color: var(--muted-d); border-top: 1px solid var(--rule-d); padding-top: 1.2rem; }
.status__note a, .status__steps a { color: var(--brass-hi); text-underline-offset: 3px; }

/* policy pages */
.policy-page { background: var(--linen); color: var(--ink); }
.policy { padding-block: clamp(3rem, 8vw, 5.5rem); }
.policy .wrap { max-width: 44rem; }
.policy h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: .6rem; }
.policy .updated { color: var(--muted-l); font-size: .9375rem; margin-bottom: 2.2rem; }
.policy h2 { font-size: 1.65rem; margin: 2.2rem 0 .6rem; }
.policy p, .policy li { font-size: 1rem; }
.policy p + p { margin-top: .9rem; }
.policy ul { padding-left: 1.2rem; display: grid; gap: .4rem; margin: .6rem 0 0; }
.policy a { color: var(--brass-ink); text-underline-offset: 3px; }

@media (max-width: 860px) {
  .checkout { grid-template-columns: 1fr; min-height: 0; }
  .checkout__visual { padding-block: 1.75rem 2.25rem; }
  .checkout__covers { height: clamp(220px, 62vw, 340px); }
  .checkout__covers.is-pair { height: clamp(200px, 56vw, 320px); }
  .checkout__save { bottom: -1.9rem; }
  .checkout__visual:has(.checkout__save) { padding-bottom: 3.25rem; }
  .checkout__panel { padding-top: 2rem; }
  .checkout__inner { gap: 1.2rem; }
  .checkout h1 { font-size: clamp(2.1rem, 9vw, 2.6rem); }
}
