
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/schibsted-grotesk-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/schibsted-grotesk-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/schibsted-grotesk-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/schibsted-grotesk-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/jetbrains-mono-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/jetbrains-mono-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Grotesk Fallback'; src: local('Arial'); size-adjust: 97%; ascent-override: 96%; descent-override: 25%; }
:root {
  --brand-50: #FDF1F4;
  --brand-100: #FBDFE6;
  --brand-200: #F7BFCD;
  --brand-300: #F490A9;
  --brand-400: #EE6386;
  --brand-500: #E23C65;
  --brand-600: #D92653;
  --brand-700: #C11F48;
  --brand-800: #8B1835;
  --brand-900: #541222;
  --ink-0: #FFFFFF;
  --ink-50: #F7F7FA;
  --ink-100: #EFEEF3;
  --ink-200: #E0DEE7;
  --ink-300: #C0BECA;
  --ink-400: #8E8B9C;
  --ink-500: #6C687D;
  --ink-600: #57536A;
  --ink-700: #363248;
  --ink-800: #1E1C2C;
  --ink-900: #151320;
  --ink-950: #0C0B14;
  --bg: #FFFFFF;
  --surface-1: #F7F7FA;
  --surface-2: #FFFFFF;
  --surface-3: #EFEEF3;
  --text: #151320;
  --text-muted: #57536A;
  --border-subtle: #E0DEE7;
  --border-strong: #151320;
  --accent: #D92653;
  --accent-hover: #C11F48;
  --on-accent: #FFFFFF;
  --link: #C11F48;
  --focus-ring: #EE6386;
  --up: #08743A;
  --down: #BF3216;
  --success-fg: #0B6B37;
  --success-bg: #E7F5EC;
  --success-border: #8FCBA6;
  --warning-fg: #7A4D00;
  --warning-bg: #FFF4DC;
  --warning-border: #E8C25A;
  --danger-fg: #A3260F;
  --danger-bg: #FDECE7;
  --danger-border: #EFA08D;
  --info-fg: #363248;
  --info-bg: #F7F7FA;
  --info-border: #C0BECA;
  --accent-subtle: var(--brand-50); --accent-muted: var(--brand-200); --scrim: rgba(7, 10, 18, 0.5);
  --band-bg: #151320; --band-surface: #1E1B2C; --band-fg: #F4F3FA; --band-muted: #B3B0C6; --band-accent: #F490A9; --band-border: rgba(244, 246, 250, 0.16);
  --accent-2: #F490A9; --accent-2-soft: #F7BFCD; --accent-2-ink: #8B1835; --band-up: #43D486; --band-down: #FF8466;
  --photo-scrim: linear-gradient(to top, rgba(7, 10, 18, 0.92) 0%, rgba(7, 10, 18, 0.6) 48%, rgba(7, 10, 18, 0.05) 85%); --on-photo: #FFFFFF;
  --on-photo-86: rgba(255, 255, 255, 0.86); --on-photo-82: rgba(255, 255, 255, 0.82); --on-photo-75: rgba(255, 255, 255, 0.75); --on-photo-45: rgba(255, 255, 255, 0.45); --on-photo-35: rgba(255, 255, 255, 0.35); --on-photo-15: rgba(255, 255, 255, 0.15);
  --photo-btn-bg: rgba(7, 10, 18, 0.55); --tile-scrim: linear-gradient(to top, rgba(7, 10, 18, 0.88), rgba(7, 10, 18, 0.15) 70%); --mask-solid: #000;
  --font-sans: 'Schibsted Grotesk', 'Grotesk Fallback', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --fs-body: 1.0625rem; --fs-sm: 0.9375rem; --fs-xs: 0.875rem; --fs-2xs: 0.8125rem; --fs-lg: 1.1875rem;
  --fs-h3: clamp(1.1875rem, 1.05rem + 0.5vw, 1.375rem); --fs-h2: clamp(1.4375rem, 1.2rem + 1vw, 1.875rem); --fs-h1: clamp(2rem, 1.45rem + 2.4vw, 3.25rem); --fs-display: clamp(2.375rem, 1.6rem + 3.4vw, 4rem);
  --lh-body: 1.65; --lh-tight: 1.08; --lh-heading: 1.16; --measure: 39rem; --track-tight: -0.022em; --track-caps: 0.08em;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px; --sp-6: 28px; --sp-7: 40px; --sp-8: 56px; --sp-9: 80px; --sp-10: 112px;
  --container: 1180px; --gutter: 32px; --rail: 200px; --measure-wide: 820px;
  --radius-sm: 6px; --radius: 10px; --radius-lg: 14px; --radius-pill: 999px; --rule: 1px; --rule-thick: 3px;
  --elev-0: none; --elev-1: 0 1px 2px rgba(10, 18, 36, 0.06), 0 1px 1px rgba(10, 18, 36, 0.04); --elev-2: 0 6px 20px -6px rgba(10, 18, 36, 0.16), 0 2px 6px rgba(10, 18, 36, 0.06); --elev-3: 0 18px 40px -12px rgba(10, 18, 36, 0.28);
  --z-base: 1; --z-sticky: 100; --z-dropdown: 200; --z-overlay: 300; --z-modal: 400; --z-toast: 500;
  --dur-1: 110ms; --dur-2: 180ms; --dur-3: 300ms; --ease-out: cubic-bezier(0.2, 0.9, 0.25, 1); --ease-in-out: cubic-bezier(0.6, 0, 0.3, 1);
  --canvas: #FFFFFF; --panel: #FFFFFF; --an-shadow: 0 24px 56px -28px rgba(21, 19, 31, 0.38);
  --grid-line: rgba(21, 19, 32, 0.06); --grid-cell: 24px; --leader: #C11F48;
  --t-stock-market-basics: #3B5BDB; --t-reading-a-stock-page: #0C7C6E; --t-company-fundamentals: #8A4B08; --t-stock-charts: #B4235A; --t-dividends: #2F7A1F; --t-funds-and-indexes: #6B3FC9; --t-earnings-and-analysts: #8F6300; --t-risk-and-protection: #B1261D; --t-brokers-and-apps: #1F6A8A;
  color-scheme: light;
}
:root[data-theme='dark'] {
  --bg: #14121D;
  --surface-1: #1B1927;
  --surface-2: #201E2D;
  --surface-3: #100E18;
  --text: #EEEDF5;
  --text-muted: #ABA8BE;
  --border-subtle: #2D2A3D;
  --border-strong: #CFCCE0;
  --accent: #F490A9;
  --accent-hover: #F7BFCD;
  --on-accent: #0C0B14;
  --link: #F490A9;
  --focus-ring: #F490A9;
  --up: #43D486;
  --down: #FF8466;
  --success-fg: #6FD69D;
  --success-bg: #0E2219;
  --success-border: #245A3C;
  --warning-fg: #FFD66B;
  --warning-bg: #2A2108;
  --warning-border: #5E4A12;
  --danger-fg: #FF9B80;
  --danger-bg: #2C120C;
  --danger-border: #6B2A1C;
  --info-fg: #CFCCE0;
  --info-bg: #201E2D;
  --info-border: #3F3B55;
  --accent-subtle: #34121F; --accent-muted: #6B2340; --scrim: rgba(0, 0, 0, 0.66);
  --canvas: #100E18; --panel: #14121D; --an-shadow: 0 24px 56px -28px rgba(0, 0, 0, 0.9);
  --grid-line: rgba(238, 237, 245, 0.05); --leader: #F490A9;
  --t-stock-market-basics: #8EA6FF; --t-reading-a-stock-page: #4FD1BE; --t-company-fundamentals: #E3A15C; --t-stock-charts: #F27BA6; --t-dividends: #7FD36B; --t-funds-and-indexes: #B39CFF; --t-earnings-and-analysts: #E6C04F; --t-risk-and-protection: #FF8A80; --t-brokers-and-apps: #7CC6EA;
  --elev-1: 0 1px 2px rgba(0, 0, 0, 0.5); --elev-2: 0 8px 24px -8px rgba(0, 0, 0, 0.7); --elev-3: 0 18px 40px -12px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}
@media (max-width: 1023px) { :root { --gutter: 24px; } }
@media (max-width: 640px) { :root { --gutter: 16px; } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-sans); font-size: var(--fs-body); line-height: var(--lh-body); font-feature-settings: "ss01", "tnum" 0; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-sans); font-weight: 700; line-height: var(--lh-heading); letter-spacing: var(--track-tight); margin: 0 0 var(--sp-3); text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: -0.03em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 var(--sp-4); text-wrap: pretty; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
::selection { background: var(--accent); color: var(--on-accent); }
code, kbd, samp { font-family: var(--font-mono); font-size: 0.88em; }
code { background: var(--surface-3); padding: 0.1em 0.35em; }
kbd { border: 1px solid var(--border-subtle); border-bottom-width: 2px; padding: 0 0.4em; font-size: var(--fs-2xs); color: var(--text-muted); background: var(--surface-1); }
hr { border: 0; border-top: 1px solid var(--border-subtle); margin: var(--sp-7) 0; }
small { font-size: var(--fs-xs); }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.visually-hidden[aria-hidden="true"] input { visibility: hidden; }  
.skip-link { position: absolute; left: var(--sp-3); top: -60px; z-index: var(--z-toast); background: var(--text); color: var(--bg); padding: var(--sp-2) var(--sp-4); font-weight: 600; }
.skip-link:focus { top: var(--sp-3); color: var(--bg); }
.muted { color: var(--text-muted); }
.num, .sym, [data-out], .cell { font-variant-numeric: tabular-nums; }
.sym { font-family: var(--font-sans); font-weight: 700; letter-spacing: 0.02em; }
.sym--lg { font-size: 1.25rem; background: var(--text); color: var(--bg); padding: 2px 10px; }
.up { color: var(--up); }
.down { color: var(--down); }
.eyebrow { display: inline-flex; align-items: center; gap: var(--sp-2); font-family: var(--font-mono); font-size: var(--fs-2xs); font-weight: 600; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--text-muted); margin: 0 0 var(--sp-4); }
.eyebrow::before { content: ""; width: 18px; height: 3px; background: var(--accent); }
.text-link { font-weight: 600; font-size: var(--fs-sm); text-decoration: none; color: var(--text); border-bottom: 2px solid var(--accent); padding-bottom: 1px; white-space: nowrap; }
.text-link:hover { color: var(--accent-hover); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2); min-height: 44px; padding: 0 var(--sp-5); font: 600 var(--fs-sm)/1 var(--font-sans); letter-spacing: 0.005em;
  border: 2px solid transparent; border-radius: var(--radius); text-decoration: none; cursor: pointer; transition: background var(--dur-2) var(--ease-out), color var(--dur-2), transform var(--dur-1), box-shadow var(--dur-2); }
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translate(1px, 1px); }
.btn--primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); box-shadow: 4px 4px 0 0 var(--text); }
.btn--secondary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn--secondary:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--outline, .btn--ghost { background: transparent; color: var(--text); border-color: var(--text); }
.btn--outline:hover, .btn--ghost:hover { background: var(--text); color: var(--bg); }
.btn--ghost { border-color: var(--border-subtle); }
.btn--sm { min-height: 36px; padding: 0 var(--sp-4); font-size: var(--fs-xs); }
.btn--lg { min-height: 52px; padding: 0 var(--sp-6); font-size: var(--fs-body); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; background: transparent; color: var(--text); border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { border-color: var(--text); }
.tag { display: inline-block; min-width: 44px; text-align: center; font: 600 var(--fs-2xs)/1 var(--font-mono); letter-spacing: var(--track-caps); text-transform: uppercase; padding: 6px 8px; border: 1px solid var(--text); color: var(--text); text-decoration: none; }
.tag:hover { background: var(--text); color: var(--bg); }
.skeleton { height: 14px; background: linear-gradient(90deg, var(--surface-3), var(--surface-1), var(--surface-3)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
@media print { .reveal { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: var(--z-toast); pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent-2); transform-origin: 0 50%; transform: scaleX(0); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex: none; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-word { font-family: var(--font-sans); font-weight: 700; font-size: 1.45rem; letter-spacing: -0.04em; line-height: 1; color: var(--text); }
.brand-word span { color: var(--accent); }
.brand:hover .brand-word { color: var(--text); }
.search-trigger { flex: 1 1 auto; max-width: 520px; display: flex; align-items: center; gap: var(--sp-3); height: 42px; padding: 0 var(--sp-3); background: var(--surface-1); color: var(--text-muted);
  border: 1px solid var(--border-subtle); font: 400 var(--fs-sm)/1 var(--font-sans); cursor: pointer; text-align: left; }
.nav-menu-btn, .search-icon-m { display: none; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-viewport { overflow-x: auto; } }
.drawer, .search-dialog { position: fixed; inset: 0; z-index: var(--z-modal); visibility: hidden; }
.drawer[data-open="true"], .search-dialog[data-open="true"] { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: var(--scrim); opacity: 0; transition: opacity var(--dur-3) var(--ease-out); }
[data-open="true"] > .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; inset: 0 auto 0 0; width: min(88vw, 380px); background: var(--bg); border-right: 3px solid var(--text); transform: translateX(-102%); transition: transform var(--dur-3) var(--ease-out); overflow-y: auto; padding: var(--sp-4) var(--sp-5) var(--sp-7); }
.drawer[data-open="true"] .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 3px solid var(--text); padding-bottom: var(--sp-3); margin-bottom: var(--sp-3); }
.drawer-title { font: 600 var(--fs-xs)/1 var(--font-mono); letter-spacing: var(--track-caps); text-transform: uppercase; }
.drawer-links, .drawer-sub { list-style: none; margin: 0; padding: 0; }
.drawer-links > li > a { display: block; padding: 12px 0; font-weight: 700; font-size: 1.125rem; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border-subtle); }
.drawer-sub a { display: block; padding: 9px 0 9px var(--sp-4); color: var(--text-muted); text-decoration: none; font-size: var(--fs-sm); border-left: 2px solid var(--border-subtle); }
.drawer-sub a:hover, .drawer-links > li > a:hover { color: var(--accent); }
.search-results { list-style: none; margin: 0; padding: 0; overflow-y: auto; }
.search-results a { display: flex; justify-content: space-between; gap: var(--sp-4); padding: 12px var(--sp-4); text-decoration: none; color: var(--text); border-bottom: 1px solid var(--border-subtle); }
.search-results a:hover, .search-results a[aria-selected="true"] { background: var(--surface-1); box-shadow: inset 3px 0 0 var(--accent); }
.r-title { font-weight: 600; }
.r-type { font: 500 var(--fs-2xs)/1.6 var(--font-mono); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.search-empty { padding: var(--sp-5) var(--sp-4); color: var(--text-muted); }
#search-page .search-results { border-top: 3px solid var(--text); margin-top: var(--sp-4); }
@media (max-width: 900px) {
  .nav-menu-btn, .search-icon-m { display: inline-grid; }
  .brand-word { font-size: 1.3rem; }
}
@media (max-width: 640px) {
}
.page { display: block; padding-block: var(--sp-6) var(--sp-9); }
.page--top { padding-top: 0; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) var(--rail); gap: var(--sp-8); align-items: start; }
.page-main { min-width: 0; }
.page-rail { position: sticky; top: 64px; display: grid; gap: var(--sp-5); }
.page-rail.not-sticky { position: static; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 var(--sp-4); padding: 0; font: 500 var(--fs-2xs)/1.5 var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--border-subtle); }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current] { color: var(--text); }
.page-head { margin-bottom: var(--sp-5); }
.page-head h1 { max-width: 22ch; }
.lede { font-size: var(--fs-lg); line-height: 1.55; color: var(--text-muted); max-width: 46rem; }
.post-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 600 var(--fs-2xs)/1.4 var(--font-mono); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--accent); margin: 0 0 var(--sp-2); }
.post-kicker .muted { color: var(--text-muted); font-weight: 500; }
.post-kicker .dot { width: 4px; height: 4px; background: currentColor; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4); border-top: 3px solid var(--text); padding-top: var(--sp-3); margin: 0 0 var(--sp-5); }
.section-head h2 { margin: 0; font-size: var(--fs-h3); letter-spacing: -0.015em; }
.home-hero { border-bottom: 1px solid var(--border-subtle); background: linear-gradient(var(--bg), var(--bg)) padding-box; }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr); gap: var(--sp-8); align-items: center; padding-block: var(--sp-7); }
.home-hero h1 { font-size: var(--fs-display); max-width: 14ch; margin-bottom: var(--sp-4); }
.home-hero h1 em { font-style: normal; color: var(--accent); }
.intro-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin: var(--sp-5) 0; }
.hero-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; list-style: none; padding: 0; margin: var(--sp-5) 0 0; border-top: 1px solid var(--border-subtle); }
.hero-stats li { padding: var(--sp-3) var(--sp-5) 0 0; margin-right: var(--sp-5); border-right: 1px solid var(--border-subtle); display: flex; flex-direction: column; gap: 2px; max-width: 13rem; }
.hero-stats li:last-child { border-right: 0; }
.hero-stats strong { font: 600 1.6rem/1 var(--font-mono); }
.hero-stats span { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.35; }
.slides { position: absolute; inset: 0; }
@keyframes kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
@keyframes slideprog { to { transform: scaleX(1); } }
.feed { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.row-title { font-size: 1.25rem; margin: 0 0 var(--sp-2); line-height: 1.25; }
.row-title a, .feature-title a { color: var(--text); text-decoration: none; }
.row-title a { display: inline-block; padding-block: 12px; margin-block: -12px; }  
.row-title a:hover, .feature-title a:hover { color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; }
.excerpt { color: var(--text-muted); margin: 0; font-size: var(--fs-sm); line-height: 1.55; }
.eyebrow-pill { display: inline-block; font: 600 var(--fs-2xs)/1 var(--font-mono); letter-spacing: var(--track-caps); text-transform: uppercase; background: var(--accent); color: var(--on-accent); padding: 6px 8px; margin: 0 0 var(--sp-3); }
.read-more { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--sp-4); font-weight: 700; color: var(--text); text-decoration: none; border-bottom: 2px solid var(--accent); }
.read-more svg { width: 16px; height: 16px; }
.band { background: var(--band-bg); color: var(--band-fg); }
.band-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--sp-7); align-items: start; }
.band h2 { color: var(--band-fg); font-size: var(--fs-h2); }
.band p { color: var(--band-muted); }
.eyebrow--band { color: var(--accent-2); }
.eyebrow--band::before { background: var(--accent-2); }
.btn--band { background: var(--accent-2); color: var(--band-bg); border-color: var(--accent-2); }
.btn--band:hover { background: transparent; color: var(--accent-2); }
.tb-icon { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--band-border); color: var(--accent-2); }
.tb-icon svg { width: 20px; height: 20px; }
.band--trust { background: var(--surface-1); color: var(--text); padding-block: var(--sp-8); border-top: 1px solid var(--border-subtle); }
.band--trust h2 { color: var(--text); }
.band--trust p { color: var(--text-muted); }
.band--trust .trust-line { color: var(--text); }
.trust-line { font-size: var(--fs-lg); max-width: 50rem; color: var(--text); }
.step-n { font: 600 var(--fs-sm)/1 var(--font-mono); color: var(--accent); }
.hub-hero { border-bottom: 1px solid var(--border-subtle); background: var(--surface-1); }
.hub-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: var(--sp-7); align-items: start; padding-block: var(--sp-6) var(--sp-7); }
.hub-hero h1 { max-width: 16ch; }
.hub-stats { display: flex; flex-wrap: wrap; gap: 0; list-style: none; padding: 0; margin: var(--sp-4) 0 0; border-top: 1px solid var(--text); }
.hub-stats li { padding: var(--sp-3) var(--sp-5) 0 0; margin-right: var(--sp-5); font-size: var(--fs-sm); color: var(--text-muted); }
.hub-stats strong { font: 600 1.25rem/1 var(--font-mono); color: var(--text); margin-right: 4px; }
.hub-media { margin: 0; border: 3px solid var(--text); }
.hub-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hub-media figcaption { padding: var(--sp-2) var(--sp-3); background: var(--bg); }
.hub-main { display: grid; gap: var(--sp-6); }
.hub-intro { max-width: var(--measure); }
.widget { border-top: 3px solid var(--text); padding-top: var(--sp-3); }
.widget-title { font: 600 var(--fs-2xs)/1.3 var(--font-mono); letter-spacing: var(--track-caps); text-transform: uppercase; margin: 0 0 var(--sp-3); color: var(--text); }
.widget ul, .widget ol { list-style: none; margin: 0; padding: 0; }
.widget li a { display: flex; justify-content: space-between; gap: var(--sp-3); padding: 8px 0; border-bottom: 1px solid var(--border-subtle); color: var(--text); text-decoration: none; font-size: var(--fs-sm); }
.widget li a:hover { color: var(--accent); }
.widget .count { font-family: var(--font-mono); color: var(--text-muted); font-size: var(--fs-xs); }
.widget p { font-size: var(--fs-sm); color: var(--text-muted); }
.desk { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: var(--sp-3); }
.desk-mark .brand-mark { width: 36px; height: 36px; }
.steps-mini { counter-reset: s; }
.steps-mini li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; align-items: baseline; border-bottom: 1px solid var(--border-subtle); }
.steps-mini li::before { content: counter(s, decimal-leading-zero); font: 600 var(--fs-xs)/1 var(--font-mono); color: var(--accent); }
.steps-mini li a, .steps-mini li span { display: block; padding: 8px 0; font-size: var(--fs-sm); color: var(--text); text-decoration: none; border: 0; }
.sym-list .sym { min-width: 3.4em; display: inline-block; color: var(--accent); }
.sym-list a { justify-content: flex-start !important; }
.widget-foot { margin: var(--sp-3) 0 0; }
@media (max-width: 1100px) {
  .page-grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-7); }
  .page-rail { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}
@media (max-width: 900px) {
  .home-hero-grid, .hub-hero-grid, .band-grid, .feature { grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); }
  .home-hero-grid { padding-block: var(--sp-5) var(--sp-6); }
}
@media (max-width: 640px) {
  .page { padding-block: var(--sp-4) var(--sp-8); }
  .row-title { font-size: 1.0625rem; }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-stats li { padding-right: var(--sp-2); margin-right: var(--sp-2); }
  .hero-stats strong { font-size: 1.25rem; }
  .section-head { flex-wrap: wrap; }
}
.home-wide { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-8); padding-block: var(--sp-8); }
.home-wide > * { margin-block: 0; }
.home-wide .mkt-note { margin-bottom: 0; }
.home-wide .band--tools { margin: 0; }
.home-wide .table-wrap { margin-bottom: var(--sp-2); }
.snap-table tbody th[scope="row"] a { white-space: nowrap; }
.hub-hero + .container.page-grid { padding-top: var(--sp-6); }
.thumb-label { position: absolute; top: 8px; left: 8px; max-width: calc(100% - 16px); padding: 3px 6px; background: var(--bg); border: 1px solid var(--text); font: 600 11px/1.2 var(--font-mono); letter-spacing: 0.04em; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .thumb-label { top: 4px; left: 4px; max-width: calc(100% - 8px); padding: 2px 4px; font-size: 10px; } }
.home-wide .snap-board, .home-wide .bento-wrap { padding-block: 0; }
@media (max-width: 900px) { .bento > :last-child:nth-child(even) { grid-column: 1 / -1; } }
.post-kicker .muted { white-space: nowrap; }
@media (max-width: 640px) { .row-img .thumb-label { display: none; } }
.kick-time { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.table-wrap:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.table-wrap { width: 100%; overflow-x: auto; margin: var(--sp-4) 0 var(--sp-3); border-top: 2px solid var(--text); }
table.data { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
table.data caption { text-align: left; font-weight: 600; padding: var(--sp-2) 0; caption-side: top; }
table.data th, table.data td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border-subtle); vertical-align: top; }
table.data thead th { font: 600 var(--fs-2xs)/1.3 var(--font-sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); background: var(--surface-1); white-space: nowrap; }
table.data th:first-child, table.data td:first-child { padding-left: 0; }
table.data thead th:first-child { padding-left: 0; }
table.data .num { text-align: right; white-space: nowrap; }
table.data td.num { font-variant-numeric: tabular-nums; font-size: 0.95em; }
table.data tbody tr:hover { background: var(--surface-1); }
table.data tbody th { font-weight: 600; }
.credit { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.5; margin: 0 0 var(--sp-5); }
.credit a { color: inherit; }
.mkt-board { padding-block: var(--sp-6) var(--sp-4); }
.seg-tabs { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--text); width: max-content; max-width: 100%; }
.seg-tabs:not(.is-live) { display: none; }
.seg-tabs button { min-height: 38px; padding: 0 var(--sp-4); background: var(--bg); color: var(--text); border: 0; border-right: 1px solid var(--text); font: 600 var(--fs-xs)/1 var(--font-sans); cursor: pointer; }
.seg-tabs button:last-child { border-right: 0; }
.seg-tabs button[aria-pressed="true"], .seg-tabs button[aria-selected="true"] { background: var(--text); color: var(--bg); }
.seg-tabs button:hover:not([aria-pressed="true"]):not([aria-selected="true"]) { background: var(--accent-subtle); }
.rates-table .sym { display: block; }
.sym-name { display: block; font-weight: 400; font-size: var(--fs-xs); color: var(--text-muted); }
.rates-table td small { color: var(--text-muted); font-size: var(--fs-2xs); }
svg.spark { width: 120px; height: 30px; overflow: visible; }
svg.spark .line { fill: none; stroke: var(--accent); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
svg.spark .area { fill: var(--accent); opacity: 0.08; stroke: none; }
.mkt-note { font-size: var(--fs-xs); color: var(--text-muted); margin-top: var(--sp-2); }
.snap-board { padding-block: var(--sp-6); }
.snap-table th a { color: var(--text); text-decoration: none; border-bottom: 2px solid var(--accent); }
.snap-table th a:hover { color: var(--accent); }
.snap-table .sym { color: var(--accent); }
.stock-panel { border: 3px solid var(--text); padding: var(--sp-5); margin: var(--sp-5) 0 var(--sp-6); background: var(--bg); }
.quote-head { display: grid; gap: var(--sp-3); border-bottom: 1px solid var(--border-subtle); padding-bottom: var(--sp-4); margin-bottom: var(--sp-4); }
.quote-id { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-4); font: 500 var(--fs-xs)/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.quote-note { display: grid; grid-template-columns: 20px 1fr; gap: var(--sp-2); margin: 0; font-size: var(--fs-sm); color: var(--text-muted); }
.quote-note svg { width: 20px; height: 20px; color: var(--accent); }
.panel-title { font-size: var(--fs-h3); margin: 0 0 var(--sp-4); }
.panel-title .muted { font-weight: 400; font-size: var(--fs-sm); letter-spacing: 0; }
.panel-sub { font-size: 1.0625rem; margin: var(--sp-6) 0 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--border-subtle); border: 1px solid var(--border-subtle); margin: 0; }
.stat-grid > div { background: var(--bg); padding: var(--sp-3) var(--sp-4); display: flex; flex-direction: column; gap: 4px; }
.stat-grid dt { font-size: var(--fs-xs); color: var(--text-muted); }
.stat-grid dt a { color: var(--text-muted); text-decoration-color: var(--border-subtle); display: inline-block; padding-block: 14px; margin-block: -14px; }
.stat-grid dt a:hover { color: var(--accent); }
.stat-grid dd { margin: 0; font: 600 1.25rem/1.15 var(--font-mono); }
.stat-grid small { display: block; margin-top: 4px; font: 400 var(--fs-2xs)/1.35 var(--font-sans); color: var(--text-muted); }
.fin-charts { margin-top: var(--sp-6); }
.fin-panels { margin-top: var(--sp-3); }
.fin-panel { margin: 0 0 var(--sp-4); }
.fin-panel figcaption { font-size: var(--fs-xs); color: var(--text-muted); margin-bottom: var(--sp-2); }
.fin-svg { width: 100%; height: auto; max-height: 280px; }
.fin-svg .bar { fill: var(--ink-300); }
.fin-svg .bar--last { fill: var(--accent); }
.fin-svg .bar--neg { fill: var(--down); }
.fin-svg .axis-line { stroke: var(--text); stroke-width: 1.5; }
.fin-svg .axis { font: 500 12px var(--font-mono); fill: var(--text-muted); }
.fin-svg .val { font: 600 12px var(--font-mono); fill: var(--text); }
.filings th { font-family: var(--font-mono); }
.curve-wrap { margin-block: var(--sp-6); }
.curve { border: 1px solid var(--border-subtle); padding: var(--sp-4); background: var(--bg); }
.curve svg { width: 100%; height: auto; }
.curve .grid { stroke: var(--border-subtle); stroke-width: 1; }
.curve .axis { font: 500 11px var(--font-mono); fill: var(--text-muted); }
.curve .curve-now { fill: none; stroke: var(--accent); stroke-width: 3; }
.curve .curve-old { fill: none; stroke: var(--ink-400); stroke-width: 2; stroke-dasharray: 5 4; }
.curve .dot { fill: var(--bg); stroke: var(--accent); stroke-width: 2.5; }
.curve-key { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); align-items: center; font: 500 var(--fs-xs)/1 var(--font-mono); color: var(--text-muted); margin: var(--sp-3) 0 0; }
.curve-key span { display: inline-block; width: 22px; height: 3px; margin-right: 6px; vertical-align: middle; }
.k-now { background: var(--accent); }
.k-old { background: repeating-linear-gradient(90deg, var(--ink-400) 0 5px, transparent 5px 9px); }
.curve-spread { font-size: var(--fs-sm); margin-top: var(--sp-3); }
.curve-spread strong { font-family: var(--font-mono); }
.mini-mkt li { display: grid; grid-template-columns: 1fr auto auto; gap: var(--sp-3); padding: 8px 0; border-bottom: 1px solid var(--border-subtle); font: 500 var(--fs-xs)/1.3 var(--font-mono); }
.mini-mkt li span:first-child { font-weight: 600; }
.fx-wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--sp-6); align-items: start; }
.converter { border: 1px solid var(--text); border-top-width: 3px; padding: var(--sp-4); }
.cv-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.cv-out { display: block; font: 600 1.25rem/1.3 var(--font-mono); margin: var(--sp-3) 0; }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { border-bottom: 1px solid var(--border-subtle); }
.link-list a { display: block; padding: 10px 0; font-weight: 600; color: var(--text); text-decoration: none; }
.link-list a:hover { color: var(--accent); }
.link-list a::after { content: " \2192"; color: var(--accent); }
@media (max-width: 900px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .table-wrap { overflow: visible; border-top-width: 2px; }
  table.data, table.data tbody, table.data tr, table.data td, table.data th { display: block; width: 100%; }
  table.data thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.data caption:not(.visually-hidden) { display: block; width: 100%; padding: var(--sp-2) 0; }
  table.data tr { border-bottom: 1px solid var(--text); padding: var(--sp-3) 0; }
  table.data tbody tr:hover { background: transparent; }
  table.data th[scope="row"], table.data tbody th { padding: 0 0 var(--sp-2); border: 0; font-size: 1rem; }
  table.data td { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--sp-3); padding: 5px 0; border: 0; text-align: left; }
  table.data td::before { content: attr(data-label); font: 500 var(--fs-2xs)/1.5 var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); }
  table.data td.num { text-align: left; }
  table.data td[colspan] { display: block; }
  table.data td[colspan]::before { content: none; }
  table.data th:first-child, table.data td:first-child { padding-left: 0; }
  svg.spark { width: 100%; max-width: 160px; }
  .stock-panel { padding: var(--sp-4) var(--sp-3); }
  .stat-grid dd { font-size: 1.0625rem; }
  .seg-tabs { width: 100%; flex-wrap: nowrap; overflow-x: auto; -webkit-mask-image: linear-gradient(90deg, var(--mask-solid) 85%, transparent); mask-image: linear-gradient(90deg, var(--mask-solid) 85%, transparent); }
  .seg-tabs button { flex: 0 0 auto; padding: 0 var(--sp-3); white-space: nowrap; min-height: 44px; min-width: 44px; }
  .cv-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .rates-table tbody tr:not(:has(td[colspan])) { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 0 var(--sp-3); align-items: start; padding: var(--sp-3) 0; }
  .rates-table tbody tr th[scope="row"] { padding: 0; font-size: var(--fs-sm); }
  .rates-table tbody tr td { display: block; padding: 0; text-align: right; font-family: var(--font-mono); font-size: var(--fs-sm); }
  .rates-table tbody tr td::before { content: none; }
  .rates-table tbody tr td[colspan] { text-align: left; font-family: var(--font-sans); }
  .rates-table tbody tr td:nth-of-type(n+3) { display: none; }
}
.fin-m { display: none; }
.fin-svg.fin-m .axis, .fin-svg.fin-m .val { font-size: 12px; }
@media (max-width: 640px) {
  .fin-d { display: none; }
  .fin-m { display: block; }
  .filings tbody tr { display: grid; grid-template-columns: 4.5em minmax(0, 1fr) auto; gap: var(--sp-3); align-items: baseline; padding: var(--sp-2) 0; }
  .filings tbody th, .filings tbody td { padding: 0; }
  .filings tbody td::before { content: none; }
  .filings tbody td:nth-of-type(2) { display: none; }
  .filings tbody td { display: block; }
}
.stat-grid { background: transparent; gap: 1px; border: 0; }
.stat-grid > div { outline: 1px solid var(--border-subtle); }
@media (max-width: 640px) { table.data .num, table.data td.num .cell { white-space: normal; word-break: break-word; } }
@media (max-width: 640px) {
  .snap-table td[data-label="Ticker"], .snap-table td[data-label="Sector"], .snap-table td[data-label="Fiscal year"], .snap-table td[data-label="Net income"], .snap-table td[data-label="Dividends per share"] { display: none; }
}
table.data td[colspan] { text-align: left; font-family: var(--font-sans); }
article .page-head { border-bottom: 1px solid var(--border-subtle); padding-bottom: var(--sp-4); }
.byline { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); align-items: center; font: 500 var(--fs-2xs)/1.6 var(--font-mono); letter-spacing: 0.03em; text-transform: uppercase; color: var(--text-muted); margin-top: var(--sp-4); }
.byline a { color: var(--text); text-decoration: none; }
.byline strong { font-weight: 600; }
.checked-badge { display: inline-flex; align-items: center; gap: 4px; color: var(--success-fg); }
.checked-badge svg { width: 14px; height: 14px; }
.figure { margin: var(--sp-5) 0; }
.figure img { width: 100%; border: 1px solid var(--border-subtle); background: var(--surface-3); }
.figure--lead img { aspect-ratio: 16 / 9; object-fit: cover; }
.figure figcaption { margin-top: var(--sp-2); }
.quick-answer, .takeaways { max-width: var(--measure); }
.quick-answer { border-left: 6px solid var(--accent); background: var(--accent-subtle); padding: var(--sp-4) var(--sp-5); margin: var(--sp-5) 0; }
.quick-answer .label { font: 600 var(--fs-2xs)/1 var(--font-mono); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--accent); margin: 0 0 var(--sp-2); }
.quick-answer p:last-child { margin: 0; font-size: var(--fs-lg); line-height: 1.5; }
.term-def { font-size: 1.3rem; line-height: 1.45; font-weight: 500; border-top: 3px solid var(--text); border-bottom: 1px solid var(--border-subtle); padding: var(--sp-4) 0; margin: var(--sp-5) 0; }
.takeaways { border: 1px solid var(--text); padding: var(--sp-4) var(--sp-5); margin: var(--sp-5) 0; }
.takeaways h2 { font: 600 var(--fs-2xs)/1 var(--font-mono); letter-spacing: var(--track-caps); text-transform: uppercase; margin: 0 0 var(--sp-3); }
.takeaways ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.takeaways li { display: grid; grid-template-columns: 22px 1fr; gap: var(--sp-2); }
.takeaways li svg { width: 20px; height: 20px; color: var(--accent); margin-top: 3px; }
.toc-mobile { display: none; border: 1px solid var(--border-subtle); margin: var(--sp-4) 0; }
.toc-mobile summary { padding: var(--sp-3) var(--sp-4); font-weight: 600; cursor: pointer; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: grid; grid-template-columns: 28px 1fr; padding: 7px 0; font-size: var(--fs-sm); line-height: 1.35; color: var(--text-muted); text-decoration: none; border-bottom: 1px solid var(--border-subtle); }
.toc a::before { content: counter(t, decimal-leading-zero); font: 500 var(--fs-2xs)/1.9 var(--font-mono); color: var(--border-strong); opacity: 0.6; }
.toc a:hover, .toc a[aria-current] { color: var(--text); }
.toc a[aria-current]::before { color: var(--accent); opacity: 1; }
.toc-mobile .toc { padding: 0 var(--sp-4) var(--sp-3); }
.prose { max-width: var(--measure); }
.prose > h2 { margin: var(--sp-8) 0 var(--sp-4); padding-top: var(--sp-3); border-top: 3px solid var(--text); position: relative; scroll-margin-top: 80px; }
.prose > h3 { margin: var(--sp-6) 0 var(--sp-3); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 var(--sp-4); }
.prose li { margin-bottom: var(--sp-2); }
.prose li::marker { color: var(--accent); font-family: var(--font-mono); }
.prose blockquote { margin: var(--sp-5) 0; padding: var(--sp-2) 0 var(--sp-2) var(--sp-5); border-left: 3px solid var(--text); font-size: var(--fs-lg); }
.prose blockquote cite { display: block; font-size: var(--fs-xs); font-style: normal; color: var(--text-muted); margin-top: var(--sp-2); }
.anchor { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 24px; margin: -4px 0 -4px var(--sp-1); vertical-align: middle; font: 500 0.7em var(--font-mono); color: var(--border-subtle); text-decoration: none; opacity: 0; }
h2:hover > .anchor, .anchor:focus { opacity: 1; color: var(--accent); }
sup.cite { font: 600 0.66em/0 var(--font-mono); margin-left: 1px; }
sup.cite a { text-decoration: none; color: var(--accent); }
.formula { font: 600 var(--fs-sm)/1.5 var(--font-mono); background: var(--surface-1); border: 1px solid var(--border-subtle); border-left: 4px solid var(--text); padding: var(--sp-3) var(--sp-4); overflow-x: auto; }
.callout { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--sp-3); padding: var(--sp-4); margin: var(--sp-5) 0; border: 1px solid var(--info-border); border-left-width: 4px; background: var(--info-bg); }
.callout > svg { width: 22px; height: 22px; color: var(--info-fg); }
.callout-title { font-weight: 700; margin-bottom: var(--sp-1); }
.callout p:last-child { margin: 0; }
.callout--tip { border-color: var(--success-border); background: var(--success-bg); }
.callout--tip > svg { color: var(--success-fg); }
.callout--warning { border-color: var(--warning-border); background: var(--warning-bg); }
.callout--warning > svg { color: var(--warning-fg); }
.callout--danger { border-color: var(--danger-border); background: var(--danger-bg); }
.callout--danger > svg { color: var(--danger-fg); }
.callout--example { border-color: var(--text); background: var(--bg); border-left-color: var(--accent); }
.callout--example > svg { color: var(--accent); }
.callout--example .callout-title { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--track-caps); text-transform: uppercase; }
.steps { list-style: none; margin: var(--sp-5) 0; padding: 0; counter-reset: st; border-top: 1px solid var(--text); }
.steps > li { counter-increment: st; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--sp-3); padding: var(--sp-4) 0; border-bottom: 1px solid var(--border-subtle); margin: 0; }
.steps > li::before { content: counter(st, decimal-leading-zero); font: 600 1.25rem/1 var(--font-mono); color: var(--accent); }
.step-title { display: block; font-weight: 700; margin-bottom: var(--sp-1); }
.steps p:last-child { margin: 0; }
.factbox { margin: var(--sp-5) 0; border: 3px solid var(--text); }
.factbox-title { background: var(--text); color: var(--bg); font: 600 var(--fs-2xs)/1 var(--font-mono); letter-spacing: var(--track-caps); text-transform: uppercase; padding: 10px var(--sp-4); }
.factbox dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1px; background: var(--border-subtle); margin: 0; }
.factbox dl > div:last-child { grid-column: auto; }
@media (min-width: 641px) {
  .factbox dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .factbox dl > div:last-child:nth-child(3n+2) { grid-column: span 2; }
  .factbox dl > div:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .factbox dl { grid-template-columns: minmax(0, 1fr); } }
.factbox dl > div { background: var(--bg); padding: var(--sp-3) var(--sp-4); }
.factbox dt { font-size: var(--fs-xs); color: var(--text-muted); }
.factbox dd { margin: 4px 0 0; font: 600 1.25rem/1.25 var(--font-mono); }
.factbox dd.dd-text { font: 600 var(--fs-body)/1.35 var(--font-sans); }
.factbox dd small { display: block; font: 400 var(--fs-2xs)/1.4 var(--font-sans); color: var(--text-muted); margin-top: 4px; }
.diagram { border: 1px solid var(--border-subtle); padding: var(--sp-4); background: var(--surface-1); }
.diagram svg { width: 100%; height: auto; }
.diagram .d-v { display: none; }
.figure figcaption { font-size: var(--fs-xs); color: var(--text-muted); }
.mistakes { list-style: none; margin: var(--sp-5) 0; padding: 0; border-top: 1px solid var(--text); }
.mistakes li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--sp-3); padding: var(--sp-4) 0; border-bottom: 1px solid var(--border-subtle); margin: 0; }
.mistakes li > svg { width: 22px; height: 22px; color: var(--down); }
.mistakes strong { display: block; margin-bottom: var(--sp-1); }
.mistakes p:last-child { margin: 0; }
.faq { border: none; display: flex; flex-direction: column; gap: 8px; }
.faq details { border: none; background: var(--surface-1); border-radius: var(--radius); padding: 0 18px; }
.faq summary { display: flex; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-4) 0; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 1.4rem/1 var(--font-sans); color: var(--accent); }
.faq details[open] summary::after { content: "-"; }
.faq-a { padding: 0 0 var(--sp-4); }
.faq-a p:last-child { margin: 0; }
.checked { margin: var(--sp-7) 0 var(--sp-5); padding: var(--sp-4) var(--sp-5); background: var(--bg); border: 1px solid var(--text); border-left: 6px solid var(--text); }
.checked h2 { font-size: 1.0625rem; margin: 0 0 var(--sp-2); }
.checked p { margin: 0; font-size: var(--fs-sm); }
.sources { margin: var(--sp-6) 0; }
.prose .sources h2, .sources h2 { font-size: 1.0625rem; border-top: 3px solid var(--text); padding-top: var(--sp-3); margin: 0 0 var(--sp-3); }
.sources ol { padding-left: 1.6em; font-size: var(--fs-xs); line-height: 1.55; }
.sources li { margin-bottom: var(--sp-2); }
.sources li::marker { font-family: var(--font-mono); color: var(--text-muted); }
.sources li:target { background: var(--accent-subtle); }
.src-meta { color: var(--text-muted); }
.disclaimer { font-size: var(--fs-xs); color: var(--text-muted); border-top: 1px solid var(--border-subtle); padding-top: var(--sp-3); margin-top: var(--sp-6); }
.further { margin-top: var(--sp-7); }
.further > h2 { font-size: var(--fs-h3); border-top: 3px solid var(--text); padding-top: var(--sp-3); }
.card-grid { list-style: none; margin: var(--sp-4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--sp-4); }
.card { position: relative; border: 1px solid var(--border-subtle); background: var(--bg); padding: var(--sp-4); display: flex; flex-direction: column; transition: box-shadow var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), border-color var(--dur-2); }
.card:hover { border-color: var(--text); box-shadow: var(--elev-3); transform: translate(-2px, -2px); }
.card-img { position: relative; margin: calc(var(--sp-4) * -1) calc(var(--sp-4) * -1) var(--sp-3); aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--border-subtle); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card h3 { font-size: 1.0625rem; margin: 0 0 var(--sp-2); line-height: 1.3; }
.card h3 a { color: var(--text); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; }
.card-foot { margin-top: auto !important; padding-top: var(--sp-3); font: 500 var(--fs-2xs)/1 var(--font-mono) !important; letter-spacing: 0.05em; text-transform: uppercase; }
.card--compact { padding: var(--sp-3); }
.card--compact .card-img { position: relative; margin: calc(var(--sp-3) * -1) calc(var(--sp-3) * -1) var(--sp-3); }
@media (max-width: 1100px) { .toc-mobile { display: block; } .toc-widget { display: none; } }
@media (max-width: 640px) {
  .diagram { padding: var(--sp-3) var(--sp-2); }
  .diagram .d-h { display: none; }
  .diagram .d-v { display: block; max-width: 340px; margin-inline: auto; }
  .quick-answer { padding: var(--sp-3) var(--sp-4); }
  .quick-answer p:last-child { font-size: var(--fs-body); }
  .term-def { font-size: 1.125rem; }
  .prose > h2 { margin-top: var(--sp-7); }
  .steps > li { grid-template-columns: 36px minmax(0, 1fr); }
}
.toc-widget .toc a { display: grid; justify-content: stretch; }
.field { display: grid; gap: 6px; margin-bottom: var(--sp-4); }
.field label { font-weight: 600; font-size: var(--fs-sm); }
.field input, .field select, .field textarea, .rail-search input { width: 100%; min-height: 46px; padding: 0 var(--sp-3); font: 400 1rem var(--font-sans); color: var(--text); background: var(--bg); border: 1px solid var(--border-strong); border-radius: 0; }
.field textarea { min-height: 140px; padding: var(--sp-3); resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .rail-search input:focus { outline: 3px solid var(--focus-ring); outline-offset: 0; border-color: var(--text); }
.field input[aria-invalid="true"] { border-color: var(--danger-fg); background: var(--danger-bg); }
.field .hint { font-size: var(--fs-xs); color: var(--text-muted); }
.field .error, .error { font-size: var(--fs-xs); color: var(--danger-fg); font-weight: 600; }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--sp-2); align-items: start; font-size: var(--fs-sm); margin-bottom: var(--sp-4); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.form-status { font-size: var(--fs-sm); margin: var(--sp-3) 0 0; min-height: 1.4em; }
.form-status[data-state="ok"] { color: var(--success-fg); font-weight: 600; }
.form-status[data-state="err"] { color: var(--danger-fg); font-weight: 600; }
.form-status[data-state="busy"] { color: var(--text-muted); }
.rail-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0; }
.rail-search .btn { min-height: 46px; }
.tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; margin: var(--sp-5) 0; border: 3px solid var(--text); }
.tool-form { padding: var(--sp-5); border-right: none; }
.tool-form .field:last-of-type { margin-bottom: 0; }
.tool-out { padding: var(--sp-5); background: var(--surface-1); display: grid; gap: 0; align-content: start; }
.result { display: grid; gap: 4px; padding: var(--sp-3) 0; border-bottom: 1px solid var(--border-subtle); }
.result:first-child { padding-top: 0; }
.result-label { font-size: var(--fs-xs); color: var(--text-muted); }
.result-value { font: 600 1.25rem/1.2 var(--font-mono); }
.result-value.is-main { font-size: 2rem; color: var(--accent); }
.result-value.is-loss { color: var(--down); }
.tool-note { font-size: var(--fs-xs); color: var(--text-muted); margin: var(--sp-2) 0 0; }
.subscribe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--sp-6); align-items: start; padding: var(--sp-6); margin: var(--sp-7) 0; border: 3px solid var(--text); background: var(--bg); }
.subscribe h2 { font-size: var(--fs-h3); margin-bottom: var(--sp-2); }
.subscribe-text p { color: var(--text-muted); font-size: var(--fs-sm); margin: 0; }
.subscribe--footer { background: var(--band-surface); border-color: var(--accent-2); color: var(--band-fg); margin-top: 0; }
.subscribe--footer h2 { color: var(--band-fg); }
.subscribe--footer .subscribe-text p, .subscribe--footer .check { color: var(--band-muted); }
.subscribe--footer .check a { color: var(--band-fg); }
.subscribe--footer .field label { color: var(--band-fg); }
.subscribe--footer .field input { background: var(--band-bg); color: var(--band-fg); border-color: var(--band-muted); }
.subscribe--footer .btn--primary { background: var(--accent-2); border-color: var(--accent-2); color: var(--band-bg); }
.subscribe--footer .btn--primary:hover { box-shadow: 4px 4px 0 0 var(--band-fg); }
.subscribe--footer .form-status[data-state="ok"] { color: var(--band-up); }
.subscribe--footer .form-status[data-state="err"] { color: var(--band-down); }
.toast { position: fixed; left: 50%; bottom: var(--sp-6); transform: translateX(-50%); z-index: var(--z-toast); background: var(--text); color: var(--bg); padding: var(--sp-3) var(--sp-5); font-weight: 600; font-size: var(--fs-sm); box-shadow: 4px 4px 0 0 var(--accent); }
.to-top { position: fixed; right: var(--sp-4); bottom: var(--sp-4); z-index: var(--z-dropdown); background: var(--bg); border: 2px solid var(--text); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity var(--dur-2), transform var(--dur-2); }
.to-top[data-show="true"] { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--text); color: var(--bg); }
@media (max-width: 760px) {
  .tool { grid-template-columns: minmax(0, 1fr); }
  .tool-form { border-right: 0; border-bottom: none; padding: var(--sp-4); }
  .tool-out { padding: var(--sp-4); }
  .subscribe { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); padding: var(--sp-4); }
}
.site-footer { background: var(--band-bg); color: var(--band-fg); padding-block: var(--sp-7) var(--sp-6); border-top: 3px solid var(--accent); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: var(--sp-6); padding-block: var(--sp-6); border-top: 1px solid var(--band-border); }
.footer-grid h2 { font: 600 var(--fs-2xs)/1 var(--font-mono); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--accent-2); margin: 0 0 var(--sp-4); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.footer-grid a { color: var(--band-fg); text-decoration: none; font-size: var(--fs-sm); display: inline-flex; align-items: center; min-height: 44px; }
.footer-grid a:hover { color: var(--accent-2); text-decoration: underline; }
.footer-brand p { color: var(--band-muted); font-size: var(--fs-sm); max-width: 34ch; margin-top: var(--sp-3); }
.brand--footer .brand-word { color: var(--band-fg); }
.brand--footer .brand-word span { color: var(--band-accent); }
.risk-note { font-size: var(--fs-xs); color: var(--band-muted); border-top: 1px solid var(--band-border); padding-top: var(--sp-4); max-width: 80rem; }
.risk-note strong { color: var(--band-fg); }
.footer-base { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); font: 500 var(--fs-2xs)/1.5 var(--font-mono); color: var(--band-muted); }
.az-bar { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 1px; background: var(--bg); border: 1px solid var(--text); margin: var(--sp-5) 0; }
.az-bar a, .az-bar span { display: grid; place-items: center; min-width: 0; height: 44px; background: var(--bg); font: 600 var(--fs-sm)/1 var(--font-mono); text-decoration: none; }
@media (max-width: 640px) { .az-bar a, .az-bar span { font-size: var(--fs-xs); } }
.az-bar a { color: var(--text); }
.az-bar a:hover { background: var(--text); color: var(--bg); }
.az-bar span { color: var(--ink-400); background: var(--surface-1); cursor: default; }
.az-group { margin-bottom: var(--sp-6); }
.az-group h2 { font: 700 1.5rem/1 var(--font-mono); color: var(--accent); border-top: 3px solid var(--text); padding-top: var(--sp-3); }
.az-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 var(--sp-6); }
.az-list li { padding: var(--sp-3) 0; border-bottom: 1px solid var(--border-subtle); }
.az-list a { font-weight: 700; color: var(--text); }
.az-list p { margin: 4px 0 0; font-size: var(--fs-sm); color: var(--text-muted); }
.notfound .code { font: 700 4rem/1 var(--font-mono); color: var(--accent); margin-bottom: var(--sp-4); }
.notfound .rail-search { max-width: 520px; margin: var(--sp-5) 0; }
.sg-swatches { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--sp-3); }
.sg-swatch span { display: block; height: 56px; border: 1px solid var(--border-subtle); }
.sg-swatch p { font: 500 var(--fs-2xs)/1.4 var(--font-mono); margin: 6px 0 0; }
.sg-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; gap: var(--sp-5) var(--sp-4); } .footer-grid > :nth-child(2) { grid-row: span 2; } .footer-grid li { display: grid; min-height: 44px; align-content: center; } .footer-grid a { min-height: 0; padding-block: 6px; } }
@media print {
  .topbar, .sections, .ticker, .strip, .page-rail, .site-footer, .to-top, .subscribe, .further, .toc-mobile { display: none !important; }
  body { font-size: 11pt; }
  .page-grid { display: block; }
  a { color: inherit; }
}
@media (max-width: 480px) { .az-bar { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.az-bar a, .az-bar span { box-shadow: 0 0 0 1px var(--border-subtle); }
body { background: var(--canvas); }
::selection { background: var(--brand-100); color: var(--text); }
:root[data-theme="dark"] ::selection { background: var(--brand-800); color: var(--on-photo); }
.page { padding-block: 32px 120px; }
.page--top { padding-top: 0; }
.hdr { position: sticky; top: 0; z-index: var(--z-sticky); background: var(--panel); }
.hdr-row { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand-mark { width: 28px; height: 28px; }
.brand-word { font-size: 1.25rem; letter-spacing: -0.01em; }
.brand-word span { color: inherit; }
.hdr-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.hdr-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.9375rem; font-weight: 500; color: var(--text); text-decoration: none;
  text-decoration-thickness: 2px; text-underline-offset: 6px; }
.hdr-nav a:hover { text-decoration: underline; text-decoration-color: var(--ink-300); }
.hdr-nav a[aria-current] { font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); }
.hdr-search { position: relative; margin-left: auto; width: 260px; }
.hdr-search svg { position: absolute; left: 12px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.hdr-search input { width: 100%; height: 40px; padding: 0 12px 0 38px; font: 400 0.9375rem var(--font-sans); color: var(--text); background: var(--canvas);
  border: 1px solid var(--border-subtle); border-radius: var(--radius); }
.hdr-search input::placeholder { color: var(--text-muted); }
.hdr-search input:hover { border-color: var(--ink-400); }
.hdr-search input:focus { outline: 3px solid var(--focus-ring); outline-offset: 1px; border-color: var(--accent); background: var(--panel); }
.hdr-search-m, .nav-menu-btn { display: none; }
.icon-btn { border-radius: var(--radius); }
.icon-btn:hover { border-color: var(--border-subtle); background: var(--canvas); }
.progress span { background: var(--accent); }
.t-home .progress, .t-index .progress, .t-trust .progress, .t-hub .progress { display: none; }
.drawer-panel { border-right: 1px solid var(--border-subtle); box-shadow: var(--elev-3); }
.drawer-head { border-bottom: 1px solid var(--border-subtle); }
.drawer-title { text-transform: none; letter-spacing: 0; font-size: 0.8125rem; }
@media (max-width: 900px) {
  .hdr-nav, .hdr-search { display: none; }
  .hdr-row { gap: 8px; }
  .brand { margin-right: auto; }
  .hdr-search-m, .nav-menu-btn { display: inline-grid; }
  .brand-mark { width: 24px; height: 24px; }
}
.tlink { color: var(--link); font-weight: 600; font-size: 0.9375rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tlink:hover { text-decoration-thickness: 2px; }
.btn { border-radius: var(--radius); min-height: 48px; padding: 0 22px; font-size: 0.9375rem; text-transform: none; letter-spacing: 0; }
.btn--primary:hover { box-shadow: none; }
.btn:active { transform: translateY(1px); }
.btn--secondary { background: var(--panel); color: var(--text); border: 1px solid var(--border-subtle); }
.btn--secondary:hover { background: var(--panel); color: var(--text); border-color: var(--text); }
.btn--sm { min-height: 36px; padding: 0 14px; }
.open { background: var(--canvas); }
.open-label { font: 500 0.8125rem/1.4 var(--font-sans); color: var(--text-muted); margin: 0 0 16px; }
.open-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: end; padding: 56px 0 40px; }
.open h1 { font-size: clamp(2.6rem, 5.6vw, 4.25rem); line-height: 1.02; letter-spacing: -0.035em; max-width: 14ch; margin: 0; }
.open { padding-bottom: 48px; }
@media (max-width: 900px) { .open-top { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 36px 0 28px; } .open { padding-bottom: 32px; } }
.open .lede { max-width: 44ch; color: var(--ink-700); font-size: 1.125rem; margin: 0 0 22px; }
.open-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.open-note { margin: 22px 0 0; font-size: 0.8125rem; color: var(--text-muted); max-width: 44ch; }
.open-note a { color: inherit; }
:root[data-theme='dark'] .open .lede { color: var(--text-muted); }
.anatomy { margin: 0; background: var(--panel); border: none; border-radius: var(--radius-lg); padding: 28px; }
.an-head { display: flex; align-items: baseline; gap: 12px; padding-bottom: 16px; }
.an-sym { font: 700 1.125rem/1 var(--font-sans); }
.an-name { color: var(--text-muted); font-size: 0.9375rem; }
.an-tag { margin-left: auto; font: 600 0.8125rem/1 var(--font-sans); background: var(--surface-3); color: var(--ink-700); padding: 4px 8px; border-radius: var(--radius-sm); }
:root[data-theme='dark'] .an-tag { color: var(--text-muted); }
.an-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 28px; }
@media (max-width: 1100px) { .an-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.an-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 52px; padding: 10px 0;
  color: var(--text); text-decoration: none; }
.an-row--big { grid-column: span 1; padding-block: 18px; }
.an-row--big .an-val { font-size: 1.75rem; font-weight: 600; }
.an-row--big:nth-child(2) .an-val { font-size: 1.125rem; }
.an-mk { display: grid; place-items: center; width: 26px; height: 26px; border: 1.5px solid var(--accent); border-radius: 50%; color: var(--accent); font: 600 0.8125rem/1 var(--font-sans); }
.an-lab { font-size: 0.875rem; color: var(--text-muted); }
.an-val { font: 600 1rem/1.2 var(--font-sans); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.an-val.up { color: var(--up); }
a.an-row:hover .an-lab { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
a.an-row:hover .an-mk, a.an-row:focus-visible .an-mk { background: var(--accent); color: var(--on-accent); }
.anatomy figcaption { margin-top: 16px; font-size: 0.8125rem; color: var(--text-muted); }
@media (max-width: 560px) {
  .an-grid { grid-template-columns: minmax(0, 1fr); }
  .anatomy { padding: 18px; }
  .an-row--big .an-val { font-size: 1.375rem; }
}
.rates { background: var(--surface-1); }
.rates-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; padding-block: 14px; }
.rates-h { font: 600 0.875rem/1 var(--font-sans); margin: 0; }
.rates-list { display: flex; flex-wrap: wrap; gap: 8px 0; list-style: none; margin: 0; padding: 0; }
.rates-list li { display: flex; align-items: baseline; gap: 8px; padding: 0 20px; font-size: 0.8125rem; }
.rates-list li:first-child { padding-left: 0; }
.rates-list .r-lab { color: var(--text-muted); }
.rates-list .r-val { font: 600 0.9375rem var(--font-sans); font-variant-numeric: tabular-nums; }
.rates-list .r-chg { font: 500 0.8125rem var(--font-sans); font-variant-numeric: tabular-nums; color: var(--text-muted); }
.rates-list .r-chg.up { color: var(--up); }
.rates-list .r-chg.down { color: var(--down); }
.rates-list li.muted { color: var(--text-muted); }
.rates-note { margin: 0; font-size: 0.8125rem; color: var(--text-muted); text-align: right; }
@media (max-width: 1100px) { .rates-row { grid-template-columns: minmax(0, 1fr); gap: 10px; } .rates-note { text-align: left; } }
@media (max-width: 640px) { .rates-list li { padding: 0 12px; } .rates-list .r-lab { display: block; flex-basis: 100%; } .rates-list li { flex-wrap: wrap; width: 50%; border-left: 0; padding: 6px 0; } }
.hsec { margin-top: 88px; }
.hsec:first-child { margin-top: 64px; }
.sh { margin-bottom: 24px; max-width: 60ch; }
.sh-n { font: 600 0.8125rem/1 var(--font-mono); color: var(--accent); margin: 0 0 10px; }
.sh h2 { font-size: 1.75rem; line-height: 1.15; margin: 0 0 8px; }
.sh-d { margin: 0; color: var(--text-muted); font-size: 1rem; }
.sh-l { margin: 10px 0 0; }
.course { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.ch { padding: 24px 0; }
[data-topic="stock-market-basics"] { --tc: var(--t-stock-market-basics); }
[data-topic="reading-a-stock-page"] { --tc: var(--t-reading-a-stock-page); }
[data-topic="company-fundamentals"] { --tc: var(--t-company-fundamentals); }
[data-topic="stock-charts"] { --tc: var(--t-stock-charts); }
[data-topic="dividends"] { --tc: var(--t-dividends); }
[data-topic="funds-and-indexes"] { --tc: var(--t-funds-and-indexes); }
[data-topic="earnings-and-analysts"] { --tc: var(--t-earnings-and-analysts); }
[data-topic="risk-and-protection"] { --tc: var(--t-risk-and-protection); }
.ch-n { font: 700 0.875rem/1 var(--font-sans); color: var(--tc); margin: 0 0 10px; }
.ch-t { font-size: 1.25rem; margin: 0 0 6px; }
.ch-t a { color: var(--text); text-decoration: none; }
.ch-t a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ch-d { margin: 0 0 14px; color: var(--text-muted); font-size: 0.9375rem; }
.ch-list { list-style: none; margin: 0; padding: 0; }
.ch-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 6px 0; }
.ch-list a { display: block; padding: 4px 0; color: var(--text); text-decoration: none; font-size: 0.9375rem; line-height: 1.4; }
.ch-list a:hover { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.ch-min { font: 500 0.8125rem/1 var(--font-sans); color: var(--text-muted); white-space: nowrap; }
.ch-more { margin: 12px 0 0; display: none; }
@media (max-width: 900px) {
  .course { grid-template-columns: minmax(0, 1fr); }
  .ch-list li:nth-child(n+4) { display: none; }
  .ch-more { display: block; }
}
.tdot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--tc); margin-right: 8px; vertical-align: 0.06em; flex: none; }
.news { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 980px; }
.news .rows { border-top: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
@media (max-width: 760px) { .news .rows { grid-template-columns: minmax(0, 1fr); } }
.lead { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; align-items: start; padding-bottom: 28px; }
.lead-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-3); }
.lead-img img { width: 100%; height: 100%; object-fit: cover; }
.lead-t { font-size: 2rem; line-height: 1.1; margin: 0 0 10px; letter-spacing: -0.02em; }
.lead-t a { color: var(--text); text-decoration: none; }
.lead-t a::after { content: ""; position: absolute; inset: 0; }
.lead:hover .lead-t a { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.lead-ex { margin: 14px 0 0; color: var(--text-muted); max-width: 52ch; }
@media (max-width: 640px) { .lead { grid-template-columns: minmax(0, 1fr); } .lead-img { order: -1; aspect-ratio: 16 / 9; } .lead-t { font-size: 1.5rem; } }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0; font-size: 0.8125rem; color: var(--text-muted); }
.meta > span + span::before { content: "·"; margin: 0 8px; }
.meta-topic { display: inline-flex; align-items: center; }
.rows { list-style: none; margin: 0; padding: 0; }
.row { position: relative; display: flex; gap: 18px; padding: 16px 0; margin-bottom: 8px; }
.row-n { font: 600 0.8125rem/1.6 var(--font-sans); color: var(--accent); min-width: 22px; }
.row-b { min-width: 0; }
.row-t { font-size: 1.0625rem; line-height: 1.35; font-weight: 600; margin: 0 0 6px; }
.row-t a { color: var(--text); text-decoration: none; }
.row-t a::after { content: ""; position: absolute; inset: 0; }
.row:hover .row-t a { text-decoration: underline; text-underline-offset: 4px; }
.row-ex { margin: 0 0 6px; color: var(--text-muted); font-size: 0.9375rem; }
.rows--num .row-t { font-size: 1.1875rem; }
@media (max-width: 900px) { .news { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.table-wrap { border-top: 0; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--panel); }
table.data thead th { background: var(--surface-1); color: var(--text-muted); text-transform: none; letter-spacing: 0; font: 600 0.8125rem/1.3 var(--font-sans); border-bottom: 2px solid var(--text); }
table.data th:first-child, table.data td:first-child { padding-left: 16px; }
table.data thead th:first-child { padding-left: 16px; }
table.data tbody tr:hover { background: var(--surface-1); }
.snap-table th[scope="row"] a { display: inline-block; color: var(--text); font-weight: 600; text-decoration: none; border-bottom: 0; }
.snap-table th[scope="row"] a:hover { text-decoration: underline; }
.snap-table th[scope="row"] .sym { display: block; font: 500 0.75rem/1.4 var(--font-mono); color: var(--text-muted); }
@media (max-width: 640px) {
  .table-wrap--sticky { overflow-x: auto; -webkit-mask-image: linear-gradient(90deg, var(--mask-solid) 88%, transparent); mask-image: linear-gradient(90deg, var(--mask-solid) 88%, transparent); }
  .table-wrap--sticky table.data { display: table; width: max-content; min-width: 640px; }
  .table-wrap--sticky table.data td, .table-wrap--sticky table.data td .cell { white-space: nowrap; }
  .table-wrap--sticky table.data thead { display: table-header-group; position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .table-wrap--sticky table.data tbody { display: table-row-group; width: auto; }
  .table-wrap--sticky table.data tr { display: table-row; width: auto; border-bottom: 0; padding: 0; }
  .table-wrap--sticky table.data th, .table-wrap--sticky table.data td { display: table-cell !important; width: auto; padding: 10px 12px; border-bottom: 1px solid var(--border-subtle); }
  .table-wrap--sticky table.data td::before { content: none; }
  .table-wrap--sticky table.data td.num, .table-wrap--sticky table.data th.num { text-align: right; }
  .table-wrap--sticky th[scope="row"] { position: sticky; left: 0; background: var(--panel); z-index: 1; box-shadow: 1px 0 0 var(--border-subtle); min-width: 130px; }
}
.calc-home { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: start; }
.calc-k { font: 600 0.875rem/1 var(--font-sans); margin: 0 0 12px; color: var(--text-muted); }
.calc-main .tool { margin: 0; }
@media (max-width: 900px) { .calc-home { grid-template-columns: minmax(0, 1fr); } }
.tool { border: none; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-1); }
.field input, .field select, .field textarea, .rail-search input { border-radius: var(--radius); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; background: transparent; border: none; }
.facts > div { padding: 24px; border: none; background: var(--surface-1); border-radius: var(--radius-lg); }
.facts > div:first-child { border-left: 0; }
.facts dt { font-size: 0.875rem; color: var(--text-muted); }
.facts dd { margin: 6px 0 10px; font: 700 2rem/1 var(--font-sans); font-variant-numeric: tabular-nums; }
.facts dd.fd { margin: 0; font: 400 0.9375rem/1.55 var(--font-sans); color: var(--text-muted); }
@media (max-width: 760px) { .facts { grid-template-columns: minmax(0, 1fr); } }
.page-grid--outline { grid-template-columns: var(--rail) minmax(0, var(--measure-wide)); gap: 64px; justify-content: start; }
.page-grid--outline .page-rail { order: -1; top: 88px; }
.page-grid--outline .page-main { max-width: var(--measure-wide); }
.page-grid--outline .prose > :not(.figure):not(.table-wrap):not(.diagram):not(.tool):not(.factbox):not(.callout):not(.chart-scroll) { max-width: 680px; }
.outline-h { font: 600 0.8125rem/1 var(--font-mono); margin: 4px 0 12px; }
.outline .toc a { border-bottom: 0; padding: 6px 0 6px 12px; border-left: 2px solid var(--border-subtle); grid-template-columns: 26px 1fr; }
.outline .toc a[aria-current] { border-left-color: var(--accent); color: var(--text); font-weight: 600; }
.outline .toc a::before { opacity: 1; color: var(--text-muted); }
@media (max-width: 1080px) {
  .page-grid--outline { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .page-grid--outline .page-rail { display: none; }
  .toc-mobile { display: block; }
}
@media (min-width: 1081px) { .toc-mobile { display: none; } }
.page-head h1 { max-width: 20ch; font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1.08; }
.page-head .lede { font-size: 1.1875rem; color: var(--ink-700); max-width: 44rem; }
:root[data-theme='dark'] .page-head .lede { color: var(--text-muted); }
.breadcrumb ol { font: 500 0.8125rem/1.5 var(--font-sans); letter-spacing: 0; text-transform: none; }
.breadcrumb li + li::before { content: "›"; color: var(--text-muted); }
.ledger { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 20px 0 0; padding: 12px 0; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle);
  font: 400 0.875rem/1.5 var(--font-sans); color: var(--text-muted); text-transform: none; letter-spacing: 0; }
.ledger > span { display: inline; }
.ledger > span + span::before { content: "·"; margin: 0 10px; }
.ledger a { color: var(--text); text-decoration: none; }
.ledger a:hover { text-decoration: underline; }
.checked-badge { color: var(--success-fg); gap: 6px; }
.figure img { border: 0; border-radius: var(--radius); }
.quick-answer { background: var(--panel); border: 1px solid var(--border-subtle); border-left: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 20px 22px; }
.quick-answer .label { color: var(--text-muted); text-transform: none; letter-spacing: 0; font-size: 0.8125rem; }
.takeaways { background: var(--panel); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 20px 22px; }
.takeaways h2 { text-transform: none; letter-spacing: 0; font-size: 0.8125rem; color: var(--text-muted); }
.prose > h2 { border-top: 0; padding-top: 0; margin-top: 56px; font-size: 1.625rem; }
.prose h2, .prose h3 { scroll-margin-top: 88px; }
.prose a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose blockquote { border-left: 0; box-shadow: inset 3px 0 0 var(--accent); }
.callout { border-radius: var(--radius-lg); background: var(--panel); border-color: var(--border-subtle); }
.callout--tip, .callout--danger { background: var(--panel); border-color: var(--border-subtle); }
.callout--tip > svg, .callout--danger > svg { color: var(--text); }
.callout--example { background: var(--brand-50); border-color: var(--brand-100); }
:root[data-theme='dark'] .callout--example { background: var(--surface-2); border-color: var(--border-subtle); }
.callout--example .callout-title { text-transform: none; letter-spacing: 0; }
.checked { background: var(--panel); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); }
.factbox { border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); overflow: hidden; background: var(--panel); }
.factbox-title { background: var(--surface-1); color: var(--text); text-transform: none; letter-spacing: 0; font: 600 0.875rem/1.3 var(--font-sans); }
.stock-panel { border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--panel); }
.formula { border-radius: var(--radius); border-left-width: 1px; box-shadow: inset 3px 0 0 var(--text); }
.prose .sources h2, .sources h2, .further > h2 { border-top: 0; padding-top: 0; }
.further { margin-top: 64px; }
.path { margin-top: 64px; background: var(--panel); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 24px; }
.path h2 { font-size: 1.125rem; margin: 0 0 14px; }
.path ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.path li { display: flex; align-items: center; gap: 12px; }
.pk { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border: 1.5px solid var(--accent); border-radius: 50%; color: var(--accent); font: 600 0.75rem/1 var(--font-mono); }
.path a { color: var(--text); font-weight: 600; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.path a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .path ol { grid-template-columns: minmax(0, 1fr); } }
.chart-scroll { overflow-x: auto; border-radius: var(--radius); }
.chart-scroll:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
@media (max-width: 640px) {
  .chart-scroll img { min-width: 720px; }
  .chart-scroll { -webkit-mask-image: linear-gradient(90deg, var(--mask-solid) 82%, transparent); mask-image: linear-gradient(90deg, var(--mask-solid) 82%, transparent); }
  .figure--chart figcaption::before { content: "Swipe sideways to see the whole chart. "; font-weight: 600; color: var(--text); }
}
.hub-hero { background: var(--canvas); border-bottom: 1px solid var(--border-subtle); }
.hub-hero .ch-n { margin-top: 8px; }
.hub-media { border: 0; border-radius: var(--radius-lg); overflow: hidden; }
.hub-media img { aspect-ratio: 4 / 3; object-fit: cover; }
.hub-hero + .container { padding-top: 48px; }
.hub-h { font-size: 1.375rem; margin: 0 0 16px; }
.hub-main { max-width: 820px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--border-subtle); border-radius: var(--radius-pill); background: var(--panel); color: var(--text); text-decoration: none; font-size: 0.875rem; }
.chip:hover { border-color: var(--text); }
.t-index .page-main, .t-trust .page-main { max-width: 900px; }
.t-index .page-main:has(.course), .t-index .page-main:has(.az-bar) { max-width: none; }
.ftr { background: var(--canvas); color: var(--text); border-top: none; padding-block: 56px 32px; }
.ftr-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; padding-bottom: 32px; border-bottom: none; }
.ftr-brand p { margin: 12px 0 0; color: var(--text-muted); max-width: 40ch; font-size: 0.9375rem; }
.ftr .subscribe { margin: 0; padding: 0; border: 0; background: transparent; color: var(--text); grid-template-columns: minmax(0, 1fr); gap: 10px; }
.ftr .subscribe h2 { color: var(--text); font-size: 1.0625rem; margin: 0; }
.ftr .subscribe-text p, .ftr .check { color: var(--text-muted); }
.ftr .check a { color: var(--link); }
.ftr .field label { color: var(--text); }
.ftr .field input { background: var(--panel); color: var(--text); border-color: var(--ink-300); }
.ftr .btn--primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.ftr .form-status[data-state="ok"] { color: var(--success-fg); }
.ftr .form-status[data-state="err"] { color: var(--danger-fg); }
.ftr-links { padding: 24px 0; border-bottom: none; display: grid; gap: 10px; }
.ftr-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: baseline; gap: 16px; }
.ftr-row h2 { font: 600 0.8125rem/1.4 var(--font-sans); margin: 0; color: var(--text-muted); text-transform: none; letter-spacing: 0; }
.ftr-row ul { display: flex; flex-wrap: wrap; gap: 0 22px; list-style: none; margin: 0; padding: 0; }
.ftr-row a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: none; font-size: 0.9375rem; }
.ftr-row a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ftr .risk-note { margin: 24px 0 0; font-size: 0.875rem; color: var(--text-muted); max-width: 90ch; }
.ftr-base { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; font-size: 0.8125rem; color: var(--text-muted); }
@media (max-width: 900px) { .ftr-top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .ftr-row { grid-template-columns: minmax(0, 1fr); gap: 0; } .ftr-row ul { gap: 0 18px; } }
@media print { .hdr, .ftr, .page-rail, .toc-mobile, .rates, .path { display: none !important; } }
@media (max-width: 640px) { .table-wrap { overflow-x: auto; } }
.ftr .risk-note { border-top: 0; padding-top: 0; } .ftr .risk-note strong { color: var(--text); }
.hsec--course .sh { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 24px; max-width: none; padding-bottom: 16px; }
.hsec--course .sh h2 { font-size: 2.25rem; grid-column: 1; }
.hsec--course .sh-d { grid-column: 1; }
.hsec--course .sh-l { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
.hsec--co { background: var(--surface-1); border: none; border-radius: var(--radius-lg); padding: 28px; }
.hsec--co .table-wrap { border-radius: var(--radius); }
.hsec--new .sh h2 { font-size: 1.375rem; }
.hsec--calc .sh, .hsec--check .sh { max-width: 44ch; }
.hsec--check { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; align-items: start; }
.hsec--check .sh { margin: 0; }
@media (max-width: 900px) { .hsec--check { grid-template-columns: minmax(0, 1fr); gap: 20px; } .hsec--course .sh { grid-template-columns: minmax(0, 1fr); } .hsec--course .sh-l { grid-column: 1; grid-row: auto; margin-top: 10px; } .hsec--co { padding: 18px; } }
@media (max-width: 640px) { .hsec { margin-top: 64px; } }
.lesson { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 18px; font-size: 0.875rem; color: var(--text-muted); }
.ls-ch { font: 700 0.8125rem/1 var(--font-mono); color: var(--tc); }
.lesson a { color: var(--text); font-weight: 600; text-decoration: none; }
.lesson a:hover { text-decoration: underline; }
.ls-of { font: 500 0.8125rem/1 var(--font-mono); }
.ls-bar { display: inline-flex; gap: 4px; }
.ls-seg { width: 22px; height: 4px; border-radius: 2px; background: var(--border-subtle); }
.ls-seg.on { background: var(--tc); }
.lesson-head { margin-bottom: 0; }
.lesson-head--qa { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.lesson-head--qa .quick-answer { margin: 6px 0 0; }
.lesson-head--qa .quick-answer p:last-child { font-size: 1rem; line-height: 1.55; }
.lh-text .lede { margin-bottom: 0; }
@media (max-width: 1180px) { .lesson-head--qa { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.figure--lead img { aspect-ratio: 21 / 9; }
@media (max-width: 640px) { .figure--lead img { aspect-ratio: 16 / 9; } }
.pn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 56px; max-width: var(--measure-wide); }
.pn a { display: flex; flex-direction: column; gap: 6px; min-height: 44px; padding: 18px 20px; background: var(--panel); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); color: var(--text); text-decoration: none; }
.pn a:hover { border-color: var(--text); }
.pn a:hover .pn-t { text-decoration: underline; text-underline-offset: 3px; }
.pn-next { text-align: right; grid-column: 2; }
.pn-k { font: 500 0.8125rem/1 var(--font-mono); color: var(--text-muted); }
.pn-t { font-weight: 600; line-height: 1.35; }
@media (max-width: 640px) { .pn { grid-template-columns: minmax(0, 1fr); } .pn-next { grid-column: 1; text-align: left; } }
.ledger > span { white-space: nowrap; }
.byline.ledger { border-bottom: 1px solid var(--border-subtle); margin-bottom: 24px; }
.byline + .figure--lead { margin-top: 0; }
@media (max-width: 640px) {
  .ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; }
  .ledger > span + span::before { content: none; }
  .ledger > span { white-space: normal; }
}
.rates-list li.muted { grid-column: 1 / -1; width: auto; flex-basis: 100%; }
.eyebrow, .tag, .drawer-title, .r-type, .post-kicker, .widget-title, .quote-id, .byline, .callout--example .callout-title, .factbox-title, .card-foot, table.data td::before {
  text-transform: none; letter-spacing: 0; }
.card:hover { transform: none; box-shadow: none; border-color: var(--text); }
.seg-tabs { flex-wrap: wrap; }
@media (max-width: 640px) { .seg-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); -webkit-mask-image: none; mask-image: none; overflow: visible; } .seg-tabs button { white-space: normal; } }
.filings td:last-child, .filings th:last-child { padding-right: 16px; }
.ledger .checked-badge { display: inline; color: var(--success-fg); }
.ledger .checked-badge svg { display: inline; width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
.lesson-head { border-bottom: 0; padding-bottom: 0; }
.lesson-head + .byline.ledger { margin-top: 28px; }
.lesson-head { border-bottom: 0 !important; }
.ledger { column-gap: 22px; }
.ledger > span + span::before { content: none; }
.hub-hero .ledger .ls-ch { color: var(--tc); font: 700 0.8125rem/1.5 var(--font-mono); }
.table-wrap--sticky th[scope="row"] { max-width: 42vw; white-space: normal; }
@media (max-width: 640px) { .table-wrap--sticky th[scope="row"] { min-width: 0; width: 42vw; } }
.an-grid .an-row { grid-template-columns: 26px minmax(0, 1fr); grid-template-areas: "mk lab" "mk val"; row-gap: 2px; align-items: center; }
.an-grid .an-mk { grid-area: mk; }
.an-grid .an-lab { grid-area: lab; }
.an-grid .an-val { grid-area: val; text-align: left; }
.hsec--course .sh { display: block; max-width: 60ch; padding-bottom: 0; }
.hsec--course .sh-l { margin: 10px 0 0; }
.news { max-width: none; }
@media (max-width: 640px) { .lead-img { order: 0; } }
@media (max-width: 900px) {
  .open .container { display: flex; flex-direction: column; }
  .open-top { display: contents; }
  .open h1 { order: 1; margin: 32px 0 20px; }
  .open .anatomy { order: 2; }
  .open-side { order: 3; padding-top: 24px; }
}
.card:hover { transform: none !important; box-shadow: none !important; }
.sources li, .prose a, .ftr-base, .credit { overflow-wrap: anywhere; }
.film { margin: 0; }
.film-media { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface-3); aspect-ratio: 21 / 9; isolation: isolate; }
.film-par { position: absolute; inset: -6% 0; }
.film-v { display: block; width: 100%; height: 100%; object-fit: cover; }
.film .credit { margin-top: 8px; }
.film-tg { position: absolute; right: 12px; bottom: 12px; z-index: 2; min-height: 44px; min-width: 44px; padding: 0 16px; border: 1px solid var(--border-subtle); border-radius: var(--radius-pill);
  background: var(--panel); color: var(--text); font: 600 0.8125rem/1 var(--font-sans); cursor: pointer; opacity: 0.92; }
.film-tg:hover { opacity: 1; border-color: var(--text); }
.film-tg:focus-visible { outline: 2px solid var(--focus, var(--accent)); outline-offset: 2px; }
.film-band { padding: 28px 0 8px; }
.film-band .film-media { aspect-ratio: 24 / 9; }
.film--index { margin: 0 0 40px; }
.hub-media--film .film-media { aspect-ratio: 4 / 3; }
@media (max-width: 640px) {
  .film-media, .film-band .film-media { aspect-ratio: 16 / 9; }
  .film-tg { right: 8px; bottom: 8px; }
}
.row--img { align-items: flex-start; }
.row--img .row-b { flex: 1 1 auto; }
.row-img { flex: 0 0 132px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--surface-3); }
.row-img img, .ch-img img, .co-img img, .pn-img img, .lead-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.news .row-img { flex-basis: 112px; }
@media (max-width: 640px) { .row-img, .news .row-img { flex-basis: 96px; } }
.ch-img { display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; margin: 0 0 16px; background: var(--surface-3); }
.co-strip { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.co a { display: block; color: var(--text); text-decoration: none; }
.co-img { display: block; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--surface-3); margin-bottom: 8px; }
.co-n { display: block; font-weight: 600; line-height: 1.3; }
.co-t { display: block; font: 500 0.8125rem/1.4 var(--font-sans); color: var(--text-muted); }
.co a:hover .co-n { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .co-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pn-img { display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; margin-bottom: 6px; background: var(--surface-3); }
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(28px); transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1); transition-delay: var(--rv-d, 0ms); }
  .rv.is-in { opacity: 1; transform: none; }
  .kb { overflow: hidden; }
  .kb img { transform: scale(1.12); transition: transform 2.8s cubic-bezier(0.16, 1, 0.3, 1); }
  .kb.is-in img { transform: scale(1); }
  .row-img img, .ch-img img, .co-img img, .pn-img img, .lead-img img, .figure:not(.figure--chart) img { transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
  .row:hover .row-img img, .ch:hover .ch-img img, .co a:hover .co-img img, .pn a:hover .pn-img img, .lead:hover .lead-img img { transform: scale(1.06); }
  .figure--chart.rv img { clip-path: inset(0 100% 0 0); transition: clip-path 2.2s cubic-bezier(0.65, 0, 0.35, 1) 0.25s; }
  .figure--chart.rv.is-in img { clip-path: inset(0 0 0 0); }
  .an-row:hover .an-mk, .an-row:focus-visible .an-mk { animation: cw-mark 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
  @keyframes cw-mark { 0% { transform: scale(0.7); } 60% { transform: scale(1.15); } 100% { transform: none; } }
  .rates-list .r-val { animation: cw-fade 1.2s ease-out both; }
  @keyframes cw-fade { from { opacity: 0; } to { opacity: 1; } }
  .film.is-playing .film-v { animation: cw-drift 24s ease-in-out infinite alternate; }
  @keyframes cw-drift { from { transform: scale(1.04) translateX(-1%); } to { transform: scale(1.1) translateX(1%); } }
  @supports (animation-timeline: view()) {
    .film-par { animation: cw-par linear both; animation-timeline: view(); }
    @keyframes cw-par { from { transform: translateY(-4%); } to { transform: translateY(4%); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  .film-tg { display: none; }
}
@media (max-width: 640px) {
  .table-wrap:not(.table-wrap--fit) { overflow: hidden; padding: 0; }
  .table-wrap:not(.table-wrap--fit) table.data tr { padding: 14px 16px; border-bottom: 1px solid var(--border-subtle); }
  .table-wrap:not(.table-wrap--fit) table.data tbody tr:last-child { border-bottom: 0; }
  .table-wrap:not(.table-wrap--fit) table.data td { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 4px 0; }
  .table-wrap:not(.table-wrap--fit) table.data th[scope="row"] { padding: 0 0 6px; }
  .table-wrap:not(.table-wrap--fit) table.data caption:not(.visually-hidden) { padding: 12px 16px 0; }
}
@media (max-width: 640px) {
  .table-wrap--fit { overflow: hidden; padding: 0; }
  .table-wrap--fit table.data { display: table; width: 100%; table-layout: auto; }
  .table-wrap--fit table.data thead { display: table-header-group; position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .table-wrap--fit table.data tbody { display: table-row-group; }
  .table-wrap--fit table.data tr { display: table-row; padding: 0; border: 0; }
  .table-wrap--fit table.data th, .table-wrap--fit table.data td { display: table-cell; width: auto; padding: 10px 12px; border-bottom: 1px solid var(--border-subtle); font-size: 0.875rem; line-height: 1.45; vertical-align: top; text-align: left; }
  .table-wrap--fit table.data thead th { font-size: 0.75rem; }
  .table-wrap--fit table.data tbody tr:last-child > * { border-bottom: 0; }
  .table-wrap--fit table.data td::before { content: none; }
  .table-wrap--fit table.data td.num, .table-wrap--fit table.data th.num { text-align: right; }
  .table-wrap--fit table.data td .cell { white-space: normal; }
  .table-wrap--fit table.data th[scope="row"] { font-size: 0.875rem; padding: 10px 12px; min-width: 0; }
}
@media (max-width: 640px) {
  .rates-table tbody tr:not(:has(td[colspan])) { grid-template-columns: minmax(0, 1fr) auto auto 56px; padding: 12px 16px; }
  .rates-table tbody tr td:nth-of-type(n+3) { display: none; }
  .rates-table tbody tr td:nth-of-type(5) { display: block; align-self: center; }
  .rates-table svg.spark { width: 56px; height: 22px; }
}
@media (max-width: 640px) {
  .hsec--co .table-wrap, .hsec--co .mkt-note { display: none; }
}
.snap-h { font-size: 1.25rem; margin: 40px 0 0; }
.t-index .co-strip { margin-top: 28px; }
.figure--chart picture, .figure--chart picture img { display: block; width: 100%; height: auto; }
.figure--chart picture.ch-d { display: none; }
:root[data-theme='dark'] .figure--chart picture.ch-l { display: none; }
:root[data-theme='dark'] .figure--chart picture.ch-d { display: block; }
.chart-head { display: none; }
.figure--cv figcaption::before { content: none !important; }
:root[data-theme='dark'] .figure--chart img { border-color: var(--border-subtle); }
@media (max-width: 640px) {
  .figure--cv .chart-head { display: block; margin: 0 0 10px; }
  .chart-t { display: block; font-weight: 700; font-size: 1rem; line-height: 1.3; color: var(--text); }
  .chart-s { display: block; margin-top: 2px; font-size: 0.8125rem; line-height: 1.4; color: var(--text-muted); }
}
.curve { border-radius: var(--radius-lg); background: var(--panel); }
.callout--example, .callout:not([class*="callout--"]) { background: var(--panel); border: 1px solid var(--border-subtle); border-left: 3px solid var(--accent); border-radius: var(--radius); }
.callout--example > svg, .callout:not([class*="callout--"]) > svg { color: var(--accent); }
.factbox dl:has(> div:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { .factbox dl:has(> div:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pn a { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 16px; row-gap: 6px; align-items: start; text-align: left; padding: 14px; }
.pn .pn-img { grid-row: 1 / 3; grid-column: 1; margin: 0; aspect-ratio: 4 / 3; }
.pn .pn-k, .pn .pn-t { grid-column: 2; }
.pn a:not(:has(.pn-img)) { grid-template-columns: minmax(0, 1fr); }
.pn a:not(:has(.pn-img)) .pn-k, .pn a:not(:has(.pn-img)) .pn-t { grid-column: 1; }
.pn-next .pn-k::after { content: " →"; }
.pn-prev .pn-k::before { content: "← "; }
@media (max-width: 640px) { .pn a { grid-template-columns: 88px minmax(0, 1fr); } }
@media (max-width: 900px) {
  .open .anatomy { order: 3; margin-top: 8px; }
  .open-side { order: 2; padding-top: 0; }
}
@media (max-width: 560px) {
  .an-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
  .an-row { grid-template-columns: 22px minmax(0, 1fr); grid-template-areas: "mk lab" "mk val"; row-gap: 2px; align-items: start; min-height: 0; padding: 10px 0; }
  .an-mk { width: 22px; height: 22px; font-size: 0.6875rem; grid-area: mk; }
  .an-row--big .an-val, .an-row .an-val { font-size: 0.9375rem; white-space: normal; overflow-wrap: anywhere; line-height: 1.3; }
  .an-row--big:nth-child(2) .an-val { font-size: 0.9375rem; }
  .an-lab { font-size: 0.75rem; }
}
@media (max-width: 640px) {
  .byline.ledger { display: block; line-height: 1.9; }
  .byline.ledger > span { display: inline-block; white-space: nowrap; }
  .byline.ledger > span + span::before { content: "·"; margin: 0 8px; color: var(--text-muted); }
  .breadcrumb li:last-child:not(:nth-child(2)) { display: none; }
}
@media (max-width: 640px) {
  .ch { display: grid; grid-template-columns: minmax(0, 1fr) 84px; column-gap: 14px; align-items: start; }
  .ch > * { grid-column: 1 / -1; }
  .ch .ch-img { grid-column: 2; grid-row: 1 / 3; aspect-ratio: 1; margin: 0; }
  .ch .ch-n, .ch .ch-t { grid-column: 1; }
  .hsec--course .ch-list { display: none; }
  .hsec--course .ch-more { display: block; }
}
@media (max-width: 480px) {
  .row--img .row-img { flex-basis: 64px; }
  .row-ex { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (min-width: 1080px) {
  .hub-main { display: grid; grid-template-columns: minmax(0, 1fr) 300px; column-gap: 64px; align-items: start; max-width: none; }
  .hub-main > .hub-intro { max-width: 680px; }
  .hub-main > * { grid-column: 1; }
  .hub-main > .further:has(.chips) { grid-column: 2; grid-row: 1 / span 3; position: sticky; top: 96px; margin: 0; padding: 20px; background: var(--panel); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); }
  .hub-main > .further:has(.chips) h2 { font-size: 1rem; margin: 0 0 12px; }
}
.hub-media figcaption { background: transparent; padding: 8px 0 0; }
@media (min-width: 761px) {
  .t-index .page-main:has(.az-bar) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; align-items: start; }
  .t-index .page-main:has(.az-bar) > :not(.az-group) { grid-column: 1 / -1; }
}
@media (min-width: 761px) and (max-width: 1080px) { .t-index .page-main:has(.az-bar) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.az-group { margin-bottom: 28px; }
.az-group h2 { border-top: 1px solid var(--border-subtle); font-size: 1.25rem; padding-top: 14px; margin-bottom: 4px; }
.az-group .az-list { grid-template-columns: minmax(0, 1fr); }
.az-bar { background: transparent; border: 0; gap: 6px; }
.az-bar a, .az-bar span { border-radius: var(--radius-sm); box-shadow: inset 0 0 0 1px var(--border-subtle); background: var(--panel); }
.az-bar span { background: transparent; }
.az-bar a:hover { box-shadow: none; }
#search-page .search-results { border-top: 0; }
#search-page .search-results:not(:empty) { border-top: 1px solid var(--border-subtle); }
#search-page.has-q .search-start { display: none; }
.search-start { margin: 28px 0 40px; }
.ss-h { font-size: 1rem; margin: 28px 0 12px; }
.ss-ch { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.ss-ch a { display: flex; gap: 14px; align-items: baseline; min-height: 44px; padding: 10px 0; border-bottom: 1px solid var(--border-subtle); color: var(--text); text-decoration: none; }
.ss-ch a:hover { color: var(--link); }
.ss-n { font: 600 0.8125rem/1 var(--font-mono); color: var(--accent); }
.ss-more { margin: 20px 0 0; }
@media (max-width: 640px) { .ss-ch { grid-template-columns: minmax(0, 1fr); } }
.tool-cards { list-style: none; margin: 28px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tc { position: relative; display: flex; flex-direction: column; padding: 20px; background: var(--panel); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); }
.tc:hover { border-color: var(--text); }
.tc-n { margin: 0 0 14px; font: 600 0.8125rem/1 var(--font-mono); color: var(--accent); }
.tc-t { margin: 0 0 10px; font-size: 1.125rem; line-height: 1.3; }
.tc-t a { color: var(--text); text-decoration: none; }
.tc-t a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tc:hover .tc-t a { text-decoration: underline; text-underline-offset: 3px; }
.tc-f { margin: 0 0 12px; padding: 10px 12px; font: 500 0.8125rem/1.5 var(--font-mono); color: var(--text); background: var(--surface-1); border-radius: var(--radius-sm); }
.tc-d { margin: 0; font-size: 0.875rem; color: var(--text-muted); }
@media (max-width: 1000px) { .tool-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tool-cards { grid-template-columns: minmax(0, 1fr); } }
.t-index .page-main:has(.tool-cards) { max-width: none; }
.t-index .page-main:has(.tool-cards) > .prose { max-width: 760px; }
.tool-form { border-right: none; }
@media (max-width: 760px) { .tool-form { border-right: 0; border-bottom: none; } }
@media (min-width: 901px) { .calc-main { position: sticky; top: 96px; } }
.field input, .field select, .field textarea, .rail-search input, .ftr .field input { border: 1px solid var(--ink-400); border-radius: var(--radius); background: var(--panel); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.converter { border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--panel); padding: 20px; }
section[aria-labelledby="fx-h"], section[aria-labelledby="rt-h"] { margin-top: 48px; }
.notfound .code { font: 600 0.8125rem/1 var(--font-mono); color: var(--accent); letter-spacing: 0.04em; margin: 0 0 12px; }
.notfound .rail-search, .rail-search { display: flex; gap: 8px; align-items: stretch; max-width: 560px; }
.rail-search input { flex: 1; min-height: 48px; }
.rail-search .btn { min-height: 48px; }
.card-grid .card { border-radius: var(--radius-lg); background: var(--panel); }
.seg-tabs { border: 1px solid var(--border-subtle); border-radius: var(--radius); overflow: hidden; }
.seg-tabs button { border-right: 1px solid var(--border-subtle); }
.seg-tabs button:last-child { border-right: 0; }
.seg-tabs button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.stock-panel { border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--panel); }
.filings tbody tr, .filings tbody th, .filings tbody td { border-color: var(--border-subtle); }
@media (max-width: 640px) {
  .ftr-row ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .ftr-row h2 { padding-top: 12px; }
}
.news .rows { align-content: start; }
.factbox { border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); overflow: hidden; background: var(--panel); }
.factbox-title { background: var(--surface-1); color: var(--text); border-bottom: 1px solid var(--border-subtle); text-transform: none; letter-spacing: 0; font-size: 0.8125rem; }
.factbox dl > div { background: var(--panel); }
.factbox dl:has(> div:nth-child(4):last-child) > div:last-child { grid-column: auto; }
.qa-after { margin: 24px 0 8px; max-width: 680px; }
.qa-after .quick-answer { margin: 0; }
.section-head { border-top: 1px solid var(--border-subtle); padding-top: 16px; }
.curve-spread { font-family: var(--font-sans); }
.curve-spread strong { font-family: var(--font-mono); }
sup.cite a { color: var(--accent-hover); }
.byline a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--border-strong, currentColor); }
.byline a:hover { text-decoration-color: currentColor; }
.ss-n, .row-n, .notfound .code, .post-kicker { color: var(--accent-hover); }
.hub-toc { margin-top: var(--sp-5); max-width: 440px; }
.hub-toc-h { display: block; font: 600 0.8125rem/1 var(--font-mono); margin: 0 0 6px; color: var(--text); }
.hub-toc a { min-height: 36px; align-items: center; }
.hub-main h2[id] { scroll-margin-top: 88px; }
.hub-hero .ledger .byline-by a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--border-strong, currentColor); }
.hub-hero .ledger .byline-by a:hover { text-decoration-color: currentColor; }
@media (max-width: 640px) { .hub-hero .ledger .byline-by { grid-column: 1 / -1; } }
.ch-d, .row-ex { font-size: 1rem; }
.hub-main > .hub-intro { max-width: var(--measure); }
.follow { display: grid; gap: var(--sp-3); }
.follow-btn { justify-self: start; border: 1px solid var(--text); background: var(--bg); color: var(--text); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.04em; }
.follow-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.follow-form { display: grid; gap: var(--sp-3); border: 1px solid var(--text); padding: var(--sp-4); background: var(--surface, var(--bg)); }
.follow-form .btn--primary { justify-self: start; }
.follow-note { margin: 0; font-size: var(--fs-sm); color: var(--text-muted); max-width: 60ch; }
.follow-form[hidden], .follow-btn[hidden] { display: none; }
body { background-color: var(--canvas); background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: var(--grid-cell) var(--grid-cell); }
.open, .hub-hero, .ftr { background-color: transparent; }
.rv, .rv.is-in { opacity: 1; transform: none; }
.open--annot { padding-bottom: 36px; }
.annot-top { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 52px 0 30px; }
.annot-top > * { order: 0; }
.open .annot-top h1 { order: 0; max-width: 18ch; margin: 0 auto; }
@media (max-width: 640px) {
  .open .annot-top h1 { font-size: 2.125rem; line-height: 1.12; max-width: 15ch; }
}
.annot-top .lede { margin: 18px auto 20px; max-width: 46ch; }
.annot-top .open-acts { justify-content: center; }
.annot-top .open-note { margin: 16px auto 0; }
.offer-pill { display: inline-block; font-weight: 600; font-size: 0.8125rem; line-height: 1; background: var(--accent); color: var(--on-accent); padding: 4px 8px; border-radius: var(--radius-sm); margin-right: 6px; }
.annot { position: relative; margin: 6px 0 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.annot-lines { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; z-index: 2; }
.al-p { fill: none; stroke: var(--leader); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.al-d { fill: var(--leader); }
.aq { position: relative; z-index: 3; margin: 0; background: var(--surface-1); border: none; border-radius: var(--radius-lg); padding: 22px 24px 10px; }
.aq-rows { display: block; }
.aq-row { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 48px; padding: 8px 0; color: var(--text); text-decoration: none; }
.aq-row:first-child { border-top: 0; }
.aq-mk, .an-n-mk { display: grid; place-items: center; width: 26px; height: 26px; border: 1.5px solid var(--accent); border-radius: 50%; color: var(--link); font: 600 0.8125rem/1 var(--font-sans); background: var(--panel); }
.aq-lab { font-size: 0.875rem; color: var(--text-muted); }
.aq-val { font: 600 1rem/1.2 var(--font-sans); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.aq-val.up { color: var(--up); }
.aq-row--big .aq-val { font-size: 1.625rem; font-weight: 600; }
.aq-row--big + .aq-row--big .aq-val { font-size: 1.0625rem; }
a.aq-row:hover .aq-lab { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
a.aq-row:hover .aq-mk, a.aq-row:focus-visible .aq-mk { background: var(--accent); color: var(--on-accent); }
.an-notes { list-style: none; margin: 0; padding: 0; }
.an-n { margin: 0; }
.an-n-a { display: grid; gap: 2px 10px; padding: 12px 14px; border: none; border-radius: var(--radius); background: var(--surface-1); color: var(--text); text-decoration: none; max-width: 300px; }
.an-n-l { grid-area: l; font-weight: 600; font-size: 0.9375rem; line-height: 1.3; align-self: center; }
.an-n-mk { grid-area: mk; }
.an-n-t { grid-area: t; font-size: 0.875rem; line-height: 1.45; color: var(--text-muted); margin-top: 4px; }
.an-n-go { grid-area: go; margin-top: 6px; font-size: 0.8125rem; font-weight: 600; color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
a.an-n-a:hover { border-color: var(--accent); }
a.an-n-a:hover .an-n-mk, a.an-n-a:focus-visible .an-n-mk { background: var(--accent); color: var(--on-accent); }
.an-n--l .an-n-a { grid-template-columns: minmax(0, 1fr) 26px; grid-template-areas: "l mk" "t t" "go go"; text-align: right; }
.an-n--r .an-n-a { grid-template-columns: 26px minmax(0, 1fr); grid-template-areas: "mk l" "t t" "go go"; }
.annot figcaption { margin-top: 16px; font-size: 0.8125rem; color: var(--text-muted); text-align: center; }
.annot-replay { justify-self: center; margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--border-strong); border-radius: var(--radius-pill);
  background: var(--panel); color: var(--text); font: 600 0.875rem/1 var(--font-sans); cursor: pointer; }
.annot-replay[hidden] { display: none; }
.annot-replay:hover { border-color: var(--accent); color: var(--link); }
.annot-replay:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.annot-replay svg { width: 16px; height: 16px; }
@media (min-width: 1000px) {
  .annot { grid-template-columns: minmax(0, 1fr) 380px minmax(0, 1fr); grid-template-rows: repeat(4, auto) auto auto; column-gap: 76px; row-gap: 18px; align-items: center; }
  .aq { grid-column: 2; grid-row: 1 / span 4; align-self: center; }
  .an-notes { display: contents; }
  .an-n--l { grid-column: 1; justify-self: end; }
  .an-n--r { grid-column: 3; justify-self: start; }
  .an-n[data-n="1"], .an-n[data-n="2"] { grid-row: 1; }
  .an-n[data-n="3"], .an-n[data-n="4"] { grid-row: 2; }
  .an-n[data-n="5"], .an-n[data-n="6"] { grid-row: 3; }
  .an-n[data-n="7"], .an-n[data-n="8"] { grid-row: 4; }
  .annot figcaption { grid-column: 1 / -1; grid-row: 5; margin-top: 10px; }
  .annot-replay { grid-column: 1 / -1; grid-row: 6; margin-top: 4px; }
}
@media (max-width: 999px) {
  .aq, .aq-rows, .an-notes { display: contents; }
  .an-head { order: 0; background: var(--surface-1); border: none; border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 16px 16px 12px; margin: 0; }
  .aq-row, .an-n { background: var(--surface-1); border: none; padding-inline: 16px; }
  .aq-row { border: none; }
  .an-n { padding-bottom: 12px; }
  .an-n:last-of-type { border: none; border-radius: 0 0 var(--radius-lg) var(--radius-lg); padding-bottom: 16px; }
  .an-n .an-n-a, .an-n--l .an-n-a, .an-n--r .an-n-a { max-width: none; margin-left: 30px; padding: 10px 12px; background: var(--panel); border: none; text-align: left;
    grid-template-columns: 22px minmax(0, 1fr); grid-template-areas: "mk l" ". t" ". go"; }
  .an-n-mk { width: 22px; height: 22px; font-size: 0.8125rem; align-self: start; }
  .an-n .an-n-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .an-n .an-n-a { grid-template-areas: "mk t" ". go"; }
  .an-n-t { margin-top: 1px; }
  .aq-row[data-n="1"] { order: 1; } .an-n[data-n="1"] { order: 2; } .aq-row[data-n="2"] { order: 3; } .an-n[data-n="2"] { order: 4; }
  .aq-row[data-n="3"] { order: 5; } .an-n[data-n="3"] { order: 6; } .aq-row[data-n="4"] { order: 7; } .an-n[data-n="4"] { order: 8; }
  .aq-row[data-n="5"] { order: 9; } .an-n[data-n="5"] { order: 10; } .aq-row[data-n="6"] { order: 11; } .an-n[data-n="6"] { order: 12; }
  .aq-row[data-n="7"] { order: 13; } .an-n[data-n="7"] { order: 14; } .aq-row[data-n="8"] { order: 15; } .an-n[data-n="8"] { order: 16; }
  .annot figcaption { order: 20; text-align: left; }
  .annot-replay { order: 21; justify-self: start; }
  .aq-row--big .aq-val { font-size: 1.375rem; }
  .annot-top { padding: 32px 0 22px; }
}
@media (max-width: 420px) { .aq-val { font-size: 0.9375rem; } .aq-row { gap: 10px; } }
.lesson-head .lh-text { view-transition-name: vt-note; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-group(vt-note) { animation-duration: 0.45s; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
  ::view-transition-old(vt-note), ::view-transition-new(vt-note) { block-size: 100%; object-fit: cover; object-position: left top; }
}
.steps-film { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.steps-film > .steps { margin: 0; }
@media (min-width: 760px) { .steps-film { grid-template-columns: minmax(0, 1fr) 210px; gap: 28px; } }
.cw-film { margin: 0; }
.cw-film-mv { border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); --mv-bg: var(--surface-3); }
.cw-film figcaption { margin-top: 10px; font-size: 0.8125rem; color: var(--text-muted); line-height: 1.45; }
.cwf-t { display: block; font-weight: 600; color: var(--text); font-size: 0.875rem; }
.cwf-s { display: block; }
.cwf-tx { margin-top: 6px; }
.cwf-tx summary { cursor: pointer; min-height: 32px; display: flex; align-items: center; color: var(--link); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cwf-tx ol { margin: 6px 0 0; padding-left: 1.2em; }
.cwf-tx li + li { margin-top: 4px; }
@media (max-width: 759px) { .cw-film { width: 100%; max-width: 260px; justify-self: center; } }
.mv { --mv-toggle-bg: var(--photo-btn-bg); --mv-toggle-fg: var(--on-photo); --mv-toggle-border: var(--on-photo-45); --mv-focus: var(--focus-ring); }
.mv { position: relative; overflow: hidden; isolation: isolate; aspect-ratio: var(--mv-ratio, 16 / 9); background: var(--mv-bg, var(--surface-3)); }
.mv__poster, .mv__poster img, .mv__video { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; display: block; }
.mv__video { opacity: 0; transition: opacity 0.35s ease-out; }
.mv--playing .mv__video { opacity: 1; }
.mv__toggle { position: absolute; z-index: 3; inset-block-end: var(--mv-toggle-inset, 10px); inset-inline-end: var(--mv-toggle-inset, 10px); inline-size: 44px; block-size: 44px; display: grid; place-items: center; padding: 0; cursor: pointer;
  border-radius: 999px; border: 1px solid var(--mv-toggle-border); background: var(--mv-toggle-bg); color: var(--mv-toggle-fg); }
.mv__toggle[hidden] { display: none; }
.mv__toggle:focus-visible { outline: 3px solid var(--mv-focus); outline-offset: 2px; }
.mv__toggle svg { inline-size: 18px; block-size: 18px; }
.mv__toggle .mv__i-play { display: none; }
.mv__toggle[aria-pressed="true"] .mv__i-play { display: block; }
.mv__toggle[aria-pressed="true"] .mv__i-pause { display: none; }
.mv--static .mv__video { display: none; }
@media (prefers-reduced-motion: reduce) { .mv__video, .mv__toggle { display: none !important; } }
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.22s; }
}
@media (min-width: 1600px) {
  :root { --container: 1360px; --rail: 260px; --measure-wide: 900px; }
  .page-grid--outline { gap: 72px; }
}
@media (min-width: 1200px) {
  .page-grid--outline .prose { max-width: none; }
  .page-grid--outline .prose > :not(.figure):not(.table-wrap):not(.diagram):not(.tool):not(.factbox):not(.callout):not(.chart-scroll) { max-width: var(--measure); }
  .page-grid--outline .prose > .callout { max-width: var(--measure); }
  .page-grid--outline .prose > :is(.figure, .table-wrap, .diagram, .tool, .factbox, .chart-scroll) { max-width: none; }
}
@media (min-width: 901px) {
  .calc-home .calc-main { position: sticky; top: 88px; }
}
@media (min-width: 901px) {
  .hsec--check { align-items: center; }
  .hsec--check .facts { grid-template-columns: minmax(0, 1fr); }
  .hsec--check .facts > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 24px; align-items: baseline; padding: 20px 28px; border-left: 0; border-top: 1px solid var(--border-subtle); }
  .hsec--check .facts > div:first-child { border-top: 0; }
  .hsec--check .facts dt { grid-column: 2; grid-row: 1; }
  .hsec--check .facts dd:not(.fd) { grid-column: 1; grid-row: 1 / span 2; margin: 0; align-self: center; }
  .hsec--check .facts dd.fd { grid-column: 2; grid-row: 2; margin-top: 4px; }
}
:root { --cw5-ink: color-mix(in srgb, var(--accent-2) 52%, transparent); --cw5-ease: cubic-bezier(0.65, 0, 0.35, 1); }
:root[data-theme='dark'] { --cw5-ink: color-mix(in srgb, var(--accent) 46%, transparent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) { --cw5-ink: color-mix(in srgb, var(--accent) 46%, transparent); } }
@media (prefers-reduced-motion: no-preference) {
  .cw5 .cw5-mk { position: relative; isolation: isolate; }
  .cw5 .cw5-mk::after {
    content: ""; position: absolute; z-index: -1; left: -0.08em; bottom: 0.1em; height: 0.4em;
    width: calc(var(--cw5-w, 4em) + 0.16em); max-width: calc(100% + 0.16em);
    background: var(--cw5-ink); border-radius: 0.28em 0.5em 0.34em 0.56em / 0.5em 0.38em 0.6em 0.44em;
    transform: scaleX(0) rotate(-0.6deg); transform-origin: 0 50%; transition: transform 0.95s var(--cw5-ease) 0.12s; pointer-events: none;
  }
  .cw5 .cw5-mk.cw5-on::after { transform: scaleX(1) rotate(-0.6deg); }
  .cw5 .cw5-rv { transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) var(--cw5-d, 0ms), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) var(--cw5-d, 0ms); }
  .cw5 .cw5-rv:not(.cw5-on) { opacity: 0; transform: translate3d(-14px, 12px, 0); }
  .cw5 .ap-hub .ap-list > li::before {
    content: ""; position: absolute; left: -12px; top: 22px; bottom: 26px; width: 5px; border-radius: 3px;
    background: var(--cw5-ink); transform: scaleY(0); transform-origin: 50% 0; transition: transform 0.6s var(--cw5-ease); pointer-events: none;
  }
  .cw5 .ap-hub .ap-list > li.cw5-now::before { transform: scaleY(1); }
  .cw5 .ap-hub .ap-date::before { transform-origin: 0 50%; transition: transform 0.6s var(--cw5-ease); }
  .cw5 .ap-hub .ap-list > li.cw5-now .ap-date::before { transform: scaleX(1.5); }
  .ap-article .ap-figure img { animation: cw5-settle 1.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
  @keyframes cw5-settle { from { transform: scale(1.025); } to { transform: none; } }
  .cw5-art .progress { display: block; height: 5px; }
  .cw5-art .progress span { background: var(--cw5-ink); border-radius: 0 3px 3px 0; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  :root .ap-hub .ap-thumb img { transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1); }
  :root .ap-hub .ap-list > li:hover .ap-thumb img, :root .ap-hub .ap-list > li:focus-within .ap-thumb img,
  :root .row:hover .row-img img, :root .row:focus-within .row-img img,
  :root .ch:hover .ch-img img, :root .ch:focus-within .ch-img img,
  :root .co a:hover .co-img img, :root .co a:focus-visible .co-img img,
  :root .lead:hover .lead-img img, :root .lead:focus-within .lead-img img,
  :root .pn a:hover .pn-img img, :root .pn a:focus-visible .pn-img img { transform: scale(1.09) translateX(-4%); }
}
[data-topic="brokers-and-apps"] { --tc: var(--t-brokers-and-apps); }
.aff-note { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 var(--sp-5); padding: 12px 14px; font-size: var(--fs-sm); line-height: 1.55; color: var(--text-muted); background: var(--surface-1); border: 1px solid var(--border-subtle); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); }
.aff-note svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--accent-hover); }
.aff-note strong { color: var(--text); }
.aff-note a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.cta-partner { display: grid; grid-template-columns: 1fr auto; gap: var(--sp-3) var(--sp-5); align-items: center; margin: var(--sp-6) 0; padding: var(--sp-5); background: var(--accent-subtle); border: 1px solid var(--accent-muted); border-radius: var(--radius); }
.cta-partner .cta-title { font: 700 var(--fs-lg)/1.3 var(--font-sans); color: var(--text); margin: 0 0 6px; }
.cta-partner .cta-body p { margin: 0; color: var(--text); }
.cta-partner a.cta-btn, .cta-partner a.cta-btn:visited, .cta-partner a.cta-btn:hover { color: var(--on-accent); text-decoration: none; white-space: nowrap; }
.cta-partner .aff-note { grid-column: 1 / -1; margin: 0; background: var(--bg); }
@media (max-width: 640px) {
  .cta-partner { grid-template-columns: 1fr; padding: var(--sp-4); }
  .cta-partner a.cta-btn { width: 100%; }
}
@media print { .cta-partner .cta-btn { display: none; } }
