/* Terms of Mercy - site layout
   Layers page structure on top of design-system.css.
   Mobile first. Hard edges, flat fields, no gradients. */

/* ---------------------------------------------------------------- base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  margin: 0;
  color: var(--mercy-bone);
  background: var(--mercy-slate);
  font-family: var(--font-reading);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

::selection {
  color: var(--mercy-slate);
  background: var(--mercy-copper);
}

.skip-link {
  position: absolute;
  z-index: 200;
  top: 0;
  left: 0;
  padding: 0.85rem 1.25rem;
  color: var(--mercy-slate);
  background: var(--mercy-bone);
  font-family: var(--font-interface);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateY(-120%);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute !important;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  clip-path: inset(50%);
  white-space: nowrap;
}

[hidden] {
  display: none !important;
}

/* ---------------------------------------------------------------- shell */

.shell {
  width: 100%;
  max-width: var(--content-width);
  padding-right: var(--gutter);
  padding-left: var(--gutter);
  margin-inline: auto;
}

.band {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-space);
}

.band--dark {
  color: var(--mercy-bone);
  background: var(--mercy-slate);
}

.band--bone {
  color: var(--mercy-slate);
  background: var(--mercy-bone);
}

.band--black {
  color: var(--mercy-bone);
  background: var(--mercy-black);
}

/* The statement and premise share one bone field. Without these the two
   section paddings stack into a dead gap between them. */
.band--tight-bottom {
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.band--tight-top {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

/* Paper grain sits above the field, below the content. */
.band::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: url("../svg/paper-grain.svg") repeat;
  background-size: 260px 260px;
  content: "";
  opacity: 0.3;
  pointer-events: none;
}

.band--bone::before {
  mix-blend-mode: multiply;
  opacity: 0.55;
}

.band > * {
  position: relative;
  z-index: 1;
}

/* Restrained halftone, only in the corners of bone bands. */
.band--bone::after {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: min(38%, 22rem);
  height: min(46%, 20rem);
  background-image: url("../svg/halftone-tile.svg");
  background-repeat: repeat;
  background-size: 14px 14px;
  content: "";
  opacity: 1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(150deg, #000 0%, transparent 78%);
  mask-image: linear-gradient(150deg, #000 0%, transparent 78%);
}

/* ---------------------------------------------------------------- type */

.display-heading {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

/* Capped so "Terms of Mercy" holds a single line in the hero column,
   as it does in the mockup, instead of breaking after "OF". */
.heading-xl {
  font-size: clamp(2.6rem, 6.5vw, 4.7rem);
}

.heading-lg {
  font-size: clamp(2.1rem, 7.4vw, 4.25rem);
}

.heading-md {
  font-size: clamp(1.75rem, 5.6vw, 3.1rem);
}

.eyebrow {
  display: block;
  margin: 0 0 1.15rem;
  color: var(--mercy-copper);
  font-family: var(--font-interface);
  font-size: clamp(0.68rem, 2.1vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.band--bone .eyebrow {
  color: var(--mercy-copper-on-bone);
}

.lede {
  max-width: 34ch;
  font-size: clamp(1.1rem, 3.4vw, 1.45rem);
  line-height: 1.5;
}

.prose p {
  margin: 0 0 1.1rem;
  font-size: clamp(1rem, 2.6vw, 1.12rem);
  line-height: 1.68;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* Rule with a small node, lifted from the mockups. */
.node-rule {
  display: flex;
  width: min(100%, 24rem);
  align-items: center;
  margin: 1.75rem 0;
  color: var(--mercy-copper);
  gap: 0.55rem;
}

.node-rule::before,
.node-rule::after {
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.55;
}

.node-rule::before {
  width: 3.5rem;
  flex: 0 0 auto;
}

.node-rule::after {
  flex: 1 1 auto;
}

.node-rule > span {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.band--bone .node-rule {
  color: var(--mercy-copper-on-bone);
}

.node-rule--wide {
  width: 100%;
}

/* Full-width rule with a node at each end, as above the promise columns. */
.rule-ends {
  display: flex;
  width: 100%;
  align-items: center;
  margin: 2.5rem 0 2.25rem;
  color: var(--mercy-copper);
  gap: 0.55rem;
}

.rule-ends > span {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.rule-ends > .rule-ends__line {
  width: auto;
  height: 1px;
  flex: 1 1 auto;
  border: 0;
  border-radius: 0;
  background: currentColor;
  opacity: 0.5;
}

.band--bone .rule-ends {
  color: var(--mercy-copper-on-bone);
}

/* Decorative copper wire, bleeding off the right edge. */
.wire {
  position: absolute;
  z-index: 0;
  right: -12%;
  width: min(62%, 46rem);
  height: auto;
  color: var(--mercy-copper);
  opacity: 0.85;
  pointer-events: none;
}

.wire--hero {
  top: 6%;
}

.wire--low {
  bottom: 2%;
}

/* On the pale field the wire needs the darkened green to stay visible. */
.band--bone .wire {
  color: var(--mercy-copper-on-bone);
  opacity: 0.6;
}

.wire--bone {
  right: -14%;
  bottom: 6%;
}

@media (max-width: 47.99em) {
  .wire {
    display: none;
  }
}

/* ---------------------------------------------------------------- buttons */

.mercy-button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-interface);
  font-size: clamp(0.9rem, 2.6vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.mercy-button--primary {
  border: 1px solid var(--mercy-copper);
  color: var(--mercy-slate);
  background: var(--mercy-copper);
}

.mercy-button--primary:hover,
.mercy-button--primary:focus-visible {
  border-color: var(--mercy-bone);
  color: var(--mercy-slate);
  background: var(--mercy-bone);
}

.mercy-button--ghost {
  border: 1px solid currentColor;
  color: var(--mercy-bone);
  background: transparent;
}

.mercy-button--ghost:hover,
.mercy-button--ghost:focus-visible {
  color: var(--mercy-slate);
  background: var(--mercy-bone);
}

.band--bone .mercy-button--ghost {
  color: var(--mercy-slate);
}

.band--bone .mercy-button--ghost:hover,
.band--bone .mercy-button--ghost:focus-visible {
  color: var(--mercy-bone);
  background: var(--mercy-slate);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  gap: 0.85rem;
}

.button-row .mercy-button {
  flex: 1 1 14rem;
}

/* Price + format pairing. */
.price-line {
  display: flex;
  align-items: baseline;
  margin-top: 2rem;
  gap: 0.9rem;
}

.price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6.5vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
}

.format {
  color: var(--mercy-copper);
  font-family: var(--font-interface);
  font-size: clamp(0.78rem, 2.4vw, 0.92rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.band--bone .format {
  color: var(--mercy-copper-on-bone);
}

.reassurance {
  display: flex;
  /* flex-start, not center: the line wraps at 320 and a centred icon
     would float against the middle of two lines. */
  align-items: flex-start;
  margin: 1.1rem 0 0;
  font-size: 0.95rem;
  gap: 0.5rem;
}

.reassurance svg {
  flex: 0 0 auto;
  margin-top: 0.18em;
  color: var(--mercy-copper);
}

.band--bone .reassurance svg {
  color: var(--mercy-copper-on-bone);
}

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  z-index: 90;
  top: 0;
  border-bottom: 1px solid var(--mercy-rule-light);
  background: var(--mercy-slate);
}

.site-header__inner {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3.4vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.wordmark .of {
  font-size: 0.72em;
  text-transform: lowercase;
  font-variant: small-caps;
}

.site-nav {
  display: none;
}

.site-nav ul {
  display: flex;
  padding: 0;
  margin: 0;
  gap: clamp(1.5rem, 4vw, 3rem);
  list-style: none;
}

.site-nav a {
  font-family: var(--font-interface);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover {
  color: var(--mercy-copper);
}

.site-header .mercy-button {
  min-height: 2.75rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

@media (min-width: 62em) {
  .site-nav {
    display: block;
  }
}

/* ---------------------------------------------------------------- hero */

.hero {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.hero__inner {
  display: grid;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.hero__cover {
  width: min(100%, 20rem);
  justify-self: center;
}

.hero__cover img {
  width: 100%;
  height: auto;
  border: 1px solid var(--mercy-rule-light);
  aspect-ratio: 1600 / 2560;
  box-shadow: 0 24px 60px rgba(3, 11, 14, 0.55);
}

.hero__title {
  margin: 0;
}

.hero__author {
  margin: 1rem 0 0;
  font-family: var(--font-interface);
  font-size: clamp(0.85rem, 2.8vw, 1.05rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

@media (min-width: 56em) {
  .hero__inner {
    grid-template-columns: minmax(0, 24rem) minmax(0, 1fr);
  }

  .hero__cover {
    justify-self: start;
  }

  .button-row .mercy-button {
    flex: 0 1 auto;
  }
}

/* ---------------------------------------------------------------- statement band */

.statement__text {
  max-width: 44ch;
  font-size: clamp(1.05rem, 3vw, 1.3rem);
  line-height: 1.5;
}

.statement__text p {
  margin: 0;
}

/* ---------------------------------------------------------------- premise */

.premise__columns {
  display: grid;
  margin-top: 2.5rem;
  gap: clamp(1.75rem, 4vw, 3.5rem);
}

.premise__closing {
  max-width: 32ch;
  margin: 2.25rem 0 0;
  color: var(--mercy-copper-on-bone);
  font-size: clamp(1.05rem, 2.9vw, 1.2rem);
  line-height: 1.55;
}

@media (min-width: 56em) {
  .premise__columns {
    grid-template-columns: 1fr 1fr;
  }

  .premise__columns > div + div {
    padding-left: clamp(1.75rem, 4vw, 3.5rem);
    border-left: 1px solid var(--mercy-rule-dark);
  }
}

/* ---------------------------------------------------------------- promises */

.promises__grid {
  display: grid;
  gap: 2rem;
}

.promise__number {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  color: var(--mercy-copper);
  font-family: var(--font-display);
  font-size: 1.5rem;
  gap: 0.75rem;
  letter-spacing: 0.08em;
}

/* Short rule trailing each number, as in the mockup. */
.promise__number::after {
  max-width: 4rem;
  height: 1px;
  flex: 1 1 auto;
  background: currentColor;
  content: "";
  opacity: 0.5;
}

.promise p {
  max-width: 26ch;
  margin: 0;
  font-size: clamp(1rem, 2.6vw, 1.08rem);
  line-height: 1.55;
}

@media (min-width: 40em) {
  .promises__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 62em) {
  .promises__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .promise {
    padding-inline: clamp(1rem, 2.4vw, 2rem);
  }

  .promise:first-child {
    padding-left: 0;
  }

  .promise + .promise {
    border-left: 1px solid var(--mercy-rule-light);
  }
}

/* ---------------------------------------------------------------- sample */

.sample__panel {
  max-width: 42rem;
  padding: clamp(1.75rem, 5vw, 3.25rem);
  border: 1px solid var(--mercy-rule-dark);
  margin-top: 2.5rem;
  background: var(--mercy-bone-deep);
}

.sample__chapter {
  margin: 0 0 0.4rem;
  color: var(--mercy-copper-on-bone);
  font-family: var(--font-interface);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.sample__chapter-title {
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.4vw, 2.1rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.sample__body p {
  margin: 0 0 1.15rem;
  font-size: clamp(1.02rem, 2.7vw, 1.12rem);
  line-height: 1.72;
}

/* Successive dialogue lines sit tighter than narrative paragraphs. */
.sample__body p + p {
  text-indent: 1.25rem;
}

/* No drop cap: the excerpt opens on dialogue, and a drop cap set on an
   opening quotation mark reads as a typo. */
.sample__body > p:first-of-type {
  text-indent: 0;
}

.sample__end {
  padding-top: 1.75rem;
  border-top: 1px solid var(--mercy-rule-dark);
  margin-top: 2.25rem;
}

.sample__end p {
  max-width: 34ch;
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
}

/* ---------------------------------------------------------------- receive */

.receive__grid {
  display: grid;
  margin-top: 2.5rem;
  gap: clamp(2rem, 5vw, 4rem);
}

.spec-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.spec-list li {
  position: relative;
  padding-left: 1.5rem;
  border-bottom: 1px solid var(--mercy-rule-light);
  padding-block: 0.85rem;
  font-size: clamp(1rem, 2.6vw, 1.08rem);
}

.spec-list li::before {
  position: absolute;
  top: 0.85rem;
  left: 0;
  color: var(--mercy-copper);
  content: "\2014";
}

.subheading {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.6vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.note {
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.82;
}

@media (min-width: 56em) {
  .receive__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------------------------------------------------------------- disclosure */

.disclosure {
  border: 1px solid var(--mercy-rule-dark);
  margin-top: 1.5rem;
  background: rgba(232, 216, 188, 0.35);
}

.disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  font-family: var(--font-interface);
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  letter-spacing: 0.14em;
  gap: 1rem;
  list-style: none;
  text-transform: uppercase;
}

.disclosure summary::-webkit-details-marker {
  display: none;
}

.disclosure summary::after {
  flex: 0 0 auto;
  color: var(--mercy-copper-on-bone);
  content: "+";
  font-size: 1.35rem;
  line-height: 1;
}

.disclosure[open] summary::after {
  content: "\2212";
}

.disclosure__body {
  padding: 0 1.25rem 1.35rem;
}

.disclosure__body p {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  line-height: 1.65;
}

.disclosure__body p:last-child {
  margin-bottom: 0;
}

/* ---------------------------------------------------------------- faq */

.faq__grid {
  display: grid;
  margin-top: 2.5rem;
  gap: 0 clamp(2rem, 5vw, 4rem);
}

.faq-item {
  border-bottom: 1px solid var(--mercy-rule-dark);
}

.faq-item:first-child {
  border-top: 1px solid var(--mercy-rule-dark);
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.15rem 0;
  cursor: pointer;
  font-size: clamp(1rem, 2.7vw, 1.08rem);
  gap: 1.5rem;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  flex: 0 0 auto;
  color: var(--mercy-copper-on-bone);
  content: "+";
  font-size: 1.35rem;
  line-height: 1.2;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item__body {
  padding: 0 0 1.25rem;
  max-width: 46ch;
}

.faq-item__body p {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  line-height: 1.65;
}

.faq-item__body p:last-child {
  margin-bottom: 0;
}

@media (min-width: 56em) {
  .faq__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Both columns need their own top border. */
  .faq__grid > .faq-item:nth-child(2) {
    border-top: 1px solid var(--mercy-rule-dark);
  }
}

/* ---------------------------------------------------------------- final purchase */

.final__inner {
  display: grid;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.final__cover {
  width: min(100%, 18rem);
  justify-self: center;
}

.final__cover img {
  width: 100%;
  height: auto;
  border: 1px solid var(--mercy-rule-light);
  aspect-ratio: 1600 / 2560;
}

.final__title {
  margin: 0;
  color: var(--mercy-copper);
  font-family: var(--font-interface);
  font-size: clamp(1.1rem, 3.4vw, 1.5rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.final__author {
  margin: 0.4rem 0 0;
  font-family: var(--font-interface);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
}

@media (min-width: 56em) {
  .final__inner {
    grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  }

  .final__cover {
    justify-self: start;
  }
}

/* ---------------------------------------------------------------- footer */

.site-footer {
  padding-block: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--mercy-rule-light);
}

.site-footer__inner {
  display: grid;
  gap: 2.5rem;
}

.site-footer__brand .wordmark {
  display: inline-block;
  margin-bottom: 0.6rem;
}

.site-footer__brand p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Three links now, so a single wrapping row rather than the mockup's
   two columns, which left an orphan in the second column. */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  gap: 0.9rem 2.5rem;
  list-style: none;
}

.footer-links a,
.footer-links button {
  padding: 0;
  border: 0;
  color: inherit;
  background: none;
  cursor: pointer;
  font-family: var(--font-interface);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--mercy-copper);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  gap: 0.6rem;
  text-decoration: none;
}

.back-to-top span {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mercy-copper);
  border-radius: 50%;
}

@media (min-width: 56em) {
  .site-footer__inner {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) auto;
    gap: 3rem;
  }

  .back-to-top {
    justify-self: end;
  }
}

/* ---------------------------------------------------------------- sticky bar */

.sticky-buy {
  position: fixed;
  z-index: 95;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem clamp(1rem, 4vw, 1.5rem);
  border-top: 1px solid var(--mercy-copper);
  background: var(--mercy-black);
  gap: 1rem;
  transform: translateY(110%);
  transition: transform 0.22s ease;
}

.sticky-buy.is-visible {
  transform: translateY(0);
}

.sticky-buy__meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.sticky-buy__price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.sticky-buy__format {
  color: var(--mercy-copper);
  font-family: var(--font-interface);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sticky-buy .mercy-button {
  min-height: 2.9rem;
  flex: 1 1 auto;
  max-width: 15rem;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
}

@media (min-width: 62em) {
  .sticky-buy {
    display: none;
  }
}

/* ---------------------------------------------------------------- consent */

.consent {
  position: fixed;
  z-index: 120;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 1px solid var(--mercy-copper);
  background: var(--mercy-black);
}

.consent__inner {
  padding-block: clamp(1.25rem, 4vw, 1.75rem);
}

.consent__text {
  max-width: 60ch;
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.consent__text a {
  color: var(--mercy-copper);
}

.consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Accept and Reject must carry identical visual weight. */
.consent__actions .mercy-button--primary,
.consent__actions .mercy-button--equal {
  min-width: 9rem;
  flex: 0 1 auto;
}

.mercy-button--equal {
  border: 1px solid var(--mercy-copper);
  color: var(--mercy-slate);
  background: var(--mercy-copper);
}

.mercy-button--equal:hover,
.mercy-button--equal:focus-visible {
  border-color: var(--mercy-bone);
  background: var(--mercy-bone);
}

.consent__link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--mercy-bone);
  cursor: pointer;
  font-family: var(--font-interface);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-decoration: underline;
  text-transform: uppercase;
  align-self: center;
}

.consent__options {
  padding-top: 1.25rem;
  border-top: 1px solid var(--mercy-rule-light);
  margin-top: 1.25rem;
}

.consent-option {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 0.75rem;
}

.consent-option input {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  margin-top: 0.2rem;
  accent-color: var(--mercy-copper);
}

.consent-option label {
  font-size: 0.92rem;
  line-height: 1.5;
}

.consent-option strong {
  display: block;
  font-family: var(--font-interface);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.consent-option .muted {
  opacity: 0.8;
}

/* ---------------------------------------------------------------- legal pages */

.legal-page {
  padding-block: clamp(3rem, 8vw, 6rem);
}

.legal-page .prose {
  max-width: 68ch;
}

.legal-page h2 {
  margin: 2.5rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.8vw, 1.8rem);
  font-weight: 700;
  text-transform: uppercase;
}

.legal-page h2:first-of-type {
  margin-top: 2rem;
}

.legal-page ul {
  padding-left: 1.25rem;
  margin: 0 0 1.1rem;
}

.legal-page li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

.legal-page a {
  color: var(--mercy-copper);
}

/* Unfilled company details are shown as an explicit gap, never invented. */
.pending {
  padding: 1.15rem 1.35rem;
  border: 1px dashed var(--mercy-copper);
  margin: 1.5rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.pending strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--mercy-copper);
  font-family: var(--font-interface);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------- 404 */

.error-page {
  display: flex;
  min-height: 70vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-page .node-rule {
  margin-inline: auto;
}

.error-page p {
  max-width: 40ch;
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
}

/* ---------------------------------------------------------------- motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .sticky-buy {
    transition: none;
  }
}

/* Light browser preference must not bleach the fields: the page is
   intentionally dark, so only the forced-colors case is adjusted. */
@media (forced-colors: active) {
  .mercy-button {
    border: 1px solid ButtonText;
  }

  .node-rule::before,
  .node-rule::after {
    background: CanvasText;
  }
}

@media print {
  .site-header,
  .sticky-buy,
  .consent,
  .wire,
  .back-to-top {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }
}
