/* Compact editorial layouts share the site's colors, type, and image lightbox. */
.ledger-page { --text-muted: #8b99b0; }
.ledger-page section, .ledger-page [id] { scroll-margin-top: 90px; }
.ledger-page :focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
.ledger-page .section { padding-block: clamp(48px, 5.5vw, 76px); }
.ledger-page .eyebrow { font-size: .72rem; margin-bottom: 16px; }
.ledger-page .site-menu a { font-size: .875rem; }
.ledger-page .shell { max-width: 1180px; }
.ledger-page h2 { margin: 0; font-size: clamp(2rem, 3.1vw, 3rem); line-height: 1.1; letter-spacing: -.045em; }
.ledger-page h3 { letter-spacing: -.02em; }
.tour-layout, .thesis-layout, .ownership-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.tour-copy { min-width: 0; }
.tour-copy > p:not(.eyebrow) { margin: 18px 0 0; max-width: 530px; color: var(--text-secondary); font-size: .95rem; line-height: 1.7; }
.tour-copy strong { color: var(--text-primary); }
.tour-quote { display: block; padding-left: 16px; border-left: 2px solid var(--purple); color: var(--text-primary); }
/* Full-resolution evidence belongs in the lightbox, not across an entire laptop viewport. */
.ledger-shot { min-width: 0; margin: 0; }
.ledger-shot > .image-button { display: block; width: 100%; padding: 0; overflow: hidden; border: 1px solid var(--border-light); border-radius: 10px; background: #090911; cursor: zoom-in; }
.ledger-shot img { display: block; width: 100%; height: auto; }
.ledger-shot figcaption { display: flex; justify-content: space-between; gap: 8px; padding: 9px 5px 3px; font-size: .68rem; line-height: 1.45; color: var(--text-secondary); }
.ledger-shot figcaption strong { color: var(--text-primary); }
.ledger-shot figcaption span { color: var(--cyan); }
.ledger-opening { min-height: 0; padding: 126px 0 26px; }
.ledger-hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 54px; }
.ledger-opening .hero-copy { text-align: left; margin: 0; }
.ledger-opening h1 { font-size: clamp(2.7rem, 4.4vw, 4.3rem); line-height: 1.02; letter-spacing: -.055em; }
.ledger-opening .hero-lede { margin: 22px 0 0; font-size: 1rem; line-height: 1.65; }
.ledger-opening .hero-support { margin: 14px 0 0; font-size: .9rem; line-height: 1.7; }
.ledger-opening .hero-actions { justify-content: flex-start; margin-top: 24px; gap: 10px; }
.ledger-hero-note, .evidence-hint { color: var(--text-secondary); font-size: .72rem; line-height: 1.6; margin-top: 14px; }
.hero-evidence { position: relative; }
.hero-evidence .ledger-shot > .image-button { border: 0; border-radius: 0; background: transparent; }
.hero-evidence .ledger-shot > .image-button { max-height: 365px; }
.hero-evidence img { max-height: 365px; object-fit: contain; }
.evidence-hint { margin: 10px 5px 0; }
.tour-jump-links { display: flex; flex-wrap: wrap; gap: 12px 26px; padding-top: 32px; margin-top: 30px; border-top: 1px solid var(--border); }
.tour-jump-links a { color: var(--text-secondary); font-size: .78rem; }
.tour-jump-links a:hover { color: var(--cyan); }
.ledger-thesis { background: #0a0a13; }
.review-steps { list-style: none; padding: 0; margin: 0; }
.review-steps li { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.review-steps li:first-child { padding-top: 0; }
.review-steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.review-steps li > span { color: var(--cyan); font: .75rem var(--font-mono); padding-top: 5px; }
.review-steps h3 { margin: 0 0 6px; font-size: 1rem; }
.review-steps p { margin: 0; color: var(--text-secondary); font-size: .85rem; line-height: 1.65; }
/* Staggered previews make every screen discoverable within a bounded composition. */
.tour-stage { position: relative; isolation: isolate; min-width: 0; height: 390px; }
.tour-stage::before { content: ""; position: absolute; inset: 10% 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse, #8b35ff1c, transparent 70%); }
.tour-preview { position: absolute; padding: 6px; border: 1px solid #ffffff20; border-radius: 13px; background: #10101c; box-shadow: 0 14px 35px #0007; transition: transform .18s ease, border-color .18s ease; }
.tour-stage-duo .tour-preview { width: 68%; }
.tour-stage-duo .preview-1 { top: 0; left: 0; transform: rotate(-4deg); z-index: 1; }
.tour-stage-duo .preview-2 { bottom: 0; right: 0; transform: rotate(3deg); z-index: 2; }
.tour-stage-trio { height: 440px; }
.tour-stage-trio .tour-preview { width: 57%; }
.tour-stage-trio .preview-1 { top: 0; left: 1%; transform: rotate(-5deg); z-index: 1; }
.tour-stage-trio .preview-2 { top: 25%; right: 0; transform: rotate(4deg); z-index: 2; }
.tour-stage-trio .preview-3 { bottom: 0; left: 5%; transform: rotate(-2deg); z-index: 3; }
.tour-stage .tour-preview:hover, .tour-stage .tour-preview:focus-within { z-index: 8; transform: translateY(-4px) rotate(0); border-color: var(--cyan); }
.capture-pending { margin: 22px 0 0; color: var(--text-secondary); font-size: .72rem; line-height: 1.7; }
.ledger-playbook, .ledger-ownership { background: #0b0b15; }
.ownership-points { display: grid; gap: 22px; }
.ownership-points article { padding: 20px 24px; border-left: 1px solid var(--border-light); }
.ownership-points h3 { font-size: 1.08rem; margin: 0 0 10px; }
.ownership-points p { margin: 0; color: var(--text-secondary); font-size: .9rem; line-height: 1.7; }
/* Five mentor views occupy one gallery, instead of several full-width screenshot rows. */
.tour-stage-mentor { height: 430px; }
.tour-stage-mentor .preview-1 { width: 60%; left: 0; top: 0; transform: rotate(-3deg); z-index: 1; }
.tour-stage-mentor .preview-2 { width: 63%; right: 0; top: 20%; transform: rotate(3deg); z-index: 2; }
.tour-stage-mentor .preview-3, .tour-stage-mentor .preview-4, .tour-stage-mentor .preview-5 { width: 31%; bottom: 0; z-index: 3; }
.tour-stage-mentor .preview-3 { left: 0; transform: rotate(-3deg); }
.tour-stage-mentor .preview-4 { left: 34.5%; transform: translateY(-10px); }
.tour-stage-mentor .preview-5 { right: 0; transform: rotate(3deg); }
.tour-stage-mentor .preview-3 figcaption, .tour-stage-mentor .preview-4 figcaption, .tour-stage-mentor .preview-5 figcaption { font-size: .6rem; }
.mentor-boundaries { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }
.mentor-boundaries h3 { margin: 0 0 10px; font-size: 1rem; }
.mentor-boundaries p { margin: 0; color: var(--text-secondary); font-size: .8rem; line-height: 1.7; }
.mentor-boundaries .capture-pending { margin-top: 10px; font-size: .7rem; }
.text-link { display: inline-block; margin-top: 12px; color: var(--cyan); font-size: .8rem; }
.offers-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 30px; }
.offers-heading > p { max-width: 420px; margin: 0; color: var(--text-secondary); font-size: .95rem; line-height: 1.7; }
/* Shared row tracks align both offers even when product copy wraps. */
.offers-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.offers-grid .price-card { display: grid; grid-template-rows: 64px auto 1fr auto auto; gap: 16px; min-width: 0; padding: 28px; text-align: left; }
@supports (grid-template-rows: subgrid) {
  .offers-grid .price-card { grid-row: span 5; grid-template-rows: subgrid; }
}
.offer-product { display: flex; align-items: center; gap: 16px; min-height: 56px; }
.ledger-price-logo { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 10px; margin: 0; }
.offers-grid .price-label { margin: 0; font-size: 1rem; line-height: 1.4; text-align: left; }
.offers-grid .offer-price { padding-top: 8px; }
.offers-grid .price { justify-content: flex-start; margin: 0 0 8px; font-size: 3.7rem; line-height: 1; text-align: left; }
.offers-grid .price-note { margin: 0; font-size: .78rem; line-height: 1.6; text-align: left; }
.offers-grid ul { display: grid; align-content: start; gap: 12px; margin: 0; padding: 20px 0; }
.offers-grid li { font-size: .85rem; line-height: 1.6; }
.offers-grid .platform-note { margin: 0; font-size: .72rem; line-height: 1.65; text-align: center; }
.offers-grid .button { min-height: 48px; }
.offers-requirements { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 20px; }
.offers-requirements p { margin: 0; color: var(--text-secondary); font-size: .76rem; line-height: 1.7; }
.offers-requirements strong { color: var(--text-primary); }
.ledger-page .faq-grid { grid-template-columns: .7fr 1.3fr; gap: 52px; }
.ledger-page .accordion summary { padding-block: 18px; }
.ledger-page .footer nav { flex-wrap: wrap; }
.ledger-source-note { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.ledger-source-note p { margin: 0; color: var(--text-muted); font-size: .72rem; line-height: 1.72; }
.ledger-source-note a { color: var(--text-secondary); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1000px) {
  .ledger-page .site-menu { gap: 16px; }
  .ledger-page .brand { letter-spacing: .05em; }
  .ledger-hero-layout { gap: 30px; }
  .tour-stage { height: 330px; }
  .tour-stage-trio, .tour-stage-mentor { height: 370px; }
}
@media (max-width: 760px) {
  .ledger-opening { padding-top: 110px; }
  .ledger-hero-layout, .tour-layout, .thesis-layout, .ownership-layout, .ledger-page .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ledger-opening h1 { max-width: 540px; }
  .hero-evidence { width: min(94%, 480px); margin-inline: auto; }
  .hero-evidence .ledger-shot > .image-button, .hero-evidence img { max-height: 300px; }
  .tour-reverse .tour-copy { grid-row: 1; }
  .tour-stage { width: min(100%, 490px); margin-inline: auto; height: clamp(280px, 78vw, 390px); }
  .tour-stage-trio, .tour-stage-mentor { height: clamp(330px, 88vw, 430px); }
  .mentor-boundaries { gap: 22px; margin-top: 28px; }
  .offers-heading { display: block; }
  .offers-heading > p { margin-top: 18px; }
  .offers-grid { gap: 14px; }
  .offers-grid .price-card { padding: 18px; }
  .ledger-page .brand { font-size: .875rem; }
}
@media (max-width: 540px) {
  .offers-grid, .offers-requirements, .mentor-boundaries { grid-template-columns: minmax(0, 1fr); }
  .tour-stage-mentor .ledger-shot figcaption { font-size: .58rem; }
  .ledger-page h2 { font-size: 2rem; }
  .tour-jump-links { gap: 16px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tour-preview, .ledger-page .button, .ledger-page .site-nav { transition: none; }
}

/* Keep the requested lead screens above their companion previews. */
.tour-stage .preview-front { z-index: 5; }

.tour-stage-day .journal-preview { right: 0; bottom: 0; top: auto; width: 44%; transform: rotate(3deg); z-index: 4; }

.tour-stage-playbook .library-preview { right: 0; bottom: 0; width: 44%; transform: rotate(3deg); z-index: 4; }
