:root {
    --paper: #ffffff;
    --ink: #202c29;
    --forest: #164b42;
    --muted: #66746e;
    --line: #e2e8e4;
    --mint: #e5f1eb;
    font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--forest); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #27755d; outline-offset: 3px; border-radius: 3px; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: #cce5d8; color: #163b30; }
[id] { scroll-margin-top: 24px; }
.page-shell { width: min(1184px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: -80px; left: 20px; z-index: 2; padding: 16px; background: var(--forest); color: white; }
.skip-link:focus { top: 10px; color: white; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 102px; display: flex; align-items: center; gap: 32px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-size: 28px; font-weight: 750; letter-spacing: -1.3px; white-space: nowrap; }
.wordmark-cloud { color: var(--muted); font-weight: 450; }
.brand-mark { flex-shrink: 0; }
.main-nav { display: flex; align-items: center; align-self: stretch; gap: 30px; font-size: 14px; font-weight: 550; }
.main-nav a { display: flex; align-items: center; position: relative; }
.main-nav .nav-current::after { content: ""; height: 3px; position: absolute; bottom: -1px; left: 0; right: 0; background: var(--forest); }
.language-label { margin-left: auto; display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 14px; }
.language-label > span { font-size: 22px; }
.market-rates { margin-left: 8px; min-width: 0; flex: 1; max-width: 660px; padding-block: 12px; }
.market-row { display: flex; align-items: center; gap: 12px; }
.market-quotes { display: flex; flex: 0 1 auto; min-width: 0; gap: 12px; overflow-x: auto; padding: 3px; scrollbar-width: thin; scrollbar-color: #c4d4ca transparent; }
.market-quote { flex: 0 0 auto; display: grid; grid-template-columns: max-content max-content; justify-content: start; column-gap: 8px; row-gap: 4px; font-variant-numeric: tabular-nums; background: transparent; color: var(--ink); border: 0; padding: 7px; text-align: left; border-radius: 5px; }
.market-quote:hover { background: #f1f6f3; }
.market-symbol { font-size: 11px; font-weight: 650; color: var(--muted); }
.market-price { grid-row: 2; grid-column: 1 / -1; font-size: 14px; font-weight: 650; white-space: nowrap; }
.market-change { text-align: left; font-size: 11px; color: var(--muted); white-space: nowrap; }
.market-quote.is-positive .market-change { color: #28754d; }
.market-quote.is-negative .market-change { color: #ad3838; }
.market-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-left: 10px; }
.market-source { margin: 0; font-size: 10px; color: var(--muted); }
.market-customize { flex: 0 0 auto; display: flex; align-items: center; gap: 4px; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--forest); font-size: 11px; min-height: 40px; padding: 5px 7px 5px 14px; white-space: nowrap; }
.market-customize:hover { text-decoration: underline; }
.market-customize > span[aria-hidden] { font-size: 16px; }
.market-scroll-controls { display: none; gap: 2px; margin-left: auto; }
.has-extra-coins .market-scroll-controls { display: flex; }
.market-scroll-controls button { width: 30px; height: 32px; border: 0; background: transparent; color: var(--forest); font-size: 22px; }
.market-scroll-controls button:hover { background: #f1f6f3; border-radius: 4px; }
.market-rates.is-unavailable .market-price { color: #ad3838; }
.market-rates noscript { font-size: 11px; color: var(--muted); }
.market-dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); border: 1px solid var(--line); border-radius: 12px; padding: 24px; color: var(--ink); background: var(--paper); box-shadow: 0 20px 80px #152d2733; }
.market-dialog::backdrop { background: #152d2777; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dialog-heading h2 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.6px; }
.dialog-close { flex: 0 0 36px; height: 36px; border: 0; border-radius: 50%; background: #f1f6f3; font-size: 27px; color: var(--forest); }
.dialog-intro { margin: 12px 0 22px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.market-search-label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 600; }
#market-search { display: block; width: 100%; padding: 11px 12px; border: 1px solid #c4d4ca; border-radius: 5px; background: white; color: var(--ink); font-size: 16px; }
.market-selection-status { color: var(--muted); font-size: 12px; margin-block: 14px 8px; min-height: 16px; }
.market-options { max-height: min(340px, 38dvh); overflow-y: auto; border-block: 1px solid var(--line); }
.market-option { display: flex; align-items: center; gap: 12px; padding: 13px 8px; font-size: 14px; cursor: pointer; }
.market-option[hidden] { display: none; }
.market-option:hover, .market-option:has(input:checked) { background: #f1f6f3; }
.market-option input { width: 17px; height: 17px; margin: 0; accent-color: var(--forest); }
.market-option > span { font-weight: 600; }
.market-option small { margin-left: auto; color: var(--muted); font-size: 11px; }
.market-empty { color: var(--muted); font-size: 14px; }
.watchlist-error { color: #ad3838; font-size: 12px; line-height: 1.5; }
.watchlist-error:empty { display: none; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 20px; }
.primary-button, .secondary-button { border: 1px solid var(--forest); padding: 11px 17px; border-radius: 5px; font-size: 14px; }
.primary-button { color: white; background: var(--forest); }
.secondary-button { color: var(--forest); background: white; }
.chart-dialog { width: min(1120px, calc(100% - 32px)); }
.chart-widget-host { height: min(66vh, 650px); min-height: 300px; margin-top: 18px; }
.chart-widget-host .tradingview-widget-container { width: 100%; height: 100%; }
.chart-widget-host .tradingview-widget-container__widget { width: 100%; height: calc(100% - 32px); }
.chart-widget-host iframe { width: 100%; height: 100%; border: 0; }
.tradingview-widget-copyright { height: 32px; padding-top: 9px; text-align: center; font-size: 12px; }
.tradingview-widget-copyright a { color: #2962ff; }
.chart-help { color: var(--muted); font-size: 12px; margin: 12px 0 0; }
.section-heading { padding: 27px 0 31px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 14px; color: var(--muted); }
.section-heading p { margin: 0; display: flex; align-items: center; gap: 10px; }
.status-dot { display: inline-block; height: 7px; width: 7px; border-radius: 50%; background: #398365; flex: 0 0 auto; }
.edition { font-size: 12px; }
.reading-layout { display: grid; grid-template-columns: minmax(0, 800px) 288px; gap: 64px; align-items: start; padding-bottom: 75px; }
.article { min-width: 0; }
.article-header { padding-top: 9px; }
.article-meta { display: flex; align-items: center; gap: 16px; font-size: 12px; color: var(--muted); }
.welcome-tag { background: #edf3ef; padding: 6px 11px; border-radius: 4px; color: var(--forest); font-weight: 600; }
h1 { margin: 20px 0 16px; font-size: clamp(54px, 6.4vw, 84px); line-height: 1.05; letter-spacing: -4.8px; font-weight: 650; }
.article-deck { font-size: 22px; color: var(--muted); line-height: 1.6; margin: 0; letter-spacing: -.35px; }
.author-line { display: flex; align-items: center; gap: 10px; margin-top: 26px; }
.author-avatar { height: 36px; width: 36px; display: grid; place-items: center; border: 1px solid #ccdbd2; border-radius: 50%; font-weight: 750; font-size: 21px; letter-spacing: -1.5px; background: #f6f9f7; color: var(--forest); }
.author-line > div { display: flex; flex-direction: column; gap: 3px; }
.author-name { font-size: 12px; font-weight: 650; }
.author-role { font-size: 11px; color: var(--muted); }
.article-figure { margin: 30px 0 36px; }
.artwork-wrap { position: relative; border-radius: 9px; overflow: hidden; background: var(--mint); }
.artwork-wrap > img { width: 100%; height: auto; }
.artwork-copy { position: absolute; left: 35px; top: 30%; z-index: 1; color: var(--forest); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -1px; font-weight: 550; display: flex; flex-direction: column; gap: 26px; }
.artwork-copy .artwork-small { font-size: 12px; letter-spacing: 0; font-weight: 450; }
figcaption { color: var(--muted); font-size: 11px; margin-top: 11px; }
.article-body { max-width: 640px; font-size: 17px; line-height: 1.85; color: #43514b; }
.article-body p { margin: 0 0 22px; }
.article-body .opening { font-weight: 600; color: var(--ink); font-size: 20px; letter-spacing: -.25px; }
.article-body h2 { color: var(--ink); font-size: 27px; line-height: 1.3; letter-spacing: -.7px; margin: 34px 0 16px; font-weight: 600; }
blockquote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 3px solid #75a88b; font-size: 27px; color: var(--forest); line-height: 1.5; letter-spacing: -.8px; }
.article-body .article-signature { font-weight: 600; font-size: 14px; color: var(--forest); }
.article-end { border-top: 1px solid var(--line); margin-top: 34px; padding-top: 24px; display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 12px; }
.article-end > span:first-child { color: var(--forest); font-size: 23px; }
.sidebar { padding-top: 9px; }
.about-panel { padding: 28px 24px 25px; border-radius: 9px; background: #f1f6f3; }
.about-topline { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--forest); }
.about-panel h2 { font-size: 29px; font-weight: 550; letter-spacing: -1px; line-height: 1.2; margin: 28px 0 18px; }
.about-panel p { font-size: 14px; color: var(--muted); line-height: 1.8; margin: 0; }
.building-note { margin-top: 26px; padding-top: 19px; border-top: 1px solid #d8e3dc; display: flex; align-items: center; gap: 9px; font-size: 11px; color: var(--forest); }
.sidebar-note { margin: 31px 3px 0; }
.sidebar-note h2 { font-size: 16px; font-weight: 650; margin: 0 0 14px; }
.sidebar-note p { font-size: 14px; line-height: 1.85; color: var(--muted); margin: 0 0 14px; }
.sidebar-signoff { margin: 27px 3px 0; padding-top: 22px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--muted); }
.small-spark { color: var(--forest); font-size: 25px; }
.site-footer { background: #f6f8f6; border-top: 1px solid var(--line); }
.footer-inner { min-height: 153px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-wordmark { font-size: 20px; font-weight: 650; letter-spacing: -.8px; }
.footer-inner p { font-size: 12px; color: var(--muted); margin: 7px 0 0; }
.back-top { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; }
.back-top > span { font-size: 22px; }
.copyright { color: var(--muted); font-size: 11px; }
@media (min-width: 1440px) { .page-shell { width: min(1280px, calc(100% - 128px)); } .reading-layout { gap: 96px; } }
@media (max-width: 1000px) {
    .page-shell { width: calc(100% - 64px); }
    .reading-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 36px; }
    .header-inner { min-height: 82px; gap: 0 24px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 13px; }
    .main-nav { margin-left: auto; align-self: center; }
    .main-nav a { min-height: 34px; }
    .main-nav .nav-current::after { bottom: 0; }
    .market-rates { flex: 0 0 100%; max-width: none; margin-left: 0; margin-top: 21px; padding-top: 10px; padding-bottom: 0; border-top: 1px solid var(--line); }
    .language-label { display: none; }
    .wordmark { font-size: 25px; }
    .artwork-copy { left: 22px; font-size: 23px; }
    .about-panel { padding: 24px 20px; }
    .about-panel h2 { font-size: 27px; }
}
@media (max-width: 760px) {
    .page-shell { width: calc(100% - 40px); }
    .wordmark { font-size: 23px; gap: 9px; letter-spacing: -1px; }
    .brand-mark { width: 31px; height: 31px; }
    .main-nav { gap: 20px; }
    .market-quotes { gap: 6px; }
    .market-dialog { padding: 18px; }
    .dialog-heading h2 { font-size: 21px; }
    .chart-dialog { width: calc(100% - 16px); padding: 12px; }
    .language-label { display: none; }
    .section-heading { font-size: 12px; padding: 23px 0 25px; }
    .edition { display: none; }
    .reading-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-bottom: 42px; }
    .article-header { padding-top: 0; }
    h1 { font-size: clamp(52px, 11vw, 74px); letter-spacing: -3px; margin-top: 22px; }
    .article-deck { font-size: 18px; line-height: 1.65; }
    .article-figure { margin: 26px 0 30px; }
    .artwork-wrap { min-height: 230px; }
    .artwork-wrap > img { height: 230px; width: 100%; object-fit: cover; object-position: 62% center; }
    .artwork-copy { top: 27%; left: 21px; font-size: 23px; max-width: 51%; gap: 20px; }
    .article-body { font-size: 16px; line-height: 1.85; }
    .article-body .opening { font-size: 18px; }
    .article-body h2 { font-size: 24px; }
    blockquote { font-size: 24px; padding-left: 20px; }
    .sidebar { padding-top: 0; border-top: 1px solid var(--line); padding-top: 30px; }
    .about-panel h2 br { display: none; }
    .about-panel h2 { max-width: 380px; }
    .about-panel { padding: 25px; }
    .sidebar-note, .sidebar-signoff { margin-left: 0; margin-right: 0; }
    .footer-inner { min-height: 200px; flex-wrap: wrap; padding-block: 28px; }
    .copyright { width: 100%; padding-top: 0; }
}
@media (max-width: 480px) {
    .market-row { gap: 6px; }
    .market-customize { width: 40px; justify-content: center; padding: 5px; }
    .market-customize-label { display: none; }
}
@media (max-width: 380px) {
    .header-inner { column-gap: 12px; }
    .market-quotes { gap: 4px; }
    .wordmark { font-size: 20px; }
    .main-nav { gap: 14px; font-size: 12px; }
    .artwork-copy { font-size: 21px; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
