.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 68px;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; min-width: 205px; }
.brand img { width: 198px; height: auto; display: block; }
.main-nav { display: flex; align-items: stretch; align-self: stretch; gap: 2px; }
.main-nav a { position: relative; display: inline-flex; align-items: center; padding: 0 11px; color: var(--ink-700); font-size: .87rem; font-weight: 700; }
.main-nav a::after { content: ""; position: absolute; right: 11px; bottom: -1px; left: 11px; height: 2px; background: transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink-950); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { background: var(--primary); }
.header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 15px; color: white; background: var(--ink-950); border: 1px solid var(--ink-950); border-radius: var(--radius-sm); font-size: .84rem; font-weight: 800; }
.header-cta:hover { background: var(--primary-strong); }
.menu-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line-strong); background: white; border-radius: var(--radius-sm); }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 17px; height: 1.5px; margin: 4px auto; background: var(--ink-950); transition: .2s; }

.hero {
  position: relative;
  min-height: 505px;
  padding: 78px 0 84px;
  color: var(--ink-950);
  background: #f4f0f1;
  border-bottom: 1px solid var(--line);
}
.hero::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(180deg, var(--primary), var(--accent)); }
.hero::after { display: none; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(350px, .94fr); gap: 64px; align-items: center; }
.hero-copy { max-width: 690px; }
.hero-copy .eyebrow { color: var(--primary); }
.hero h1 { max-width: 690px; }
.hero h1 span { display: block; margin-top: 8px; color: var(--ink-700); font-size: .55em; font-weight: 650; letter-spacing: -.015em; }
.hero .lead { max-width: 640px; margin-top: 22px; color: var(--ink-700); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 24px; color: var(--ink-500); font-size: .81rem; }
.hero-proof span { display: inline-flex; gap: 8px; align-items: center; }
.hero-proof span::before { content: ""; width: 6px; height: 6px; background: var(--teal); border-radius: 1px; }
.hero-visual { position: relative; }
.hero-panel { position: relative; padding: 25px; background: white; border: 1px solid var(--line-strong); border-top: 3px solid var(--primary); box-shadow: var(--shadow-md); border-radius: var(--radius-md); }
.hero-panel-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hero-panel-label { color: var(--ink-500); font-size: .75rem; font-weight: 800; letter-spacing: .03em; }
.hero-badge { padding: 4px 8px; color: var(--primary-strong); background: #eceef4; border: 1px solid #d2d6e1; border-radius: var(--radius-sm); font-size: .7rem; font-weight: 800; }
.hero-net { color: var(--ink-950); font-size: clamp(2.25rem, 4vw, 3.7rem); font-weight: 850; letter-spacing: -.045em; }
.hero-net small { font-size: .95rem; letter-spacing: 0; }
.hero-mini-chart { display: flex; align-items: end; gap: 8px; height: 88px; margin-top: 22px; padding: 0 5px 9px; border-bottom: 1px solid var(--line); }
.hero-mini-chart i { flex: 1; display: block; height: var(--h); background: #6f7ca4; border-radius: 2px 2px 0 0; }
.hero-mini-chart i:nth-child(2), .hero-mini-chart i:nth-child(5) { background: #d8b27d; }
.hero-mini-chart i:nth-child(3), .hero-mini-chart i:nth-child(6) { background: #62afa3; }
.hero-panel-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 18px; border: 1px solid var(--line); }
.hero-panel-meta div { padding: 12px 14px; background: #fbfafb; border-right: 1px solid var(--line); }
.hero-panel-meta div:last-child { border-right: 0; }
.hero-panel-meta span { display: block; color: var(--ink-500); font-size: .7rem; }
.hero-panel-meta strong { color: var(--ink-950); font-size: .98rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 19px; border: 1px solid transparent; border-radius: var(--radius-sm); font-weight: 800; transition: background .18s, border-color .18s, color .18s; }
.btn:hover { transform: none; }
.btn-primary { color: white; background: var(--ink-950); border-color: var(--ink-950); box-shadow: none; }
.btn-primary:hover { background: var(--primary-strong); }
.btn-secondary { color: var(--ink-950); background: transparent; border-color: var(--line-strong); }
.btn-secondary:hover { background: white; }
.btn-dark { color: white; background: var(--ink-950); border-color: var(--ink-950); }
.btn-dark:hover { background: var(--primary-strong); }
.btn-outline { color: var(--ink-950); background: white; border-color: var(--line-strong); }
.btn-outline:hover { background: var(--surface-soft); }

.trust-strip { position: relative; z-index: 5; margin-top: 0; background: white; border-bottom: 1px solid var(--line); }
.trust-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); background: white; border-right: 1px solid var(--line); border-left: 1px solid var(--line); box-shadow: none; border-radius: 0; overflow: hidden; }
.trust-item { padding: 19px 22px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-size: .93rem; }
.trust-item span { color: var(--ink-500); font-size: .77rem; }

.card { background: white; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.tool-card { position: relative; display: flex; flex-direction: column; min-height: 218px; padding: 22px; overflow: hidden; transition: border-color .18s, background .18s; }
.tool-card:hover { transform: none; border-color: #9da5b7; box-shadow: var(--shadow-sm); background: #fdfcfd; }
.tool-card::after { display: none; }
.tool-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; color: var(--primary-strong); background: var(--surface-warm); border: 1px solid #e6d8c6; border-radius: var(--radius-sm); font-weight: 900; }
.tool-card:nth-child(3n+2) .tool-icon { background: #edf5f3; border-color: #cfe3df; }
.tool-card:nth-child(3n+3) .tool-icon { background: #f0ebf1; border-color: #ddd1df; }
.tool-card p { margin-top: 9px; color: var(--ink-500); font-size: .88rem; }
.tool-link { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 17px; color: var(--primary-strong); font-size: .84rem; font-weight: 850; }
.tool-link::after { content: "→"; }

.quick-table { width: 100%; border-collapse: collapse; background: white; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.quick-table th, .quick-table td { padding: 15px 17px; text-align: right; border-bottom: 1px solid var(--line); }
.quick-table th:first-child, .quick-table td:first-child { text-align: left; }
.quick-table thead { background: #303746; color: white; }
.quick-table tbody tr:hover { background: var(--surface-warm); }
.quick-table strong { color: var(--primary-strong); }

.info-card { padding: 22px; }
.info-card-number { display: inline-flex; align-items: center; justify-content: center; min-width: 31px; height: 25px; margin-bottom: 14px; padding: 0 7px; color: white; background: var(--ink-950); border-radius: var(--radius-sm); font-size: .72rem; font-weight: 900; }
.info-card p { margin-top: 9px; color: var(--ink-500); font-size: .88rem; }

.source-card { padding: 21px; }
.source-card strong { display: block; margin-bottom: 8px; }
.source-card a { color: var(--primary-strong); font-size: .84rem; font-weight: 800; }

.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; padding: 20px 2px; display: flex; justify-content: space-between; gap: 24px; color: var(--ink-950); background: transparent; border: 0; text-align: left; font-weight: 800; }
.faq-question::after { content: "+"; flex: 0 0 auto; color: var(--primary); font-size: 1.18rem; }
.faq-question[aria-expanded="true"]::after { content: "−"; }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .24s ease; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { padding: 0 2px 20px; color: var(--ink-700); }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }

.site-footer { padding: 54px 0 26px; color: rgba(255,255,255,.72); background: #242a3b; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 44px; }
.footer-brand img { width: 210px; filter: brightness(0) invert(1); opacity: .94; }
.footer-brand p { max-width: 440px; margin-top: 15px; font-size: .86rem; }
.footer-title { margin-bottom: 13px; color: white; font-weight: 850; }
.footer-links { display: grid; gap: 7px; font-size: .86rem; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); font-size: .76rem; }

.subhero { padding: 56px 0 74px; color: var(--ink-950); background: #f4f0f1; border-bottom: 1px solid var(--line); }
.subhero-inner { max-width: 820px; }
.subhero .eyebrow { color: var(--primary); }
.subhero p { margin-top: 16px; color: var(--ink-700); }
.breadcrumbs { margin-bottom: 22px; color: var(--ink-500); font-size: .78rem; }
.breadcrumbs a:hover { color: var(--ink-950); }
.notice { padding: 15px 17px; color: var(--ink-700); background: #fffaf0; border: 1px solid #e7d3a8; border-radius: var(--radius-sm); font-size: .84rem; }

/* v0.3 accuracy note */
.precision-note{width:min(calc(100% - 40px),var(--container));margin:18px auto 0}
@media(max-width:760px){.precision-note{width:min(calc(100% - 26px),var(--container));margin-top:12px}}

/* v0.3 utility classes replacing inline presentation */
.hero-mini-chart i:nth-child(1){height:42%}
.hero-mini-chart i:nth-child(2){height:55%}
.hero-mini-chart i:nth-child(3){height:48%}
.hero-mini-chart i:nth-child(4){height:68%}
.hero-mini-chart i:nth-child(5){height:74%}
.hero-mini-chart i:nth-child(6){height:88%}
.table-scroll{overflow-x:auto}
.quick-table-note{margin-top:12px}
.source-notice{margin-top:22px}
.methodology-notice{margin-top:24px}
.not-found-shell{max-width:720px;text-align:center}
.not-found-logo{width:260px}
.not-found-eyebrow{margin-top:50px}
.not-found-lead{margin:20px 0 30px}


/* v0.4: editorial content, page-specific tables and FAQs */
.content-index{display:flex;gap:0;border:1px solid var(--line);background:#fff;margin:28px 0 0;overflow-x:auto}.content-index a{flex:1;min-width:150px;padding:14px 16px;border-right:1px solid var(--line);font-size:.88rem;font-weight:650;color:var(--ink-950);text-align:center;white-space:nowrap}.content-index a:last-child{border-right:0}.content-index a:hover{background:var(--surface-soft);color:var(--primary)}
.article-section{padding:72px 0;border-top:1px solid var(--line)}.article-section--soft{background:var(--surface-soft)}.article-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:48px;align-items:start}.article-copy h2{font-size:clamp(1.55rem,2.4vw,2.15rem);margin:0 0 18px}.article-copy h3{font-size:1.12rem;margin:30px 0 10px}.article-copy p{color:var(--ink-700);line-height:1.9;margin:0 0 14px}.article-copy ul{margin:14px 0 0;padding-left:1.2rem;color:var(--ink-700);line-height:1.9}.article-copy strong{color:var(--ink-950)}
.fact-panel{border:1px solid var(--line);background:#fff;padding:22px;position:sticky;top:96px}.fact-panel-title{font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-700);margin-bottom:14px}.fact-list{display:grid;gap:0}.fact-list div{display:grid;grid-template-columns:1fr auto;gap:16px;padding:13px 0;border-top:1px solid var(--line)}.fact-list div:first-child{border-top:0}.fact-list span{font-size:.86rem;color:var(--ink-700)}.fact-list strong{font-size:.9rem;text-align:right}.fact-panel p{font-size:.78rem;color:var(--ink-700);line-height:1.65;margin:14px 0 0}
.data-section{padding:72px 0}.data-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);font-variant-numeric:tabular-nums}.data-table th,.data-table td{padding:15px 18px;border-bottom:1px solid var(--line);text-align:right}.data-table th:first-child,.data-table td:first-child{text-align:left}.data-table thead th{background:#f3f5f8;font-size:.78rem;color:var(--ink-700);font-weight:700;letter-spacing:.03em}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fafbfc}.data-table td strong{color:var(--primary)}.table-caption{font-size:.8rem;line-height:1.7;color:var(--ink-700);margin:14px 0 0}.table-caption a{text-decoration:underline;text-underline-offset:3px}
.key-points{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);background:#fff}.key-point{padding:24px;border-right:1px solid var(--line)}.key-point:last-child{border-right:0}.key-point span{display:block;font-size:.76rem;font-weight:700;color:var(--primary);letter-spacing:.08em;margin-bottom:10px}.key-point h3{font-size:1rem;margin:0 0 8px}.key-point p{font-size:.84rem;color:var(--ink-700);line-height:1.7;margin:0}
.page-faq{padding:72px 0}.page-faq .faq-list{max-width:920px;margin:28px auto 0}.page-faq .faq-item{border-radius:2px}.page-faq .faq-question{font-size:.98rem}
.context-links{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line);margin-top:28px}.context-link{display:block;background:#fff;padding:22px}.context-link span{display:block;font-size:.74rem;color:var(--ink-700);margin-bottom:7px}.context-link strong{display:block;font-size:.98rem}.context-link:hover{background:var(--surface-soft)}
.editorial-box{display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:start;border:1px solid var(--line);background:#fff;padding:22px;margin-top:28px}.editorial-mark{width:42px;height:42px;display:grid;place-items:center;background:var(--primary);color:#fff;font-size:.74rem;font-weight:800;border-radius:2px}.editorial-box h3{font-size:.95rem;margin:0 0 6px}.editorial-box p{font-size:.8rem;color:var(--ink-700);line-height:1.7;margin:0}.editorial-box a{text-decoration:underline;text-underline-offset:3px}
.term-grid{display:grid;grid-template-columns:repeat(2,1fr);border:1px solid var(--line);background:#fff}.term-item{padding:22px;border-bottom:1px solid var(--line)}.term-item:nth-child(odd){border-right:1px solid var(--line)}.term-item:nth-last-child(-n+2){border-bottom:0}.term-item h3{font-size:.98rem;margin:0 0 7px}.term-item p{font-size:.84rem;color:var(--ink-700);line-height:1.7;margin:0}
@media(max-width:900px){.article-layout{grid-template-columns:1fr;gap:26px}.fact-panel{position:static}.key-points{grid-template-columns:1fr}.key-point{border-right:0;border-bottom:1px solid var(--line)}.key-point:last-child{border-bottom:0}.context-links{grid-template-columns:1fr}.term-grid{grid-template-columns:1fr}.term-item:nth-child(odd){border-right:0}.term-item:nth-last-child(2){border-bottom:1px solid var(--line)}}
@media(max-width:640px){.article-section,.data-section,.page-faq{padding:50px 0}.data-table th,.data-table td{padding:12px 13px;font-size:.82rem}.content-index{margin-top:20px}.content-index a{min-width:135px;padding:12px}.editorial-box{grid-template-columns:1fr}.fact-list div{grid-template-columns:1fr;gap:4px}.fact-list strong{text-align:left}}

/* v0.6: consent, advertising and release UI */
.footer-grid { grid-template-columns: 1.25fr .8fr .8fr .8fr; }
.footer-link-button { padding: 0; color: inherit; background: transparent; border: 0; text-align: left; font-size: inherit; }
.footer-link-button:hover { color: #fff; }
.release-status { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; padding: 5px 8px; color: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-sm); font-size: .7rem; }
.release-status::before { content: ""; width: 6px; height: 6px; background: #68b8a9; border-radius: 50%; }

.ad-slot { width: min(calc(100% - 40px), var(--container)); min-height: 0; margin: 22px auto; overflow: hidden; background: transparent; text-align: center; }
.ad-slot.is-ad-enabled { min-height: 110px; padding: 12px; background: #fafafa; border: 1px solid var(--line); }
.ad-label { display: block; margin-bottom: 5px; color: var(--ink-500); font-size: .62rem; letter-spacing: .08em; }

.consent-banner { position: fixed; right: 18px; bottom: 18px; left: 18px; z-index: 150; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; max-width: 1120px; margin-inline: auto; padding: 18px 20px; color: var(--ink-950); background: #fff; border: 1px solid var(--line-strong); border-top: 3px solid var(--primary); box-shadow: 0 18px 48px rgba(26,31,45,.18); border-radius: var(--radius-md); }
.consent-banner__copy strong { display: block; margin-bottom: 3px; font-size: .94rem; }
.consent-banner__copy p { color: var(--ink-700); font-size: .78rem; line-height: 1.65; }
.consent-banner__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.consent-button { min-height: 38px; padding: 0 13px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-size: .75rem; font-weight: 800; }
.consent-button--primary { color: #fff; background: var(--ink-950); border-color: var(--ink-950); }
.consent-button--primary:hover { background: var(--primary-strong); }
.consent-button--secondary { color: var(--ink-950); background: #fff; }
.consent-button--secondary:hover { background: var(--surface-soft); }
.consent-modal { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 20px; }
.consent-modal__backdrop { position: absolute; inset: 0; background: rgba(20,25,37,.58); }
.consent-dialog { position: relative; width: min(100%, 640px); max-height: min(90vh, 760px); overflow-y: auto; padding: 25px; background: #fff; border: 1px solid var(--line-strong); border-top: 3px solid var(--primary); border-radius: var(--radius-md); box-shadow: 0 22px 64px rgba(20,25,37,.25); }
.consent-dialog__header { display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.consent-dialog__eyebrow { color: var(--primary); font-size: .71rem; font-weight: 800; letter-spacing: .08em; }
.consent-dialog h2 { margin-top: 4px; font-size: 1.45rem; }
.consent-close { display: grid; place-items: center; width: 36px; height: 36px; color: var(--ink-950); background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-size: 1.2rem; }
.consent-dialog__intro { margin-top: 13px; color: var(--ink-700); font-size: .84rem; }
.consent-options { margin-top: 20px; border: 1px solid var(--line); }
.consent-option { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); }
.consent-option:last-child { border-bottom: 0; }
.consent-option strong { display: block; font-size: .9rem; }
.consent-option p { margin-top: 3px; color: var(--ink-700); font-size: .75rem; line-height: 1.55; }
.consent-option input { width: 20px; height: 20px; accent-color: var(--primary); }
.consent-required { color: var(--success); font-size: .72rem; font-weight: 800; }
.consent-dialog__links { margin-top: 13px; font-size: .76rem; }
.consent-dialog__links a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.consent-dialog__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }

.status-panel { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 18px; background: #f5faf8; border: 1px solid #cde2dc; border-radius: var(--radius-sm); }
.status-panel__mark { display: grid; place-items: center; width: 34px; height: 34px; color: #fff; background: var(--success); border-radius: var(--radius-sm); font-size: .72rem; font-weight: 850; }
.status-panel h3 { font-size: .95rem; }
.status-panel p { margin-top: 4px; color: var(--ink-700); font-size: .8rem; }
