/* ============================================================
   FX RISK MANAGER — deep-navy institutional risk desk
   #0A1628 navy · #3B82F6 electric blue · clinical, dense.
   Dark only (professional tools have no light mode).
   ============================================================ */

:root {
  --bg: #0A1628;
  --bg-darker: #07111E;
  --card: #0F2040;
  --card-2: #122a52;
  --line: #1E3A5F;
  --line-2: #284a78;
  --accent: #3B82F6;
  --accent-2: #60A5FA;
  --accent-soft: rgba(59,130,246,0.12);
  --accent-border: rgba(59,130,246,0.45);
  --pos: #22C55E;
  --pos-soft: rgba(34,197,94,0.14);
  --neg: #EF4444;
  --neg-soft: rgba(239,68,68,0.14);
  --amber: #F59E0B;
  --text: #F0F4FF;
  --text-2: #7B9CC4;
  --text-3: #4F6E96;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text); font-family: var(--sans);
  font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 22px; }

.lbl { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-2); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 700; }

/* ============ NAV (52px, darker) ============ */
.nav { position: sticky; top: 0; z-index: 50; background: var(--bg-darker); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 0; height: 52px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; letter-spacing: 0.01em; white-space: nowrap; padding-right: 22px; margin-right: 22px; border-right: 1px solid var(--line); height: 100%; }
.brand-mark { width: 24px; height: 24px; border-radius: 3px; flex: 0 0 auto; background: var(--accent); display: grid; place-items: center; color: #061021; }
.brand-mark svg { width: 14px; height: 14px; }
.brand .rm { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 0; height: 100%; }
.nav-links a { color: var(--text-2); font-size: 12.5px; font-weight: 500; padding: 0 15px; height: 100%; display: inline-flex; align-items: center; border-bottom: 2px solid transparent; transition: color .12s, background .12s; white-space: nowrap; }
.nav-links a:hover { color: var(--text); background: var(--card); }
.nav-links a.active { color: var(--accent); border-bottom-color: var(--accent); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.btn-accent { display: inline-flex; align-items: center; gap: 7px; background: var(--accent); color: #061021; font-weight: 700; font-size: 12.5px; padding: 8px 15px; border-radius: 3px; border: 0; white-space: nowrap; transition: filter .12s; }
.btn-accent:hover { filter: brightness(1.1); }
.btn-ghost { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-weight: 600; font-size: 12.5px; padding: 8px 15px; border-radius: 3px; border: 1px solid var(--accent-border); background: transparent; transition: background .12s; }
.btn-ghost:hover { background: var(--accent-soft); }
.nav-burger { display: none; width: 34px; height: 34px; border-radius: 3px; border: 1px solid var(--line); background: transparent; color: var(--text); place-items: center; }

/* ============ WIDGET (hero) ============ */
.widget-sec { padding: 24px 0 12px; }
.widget { background: var(--card); border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }

/* tab strip */
.tabs { display: flex; background: var(--bg-darker); border-bottom: 1px solid var(--line); }
.tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 16px; background: transparent; border: 0; border-right: 1px solid var(--line); color: var(--text-2); font-size: 13.5px; font-weight: 600; transition: color .12s, background .12s; position: relative; }
.tab:last-child { border-right: 0; }
.tab .tnum { font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.tab:hover { color: var(--text); background: var(--card); }
.tab.active { color: var(--accent); background: var(--card); }
.tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); }
.tab.active .tnum { color: var(--accent); }

/* two-panel */
.panes { position: relative; }
.pane { display: none; }
.pane.active { display: block; }
.twin { display: grid; grid-template-columns: 1.05fr 0.95fr; }
.p-inputs { padding: 24px 26px; border-right: 1px solid var(--line); }
.p-results { padding: 24px 26px; background: var(--bg-darker); }
.p-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.p-head .ttl { font-size: 12px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-2); }
.p-head .tag { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); border: 1px solid var(--accent-border); padding: 3px 8px; border-radius: 2px; }

.field { margin-bottom: 18px; }
.field:last-child { margin-bottom: 0; }
.field > label { display: block; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-2); margin-bottom: 8px; }
.field .hint { float: right; font-family: var(--mono); font-size: 11px; color: var(--accent); text-transform: none; letter-spacing: 0; font-weight: 700; }

/* pill toggle */
.pills { display: flex; gap: 0; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.pills button { flex: 1; padding: 10px 8px; background: var(--card); border: 0; border-right: 1px solid var(--line); color: var(--text-2); font-family: var(--mono); font-weight: 600; font-size: 13px; transition: all .12s; }
.pills button:last-child { border-right: 0; }
.pills button.on { background: var(--accent-soft); color: var(--accent); }
.pills button:hover:not(.on) { color: var(--text); }

/* inputs */
.control { position: relative; display: flex; align-items: center; background: var(--bg); border: 1px solid var(--line-2); border-radius: 3px; min-height: 48px; transition: border-color .12s; }
.control:focus-within { border-color: var(--accent); }
.control .prefix { padding-left: 14px; color: var(--text-3); font-family: var(--mono); font-size: 15px; pointer-events: none; }
.control input, .control select { width: 100%; background: transparent; border: 0; outline: none; color: var(--text); font-family: var(--mono); font-size: 16px; font-weight: 600; padding: 12px 14px; min-height: 46px; }
.control .prefix + input { padding-left: 8px; }
.control select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 38px; }
.control.sel::after { content: ""; position: absolute; right: 15px; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: translateY(-65%) rotate(45deg); pointer-events: none; }
.control select option { background: #0c1c38; color: var(--text); }
.control select optgroup { background: #081429; color: var(--text-3); font-weight: 700; }
.control .suffix { padding-right: 14px; color: var(--text-3); font-family: var(--mono); font-size: 13px; white-space: nowrap; pointer-events: none; }

/* range slider */
.slider-row { display: flex; align-items: center; gap: 14px; }
input[type="range"] { -webkit-appearance: none; appearance: none; height: 6px; border-radius: 3px; background: var(--line-2); outline: none; flex: 1; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 2px solid var(--bg); box-shadow: 0 0 0 1px var(--accent); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 2px solid var(--bg); cursor: pointer; }
.slider-val { font-family: var(--mono); font-weight: 700; font-size: 18px; color: var(--accent); min-width: 52px; text-align: right; }

/* RESULTS */
.res-label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-2); margin-bottom: 10px; }
.res-big { font-family: var(--mono); font-weight: 700; font-size: clamp(38px, 6vw, 50px); line-height: 1; letter-spacing: -0.02em; color: var(--accent); font-variant-numeric: tabular-nums; }
.res-big.warn { color: var(--neg); }
.res-big .u { font-size: 0.42em; color: var(--text-2); font-weight: 600; margin-left: 6px; }
.res-sub { font-family: var(--mono); font-size: 13.5px; color: var(--text-2); margin-top: 10px; }
.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 22px; background: var(--line); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.res-cell { background: var(--card); padding: 14px; }
.res-cell .k { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-3); }
.res-cell .v { font-family: var(--mono); font-weight: 700; font-size: 17px; margin-top: 5px; font-variant-numeric: tabular-nums; }
.res-cell .v.pos { color: var(--pos); } .res-cell .v.neg { color: var(--neg); } .res-cell .v.blue { color: var(--accent); }
.res-cta { display: inline-flex; align-items: center; gap: 7px; margin-top: 22px; color: var(--accent); font-size: 13px; font-weight: 600; transition: gap .12s; }
.res-cta:hover { gap: 11px; }
.warn-banner { margin-top: 16px; padding: 10px 14px; border: 1px solid var(--neg); background: var(--neg-soft); border-radius: 3px; font-size: 12.5px; color: #fca5a5; font-family: var(--mono); display: none; }
.warn-banner.show { display: block; }

/* ============ RISK-REWARD ============ */
.rr-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; }
.rr-ratio { display: flex; align-items: baseline; gap: 10px; font-family: var(--mono); font-weight: 700; }
.rr-ratio .a { font-size: clamp(44px, 7vw, 64px); color: var(--text); line-height: 1; }
.rr-ratio .c { font-size: 26px; color: var(--text-3); }
.rr-ratio .b { font-size: clamp(44px, 7vw, 64px); color: var(--accent); line-height: 1; }
.rr-verdict { font-size: 13px; font-weight: 600; margin-top: 12px; }
.rr-bar { width: 100%; height: 26px; display: flex; border-radius: 3px; overflow: hidden; margin-top: 24px; border: 1px solid var(--line); }
.rr-bar .risk { background: var(--neg); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 10.5px; font-weight: 700; color: #fff; transition: width .25s ease; }
.rr-bar .reward { background: var(--pos); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 10.5px; font-weight: 700; color: #04210f; transition: width .25s ease; }
.rr-be { margin-top: 22px; width: 100%; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 3px; text-align: center; }
.rr-be .pct { font-family: var(--mono); font-weight: 700; font-size: 28px; color: var(--accent); }
.rr-be .txt { font-size: 12.5px; color: var(--text-2); margin-top: 5px; }

/* ============ PORTFOLIO HEAT ============ */
.heat-rows { display: flex; flex-direction: column; gap: 10px; }
.heat-row { display: grid; grid-template-columns: 1.3fr 0.8fr 0.8fr 28px; gap: 8px; align-items: center; }
.heat-row .control { min-height: 42px; }
.heat-row .control input, .heat-row .control select { font-size: 14px; min-height: 40px; padding: 9px 12px; }
.heat-row .rm-btn { width: 28px; height: 28px; border-radius: 3px; border: 1px solid var(--line-2); background: transparent; color: var(--text-3); display: grid; place-items: center; font-size: 16px; line-height: 1; }
.heat-row .rm-btn:hover { color: var(--neg); border-color: var(--neg); }
.heat-add { margin-top: 12px; display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--accent); background: transparent; border: 1px dashed var(--accent-border); border-radius: 3px; padding: 9px 14px; }
.heat-add:hover { background: var(--accent-soft); }
.heat-col-labels { display: grid; grid-template-columns: 1.3fr 0.8fr 0.8fr 28px; gap: 8px; margin-bottom: 8px; }
.heat-col-labels span { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-3); }

.gauge-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; }
.gauge { position: relative; width: 260px; max-width: 100%; }
.gauge svg { width: 100%; display: block; overflow: visible; }
.gauge-center { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; }
.gauge-center .gv { font-family: var(--mono); font-weight: 700; font-size: 46px; line-height: 1; font-variant-numeric: tabular-nums; }
.gauge-center .gl { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-2); margin-top: 4px; }
.gauge-status { margin-top: 14px; font-family: var(--mono); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.gauge-sub { font-family: var(--mono); font-size: 13px; color: var(--text-2); margin-top: 8px; text-align: center; }
.gauge-sub b { color: var(--text); }

/* ============ EDUCATIONAL 2-COL ============ */
.edu { padding: 44px 0; border-top: 1px solid var(--line); }
.edu h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; letter-spacing: -0.01em; }
.edu .edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 22px; }
.edu p { color: var(--text-2); font-size: 15px; line-height: 1.7; margin-bottom: 14px; }
.edu strong { color: var(--text); font-weight: 600; }
.edu .stat-line { display: flex; gap: 16px; margin: 18px 0; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 3px; }
.edu .stat-line .n { font-family: var(--mono); font-weight: 700; font-size: 30px; color: var(--accent); line-height: 1; flex: 0 0 auto; }
.edu .stat-line .t { font-size: 13px; color: var(--text-2); }

/* ============ BOTTOM CTA BAND ============ */
.cta-band { background: var(--bg-darker); border-top: 1px solid var(--line); }
.cta-band-inner { padding: 40px 0; display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.cta-band p { color: var(--text-2); font-size: 14px; margin-top: 8px; max-width: 520px; }
.cta-band .btn-accent { font-size: 13.5px; padding: 13px 22px; }
.cta-band .cb-disc { width: 100%; font-size: 11px; color: var(--text-3); line-height: 1.5; margin-top: 6px; }

/* ============ GENERIC PAGE ============ */
.page { padding: 40px 0 64px; }
.page-hd { max-width: 740px; margin-bottom: 26px; }
.page-hd h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.page-hd .lede { color: var(--text-2); font-size: 16px; margin-top: 13px; line-height: 1.6; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 5px; }
.prose { max-width: 740px; }
.prose h2 { font-size: 19px; font-weight: 700; margin: 30px 0 10px; }
.prose h3 { font-size: 15px; font-weight: 600; margin: 22px 0 8px; }
.prose p { color: var(--text-2); font-size: 15px; line-height: 1.7; margin-bottom: 14px; }
.prose ul { color: var(--text-2); font-size: 15px; line-height: 1.7; margin: 0 0 16px 20px; }
.prose li { margin-bottom: 7px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a.inline { color: var(--accent); font-weight: 600; border-bottom: 1px solid var(--accent-border); }
.callout { padding: 18px 20px; background: var(--accent-soft); border: 1px solid var(--accent-border); border-radius: 4px; margin: 22px 0; }
.callout .ct { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 8px; }
.callout p { color: var(--text-2); font-size: 14px; margin: 0; line-height: 1.6; }
.formula { font-family: var(--mono); font-size: 14px; color: var(--text); background: var(--bg-darker); border: 1px solid var(--line); border-radius: 3px; padding: 16px 18px; margin: 18px 0; line-height: 1.7; }
.formula b { color: var(--accent); }

/* fxpro review */
.review-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }
.review-card { padding: 24px; }
.review-card .rc-logo { font-weight: 800; font-size: 22px; }
.review-card .rc-logo .pro { color: var(--accent); }
.feat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 20px 0; }
.feat-list .fi { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; }
.feat-list .fi .ck { color: var(--pos); flex: 0 0 auto; margin-top: 2px; }
.feat-list .fi b { display: block; }
.feat-list .fi span { color: var(--text-3); font-size: 12px; }
.stats-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.stat { background: var(--card); padding: 16px; text-align: center; }
.stat .sv { font-family: var(--mono); font-weight: 700; font-size: 20px; color: var(--accent); }
.stat .sk { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); margin-top: 5px; text-transform: uppercase; letter-spacing: 0.05em; }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--line); padding: 38px 0 28px; background: var(--bg-darker); }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.footer-brand .brand { margin-bottom: 10px; border-right: 0; padding-right: 0; margin-right: 0; height: auto; }
.footer-brand p { color: var(--text-3); font-size: 12.5px; line-height: 1.6; max-width: 280px; }
.fcol h4 { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); margin-bottom: 11px; font-family: var(--mono); }
.fcol a { display: block; color: var(--text-2); font-size: 13px; padding: 4px 0; transition: color .12s; }
.fcol a:hover { color: var(--accent); }
.footer-disc { margin-top: 20px; }
.footer-disc p { font-size: 11.5px; color: var(--text-3); line-height: 1.6; max-width: 940px; margin-bottom: 9px; }
.footer-disc b { color: var(--text-2); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; text-transform: uppercase; }
.footer-bottom { margin-top: 18px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--text-3); font-size: 11.5px; font-family: var(--mono); }

/* ============ MOBILE STICKY BANNER ============ */
.mobile-banner { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--bg-darker); border-top: 1px solid var(--line); padding: 6px 12px; align-items: center; justify-content: center; gap: 10px; }
.mobile-banner img { display: block; max-width: 100%; height: 50px; border-radius: 0; }
.mobile-banner .mb-fallback { display: none; align-items: center; gap: 10px; width: 100%; max-width: 320px; height: 50px; background: var(--card); border: 1px solid var(--accent-border); border-radius: 3px; padding: 0 14px; }
.mobile-banner .mb-fallback.show { display: flex; }
.mobile-banner .mb-fallback .l { font-weight: 800; color: var(--accent); font-size: 15px; }
.mobile-banner .mb-fallback .r { margin-left: auto; font-size: 11px; font-weight: 700; color: #061021; background: var(--accent); padding: 6px 12px; border-radius: 3px; }
.mb-close { position: absolute; top: -10px; right: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--card); border: 1px solid var(--line-2); color: var(--text-2); display: grid; place-items: center; font-size: 12px; line-height: 1; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: grid; }
  .twin { grid-template-columns: 1fr; }
  .p-inputs { border-right: 0; border-bottom: 1px solid var(--line); }
  .edu .edu-grid { grid-template-columns: 1fr; gap: 24px; }
  .review-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .mobile-banner { display: flex; }
  body { padding-bottom: 70px; }
  .tab { flex-direction: column; gap: 3px; padding: 11px 6px; font-size: 12px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 14px; }
  .p-inputs, .p-results { padding: 20px 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 22px; }
  .nav-right .btn-accent span.full { display: none; }
  .brand { padding-right: 14px; margin-right: 14px; }
  .feat-list { grid-template-columns: 1fr; }
}

/* ============ SCROLLBAR ============ */
html { overflow-y: scroll; scrollbar-gutter: stable; }
html::-webkit-scrollbar { width: 8px; }
html::-webkit-scrollbar-track { background: var(--bg-darker); }
html::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 4px; }
html::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

/* ============ PROSE CONTENT STYLES ============ */
.prose-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 0 64px;
}
.prose h1 { font-size: clamp(26px,3.5vw,40px); font-weight:700; letter-spacing:-0.02em; line-height:1.1; margin-bottom:14px; }
.prose h2 { font-size: clamp(18px,2.2vw,24px); font-weight:700; letter-spacing:-0.01em; margin:40px 0 12px; }
.prose h2:first-child { margin-top:0; }
.prose h3 { font-size:16px; font-weight:700; margin:24px 0 8px; }
.prose p { color:var(--text-2); font-size:15px; line-height:1.75; margin-bottom:14px; }
.prose p:last-child { margin-bottom:0; }
.prose strong { color:var(--text); font-weight:600; }
.prose em { font-style:italic; }
.prose a { color:var(--accent); text-decoration:underline; text-underline-offset:3px; }
.prose hr { border:0; border-top:1px solid var(--line); margin:28px 0; }
.prose ul { color:var(--text-2); font-size:15px; line-height:1.75; margin:0 0 16px 22px; display:flex; flex-direction:column; gap:6px; }
.prose ol { color:var(--text-2); font-size:15px; line-height:1.75; margin:0 0 16px 22px; display:flex; flex-direction:column; gap:6px; }
.prose li { }
/* Tables */
.prose-table-wrap { overflow-x:auto; margin:24px 0; }
.prose table { width:100%; border-collapse:collapse; min-width:400px; }
.prose th { text-align:left; font-family:var(--mono); font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.07em; color:var(--text-3); padding:10px 16px; border-bottom:1px solid var(--line); white-space:nowrap; }
.prose td { padding:11px 16px; font-size:14px; border-bottom:1px solid var(--line); color:var(--text-2); vertical-align:top; line-height:1.55; }
.prose tbody tr:last-child td { border-bottom:0; }
.prose tbody tr:hover td { background:var(--hover, rgba(255,255,255,0.02)); }
/* Page hero */
.page-hero { padding:48px 0 40px; border-bottom:1px solid var(--line); margin-bottom:0; }
.page-hero h1 { font-size:clamp(28px,4vw,42px); font-weight:700; letter-spacing:-0.02em; line-height:1.1; margin-bottom:14px; }
.page-hero .lede { color:var(--text-2); font-size:16px; max-width:620px; line-height:1.6; }
/* Section eyebrow */
.eyebrow-label { font-family:var(--mono); font-size:11px; text-transform:uppercase; letter-spacing:0.12em; color:var(--accent); margin-bottom:12px; }
/* Callout box */
.prose-callout { padding:16px 20px; background:var(--accent-soft); border:1px solid var(--accent-border); border-radius:6px; margin:22px 0; }
.prose-callout p { font-size:14px; color:var(--text-2); margin:0; }


/* ============ MOBILE NAV ============ */
.nav-overlay { display:none; position:fixed; inset:0; z-index:48; background:rgba(0,0,0,0.5); }
.nav-overlay.open { display:block; }
.nav-burger { display:none; width:40px; height:40px; background:transparent; border:1px solid var(--line); border-radius:7px; color:var(--text); place-items:center; flex-shrink:0; }
.flag-za { width:22px; height:15px; border-radius:2px; object-fit:cover; flex-shrink:0; margin-left:6px; }
.mb-cta-fallback { display:none; position:fixed; bottom:0; left:0; right:0; z-index:40; }
@media (max-width: 900px) {
  .nav-burger { display:grid; }
  .nav-links { display:none; position:fixed; top:0; right:0; bottom:0; width:280px; z-index:49; flex-direction:column; padding:20px; gap:4px; overflow-y:auto; background:var(--card,#fff); border-left:1px solid var(--line); transform:translateX(100%); transition:transform .25s cubic-bezier(.4,0,.2,1); }
  .nav-links.open { display:flex; transform:translateX(0); }
  .nav-right .full { display:none; }
  .nav-right .btn-accent { font-size:12px; padding:7px 12px; }
  .nav-right .nav-cta { display:none; }
}
@media (max-width: 560px) {
  .wrap { padding:0 16px; }
  body { padding-bottom:70px; }
  .mobile-banner { display:flex; }
}
