/* Authority for public-site (non-product) components consumed by guides,
   legal pages and the landing. Load after crest-page-chrome.css.
   Token-driven themes and intrinsic reflow; no viewport media queries. */
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); font-family: var(--body); line-height: 1.55; }
body { margin: 0; min-width: 320px; background: var(--panel); }
html[data-theme="dark"] body { background: var(--paper); }
a { color: inherit; text-decoration-color: var(--link-decoration); text-underline-offset: 3px; }
:where(a, button, summary, [tabindex]):focus-visible { outline: var(--focus-outline); outline-offset: var(--focus-offset); }
.site-main { width: min(var(--grid-max), calc(100% - clamp(22px, 4vw, 32px))); margin-inline: auto; display: grid; gap: var(--space-5); padding-block: clamp(30px, 6vw, 66px) 56px; }
.hero { display: grid; gap: 18px; max-width: 820px; }
.kicker { margin: 0; color: var(--teal); font-size: var(--type-kicker); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
h1, h2, h3 { margin: 0; color: var(--navy); }
h1 { font-size: var(--type-display); line-height: 1.02; }
h2 { font-size: var(--type-title); line-height: 1.08; }
h3 { font-size: var(--type-heading); line-height: 1.25; }
.dek { margin: 0; font-size: var(--type-lede); color: var(--muted); max-width: 720px; }
p, li { color: var(--muted); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.primary-action, .secondary-action { display: inline-flex; align-items: center; justify-content: center; min-height: var(--action-height); border-radius: var(--action-radius); padding: 10px 16px; font: 700 var(--type-body)/1.2 var(--body); text-decoration: none; }
.primary-action { border: 1px solid var(--teal-action); background: var(--teal-action); color: var(--panel); }
.primary-action:hover, .primary-action:focus-visible { border-color: var(--teal-strong); background: var(--teal-strong); }
html[data-theme="dark"] .primary-action { color: var(--crest-dark-canvas); }
.secondary-action { border: 1px solid var(--line); background: var(--panel-soft); color: var(--navy); }
.secondary-action:hover { background: var(--teal-soft); }
.action-with-detail { flex-direction: column; max-width: 100%; margin-top: var(--space-2); cursor: pointer; }
.action-with-detail[hidden] { display: none; }
.action-detail { font: 400 var(--type-detail)/1.55 var(--body); }
.article-layout { display: flex; flex-wrap: wrap; gap: clamp(22px, 4vw, 42px); align-items: flex-start; }
.article-content { flex: 1 1 640px; min-width: 0; display: grid; gap: 28px; }
.side-panel { flex: 1 1 240px; max-width: 320px; position: sticky; top: calc(var(--topbar-offset) + 8px); display: grid; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--surface-radius); background: var(--panel-soft); }
.panel { border: 1px solid var(--line); border-radius: var(--surface-radius); background: var(--panel-soft); padding: clamp(18px, 3vw, 28px); }
.check-list, .number-list { display: grid; gap: 12px; margin: 16px 0 0; padding-left: 20px; }
.source-list { display: grid; gap: 8px; margin: 12px 0 0; padding-left: 20px; font-size: var(--type-detail); }
.note { border-left: 4px solid var(--gold); padding: 13px 16px; background: color-mix(in srgb, var(--gold-soft) 36%, transparent); color: var(--ink); }
.example-card { display: grid; gap: 10px; margin-top: 18px; padding: 18px; border: 1px solid var(--line); border-radius: var(--surface-radius); background: var(--panel); font-size: var(--type-body); }
.example-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.example-row:last-child { border-bottom: 0; padding-bottom: 0; }
.example-subject { color: var(--teal); font-weight: 700; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-left: 3px solid var(--teal); border-radius: var(--surface-radius); background: var(--panel-soft); padding: clamp(16px, 2vw, 20px); }
.faq-item h3 { font-size: var(--type-heading); }
.faq-item p { color: var(--ink); font-size: var(--type-body); }
/* Shared reading column used by guide journey sections */
.article-journey { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.article-reading { max-width: 680px; margin: 56px auto 0; display: grid; gap: 48px; }
.article-reading h2 { font-size: 32px; line-height: 1.15; margin-top: 12px; }
.article-reading p { font-size: 18px; line-height: 1.65; }
.article-reading details { border-top: 1px solid var(--line); }
.article-reading summary { cursor: pointer; padding: 16px 0; min-height: 44px; font-weight: 700; line-height: 1.5; }
.table-wrap { max-inline-size: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--action-radius); background: var(--panel); }
table { inline-size: 100%; min-inline-size: 760px; border-collapse: collapse; table-layout: fixed; }
th, td { padding: 14px; border-block-end: 1px solid var(--line); text-align: start; vertical-align: top; overflow-wrap: anywhere; }
th { color: var(--navy); background: var(--table-head-bg); font-size: 14px; }
tbody tr:last-child td { border-block-end: 0; }
td:first-child { color: var(--navy); font-weight: 700; }
@media print { .side-panel, .actions { display: none; } }
