/* ==========================================================================
   MBK Capital — main stylesheet
   Tokens follow the MBK Capital Brand Guidelines (colours, type roles).
   Display face: Classico (Regular and Bold) from the brand package; body: Tenor Sans.
   ========================================================================== */

/* Classico (brand display face), supplied with the brand package. */
@font-face {
  font-family: "Classico";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/classico-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Classico";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/classico-bold.woff2") format("woff2");
}
@font-face {
  font-family: "Tenor Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/tenorsans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Tenor Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/tenorsans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand colours */
  --navy: #041522;      /* Dark Navy — primary */
  --ink: #0A1A28;       /* Midnight Navy Ink */
  --slate: #3B4E61;     /* Steel Slate Navy */
  --gold: #B08632;      /* Gold — primary accent */
  --bronze: #85601F;    /* Deep Bronze Amber */
  --harvest: #E0B673;   /* Light Harvest Gold */
  --white: #FFFFFF;

  /* Derived surfaces and text */
  --mist: #EEF2F5;
  --text: #0A1A28;
  --muted: #4A5B6C;
  --text-dark: #E9EEF2;
  --muted-dark: #AEBAC5;
  --faint-dark: #93A2AF;
  --line: rgba(59, 78, 97, 0.22);
  --line-dark: rgba(255, 255, 255, 0.12);

  /* Type */
  --font-display: "Classico", Georgia, "Times New Roman", serif;
  --font-body: "Tenor Sans", "Optima", "Gill Sans", -apple-system, "Segoe UI", sans-serif;
  --fs-xs: 0.8125rem;
  --fs-s: 0.9375rem;
  --fs-m: 1.0625rem;
  --fs-l: 1.25rem;
  --fs-xl: 1.625rem;
  --fs-2xl: clamp(1.9rem, 2.6vw, 2.5rem);
  --fs-3xl: clamp(2.5rem, 5.2vw, 4.4rem);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --space-section: clamp(64px, 9vw, 128px);
  --header-h: 124px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-m);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a {
  color: inherit;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

/* Brand hierarchy: headings are set in Classico Bold, body in Tenor Sans. */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
  margin: 0 0 0.5em;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-l); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: var(--fs-l);
  line-height: 1.5;
  color: var(--muted);
}
.gold { color: var(--gold); }
.muted { color: var(--muted); }
.small { font-size: var(--fs-s); }
.measure { max-width: 62ch; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 14px;
  text-decoration: none;
}
.skip-link:focus { left: 8px; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 900px; }

/* Placeholder content awaiting confirmation (remove the class when final) */
.placeholder {
  background: rgba(176, 134, 50, 0.14);
  border-bottom: 1px dashed var(--gold);
  padding: 0 0.2em;
}

/* --------------------------------------------------------------------------
   Buttons and links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.9em 1.7em;
  font-family: var(--font-body);
  font-size: var(--fs-s);
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  border: 1px solid var(--gold);
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--bronze); border-color: var(--bronze); color: var(--white); }
.btn--outline { background: transparent; color: var(--harvest); }
.btn--outline:hover { background: var(--gold); color: var(--navy); }
.btn--navy { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--slate); border-color: var(--slate); }
.btn--small { padding: 0.7em 1.15em; font-size: var(--fs-xs); }
.btn--block { width: 100%; }

.text-link {
  font-size: var(--fs-s);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.3em;
  transition: color 0.2s;
}
.text-link:hover { color: var(--gold); }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--text-dark);
  border-bottom: 1px solid var(--line-dark);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 92px; width: auto; }
@media (max-width: 1024px) {
  :root { --header-h: 96px; }
  .brand img { height: 68px; }
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 36px);
}
.nav__list {
  display: flex;
  gap: inherit;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  display: inline-block;
  font-size: var(--fs-s);
  color: #D3DCE4;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  color: var(--text-dark);
  cursor: pointer;
}
.nav-toggle__bar {
  position: relative;
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
}
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 1px;
  background: currentColor;
  transition: transform 0.25s;
}
.nav-toggle__bar::before { top: -6px; }
.nav-toggle__bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding: 40px var(--gutter);
    background: var(--navy);
    border-top: 1px solid var(--line-dark);
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.3s ease, visibility 0s linear 0.3s;
    overflow-y: auto;
  }
  .nav.is-open {
    visibility: visible;
    transform: none;
    transition: transform 0.3s ease, visibility 0s;
  }
  .nav__list { flex-direction: column; gap: 22px; }
  .nav__link { font-size: var(--fs-l); font-family: var(--font-display); }
  @media (prefers-reduced-motion: reduce) {
    .nav { transition: none; }
  }
}

/* --------------------------------------------------------------------------
   Home hero — golden-section split with the nautilus and a drawn spiral
   -------------------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: 38.2fr 61.8fr;
  min-height: calc(100svh - var(--header-h));
  background: var(--navy);
  color: var(--text-dark);
}
.hero__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 8vw, 120px) var(--gutter) clamp(56px, 8vw, 120px)
           max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.hero__title {
  font-size: clamp(2.3rem, 5.2vw, 4.4rem);
  max-width: 11ch;
  margin-bottom: 0.55em;
}
.hero__accent { white-space: nowrap; }
.hero__lede {
  font-size: var(--fs-l);
  line-height: 1.5;
  color: var(--muted-dark);
  max-width: 34ch;
  margin-bottom: 2.2em;
}
.hero__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  min-height: 460px;
}
.hero__figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%; /* must match the spiral overlay (xMidYMid slice) */
}
.hero__figure::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(4, 21, 34, 0.35) 12%, rgba(4, 21, 34, 0) 32%);
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.hero__title, .hero__lede, .hero__actions {
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero__lede { animation-delay: 0.12s; }
.hero__actions { animation-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .hero__title, .hero__lede, .hero__actions { animation: none; }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__panel { padding-block: clamp(48px, 9vw, 80px); }
  .hero__figure { min-height: 62vw; }
  .hero__figure::before {
    background:
      linear-gradient(180deg, var(--navy) 0%, rgba(4, 21, 34, 0.35) 30%, rgba(4, 21, 34, 0) 60%);
  }
}

/* --------------------------------------------------------------------------
   Sections and layout devices
   -------------------------------------------------------------------------- */
.section { padding-block: var(--space-section); }
.section--tight { padding-block: clamp(40px, 6vw, 80px); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: var(--text-dark); }
.section--ink { background: var(--ink); color: var(--text-dark); }
.section--navy .lede, .section--ink .lede,
.section--navy .muted, .section--ink .muted { color: var(--muted-dark); }
.section__head { margin-bottom: clamp(32px, 5vw, 64px); }
.section__head .lede { max-width: 58ch; }

/* Golden-section two-column grid */
.phi {
  display: grid;
  grid-template-columns: 38.2fr 61.8fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}
.phi--rev { grid-template-columns: 61.8fr 38.2fr; }
.phi--center { align-items: center; }
@media (max-width: 760px) {
  .phi, .phi--rev { grid-template-columns: 1fr; }
}

.statement {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-2xl);
  line-height: 1.2;
  margin: 0;
}

/* Definition rows — used for service lists */
.dl {
  margin: 0;
  border-top: 1px solid var(--line);
}
.dl__row {
  display: grid;
  grid-template-columns: 38.2fr 61.8fr;
  gap: 12px clamp(24px, 4vw, 56px);
  padding: clamp(22px, 3vw, 34px) 0;
  border-bottom: 1px solid var(--line);
}
.dl__row dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-xl);
  line-height: 1.15;
  margin: 0;
}
.dl__row dd { margin: 0; color: var(--muted); }
.dl__row dd p { margin-bottom: 0.7em; }
.section--navy .dl, .section--navy .dl__row { border-color: var(--line-dark); }
.section--navy .dl__row dd { color: var(--muted-dark); }
@media (max-width: 760px) {
  .dl__row { grid-template-columns: 1fr; }
}

/* Values / principles grid */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 48px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.values li::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 18px;
}
.values h3 { font-size: var(--fs-l); margin-bottom: 0.4em; }
.values p { color: var(--muted); font-size: var(--fs-s); }
.section--navy .values p { color: var(--muted-dark); }

/* Image + text split, full bleed */
.split {
  display: grid;
  grid-template-columns: 38.2fr 61.8fr;
}
.split--rev { grid-template-columns: 61.8fr 38.2fr; }
.split__figure {
  position: relative;
  margin: 0;
  min-height: 320px;
}
.split__figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-section) var(--gutter);
}
.split__body > * { max-width: 640px; }
.split__body .section__head { margin-bottom: clamp(24px, 4vw, 40px); }
.audience + .audience {
  margin-top: clamp(24px, 4vw, 40px);
  padding-top: clamp(24px, 4vw, 40px);
  border-top: 1px solid var(--line-dark);
}
.audience h3 { margin-bottom: 0.35em; }
.audience p { color: var(--muted-dark); }
@media (max-width: 860px) {
  .split, .split--rev { grid-template-columns: 1fr; }
  .split__figure { min-height: 56vw; order: -1; }
}

/* Regulation strip */
.reg-strip {
  background: var(--mist);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.reg-strip__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  align-items: center;
  justify-content: space-between;
}
.reg-strip p {
  margin: 0;
  max-width: 78ch;
  font-size: var(--fs-s);
  color: var(--muted);
}

/* Inner-page hero */
.page-hero {
  position: relative;
  background: var(--navy);
  color: var(--text-dark);
  padding: clamp(56px, 8vw, 112px) 0 clamp(44px, 6vw, 88px);
  overflow: hidden;
}
.page-hero h1 { margin-bottom: 0.35em; max-width: 16ch; }
.page-hero .lede { color: var(--muted-dark); max-width: 44ch; }
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--navy) 22%, rgba(4, 21, 34, 0.6) 62%, rgba(4, 21, 34, 0.2) 100%);
}
.page-hero .container { position: relative; z-index: 2; }

/* Long-form content */
.prose { max-width: 66ch; }
.prose h2 { margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.7em; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--gold); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-s); margin: 0 0 1.5em; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 400; color: var(--muted); }
.table-wrap { overflow-x: auto; }

.note {
  font-size: var(--fs-s);
  color: var(--muted);
  border-left: 2px solid var(--gold);
  padding-left: 16px;
  margin: 1.6em 0;
}

/* Anchor sub-navigation on long pages */
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  margin: 0 0 clamp(32px, 5vw, 56px);
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-s);
}
.subnav a { text-decoration: none; color: var(--muted); }
.subnav a:hover { color: var(--gold); }

/* Sticky side index for long pages */
.aside-nav { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: var(--fs-s); }
.aside-nav a { text-decoration: none; color: var(--muted); }
.aside-nav a:hover { color: var(--gold); }
@media (max-width: 760px) { .aside-nav { position: static; margin-bottom: 32px; } }

/* Numbered steps — only for genuine sequences */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  line-height: 1;
  color: var(--gold);
}
.steps h3 { font-size: var(--fs-l); margin-bottom: 0.3em; }
.steps p { color: var(--muted); font-size: var(--fs-s); }

/* Contact */
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
}
.contact-list li strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-l);
  margin-bottom: 4px;
}
.contact-list li { color: var(--muted); }
.contact-list a { color: var(--text); }

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-size: var(--fs-s);
  color: var(--muted);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  color: var(--text);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176, 134, 50, 0.2);
}
.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: var(--fs-s);
  color: var(--muted);
}
.checkbox input { margin: 4px 0 0; flex: none; }
.form__status {
  font-size: var(--fs-s);
  color: var(--text);
  border-left: 2px solid var(--gold);
  padding-left: 14px;
}
.form__status[hidden] { display: none; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: var(--muted-dark);
  font-size: var(--fs-s);
  border-top: 1px solid var(--line-dark);
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: clamp(48px, 6vw, 80px) 0 44px;
}
.site-footer h2 {
  font-size: var(--fs-l);
  color: var(--white);
  margin-bottom: 14px;
}
.site-footer h2 + ul + h2 { margin-top: 28px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #D3DCE4; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__brand img { height: 92px; width: auto; margin-bottom: 20px; }
.site-footer__brand p { max-width: 30ch; }
.site-footer__bottom {
  border-top: 1px solid var(--line-dark);
  padding: 28px 0 40px;
  display: grid;
  gap: 16px;
}
.site-footer__legal {
  font-size: var(--fs-xs);
  color: var(--faint-dark);
  max-width: 110ch;
  line-height: 1.6;
}
.site-footer__legal strong { color: var(--muted-dark); font-weight: 400; }
.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: var(--fs-xs);
  color: var(--faint-dark);
  margin-top: 8px;
}
@media (max-width: 900px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__top { grid-template-columns: 1fr; } }

/* Cookie consent */
.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  max-width: 640px;
  margin-inline: auto;
  background: var(--ink);
  color: var(--text-dark);
  border: 1px solid var(--line-dark);
  padding: 20px 22px;
  display: grid;
  gap: 14px;
  font-size: var(--fs-s);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.cookie[hidden] { display: none; }
.cookie p { color: var(--muted-dark); }
.cookie a { color: var(--text-dark); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------------------
   Portal gateway pages (client portal / back office)
   -------------------------------------------------------------------------- */
.gateway {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 48px var(--gutter);
  background: var(--navy);
  color: var(--text-dark);
  overflow: hidden;
}
.gateway__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.gateway::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at 50% 45%, rgba(4, 21, 34, 0.2), rgba(4, 21, 34, 0.94) 74%);
}
.gateway__panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  text-align: center;
}
.gateway__mark { height: 96px; width: auto; margin: 0 auto 28px; }
.gateway h1 { font-size: var(--fs-2xl); margin-bottom: 0.4em; }
.gateway p { color: var(--muted-dark); }
.gateway__actions { display: grid; gap: 12px; margin: 30px 0 22px; }
.gateway__note {
  font-size: var(--fs-xs);
  color: var(--faint-dark);
  border-top: 1px solid var(--line-dark);
  padding-top: 18px;
  text-align: left;
}
.gateway__links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 26px 0 0;
}
.gateway__back {
  display: inline-block;
  font-size: var(--fs-s);
  color: #D3DCE4;
}

/* --------------------------------------------------------------------------
   Markets and pricing
   -------------------------------------------------------------------------- */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  margin-top: 32px;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-2xl);
  line-height: 1.05;
  color: var(--harvest);
}
.stat > span { font-size: var(--fs-s); color: var(--muted-dark); }
.page-hero .actions { margin-top: 28px; }

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
}
.tabs a {
  display: inline-block;
  padding: 16px 14px 14px;
  margin-bottom: -1px;
  font-size: var(--fs-s);
  color: var(--muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.tabs a:hover { color: var(--text); }
.tabs a[aria-selected="true"] { color: var(--text); border-bottom-color: var(--gold); }
.tab-panel { padding-top: clamp(32px, 5vw, 56px); }
.tab-panel[hidden] { display: none; }
.tab-panel__head { margin-bottom: clamp(24px, 4vw, 40px); }
.tab-panel__head .lede { max-width: 60ch; }
.tab-panel .prose ul { columns: 2; column-gap: 40px; }
@media (max-width: 700px) { .tab-panel .prose ul { columns: 1; } }

.market-table { width: 100%; border-collapse: collapse; font-size: var(--fs-s); }
.market-table th, .market-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--line);
}
.market-table th { font-weight: 400; color: var(--muted); font-size: var(--fs-xs); letter-spacing: 0.02em; }
.market-table td:first-child { color: var(--text); }
.market-table td { color: var(--muted); }
.market-table .num { white-space: nowrap; }
.table-note { font-size: var(--fs-xs); color: var(--muted); margin-top: 12px; }

.link-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.link-card {
  display: block;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 2px;
  text-decoration: none;
  transition: border-color 0.2s;
}
.link-card:hover { border-color: var(--gold); }
.link-card h3 { font-size: var(--fs-l); margin-bottom: 0.35em; }
.link-card p { margin: 0; color: var(--muted); font-size: var(--fs-s); }
.section--navy .link-card { border-color: var(--line-dark); }
.section--navy .link-card p { color: var(--muted-dark); }

.price-table { width: 100%; border-collapse: collapse; font-size: var(--fs-s); }
.price-table th, .price-table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--line);
}
.price-table th { font-weight: 400; color: var(--muted); font-size: var(--fs-xs); letter-spacing: 0.02em; }
.price-table td:first-child { color: var(--text); }
.price-table td { color: var(--muted); }
.price-table .num { white-space: nowrap; color: var(--text); }

/* Print */
@media print {
  .site-header, .site-footer, .cookie, .nav-toggle { display: none !important; }
  body { color: #000; background: #fff; }
}
