:root {
  color-scheme: dark;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: #edf2f7;
  background: #0c121c;
  --content-width: 1288px;
  --page-gutter: 24px;
  --page-top: 46px;
  --panel-padding: 26px;
  --panel-radius: 12px;
  --layout-gap: 22px;
}
* { box-sizing: border-box; }
html { scrollbar-gutter: stable; }
body { margin: 0; }
a { color: #e4be76; }
button, select, textarea, input { font: inherit; }
strong { font-weight: 600; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #e4be76;
  outline-offset: 3px;
}
.site-header { border-bottom: 1px solid #263245; }
.site-header-inner {
  width: 100%; max-width: var(--content-width); min-height: 86px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 15px var(--page-gutter); margin: 0 auto;
}
.brand { color: #f2f5fa; text-decoration: none; display: flex; align-items: center; gap: 13px; white-space: nowrap; }
.brand-mark {
  display: block; flex-shrink: 0; width: 56px; height: 56px; object-fit: contain;
  mix-blend-mode: screen;
  filter: drop-shadow(0 2px 5px #0005);
}
.brand-copy { display: flex; flex-direction: column; gap: 6px; }
.brand-wordmark { font-size: 1.375rem; font-weight: 650; line-height: 1.1; letter-spacing: -.035em; }
.brand-wordmark > span { color: #e4be76; font-weight: 400; }
.brand-muted { color: #a8b7ca; font-size: .75rem; font-weight: 500; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; }
.brand:hover .brand-wordmark > span { color: #f0cd8c; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: .875rem; font-weight: 500; }
.site-nav a { color: #a8b7ca; text-decoration: none; white-space: nowrap; }
.site-nav a[aria-current="page"] { color: #e4be76; }
.site-nav a:hover { color: #f6d89c; }
main { width: 100%; max-width: var(--content-width); margin: 0 auto; padding: var(--page-top) var(--page-gutter) 48px; }
.intro { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; }
.intro > div { min-width: 0; }
.eyebrow { margin: 0 0 12px; color: #e4be76; font-size: .75rem; font-weight: 700; letter-spacing: .13em; }
h1 { font-size: clamp(2rem, 4vw, 2.7rem); margin: 0 0 12px; font-weight: 600; letter-spacing: -.035em; line-height: 1.15; }
h2 { font-size: 1.125rem; line-height: 1.35; margin: 0 0 8px; font-weight: 600; letter-spacing: -.015em; }
h3 { font-size: 1rem; line-height: 1.4; margin: 0 0 14px; font-weight: 600; }
.lead { margin: 0; color: #a8b7ca; line-height: 1.6; }
.panel, .market-card { min-width: 0; padding: var(--panel-padding); background: #141e2c; border: 1px solid #2b394d; border-radius: var(--panel-radius); }
.notice, .error-message, .refresh-error { padding: 13px 15px; border: 1px solid; border-radius: 8px; font-size: .875rem; line-height: 1.6; }
.notice { margin: 18px 0; background: #28241d; border-color: #665437; color: #eed4a4; }
.notice p { margin: 0; }.notice p + p { margin-top: 8px; }
.error-message, .refresh-error { background: #321f28; border-color: #744453; color: #ffc1cc; }
.site-footer { width: 100%; max-width: var(--content-width); margin: 0 auto; padding: 0 var(--page-gutter); }
.site-footer-inner { display: flex; justify-content: space-between; gap: 16px; padding: 24px 0; border-top: 1px solid #263245; color: #91a3b9; font-size: .875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 760px) { .site-nav { gap: 18px; } }
@media (max-width: 540px) {
  :root { --page-gutter: 16px; --page-top: 30px; --panel-padding: 20px; }
  .site-header-inner { padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; gap: 16px; }
  .brand-mark { width: 48px; height: 48px; }
  .brand-wordmark { font-size: 1.25rem; }
  .site-nav { width: 100%; justify-content: space-between; }
  .intro { align-items: start; }
  .site-footer-inner { flex-direction: column; padding: 20px 0; gap: 5px; }
}
