/* Vintio — shared stylesheet for every page on vintio.app.
   Page builders write NO CSS: every class a page needs is defined here.
   Palette comes from the app itself — parchment result cards, antique brass
   (the app's seed colour #8D6E3C) — plus the rose of the store creative,
   used only for actions and the "uncertain" signal. */

/* Fraunces — self-hosted variable font (opsz 9–144, wght 400–700). Kept out
   of /assets/ so /fonts/ has its own cache rule (see _headers). */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/fraunces-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/fraunces-latin-italic.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #F7F0E3;
  --paper-2: #EFE4CF;
  --card: #FFFBF4;
  --ink: #1F1813;
  --ink-2: #4A3F36;
  --muted: #74665A;
  --rule: #DCCDB3;
  --rule-strong: #C4B08D;
  --brass: #8D6E3C;
  --brass-deep: #6E5429;
  --brass-soft: #F3E3C3;
  --value: #F9DCA8;
  --rose: #CF1D5E;
  --rose-deep: #A8144A;
  --rose-soft: #FBE3EB;
  --warn-soft: #FDE0DC;
  --warn-ink: #7A1F16;
  --ok: #3E6B45;

  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(31, 24, 19, .06), 0 8px 28px rgba(31, 24, 19, .08);
  --shadow-lg: 0 2px 4px rgba(31, 24, 19, .06), 0 24px 60px rgba(31, 24, 19, .16);
  --wrap: 1140px;
  --wrap-narrow: 760px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brass-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rose); }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  font-variation-settings: "opsz" 96;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; font-variation-settings: "opsz" 36; }
h4 { font-size: 1.05rem; font-variation-settings: "opsz" 24; }
p { margin: 0 0 1.1em; }
em.hl, .hl { font-style: italic; font-weight: 500; color: var(--brass); }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
code, .tag {
  font-family: var(--mono);
  font-size: .86em;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: .08em .4em;
  white-space: nowrap;
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: var(--wrap-narrow); margin: 0 auto; padding: 0 20px; }
section { padding: 88px 0; }
.section-warm { background: var(--paper-2); }
.section-card { background: var(--card); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-ink { background: var(--ink); color: #F4ECDD; }
.section-ink h2, .section-ink h3 { color: #FFF8EC; }
.section-ink .lede, .section-ink p { color: #D9CDBA; }
.section-ink a { color: var(--value); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 14px;
}
.section-ink .eyebrow { color: var(--value); }
.lede { font-size: 1.16rem; color: var(--ink-2); line-height: 1.6; }
.rule-ornament {
  border: 0; height: 14px; margin: 48px auto; max-width: 220px;
  background:
    linear-gradient(var(--rule-strong), var(--rule-strong)) left 50% / 42% 1px no-repeat,
    linear-gradient(var(--rule-strong), var(--rule-strong)) right 50% / 42% 1px no-repeat,
    radial-gradient(circle, var(--brass) 3px, transparent 3.5px) center / 14px 14px no-repeat;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 650; font-size: 1rem; line-height: 1;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--rose); color: #fff; box-shadow: 0 6px 18px rgba(207, 29, 94, .28); }
.btn-primary:hover { background: var(--rose-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #FFF8EC; color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.center .btn-row, .btn-row.center { justify-content: center; }
.btn-note { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }
.store-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn.store-btn { padding: 11px 22px 11px 18px; border-radius: 14px; }
.store-label { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; text-align: left; }
.store-label small { font-size: .68rem; font-weight: 500; opacity: .85; letter-spacing: .02em; }
.store-label span { font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }
.download-qr { display: none; align-items: center; gap: 14px; text-align: left; }
.download-qr img { border-radius: 10px; background: #fff; padding: 4px; }
.qr-text { font-size: .86rem; line-height: 1.4; margin: 0; max-width: 150px; }
.qr-text strong { display: block; }
@media (min-width: 900px) and (hover: hover) { .download-qr { display: flex; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 240, 227, .9);
  backdrop-filter: saturate(1.3) blur(12px);
  -webkit-backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: 1.35rem; letter-spacing: -.01em;
  color: var(--ink); text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand img { border-radius: 9px; box-shadow: 0 1px 3px rgba(31, 24, 19, .2); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 550; }
.nav a:hover { color: var(--ink); }
.nav .btn { padding: 10px 18px; font-size: .92rem; color: #fff; }
@media (max-width: 820px) {
  .nav a:not(.btn) { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: 64px 0 84px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(760px 420px at 85% 10%, rgba(249, 220, 168, .55), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lede { font-size: 1.22rem; max-width: 540px; margin-bottom: 30px; }
.trust-row {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; list-style: none;
  font-size: .9rem; color: var(--ink-2);
}
.trust-row li { display: inline-flex; align-items: center; gap: 8px; }
.trust-row li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); flex-shrink: 0;
}
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 40px; }
}

/* ---------- Signature visual: the lot tag ----------
   Three photo slots fill in, then the result tag swings down on its string.
   Markup lives in the BUILD SPEC; content is copied from a real result. */
.lot { position: relative; max-width: 520px; margin: 0 auto; width: 100%; }
.lot-photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 750 / 455; background: #5b534d;
}
.lot-photo img { width: 100%; height: 100%; object-fit: cover; }
.lot-photo .badge { position: absolute; top: 14px; right: 14px; background: rgba(31, 24, 19, .82); color: #fff; border-color: transparent; }
.lot-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.slot {
  position: relative; border-radius: 12px; background: var(--card); border: 1px solid var(--rule);
  padding: 8px; font-size: .74rem; line-height: 1.25; color: var(--ink-2);
  opacity: 0; transform: translateY(8px); animation: slot-in .5s ease forwards;
}
.slot:nth-child(1) { animation-delay: .15s; }
.slot:nth-child(2) { animation-delay: .45s; }
.slot:nth-child(3) { animation-delay: .75s; }
.slot-img {
  height: 58px; border-radius: 8px; margin-bottom: 7px;
  background-color: #5b534d; background-size: cover; background-position: center;
}
.slot-img.zoom { background-size: 260%; background-position: 50% 40%; }
.slot-empty .slot-img {
  background: repeating-linear-gradient(-45deg, var(--paper), var(--paper) 6px, var(--paper-2) 6px, var(--paper-2) 12px);
  border: 1.5px dashed var(--rule-strong); display: grid; place-items: center; color: var(--brass);
}
.slot b { display: block; color: var(--ink); font-weight: 650; font-size: .78rem; }
.slot-num {
  position: absolute; top: -8px; left: -8px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .7rem; font-weight: 700;
}
.lot-tag {
  position: relative; margin: 26px 0 0 auto; width: 86%; max-width: 430px;
  background: var(--card); border: 1px solid var(--rule-strong); border-radius: 10px 10px 18px 18px;
  padding: 30px 24px 22px; box-shadow: var(--shadow-lg);
  transform-origin: 50% -26px; animation: tag-swing 1.1s cubic-bezier(.2, .8, .25, 1) 1s both;
}
.lot-tag::before { /* the string hole */
  content: ""; position: absolute; top: 11px; left: 50%; width: 12px; height: 12px; margin-left: -6px;
  border-radius: 50%; background: var(--paper); border: 1.5px solid var(--rule-strong);
}
.lot-tag::after { /* the string */
  content: ""; position: absolute; top: -26px; left: 50%; width: 1.5px; height: 38px;
  background: linear-gradient(var(--brass), var(--brass-deep)); transform: rotate(-8deg); transform-origin: bottom;
}
.lot-tag h3 { font-size: 1.32rem; margin: 6px 0 4px; }
.lot-kicker { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.lot-sub { font-size: .9rem; color: var(--ink-2); margin: 0 0 14px; }
.value-box {
  background: var(--value); border-radius: 12px; padding: 12px 16px; margin: 0 0 14px;
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.value-box small { font-size: .78rem; color: var(--ink-2); font-weight: 600; }
.value-box strong { font-family: var(--display); font-size: 1.55rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.chip {
  font-size: .76rem; font-weight: 600; color: var(--brass-deep);
  background: var(--brass-soft); border-radius: 999px; padding: 4px 10px;
}
.tag-note { font-size: .82rem; color: var(--ink-2); margin: 0; padding: 10px 12px; border-radius: 10px; background: #FEF3D6; display: flex; gap: 8px; }
.tag-note + .tag-note { margin-top: 8px; }
.tag-note.warn { background: var(--warn-soft); color: var(--warn-ink); }
.badge {
  display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 6px; border: 1px solid currentColor; line-height: 1.2; white-space: nowrap;
}
.badge-likely { color: var(--brass-deep); background: var(--brass-soft); border-color: var(--rule-strong); }
.badge-probable { color: var(--ink-2); background: var(--card); border-color: var(--rule-strong); }
.badge-uncertain { color: var(--rose-deep); background: var(--rose-soft); border-color: #F2A9C3; }
@keyframes slot-in { to { opacity: 1; transform: none; } }
@keyframes tag-swing {
  0% { opacity: 0; transform: translateY(-18px) rotate(-7deg); }
  45% { opacity: 1; transform: rotate(3deg); }
  70% { transform: rotate(-1.5deg); }
  100% { opacity: 1; transform: rotate(0); }
}
@media (max-width: 520px) {
  .lot-tag { width: 100%; margin-top: 22px; padding: 28px 18px 18px; }
  .slot-img { height: 46px; }
}

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: 0 1px 2px rgba(31, 24, 19, .04);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: .98rem; margin-bottom: 0; }
.card-link { display: block; color: inherit; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card-link:hover { color: inherit; transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--rule-strong); }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brass-soft); color: var(--brass-deep); margin-bottom: 16px;
}
.card-icon.rose { background: var(--rose-soft); color: var(--rose-deep); }
.card-icon.ink { background: var(--ink); color: var(--value); }
.card-more { display: inline-block; margin-top: 14px; font-weight: 650; font-size: .92rem; color: var(--brass-deep); }
.card-link:hover .card-more { color: var(--rose); }
.section-ink .card { background: #2A221C; border-color: #3D3229; }
.section-ink .card p { color: #CFC2AE; }

/* "What it will and won't do" two-column list */
.truth { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.truth ul, .prose .truth ul { list-style: none; margin: 0; padding: 0; }
.truth li { position: relative; padding: 10px 0 10px 32px; border-bottom: 1px solid var(--rule); font-size: .98rem; }
.truth li:last-child { border-bottom: 0; }
.truth .does li::before, .truth .doesnt li::before {
  position: absolute; left: 0; top: 10px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: .78rem; font-weight: 800;
}
.truth .does li::before { content: "✓"; background: #E1EDDC; color: var(--ok); }
.truth .doesnt li::before { content: "—"; background: var(--rose-soft); color: var(--rose-deep); }
@media (max-width: 760px) { .truth { grid-template-columns: 1fr; } }

/* ---------- Screenshots ---------- */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 0; padding: 0; list-style: none; }
.shot { position: relative; margin: 0; }
.shot img { border-radius: 22px; box-shadow: var(--shadow); background: var(--paper-2); }
.shot figcaption { font-size: .88rem; color: var(--ink-2); margin-top: 12px; line-height: 1.45; }
.shot figcaption strong { display: block; color: var(--ink); font-family: var(--display); font-size: 1.02rem; font-weight: 600; }
.zoomable { transition: transform .2s ease; }
.zoomable:hover { transform: translateY(-3px); }
.zoom-hint {
  position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(31, 24, 19, .7); color: #fff; font-size: 1rem;
  pointer-events: none;
}
@media (max-width: 960px) { .shots { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .shots { grid-auto-flow: column; grid-auto-columns: 72%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
  .shot { scroll-snap-align: start; }
}
.lightbox .lightbox-close:hover, .lightbox .lightbox-prev:hover, .lightbox .lightbox-next:hover { background: rgba(255, 255, 255, .28) !important; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; margin: 0; padding: 0; list-style: none; }
.step {
  counter-increment: step; position: relative;
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 30px 24px 24px;
}
.step::before {
  content: counter(step, upper-roman); display: block;
  font-family: var(--display); font-style: italic; font-size: 2.1rem; font-weight: 500; line-height: 1;
  color: var(--brass); margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: .98rem; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: var(--wrap-narrow); margin: 0 auto; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative;
  font-family: var(--display); font-weight: 600; font-size: 1.14rem; line-height: 1.35;
  font-variation-settings: "opsz" 30;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 16px; font-family: var(--sans); font-weight: 400;
  font-size: 1.6rem; color: var(--brass); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 20px; color: var(--ink-2); }
.faq .answer p:last-child { margin-bottom: 0; }
.learn-more { display: inline-block; margin-top: 8px; font-weight: 650; font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(207, 29, 94, .22), transparent 70%),
    var(--ink);
  color: #F4ECDD; text-align: center; padding: 84px 0;
}
.cta-band h2 { color: #FFF8EC; }
.cta-band .lede { color: #D9CDBA; max-width: 560px; margin: 0 auto 30px; }
.cta-band .btn-row { justify-content: center; gap: 22px; }
.cta-band .btn-note { color: #B9AB96; }
.cta-band .qr-text { color: #D9CDBA; }
.cta-band .qr-text strong { color: #FFF8EC; }
.cta-icon { margin: 0 auto 22px; border-radius: 18px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--rule); padding: 60px 0 30px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--rose); }
.site-footer .brand { color: var(--ink); }
.tagline { color: var(--ink-2); margin-top: 14px; max-width: 300px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid var(--rule); margin-top: 44px; padding-top: 22px; color: var(--muted); font-size: .84rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Guide & article pages ---------- */
.guide-hero { padding: 44px 0 30px; border-bottom: 1px solid var(--rule); background: linear-gradient(var(--paper-2), var(--paper)); }
.guide-hero h1 { font-size: clamp(2.05rem, 4.6vw, 3.1rem); margin-bottom: 16px; }
.guide-hero .lede { margin-bottom: 18px; }
.crumbs { font-size: .86rem; color: var(--muted); margin-bottom: 20px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--rule-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--rose); }
.guide-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .86rem; color: var(--muted); margin: 0; }
.guide-body { padding: 48px 0 72px; }
.prose { font-size: 1.06rem; }
.prose h2 { font-size: clamp(1.55rem, 3vw, 2rem); margin: 2.1em 0 .6em; scroll-margin-top: 90px; }
.prose h3 { margin: 1.7em 0 .5em; scroll-margin-top: 90px; }
.prose > h2:first-child, .prose > .answer-first + h2 { margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--brass); }
.prose strong { color: var(--ink); }
.prose blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--brass);
  font-family: var(--display); font-style: italic; font-size: 1.2rem; color: var(--ink-2);
}
.answer-first {
  font-size: 1.14rem; background: var(--card); border: 1px solid var(--rule); border-left: 4px solid var(--brass);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin: 0 0 28px;
}
.answer-first p:last-child { margin-bottom: 0; }
.toc { background: var(--paper-2); border-radius: var(--radius); padding: 20px 24px; margin: 0 0 32px; font-size: .96rem; }
.toc strong { display: block; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin: 4px 0; }
.toc a { text-decoration: none; color: var(--ink-2); }
.toc a:hover { color: var(--rose); text-decoration: underline; }
.callout {
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 18px 22px; margin: 1.6em 0; font-size: 1rem;
}
.callout > strong:first-child, .callout-title { display: block; font-family: var(--display); font-size: 1.08rem; margin-bottom: 6px; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout-brass { background: var(--brass-soft); border-color: var(--rule-strong); }
.callout-warn { background: var(--warn-soft); border-color: #F0B9B1; color: var(--warn-ink); }
.callout-warn strong { color: var(--warn-ink); }
.callout-app { background: var(--ink); border-color: var(--ink); color: #E8DECD; }
.callout-app strong, .callout-app .callout-title { color: #FFF8EC; }
.callout-app a { color: var(--value); }
.walk { list-style: none; counter-reset: walk; padding: 0 !important; margin: 1.4em 0 1.6em !important; }
.walk > li {
  counter-increment: walk; position: relative; padding: 2px 0 18px 36px;
  border-left: 1.5px solid var(--rule); margin: 0 0 0 17px !important;
}
.walk > li:last-child { border-left-color: transparent; padding-bottom: 4px; }
.walk > li::before {
  content: counter(walk); position: absolute; left: -18px; top: 0;
  width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #FFF8EC;
  display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 1rem;
}
.walk > li > strong:first-child { display: block; font-size: 1.04rem; margin-bottom: 2px; }
.table-scroll { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--card); }
.table-scroll table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .95rem; }
.table-scroll th, .table-scroll td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.table-scroll thead th { background: var(--paper-2); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.table-scroll tbody tr:last-child td { border-bottom: 0; }
.table-scroll td.yes { color: var(--ok); font-weight: 650; }
.table-scroll td.no { color: var(--rose-deep); font-weight: 650; }
.table-scroll td.partial { color: var(--brass-deep); font-weight: 650; }
.table-scroll .col-us { background: #FFF6E4; }
.table-note { font-size: .84rem; color: var(--muted); margin: -.8em 0 1.6em; }
.guide-shot { position: relative; margin: 1.8em auto; max-width: 320px; }
.guide-shot img { border-radius: 22px; box-shadow: var(--shadow); }
.guide-shot figcaption { font-size: .88rem; color: var(--muted); text-align: center; margin-top: 12px; line-height: 1.45; }
.guide-shot.wide { max-width: 100%; }
.related { padding: 64px 0; background: var(--paper-2); border-top: 1px solid var(--rule); }
.related h2 { margin-bottom: 26px; }
.related .card h3 { font-size: 1.12rem; }
.updated-note { font-size: .86rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 16px; margin-top: 40px; }

/* Hub list (guides index) */
.hub-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .slot { opacity: 1; transform: none; }
  .lot-tag { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  section { padding: 64px 0; }
  .guide-body { padding: 36px 0 56px; }
  .answer-first { padding: 16px 18px; }
}
