/* gold-bullion.pages.dev — stylesheet */
:root {
  --ink: #2B1631;
  --ink-2: #3B2043;
  --ink-3: #1F0F24;
  --gold: #D4A54A;
  --gold-lite: #F3DFAE;
  --gold-deep: #8A6418;
  --gold-tint: #FAF1DE;
  --paper: #FFFFFF;
  --mist: #F5F2F7;
  --text: #241A2B;
  --muted: #625868;
  --rule: #E3DCE7;
  --on-ink: #F1EAF3;
  --on-ink-muted: #BBAAC3;
  --ok: #43C88F;
  --display: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --engrave: "Spectral", Georgia, "Times New Roman", serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 10px;
}
html[lang^="ar"] {
  --display: "IBM Plex Sans Arabic", "Onest", Tahoma, sans-serif;
  --body: "IBM Plex Sans Arabic", "Onest", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 1.0625rem/1.65 var(--body);
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: color-mix(in srgb, var(--gold) 70%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 14px; border-radius: var(--radius); }
.skip:focus { top: 8px; }
.small { font-size: .875rem; }
[data-price], [data-price-updated], [data-calc-aed], [data-calc-usd] { unicode-bidi: plaintext; }
mark.todo { background: #FFEB7A; color: #4A3A00; padding: 0 .3em; border-radius: 3px; font-size: .92em; font-weight: 500; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
[dir="rtl"] [data-price], [data-price-updated], [data-calc-aed], [data-calc-usd] { unicode-bidi: plaintext; }
mark.todo { direction: ltr; unicode-bidi: isolate; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.35em; border-radius: var(--radius);
  font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-sm { min-height: 40px; padding: .5em 1em; font-size: .9375rem; }
.btn-block { display: flex; width: 100%; }
.btn-gold { background: var(--gold); color: #24160A; border-color: var(--gold); }
.btn-gold:hover { background: #E2B85E; color: #24160A; }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: var(--gold-lite); color: var(--gold-lite); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-ghost-dark { border-color: var(--gold-deep); color: var(--ink); background: var(--gold-tint); }
.btn-ghost-dark:hover { background: var(--gold-lite); color: var(--ink); }

/* ---------- ticker */
.ticker { background: var(--ink-3); color: var(--on-ink-muted); font-size: .8125rem; }
.ticker-row { display: flex; gap: clamp(14px, 3vw, 34px); align-items: center; min-height: 34px; overflow-x: auto; scrollbar-width: none; }
.ticker-row::-webkit-scrollbar { display: none; }
.tick { margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tick [data-price] { color: var(--gold-lite); font-weight: 500; }
.tick-k { color: var(--on-ink-muted); }
.tick-status { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #8A90A2; flex: none; }
[data-state="live"] .dot { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); }
[data-state="demo"] .dot, [data-state="closed"] .dot { background: #E0A33A; }
[data-state="loading"] .dot { background: #8A7F90; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
[data-state="error"] .dot { background: #D9534F; }

/* ---------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--on-ink); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; flex: none; }
.logo:hover { color: #fff; }
.logo-mark { width: 34px; height: 24px; }
.logo-word { font: 700 1.3rem/1 var(--display); letter-spacing: -.01em; }
.nav { margin-inline-start: auto; }
.nav-list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 11px; border-radius: 6px;
  color: var(--on-ink); text-decoration: none; font: 500 .9375rem/1.2 var(--body); background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav-link svg { width: 10px; height: 6px; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--gold-lite); }
.nav-link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.sub {
  display: none; position: absolute; inset-inline-start: 0; top: 100%; min-width: 250px; list-style: none; margin: 0; padding: 8px;
  background: #fff; border-radius: var(--radius); box-shadow: 0 18px 40px -12px rgba(10,15,35,.45);
}
.sub a { display: block; padding: 9px 12px; border-radius: 5px; color: var(--text); text-decoration: none; font-size: .9375rem; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--mist); color: var(--ink); }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { display: block; }
.nav-sister .nav-link { color: var(--gold-lite); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.langs { display: flex; gap: 2px; font-size: .8125rem; }
.langs a { color: var(--on-ink-muted); text-decoration: none; padding: 6px 7px; border-radius: 5px; font-weight: 500; }
.langs a[aria-current="true"] { color: var(--ink); background: var(--gold-lite); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 6px; border: 1px solid rgba(255,255,255,.25); background: none; color: #fff; cursor: pointer; position: relative; }
.menu-lines, .menu-lines::before, .menu-lines::after { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; content: ""; transition: transform .2s; }
.menu-lines { top: 21px; }
.menu-lines::before { top: -7px; left: 0; right: 0; }
.menu-lines::after { top: 7px; left: 0; right: 0; }
.menu-open .menu-lines { background: transparent; }
.menu-open .menu-lines::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-lines::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 102px 0 0 0; background: var(--ink); overflow-y: auto; display: none; padding: 12px var(--gutter) 120px; margin: 0; }
  .menu-open .nav { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 4px; font-size: 1.0625rem; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; }
  .nav-link[aria-current="page"] { box-shadow: none; }
  .sub { position: static; display: none; box-shadow: none; background: transparent; padding: 4px 0 10px; min-width: 0; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: none; }
  .has-sub.open .sub { display: block; }
  .sub a { color: var(--on-ink); padding: 10px 14px; }
  .sub a:hover, .sub a[aria-current="page"] { background: rgba(255,255,255,.06); color: var(--gold-lite); }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
  .logo-word { font-size: 1.2rem; }
}

/* ---------- hero */
.hero { background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%); color: var(--on-ink); position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset-inline-end: -10%; top: -30%; width: 70%; height: 160%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--gold) 16%, transparent), transparent 70%);
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: clamp(28px, 5vw, 64px); padding-block: clamp(36px, 6vw, 76px) clamp(40px, 6vw, 84px); align-items: center; }
.has-plate .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.hero-text { max-width: 680px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 18px; padding: 0; font-size: .875rem; color: var(--on-ink-muted); }
.crumbs li + li::before { content: "/"; margin-inline: 8px; opacity: .5; }
.crumbs a { color: var(--on-ink-muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-lite); }
.hero h1 { font: 800 clamp(2.1rem, 4.6vw, 3.5rem)/1.04 var(--display); letter-spacing: -.03em; margin: 0 0 18px; color: #fff; text-wrap: balance; }
html[lang^="ar"] .hero h1 { line-height: 1.3; letter-spacing: 0; font-weight: 700; }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); line-height: 1.6; color: var(--on-ink); max-width: 62ch; margin: 0 0 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .9375rem; color: var(--on-ink); }
.trust li { display: flex; gap: 10px; align-items: baseline; }
.trust li::before { content: ""; flex: none; width: 12px; height: 8px; background: var(--gold); clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%); transform: translateY(-1px); }
.meta { color: var(--on-ink-muted); font-size: .875rem; margin: 18px 0 0; display: flex; align-items: center; gap: 10px; }
.meta-sep { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }

/* ---------- the cast-bar plate (signature element) */
.plate-wrap { width: 100%; max-width: 470px; justify-self: end; }
[dir="rtl"] .plate-wrap { justify-self: start; }
.plate {
  position: relative; display: grid; justify-items: center; align-content: center; gap: 4px;
  aspect-ratio: 1.58; padding: 9% 10% 8%; border-radius: 14px;
  background:
    linear-gradient(115deg, transparent 38%, rgba(255,251,230,.55) 48%, transparent 58%) no-repeat,
    linear-gradient(160deg, #F4E4AE 0%, #DDBB61 24%, #BC902F 52%, #E2C474 76%, #A47823 100%);
  background-size: 250% 100%, 100% 100%;
  background-position: 130% 0, 0 0;
  box-shadow:
    inset 0 0 0 1px rgba(255,248,214,.7),
    inset 0 0 0 12px rgba(255,255,255,.07),
    inset 0 0 0 13px rgba(103,72,12,.32),
    inset 0 -18px 30px rgba(99,68,10,.25),
    0 30px 60px -20px rgba(0,0,0,.6);
  color: #634510;
  text-shadow: 0 1px 0 rgba(255,244,205,.65), 0 -1px 0 rgba(92,62,8,.28);
  font-family: var(--engrave);
  direction: ltr;
  animation: glint 2.4s .5s ease-out 1 both;
}
@keyframes glint { from { background-position: 130% 0, 0 0; } to { background-position: -40% 0, 0 0; } }
.plate-line { font: 600 clamp(.72rem, 1.4vw, .85rem)/1 var(--body); letter-spacing: .32em; text-indent: .32em; }
.plate-weight { font: 600 clamp(1.5rem, 3.4vw, 2.2rem)/1.1 var(--engrave); letter-spacing: .06em; }
.plate-fine { font: 600 clamp(1rem, 2vw, 1.2rem)/1 var(--engrave); letter-spacing: .18em; opacity: .85; }
.plate-price { margin-top: 8%; display: flex; align-items: baseline; gap: .35em; font-variant-numeric: lining-nums tabular-nums; direction: ltr; }
.plate-price [data-price] { font: 600 clamp(1.9rem, 5vw, 2.9rem)/1 var(--engrave); }
.plate-cur { font: 600 .9rem/1 var(--body); letter-spacing: .12em; }
.plate-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 6px 18px; margin: 18px 4px 0; font-size: .875rem; }
.plate-facts dt { color: var(--on-ink-muted); font-size: .8125rem; }
.plate-facts dd { margin: 0; color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; }
.plate-note { color: var(--on-ink-muted); font-size: .8125rem; margin: 12px 4px 0; }
.plate-note .dot { display: inline-block; vertical-align: middle; margin-inline-end: 2px; }
@media (prefers-reduced-motion: reduce) { .plate { animation: none; } }

@media (max-width: 900px) {
  .has-plate .hero-grid { grid-template-columns: 1fr; }
  .plate-wrap { justify-self: start; max-width: 520px; }
}

/* ---------- content layout */
.content-grid { display: grid; gap: clamp(32px, 5vw, 72px); padding-block: clamp(36px, 5vw, 64px); }
.content-grid.has-aside { grid-template-columns: minmax(0, 1fr) 300px; }
.prose { min-width: 0; max-width: 72ch; }
.l-wide .prose { max-width: none; }
.l-wide .prose > :is(p, ul, ol, h2, h3, .callout) { max-width: 72ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font: 750 clamp(1.5rem, 2.6vw, 1.95rem)/1.18 var(--display); color: var(--ink); margin: 2.2em 0 .6em; letter-spacing: -.02em; text-wrap: balance; }
.prose h3 { font: 600 1.2rem/1.3 var(--body); color: var(--ink); margin: 1.8em 0 .5em; }
html[lang^="ar"] .prose h2 { font-weight: 700; line-height: 1.4; }
.prose p, .prose li { max-width: 72ch; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--gold-deep); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose ol > li::marker { font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5em 0; }

.table-wrap { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--rule); border-radius: var(--radius); }
.prose table { border-collapse: collapse; width: 100%; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.prose th, .prose td { padding: 11px 14px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--rule); }
.prose thead th { background: var(--mist); color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--gold); white-space: nowrap; }
.prose tbody tr:last-child td, .prose tbody tr:last-child th { border-bottom: 0; }

.callout { margin: 1.6em 0; padding: 18px 20px; background: var(--gold-tint); border-inline-start: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; }
[dir="rtl"] .callout { border-radius: var(--radius) 0 0 var(--radius); }
.callout > :first-child { margin-top: 0; }
.callout > :last-child { margin-bottom: 0; }

.figure { margin: 2em 0; }
.figure img { width: 100%; border-radius: var(--radius); background: var(--mist); }
.figure figcaption { font-size: .875rem; color: var(--muted); margin-top: 8px; }

/* ---------- price board */
.board { margin: 1.8em 0; background: var(--ink); color: var(--on-ink); border-radius: 12px; padding: clamp(18px, 3vw, 28px); }
.board-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; align-items: baseline; margin-bottom: 14px; }
.prose .board-title { margin: 0; color: #fff; font: 700 1.2rem/1.3 var(--display); }
.cur-tag { font: 500 .75rem/1 var(--body); color: var(--on-ink-muted); letter-spacing: .06em; margin-inline-start: 6px; }
.board-status { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .8125rem; color: var(--on-ink-muted); }
.board-time { margin-inline-start: 6px; }
.board-scroll { overflow-x: auto; }
.prose .board-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.prose .board-table th, .prose .board-table td { border-bottom: 1px solid rgba(255,255,255,.1); padding: 12px 10px; }
.prose .board-table thead th { background: none; color: var(--on-ink-muted); font: 500 .8125rem/1.3 var(--body); border-bottom: 1px solid rgba(255,255,255,.22); white-space: normal; }
.prose .board-table tbody th { color: #fff; font-weight: 600; white-space: nowrap; }
.board-table .amt { display: block; color: var(--gold-lite); font: 700 1.1rem/1.2 var(--display); font-variant-numeric: tabular-nums; }
.board-table .usd { display: block; color: var(--on-ink-muted); font-size: .8125rem; }
.board-note { margin: 12px 0 0; font-size: .8125rem; color: var(--on-ink-muted); }
.alert-cta { margin: -.6em 0 1.6em; }

/* ---------- chart */
.chart { margin: 1.8em 0; border: 1px solid var(--rule); border-radius: 12px; padding: clamp(16px, 3vw, 24px); }
.chart-head { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }
.prose .chart-head h3 { margin: 0; }
.chart-ranges { display: flex; gap: 4px; background: var(--mist); padding: 4px; border-radius: 8px; }
.chart-ranges button { border: 0; background: none; padding: 7px 12px; border-radius: 6px; font: 500 .875rem/1 var(--body); color: var(--muted); cursor: pointer; }
.chart-ranges button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.chart-plot { margin-top: 16px; min-height: 220px; display: grid; place-items: center; }
.chart-plot svg { width: 100%; height: 240px; }
.chart-off { color: var(--muted); font-size: .9375rem; text-align: center; max-width: 42ch; margin: 0; }

/* ---------- bar & coin cards */
.bar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin: 1.6em 0; }
.bar-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--rule); border-radius: 14px; background: #fff; }
.bar-usd { font-size: .8125rem; color: var(--muted); }
.bar-icon { display: block; width: var(--w); height: 16px; margin-bottom: 10px; background: linear-gradient(160deg, #F1DE9F, #C49A36 55%, #9C7220); clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%); }
.coin-icon { display: block; width: 30px; height: 30px; margin-bottom: 6px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F6E7B4, #C9A040 55%, #8F6819); box-shadow: inset 0 0 0 3px rgba(255,240,190,.45); }
.prose .bar-name { margin: 0; font: 600 1.0625rem/1.3 var(--body); color: var(--ink); }
.bar-spec { margin: 0; color: var(--muted); font-size: .875rem; }
.bar-price { margin: 8px 0 0; display: grid; gap: 2px; }
.bar-price-label { font-size: .75rem; color: var(--muted); }
.bar-price strong { font: 700 1.2rem/1.2 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.bar-stock { margin: 0; font-size: .8125rem; color: var(--muted); }
.bar-actions { margin-top: auto; padding-top: 12px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.card-link { font-size: .9375rem; font-weight: 500; }

/* ---------- inline CTA */
.inline-cta { margin: 2.2em 0; padding: 22px 24px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); background: var(--gold-tint); display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.inline-cta p { margin: 0; font-weight: 500; color: var(--ink); max-width: 46ch; }

/* ---------- calculator */
.calc { margin: 1.8em 0; display: grid; grid-template-columns: 1.1fr .9fr; border-radius: 12px; overflow: hidden; border: 1px solid var(--rule); }
.calc-form { padding: 22px; display: grid; gap: 14px; background: #fff; }
.calc-form label, .contact-form label { display: grid; gap: 6px; font-size: .875rem; font-weight: 500; color: var(--ink); }
input, select, textarea { font: 400 1rem/1.3 var(--body); padding: 12px 12px; border: 1px solid #C5C8D2; border-radius: 6px; background: #fff; color: var(--text); width: 100%; min-height: 48px; }
input:focus, select:focus, textarea:focus { border-color: var(--gold-deep); outline: 2px solid color-mix(in srgb, var(--gold) 45%, transparent); }
.calc-out { padding: 22px; background: var(--ink); color: var(--on-ink); display: grid; align-content: start; gap: 8px; }
.calc-label { margin: 0; color: var(--on-ink-muted); font-size: .875rem; }
.calc-value { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; direction: ltr; justify-content: flex-start; }
.calc-value strong { font: 800 2.1rem/1.1 var(--display); color: var(--gold-lite); font-variant-numeric: tabular-nums; }
.calc-value span { color: var(--on-ink-muted); font-size: .9375rem; }
.calc-note { margin: 0 0 8px; font-size: .8125rem; color: var(--on-ink-muted); }
@media (max-width: 680px) { .calc { grid-template-columns: 1fr; } }

/* ---------- contact */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 1.6em 0; }
.contact-card { border: 1px solid var(--rule); border-radius: 10px; padding: 18px; }
.prose .contact-card h3 { margin: 0 0 8px; font-size: 1rem; }
.contact-card p { margin: 0 0 6px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.6em 0; padding: 22px; border: 1px solid var(--rule); border-radius: 12px; background: var(--mist); }
.contact-form .full { grid-column: 1 / -1; margin: 0; }
@media (max-width: 600px) { .contact-form { grid-template-columns: 1fr; } }
.map { margin: 1.6em 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--rule); }
.map iframe { width: 100%; height: 340px; border: 0; display: block; }
.map-off { padding: 40px 20px; background: var(--mist); text-align: center; }

/* ---------- FAQ */
.faq { margin-top: 2.6em; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item:first-of-type { border-top: 1px solid var(--rule); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; align-items: flex-start; }
.faq-item summary::-webkit-details-marker { display: none; }
.prose .faq-item summary h3 { margin: 0; font-size: 1.0625rem; font-weight: 600; }
.faq-item summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-top: 6px; background: linear-gradient(var(--gold-deep), var(--gold-deep)) center/14px 2px no-repeat, linear-gradient(var(--gold-deep), var(--gold-deep)) center/2px 14px no-repeat; transition: transform .2s; }
.faq-item[open] summary::after { background: linear-gradient(var(--gold-deep), var(--gold-deep)) center/14px 2px no-repeat; }
.faq-a { padding: 0 0 16px; color: var(--text); }
.faq-a p { margin: 0 0 .6em; }

.related { margin-top: 2.6em; padding-top: 1.2em; border-top: 1px solid var(--rule); }
.prose .related h2 { font-size: 1.25rem; margin-top: 0; }
.related ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.related a { display: inline-block; padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; font-size: .9375rem; }
.related a:hover { border-color: var(--gold); }

/* ---------- TOC + aside */
.toc-mobile { display: none; margin-bottom: 1.6em; border: 1px solid var(--rule); border-radius: 10px; padding: 12px 16px; }
.toc-mobile summary { font-weight: 600; cursor: pointer; }
.toc-mobile ol { margin: 10px 0 0; padding-inline-start: 1.2em; }
.side { position: relative; }
.side-card { position: sticky; top: 92px; border: 1px solid var(--rule); border-radius: 12px; padding: 20px; display: grid; gap: 10px; background: #fff; }
.side-title { margin: 0; font-weight: 600; color: var(--ink); font-size: .9375rem; }
.side-prices { margin: 0 0 6px; display: grid; gap: 0; }
.side-prices div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: .9375rem; }
.side-prices dt { color: var(--muted); }
.side-prices dd { margin: 0; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.side-status { margin: 0 0 4px; font-size: .8125rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.side-toc { margin-top: 18px; padding: 0 4px; }
.side-toc ol { margin: 8px 0 0; padding-inline-start: 1.2em; font-size: .9375rem; }
.side-toc li { margin: 6px 0; }
.side-toc a { text-decoration: none; color: var(--muted); }
.side-toc a:hover { color: var(--ink); }
.side:has(.side-toc) .side-card { position: static; }
.side:has(.side-toc) .side-toc { position: sticky; top: 92px; }
@media (max-width: 980px) {
  .content-grid.has-aside { grid-template-columns: 1fr; }
  .side { display: none; }
  .toc-mobile { display: block; }
}

/* ---------- CTA band & footer */
.cta-band { background: var(--ink-2); color: var(--on-ink); }
.cta-band-row { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; padding-block: clamp(36px, 5vw, 56px); }
.cta-band h2 { font: 800 clamp(1.5rem, 2.8vw, 2rem)/1.15 var(--display); letter-spacing: -.02em; margin: 0 0 8px; color: #fff; }
.cta-band p { margin: 0; max-width: 60ch; color: var(--on-ink); }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer { background: var(--ink-3); color: var(--on-ink-muted); font-size: .9375rem; padding-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.footer-brand p { margin: 10px 0 0; }
.footer-h { color: #fff; font-weight: 600; margin: 4px 0 10px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-ink-muted); text-decoration: none; }
.site-footer a:hover { color: var(--gold-lite); }
.site-footer .logo { color: #fff; }
.footer-legal { margin-top: 36px; padding-block: 20px 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8125rem; display: grid; gap: 6px; }
.footer-legal p { margin: 0; max-width: 100ch; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 900px) {
  body { padding-bottom: 64px; }
  .mobile-bar { display: grid; grid-template-columns: 1.2fr 1fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 60; background: var(--ink-3); border-top: 1px solid rgba(255,255,255,.12); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a { display: grid; place-items: center; min-height: 56px; color: #fff; text-decoration: none; font-weight: 600; font-size: .9375rem; }
  .mobile-bar a + a { border-inline-start: 1px solid rgba(255,255,255,.1); }
  .mobile-bar .mb-main { background: var(--gold); color: #24160A; }
}
@media print { .ticker, .site-header, .mobile-bar, .cta-band, .side { display: none; } .hero { background: none; color: #000; } .hero h1 { color: #000; } }

/* chart summary line */
.chart-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums; width: 100%; }
.chart-meta .up { color: #1F8A5B; font-weight: 600; }
.chart-meta .down { color: #B23A48; font-weight: 600; }
.chart-meta .chart-src { margin-inline-start: auto; font-size: .8125rem; }
.chart-plot { display: block; }
.chart-plot .chart-off { margin: 80px auto; }
.l-wide .prose > .figure, .l-wide .prose > .table-wrap { max-width: 880px; }
