:root {
  --bg: #061127;
  --bg-deep: #040b1c;
  --bg-raised: #0c1c38;
  --bg-card: #0a1730;
  --gold: #e5ac33;
  --gold-bright: #f3c56a;
  --gold-deep: #b8861f;
  --ink: #f6f3ec;
  --muted: #a9b3c7;
  --silver: #d9d4cc;
  --line: rgba(229, 172, 51, 0.28);
  --line-soft: rgba(246, 243, 236, 0.1);
  --danger: #ffb4b4;
  --ok: #c8ecc8;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: Outfit, "Segoe UI", sans-serif;
  --header: 92px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(1000px 520px at 100% -10%, rgba(229, 172, 51, 0.14), transparent 55%),
    radial-gradient(800px 480px at -15% 15%, rgba(20, 52, 96, 0.55), transparent 50%),
    var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: #1a1203; }

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--gold);
  color: #1a1203;
  padding: 8px 12px;
  z-index: 20;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}
.wrap-wide {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; }
h1 { font-size: clamp(42px, 6vw, 78px); line-height: 0.98; margin: 0; }
h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.05; margin: 0; }
h3 { font-size: 28px; line-height: 1.15; margin: 0 0 10px; }
.lede, .muted { color: var(--muted); }
.lede { font-size: 18.5px; max-width: 46rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(180deg, #f0c56a, #e5ac33 55%, #c4922a);
  color: #1a1204;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--gold-bright);
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(229, 172, 51, 0.08); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  backdrop-filter: blur(16px);
  background: rgba(6, 17, 39, 0.78);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner {
  height: 100%;
  width: min(1240px, calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand { display: flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand img { height: 74px; width: auto; }
.nav-check {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  position: relative;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  height: 1.5px;
  width: 18px;
  background: var(--ink);
  position: absolute;
  left: 13px;
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before,
.nav-toggle span::after { content: ""; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.site-nav a {
  text-decoration: none;
  color: var(--silver);
  font-size: 15px;
  font-weight: 500;
}
.site-nav a:hover,
.site-nav a.is-current { color: var(--gold-bright); }
.site-nav a.is-current { box-shadow: inset 0 -1px 0 var(--gold); }
.nav-cta { margin-left: 6px; min-height: 42px; padding-inline: 18px; }
.site-nav a.btn-gold,
.site-nav a.btn-gold:hover,
.site-nav a.btn-gold.is-current {
  color: #1a1204;
  font-weight: 650;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.hero { padding: 42px 0 28px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: end;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.places {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.places a { color: var(--muted); text-decoration: none; }
.places a:hover { color: var(--gold-bright); }

.ledger {
  background: linear-gradient(180deg, rgba(12, 28, 56, 0.92), rgba(6, 14, 32, 0.94));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.ledger-top, .ledger-row, .paycard-top, .paycard-foot, .flow, .cookie-actions, .form-row, .header-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-bright);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.pulse::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8dce7a;
  box-shadow: 0 0 0 5px rgba(141, 206, 122, 0.15);
}
.ledger-kicker { color: var(--muted); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.ledger-sum {
  font-family: var(--serif);
  font-size: 48px;
  margin: 8px 0 14px;
  letter-spacing: -0.04em;
}
.currency-pills { display: flex; gap: 8px; margin-bottom: 16px; }
.currency-pills span, .tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
}
.ledger-list { list-style: none; margin: 14px 0 0; padding: 0; }
.ledger > .ledger-kicker { display: block; margin-bottom: 4px; }
.ledger-list li, .mini-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
}
.ledger-note { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

.statement, .outcomes, .verticals, .pullquote, .vault-home, .routing, .cta-band, .page-section {
  padding: 72px 0;
}
.statement {
  border-top: 1px solid var(--line-soft);
}
.statement p {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.25;
  margin: 0;
  max-width: 18em;
}

.section-head { max-width: 740px; margin-bottom: 36px; }
.section-head p { color: var(--muted); }

.stat-grid, .loc-grid, .split, .two, .cap-grid {
  display: grid;
  gap: 18px;
}
.stat-grid { grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: 22px 8px 8px 0;
  border-top: 1px solid var(--gold);
}
.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 560;
  letter-spacing: -0.04em;
  color: var(--gold-bright);
}
.stat span { color: var(--muted); display: block; margin-top: 6px; }

.switcher { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.switcher button {
  background: transparent;
  border: 1px solid var(--line-soft);
  color: var(--silver);
  border-radius: 999px;
  min-height: 42px;
  padding: 0 16px;
  cursor: pointer;
}
.switcher button.is-active, .switcher button[aria-selected="true"] {
  background: rgba(229, 172, 51, 0.14);
  border-color: var(--gold);
  color: var(--gold-bright);
}
.v-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  padding: 32px;
  border-radius: 28px;
  background: rgba(8, 20, 42, 0.72);
  border: 1px solid var(--line-soft);
}
html.js .v-panel { display: none; }
html.js .v-panel.is-active { display: grid; }
.kicker { color: var(--gold); letter-spacing: 0.16em; text-transform: uppercase; font-size: 12px; font-weight: 600; }
.feature-links { list-style: none; margin: 0; padding: 0; }
.feature-links a {
  display: block;
  text-decoration: none;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
}
.feature-links li:last-child a { border-bottom: 1px solid var(--line-soft); }
.feature-links strong { display: block; font-size: 18px; }
.feature-links span { color: var(--muted); }

.pullquote {
  background: linear-gradient(90deg, rgba(229, 172, 51, 0.08), transparent 40%), var(--bg-deep);
}
.pullquote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.12;
  max-width: 16em;
}
.pullquote blockquote::before { content: "“"; color: var(--gold); }

.vault-grid, .two { grid-template-columns: 1fr 1fr; }
.product-card, .info-card, .loc-card, .legal, .portal-card, .form-card {
  background: rgba(8, 20, 42, 0.75);
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  padding: 28px;
}
.product-card h3 { font-size: 34px; }
.mini-list { list-style: none; margin: 18px 0 0; padding: 0; }
.mini-list small, .sub { display: block; color: var(--muted); font-size: 14px; }
.amount-pos { color: #b7e2b0; }
.amount-neg { color: #f0c2c2; }

.paycard {
  margin-top: 18px;
  border-radius: 18px;
  padding: 18px;
  min-height: 168px;
  background:
    radial-gradient(400px 120px at 100% 0%, rgba(243, 197, 106, 0.35), transparent 50%),
    linear-gradient(145deg, #16315d, #071226 60%);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.chip {
  width: 34px;
  height: 26px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f3c56a, #a67c1a);
}
.paycard-num { letter-spacing: 0.16em; font-size: 18px; }

.flow {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0;
}
.flow-step {
  flex: 1 1 180px;
  padding: 18px 18px 18px 0;
}
.flow-step strong { display: block; font-family: var(--serif); font-size: 24px; font-weight: 560; }
.flow-step span { color: var(--muted); }

.cta-band {
  text-align: left;
}
.cta-panel {
  border-radius: 32px;
  padding: 42px;
  background:
    radial-gradient(500px 180px at 90% 0%, rgba(229, 172, 51, 0.2), transparent 60%),
    var(--bg-raised);
  border: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
}
.cta-panel .btn {
  align-self: center;
  padding-inline: 22px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
  background: #050d1d;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
}
.site-footer img { height: 96px; width: auto; }
.site-footer h2 {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
  font-weight: 600;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: var(--silver); text-decoration: none; }
.site-footer a:hover { color: var(--gold-bright); }
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 14px;
}
.footer-base nav { display: flex; gap: 16px; }

.page-hero { padding: 48px 0 10px; }
.page-hero h1 { max-width: 14em; }
.page-section .lede { margin-top: 0; }
.cap-grid { grid-template-columns: 1fr 1fr; }
.cap {
  padding: 22px 8px 18px 0;
  border-top: 1px solid var(--line-soft);
}
.cap em {
  font-style: normal;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.14em;
}
.approach {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 28px;
  align-items: start;
}
.loc-grid { grid-template-columns: repeat(3, 1fr); }
.loc-card span { color: var(--gold-bright); letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; }

.contact-layout, .portal-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 28px; align-items: start; }
form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 14px; color: var(--silver); }
input, select, textarea {
  width: 100%;
  background: #071226;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--ink);
}
textarea { resize: vertical; min-height: 140px; }
.form-row { align-items: stretch; }
.form-row label { flex: 1; }
.form-status { min-height: 1.4em; margin: 0; }
.form-status.is-error { color: var(--danger); }
.form-status.is-ok { color: var(--ok); }
.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.fine { color: var(--muted); font-size: 14px; }
.req { color: var(--gold-bright); margin-left: 2px; }

.portal-card form { max-width: 460px; }
.portal-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(229, 172, 51, 0.08);
  color: var(--silver);
}

.legal h2 { font-size: 28px; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--silver); }
.legal ul { padding-left: 18px; }

.cookie {
  position: fixed;
  z-index: 40;
  right: 16px;
  bottom: 16px;
  width: min(380px, calc(100% - 32px));
  background: #0d1b33;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
html.consent-set .cookie { display: none; }
.cookie h2 { font-family: var(--sans); font-size: 16px; letter-spacing: 0; margin: 0 0 6px; font-weight: 600; }
.cookie p { margin: 0; color: var(--muted); font-size: 14px; }
.cookie-actions { margin-top: 12px; flex-wrap: wrap; justify-content: flex-start; }
.cookie-actions .btn { min-height: 40px; }
.cookie-actions [data-consent="save"] { display: none; }
.cookie.show-prefs [data-consent="save"] { display: inline-flex; }
.prefs { display: none; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.cookie.show-prefs .prefs { display: grid; gap: 8px; }
.prefs label { grid-template-columns: auto 1fr; align-items: center; }

.reveal { animation: rise 0.7s ease both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px 20px 24px;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(5, 13, 29, 0.98);
    border-bottom: 1px solid var(--line);
    gap: 4px;
  }
  .site-nav a { width: 100%; padding: 12px 0; font-size: 20px; font-family: var(--serif); }
  .nav-cta { width: auto; margin: 10px 0 0; }
  .nav-check:checked ~ .site-nav { display: flex; }
  .nav-check:focus-visible ~ .nav-toggle { outline: 2px solid var(--gold-bright); }
  .hero-grid, .v-panel, .vault-grid, .two, .approach, .contact-layout, .portal-layout, .footer-grid, .stat-grid, .cap-grid, .loc-grid {
    grid-template-columns: 1fr;
  }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .cta-panel, .ledger-top { align-items: start; flex-direction: column; }
  html.js .v-panel.is-active { display: grid; }
}

@media (max-width: 680px) {
  .wrap, .wrap-wide, .header-inner { width: calc(100% - 28px); }
  .brand img { height: 62px; }
  .stat-grid, .form-row { grid-template-columns: 1fr; flex-direction: column; }
  .page-hero, .hero { padding-top: 24px; }
  .statement, .outcomes, .verticals, .pullquote, .vault-home, .routing, .cta-band, .page-section { padding: 48px 0; }
  .v-panel, .cta-panel, .product-card { padding: 20px; }
  .ledger-sum { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none; }
  .btn { transition: none; }
}
