/* Card Vendor — cardvendor.io
   THE PRICE GUIDE: the site set as the monthly card price guide shops lived
   by. Midnight cover stock owns the covers (owner's ink run, 2026-09-03);
   interiors run on newsprint
   with ruled price columns, tabular numerals, checklist rows, folio
   cross-references, and one yellow flash for the thing worth circling.
   Self-contained: fonts served from ./fonts (OFL, see fonts/OFL-LICENSES.txt),
   no CDNs, no build step. A printed object has one light; there is no dark
   variant by design. */

/* Fonts ------------------------------------------------------------------ */

@font-face {
  font-family: "Alfa Slab One";
  src: url("fonts/alfa-slab-one-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Archivo Narrow";
  src: url("fonts/archivo-narrow-var.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* Tokens ----------------------------------------------------------------- */

:root {
  color-scheme: light;
  --cover: #181a20;      /* midnight cover stock */
  --cover-deep: #0b0c10; /* pressed / edges */
  --flash: #e8b53a;      /* the gold worth circling */
  --accent-ink: #7a5d10; /* bronze — interactive ink on paper (links, checks) */
  --paper: #f6f1e5;      /* newsprint interior */
  --plate: #fffdf7;      /* photo plate / table ground */
  --ink: #17150f;        /* warm press ink */
  --ink-soft: #5a5546;   /* secondary on paper — tinted, never gray */
  --cover-ink: #f5f2e9;
  --cover-ink-soft: #b9bec9; /* secondary on midnight — cool-tinted */
  --up: #1f7a3d;
  --down: #b3341f;
  --rule: color-mix(in srgb, var(--ink) 24%, transparent);
  --rule-strong: color-mix(in srgb, var(--ink) 88%, transparent);
  --rule-on-cover: color-mix(in srgb, var(--cover-ink) 28%, transparent);

  --slab: "Alfa Slab One", "Rockwell", serif;
  --narrow: "Archivo Narrow", "Arial Narrow", sans-serif;
  --body: "Archivo", "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --measure: 68ch;
}

/* Base ------------------------------------------------------------------- */

* { box-sizing: border-box; }

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

html, body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

::selection { background: var(--cover); color: var(--paper); }
.on-cover ::selection, .on-cover::selection { background: var(--flash); color: var(--ink); }

body { caret-color: var(--cover); }

:focus-visible {
  outline: 2px solid var(--cover);
  outline-offset: 2px;
  border-radius: 1px;
}
.on-cover :focus-visible { outline-color: var(--flash); }

@supports (scrollbar-width: thin) {
  html { scrollbar-width: thin; scrollbar-color: var(--cover) var(--paper); }
}

.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 1.25rem; }

a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3 { line-height: 1.08; margin: 0 0 0.5rem; }
h1 { font-family: var(--slab); font-weight: 400; }
p { margin: 0 0 1rem; }

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

.num { font-variant-numeric: tabular-nums; }

/* Small drawn icons — one stroke system ---------------------------------- */

.ic {
  width: 1em; height: 1em;
  fill: none; stroke: currentColor;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -0.12em;
  flex: none;
}

/* Masthead (interior pages + site header) -------------------------------- */

.site-header {
  background: var(--paper);
  border-bottom: 2px solid var(--rule-strong);
  position: sticky; top: 0; z-index: 30;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; padding-block: 0.55rem;
}
.brand {
  display: inline-flex; align-items: baseline; gap: 0.55rem;
  color: var(--ink); text-decoration: none;
  font-family: var(--slab); font-size: 1.2rem; letter-spacing: 0.01em;
}
.brand-logo { width: 24px; height: 24px; align-self: center; }
.site-nav { display: flex; gap: 1.1rem; flex-wrap: wrap; align-items: center; }
.site-nav a {
  color: var(--ink); text-decoration: none;
  font-family: var(--narrow); font-weight: 600; font-size: 0.92rem;
  text-transform: uppercase; letter-spacing: 0.07em;
  padding: 0.15rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--ink); }
.site-nav .nav-demo,
.site-nav a[href^="https://demo.cardvendor.io"] {
  background: var(--flash); color: var(--ink);
  padding: 0.3rem 0.7rem; border-bottom: none;
  box-shadow: 2px 3px 0 0 color-mix(in srgb, var(--ink) 82%, transparent);
  transition: transform 140ms var(--ease-out), box-shadow 140ms var(--ease-out);
}
.site-nav .nav-demo:hover,
.site-nav a[href^="https://demo.cardvendor.io"]:hover { transform: translateY(-1px); border-bottom-color: transparent; }
.site-nav .nav-demo:active,
.site-nav a[href^="https://demo.cardvendor.io"]:active { transform: translateY(1px) scale(0.97); box-shadow: 1px 1px 0 0 var(--ink); }

/* THE COVER --------------------------------------------------------------- */

.cover {
  background: var(--cover);
  color: var(--cover-ink);
  border-bottom: 6px solid var(--flash);
}
.cover a { color: inherit; }

/* The chrome: masthead + strap ride the top of the screen on scroll. */
.cover-chrome {
  position: sticky; top: 0; z-index: 40;
  background: var(--cover);
  color: var(--cover-ink);
  border-bottom: 2px solid var(--flash);
}
.cover-chrome a { color: inherit; }
.mast-actions { display: flex; gap: 1rem; align-items: center; }
.btn-flash-sm {
  padding: 0.5rem 0.95rem;
  font-size: 0.92rem;
  box-shadow: 2px 3px 0 0 var(--cover-deep);
}

.cover-masthead { border-bottom: 1px solid var(--rule-on-cover); }
.cover-masthead .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: 0.8rem; flex-wrap: wrap;
}
.cover-brand {
  display: inline-flex; align-items: center; gap: 0.7rem;
  text-decoration: none; color: var(--cover-ink);
}
.cover-brand img { width: 40px; height: 40px; }
.cover-brand .mast {
  font-family: var(--slab); font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  line-height: 1;
}

.cover-strap {
  border-bottom: 1px solid var(--rule-on-cover);
}
.cover-strap .wrap {
  padding-block: 0.45rem;
  font-family: var(--narrow); font-weight: 600;
  font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cover-ink-soft);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}

.cover-main .wrap {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 2.5rem;
  align-items: center;
  padding-block: 3.2rem 2.6rem;
}

.cover-story h1 {
  font-family: var(--slab);
  font-size: clamp(2.7rem, 5.9vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0.005em;
  margin: 0 0 1rem;
  text-wrap: balance;
}
.cover-story h1 .flash-word { color: var(--flash); }
/* The headline's second line: the strap sentence inside the h1, set in the
   dek's family so the hero reads as one unit (SEO pass, 2026-09-03). */
.cover-story .h1-sub {
  display: block;
  font-family: var(--body);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--cover-ink-soft);
  max-width: 34rem;
  margin-top: 0.6rem;
}
.cover-story .dek {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--cover-ink);
  max-width: 34rem;
  margin-bottom: 0.6rem;
}
.cover-story .dek-sub {
  color: var(--cover-ink-soft);
  max-width: 34rem;
  margin-bottom: 1.6rem;
}

.cta-row { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.btn-flash {
  display: inline-block;
  background: var(--flash); color: var(--ink);
  font-family: var(--narrow); font-weight: 700; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  box-shadow: 3px 4px 0 0 var(--cover-deep), 3px 4px 0 1px color-mix(in srgb, var(--cover-ink) 35%, transparent);
  transition: transform 140ms var(--ease-out), box-shadow 140ms var(--ease-out);
}
.btn-flash:hover { transform: translate(-1px, -1px); box-shadow: 4px 5px 0 0 var(--cover-deep), 4px 5px 0 1px color-mix(in srgb, var(--cover-ink) 35%, transparent); }
.btn-flash:active { transform: translate(1px, 2px) scale(0.97); box-shadow: 1px 1px 0 0 var(--cover-deep); }
.link-quiet {
  font-family: var(--narrow); font-weight: 600; font-size: 0.98rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--cover-ink-soft);
  text-decoration: none;
  border-bottom: 2px solid var(--rule-on-cover);
  padding-bottom: 2px;
}
.link-quiet:hover { color: var(--cover-ink); border-bottom-color: var(--cover-ink); }

/* Cover plate: the screenshot as the cover photo */
.cover-plate { position: relative; margin: 0; }
.cover-plate .plate-frame {
  background: var(--plate);
  padding: 0.55rem 0.55rem 0;
  box-shadow: 0 18px 40px -18px rgb(0 0 0 / 0.55);
  transform: rotate(1.1deg);
}
.cover-plate img { display: block; border: 1px solid var(--rule); }
.price-sticker {
  position: absolute; top: -1.1rem; right: -0.9rem; z-index: 2;
  background: var(--flash); color: var(--ink);
  font-family: var(--narrow); font-weight: 700;
  font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase;
  text-align: center; line-height: 1.15;
  padding: 0.6rem 0.8rem;
  transform: rotate(6deg);
  box-shadow: 0 6px 14px -6px rgb(0 0 0 / 0.5);
}
.price-sticker .num { display: block; font-size: 1.3rem; }

/* Cover lines: real cross-references into the issue */
.cover-lines { border-top: 1px solid var(--rule-on-cover); }
.cover-lines .wrap {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0; padding-block: 0;
}
.cover-line {
  display: block; text-decoration: none;
  padding: 0.9rem 1.1rem 1rem;
  border-left: 1px solid var(--rule-on-cover);
  transition: background 160ms var(--ease-out);
}
.cover-line:first-child { border-left: none; padding-left: 0; }
.cover-line:hover { background: color-mix(in srgb, var(--cover-ink) 7%, transparent); }
.cover-line .cl-title {
  font-family: var(--narrow); font-weight: 700; font-size: 1rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--cover-ink); display: block;
}
.cover-line .cl-sub { color: var(--cover-ink-soft); font-size: 0.9rem; display: block; margin-top: 0.15rem; }

/* Cover colophon */
.cover-colophon .wrap {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 1rem; padding-block: 0.8rem 1rem; flex-wrap: wrap;
}
.cover-colophon .note {
  font-family: var(--narrow); font-weight: 500; font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cover-ink-soft); margin: 0;
}

/* Interior sections ------------------------------------------------------- */

.section { padding-block: 3.4rem; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem;
  border-bottom: 3px solid var(--rule-strong);
  padding-bottom: 0.5rem; margin-bottom: 0.6rem;
}
.section-head h2,
.section-head .page-title {
  font-family: var(--slab);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0;
}
.section-head .folio {
  font-family: var(--narrow); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); white-space: nowrap;
}
.section-intro { color: var(--ink-soft); max-width: var(--measure); margin-bottom: 1.8rem; }

/* The checklist: features as ruled guide rows ----------------------------- */

.checklist { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 3rem; }
.checklist li {
  break-inside: avoid;
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: 0.15rem 0.7rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
}
.checklist .ck-box {
  width: 1.15rem; height: 1.15rem; margin-top: 0.2rem;
  border: 2px solid var(--rule-strong);
  display: grid; place-items: center;
  color: var(--accent-ink);
}
.checklist .ck-box .ic { width: 0.85rem; height: 0.85rem; stroke-width: 3; }
.checklist h3 {
  font-family: var(--narrow); font-weight: 700; font-size: 1.02rem;
  letter-spacing: 0.01em; margin: 0;
}
.checklist p { grid-column: 2; margin: 0; color: var(--ink-soft); font-size: 0.93rem; }
.checklist .tier {
  font-family: var(--narrow); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft);
}
.more-list { margin: 1.6rem 0 0; color: var(--ink-soft); font-size: 0.93rem; max-width: var(--measure); }

/* Featured plates: screenshots with caption bars -------------------------- */

.plates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2.5rem; }
.plate-fig { margin: 0; }
.plate-fig.lead { grid-column: 1 / -1; }
.plate-fig .plate-frame {
  background: var(--plate);
  border: 1px solid var(--rule);
  padding: 0.45rem;
}
.plate-fig img { display: block; border: 1px solid var(--rule); }
.plate-fig figcaption {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  border-bottom: 1px solid var(--rule);
  padding: 0.45rem 0.1rem 0.5rem;
  font-size: 0.9rem; color: var(--ink-soft);
}
.plate-fig figcaption b {
  font-family: var(--narrow); font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--ink); font-size: 0.85rem;
}

/* Editor's note ----------------------------------------------------------- */

.editors-note {
  border-top: 3px solid var(--rule-strong);
  border-bottom: 3px solid var(--rule-strong);
  padding: 1.6rem 0 1.2rem;
  max-width: 46rem; margin-inline: auto;
}
.editors-note h2 {
  font-family: var(--narrow); font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.editors-note p { max-width: var(--measure); }
.editors-note p:last-child { margin-bottom: 0; }
.editors-note .sig { color: var(--ink-soft); font-size: 0.92rem; }

/* THE PRICE TABLE --------------------------------------------------------- */

.price-table-scroll, .table-scroll {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--cover) transparent;
}
.runon {
  display: none;
  font-family: var(--narrow); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 0.5rem;
}
@media (max-width: 760px) {
  .runon { display: block; }
  .price-table-scroll, .table-scroll {
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 2.2rem), transparent);
            mask-image: linear-gradient(90deg, #000 calc(100% - 2.2rem), transparent);
  }
}
.price-table {
  width: 100%; min-width: 760px;
  border-collapse: collapse;
  background: var(--plate);
  border: 2px solid var(--rule-strong);
  font-size: 0.94rem;
}
.price-table caption {
  caption-side: top; text-align: left;
  font-family: var(--narrow); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft);
  padding-bottom: 0.5rem;
}
.price-table th, .price-table td {
  border: 1px solid var(--rule);
  padding: 0.55rem 0.8rem;
  text-align: left; vertical-align: top;
}
.price-table thead th { border-bottom: 2px solid var(--rule-strong); vertical-align: bottom; }
.price-table .plan-col { width: 22%; }
.plan-head .plan-name {
  font-family: var(--slab); font-size: 1.15rem; display: block;
}
.plan-head .plan-for { color: var(--ink-soft); font-weight: 400; font-size: 0.82rem; display: block; margin-top: 0.2rem; line-height: 1.35; }
.plan-head .plan-price {
  font-family: var(--narrow); font-weight: 700; font-size: 1.9rem;
  display: block; margin-top: 0.4rem; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.plan-head .plan-price span { font-size: 0.95rem; font-weight: 600; color: var(--ink-soft); }
.plan-head .plan-annual { display: block; color: var(--ink-soft); font-size: 0.8rem; font-weight: 400; margin-top: 0.2rem; }
.price-table tbody th {
  font-weight: 400; font-family: var(--body); color: var(--ink);
  width: 34%;
}
.price-table td { text-align: center; vertical-align: middle; }
.price-table td .ic { color: var(--accent-ink); width: 1.05rem; height: 1.05rem; }
.price-table td .dash { color: var(--rule-strong); opacity: 0.45; }
.price-table td.cell-note { font-size: 0.85rem; color: var(--ink-soft); }
.price-table tr:hover td, .price-table tr:hover th { background: color-mix(in srgb, var(--flash) 14%, transparent); }
.flash-row td {
  background: var(--flash);
  font-family: var(--narrow); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 0.85rem;
  text-align: center;
}
.price-table .cta-cell { text-align: center; padding-block: 0.9rem; }
.price-table .cta-cell a {
  font-family: var(--narrow); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; font-size: 0.9rem; text-decoration: none;
  border-bottom: 2px solid var(--accent-ink); padding-bottom: 2px;
}
.plan-notes { color: var(--ink-soft); font-size: 0.92rem; max-width: var(--measure); margin: 1.6rem auto 0; text-align: center; }
.plan-notes p { margin-bottom: 0.35rem; }

/* The math band: mini-cover strip ----------------------------------------- */

.math-band { background: var(--cover); color: var(--cover-ink); border-block: 4px solid var(--flash); }
.math-band .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; padding-block: 2rem; flex-wrap: wrap;
}
.math-band .math-copy { max-width: 40rem; }
.math-band h2 { font-family: var(--slab); font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
.math-band p { color: var(--cover-ink-soft); margin: 0; }
.math-band .num-line { color: var(--cover-ink); font-variant-numeric: tabular-nums; }

/* Footer: the colophon ---------------------------------------------------- */

.site-footer {
  border-top: 3px solid var(--rule-strong);
  margin-top: 3.4rem;
  padding-block: 1.6rem 2.2rem;
  color: var(--ink-soft); font-size: 0.9rem;
}
.site-footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--ink); }
.site-footer .colo {
  font-family: var(--narrow); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase;
}

/* Compare page: the market report ----------------------------------------- */

.compare {
  width: 100%; min-width: 720px; border-collapse: collapse;
  background: var(--plate); border: 2px solid var(--rule-strong);
  font-size: 0.9rem;
}
.compare th, .compare td {
  border: 1px solid var(--rule);
  padding: 0.6rem 0.75rem; text-align: left; vertical-align: top;
}
.compare thead th {
  font-family: var(--narrow); font-weight: 700; font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: 0.05em;
  border-bottom: 2px solid var(--rule-strong);
}
.compare tbody th { font-weight: 600; white-space: nowrap; }
.compare .cv-col { background: color-mix(in srgb, var(--flash) 22%, transparent); }
.compare-notes { margin-top: 1rem; font-size: 0.85rem; color: var(--ink-soft); }
.compare-notes a { color: var(--accent-ink); }

/* The calculator: DO THE MATH box */
.calc {
  margin-top: 2rem;
  border: 2px solid var(--rule-strong);
  background: var(--plate);
  padding: 1.4rem 1.5rem 1.6rem;
}
.calc label {
  display: block; font-family: var(--narrow); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.9rem;
  margin-bottom: 0.6rem;
}
.calc output { font-variant-numeric: tabular-nums; }
.calc input[type="range"] { width: 100%; max-width: 520px; accent-color: var(--accent-ink); margin-bottom: 1.2rem; }
.calc-stats { display: flex; gap: 2.2rem; flex-wrap: wrap; }
.calc-stat { max-width: 260px; }
.calc-number {
  display: block; font-family: var(--narrow); font-weight: 700;
  font-size: 1.9rem; line-height: 1.1; font-variant-numeric: tabular-nums;
}
.calc-number.delta-up { color: var(--up); }
.calc-label { font-size: 0.85rem; color: var(--ink-soft); }
.calc-delta { margin: 1.1rem 0 0; font-family: var(--narrow); font-weight: 700; font-size: 1.05rem; }
.calc-delta .num { background: var(--flash); padding: 0.1rem 0.4rem; }

/* Prose pages (privacy) --------------------------------------------------- */

.prose { max-width: 46rem; padding-block: 2.5rem 4rem; }
.prose h1 { font-family: var(--slab); font-size: 2rem; margin-bottom: 0.25rem; }
.prose h2 {
  font-family: var(--narrow); font-weight: 700; font-size: 1.15rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  border-bottom: 2px solid var(--rule-strong);
  padding-bottom: 0.3rem; margin-top: 2.25rem;
}
.prose h3 { font-size: 1.02rem; margin-top: 1.5rem; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
.effective { color: var(--ink-soft); margin-bottom: 2rem; }

.draft-banner {
  background: var(--flash);
  border: 2px solid var(--rule-strong);
  color: var(--ink);
  padding: 0.75rem 1rem; margin: 1.5rem 0; font-weight: 600;
}
.review { background: var(--flash); color: var(--ink); padding: 0.05rem 0.35rem; font-weight: 600; }

pre, table { max-width: 100%; }
pre { overflow-x: auto; }

/* Guides (cardvendor.io/guides) ------------------------------------------- */

.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 2.5rem; }
.guide-card {
  display: block; text-decoration: none; color: inherit;
  border-bottom: 1px solid var(--rule);
  padding: 0.85rem 0.2rem;
  transition: background 160ms var(--ease-out);
}
.guide-card:hover { background: color-mix(in srgb, var(--flash) 16%, transparent); }
.guide-card h3 { font-family: var(--narrow); font-weight: 700; margin: 0 0 0.25rem; font-size: 1rem; }
.guide-card p { margin: 0; font-size: 0.88rem; color: var(--ink-soft); }
.guide-section-title {
  margin: 2.4rem 0 0.4rem;
  font-family: var(--slab); font-size: 1.15rem;
  border-bottom: 3px solid var(--rule-strong);
  padding-bottom: 0.35rem;
}
.guide { max-width: 760px; margin-inline: auto; }
.breadcrumb {
  font-family: var(--narrow); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.guide h1 { font-family: var(--slab); margin-bottom: 0.4rem; }
.guide .intro { color: var(--ink-soft); margin-top: 0; }
.guide h2 {
  margin-top: 2.2rem;
  font-family: var(--narrow); font-weight: 700; font-size: 1.2rem;
  text-transform: uppercase; letter-spacing: 0.04em;
  border-bottom: 2px solid var(--rule-strong); padding-bottom: 0.3rem;
}
.guide ol.steps { padding-left: 1.3rem; }
.guide ol.steps li { margin-bottom: 0.55rem; }
.guide ol.steps li::marker { font-family: var(--narrow); font-weight: 700; color: var(--accent-ink); }
.callout {
  border: 1px solid var(--rule-strong);
  background: var(--plate);
  padding: 0.7rem 0.9rem; font-size: 0.9rem; margin: 1.2rem 0;
}
.guide .shot { margin: 1.2rem 0; }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); background: var(--plate); padding: 0.3rem; }
.shot figcaption { margin-top: 0.4rem; font-size: 0.85rem; color: var(--ink-soft); }
.guide-footer-nav { margin-top: 3rem; font-size: 0.9rem; }

/* Motion ------------------------------------------------------------------ */

.stamp-in { opacity: 1; transform: scale(1); transition: transform 260ms var(--ease-out), opacity 200ms var(--ease-out); }
.pre-stamp .stamp-in { opacity: 0; transform: scale(1.5); }

@media (prefers-reduced-motion: reduce) {
  .pre-stamp .stamp-in { transform: none; }
  .stamp-in { transition: opacity 200ms ease; }
  .btn-flash, .nav-demo, .cover-line, .guide-card { transition: none; }
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 900px) {
  .cover-main .wrap { grid-template-columns: 1fr; gap: 2.2rem; padding-block: 2.4rem 2rem; }
  .cover-plate { max-width: 34rem; }
  .checklist { columns: 1; }
  .plates { grid-template-columns: 1fr; gap: 1.6rem; }
  .cover-lines .wrap { grid-template-columns: 1fr; }
  .cover-line { border-left: none; border-top: 1px solid var(--rule-on-cover); padding-inline: 0; }
  .cover-line:first-child { border-top: none; }
  .math-band .wrap { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
}

@media (max-width: 560px) {
  .cover-story h1 { font-size: clamp(2rem, 10.8vw, 2.8rem); }
  .cover-strap .num { display: none; }
  .mast-actions { gap: 0.7rem; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 0.15rem; }
  .section-head .folio { white-space: normal; }
  .price-sticker { right: 0.2rem; }
  .section { padding-block: 2.4rem; }
}
