/* ==========================================================================
   COMPONENTS · CHECKOUT — the layout & furniture of the transaction's arc: the
   review-before-buy shell (a reading column with a sticky order aside), the
   signed-in identity strip that keeps account + purchase one act (no double
   wall), the framed offprint identity, and the two post-Stripe landings that
   complete the arc into the unlocked content. Everything else composes the
   built system (order-summary, assessment, provenance, stamp, badge, process,
   button, callout, choice). Tokens only below settings.
   ========================================================================== */

/* — The two-column shell: reading column + sticky order aside (desktop) — */
.op-checkout {
  display: grid;
  gap: var(--space-xl) var(--space-2xl);
  align-items: start;
  margin-top: var(--space-lg);
}
@media (min-width: 64rem) {
  .op-checkout {
    grid-template-columns: minmax(0, 1fr) 23rem;
  }
  .op-checkout__aside {
    position: sticky;
    top: 5.5rem;          /* clears the sticky nameplate bar */
  }
}

.op-checkout__main > * + * { margin-top: var(--space-lg); }

/* — The signed-in identity strip: the proof there is no second wall. The
   reader already has an account; we say so plainly and never re-ask. — */
.op-identity {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2xs) var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  background: var(--surface-sunken);
  border: 1px solid var(--rule);
  border-radius: var(--radius-xs);
}
.op-identity__tick {
  inline-size: 1.1em;
  block-size: 1.1em;
  flex: none;
  color: var(--positive);
}
.op-identity__label {
  font-family: var(--font-furniture);
  font-size: var(--text-2xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-secondary);
}
.op-identity__who {
  font-family: var(--font-data);
  font-size: var(--text-sm);
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--text);
}
.op-identity__alt {
  margin-inline-start: auto;
  font-family: var(--font-furniture);
  font-size: var(--text-2xs);
  color: var(--text-muted);
}

/* — The framed offprint being bought: the exact finding, escorted (s2) — */
.op-offprint {
  background: var(--surface-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-raised);
  padding: var(--space-md);
}
.op-offprint__masthead {
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-md);
  border-bottom: 2px solid var(--accent);   /* the offprint's own single rubric rule */
}
.op-offprint__title {
  font-family: var(--font-reading);
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text);
  margin: var(--space-2xs) 0 var(--space-xs);
}
.op-offprint__issue {
  font-family: var(--font-furniture);
  font-size: var(--text-2xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-secondary);
}
.op-offprint__issue [data-numeric] {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums lining-nums;
  text-transform: none;
  letter-spacing: var(--tracking-wide);
}
.op-offprint > * + * { margin-top: var(--space-md); }

/* ==========================================================================
   THE LANDINGS — the post-Stripe pages. The arc completes INTO the content:
   an honest "it is live, and recorded," then a dominant door (solid ink) into
   the report / the specialty. Never a dead-end thank-you.
   ========================================================================== */

.op-landing {
  max-width: 52rem;
  margin-inline: auto;
  margin-top: var(--space-xl);
  text-align: center;
}

/* The fulfilment seal — a pressed "recorded" mark, sober, not a confetti tick */
.op-landing__seal {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.4em 0.9em;
  background: var(--surface-raised);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-xs);
  box-shadow: inset 0 0 0 1px var(--surface-raised), inset 0 0 0 2px var(--rule-faint);
  font-family: var(--font-furniture);
  font-size: var(--text-2xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-caps-wide);
  text-transform: uppercase;
  color: var(--positive);
}
.op-landing__seal svg { inline-size: 1.1em; block-size: 1.1em; flex: none; }

.op-landing__title {
  font-family: var(--font-reading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text);
  margin: var(--space-md) 0 var(--space-sm);
}
.op-landing__lead {
  font-family: var(--font-reading);
  font-size: var(--text-md);
  line-height: var(--leading-snug);
  color: var(--text-secondary);
  max-width: var(--measure-narrow);
  margin-inline: auto;
}
.op-landing__lead [data-numeric] {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--text);
}

/* The dominant door — the action sits alone, large, solid ink */
.op-landing__door {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

/* A left-aligned content block beneath the centred hero (receipt, doorways) */
.op-landing__detail {
  text-align: start;
  margin-top: var(--space-xl);
  display: grid;
  gap: var(--space-lg);
}
@media (min-width: 48rem) {
  .op-landing__detail--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}

/* The "what you now hold" doorways — a quiet ruled list into the unlocked set */
.op-doors { display: grid; gap: var(--space-xs); }
.op-door {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
  border-top: 1px solid var(--rule-faint);
  text-decoration: none;
}
.op-door:first-of-type { border-top: 0; }
.op-door__name {
  font-family: var(--font-reading);
  font-size: var(--text-sm);
  color: var(--text);
  line-height: var(--leading-snug);
}
.op-door:hover .op-door__name { color: var(--accent); }
.op-door__meta {
  font-family: var(--font-data);
  font-size: var(--text-2xs);
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--text-muted);
  white-space: nowrap;
}
.op-door__arrow { color: var(--text-secondary); }
.op-door:hover .op-door__arrow { color: var(--accent); }
