/* Guide pages (scripts/build-guides.py): long reads on the legal page base, same tokens as cine.css. */
.guide .wrap { max-width: 780px; }
.guide__crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); margin-bottom: 22px; }
.guide__crumbs a { color: var(--muted); text-decoration: none; }
.guide__crumbs a:hover { color: var(--white); }
.guide h1 { font-size: clamp(36px, 5.4vw, 64px); max-width: 18ch; }
.guide .legal__date { margin-bottom: 32px; }
.guide__answer { border: 1px solid rgba(255,255,255,.28); border-left: 3px solid var(--white); background: rgba(255,255,255,.035); padding: 20px 22px; margin: 0 0 36px; }
.guide__answer .label { color: var(--white); margin-bottom: 8px; }
.guide__answer p:last-child { font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.92); max-width: none; }
.guide__toc { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; margin-bottom: 12px; }
.guide__toc .label { color: var(--muted); margin-bottom: 10px; }
.guide__toc ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.guide__toc a { color: rgba(255,255,255,.86); text-decoration: none; }
.guide__toc a:hover { color: var(--white); text-decoration: underline; }
.guide__sec { scroll-margin-top: 110px; }
.guide h2 { font-size: clamp(24px, 2.6vw, 30px); scroll-margin-top: 110px; }
.guide h3 { font: 600 18px/1.3 var(--head); margin: 26px 0 max(10px, 10px); }
.guide p, .guide li { font-size: 17px; line-height: 1.65; }
.guide ol { padding-left: 22px; display: grid; gap: 8px; margin: 12px 0; }
.guide strong { color: var(--white); font-weight: 600; }
.guide table { width: 100%; border-collapse: collapse; margin: 18px 0 8px; font-size: 15px; }
.guide th, .guide td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.guide th { font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.guide td { color: rgba(255,255,255,.86); }
.guide td.num, .guide th.num { text-align: right; font-family: var(--mono); white-space: nowrap; }
.guide caption { caption-side: bottom; text-align: left; font-size: 13px; color: var(--muted); padding-top: 8px; }
.guide__cta { margin: 52px 0 8px; padding: 26px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.04); }
.guide__cta .label { color: var(--muted); margin-bottom: 8px; }
.guide__cta-t { font: 600 clamp(22px, 2.4vw, 28px)/1.15 var(--head); color: var(--white) !important; margin-bottom: 10px; }
.guide__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.guide__q { border-bottom: 1px solid var(--line); }
.guide__faq { margin-top: 12px; }
.guide__faq h2 { margin-bottom: 4px; }
.guide__q:first-of-type { border-top: 1px solid var(--line); }
.guide__q summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; position: relative; min-height: 44px; display: flex; align-items: center; }
.guide__q summary::-webkit-details-marker { display: none; }
.guide__q summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 20px/1 var(--mono); color: var(--muted); }
.guide__q[open] summary::after { content: "\2212"; }
.guide__q summary:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }
.guide__q h3 { margin: 0; font-size: 17px; }
.guide__q p { margin: 0 0 18px; color: var(--muted); }
.guide__src ol { font-size: 15px; }
.guide__src li { font-size: 15px; word-break: break-word; }
.guide__note { margin-top: 18px; font-size: 14px !important; color: var(--muted) !important; }
.guide__rel { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 20px; }
.guide__rel .label { color: var(--muted); margin-bottom: 10px; }
.guide__rel ul { list-style: none; padding: 0; display: grid; gap: 0; }
.guide__rel a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--white); font: 600 18px/1.3 var(--head); }
.guide__rel a:hover .arrow { transform: translateX(3px); }
.guide__rel .arrow, .guide__go .arrow { width: 14px; height: 14px; flex: none; transition: transform .2s; }
.guide__lede { font-size: 19px !important; max-width: 60ch; margin-bottom: 36px; }
.guide__cards { list-style: none; padding: 0 !important; display: grid; gap: 14px !important; }
.guide__cards a { display: grid; gap: 8px; padding: 22px; border: 1px solid var(--line); background: rgba(8,8,8,.88); text-decoration: none; color: inherit; transition: border-color .2s, background-color .2s; }
.guide__cards a:hover { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.04); }
.guide__cards h2 { margin: 0; font-size: clamp(22px, 2.4vw, 28px); color: var(--white); }
.guide__cards .label { color: var(--muted); }
.guide__go { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 500; margin-top: 4px; }
.guide__cards a:hover .arrow { transform: translateX(3px); }
@media (max-width: 600px) {
  .guide p, .guide li { font-size: 16px; }
  .guide__answer { padding: 16px 16px; }
  .guide__cta { padding: 20px 18px; }
  .guide table { font-size: 13px; display: block; overflow-x: auto; }
  .guide th, .guide td { padding: 8px 8px; }
  /* Number cells may hold a short phrase ("6.0%, or 0.6% after credit"): let them wrap on phones so no column sits off-screen */
  .guide td.num, .guide th.num { white-space: normal; min-width: 4.5em; }
}
@media (prefers-reduced-motion: reduce) { .guide__rel .arrow, .guide__go .arrow, .guide__cards a { transition: none; } }

/* Key facts: short, sourced lines (2026-10-27, for answer engines and skimmers) */
.guide__facts { margin: -16px 0 36px; padding: 16px 22px 6px; border: 1px solid rgba(255,255,255,.14); }
.guide__facts .label { color: var(--white); margin-bottom: 6px; }
.guide__facts ul { list-style: none; margin: 0; padding: 0; }
.guide__facts li { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.9); }
.guide__facts li:first-child { border-top: 0; }
.guide__fact-src { display: block; margin-top: 3px; font-size: 12.5px; color: rgba(255,255,255,.55); }
a.guide__fact-src { text-decoration: underline; text-underline-offset: 2px; }
.guide__how, .guide__who { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.75); max-width: 70ch; }
.guide__how b, .guide__who b { color: var(--white); font-weight: 600; }

/* Inline source numbers in the body, [[n]] in the guide JSON (2026-10-27) */
.guide__cite { font-size: max(12px, .72em); line-height: 0; vertical-align: super; margin-left: 1px; }
.guide__cite a { color: rgba(255,255,255,.6); text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 2px; padding: 0 1px; }
.guide__cite a:hover, .guide__cite a:focus-visible { color: var(--white); text-decoration: underline; }
/* Jump links (contents, source numbers) land below the fixed header, not under it */
.guide [id] { scroll-margin-top: 96px; }
.guide__src li:target { background: rgba(255,255,255,.08); outline: 1px solid rgba(255,255,255,.25); outline-offset: 4px; }
