/* ══════════════════════════════════════════════════════════════════════════
   BVK-PGK Management System — public website.
   Palette drawn from the Golden Nautilus mark: metallic nautilus gold, deep
   circular-flow navy fields. Layered aurora + grain atmosphere, sticky acrylic
   navigation, staged reveals and scroll parallax. No build step.
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  --navy-950: #040a1a;
  --navy-900: #061127;
  --navy-800: #0a1c3f;
  --navy-700: #0d3069;
  --navy-600: #123a7d;
  --royal: #1d4f9e;
  --royal-bright: #3b6fc4;
  --sky: #a9c6ee;
  --gold: #cf9d2a;
  --gold-bright: #f6d878;
  --gold-deep: #93701a;
  --ink: #f2f5ff;
  --muted: #a7b2d8;
  --faint: #7489b8;
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .08);
  --line: rgba(169, 198, 238, .16);
  --line-strong: rgba(169, 198, 238, .32);
  --ok: #3ddc84;
  --warn: #ffb020;
  --err: #ff6b6b;
  --info: #59c2ff;
  --nav-h: 72px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --mono: "Cascadia Mono", "Consolas", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  scrollbar-width: thin;
  scrollbar-color: var(--royal) var(--navy-900);
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--navy-950);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection { background: var(--gold); color: var(--navy-950); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); }

/* palette-tinted scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--navy-900); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--royal-bright), var(--royal));
  border-radius: 999px; border: 2px solid var(--navy-900);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--gold-bright), var(--gold)); }

/* ── layered atmosphere ─────────────────────────────────────────────────── */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--navy-950); }
.bg-mesh {
  position: absolute; inset: -20%;
  background:
    radial-gradient(42% 34% at 18% 12%, rgba(29, 79, 158, .50), transparent 60%),
    radial-gradient(36% 30% at 82% 8%, rgba(222, 176, 60, .14), transparent 60%),
    radial-gradient(50% 40% at 70% 78%, rgba(18, 58, 125, .65), transparent 65%),
    radial-gradient(40% 36% at 12% 82%, rgba(59, 111, 196, .22), transparent 60%),
    linear-gradient(180deg, #061127, #040a1a 60%);
}
.bg-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; }
.orb-a { width: 520px; height: 520px; left: -140px; top: -120px; background: radial-gradient(circle at 35% 35%, rgba(59, 111, 196, .55), rgba(29, 79, 158, 0) 70%); }
.orb-b { width: 420px; height: 420px; right: -120px; top: 22%; background: radial-gradient(circle at 40% 40%, rgba(222, 176, 60, .28), rgba(222, 176, 60, 0) 70%); }
.orb-c { width: 620px; height: 620px; left: 30%; bottom: -280px; background: radial-gradient(circle at 50% 50%, rgba(18, 58, 125, .7), rgba(18, 58, 125, 0) 70%); }
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(169, 198, 238, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 198, 238, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 80%);
  mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 80%);
}
.bg-grain {
  position: absolute; inset: 0; opacity: .05; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ── announcement ───────────────────────────────────────────────────────── */
.announce {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 9px 20px; text-align: center;
  background: linear-gradient(90deg, rgba(222, 176, 60, .14), rgba(29, 79, 158, .18));
  border-bottom: 1px solid var(--line);
  color: var(--gold-bright); font-size: 13px; font-weight: 600;
}
.announce-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); flex: none; }

/* ── navigation ─────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(6, 17, 39, .62);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, box-shadow .25s ease;
}
.nav.scrolled { background: rgba(4, 10, 26, .9); box-shadow: 0 10px 34px rgba(0, 0, 0, .45); }
.nav-inner { max-width: 1560px; margin: 0 auto; display: flex; align-items: center; gap: 18px; padding: 0 24px; height: var(--nav-h); }
.brand { display: flex; align-items: center; flex: none; }
/* max-width: none breaks the img { max-width: 100% } cycle against the
   shrink-to-fit brand wrapper — without it the SVG collapses to zero width. */
.brand-mark img { height: 40px; width: auto; max-width: none; display: block; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { padding: 7px 10px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 12.5px; white-space: nowrap; transition: color .18s, background .18s; }
.nav-links a:hover { color: var(--ink); background: var(--surface); }
.nav-links a.active { color: var(--gold-bright); background: rgba(222, 176, 60, .12); }
.nav-actions { display: flex; gap: 10px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 12px; border: 1px solid transparent;
  font-family: var(--font); font-weight: 700; font-size: 14px; cursor: pointer;
  white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s, border-color .16s;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn.gold { background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep)); color: #241a00; box-shadow: 0 6px 20px rgba(222, 176, 60, .28); }
.btn.gold:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(222, 176, 60, .4); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--surface); }
.btn.outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.outline:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn.lg { padding: 14px 24px; font-size: 16px; border-radius: 14px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.nav-burger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; place-items: center; gap: 5px; flex-direction: column; }
.nav-burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
body.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── hero ───────────────────────────────────────────────────────────────── */
.hero {
  max-width: 1200px; margin: 0 auto; padding: 72px 24px 56px;
  display: grid; grid-template-columns: 1.12fr .88fr; gap: 52px; align-items: center;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-bright); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow-line { width: 32px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--royal-bright)); }
.hero h1 {
  font-family: var(--display); font-size: clamp(38px, 5.6vw, 66px); line-height: 1.05;
  letter-spacing: -.02em; margin: 18px 0 20px; text-wrap: balance;
  background: linear-gradient(120deg, #ffffff 20%, #d5e2f7 60%, var(--sky));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { color: var(--muted); font-size: 18px; line-height: 1.65; max-width: 56ch; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.trust { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 10px; }
.trust li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.trust svg { width: 20px; height: 20px; color: var(--gold); flex: none; }

.rate-panel {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid var(--line-strong); border-radius: 22px; padding: 26px;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.rate-panel::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--gold), var(--royal-bright), transparent); }
.rate-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(61, 220, 132, .12); color: var(--ok); border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 700; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .5); } 50% { box-shadow: 0 0 0 6px rgba(61, 220, 132, 0); } }
.rate-version { color: var(--faint); font-size: 12px; }
.rate-big { display: flex; align-items: baseline; gap: 12px; margin: 20px 0 12px; flex-wrap: wrap; }
.rate-flag { color: var(--muted); font-weight: 700; font-size: 15px; }
.rate-equals { color: var(--faint); font-size: 22px; }
.rate-value { font-family: var(--display); font-size: 56px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.rate-cur { color: var(--gold); font-weight: 800; font-size: 20px; }
.rate-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 12px; color: var(--muted); }
.chip.outline { background: transparent; }
.rate-spark-wrap { height: 64px; margin: 16px 0 6px; }
.rate-spark-wrap svg { width: 100%; height: 64px; display: block; }
.converter { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 8px; }
.conv-label { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); font-weight: 700; }
.conv-row { display: grid; gap: 14px; margin-top: 10px; }
.conv-field { display: flex; gap: 8px; }
.conv-input { flex: 1; min-width: 0; background: rgba(4, 10, 26, .6); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: var(--ink); font-family: var(--mono); font-size: 18px; }
.conv-select { background: rgba(4, 10, 26, .6); border: 1px solid var(--line); border-radius: 12px; padding: 12px; color: var(--ink); font-size: 14px; }
.conv-input:focus, .conv-select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(222, 176, 60, .18); }
.conv-out { background: rgba(222, 176, 60, .08); border: 1px solid rgba(222, 176, 60, .3); border-radius: 14px; padding: 14px 16px; }
.conv-out-label { font-size: 12px; color: var(--muted); }
.conv-out-value { display: block; font-size: 30px; font-weight: 800; color: var(--gold-bright); letter-spacing: -.01em; margin: 2px 0; }
.conv-fee { font-size: 12px; color: var(--muted); }
.conv-note { font-size: 12px; color: var(--faint); margin: 12px 0 0; line-height: 1.5; }
.rate-disclaimer { font-size: 11px; color: var(--faint); margin: 14px 0 0; }

/* ── stats ──────────────────────────────────────────────────────────────── */
.stats { max-width: 1200px; margin: 0 auto; padding: 8px 24px 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px 18px; text-align: center; transition: border-color .2s, transform .2s; }
.stat:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.stat-value { display: block; font-family: var(--display); font-size: 40px; font-weight: 800; letter-spacing: -.02em; background: linear-gradient(120deg, var(--gold-bright), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }

/* ── sections ───────────────────────────────────────────────────────────── */
.section { max-width: 1200px; margin: 0 auto; padding: 72px 24px; scroll-margin-top: calc(var(--nav-h) + 16px); }
.section-head { margin-bottom: 36px; }
.kicker { color: var(--gold); text-transform: uppercase; font-size: 12px; letter-spacing: .2em; font-weight: 800; }
.section-head h2, .about-sticky h2, .contact-card h2 { font-family: var(--display); font-size: clamp(28px, 4vw, 44px); letter-spacing: -.02em; margin: 10px 0; line-height: 1.12; }
.section-sub { color: var(--muted); max-width: 62ch; line-height: 1.6; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; transition: transform .22s ease, border-color .22s; }
.feature::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 40% at 50% 0%, rgba(222, 176, 60, .12), transparent 70%); opacity: 0; transition: opacity .25s; pointer-events: none; }
.feature:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.feature:hover::after { opacity: 1; }
.feature-icon { width: 48px; height: 48px; border-radius: 14px; background: rgba(222, 176, 60, .12); color: var(--gold); display: grid; place-items: center; margin-bottom: 18px; }
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 20px; margin: 0 0 10px; }
.feature p { color: var(--muted); line-height: 1.65; font-size: 15px; margin: 0; }

.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.about-sticky { position: sticky; top: calc(var(--nav-h) + 32px); }
.about-rule { width: 64px; height: 3px; background: linear-gradient(90deg, var(--gold), var(--royal-bright)); margin: 18px 0; border-radius: 2px; }
.about-sign { color: var(--gold-bright); font-weight: 600; }
.about-body > p { color: var(--muted); font-size: 17px; line-height: 1.75; margin: 0; }
.flow { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.flow li { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.flow-step { width: 34px; height: 34px; flex: none; border-radius: 50%; background: linear-gradient(135deg, var(--royal-bright), var(--royal)); color: #fff; font-weight: 800; display: grid; place-items: center; }
.flow b { color: var(--ink); }
.flow p { color: var(--muted); font-size: 14px; margin: 4px 0 0; line-height: 1.55; }

.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.branch { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; transition: transform .2s, border-color .2s; }
.branch:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.branch-code { font-family: var(--mono); color: var(--gold); font-weight: 700; font-size: 13px; }
.branch-name { color: var(--ink); font-weight: 700; font-size: 17px; margin: 6px 0 2px; }
.branch-province { color: var(--muted); font-size: 13px; }
.branch-status { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.branch-status .dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.ok { background: var(--ok); box-shadow: 0 0 8px rgba(61, 220, 132, .6); }
.dot.warn { background: var(--warn); }
.branch-skeleton { height: 128px; border-radius: 16px; background: linear-gradient(100deg, var(--surface) 40%, var(--surface-2) 50%, var(--surface) 60%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: stretch; }
.contact-card { background: linear-gradient(160deg, rgba(29, 79, 158, .3), rgba(13, 48, 105, .6)); border: 1px solid var(--line-strong); border-radius: 22px; padding: 36px; }
.contact-lede { color: var(--muted); line-height: 1.65; }
.contact-cta { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.contact-details { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: grid; gap: 18px; align-content: center; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; }
.contact-ico { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--surface-2); color: var(--gold); display: grid; place-items: center; }
.contact-ico svg { width: 20px; height: 20px; }
.contact-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); font-weight: 700; }
.contact-value { color: var(--ink); font-size: 15px; font-weight: 600; }
a.contact-value:hover { color: var(--gold-bright); }

/* ── footer ─────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); background: rgba(4, 10, 26, .72); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 40px 24px 24px; display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer-brand img { height: 36px; }
.footer-brand p { color: var(--muted); font-size: 13px; margin: 12px 0 0; max-width: 42ch; line-height: 1.6; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.footer-links a { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--gold-bright); }
.footer-compliance { max-width: 1200px; margin: 0 auto; padding: 0 24px 14px; }
.footer-compliance span { display: block; background: rgba(222, 176, 60, .08); border: 1px solid rgba(222, 176, 60, .25); color: var(--gold-bright); border-radius: 10px; padding: 10px 14px; font-size: 12px; text-align: center; }
.footer-copy { text-align: center; color: var(--faint); font-size: 12px; padding: 0 24px 28px; }

/* ── account icon button (nav) ──────────────────────────────────────────── */
.nav-account {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; cursor: pointer;
  background: rgba(4, 10, 26, .55); border: 1px solid var(--line);
  color: var(--gold-bright); font-family: var(--font); font-weight: 700; font-size: 13px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.nav-account svg { width: 20px; height: 20px; flex: none; }
.nav-account:hover, .nav-account:focus-visible {
  transform: translateY(-1px) scale(1.04);
  border-color: var(--gold);
  background: rgba(222, 176, 60, .1);
  box-shadow: 0 0 0 2px rgba(222, 176, 60, .28), 0 10px 28px rgba(222, 176, 60, .18);
  outline: none;
}
/* icon-only on the smallest screens; the label returns at tablet width */
@media (max-width: 767px) {
  .nav-account { padding: 9px; }
  .nav-account .nav-account-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}

/* ── premium footer: glass band + five columns ──────────────────────────── */
.footer-glass {
  position: relative;
  background: linear-gradient(180deg, rgba(8, 18, 42, .5), rgba(4, 10, 26, .82));
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.footer-glass::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(222, 176, 60, .5), transparent);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 48px 24px 34px;
  display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr 1.4fr; gap: 32px; flex-wrap: nowrap;
}
.footer-col { min-width: 0; }
.footer-col h3 { font-family: var(--display); font-size: 15px; letter-spacing: .01em; color: var(--ink); margin: 0 0 16px; }
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-logo { height: 38px; width: auto; }
.footer-brand p { color: var(--muted); font-size: 13px; margin: 12px 0 0; max-width: 34ch; line-height: 1.6; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.footer-badge { font-size: 11px; color: var(--gold-bright); background: rgba(222, 176, 60, .08); border: 1px solid rgba(222, 176, 60, .22); border-radius: 8px; padding: 4px 9px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social[hidden] { display: none; }
.footer-social-link {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(4, 10, 26, .55); border: 1px solid var(--line); color: var(--muted);
  transition: transform .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.footer-social-link svg { width: 18px; height: 18px; }
.footer-social-link:hover { color: var(--gold-bright); border-color: var(--gold); transform: translateY(-2px) scale(1.06); box-shadow: 0 8px 22px rgba(222, 176, 60, .16); }
.footer .footer-links { flex-direction: column; align-items: flex-start; gap: 10px; }
.footer .footer-links a { display: inline-flex; align-items: center; }
.footer-services a, .footer-contact .footer-line { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.footer-services a svg, .footer-contact .footer-line svg { width: 17px; height: 17px; flex: none; margin-top: 1px; color: var(--gold); }
.footer-services a:hover { color: var(--gold-bright); }
.footer-contact .footer-line svg { color: var(--gold); }

/* newsletter block — neumorphic input + button */
.footer-news-lede { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0 0 14px; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-input {
  flex: 1 1 180px; min-width: 0; padding: 12px 14px; border-radius: 12px; font-size: 14px; font-family: var(--font);
  color: var(--ink); background: rgba(4, 10, 26, .6); border: 1px solid var(--line);
  box-shadow: inset 2px 2px 6px rgba(0, 0, 0, .45), inset -1px -1px 3px rgba(255, 255, 255, .03);
}
.newsletter-input:focus { outline: none; border-color: var(--gold); box-shadow: inset 2px 2px 6px rgba(0, 0, 0, .45), 0 0 0 3px rgba(222, 176, 60, .16); }
.newsletter-btn {
  padding: 12px 18px; border-radius: 12px; cursor: pointer; font-family: var(--font); font-weight: 700; font-size: 14px;
  color: #04111e; border: none; background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  box-shadow: 0 6px 18px rgba(222, 176, 60, .22), inset 0 1px 0 rgba(255, 255, 255, .4);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.newsletter-btn:hover { transform: translateY(-1px); filter: brightness(1.04); box-shadow: 0 10px 24px rgba(222, 176, 60, .3), inset 0 1px 0 rgba(255, 255, 255, .4); }
.newsletter-btn:disabled { opacity: .6; cursor: default; transform: none; }
.newsletter-note { font-size: 12.5px; margin: 10px 0 0; min-height: 1em; color: var(--muted); }
.newsletter-note.ok { color: #7fe0a6; }
.newsletter-note.err { color: #ffb3b3; }
.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; }

/* legal + credit row */
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.footer-legal a { color: var(--faint); font-size: 12px; }
.footer-legal a:hover { color: var(--gold-bright); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding: 18px 24px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  border-top: 1px solid var(--line);
}
.footer-copy { padding: 0; }
.footer-credit { color: var(--faint); font-size: 12px; }

@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer-news { grid-column: 1 / -1; }
  /* Keep the nav shrink-safe: collapse the client button to an icon-only ring
     so the header never pushes past the right edge at tablet widths. */
  .nav-account-label {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .nav-account { padding: 9px; }
}
@media (max-width: 620px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 400px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ── closed / maintenance veil ──────────────────────────────────────────── */
/* The veils and forms below toggle via the hidden attribute; their display
   rules must never out-specify it, or a "closed" site renders open veils. */
[hidden] { display: none !important; }
.closed-veil { position: fixed; inset: 0; z-index: 200; background: rgba(4, 10, 26, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: grid; place-items: center; padding: 24px; }
.closed-card { text-align: center; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 22px; padding: 40px; max-width: 440px; }
.closed-card img { height: 44px; margin-bottom: 18px; }
.closed-card h2 { margin: 0 0 10px; }
.closed-card p { color: var(--muted); margin: 0 0 22px; line-height: 1.6; }

/* ── auth modal ─────────────────────────────────────────────────────────── */
.auth-veil { position: fixed; inset: 0; z-index: 150; background: rgba(4, 10, 26, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 20px; overflow: auto; }
.auth-card { position: relative; width: min(460px, 100%); background: linear-gradient(160deg, rgba(18, 58, 125, .96), rgba(6, 17, 39, .98)); border: 1px solid var(--line-strong); border-radius: 22px; padding: 32px; box-shadow: 0 40px 100px rgba(0, 0, 0, .6); }
.auth-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); color: var(--muted); border: 1px solid var(--line); display: grid; place-items: center; cursor: pointer; }
.auth-close svg { width: 18px; height: 18px; }
.auth-close:hover { color: var(--ink); }
.auth-logo { height: 40px; display: block; margin: 0 auto 18px; }
.auth-card h2 { text-align: center; font-size: 26px; margin: 0; }
.auth-sub { text-align: center; color: var(--muted); font-size: 14px; margin: 8px 0 20px; line-height: 1.5; }
.auth-tabs { display: flex; background: rgba(4, 10, 26, .6); border-radius: 12px; padding: 4px; gap: 4px; margin-bottom: 18px; }
.auth-tab { flex: 1; padding: 10px; border-radius: 10px; color: var(--muted); font-weight: 700; font-size: 14px; background: transparent; border: none; cursor: pointer; font-family: var(--font); }
.auth-tab.active { background: linear-gradient(135deg, var(--royal-bright), var(--royal)); color: #fff; }
.auth-error { background: rgba(255, 107, 107, .12); border: 1px solid rgba(255, 107, 107, .4); color: #ffb3b3; border-radius: 10px; padding: 10px 14px; font-size: 13px; margin-bottom: 14px; line-height: 1.5; }
.auth-form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 12px; color: var(--muted); font-weight: 700; }
.field input, .field select { background: rgba(4, 10, 26, .6); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; color: var(--ink); font-size: 15px; font-family: var(--font); width: 100%; }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(222, 176, 60, .18); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-hint { font-size: 12px; color: var(--faint); margin: 0; line-height: 1.5; }
.auth-foot { text-align: center; color: var(--faint); font-size: 13px; margin: 18px 0 0; }
.auth-foot a { color: var(--gold-bright); font-weight: 600; }

/* ── staged reveals ─────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.16, 1, .3, 1); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }

/* ── responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 48px 20px 40px; }
  .about { grid-template-columns: 1fr; gap: 28px; }
  .about-sticky { position: static; }
  .feature-grid { grid-template-columns: 1fr; }
  .branch-grid { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
/* Nav breakpoint: nine desktop groups only fit from 1280px up — the burger
   sheet takes over below it, while the page layouts above still stack at 980. */
@media (max-width: 1280px) {
  .nav-more-wrap { display: none; }
  .nav-links { display: none; }
  .nav-burger { display: grid; }
  #nav-signout { display: none; }
  body.nav-open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: rgba(4, 10, 26, .98); padding: 16px 20px; gap: 4px; border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); margin-left: 0;
  }
  body.nav-open .nav-links a { padding: 12px 14px; border-radius: 10px; }
  body.nav-open .nav-links .nav-drop-btn {
    padding: 12px 14px; border-radius: 10px; background: transparent; border: none;
    color: var(--muted); font-family: var(--font); font-weight: 600; font-size: 14px;
    text-align: left; cursor: pointer; transition: color .18s, background .18s;
  }
  body.nav-open .nav-links .nav-drop-btn:hover { color: var(--gold-bright); background: var(--surface); }
}
@media (max-width: 620px) {
  .nav-inner { padding: 0 16px; gap: 10px; }
  .brand-mark img { height: 32px; }
  #nav-signout { display: none; }
  /* The client account button stays reachable as an icon on phones */
  .hero { padding: 36px 16px 32px; }
  .rate-value { font-size: 44px; }
  .conv-field { flex-direction: column; }
  .stats { padding: 0 16px 28px; gap: 12px; }
  .stat-value { font-size: 32px; }
  .section { padding: 52px 16px; }
  .branch-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .auth-card { padding: 26px 20px; }
  .footer-inner { padding: 32px 16px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .bg-orb, .live-dot, .branch-skeleton { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* ══════════════════════════════════════════════════════════════════════════
   Multi-page layer — page heroes, More flyout, panels, tables, boards,
   accordion, timeline, steps, news, status. Same palette, same materials.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── page hero + breadcrumbs ────────────────────────────────────────────── */
.page-hero { max-width: 1200px; margin: 0 auto; padding: 56px 24px 8px; }
.page-hero h1 {
  font-family: var(--display); font-size: clamp(32px, 4.6vw, 54px); line-height: 1.08;
  letter-spacing: -.02em; margin: 16px 0 14px; text-wrap: balance;
  background: linear-gradient(120deg, #ffffff 20%, #d5e2f7 60%, var(--sky));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-hero .lede { margin-bottom: 8px; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--faint); margin-bottom: 18px; }
.crumbs a { color: var(--muted); font-weight: 600; }
.crumbs a:hover { color: var(--gold-bright); }
.crumbs b { color: var(--gold-bright); font-weight: 700; }
.nf-hero { padding-bottom: 72px; }

/* ── page swap motion ───────────────────────────────────────────────────── */
#page { min-height: 60vh; }
#page.swap-out { opacity: 0; transform: translateY(10px); transition: opacity .15s ease, transform .15s ease; }
#page.swap-in { animation: pageIn .42s cubic-bezier(.16, 1, .3, 1); }
@keyframes pageIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ── More flyout ────────────────────────────────────────────────────────── */
.nav-more-wrap { position: relative; }
.nav-more {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
  white-space: nowrap;
  background: transparent; border: 1px solid transparent; color: var(--muted);
  font-family: var(--font); font-weight: 600; font-size: 14px; cursor: pointer;
  transition: color .18s, background .18s;
}
.nav-more svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-more:hover { color: var(--ink); background: var(--surface); }
.nav-more.active { color: var(--gold-bright); background: rgba(222, 176, 60, .12); }
.nav-more[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-more-panel {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 220px; z-index: 70;
  display: flex; flex-direction: column; gap: 2px; padding: 8px;
  background: rgba(6, 17, 39, .96); border: 1px solid var(--line-strong); border-radius: 14px;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  animation: flyIn .18s cubic-bezier(.16, 1, .3, 1);
}
@keyframes flyIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.nav-more-panel a { padding: 9px 12px; border-radius: 9px; color: var(--muted); font-weight: 600; font-size: 14px; }
.nav-more-panel a:hover { color: var(--ink); background: var(--surface); }
.nav-more-panel a.active { color: var(--gold-bright); background: rgba(222, 176, 60, .12); }

/* ── shared panels & CTAs ───────────────────────────────────────────────── */
.section-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px;
  transition: border-color .2s;
}
.panel:hover { border-color: var(--line-strong); }
.panel-title { font-family: var(--display); font-size: 24px; letter-spacing: -.01em; margin: 10px 0 12px; }
.panel-body { color: var(--muted); line-height: 1.7; font-size: 15px; margin: 0 0 16px; }
.panel-note { color: var(--faint); font-size: 12px; line-height: 1.6; margin: 14px 0 0; }
.btn.sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; }

/* ── rates page ─────────────────────────────────────────────────────────── */
.rates-layout { display: grid; grid-template-columns: 1.02fr .98fr; gap: 24px; align-items: start; padding-top: 32px; }
.rates-side { display: grid; gap: 20px; }
.gov-chain { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 18px; }
.gov-chain svg { width: 18px; height: 18px; color: var(--faint); flex: none; }
.gov-node {
  background: rgba(29, 79, 158, .22); border: 1px solid var(--line-strong); color: var(--ink);
  border-radius: 999px; padding: 7px 14px; font-size: 12px; font-weight: 700;
}
.gov-node.gold { background: rgba(222, 176, 60, .14); border-color: rgba(222, 176, 60, .4); color: var(--gold-bright); }

/* ── data tables ────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table.data { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data th {
  text-align: left; padding: 10px 14px; color: var(--faint); font-size: 11px;
  text-transform: uppercase; letter-spacing: .12em; background: rgba(4, 10, 26, .5);
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
table.data td { padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
table.data tr:last-child td { border-bottom: none; }
table.data tr.current td { background: rgba(222, 176, 60, .07); color: var(--ink); }
table.data td.strong { color: var(--gold-bright); font-weight: 700; }
table.data td.muted { color: var(--faint); }
.table-empty { text-align: center; padding: 22px 14px !important; color: var(--faint); }
.chip.gold { background: rgba(222, 176, 60, .14); border-color: rgba(222, 176, 60, .4); color: var(--gold-bright); font-weight: 700; }

/* ── fees board & tiers ─────────────────────────────────────────────────── */
.fee-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fee-cell {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px;
  display: grid; gap: 6px; transition: transform .2s, border-color .2s;
}
.fee-cell:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.fee-cell.gold { background: linear-gradient(160deg, rgba(222, 176, 60, .14), rgba(222, 176, 60, .04)); border-color: rgba(222, 176, 60, .35); }
.fee-label { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--faint); font-weight: 700; }
.fee-value { font-size: 30px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.fee-cell.gold .fee-value { color: var(--gold-bright); }
.fee-sub { font-size: 12px; color: var(--muted); }
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.tier { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: grid; gap: 12px; align-content: start; transition: transform .22s, border-color .22s; }
.tier:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.tier-index { position: absolute; top: 18px; right: 22px; font-size: 34px; font-weight: 800; color: rgba(169, 198, 238, .18); }
.tier h3 { font-size: 21px; margin: 0; }
.tier p { color: var(--muted); line-height: 1.65; font-size: 14px; margin: 0; }
.tier .chip { justify-self: start; }

/* ── steps rail ─────────────────────────────────────────────────────────── */
.steps-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; padding-top: 32px; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 18px; }
.steps::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(180deg, var(--royal-bright), var(--gold)); opacity: .5; }
.step { display: flex; gap: 18px; position: relative; }
.step-node {
  width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--royal-bright), var(--royal)); color: #fff; font-weight: 800; font-size: 17px;
  box-shadow: 0 0 0 5px var(--navy-950), 0 8px 22px rgba(29, 79, 158, .45); position: relative; z-index: 1;
}
.step-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; flex: 1; transition: border-color .2s, transform .2s; }
.step-card:hover { border-color: var(--line-strong); transform: translateX(4px); }
.step-card h3 { margin: 0 0 8px; font-size: 19px; }
.step-card p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 14px; }
.steps-aside { position: sticky; top: calc(var(--nav-h) + 32px); }
.quote-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 12px; }
.quote-list li { display: grid; gap: 2px; border-left: 3px solid var(--gold); padding-left: 14px; }
.quote-list b { color: var(--ink); font-size: 14px; }
.quote-list span { color: var(--muted); font-size: 13px; line-height: 1.5; }

/* ── timeline ───────────────────────────────────────────────────────────── */
.timeline { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 26px 30px; border-left: 2px solid var(--line-strong); margin-left: 8px; }
.timeline li:last-child { padding-bottom: 4px; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px rgba(222, 176, 60, .18);
}
.timeline-year { display: inline-block; color: var(--gold-bright); font-weight: 800; font-size: 15px; margin-bottom: 6px; }
.timeline p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 15px; }

/* ── security pillars ───────────────────────────────────────────────────── */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; transition: transform .22s, border-color .22s; }
.pillar::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 40% at 50% 0%, rgba(59, 111, 196, .16), transparent 70%); opacity: 0; transition: opacity .25s; pointer-events: none; }
.pillar:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.pillar:hover::after { opacity: 1; }
.pillar-index { display: block; font-size: 13px; font-weight: 800; color: var(--gold); letter-spacing: .18em; margin-bottom: 14px; }
.pillar h3 { font-size: 19px; margin: 0 0 10px; }
.pillar p { color: var(--muted); line-height: 1.65; font-size: 14px; margin: 0; }
.assurance { background: linear-gradient(160deg, rgba(29, 79, 158, .26), rgba(13, 48, 105, .55)); border-color: var(--line-strong); }

/* ── FAQ accordion ──────────────────────────────────────────────────────── */
.faq-wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; align-items: start; padding-top: 32px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .2s; }
.faq-item:has(.faq-q[aria-expanded="true"]) { border-color: rgba(222, 176, 60, .4); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 20px; background: transparent; border: none; cursor: pointer;
  color: var(--ink); font-family: var(--font); font-size: 16px; font-weight: 700; text-align: left;
}
.faq-q svg { width: 18px; height: 18px; flex: none; color: var(--gold); transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.faq-q[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-q:hover { color: var(--gold-bright); }
.faq-a { padding: 0 20px 18px; }
.faq-a p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.faq-aside { position: sticky; top: calc(var(--nav-h) + 32px); }

/* ── news ───────────────────────────────────────────────────────────────── */
.news-wrap { display: grid; gap: 16px; padding-top: 32px; }
.news-item {
  display: grid; grid-template-columns: 130px 1fr; gap: 22px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px;
  transition: transform .2s, border-color .2s;
}
.news-item:hover { transform: translateX(6px); border-color: var(--line-strong); }
.news-date { color: var(--gold); font-weight: 700; font-size: 13px; padding-top: 3px; }
.news-body h3 { margin: 0 0 8px; font-size: 19px; }
.news-body p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 14px; }

/* ── contact composer ───────────────────────────────────────────────────── */
.field textarea {
  background: rgba(4, 10, 26, .6); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; color: var(--ink); font-size: 15px; font-family: var(--font); width: 100%; resize: vertical;
}
.field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(222, 176, 60, .18); }
.contact-sent {
  background: rgba(61, 220, 132, .1); border: 1px solid rgba(61, 220, 132, .4); border-radius: 12px;
  padding: 16px 18px; margin-bottom: 16px; display: grid; gap: 8px;
}
.contact-sent b { color: var(--ok); }
.contact-sent p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.contact-sent .btn { justify-self: start; }

/* ── legal ──────────────────────────────────────────────────────────────── */
.legal-wrap { display: grid; gap: 16px; padding-top: 32px; }
.legal-banner {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  background: rgba(222, 176, 60, .08); border: 1px solid rgba(222, 176, 60, .3); border-radius: 16px; padding: 18px 22px;
}
.legal-banner p { margin: 0; color: var(--gold-bright); font-size: 14px; line-height: 1.6; flex: 1; min-width: 260px; }
.live-pill.warn { background: rgba(255, 176, 32, .14); color: var(--warn); }
.live-dot.warn { background: var(--warn); animation: none; }
.legal-clause { display: flex; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px; scroll-margin-top: calc(var(--nav-h) + 16px); }
.legal-index { color: var(--gold); font-weight: 800; font-size: 18px; flex: none; padding-top: 2px; }
.legal-clause h3 { margin: 0 0 8px; font-size: 18px; }
.legal-clause p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 14px; }

/* ── status board ───────────────────────────────────────────────────────── */
.status-bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.status-stamp { color: var(--faint); font-size: 12px; flex: 1; }
.status-grid { display: grid; gap: 12px; }
.status-row {
  display: grid; grid-template-columns: 14px 1fr auto auto; gap: 16px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px;
  transition: border-color .2s;
}
.status-row:hover { border-color: var(--line-strong); }
.status-dot { width: 10px; height: 10px; border-radius: 50%; }
.status-dot.ok { background: var(--ok); box-shadow: 0 0 10px rgba(61, 220, 132, .6); }
.status-dot.warn { background: var(--warn); box-shadow: 0 0 10px rgba(255, 176, 32, .5); }
.status-dot.err { background: var(--err); box-shadow: 0 0 10px rgba(255, 107, 107, .5); }
.status-mid { display: grid; gap: 3px; min-width: 0; }
.status-mid b { font-size: 15px; }
.status-detail { color: var(--muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.status-ms { color: var(--faint); font-size: 12px; }
.pill { border-radius: 999px; padding: 5px 12px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pill.ok { background: rgba(61, 220, 132, .12); color: var(--ok); }
.pill.warn { background: rgba(255, 176, 32, .14); color: var(--warn); }
.pill.err { background: rgba(255, 107, 107, .14); color: var(--err); }

/* ── public credential verification ─────────────────────────────────────── */
.verify { display: grid; place-items: start; }
.verify-panel {
  width: min(680px, 100%); background: linear-gradient(160deg, rgba(29, 79, 158, .22), rgba(13, 48, 105, .55));
  border: 1px solid var(--line-strong); border-radius: 22px; padding: clamp(22px, 4vw, 36px);
}
.verify-form { display: grid; gap: 14px; }
.verify-form .field input { font-family: var(--mono, ui-monospace, monospace); letter-spacing: .04em; text-transform: uppercase; }
.verify-result { display: grid; gap: 14px; margin-top: 22px; }
.verify-card { border: 1px solid var(--line-strong); border-radius: 16px; padding: 20px 22px; background: var(--surface); }
.verify-card.ok { border-color: rgba(61, 220, 132, .5); }
.verify-card.warn { border-color: rgba(255, 176, 32, .5); }
.verify-card.err { border-color: rgba(255, 107, 107, .5); }
.verify-banner { display: grid; gap: 8px; }
.verify-badge { justify-self: start; border-radius: 999px; padding: 7px 16px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.verify-badge.ok { background: rgba(61, 220, 132, .14); color: var(--ok); }
.verify-badge.warn { background: rgba(255, 176, 32, .16); color: var(--warn); }
.verify-badge.err { background: rgba(255, 107, 107, .16); color: var(--err); }
.verify-note { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }
.verify-fields { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 8px 0 0; }
.verify-fields dt { color: var(--faint); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; align-self: center; }
.verify-fields dd { margin: 0; font-size: 15px; }
.verify-footnote { color: var(--faint); font-size: 12px; line-height: 1.6; margin: 8px 0 0; border-top: 1px solid var(--line); padding-top: 12px; }

/* ── misc ───────────────────────────────────────────────────────────────── */
.branch-hours { margin-top: 12px; justify-self: start; display: inline-block; }
.footer-links a.active { color: var(--gold-bright); }

/* ── responsive additions ───────────────────────────────────────────────── */
@media (max-width: 980px) {
  .rates-layout, .steps-wrap, .faq-wrap { grid-template-columns: 1fr; gap: 24px; }
  .steps-aside, .faq-aside { position: static; }
  .fee-board, .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .tier-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 40px 20px 4px; }
}
@media (max-width: 620px) {
  .fee-board, .pillar-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
  .status-row { grid-template-columns: 14px 1fr; }
  .status-ms { grid-column: 2; }
  .status-row .pill { grid-column: 2; justify-self: start; }
  .page-hero { padding: 32px 16px 0; }
  .legal-clause { flex-direction: column; gap: 8px; }
  .step { gap: 12px; }
  .step-node { width: 38px; height: 38px; font-size: 15px; }
  .steps::before { left: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  #page.swap-out, #page.swap-in { opacity: 1; transform: none; transition: none; animation: none; }
  .nav-more-panel { animation: none; }
  /* State flips (active nav, More, accordion) land on the very next frame. */
  .nav-links a, .nav-more, .footer-links a, .faq-q { transition: none; }
}

/* ══════════════════════════════════════════════════════════════════════════
   Professional chrome layer — sticky utility header, right-sheet mobile
   navigation, editorial footer with developer credit, posted media figures
   and the currency roadmap. Overrides the legacy rules above by source order.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── sticky header: utility strip + acrylic nav ─────────────────────────── */
.site-head { position: sticky; top: 0; z-index: 60; }
.nav { position: static; }
.announce {
  justify-content: space-between; gap: 16px; text-align: left;
  max-height: 64px; overflow: hidden;
  transition: max-height .28s ease, opacity .22s ease, padding .28s ease;
}
.announce-left { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.announce-left [data-bind] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.announce-meta { display: inline-flex; align-items: center; gap: 14px; flex: none; }
.announce-clock { color: var(--sky); font-size: 12px; letter-spacing: .04em; }
.announce-status { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 700; transition: color .18s; }
.announce-status:hover { color: var(--gold-bright); }
.site-head.scrolled .announce { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; border-bottom-width: 0; }
.site-head.scrolled .nav { background: rgba(4, 10, 26, .92); box-shadow: 0 12px 34px rgba(0, 0, 0, .5); }

/* active page: gold underline indicator instead of a filled pill */
.nav-links a { position: relative; }
.nav-links a.active { background: transparent; color: var(--gold-bright); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-bright), var(--gold));
  box-shadow: 0 0 12px rgba(222, 176, 60, .55);
}

/* gold shine sweep on primary buttons */
.btn.gold { position: relative; overflow: hidden; }
.btn.gold::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .55) 50%, transparent 58%);
  transform: translateX(-130%); transition: transform .7s ease;
}
.btn.gold:hover::after { transform: translateX(130%); }

/* drawer scrim */
.nav-scrim {
  position: fixed; inset: 0; z-index: 55; background: rgba(2, 6, 18, .6);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
}
body.nav-open .nav-scrim { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }

/* ── editorial footer ───────────────────────────────────────────────────── */
.footer { background: linear-gradient(180deg, rgba(6, 17, 39, .82), rgba(4, 10, 26, .97)); }
.footer-cta {
  max-width: 1200px; margin: 0 auto; padding: 44px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(52% 130% at 88% 50%, rgba(222, 176, 60, .12), transparent 70%);
}
.footer-cta-copy h2 { font-family: var(--display); font-size: clamp(24px, 3vw, 34px); letter-spacing: -.02em; margin: 0 0 10px; line-height: 1.15; }
.footer-cta-copy p { color: var(--muted); max-width: 56ch; line-height: 1.65; margin: 0; font-size: 15px; }
.footer-cta-actions { display: flex; gap: 12px; flex: none; flex-wrap: wrap; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; padding: 44px 24px 30px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer-badge {
  font-size: 11px; font-weight: 700; color: var(--muted);
  border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 11px;
}
.footer-col h3 { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin: 0 0 14px; }
.footer-col .footer-links { display: grid; gap: 10px; align-items: start; }
.footer-links a { display: inline-block; transition: color .18s, transform .18s; }
.footer-links a:hover { color: var(--gold-bright); transform: translateX(3px); }
.footer-line { display: flex; gap: 9px; align-items: flex-start; color: var(--muted); font-size: 13px; line-height: 1.55; }
.footer-line svg { width: 16px; height: 16px; flex: none; color: var(--gold); margin-top: 2px; }
a.footer-line { transition: color .18s; }
a.footer-line:hover { color: var(--gold-bright); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding: 16px 24px 26px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.footer-copy { text-align: left; padding: 0; }
.footer-copy a { color: var(--muted); transition: color .18s; }
.footer-copy a:hover { color: var(--gold-bright); }
.footer-credit {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em;
}
.footer-credit::before {
  content: ""; width: 7px; height: 7px; border-radius: 2px; flex: none;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  box-shadow: 0 0 10px rgba(222, 176, 60, .6);
}

/* Grid items default to min-width:auto, so a nowrap table or wide converter
   can stretch a 1fr track past the viewport on phones. Contain every column. */
.hero > *, .rates-layout > *, .rates-side, .rates-side > *,
.steps-wrap > *, .faq-wrap > *, .about > *, .contact > * { min-width: 0; }

/* ── posted media figures (Website Manager uploads) ─────────────────────── */
.page-media { max-width: 1200px; margin: 0 auto; padding: 8px 24px 0; }
.page-media img {
  width: 100%; height: clamp(220px, 32vw, 420px); object-fit: cover; display: block;
  border-radius: 20px; border: 1px solid var(--line-strong);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
}
.page-media figcaption { margin: 10px 4px 0; color: var(--faint); font-size: 12px; line-height: 1.5; }
.page-media-band { padding-top: 0; }

/* ── currency roadmap ───────────────────────────────────────────────────── */
.pipeline-section { padding-top: 8px; }
.pipeline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pipeline-chip {
  display: grid; gap: 6px; padding: 16px; border-radius: 14px;
  border: 1px solid var(--line); background: linear-gradient(160deg, var(--surface-2), var(--surface));
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pipeline-chip:hover { transform: translateY(-3px); border-color: rgba(222, 176, 60, .4); box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
.pipeline-code { font-size: 18px; font-weight: 700; color: var(--sky); letter-spacing: .08em; }
.pipeline-name { font-size: 12px; color: var(--muted); }
.pipeline-pill {
  justify-self: start; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--warn); background: rgba(255, 176, 32, .12); border: 1px solid rgba(255, 176, 32, .35);
  border-radius: 999px; padding: 3px 8px;
}
.pipeline-chip.reveal { transition-delay: calc(var(--i, 0) * 40ms); }

/* ── responsive: right-sheet navigation + footer collapse ───────────────── */
/* The drawer follows the 1280px nav breakpoint (a laptop at 1100px gets the
   same sheet as a phone); the footer + board collapses stay at 980. */
@media (max-width: 1280px) {
  /* backdrop-filter on .nav would trap the fixed sheet inside the 72px bar;
     use a near-solid acrylic field on small screens instead. */
  .nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(6, 17, 39, .94); }
  .site-head.scrolled .nav { background: rgba(4, 10, 26, .96); }
  .nav-actions { position: relative; z-index: 59; }
  .nav-links {
    display: flex; flex-direction: column; gap: 4px;
    position: fixed; top: 0; right: 0; bottom: 0; left: auto; z-index: 58;
    width: min(330px, 88vw); margin: 0; padding: calc(var(--nav-h) + 44px) 18px 24px;
    background: linear-gradient(200deg, rgba(13, 48, 105, .98), rgba(4, 10, 26, .99));
    border-left: 1px solid var(--line-strong); border-bottom: none;
    box-shadow: -30px 0 80px rgba(0, 0, 0, .55);
    -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
    transform: translateX(103%); visibility: hidden; overflow-y: auto;
    transition: transform .3s cubic-bezier(.16, 1, .3, 1), visibility .3s;
  }
  body.nav-open .nav-links {
    transform: none; visibility: visible;
    position: fixed; top: 0; left: auto; right: 0; bottom: 0;
    padding: calc(var(--nav-h) + 44px) 18px 24px;
    background: linear-gradient(200deg, rgba(13, 48, 105, .98), rgba(4, 10, 26, .99));
    border-bottom: none;
  }
  body.nav-open.head-collapsed .nav-links { padding-top: calc(var(--nav-h) + 12px); }
  body.nav-open .nav-links a, body.nav-open .nav-links .nav-drop-btn {
    animation: sheetIn .38s cubic-bezier(.16, 1, .3, 1) both;
    animation-delay: calc(var(--i, 0) * 34ms);
  }
  body.nav-open .nav-links a { padding: 13px 14px; border-radius: 12px; font-size: 15px; }
  body.nav-open .nav-links a.active { background: rgba(222, 176, 60, .12); }
  body.nav-open .nav-links a.active::after { display: none; }
  body.nav-open .nav-links .nav-drop-btn { padding: 13px 14px; border-radius: 12px; font-size: 15px; }
  .nav-drop-btn.gold { color: var(--gold-bright); }
  .nav-sheet-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 4px 6px 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line);
    color: var(--faint); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  }
  .nav-sheet-close {
    width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line);
    background: var(--surface); color: var(--muted); display: grid; place-items: center; cursor: pointer;
    transition: color .18s, border-color .18s;
  }
  .nav-sheet-close:hover { color: var(--ink); border-color: var(--line-strong); }
  .nav-sheet-close svg { width: 16px; height: 16px; }
}
/* footer + boards keep their original 980px collapse */
@media (max-width: 980px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-cta { padding: 32px 20px; }
  .pipeline-grid { grid-template-columns: repeat(2, 1fr); }
  .announce-clock { display: none; }
  .page-media { padding: 4px 20px 0; }
}
@keyframes sheetIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 620px) {
  .footer-inner { grid-template-columns: 1fr; gap: 26px; padding: 32px 16px 24px; }
  .footer-cta { padding: 28px 16px; }
  .footer-cta-actions { width: 100%; }
  .footer-cta-actions .btn { flex: 1; }
  .footer-bottom { padding: 14px 16px 22px; }
  .announce { padding: 8px 16px; }
  .page-media { padding: 4px 16px 0; }
  .page-media img { height: 200px; border-radius: 14px; }
  .pipeline-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* Reduced motion: chrome state flips land on the next frame, no sweeps. */
@media (prefers-reduced-motion: reduce) {
  .announce, .nav-scrim, .nav-links, .btn.gold::after, .pipeline-chip, .footer-links a { transition: none; animation: none; }
  body.nav-open .nav-links a, body.nav-open .nav-links .nav-drop-btn { animation: none; }
}

/* ══════════════════════════════════════════════════════════════════════════
   Universal device layer — every viewport from 320px phones to 1920px+
   desktops, landscape phones, tablets and touch ergonomics. Source order
   lets these refinements override the earlier breakpoint blocks.
   ══════════════════════════════════════════════════════════════════════════ */

/* large desktops: give the editorial layout room to breathe */
@media (min-width: 1600px) {
  .nav-inner { max-width: 1560px; }
  .hero, .stats, .section, .page-hero, .page-media,
  .footer-cta, .footer-inner, .footer-bottom, .footer-compliance { max-width: 1320px; }
  .hero { gap: 64px; padding: 84px 24px 64px; }
  .section { padding: 84px 24px; }
}

/* tight desktop band: 1281–1359px is the narrowest slice where the full
   nine-group bar renders — compress spacing so it always fits with slack.
   (The old 981–1120 compaction is unreachable since the drawer takes over
   below 1280px.) */
@media (min-width: 1281px) and (max-width: 1359px) {
  .nav-inner { gap: 12px; padding: 0 18px; }
  .nav-links { gap: 1px; }
  .nav-links a { padding: 7px 8px; }
  .nav-drop-btn { padding: 6px 8px; gap: 4px; }
  .nav-actions { gap: 8px; }
}

/* tablet portrait / small landscape: keep multi-column boards instead of
   stacking everything into one long column */
@media (min-width: 700px) and (max-width: 980px) {
  .stats { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .stat { padding: 18px 12px; }
  .stat-value { font-size: 30px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .branch-grid { grid-template-columns: repeat(3, 1fr); }
  .branch { padding: 16px; }
  .fee-board { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .fee-cell { padding: 16px; }
  .fee-value { font-size: 24px; }
  .tier-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .tier { padding: 20px; }
  .pillar-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .pillar { padding: 20px; }
  .news-item { grid-template-columns: 110px 1fr; gap: 16px; }
}

/* large phones / phablets */
@media (max-width: 480px) {
  .nav-inner { padding: 0 12px; gap: 8px; }
  .brand-mark img { height: 28px; }
  #nav-register { padding: 9px 12px; font-size: 13px; }
  .nav-burger { width: 40px; height: 40px; }
  .announce { padding: 8px 12px; }
  .hero { padding: 30px 14px 26px; gap: 28px; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 38px); }
  .lede { font-size: 16px; }
  .rate-panel { padding: 20px 16px; border-radius: 18px; }
  .rate-value { font-size: 38px; }
  .conv-out-value { font-size: 26px; }
  .section { padding: 44px 14px; }
  .page-hero { padding: 28px 14px 0; }
  .page-hero h1 { font-size: clamp(28px, 8vw, 34px); }
  .stats { padding: 0 14px 24px; gap: 10px; }
  .stat { padding: 16px 10px; }
  .stat-value { font-size: 26px; }
  .stat-label { font-size: 10px; letter-spacing: .1em; }
  .panel { padding: 20px 16px; }
  .contact-card { padding: 24px 18px; }
  .contact-details { padding: 20px 16px; }
  .footer-cta { padding: 24px 14px; }
  .footer-inner { padding: 28px 14px 20px; }
  .footer-bottom {
    padding: 12px 14px calc(18px + env(safe-area-inset-bottom));
    flex-direction: column; align-items: flex-start; gap: 8px;
  }
  .footer-credit { margin-left: 0; }
  .footer-compliance { padding: 0 14px 12px; }
  .page-media { padding: 4px 14px 0; }
  .pipeline-chip { padding: 12px; }
  .auth-veil { padding: 12px; }
  .auth-card { padding: 22px 16px; border-radius: 18px; }
  .closed-card { padding: 28px 20px; }
  .news-item { padding: 18px 16px; }
  .legal-clause { padding: 18px 16px; }
  .legal-banner { padding: 16px; }
  .legal-banner p { min-width: 0; }
  .step-card { padding: 16px; }
  .faq-q { padding: 16px; font-size: 15px; }
  .faq-a { padding: 0 16px 14px; }
  .status-row { padding: 14px 16px; gap: 12px; }
  .table-wrap { border-radius: 10px; }
  table.data th, table.data td { padding: 9px 10px; }
}

/* smallest phones (320–360px): stack the decisive actions, tighten chrome */
@media (max-width: 360px) {
  .nav-inner { padding: 0 10px; gap: 6px; }
  .brand-mark img { height: 24px; }
  .hero h1 { font-size: 28px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .rate-value { font-size: 32px; }
  .stat-value { font-size: 22px; }
  .footer-cta-actions { flex-direction: column; }
  .footer-cta-actions .btn { width: 100%; }
  .pipeline-grid { gap: 8px; }
  .pipeline-chip { padding: 10px; }
  .pipeline-code { font-size: 15px; }
  .conv-out-value { font-size: 22px; }
}

/* landscape phones and other short viewports: yield vertical space */
@media (max-height: 520px) and (orientation: landscape) {
  :root { --nav-h: 54px; }
  .brand-mark img { height: 28px; }
  .announce { display: none; }
  .hero { padding: 26px 20px 22px; gap: 24px; }
  .hero h1 { font-size: clamp(26px, 6vh, 38px); }
  .page-hero { padding: 22px 20px 0; }
  .section { padding: 36px 20px; }
  .nav-links, body.nav-open .nav-links { padding-top: calc(var(--nav-h) + 10px); }
  body.nav-open.head-collapsed .nav-links { padding-top: calc(var(--nav-h) + 10px); }
  .rate-spark-wrap, .rate-spark-wrap svg { height: 44px; }
  .closed-veil, .auth-veil { place-items: start center; overflow: auto; }
  .closed-card, .auth-card { margin: auto 0; }
}

/* notched devices in landscape: keep chrome and content clear of the cutout */
@media (orientation: landscape) {
  .nav-inner, .announce, .hero, .section, .page-hero, .page-media,
  .footer-cta, .footer-inner, .footer-bottom, .footer-compliance {
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
  }
  .nav-links, body.nav-open .nav-links { padding-right: max(18px, env(safe-area-inset-right)); }
}
@media (min-width: 481px) {
  .footer-bottom { padding-bottom: calc(26px + env(safe-area-inset-bottom)); }
}
.nav-links { max-height: 100vh; max-height: 100dvh; }
.closed-veil { overflow: auto; }
.closed-card { margin: auto; }

/* ── track containment: fr/auto tracks otherwise size to the intrinsic
   min-content of inputs and nowrap cells, pushing panels past the viewport
   (the converter's select was clipped at laptop widths). minmax(0,…) forces
   every track to honour its share and lets flex children shrink. ── */
@media (min-width: 981px) {
  .hero { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
  .rates-layout { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); }
  .about { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .contact { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .steps-wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .faq-wrap { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
}
@media (max-width: 980px) {
  .hero, .rates-layout, .about, .contact, .steps-wrap, .faq-wrap { grid-template-columns: minmax(0, 1fr); }
}
.conv-row { grid-template-columns: minmax(0, 1fr); }
.conv-field, .converter, .rate-panel { min-width: 0; }
.field input, .field select, .field textarea, .conv-input, .conv-select { min-width: 0; }
@media (min-width: 621px) {
  .field-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .news-item { grid-template-columns: 130px minmax(0, 1fr); }
}
@media (min-width: 700px) and (max-width: 980px) {
  .news-item { grid-template-columns: 110px minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .news-item { grid-template-columns: minmax(0, 1fr); }
}

/* touch ergonomics: 44px targets and 16px inputs (no iOS focus zoom) */
@media (pointer: coarse) {
  .btn { min-height: 44px; }
  .btn.sm { min-height: 38px; }
  .nav-burger { width: 44px; height: 44px; }
  .nav-sheet-close, .auth-close { width: 40px; height: 40px; }
  .auth-tab { min-height: 44px; }
  .field input, .field select, .field textarea, .conv-select { font-size: 16px; }
  .faq-q { min-height: 52px; }
  .footer-links a { padding: 4px 0; }
  .footer-line { padding: 2px 0; }
  .table-wrap { -webkit-overflow-scrolling: touch; }
  .feature:hover, .branch:hover, .tier:hover, .pillar:hover, .stat:hover,
  .fee-cell:hover, .news-item:hover, .step-card:hover { transform: none; }
}

/* ══════════════════════════════════════════════════════════════════════════
   V15 — the Client Ledger. One navigation entry opens a leather-bound book:
   the cover swings on a spine hinge to the sign-in page. Clicking Register
   turns a real paper leaf over the spine to the next page — one page visible
   at a time on every device. Page-edge stacks shift as you read on; ribbon
   bookmarks, the foot link and ← → keys all turn the page. Deep-navy ruled
   pages dyed in the site palette (navy ramp, sky rules, gold foil),
   reading lamp.
   ══════════════════════════════════════════════════════════════════════════ */

/* safe centering: auto margins collapse to 0 when the book is taller than
   the viewport, so short screens scroll from the top instead of clipping */
.auth-veil { display: flex; flex-direction: column; align-items: center; padding: 26px 18px; overflow-x: clip; }
.book-scene {
  position: relative; margin: auto; width: min(720px, 100%);
  display: grid; justify-items: center; gap: 12px; padding-top: 24px;
}
.book-lamp {
  position: absolute; top: -170px; left: 50%; transform: translateX(-50%);
  width: min(720px, 120%); height: 380px; pointer-events: none;
  background: radial-gradient(50% 62% at 50% 42%, color-mix(in srgb, var(--gold-bright) 17%, transparent), color-mix(in srgb, var(--gold-bright) 5%, transparent) 52%, transparent 72%);
}
.book-scene .auth-close {
  position: absolute; top: 0; right: 0; z-index: 9;
  width: 38px; height: 38px; background: color-mix(in srgb, var(--navy-900) 80%, transparent);
}
.book-scene .auth-close:hover { color: var(--gold-bright); border-color: var(--gold); }

/* ── the book and its swinging cover ── */
.book {
  position: relative; width: 100%; perspective: 2200px;
}
.book-cover {
  position: absolute; inset: 0; z-index: 6;
  transform-origin: left center; transform-style: preserve-3d;
  transition: transform .95s cubic-bezier(.34, .58, .18, 1), opacity .25s ease .68s, visibility 0s linear .95s;
}
.book.open .book-cover { transform: rotateY(-180deg); opacity: 0; visibility: hidden; pointer-events: none; }
.cover-face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 15px; padding: 40px 34px; text-align: center; overflow: hidden;
  border-radius: 7px 15px 15px 7px;
}
.cover-front {
  background:
    radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1.5px) 0 0 / 5px 5px,
    radial-gradient(120% 100% at 18% 0%, color-mix(in srgb, var(--royal-bright) 28%, transparent), transparent 55%),
    linear-gradient(150deg, var(--navy-700), var(--navy-800) 55%, var(--navy-950));
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  box-shadow: inset 0 0 70px rgba(0, 0, 0, .55), inset 3px 0 0 rgba(0, 0, 0, .4), inset 0 0 0 1px rgba(255, 255, 255, .05);
}
.cover-back {
  transform: rotateY(180deg); border-radius: 15px 7px 7px 15px;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, .5);
}
.cover-frame {
  position: absolute; inset: 15px; pointer-events: none;
  border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); border-radius: 4px 10px 10px 4px;
  box-shadow: inset 0 0 0 4px color-mix(in srgb, var(--navy-950) 50%, transparent), inset 0 0 0 5px color-mix(in srgb, var(--gold) 25%, transparent);
}
.cover-front img { height: 58px; width: auto; filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .5)); }
.cover-title {
  font-family: Georgia, "Times New Roman", serif; font-weight: 700;
  font-size: clamp(30px, 4.4vw, 46px); line-height: 1.08; letter-spacing: 2px;
  color: var(--gold-bright); text-shadow: 0 2px 14px color-mix(in srgb, var(--gold) 35%, transparent);
}
.cover-rule { width: 130px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.cover-sub { font-size: 12px; letter-spacing: 3.5px; text-transform: uppercase; color: var(--sky); }
.cover-edition {
  font-size: 11px; letter-spacing: 1.5px; color: var(--muted);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 13px;
}
.exlibris { font-family: Georgia, serif; font-style: italic; font-size: 15px; line-height: 1.9; color: var(--muted); }
.exlibris b { color: var(--gold-bright); font-style: normal; letter-spacing: .5px; }

/* ── ribbon bookmarks ── */
.book-ribbons { position: absolute; top: -24px; right: 58px; z-index: 8; display: flex; gap: 12px; }
.ribbon {
  width: 98px; padding: 13px 10px 22px; border: none; cursor: pointer;
  font-family: var(--font); font-size: 12px; font-weight: 700; line-height: 1;
  letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold-bright);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 9px), 0 100%);
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45));
  transition: transform .28s cubic-bezier(.3, .7, .3, 1), filter .28s;
}
#tab-signin.ribbon { background: linear-gradient(180deg, var(--royal-bright), var(--royal)); }
#tab-register.ribbon { background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep)); color: var(--navy-900); }
.ribbon:hover { transform: translateY(5px); filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .5)) brightness(1.12); }
.ribbon.active { transform: translateY(10px); filter: drop-shadow(0 9px 13px rgba(0, 0, 0, .5)) brightness(1.2); }
.ribbon.active:hover { transform: translateY(10px); }

/* ── the open book: one ivory page at a time, bound at the spine ── */
.book-spread {
  position: relative; z-index: 1; display: flex; align-items: stretch;
  border-radius: 7px 15px 15px 7px; overflow: hidden;
  background: var(--navy-800);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 22%, transparent), 0 2px 0 rgba(255, 255, 255, .05), 0 44px 70px rgba(0, 0, 0, .6);
}
.book.open .book-spread { animation: book-settle .85s cubic-bezier(.22, .7, .25, 1); }
@keyframes book-settle { from { transform: translateY(12px) scale(.982); } to { transform: none; } }

/* page-edge stacks: the read pages gather on the left, the unread on the
   right, and the widths trade over as the leaf turns */
.book-stack {
  flex: none;
  background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--sky) 55%, var(--navy-600)) 0 2px, var(--navy-700) 2px 3px);
  box-shadow: inset 0 0 6px rgba(4, 10, 26, .6);
  transition: width .55s cubic-bezier(.3, .7, .3, 1);
}
.stack-left { width: 12px; border-radius: 6px 0 0 6px; }
.stack-right { width: 26px; border-radius: 0 6px 6px 0; }
.book[data-page="register"] .stack-left { width: 26px; }
.book[data-page="register"] .stack-right { width: 12px; }
.book-spine {
  flex: none; width: 22px;
  background: linear-gradient(90deg, var(--navy-600), var(--navy-900) 32%, color-mix(in srgb, var(--gold) 30%, var(--navy-950)) 50%, var(--navy-900) 68%, var(--navy-600));
  box-shadow: inset 0 0 8px rgba(0, 0, 0, .55);
}

/* both pages share one cell so the book never jumps height mid-turn; the
   page you are not reading is hidden but still holds the cell open */
.book-pagebox { position: relative; flex: 1 1 auto; min-width: 0; display: grid; perspective: 1600px; }
.book-page {
  grid-area: 1 / 1; display: flex; flex-direction: column; min-width: 0;
  padding: 32px 34px 22px; color: var(--muted);
  background:
    radial-gradient(90% 70% at 0% 50%, rgba(4, 10, 26, .5), transparent 58%),
    repeating-linear-gradient(180deg, transparent 0 26px, color-mix(in srgb, var(--sky) 9%, transparent) 26px 27px),
    linear-gradient(160deg, var(--navy-800), var(--navy-900));
}
.book[data-page="signin"] .page-right,
.book[data-page="register"] .page-left { visibility: hidden; pointer-events: none; }
.page-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.page-kicker { font-size: 10.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.page-folio { font-size: 11px; color: var(--faint); }
.page-title { font-family: Georgia, "Times New Roman", serif; font-size: 27px; line-height: 1.15; margin: 0; color: var(--ink); }
.page-sub { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin: 8px 0 18px; }
.page-foot {
  margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; gap: 10px;
  border-top: 1px solid var(--line); font-size: 11px; letter-spacing: .6px; color: var(--faint);
}
.page-left .auth-form { margin-bottom: 8px; }
.page-notice {
  display: flex; gap: 16px; align-items: flex-start; margin-top: 26px;
  border: 1px dashed var(--line-strong); border-radius: 6px;
  padding: 14px 16px; background: color-mix(in srgb, var(--navy-950) 45%, transparent);
}
.page-notice p { margin: 0; font-size: 12px; line-height: 1.65; color: var(--muted); }
.page-notice b { color: var(--ink); }
.notice-stamp {
  flex: none; width: 74px; height: 74px; display: grid; place-items: center; text-align: center;
  font-size: 9.5px; letter-spacing: 1.2px; line-height: 1.5;
  color: color-mix(in srgb, var(--err) 80%, var(--ink));
  border: 2px solid color-mix(in srgb, var(--err) 60%, transparent); border-radius: 50%;
  transform: rotate(-8deg); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--navy-900) 60%, transparent), inset 0 0 0 3px color-mix(in srgb, var(--err) 40%, transparent);
  opacity: .85;
}

/* forms printed on navy pages */
.ledger-form { gap: 13px; }
.ledger-form .field > span { color: var(--sky); font-size: 11.5px; letter-spacing: .8px; text-transform: uppercase; }
.ledger-form .field input, .ledger-form .field select {
  background: color-mix(in srgb, var(--navy-950) 55%, transparent); border: 1px solid var(--line-strong);
  border-radius: 8px; color: var(--ink); padding: 11px 13px; font-size: 15px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .35);
}
.ledger-form .field input::placeholder { color: var(--faint); }
/* keep every browser-native surface inside the dark palette:
   select popups, scrollbars, carets and password autofill */
.auth-veil { color-scheme: dark; }
.ledger-form .field select option { background: var(--navy-900); color: var(--ink); }
.ledger-form .field input:-webkit-autofill,
.ledger-form .field input:-webkit-autofill:hover,
.ledger-form .field input:-webkit-autofill:focus,
.ledger-form .field input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--ink);
  caret-color: var(--ink);
  -webkit-box-shadow: 0 0 0 60px #07122d inset;
  transition: background-color 99999s ease-in-out 0s;
}
.ledger-form .field input:focus, .ledger-form .field select:focus {
  outline: none; border-color: var(--gold); background: color-mix(in srgb, var(--navy-950) 75%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 26%, transparent);
}
.ledger-form .btn.gold { margin-top: 4px; border-radius: 10px; }
.ledger-form .auth-hint, .page-right .auth-hint { color: var(--faint); font-size: 11.5px; }
.page-left .auth-error {
  background: color-mix(in srgb, var(--err) 14%, transparent); border: 1px solid color-mix(in srgb, var(--err) 45%, transparent);
  color: color-mix(in srgb, var(--err) 70%, var(--ink));
}
/* inline guard + links inside the book error box (client-only notice) */
.auth-error a { color: var(--gold-bright); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.auth-error a:hover { color: var(--gold); }
@media (max-width: 980px) {
  .page-left .auth-hint { color: var(--faint); }
}

/* ── the turning leaf: a printed paper page hinged at the spine ── */
.book-leaf {
  position: absolute; inset: 0; z-index: 4;
  transform-origin: left center; transform-style: preserve-3d;
  visibility: hidden; pointer-events: none;
}
.leaf-face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px;
  background:
    repeating-linear-gradient(180deg, transparent 0 26px, color-mix(in srgb, var(--sky) 9%, transparent) 26px 27px),
    linear-gradient(160deg, var(--navy-800), var(--navy-900));
  box-shadow: inset 0 0 40px rgba(4, 10, 26, .5);
}
/* light rakes across the page as the leaf lifts and falls */
.leaf-face::after {
  content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(4, 10, 26, .6), rgba(4, 10, 26, .16) 46%, transparent 68%);
}
.book-leaf.turning .leaf-face::after { animation: leaf-light .68s ease-out; }
@keyframes leaf-light { 0% { opacity: 0; } 40% { opacity: .95; } 100% { opacity: 0; } }
.leaf-back { transform: rotateY(180deg); }
.book-leaf.back .leaf-front { transform: rotateY(180deg); }
.book-leaf.back .leaf-back { transform: rotateY(0deg); }
.leaf-kicker { font-size: 10px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; color: var(--gold); }
.leaf-title { font-family: Georgia, serif; font-size: 30px; color: var(--ink); letter-spacing: 1px; }
.leaf-rule { width: 110px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.leaf-lines { display: grid; gap: 12px; width: min(300px, 62%); }
.leaf-lines i { height: 3px; border-radius: 2px; background: color-mix(in srgb, var(--sky) 24%, transparent); }
.leaf-lines i:nth-child(2) { width: 86%; }
.leaf-lines i:nth-child(3) { width: 70%; }
.leaf-lines i:nth-child(4) { width: 52%; }
.leaf-folio { font-size: 12px; color: var(--faint); }
.book-leaf.turning { visibility: visible; animation: leaf-turn .68s cubic-bezier(.42, .1, .22, 1) forwards; }
.book-leaf.turning.back { animation-name: leaf-turn-back; }
@keyframes leaf-turn {
  0% { transform: rotateY(0deg); opacity: 1; }
  70% { opacity: 1; }
  100% { transform: rotateY(-180deg); opacity: 0; }
}
@keyframes leaf-turn-back {
  0% { transform: rotateY(-180deg); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: rotateY(0deg); opacity: 1; }
}

/* the lifting leaf casts a travelling shadow over the page beneath */
.turn-shade {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, rgba(4, 10, 26, .65), rgba(4, 10, 26, .22) 45%, transparent 70%);
}
.book.turning .turn-shade { animation: shade-sweep .68s ease-out; }
.book.turning.turn-back .turn-shade { animation: shade-sweep-back .68s ease-out; }
@keyframes shade-sweep {
  0% { opacity: 0; transform: translateX(-28%); }
  35% { opacity: .8; }
  100% { opacity: 0; transform: translateX(18%); }
}
@keyframes shade-sweep-back {
  0% { opacity: 0; transform: translateX(18%); }
  35% { opacity: .7; }
  100% { opacity: 0; transform: translateX(-24%); }
}

/* folio progress: which page of the ledger you are reading */
.book-progress { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 11px; letter-spacing: 1.2px; color: var(--faint); }
.prog-dots { display: inline-flex; gap: 6px; }
.prog-dot {
  width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--gold);
  opacity: .45; transition: background .3s, opacity .3s, box-shadow .3s;
}
.prog-dot.active { background: var(--gold-bright); opacity: 1; box-shadow: 0 0 8px color-mix(in srgb, var(--gold) 55%, transparent); }
.book-hint { margin: 0; font-size: 11.5px; letter-spacing: .5px; color: var(--faint); text-align: center; }
.book-scene .auth-foot { margin: 0; }

/* ── phones: the same single page, bound a little tighter ── */
@media (max-width: 860px) {
  .stack-left { width: 8px; }
  .stack-right { width: 18px; }
  .book[data-page="register"] .stack-left { width: 18px; }
  .book[data-page="register"] .stack-right { width: 8px; }
  .book-spine { width: 16px; }
  .book-page { padding: 28px 24px 20px; }
  .book-ribbons { right: 52px; }
}

/* compact spread on short laptop screens */
@media (min-width: 861px) and (max-height: 820px) {
  .book-page { padding: 24px 26px 16px; }
  .page-title { font-size: 23px; }
  .page-sub { margin: 6px 0 13px; font-size: 12.5px; }
  .ledger-form { gap: 10px; }
  .ledger-form .field input, .ledger-form .field select { padding: 9px 12px; }
  .page-head { margin-bottom: 8px; }
  .book-hint { display: none; }
}

@media (max-width: 480px) {
  .auth-veil { padding: 16px 12px; }
  .book-scene { padding-top: 22px; gap: 10px; }
  .stack-left { width: 6px; }
  .stack-right { width: 14px; }
  .book[data-page="register"] .stack-left { width: 14px; }
  .book[data-page="register"] .stack-right { width: 6px; }
  .book-spine { width: 12px; }
  .book-page { padding: 24px 18px 16px; }
  .page-title { font-size: 23px; }
  .ribbon { width: 86px; padding: 12px 8px 20px; font-size: 11px; }
  .book-ribbons { right: 52px; gap: 9px; }
  .cover-title { font-size: 30px; }
  .cover-front img { height: 46px; }
  .book-hint { font-size: 10.5px; }
  .leaf-title { font-size: 24px; }
}

/* landscape phones: the veil already scrolls from the top */
@media (max-height: 520px) and (orientation: landscape) {
  .book-scene { margin: auto 0; padding-top: 20px; }
  .book-hint { display: none; }
  .book-page { padding: 20px 22px 14px; }
  .cover-face { padding: 22px; gap: 10px; }
}

@media (pointer: coarse) {
  .ribbon { min-height: 46px; }
  .ledger-form .field input, .ledger-form .field select { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .book-cover, .ribbon, .book-stack, .prog-dot { transition: none; }
  .book.open .book-spread, .book-leaf.turning, .book-leaf.turning .leaf-face::after,
  .book.turning .turn-shade { animation: none; }
}

/* ── client wallet & online payments (signed-in self-service) ───────────── */
.nav-wallet { color: var(--gold-bright, var(--gold)) !important; font-weight: 700; }
.chip-lg { padding: 10px 18px; font-size: 13px; }
.chip-lg.ok { background: rgba(61, 220, 132, .12); border-color: rgba(61, 220, 132, .4); color: var(--ok); font-weight: 700; }
.chip-lg.warn { background: rgba(255, 176, 32, .12); border-color: rgba(255, 176, 32, .4); color: var(--warn); font-weight: 700; }
.wallet-msg { font-size: 13px; line-height: 1.5; min-height: 18px; color: var(--muted); }
.wallet-msg.ok { color: var(--ok); }
.wallet-msg.warn { color: var(--warn); }
.wallet-msg.err { color: var(--err); }
.exch-quote { display: grid; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.exch-line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.exch-k { color: var(--muted); }
.exch-v { color: var(--ink); font-variant-numeric: tabular-nums; }
.wstatus { display: inline-block; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; }
.wstatus.ok { background: rgba(61, 220, 132, .12); color: var(--ok); }
.wstatus.warn { background: rgba(255, 176, 32, .14); color: var(--warn); }
.wstatus.err { background: rgba(255, 107, 107, .14); color: var(--err); }
.wstatus.muted { background: var(--surface); color: var(--faint); }

/* ══════════════════════════════════════════════════════════════════════════
   V18 — database-driven navigation & site widgets. The header renders the
   /site/nav tree (dropdown groups, mega menus, mobile accordion drawer), the
   search overlay talks to /site/search, the assistant to /site/chat, and the
   footer columns follow the /site/nav footer groups. Later rules override
   earlier layers by source order.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── header search button ───────────────────────────────────────────────── */
.nav-search {
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line); background: rgba(4, 10, 26, .45); color: var(--muted);
  display: grid; place-items: center;
  transition: color .18s, border-color .18s, background .18s, transform .18s;
}
.nav-search svg { width: 17px; height: 17px; }
.nav-search:hover, .nav-search:focus-visible {
  color: var(--gold-bright); border-color: rgba(222, 176, 60, .5);
  background: rgba(222, 176, 60, .08); transform: translateY(-1px);
}

/* ── desktop dropdown groups (rendered from /site/nav) ──────────────────── */
.nav-drop-wrap { position: relative; display: flex; }
.nav-links > .nav-drop-wrap > a { display: inline-flex; align-items: center; gap: 7px; }
.nav-links > .nav-drop-wrap > a .nav-ico { width: 17px; height: 17px; opacity: .8; }
.nav-drop-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 10px; border-radius: 999px; border: none; cursor: pointer;
  background: transparent; color: var(--muted);
  font-family: var(--font); font-weight: 600; font-size: 12.5px;
  white-space: nowrap; letter-spacing: .02em;
  transition: color .18s, background .18s;
}
.nav-ico { width: 18px; height: 18px; flex: none; opacity: .85; }
.nav-chev { width: 11px; height: 11px; flex: none; opacity: .7; transition: transform .2s; }
.nav-drop-btn:hover, .nav-drop-btn:focus-visible { color: var(--ink); background: var(--surface); }
.nav-drop-btn.open { color: var(--gold-bright); background: rgba(222, 176, 60, .1); }
.nav-drop-btn.open .nav-chev { transform: rotate(180deg); }
.nav-links .nav-drop-btn.active { color: var(--gold-bright); background: rgba(222, 176, 60, .12); }

/* the panel: glass card under the button; `.nav-links .nav-drop-*` selectors
   outrank the legacy `.nav-links a` pill styles from the earlier layers */
.nav-drop {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%);
  min-width: 320px; max-width: min(460px, calc(100vw - 40px));
  padding: 14px; border-radius: 18px; z-index: 70;
  background: rgba(6, 17, 39, .97);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .05);
  -webkit-backdrop-filter: blur(20px) saturate(1.15); backdrop-filter: blur(20px) saturate(1.15);
  animation: dropIn .18s cubic-bezier(.16, 1, .3, 1);
}
@keyframes dropIn { from { opacity: 0; transform: translateX(-50%) translateY(8px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
/* hover bridge: the invisible strip keeps the panel hoverable across the gap */
.nav-drop::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
/* right-edge groups anchor right so wide panels never leave the viewport */
.nav-links > .nav-drop-wrap:nth-last-child(-n+3) .nav-drop {
  left: auto; right: 0; transform: none; animation-name: dropInRight;
}
@keyframes dropInRight { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* mega layout: five or more children open into columns */
.nav-drop.mega { width: min(780px, calc(100vw - 40px)); max-width: none; }
.nav-drop-grid { display: grid; grid-template-columns: 1fr; gap: 4px; }
.nav-drop.mega .nav-drop-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }

.nav-links .nav-drop-head {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; margin: 0 0 10px; border-radius: 14px;
  background: linear-gradient(120deg, rgba(222, 176, 60, .14), rgba(29, 79, 158, .22));
  border: 1px solid rgba(222, 176, 60, .22);
  transition: border-color .18s;
}
.nav-links .nav-drop-head:hover { border-color: rgba(222, 176, 60, .55); background: linear-gradient(120deg, rgba(222, 176, 60, .2), rgba(29, 79, 158, .26)); }
.nav-links .nav-drop-head .nav-ico { width: 26px; height: 26px; color: var(--gold); opacity: 1; }
.nav-links .nav-drop-head .nav-drop-copy b { font-size: 14.5px; }
.nav-chev.go { width: 16px; height: 16px; margin-left: auto; color: var(--gold); opacity: .9; }

.nav-links .nav-drop-item {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 10px 12px; border-radius: 12px;
  color: var(--muted); transition: background .15s, color .15s;
}
.nav-links .nav-drop-item:hover, .nav-links .nav-drop-item:focus-visible { background: var(--surface-2); color: var(--ink); }
.nav-links .nav-drop-item .nav-ico { width: 20px; height: 20px; margin-top: 1px; color: var(--sky); }
.nav-links .nav-drop-item:hover .nav-ico { color: var(--gold-bright); }
.nav-links .nav-drop-item.active { background: rgba(222, 176, 60, .1); }
.nav-drop-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nav-links .nav-drop-copy b { font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.3; border-radius: 0; padding: 0; background: none; }
.nav-links .nav-drop-item:hover .nav-drop-copy b { color: var(--gold-bright); }
.nav-links .nav-drop-copy span { font-size: 12px; line-height: 1.45; color: var(--faint); }
.nav-links .nav-drop-item.slim { padding: 9px 12px; align-items: center; }
.nav-links .nav-drop-item.slim .nav-ico { margin-top: 0; width: 18px; height: 18px; }

/* nine database groups on the bar — tighten as the viewport narrows */
@media (max-width: 1180px) {
  .nav-drop-btn, .nav-links > .nav-drop-wrap > a { padding: 8px 9px; font-size: 12.5px; }
  .nav-inner { gap: 12px; }
  .nav-drop-btn .nav-ico, .nav-links > .nav-drop-wrap > a .nav-ico { display: none; }
}

/* ── mobile drawer: accordion groups ────────────────────────────────────── */
.nav-acc { border-bottom: 1px solid var(--line); }
.nav-acc-btn {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 13px 10px; border: none; background: none; cursor: pointer;
  color: var(--ink); font-family: var(--font); font-size: 15px; font-weight: 700; text-align: left;
  border-radius: 10px;
}
.nav-acc-btn:hover, .nav-acc-btn:focus-visible { background: var(--surface); }
.nav-acc-btn .nav-ico { width: 20px; height: 20px; color: var(--gold); opacity: 1; }
.nav-acc-btn .nav-chev { margin-left: auto; }
.nav-acc-btn.open .nav-chev { transform: rotate(180deg); }
.nav-links .nav-acc-btn.active { color: var(--gold-bright); background: rgba(222, 176, 60, .12); }
.nav-acc-panel { display: flex; flex-direction: column; gap: 2px; padding: 2px 8px 12px 14px; }
.nav-links .nav-acc-overview {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 10px; margin-bottom: 4px;
  font-weight: 700; font-size: 14px; color: var(--gold-bright);
  background: rgba(222, 176, 60, .08);
}
.nav-links .nav-acc-overview:hover { background: rgba(222, 176, 60, .16); }

/* ── search overlay (/site/search) ──────────────────────────────────────── */
.search-veil {
  position: fixed; inset: 0; z-index: 160;
  background: rgba(2, 6, 18, .78);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: flex; justify-content: center; align-items: flex-start;
  padding: 10vh 16px 16px; overflow-y: auto;
}
.search-panel {
  width: min(640px, 100%);
  background: linear-gradient(165deg, rgba(10, 28, 63, .98), rgba(4, 10, 26, .99));
  border: 1px solid var(--line-strong); border-radius: 20px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .6); overflow: hidden;
  animation: searchIn .22s cubic-bezier(.16, 1, .3, 1);
}
@keyframes searchIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.search-bar { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.search-glass { width: 20px; height: 20px; color: var(--gold); flex: none; }
#search-input {
  flex: 1; min-width: 0; background: none; border: none; outline: none;
  color: var(--ink); font-family: var(--font); font-size: 17px;
}
#search-input::placeholder { color: var(--faint); }
.search-clear {
  width: 30px; height: 30px; flex: none; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  font-size: 16px; line-height: 1;
}
.search-clear:hover { color: var(--ink); border-color: var(--line-strong); }
.search-esc {
  flex: none; cursor: pointer; font-family: var(--mono); font-size: 11px;
  color: var(--faint); background: var(--surface); border: 1px solid var(--line);
  border-radius: 6px; padding: 4px 8px;
}
.search-esc:hover { color: var(--ink); }
.search-chips { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px 18px 0; }
.search-chip {
  border-radius: 999px; padding: 6px 13px; font-size: 12.5px; font-weight: 700; cursor: pointer;
  color: var(--muted); background: var(--surface); border: 1px solid var(--line);
  transition: color .15s, border-color .15s, background .15s;
}
.search-chip:hover { color: var(--ink); border-color: var(--line-strong); }
.search-chip.on { color: #241a00; background: linear-gradient(135deg, var(--gold-bright), var(--gold)); border-color: transparent; }
.search-meta { padding: 12px 18px 0; color: var(--faint); font-size: 12.5px; }
.search-results {
  max-height: 52vh; overflow-y: auto; padding: 10px 12px 14px;
  display: flex; flex-direction: column; gap: 6px;
}
.search-result { display: block; padding: 12px 14px; border-radius: 12px; transition: background .15s; }
.search-result:hover, .search-result:focus-visible { background: var(--surface-2); }
.search-result-type {
  display: inline-block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 800; color: var(--gold); background: rgba(222, 176, 60, .1);
  border: 1px solid rgba(222, 176, 60, .25); border-radius: 999px; padding: 2px 8px; margin-bottom: 6px;
}
.search-result-title { display: block; font-size: 14.5px; color: var(--ink); margin-bottom: 3px; }
.search-result:hover .search-result-title { color: var(--gold-bright); }
.search-result-snippet { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.search-result-snippet mark { background: rgba(222, 176, 60, .35); color: var(--gold-bright); border-radius: 3px; padding: 0 2px; }
.search-hint { padding: 8px 18px; color: var(--faint); font-size: 13px; margin: 0; }
.search-none { padding: 14px 18px 4px; color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }
.search-suggest { display: flex; gap: 8px; flex-wrap: wrap; padding: 4px 18px 14px; }
.search-history { display: flex; flex-direction: column; gap: 2px; padding: 4px 12px 14px; }
.search-history-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border-radius: 10px; background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 14px; text-align: left;
}
.search-history-item:hover { background: var(--surface-2); color: var(--ink); }
.search-history-term { flex: 1; }
.search-history-x { color: var(--faint); font-size: 16px; padding: 2px 8px; border-radius: 6px; }
.search-history-x:hover { color: var(--err); background: rgba(255, 107, 107, .1); }
.search-history-clear {
  align-self: flex-start; margin: 6px 12px 0; background: none; border: none; cursor: pointer;
  color: var(--faint); font-size: 12px; text-decoration: underline;
}
.search-history-clear:hover { color: var(--err); }
.search-foot { border-top: 1px solid var(--line); padding: 10px 18px; color: var(--faint); font-size: 11.5px; }

/* ── assistant (/site/chat) ─────────────────────────────────────────────── */
.chat-root {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.chat-launcher {
  position: relative; width: 58px; height: 58px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 60%, var(--gold-deep));
  color: #241a00; display: grid; place-items: center;
  box-shadow: 0 14px 34px rgba(222, 176, 60, .4), 0 4px 12px rgba(0, 0, 0, .4);
  transition: transform .18s ease, box-shadow .18s ease;
}
.chat-launcher svg { width: 26px; height: 26px; }
.chat-launcher:hover { transform: translateY(-2px) scale(1.05); }
.chat-pulse {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  border: 2px solid rgba(222, 176, 60, .55); animation: chatPulse 2.4s ease-out infinite;
}
@keyframes chatPulse { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
/* Live-AI indicator: a green dot rides the launcher whenever AI mode is on
   (widgets.js toggles .chat-ai from the site.chatbot.ai_enabled setting). */
.chat-live {
  position: absolute; right: 2px; bottom: 2px; width: 14px; height: 14px; border-radius: 50%;
  background: #22c55e; border: 2px solid rgba(255, 255, 255, .88);
  opacity: 0; transition: opacity .3s ease;
}
.chat-launcher.chat-ai .chat-live { opacity: 1; animation: chatLive 2.2s ease-out infinite; }
@keyframes chatLive { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } }
/* Engine badge rendered above an AI-authored bubble. */
.chat-engine {
  display: inline-block; margin: 0 0 6px; padding: 2px 8px; border-radius: 999px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .04em;
  background: rgba(222, 176, 60, .16); color: var(--gold-bright, #e7b64f);
  border: 1px solid rgba(222, 176, 60, .45);
}
.chat-panel {
  width: min(384px, calc(100vw - 24px)); height: min(600px, calc(100vh - 140px));
  display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(170deg, rgba(10, 28, 63, .99), rgba(4, 10, 26, .995));
  border: 1px solid var(--line-strong); border-radius: 20px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .65);
  animation: searchIn .22s cubic-bezier(.16, 1, .3, 1);
}
.chat-head {
  display: flex; align-items: center; gap: 11px; padding: 14px 14px 12px;
  border-bottom: 1px solid var(--line); background: rgba(222, 176, 60, .07);
}
.chat-avatar {
  width: 38px; height: 38px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, rgba(222, 176, 60, .25), rgba(29, 79, 158, .4));
  border: 1px solid rgba(222, 176, 60, .4); color: var(--gold-bright);
  display: grid; place-items: center;
}
.chat-avatar svg { width: 20px; height: 20px; }
.chat-id { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.chat-id b { font-size: 14.5px; }
.chat-id span { font-size: 11px; color: var(--faint); }
.chat-tool {
  background: var(--surface); border: 1px solid var(--line); color: var(--muted);
  border-radius: 8px; padding: 6px 10px; font-size: 12px; font-weight: 700; cursor: pointer;
}
.chat-tool:hover { color: var(--ink); border-color: var(--line-strong); }
.chat-tool.icon { width: 32px; height: 32px; padding: 0; display: grid; place-items: center; }
.chat-tool.icon svg { width: 15px; height: 15px; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { display: flex; flex-direction: column; }
.chat-msg.you { align-items: flex-end; }
.chat-msg.bot { align-items: flex-start; }
.chat-bubble {
  max-width: 85%; padding: 10px 13px; border-radius: 14px;
  font-size: 13.5px; line-height: 1.55; white-space: pre-line; word-break: break-word;
}
.chat-msg.you .chat-bubble {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: #241a00;
  border-bottom-right-radius: 5px; font-weight: 600;
}
.chat-msg.bot .chat-bubble { background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 5px; }
.chat-sources { flex-direction: row; flex-wrap: wrap; gap: 6px; }
.chat-source {
  background: rgba(29, 79, 158, .25); border: 1px solid rgba(59, 111, 196, .5);
  color: var(--sky); border-radius: 999px; padding: 4px 11px; font-size: 11.5px; font-weight: 700; cursor: pointer;
}
.chat-source:hover { color: var(--gold-bright); border-color: rgba(222, 176, 60, .5); }
.chat-typing .chat-bubble { display: inline-flex; gap: 5px; align-items: center; padding: 13px 15px; }
.chat-typing .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: chatDot 1.2s ease-in-out infinite; }
.chat-typing .dot:nth-child(2) { animation-delay: .15s; }
.chat-typing .dot:nth-child(3) { animation-delay: .3s; }
@keyframes chatDot { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat-suggest { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px 14px 0; }
.chat-chip {
  background: var(--surface); border: 1px solid var(--line); color: var(--muted);
  border-radius: 999px; padding: 6px 12px; font-size: 12px; cursor: pointer; text-align: left;
}
.chat-chip:hover { color: var(--gold-bright); border-color: rgba(222, 176, 60, .4); }
.chat-form { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); }
#chat-input {
  flex: 1; min-width: 0; background: rgba(4, 10, 26, .6); border: 1px solid var(--line);
  border-radius: 12px; padding: 11px 14px; color: var(--ink); font-family: var(--font); font-size: 14px;
}
#chat-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(222, 176, 60, .16); }
.chat-send {
  width: 42px; height: 42px; flex: none; border-radius: 12px; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: #241a00;
  display: grid; place-items: center;
}
.chat-send svg { width: 18px; height: 18px; }
.chat-send:hover { filter: brightness(1.06); }
.chat-note { padding: 0 14px 12px; margin: 0; color: var(--faint); font-size: 10.5px; text-align: center; }

/* ── footer link columns from the /site/nav footer groups ───────────────── */
.footer-inner { grid-template-columns: 1.35fr 1fr 1fr 1.15fr 1.35fr; }
.footer-columns { grid-column: span 2; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; }
.footer-columns h3 { font-family: var(--display); font-size: 15px; letter-spacing: .01em; color: var(--ink); margin: 0 0 12px; }
.footer-columns .footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-columns .footer-links a { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.footer-columns .footer-links a:hover { color: var(--gold-bright); }
.footer-columns .footer-links a.active { color: var(--gold-bright); }

/* ── responsive & motion guards for the V18 widgets ─────────────────────── */
@media (max-width: 1024px) {
  .footer-columns { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
  .footer-columns { grid-column: auto; }
}
@media (max-width: 480px) {
  .chat-root { right: 14px; bottom: 14px; }
  .chat-panel { height: min(560px, calc(100vh - 120px)); }
  .search-veil { padding-top: 6vh; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-drop, .search-panel, .chat-panel { animation: none; }
  .chat-pulse { animation: none; opacity: .5; }
  .chat-launcher.chat-ai .chat-live { animation: none; }
  .chat-typing .dot { animation: none; }
  .nav-chev { transition: none; }
}

/* ═══ V19 — directory pages: services / currency board / newsroom / careers ═
   These fragments are DB-driven; the rules below style the painted cards.
   Card text arrives through the painters' textContent, so CMS copy can never
   smuggle markup into this layer. */
.service-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.service-head h3 { margin: 0; font-size: 20px; }
.service-head .chip { flex: none; }
.feature-grid .branch-skeleton, .news-grid .branch-skeleton,
.currency-grid .branch-skeleton { min-height: 170px; }

/* ── currency board ─────────────────────────────────────────────────────── */
.currency-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 32px; }
.currency-card {
  position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 24px 26px; display: grid; gap: 8px; justify-items: start; align-content: start;
  transition: transform .2s ease, border-color .2s ease;
}
.currency-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.currency-card.planned { border-style: dashed; }
.currency-code { font-size: 24px; font-weight: 800; color: var(--gold); letter-spacing: .04em; }
.currency-name { font-weight: 700; font-size: 15px; }
.currency-note { margin: 2px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.panel.board { margin-bottom: 4px; }

/* ── newsroom grid — the legacy .news-wrap row layout stays untouched; the
   chip-filtered card wall re-composes the same component into columns ──── */
.news-chips { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 28px; }
.news-chip { cursor: pointer; }
.news-chip.on { background: rgba(222, 176, 60, .16); border-color: var(--gold); color: var(--gold-bright); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 24px; }
.news-grid .news-item { grid-template-columns: 1fr; gap: 12px; padding: 22px 24px; }
.news-grid .news-item:hover { transform: translateY(-4px); }
.news-thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.news-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.news-title { margin: 0; font-size: 18px; line-height: 1.35; }
.news-title a { color: inherit; text-decoration: none; }
.news-title a:hover { color: var(--gold-bright); }

/* ── careers ────────────────────────────────────────────────────────────── */
.news-grid.job-grid { grid-template-columns: repeat(2, 1fr); }
.news-item.job { display: grid; gap: 6px; }
.job-meta { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.job-close { color: var(--gold); }
.job-foot { margin-top: 10px; }
.job-foot .btn { justify-self: start; }

/* ── article & vacancy detail routes ────────────────────────────────────── */
.article-wrap { max-width: 820px; margin: 0 auto; display: grid; gap: 28px; padding-top: 36px; }
.article-meta { display: flex; gap: 10px; }
.article-body { display: grid; gap: 16px; }
.article-body p { margin: 0; color: var(--muted); line-height: 1.8; font-size: 15px; }
.req-list { margin: 0; padding-left: 22px; display: grid; gap: 10px; color: var(--muted); line-height: 1.6; font-size: 14px; }
.req-list li::marker { color: var(--gold); }
.field .opt { font-style: normal; color: var(--faint); font-weight: 400; }

@media (max-width: 1024px) {
  .currency-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid.job-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .currency-grid, .news-grid { grid-template-columns: 1fr; }
  .service-head { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .currency-card, .news-grid .news-item { transition: none; }
}