/* ==========================================================================
   VATMesh — Institutional design system (light-first)
   Plain CSS. No framework, no CDN. Logical properties for RTL.
   ========================================================================== */

@import url("./fonts/source-serif-4/source-serif-4.css");
@import url("./fonts/noto-naskh-arabic/noto-naskh-arabic.css");

:root {
  --ink: #0B1F3A;
  --ink-2: #17314F;
  --navy: #071528;
  --ivory: #FBF8F1;
  --paper: #FFFFFF;
  --surface: #F4F1E9;
  --text: #24374D;
  --muted: #5D6E82;
  --line: #E2DDD1;
  --line-strong: #CFC7B7;
  --teal: #0E6B63;
  --teal-900: #0A4F49;
  --teal-050: #EDF5F2;
  --gold: #A9873F;
  --gold-050: #F7F1E2;
  --danger: #A33B3B;
  --success: #1F6B4A;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --arabic: "Noto Naskh Arabic", "Cairo", serif;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, .05);
  --shadow-md: 0 18px 40px -24px rgba(11, 31, 58, .35);
  --radius: 3px;
  --radius-lg: 6px;
  --container: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  font-feature-settings: "kern", "liga", "tnum";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[dir="rtl"] body {
  font-family: var(--arabic);
  line-height: 1.85;
  font-size: 17px;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.015em;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4 {
  font-family: var(--arabic);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--teal-900); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal); }
img, svg { max-width: 100%; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--gold-050); color: var(--ink); }

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

/* Numerals and currency never flip inside RTL prose. */
.num, .price, time, .mono {
  unicode-bidi: isolate;
  direction: ltr;
  font-variant-numeric: tabular-nums;
}

.mono { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace; }

/* ---------- Layout ---------- */

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.container--narrow { width: min(100% - 48px, 820px); margin-inline: auto; }

.section { padding-block: 96px; }
.section--tight { padding-block: 64px; }
.section--surface { background: var(--surface); border-block: 1px solid var(--line); }
.section--paper { background: var(--paper); border-block: 1px solid var(--line); }
.section--navy { background: var(--navy); color: #DCE4EE; border: 0; }
.section--navy h2, .section--navy h3 { color: #FFFFFF; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--teal-900);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  flex: none;
}
html[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: 12px; }

h1 { font-size: clamp(2.6rem, 4.7vw, 4.15rem); }
h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 1.5vw, 1.35rem); }

.lede {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.075rem;
  line-height: 1.7;
}

.small { font-size: .8125rem; line-height: 1.55; color: var(--muted); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -100px;
  z-index: 2000;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  font-size: 14px;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(251, 248, 241, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.01em;
  flex: none;
}
.brand:hover { color: var(--ink); }
.brand img { width: 26px; height: 26px; display: block; }
.brand span small {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-inline-start: 12px;
}
.site-nav a {
  position: relative;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 550;
  padding-block: 6px;
  white-space: nowrap;
}
.site-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease);
}
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a:hover { color: var(--ink); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-inline-start: auto;
}
.header-actions .btn { padding: 10px 16px; font-size: 13px; }

.lang-select {
  appearance: none;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 7px 26px 7px 10px;
  border-radius: var(--radius);
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 13px) 52%, calc(100% - 9px) 52%;
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
}
html[dir="rtl"] .lang-select { padding: 7px 10px 7px 26px; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: var(--radius);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  content: "";
}
.nav-toggle span::before { position: absolute; top: -5px; }
.nav-toggle span::after { position: absolute; top: 5px; }

.mobile-nav { display: none; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--primary:hover { background: var(--ink-2); color: #fff; border-color: var(--ink-2); }

.btn--secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--ink); background: var(--paper); }

.btn--ghost { background: transparent; color: var(--ink); border-color: transparent; padding-inline: 8px; }
.btn--ghost:hover { color: var(--teal-900); }

.btn--gold { background: var(--gold); color: #1B1405; border-color: var(--gold); }
.btn--gold:hover { background: #957633; color: #fff; border-color: #957633; }

.btn--light { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn--light:hover { background: #fff; color: var(--ink); }

.btn--sm { padding: 9px 14px; font-size: 12.5px; }
.btn--lg { padding: 16px 26px; font-size: 15px; }
.btn--block { width: 100%; }

.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--teal-900);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}
.link-arrow svg { transition: transform .18s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
html[dir="rtl"] .link-arrow:hover svg { transform: translateX(-3px); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-block: 84px 72px;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% -10%, var(--gold-050), transparent 60%),
    radial-gradient(760px 420px at 6% 110%, var(--teal-050), transparent 62%),
    var(--ivory);
  border-bottom: 1px solid var(--line);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 56px;
}
.hero h1 { max-width: 15ch; }
.hero h1 em {
  font-style: italic;
  color: var(--teal-900);
}
html[dir="rtl"] .hero h1 { max-width: 22ch; }
.hero .lede { margin-top: 22px; font-size: 1.12rem; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12.5px;
}
.hero__note svg { flex: none; color: var(--teal); }
.hero__art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__art img {
  width: 100%;
  max-width: 540px;
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(11, 31, 58, .10));
}
.hero__art::before {
  content: "";
  position: absolute;
  inset: 8% 4%;
  border: 1px solid var(--line);
  border-radius: 50%;
  z-index: -1;
}

/* ---------- Trust strip ---------- */

.trust-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.trust-strip__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 18px;
  overflow-x: auto;
  scrollbar-width: none;
}
.trust-strip__inner::-webkit-scrollbar { display: none; }
.trust-strip__label {
  flex: none;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.trust-strip ul {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
}
.trust-strip li {
  flex: none;
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
}
.trust-strip li + li { position: relative; }
.trust-strip li + li::before {
  content: "";
  position: absolute;
  inset-inline-start: -14px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
}

/* ---------- Cards and grids ---------- */

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.card--flat { box-shadow: none; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .9375rem; }

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  background: var(--teal-050);
  color: var(--teal-900);
  border: 1px solid #D5E6E1;
  border-radius: var(--radius);
}
.icon-tile--gold { background: var(--gold-050); border-color: #E9DDC2; color: #7A5E23; }

.feature-list { list-style: none; margin-top: 18px; }
.feature-list li {
  position: relative;
  padding-inline-start: 22px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: .875rem;
}
.feature-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .62em;
  width: 8px;
  height: 1.5px;
  background: var(--gold);
}

/* ---------- Split blocks ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--reverse .split__media { order: -1; }
html[dir="rtl"] .split--reverse .split__media { order: 0; }
.split__media img { width: 100%; height: auto; }
.split__body h2 { margin-bottom: 18px; }
.split__body .lede { margin-bottom: 22px; }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
.step {
  position: relative;
  padding: 30px 26px 26px;
  border-bottom: 1px solid var(--line);
  border-inline-end: 1px solid var(--line);
}
.step:first-child { border-inline-start: 1px solid var(--line); }
.step__num {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
}
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .875rem; }

/* ---------- Corridor table ---------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
table.data { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.data th, table.data td { padding: 14px 18px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data thead th {
  background: var(--surface);
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: #FCFBF7; }
table.data code { font-size: .8rem; color: var(--ink-2); background: var(--surface); padding: 2px 6px; border-radius: 2px; }
.flag { display: inline-block; margin-inline-end: 8px; font-size: 1rem; }

/* ---------- Proof grid ---------- */

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.proof {
  background: var(--paper);
  padding: 30px;
}
.proof__k {
  display: block;
  margin-bottom: 12px;
  color: var(--teal-900);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.proof h3 { font-size: 1.08rem; margin-bottom: 8px; }
.proof p { color: var(--muted); font-size: .885rem; }
.proof .mono { font-size: .78rem; color: var(--ink-2); }

/* ---------- Stat band ---------- */

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.stat { padding-inline-start: 18px; border-inline-start: 2px solid var(--gold); }
.stat strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1;
}
.stat span { display: block; margin-top: 6px; color: var(--muted); font-size: .8rem; }

/* ---------- Forms ---------- */

.field { margin-bottom: 16px; }
.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 14px;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14, 107, 99, .12);
}
.field textarea { min-height: 92px; resize: vertical; }
.field .hint { margin-top: 5px; color: var(--muted); font-size: 11.5px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.error-text { color: var(--danger); font-size: 12.5px; margin-top: 6px; }
.form-note { margin-top: 12px; color: var(--muted); font-size: 11.5px; line-height: 1.5; }

.form-status {
  display: none;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.5;
}
.form-status.is-visible { display: block; }
.form-status.is-success { background: var(--teal-050); color: var(--teal-900); border: 1px solid #CDE3DD; }
.form-status.is-error { background: #FBEDED; color: var(--danger); border: 1px solid #EFD2D2; }

/* Honeypot */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Range inputs ---------- */

.range-row { margin-bottom: 22px; }
.range-row__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.range-row__head label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.range-row__val {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  unicode-bidi: isolate;
  direction: ltr;
}
input[type="range"] {
  width: 100%;
  height: 3px;
  appearance: none;
  background: var(--line-strong);
  border-radius: 2px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--ivory);
  box-shadow: 0 0 0 1px var(--ink);
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--ivory);
  box-shadow: 0 0 0 1px var(--ink);
  cursor: pointer;
}

/* ---------- Calculator layout ---------- */

.calc {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
}
.calc__form { padding: 36px; }
.calc__out {
  padding: 36px;
  background: var(--ink);
  color: #E7EDF4;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calc__out h3 { color: #fff; font-size: 1rem; margin-bottom: 24px; }
.calc__stat { padding-block: 14px; border-bottom: 1px solid rgba(255,255,255,.12); }
.calc__stat:last-of-type { border-bottom: 0; }
.calc__stat span { display: block; color: #9FB0C4; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.calc__stat strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-family: var(--mono);
  font-size: 1.55rem;
  font-weight: 500;
  unicode-bidi: isolate;
  direction: ltr;
}
.calc__stat--accent strong { color: #E8C77A; }
.calc__out .small { color: #9FB0C4; margin-top: 20px; }

/* ---------- Clearinghouse demo ---------- */

.demo {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  overflow: hidden;
}
.demo__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.demo__head h3 { font-size: 1rem; }
.demo__body { display: grid; grid-template-columns: 1fr 1fr; }
.demo__form { padding: 28px; border-inline-end: 1px solid var(--line); }
.demo__out { padding: 28px; background: #0A1729; color: #D7E0EA; }
.demo__out h4 {
  color: #8FA3B8;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.demo__row { display: flex; justify-content: space-between; gap: 16px; padding-block: 9px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 12.5px; }
.demo__row:last-child { border-bottom: 0; }
.demo__row span { color: #8FA3B8; }
.demo__row strong { color: #fff; font-family: var(--mono); font-weight: 500; text-align: end; unicode-bidi: isolate; }
.demo__json {
  margin-top: 18px;
  padding: 14px;
  background: #06101E;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  color: #9FB6CC;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 190px;
  overflow: auto;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 2px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.badge--idle { background: var(--surface); color: var(--muted); border: 1px solid var(--line); }
.badge--ok { background: #E6F2EC; color: var(--success); border: 1px solid #CBE4D8; }
.badge--warn { background: #FBF3E4; color: #8A6414; border: 1px solid #EAD9B0; }
.badge--err { background: #FBEDED; color: var(--danger); border: 1px solid #EFD2D2; }

/* Evidence checkboxes inside the demo form */
.demo__checks { display: grid; gap: 10px; margin-block: 18px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.demo__check { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--text); cursor: pointer; }
.demo__check > span { display: grid; gap: 2px; }
.demo__check input { margin-top: 2px; accent-color: var(--teal-900); width: 15px; height: 15px; flex: none; }
.demo__check small { display: block; color: var(--muted); font-size: 11px; }

/* ---------- Pricing ---------- */

.pricing-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 40px;
}
.pricing-picker {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.pricing-picker label { color: var(--muted); font-size: 12px; font-weight: 600; }
.pricing-picker select {
  padding: 9px 30px 9px 11px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.pricing-note { margin-top: 8px; color: var(--muted); font-size: 11.5px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
}
.plan__header {
  margin-bottom: 12px;
  min-height: 90px;
}
.plan ul {
  list-style: none !important;
  margin: 16px 0 24px !important;
  padding: 0 !important;
  flex: 1 1 auto;
}
.plan-actions {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.plan--featured { border-color: var(--ink); box-shadow: var(--shadow-md); }
.plan--featured::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: var(--gold);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.plan__tag {
  position: absolute;
  top: 14px;
  inset-inline-end: 16px;
  color: var(--gold);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.plan__name { font-size: 1.02rem; margin-bottom: 4px; }
.plan__for { color: var(--muted); font-size: 12px; min-height: 36px; }
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 16px 0 2px;
  padding-block: 14px;
  border-block: 1px solid var(--line);
}
.plan__price strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  unicode-bidi: isolate;
  direction: ltr;
}
.plan__price span { color: var(--muted); font-size: 11.5px; }
.plan__quota {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
}
.plan__quota em { display: block; margin-top: 3px; color: var(--muted); font-style: normal; font-weight: 400; font-size: 11px; }
.plan ul { list-style: none; margin: 16px 0 22px; flex: 1; }
.plan li {
  position: relative;
  padding-inline-start: 18px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}
.plan li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .58em;
  width: 7px;
  height: 1.5px;
  background: var(--teal);
}
.plan .btn { width: 100%; padding: 11px 12px; font-size: 12.5px; }

.enterprise-band {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 18px;
  padding: 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.enterprise-band h3 { margin-bottom: 4px; }
.enterprise-band p { color: var(--muted); font-size: .875rem; max-width: 70ch; }
.enterprise-band .btn { margin-inline-start: auto; flex: none; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  padding-block: 76px;
  background: var(--navy);
  color: #DCE4EE;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset-inline-end: -140px;
  top: -140px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 50%;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p { max-width: 52ch; margin-top: 12px; color: #A9B8C9; }
.cta-band__actions { display: flex; gap: 12px; flex: none; }

/* ---------- Footer ---------- */

.site-footer { background: #06111F; color: #9BAABC; padding-block: 64px 28px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand small { color: #7E8FA3; }
.footer-brand p { max-width: 34ch; color: #8FA0B3; font-size: 12.5px; line-height: 1.65; }
.footer-col h4 {
  margin-bottom: 14px;
  color: #fff;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #9BAABC; font-size: 12.5px; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  font-size: 11.5px;
  color: #728398;
}
.footer-bottom a { color: #9BAABC; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Modal ---------- */

.vm-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 14, 26, .62);
  backdrop-filter: blur(3px);
}
.vm-modal.is-open { display: flex; }
.vm-modal__panel {
  position: relative;
  width: min(100%, 480px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  margin: 0 auto;
  padding: 34px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.5);
}
.vm-modal__close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 50%;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
}
.vm-modal__close:hover { color: var(--ink); border-color: var(--line-strong); }
.vm-modal h2 { font-size: 1.5rem; margin-bottom: 6px; }
.vm-modal .lede { font-size: .9rem; margin-bottom: 22px; }

/* ---------- Auth modal ---------- */

.vm-auth__tabs { display: flex; gap: 4px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.vm-auth__tab {
  padding: 9px 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}
.vm-auth__tab.is-active { color: var(--ink); border-bottom-color: var(--ink); }
.vm-auth__pane { display: none; }
.vm-auth__pane.is-active { display: block; }
.vm-auth__alert {
  display: none;
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid #EFD2D2;
  background: #FBEDED;
  color: var(--danger);
  border-radius: var(--radius);
  font-size: 12px;
}
.vm-auth__alert.is-visible { display: block; }
.vm-auth__alt { margin-top: 14px; text-align: center; font-size: 11.5px; color: var(--muted); }
.vm-auth__alt button { border: 0; background: none; color: var(--teal-900); font-weight: 600; font-size: inherit; padding: 0; }

/* ---------- Mobile nav panel ---------- */

.mobile-panel {
  position: fixed;
  inset: 72px 0 auto 0;
  z-index: 899;
  display: none;
  padding: 18px 24px 26px;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.mobile-panel.is-open { display: block; }
.mobile-panel nav { display: grid; gap: 2px; }
.mobile-panel nav a {
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
  text-decoration: none;
}
.mobile-panel__actions { display: grid; gap: 10px; margin-top: 18px; }

/* ---------- Utility ---------- */

.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .site-nav { gap: 22px; }
  .header-actions .btn--primary { display: none; }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1.4fr repeat(2, 1fr); row-gap: 32px; }
  .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .section { padding-block: 72px; }
  .hero { padding-block: 56px 64px; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { max-width: 18ch; }
  .hero__art { order: -1; }
  .hero__art img { max-width: 380px; }
  .hero__art::before { display: none; }
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .lang-select,
  .header-actions .lang-select--ia,
  .header-actions .nav-cta,
  .header-actions .btn:not(.theme-toggle):not(.nav-toggle) { display: none !important; }
  .header-actions { margin-left: auto; gap: 6px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split__media { order: 0; }
  .split__media img { max-width: 440px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2) { border-inline-end: 1px solid var(--line); }
  .calc { grid-template-columns: 1fr; }
  .demo__body { grid-template-columns: 1fr; }
  .demo__form { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .pricing-head { flex-direction: column; align-items: flex-start; }
  .enterprise-band { flex-wrap: wrap; }
  .enterprise-band .btn { margin-inline-start: 0; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container, .container--narrow { width: calc(100% - 32px); }
  .section { padding-block: 56px; }
  .hero__actions .btn { width: 100%; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-inline-end: 0; border-inline-start: 0; }
  .stat-band { grid-template-columns: 1fr 1fr; gap: 18px; }
  .calc__form, .calc__out, .demo__form, .demo__out { padding: 24px; }
  .field-row { grid-template-columns: 1fr; }
  .trust-strip__inner { gap: 18px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .vm-modal { padding: 12px; }
  .vm-modal__panel { padding: 26px 20px; max-height: calc(100vh - 24px); }
  .cta-band { padding-block: 56px; }
  .cta-band__actions { width: 100%; flex-direction: column; }
  .cta-band__actions .btn { width: 100%; }
  h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .header-actions .btn--secondary { display: none; }
}

/* ---------- RTL adjustments ---------- */

html[dir="rtl"] .site-nav a::after { transform-origin: right; }
html[dir="rtl"] .hero__art { direction: ltr; }
html[dir="rtl"] .trust-strip__inner { direction: rtl; }
html[dir="rtl"] .table-wrap { direction: rtl; }
html[dir="rtl"] .steps { direction: rtl; }
html[dir="rtl"] .calc__out,
html[dir="rtl"] .demo__out { direction: rtl; }
html[dir="rtl"] .plan__price,
html[dir="rtl"] .price,
html[dir="rtl"] .num { direction: ltr; }

/* ---------- Accessibility / print ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

@media print {
  .site-header, .site-footer, .cta-band, .hero__art, .vm-modal, .mobile-panel { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 24px; }
}


/* ==========================================================================
   CARDS, GRIDS, STEPS & CORE LANDING BLOCKS
   ========================================================================== */

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  padding: 28px;
  background: var(--paper, #FFFFFF);
  border: 1px solid var(--line, #E2E8F0);
  border-radius: var(--radius-lg, 8px);
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,0.05));
}
.card--flat { box-shadow: none; }
.card h3 { margin-bottom: 10px; color: var(--heading, #0F172A); font-size: 1.15rem; font-weight: 700; }
.card p { color: var(--muted, #64748B); font-size: .9375rem; line-height: 1.6; }

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  background: var(--teal-050, #E6F7F5);
  color: var(--teal-900, #0E6B63);
  border: 1px solid #D5E6E1;
  border-radius: var(--radius, 6px);
}
.icon-tile--gold { background: var(--gold-050, #FDF9EE); border-color: #E9DDC2; color: #7A5E23; }

.feature-list { list-style: none !important; margin: 18px 0 0 0 !important; padding: 0 !important; }
.feature-list li {
  position: relative;
  padding-inline-start: 22px;
  margin-bottom: 9px;
  color: var(--muted, #64748B);
  font-size: .875rem;
  line-height: 1.5;
  list-style: none !important;
}
.feature-list li::before {
  content: "" !important;
  position: absolute;
  inset-inline-start: 0;
  top: .62em;
  width: 8px;
  height: 1.5px;
  background: var(--gold, #B4882B);
  border-radius: 1px;
}

/* ---------- Trust strip ---------- */

.trust-strip {
  background: var(--surface, #F8FAFC);
  border-bottom: 1px solid var(--line, #E2E8F0);
}
.trust-strip__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 18px;
  overflow-x: auto;
  scrollbar-width: none;
}
.trust-strip__inner::-webkit-scrollbar { display: none; }
.trust-strip__label {
  flex: none;
  color: var(--muted, #64748B);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.trust-strip ul {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.trust-strip li {
  flex: none;
  color: var(--ink-2, #334155);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  list-style: none !important;
}
.trust-strip li + li { position: relative; }
.trust-strip li + li::before {
  content: "";
  position: absolute;
  inset-inline-start: -14px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-strong, #CBD5E1);
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line, #E2E8F0);
  margin-top: 8px;
}
.step {
  position: relative;
  padding: 30px 26px 26px;
  border-bottom: 1px solid var(--line, #E2E8F0);
  border-inline-end: 1px solid var(--line, #E2E8F0);
}
.step:first-child { border-inline-start: 1px solid var(--line, #E2E8F0); }
.step__num {
  display: block;
  margin-bottom: 14px;
  color: var(--gold, #B4882B);
  font-family: var(--serif, serif);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
}
.step h3 { font-size: 1.08rem; margin-bottom: 8px; color: var(--heading, #0F172A); font-weight: 700; }
.step p { color: var(--muted, #64748B); font-size: .875rem; line-height: 1.5; }

/* ---------- Forms & Inputs ---------- */

.field { margin-bottom: 16px; }
.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-2, #334155);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  background: var(--paper, #FFFFFF);
  border: 1px solid var(--line-strong, #CBD5E1);
  border-radius: var(--radius, 6px);
  color: var(--ink, #0F172A);
  font-size: 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal, #0E6B63);
  box-shadow: 0 0 0 3px rgba(14, 107, 99, .12);
}
.field textarea { min-height: 92px; resize: vertical; }
.field .hint { margin-top: 5px; color: var(--muted, #64748B); font-size: 11.5px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.error-text { color: var(--danger, #DC2626); font-size: 12.5px; margin-top: 6px; }
.form-note { margin-top: 12px; color: var(--muted, #64748B); font-size: 11.5px; line-height: 1.5; }

.form-status {
  display: none;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--radius, 6px);
  font-size: 13px;
  line-height: 1.5;
}
.form-status.is-visible { display: block; }
.form-status.is-success { background: #E6F7F5; color: #0E6B63; border: 1px solid #CDE3DD; }
.form-status.is-error { background: #FBEDED; color: #DC2626; border: 1px solid #EFD2D2; }

/* Honeypot */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Interactive Landing Helpers ---------- */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--gold-050, #FDF9EE);
  color: var(--gold, #B4882B);
  border: 1px solid rgba(134, 104, 43, 0.25);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.tab-btn {
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--line, #E2E8F0);
  background: var(--surface, #F8FAFC);
  color: var(--muted, #64748B);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.tab-btn.is-active {
  background: var(--ink, #0F172A);
  color: #ffffff;
  border-color: var(--ink, #0F172A);
}
.code-display {
  background: #0B1F3A;
  color: #E2E8F0;
  font-family: var(--mono, monospace);
  font-size: 0.76rem;
  padding: 14px;
  border-radius: var(--radius, 6px);
  overflow-x: auto;
  line-height: 1.5;
  border: 1px solid #1E3A5F;
}
.sim-card {
  background: var(--paper, #FFFFFF);
  border: 1px solid var(--line, #E2E8F0);
  border-radius: var(--radius-lg, 8px);
  padding: 24px;
  box-shadow: 0 16px 32px -8px rgba(11, 31, 58, 0.08);
}
.sim-metric-box {
  background: var(--surface, #F8FAFC);
  border: 1px solid var(--line, #E2E8F0);
  border-radius: var(--radius, 6px);
  padding: 12px 14px;
  margin-bottom: 10px;
}
.sim-metric-val {
  font-family: var(--serif, serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--teal-900, #0E6B63);
  line-height: 1.2;
}
.sim-metric-lbl {
  font-size: 0.76rem;
  color: var(--muted, #64748B);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.slider-group { margin-bottom: 14px; }
.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--heading, #0F172A);
}
.slider-val-badge {
  background: var(--teal-050, #E6F7F5);
  color: var(--teal-900, #0E6B63);
  padding: 2px 7px;
  border-radius: 4px;
  font-family: var(--mono, monospace);
  font-size: 0.82rem;
}
.sim-slider { width: 100%; accent-color: var(--teal-900, #0E6B63); cursor: pointer; }

.comp-icon-ok { color: var(--success, #059669); font-weight: bold; }
.comp-icon-no { color: var(--danger, #DC2626); font-weight: bold; }
.comp-icon-warn { color: var(--gold, #B4882B); font-weight: bold; }

.faq-details {
  border: 1px solid var(--line, #E2E8F0);
  border-radius: var(--radius, 6px);
  margin-bottom: 12px;
  background: var(--paper, #FFFFFF);
  transition: border-color 0.2s ease;
}
.faq-details summary {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  color: var(--heading, #0F172A);
  list-style: none !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-details summary::-webkit-details-marker { display: none; }
.faq-details summary::after { content: "+"; font-size: 1.2rem; color: var(--muted, #64748B); }
.faq-details[open] summary::after { content: "−"; }
.faq-details .faq-answer {
  padding: 0 20px 18px 20px;
  color: var(--muted, #64748B);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Universal vertical flex layout to prevent side-by-side header/main/footer squishing */
html, body {
  margin: 0 !important;
  padding: 0 !important;
}
body {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100vh !important;
  width: 100% !important;
}
.site-header {
  flex-shrink: 0 !important;
  width: 100% !important;
}
:where(main:not(.signup-page-wrap):not(.auth-page-wrap):not(.container):not(.gate):not(.signin-main)), .main-content {
  flex: 1 0 auto !important;
  width: 100%;
}
main.vm-platforms-main,
main.max-w-7xl,
main.max-w-6xl,
main.max-w-5xl,
main.vm-country-main {
  width: min(100% - 48px, 1180px) !important;
  max-width: 1180px !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   INSTITUTIONAL DARK NAVY FOOTER SPECIFICATION
   Universal across all site views, landing pages and docs.
   Background: #06111F | Headings: #FFFFFF | Text: #9BAABC | Hover: #38BDF8
   ========================================================================== */

.site-footer {
  background: #06111F !important;
  color: #9BAABC !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-block: 64px 28px !important;
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
  margin-top: auto !important;
  width: 100% !important;
  flex-shrink: 0 !important;
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 24px;
}

/* Grid Layout for both .footer-top (5 cols) and .footer-grid (4 cols) */
.footer-top {
  display: grid !important;
  grid-template-columns: 1.4fr repeat(4, 1fr) !important;
  gap: 40px !important;
  padding-bottom: 44px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
}

.footer-grid {
  display: grid !important;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr !important;
  gap: 40px !important;
  padding-bottom: 44px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
}

/* Brand block */
.footer-brand {
  display: flex !important;
  flex-direction: column !important;
}
.footer-brand .footer-logo,
.footer-brand .brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 14px !important;
  text-decoration: none !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  font-size: 1.2rem !important;
  letter-spacing: -0.02em !important;
}
.footer-brand .brand small {
  display: block !important;
  font-size: 0.72rem !important;
  color: #7E8FA3 !important;
  font-weight: 500 !important;
}
.footer-desc,
.footer-brand p {
  color: #8FA0B3 !important;
  font-size: 0.825rem !important;
  line-height: 1.65 !important;
  max-width: 380px !important;
  margin: 0 0 12px 0 !important;
}
.footer-entity {
  color: #64748B !important;
  font-size: 0.75rem !important;
  line-height: 1.5 !important;
  font-family: var(--mono, monospace) !important;
  margin: 0 0 16px 0 !important;
}

/* Navigation & Links Columns */
.footer-col h4,
.footer-grid h4 {
  margin: 0 0 16px 0 !important;
  color: #FFFFFF !important;
  font-family: var(--sans, sans-serif) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

ul.footer-links,
.footer-col ul {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

ul.footer-links li,
.footer-col li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
ul.footer-links li::before,
.footer-col li::before {
  display: none !important;
  content: none !important;
}

ul.footer-links a,
.footer-col a {
  color: #9BAABC !important;
  text-decoration: none !important;
  font-size: 0.85rem !important;
  transition: color 0.15s ease !important;
}
ul.footer-links a:hover,
.footer-col a:hover {
  color: #FFFFFF !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

/* Note & Precision block */
.footer-note {
  color: #7E8FA3 !important;
  font-size: 0.785rem !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* Footer Bottom Bar */
.footer-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  padding-top: 24px !important;
  font-size: 0.75rem !important;
  color: #728398 !important;
  border-top: none !important;
}
.footer-bottom a {
  color: #9BAABC !important;
  text-decoration: none !important;
}
.footer-bottom a:hover {
  color: #FFFFFF !important;
  text-decoration: underline !important;
}

/* Footer Legal Band & Links */
.footer-legal-band {
  margin-top: 32px !important;
  padding-top: 20px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}
ul.footer-legal,
.footer-legal {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px 20px !important;
  align-items: center !important;
}
ul.footer-legal li,
.footer-legal li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
}
ul.footer-legal li::before,
.footer-legal li::before {
  display: none !important;
  content: none !important;
}
ul.footer-legal a,
.footer-legal a {
  color: #7E8FA3 !important;
  font-size: 0.785rem !important;
  text-decoration: none !important;
  transition: color 0.15s ease !important;
}
ul.footer-legal a:hover,
.footer-legal a:hover {
  color: #38BDF8 !important;
  text-decoration: underline !important;
}

/* Footer CTAs and Action Buttons */
.footer-ctas {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 16px !important;
}
.site-footer .btn--secondary,
.site-footer .btn--light,
.footer-ctas .btn--secondary,
.footer-ctas .btn--light {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border: 1px solid #FFFFFF !important;
  font-weight: 600 !important;
}
.site-footer .btn--secondary:hover,
.site-footer .btn--light:hover,
.footer-ctas .btn--secondary:hover,
.footer-ctas .btn--light:hover {
  background: #F1F5F9 !important;
  color: #0284C7 !important;
  border-color: #FFFFFF !important;
}
.site-footer .btn--light-outline,
.footer-ctas .btn--light-outline {
  background: transparent !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
}
.site-footer .btn--light-outline:hover,
.footer-ctas .btn--light-outline:hover {
  border-color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

/* Responsive Footer */
@media (max-width: 900px) {
  .footer-grid,
  .footer-top {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px !important;
  }
  .footer-brand {
    grid-column: 1 / -1 !important;
  }
}
@media (max-width: 600px) {
  .footer-grid,
  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
}


/* ==========================================================================
   CANONICAL PRICING GRID & CARDS (Universal Styles)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 1080px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-inline: auto;
  }
}
.plan {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg, 14px);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.plan:hover {
  box-shadow: var(--shadow-md);
}
.plan--featured {
  border-color: var(--teal);
  box-shadow: 0 4px 20px rgba(14, 107, 99, 0.12);
}
.plan--featured::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: var(--gold);
  border-radius: var(--radius-lg, 14px) var(--radius-lg, 14px) 0 0;
}
.plan__header {
  margin-bottom: 12px;
  min-height: 90px;
}
.plan__eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--teal-900);
  margin-bottom: 4px;
}
.plan__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 6px;
}
.plan__for {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.plan__tag {
  position: absolute;
  top: 14px;
  inset-inline-end: 16px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--gold-050);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #EAD9B0;
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 12px 0 4px;
  padding-block: 10px;
  border-block: 1px solid var(--line);
}
.plan__price strong {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--heading);
}
.plan__quota {
  margin-block: 8px 14px;
  font-size: 12px;
  color: var(--ink-2);
  font-weight: 600;
}
.plan__quota em {
  display: block;
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}
.plan ul {
  list-style: none !important;
  margin: 16px 0 24px !important;
  padding: 0 !important;
  flex: 1 1 auto;
}
.plan li {
  position: relative;
  padding-inline-start: 20px;
  margin-bottom: 10px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
  list-style: none !important;
}
.plan li::before {
  content: "✓" !important;
  position: absolute;
  inset-inline-start: 0;
  color: var(--teal);
  font-weight: 700;
  font-size: 12px;
}
.plan-actions {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* Subtier toggle pills */
.plan-subtier-toggle {
  display: flex;
  gap: 6px;
  background: var(--surface);
  padding: 4px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin-bottom: 12px;
}
.subtier-btn {
  flex: 1;
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--muted);
  border-radius: 4px;
  cursor: pointer;
  transition: all .15s ease;
}
.subtier-btn.is-active {
  background: var(--paper);
  color: var(--heading);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* Subtier Ladder */
.subtier-ladder {
  display: grid;
  gap: 6px;
  background: var(--surface);
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin-bottom: 16px;
}
.subtier-step {
  display: grid;
  grid-template-columns: 8px auto 1fr auto;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: background .15s ease;
}
.subtier-step:hover, .subtier-step.is-active {
  background: var(--paper);
}
.subtier-step__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-strong);
}
.subtier-step.is-active .subtier-step__dot {
  background: var(--teal);
}
.subtier-step__name {
  font-weight: 600;
  color: var(--heading);
}
.subtier-step__price {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--teal-900);
}
.subtier-step__detail {
  grid-column: 2 / -1;
  font-size: 10.5px;
  color: var(--muted);
}
.subtier-sublink {
  text-align: center;
  margin-top: 8px;
  font-size: 11px;
}
.subtier-sublink a {
  color: var(--muted);
  text-decoration: underline;
}

/* Pilot Offer Callout on Cabinet card */
.pilot-offer-callout {
  background: var(--gold-050);
  border: 1px solid #EAD9B0;
  border-radius: var(--radius);
  padding: 12px;
  margin: 12px 0 16px;
}
.pilot-offer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.pilot-badge {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pilot-discount {
  font-size: 10px;
  font-weight: 700;
  background: #DC2626;
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
}
.pilot-price-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.pilot-price-line strong {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: #B45309;
}
.pilot-terms {
  font-size: 10.5px;
  color: var(--muted);
}
.pilot-note {
  font-size: 10.5px;
  color: #92400E;
  margin-top: 4px;
}

/* ==========================================================================
   VATMESH GLOBAL LAYOUT, PRICING RIBBON, AUTH GRID, BUTTON & FOOTER FIXES
   ========================================================================== */

/* 1. Pricing Card Ribbon / Tag — Never overlap card title or description */
.plan--featured {
  padding-top: 42px !important;
  border-color: var(--teal, #0E6B63) !important;
  box-shadow: 0 4px 20px rgba(14, 107, 99, 0.12) !important;
}
.plan__tag,
.plan__ribbon {
  position: relative !important;
  top: auto !important;
  inset-inline-end: auto !important;
  right: auto !important;
  left: auto !important;
  align-self: flex-start !important;
  display: inline-block !important;
  margin-bottom: 10px !important;
  color: var(--gold, #86682B) !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  background: var(--gold-050, #F7F1E2) !important;
  padding: 4px 10px !important;
  border-radius: 4px !important;
  border: 1px solid #EAD9B0 !important;
  line-height: 1.35 !important;
  z-index: 1 !important;
}
.pilot-offer-callout {
  background: var(--gold-050, #F7F1E2) !important;
  border: 1px solid #EAD9B0 !important;
  border-radius: var(--radius, 6px) !important;
  padding: 12px 14px !important;
  margin: 12px 0 16px !important;
}

/* 2. Signup & Signin Page Grid & Container Spacing */
main.signup-page-wrap,
main.auth-page-wrap,
#main.signup-page-wrap,
#main.auth-page-wrap,
.signup-page-wrap,
.auth-page-wrap {
  max-width: 1180px !important;
  width: min(100% - 48px, 1180px) !important;
  margin-inline: auto !important;
  padding-block: 48px !important;
  flex: 1 0 auto !important;
  box-sizing: border-box !important;
}
main.container,
#main.container,
main[class*="max-w-"],
#main[class*="max-w-"] {
  max-width: 1180px !important;
  width: min(100% - 48px, 1180px) !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
}
.signup-layout,
.auth-layout {
  display: grid !important;
  grid-template-columns: 1fr 1.15fr !important;
  gap: 40px !important;
  align-items: start !important;
  width: 100% !important;
}
@media (max-width: 960px) {
  .signup-layout,
  .auth-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}
.signup-showcase,
.signup-card,
.auth-card,
.auth-showcase {
  background: var(--paper, #FFFFFF) !important;
  border: 1px solid var(--line, #E2DDD1) !important;
  border-radius: 12px !important;
  padding: 32px !important;
  box-shadow: var(--shadow-sm) !important;
  box-sizing: border-box !important;
}
html[data-theme="dark"] .signup-showcase,
html[data-theme="dark"] .signup-card,
html[data-theme="dark"] .auth-card,
html[data-theme="dark"] .auth-showcase {
  background: rgba(13, 27, 46, 0.96) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* 3. Global Utility & Button Contrast Fallback */
.hidden,
[hidden] {
  display: none !important;
}

.btn--primary, a.btn--primary, button.btn--primary,
a.bg-blue-600, a.bg-blue-500, a.bg-cyan-600, a.bg-cyan-500,
a.bg-emerald-600, a.bg-emerald-500, a.bg-indigo-600,
button.bg-indigo-600, button.bg-blue-600, button.bg-emerald-600 {
  color: #FFFFFF !important;
  background-color: var(--teal, #0E6B63) !important;
  border-color: var(--teal, #0E6B63) !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}
.btn--primary:hover, a.btn--primary:hover, button.btn--primary:hover,
a.bg-blue-600:hover, a.bg-blue-500:hover, a.bg-cyan-600:hover, a.bg-cyan-500:hover,
a.bg-emerald-600:hover, a.bg-emerald-500:hover, a.bg-indigo-600:hover,
button.bg-indigo-600:hover, button.bg-blue-600:hover, button.bg-emerald-600:hover {
  color: #FFFFFF !important;
  background-color: var(--teal-900, #0A4F49) !important;
  border-color: var(--teal-900, #0A4F49) !important;
}
.btn--primary *, a.btn--primary *, button.btn--primary *,
a.bg-blue-600 *, a.bg-blue-500 *, a.bg-cyan-600 *, a.bg-cyan-500 *,
a.bg-emerald-600 *, a.bg-emerald-500 *, a.bg-indigo-600 *,
button.bg-indigo-600 *, button.bg-blue-600 *, button.bg-emerald-600 * {
  color: #FFFFFF !important;
}
.btn--block, a.btn--block, button.btn--block {
  width: 100% !important;
  display: inline-flex !important;
  justify-content: center !important;
}
.header-actions .btn--sm,
.header-actions a.btn--primary.btn--sm {
  padding: 9px 14px !important;
  font-size: 12.5px !important;
}

/* Adjacent CTA links/buttons inside flex containers always have gap: 12px */
.flex,
.inline-flex,
.hero__actions,
.cta-band__actions,
.dev__links,
.header-actions,
.stage-actions {
  gap: 12px;
}

/* 4. Executive Sovereign Navy Footer Specification */
.site-footer {
  background: linear-gradient(180deg, #071628 0%, #050E1B 100%) !important;
  color: #DCE7F3 !important;
  padding-block: 56px 28px !important;
  margin-top: 64px !important;
  border-top: 2px solid rgba(14, 107, 99, 0.45) !important;
  width: 100% !important;
  flex-shrink: 0 !important;
}
.site-footer > .container {
  width: min(100% - 48px, var(--container, 1180px)) !important;
  max-width: var(--container, 1180px) !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}
.footer-top,
.site-footer__grid,
.footer-grid {
  display: grid !important;
  grid-template-columns: 1.55fr repeat(4, 1fr) !important;
  gap: 36px !important;
  padding-bottom: 36px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
  align-items: start !important;
}
.footer-brand {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  margin: 0 !important;
  padding: 0 !important;
}
.footer-brand .footer-logo,
.footer-brand .brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 0 14px 0 !important;
  text-decoration: none !important;
  color: #FFFFFF !important;
  font-family: var(--serif, Georgia, serif) !important;
  font-weight: 700 !important;
  font-size: 1.25rem !important;
  line-height: 1.15 !important;
}
.footer-brand .brand img {
  width: 32px !important;
  height: 32px !important;
  padding: 5px !important;
  background: rgba(14, 107, 99, 0.28) !important;
  border: 1px solid rgba(95, 211, 198, 0.4) !important;
  border-radius: 8px !important;
  flex-shrink: 0 !important;
}
.footer-brand .brand span {
  color: #FFFFFF !important;
  display: block !important;
}
.footer-brand .brand small {
  display: block !important;
  font-family: var(--sans, sans-serif) !important;
  font-size: 9.5px !important;
  color: #5FD3C6 !important;
  font-weight: 700 !important;
  letter-spacing: 0.10em !important;
  text-transform: uppercase !important;
  margin-top: 3px !important;
  white-space: nowrap !important;
}
.footer-desc,
.footer-brand p {
  color: #9FB0C4 !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  max-width: 36ch !important;
  margin: 0 0 16px 0 !important;
}
.footer-col h4,
.footer-grid h4,
.site-footer__grid h4 {
  color: #FFFFFF !important;
  font-family: var(--sans, sans-serif) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  margin: 0 0 14px 0 !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
}
.footer-col a,
.footer-grid a,
.site-footer__grid a,
ul.footer-links a {
  color: #9FB0C4 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  transition: color 0.15s ease !important;
}
.footer-col a:hover,
.footer-grid a:hover,
.site-footer__grid a:hover,
ul.footer-links a:hover {
  color: #5FD3C6 !important;
  text-decoration: none !important;
}
.footer-ctas {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 4px !important;
}
.footer-ctas .btn,
.footer-ctas a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  padding: 8px 13px !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}
.site-footer .btn--light,
.footer-ctas .btn--light,
.site-footer .btn--secondary,
.footer-ctas .btn--secondary {
  background: #0E6B63 !important;
  color: #FFFFFF !important;
  border: 1px solid #158A80 !important;
}
.site-footer .btn--light:hover,
.footer-ctas .btn--light:hover,
.site-footer .btn--secondary:hover,
.footer-ctas .btn--secondary:hover {
  background: #128278 !important;
  color: #FFFFFF !important;
  border-color: #5FD3C6 !important;
}
.site-footer .btn--light-outline,
.footer-ctas .btn--light-outline {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #E2E8F0 !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}
.site-footer .btn--light-outline:hover,
.footer-ctas .btn--light-outline:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #FFFFFF !important;
  border-color: #FFFFFF !important;
}
.footer-legal-band {
  margin-top: 0 !important;
  padding-block: 16px !important;
  border-top: 0 !important;
  border-block-start: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.footer-bottom {
  padding-top: 18px !important;
  font-size: 12px !important;
  color: #7E8FA3 !important;
}
@media (max-width: 960px) {
  .footer-top,
  .footer-grid,
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px !important;
  }
  .footer-brand {
    grid-column: 1 / -1 !important;
  }
}
@media (max-width: 600px) {
  .footer-top,
  .footer-grid,
  .site-footer__grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* ==========================================================================
   5. CANONICAL FAQ, ACCORDION, SEARCH & CALLOUT COMPONENTS
   ========================================================================== */

.section--hero {
  position: relative;
  padding-block: 68px 56px !important;
  background:
    radial-gradient(850px 380px at 88% -5%, var(--gold-050, #F7F1E2), transparent 62%),
    radial-gradient(720px 380px at 8% 105%, var(--teal-050, #EDF5F2), transparent 62%),
    var(--ivory, #FBF8F1) !important;
  border-bottom: 1px solid var(--line, #E2DDD1) !important;
}

.faq-search,
input.faq-search,
#faq-search {
  display: block;
  width: min(100%, 560px) !important;
  margin-top: 24px !important;
  padding: 13px 18px 13px 44px !important;
  background-color: var(--paper, #FFFFFF) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%235D6E82' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: 15px center !important;
  border: 1.5px solid var(--line-strong, #CFC7B7) !important;
  border-radius: 10px !important;
  color: var(--ink, #0B1F3A) !important;
  font-size: 14.5px !important;
  box-shadow: 0 4px 14px rgba(11, 31, 58, 0.05) !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}
html[dir="rtl"] .faq-search,
html[dir="rtl"] #faq-search {
  padding: 13px 44px 13px 18px !important;
  background-position: calc(100% - 15px) center !important;
}
.faq-search:focus,
#faq-search:focus {
  outline: none !important;
  border-color: var(--teal, #0E6B63) !important;
  box-shadow: 0 0 0 3px rgba(14, 107, 99, 0.14), 0 4px 14px rgba(11, 31, 58, 0.06) !important;
}

#faq-markets .card,
#faq-market-facts .card {
  background: var(--paper, #FFFFFF) !important;
  border: 1px solid var(--line, #E2DDD1) !important;
  border-top: 3px solid var(--teal, #0E6B63) !important;
  border-radius: 10px !important;
  padding: 24px !important;
  box-shadow: 0 2px 8px rgba(11, 31, 58, 0.04) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important;
}
#faq-markets .card:hover,
#faq-market-facts .card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 24px -10px rgba(11, 31, 58, 0.12) !important;
}
#faq-markets .card h3 a {
  color: var(--ink, #0B1F3A) !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}
#faq-markets .card h3 a::after {
  content: "→";
  color: var(--teal, #0E6B63);
  font-family: var(--sans, sans-serif);
  font-weight: 700;
  transition: transform 0.15s ease;
}
#faq-markets .card:hover h3 a::after {
  transform: translateX(3px);
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 920px;
}
details.accordion-item {
  background: var(--paper, #FFFFFF) !important;
  border: 1px solid var(--line, #E2DDD1) !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 6px rgba(11, 31, 58, 0.04) !important;
  overflow: hidden !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease !important;
}
details.accordion-item:hover {
  border-color: var(--line-strong, #CFC7B7) !important;
}
details.accordion-item[open] {
  border-color: var(--teal, #0E6B63) !important;
  box-shadow: 0 8px 24px -8px rgba(14, 107, 99, 0.14) !important;
}
details.accordion-item > summary {
  list-style: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  padding: 20px 24px !important;
  cursor: pointer !important;
  font-family: var(--sans, sans-serif) !important;
  font-size: 1.02rem !important;
  font-weight: 650 !important;
  line-height: 1.4 !important;
  color: var(--ink, #0B1F3A) !important;
  background: var(--paper, #FFFFFF) !important;
  user-select: none !important;
  transition: background-color 0.15s ease !important;
}
details.accordion-item > summary::-webkit-details-marker,
details.accordion-item > summary::marker {
  display: none !important;
  content: "" !important;
}
details.accordion-item > summary:hover {
  background: #FCFBF7 !important;
}
details.accordion-item > summary::after {
  content: "+" !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  background: var(--teal-050, #EDF5F2) !important;
  border: 1px solid #CBE4D8 !important;
  color: var(--teal-900, #0A4F49) !important;
  font-family: var(--mono, monospace) !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
  transition: all 0.18s ease !important;
}
details.accordion-item[open] > summary {
  border-bottom: 1px solid var(--surface, #F4F1E9) !important;
  color: var(--teal-900, #0A4F49) !important;
}
details.accordion-item[open] > summary::after {
  content: "−" !important;
  background: var(--teal, #0E6B63) !important;
  border-color: var(--teal, #0E6B63) !important;
  color: #FFFFFF !important;
}
.accordion-body {
  padding: 18px 24px 22px 24px !important;
  background: var(--paper, #FFFFFF) !important;
  color: var(--text, #24374D) !important;
  font-size: 0.955rem !important;
  line-height: 1.72 !important;
}
.accordion-body p {
  margin: 0 !important;
  color: var(--text, #24374D) !important;
  max-width: 78ch !important;
}

.callout {
  padding: 22px 26px !important;
  border-radius: 10px !important;
  border: 1px solid var(--line, #E2DDD1) !important;
  border-inline-start: 4px solid var(--teal, #0E6B63) !important;
  background: var(--surface, #F4F1E9) !important;
  margin-bottom: 20px !important;
}
.callout--info {
  border-inline-start-color: var(--teal, #0E6B63) !important;
  background: var(--teal-050, #EDF5F2) !important;
  border-color: #CBE4D8 !important;
}
.callout__title {
  font-weight: 700 !important;
  color: var(--ink, #0B1F3A) !important;
  font-size: 0.98rem !important;
  margin-bottom: 6px !important;
}


/* Arabic and RTL enhancements for Modals and Forms */
html[dir="rtl"] .vm-modal__panel {
  text-align: right;
  direction: rtl;
}

html[dir="rtl"] .vm-modal__close {
  inset-inline-end: auto;
  inset-inline-start: 14px;
}

html[dir="rtl"] .field label {
  text-align: right;
}

html[dir="rtl"] .field input,
html[dir="rtl"] .field select,
html[dir="rtl"] .field textarea {
  text-align: right;
  direction: rtl;
}

html[dir="rtl"] .field select {
  background-position: left 12px center;
}

html[dir="rtl"] .form-note,
html[dir="rtl"] .form-status {
  text-align: right;
  direction: rtl;
}

html[dir="rtl"] .vm-auth__tabs {
  direction: rtl;
}

html[dir="rtl"] .vm-auth__tab {
  text-align: right;
}


/* Universal Mobile Navigation & Overflow Enforcement */
@media (max-width: 900px) {
  .site-nav, .site-nav--ia { display: none !important; }
  .nav-toggle { display: inline-flex !important; }
  .header-actions .lang-select,
  .header-actions .lang-select--ia,
  .header-actions .nav-cta,
  .header-actions a.btn,
  .header-actions button.btn:not(.theme-toggle):not(.nav-toggle) {
    display: none !important;
  }
  .header-actions, .header-actions--ia {
    margin-inline-start: auto !important;
    gap: 8px !important;
  }
  /* Prevent horizontal document blowout */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
  .auth-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    width: 100% !important;
  }
  .auth-page-wrap, main.auth-page-wrap, #main.auth-page-wrap {
    width: calc(100% - 32px) !important;
    padding-block: 24px !important;
  }
}


/* ==========================================================================
   Comparison Pillars — "Pourquoi VATMesh surpasse les logiciels..."
   ========================================================================== */

.comp-pillars {
  display: grid;
  gap: 24px;
  margin-top: 36px;
}

.comp-pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper, #FFFFFF);
  border: 1px solid var(--line, #E2DDD1);
  border-radius: var(--radius-lg, 14px);
  padding: 32px 28px;
  box-shadow: 0 4px 16px -4px rgba(11, 31, 58, 0.05);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.comp-pillar:hover {
  transform: translateY(-2px);
  border-color: var(--teal, #0E6B63);
  box-shadow: 0 12px 28px -6px rgba(14, 107, 99, 0.12);
}

.comp-pillar__badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-family: var(--mono, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-900, #0A4D46);
  background: var(--teal-050, #E6F3F1);
  border: 1px solid var(--teal-050-line, #CCE7E3);
  padding: 4px 10px;
  border-radius: var(--radius-pill, 999px);
  margin-bottom: 16px;
}

.comp-pillar h3 {
  font-family: var(--serif, 'Source Serif 4', Georgia, serif);
  font-size: 19px;
  line-height: 1.35;
  color: var(--heading, #0B1F3A);
  font-weight: 700;
  margin: 0 0 12px 0;
}

.comp-pillar p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2, #334155);
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.comp-pillar__tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-family: var(--mono, monospace);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted, #64748B);
  background: var(--surface, #F4F1E9);
  border: 1px solid var(--line, #E2DDD1);
  padding: 5px 12px;
  border-radius: 6px;
}

/* Featured / Middle Pillar (Corridors Transfrontaliers) */
.comp-pillar--featured {
  border-color: var(--teal, #0E6B63);
  border-width: 1.5px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAF9 100%);
  box-shadow: 0 8px 24px -6px rgba(14, 107, 99, 0.14);
}

.comp-pillar--featured .comp-pillar__badge {
  color: #FFFFFF;
  background: var(--teal, #0E6B63);
  border-color: var(--teal, #0E6B63);
}

.comp-pillar--featured .comp-pillar__tag {
  color: var(--teal-900, #0A4D46);
  background: var(--teal-050, #E6F3F1);
  border-color: var(--teal-050-line, #CCE7E3);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .comp-pillars {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .comp-pillar {
    padding: 24px 20px !important;
  }
  .comp-pillar h3 {
    font-size: 17.5px !important;
  }
  .comp-pillar p {
    font-size: 13.5px !important;
  }
}
/* VATMesh Mobile & Responsive Recovery Pack */

/* 1. Prevent word-break from breaking every single word into single letters in tables */
html[data-vm-legacy] body {
  overflow-wrap: break-word;
}

html[data-vm-legacy] table,
.vatmesh-table,
table {
  word-break: normal;
  overflow-wrap: normal;
}

/* 2. Responsive Tables across all pages (Cookies, Audit, Legal, Cockpit) */
.overflow-x-auto {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  display: block;
}

table {
  min-width: 600px;
}

@media (max-width: 640px) {
  table th, table td {
    white-space: normal;
  }
  
  /* Prevent single-character vertical column collapse */
  table th {
    min-width: 120px;
  }
  table td:first-child, table th:first-child {
    min-width: 140px;
  }
}

/* 3. Global Container on Mobile (Homepage & all Landing pages) */
@media (max-width: 768px) {
  .container, 
  .container--narrow,
  #main,
  main {
    width: 100% !important;
    max-width: 100% !important;
    padding-inline: 16px !important;
    box-sizing: border-box !important;
  }

  /* Grid layout fluid stacks */
  .grid,
  .grid--2,
  .grid--3,
  .grid--4,
  .pricing-grid,
  .hero__grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 16px !important;
  }

  .card, 
  .comp-pillar,
  .plan {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* ==========================================================================
   Live Status Indicators & Pulsing Dots
   ========================================================================== */
@keyframes vm-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.85);
  }
}

.animate-pulse {
  animation: vm-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite !important;
}

.status-dot,
.live-dot,
span.animate-pulse,
span[class*="rounded-full"][class*="w-"] {
  display: inline-block !important;
  border-radius: 9999px !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  border: none !important;
  line-height: 1 !important;
}

.w-1\.5 { width: 6px !important; min-width: 6px !important; height: 6px !important; min-height: 6px !important; }
.h-1\.5 { height: 6px !important; min-height: 6px !important; }
.w-2 { width: 8px !important; min-width: 8px !important; height: 8px !important; min-height: 8px !important; }
.h-2 { height: 8px !important; min-height: 8px !important; }
.w-2\.5 { width: 10px !important; min-width: 10px !important; height: 10px !important; min-height: 10px !important; }
.h-2\.5 { height: 10px !important; min-height: 10px !important; }
.rounded-full { border-radius: 9999px !important; }

.bg-emerald-400, .bg-emerald-500, .bg-emerald-600 { background-color: #10B981 !important; }
.bg-red-400, .bg-red-500, .bg-red-600 { background-color: #EF4444 !important; }
.bg-blue-400, .bg-blue-500, .bg-blue-600 { background-color: #3B82F6 !important; }
.bg-amber-400, .bg-amber-500, .bg-amber-600 { background-color: #F59E0B !important; }
.bg-teal-400, .bg-teal-500, .bg-teal-600 { background-color: #14B8A6 !important; }
.bg-cyan-400, .bg-cyan-500, .bg-cyan-600 { background-color: #06B6D4 !important; }
.bg-sky-400, .bg-sky-500, .bg-sky-600 { background-color: #0EA5E9 !important; }



/* ==========================================================================
   VATMesh Universal Layout & Component Utility Bridge (Fiduciary Daylight)
   Guarantees all pages with grid, cards, flex, code payload & spacing render
   consistently with 1180px container standards and institutional aesthetics.
   ========================================================================== */

/* 1. Container & Max Width Alignment */
main#main.max-w-7xl,
main.max-w-7xl,
.max-w-7xl {
  width: min(100% - 48px, 1180px) !important;
  max-width: 1180px !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
}

.max-w-3xl { max-width: 768px !important; margin-inline: auto !important; }
.max-w-xl { max-width: 576px !important; margin-inline: auto !important; }
.max-w-2xl { max-width: 672px !important; margin-inline: auto !important; }
.max-w-4xl { max-width: 896px !important; margin-inline: auto !important; }
.max-w-5xl { max-width: 1024px !important; margin-inline: auto !important; }
.max-w-6xl { max-width: 1152px !important; margin-inline: auto !important; }
.w-full { width: 100% !important; }
.w-8 { width: 32px !important; }
.h-8 { height: 32px !important; }
.w-10 { width: 40px !important; }
.h-10 { height: 40px !important; }
.w-12 { width: 48px !important; }
.h-12 { height: 48px !important; }
.w-16 { width: 64px !important; }
.h-16 { height: 64px !important; }
.mx-auto { margin-inline: auto !important; }

/* 2. Display & Flexbox */
.flex { display: flex !important; }
.inline-flex { display: inline-flex !important; }
.flex-col { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }
.flex-1 { flex: 1 1 0% !important; }
.items-center { align-items: center !important; }
.items-start { align-items: flex-start !important; }
.items-end { align-items: flex-end !important; }
.justify-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }
.justify-start { justify-content: flex-start !important; }
.justify-end { justify-content: flex-end !important; }

/* 3. Grid Systems */
.grid { display: grid !important; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .sm\:flex-row { flex-direction: row !important; }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .md\:flex-row { flex-direction: row !important; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

/* 4. Gaps */
.gap-1 { gap: 4px !important; }
.gap-1\.5 { gap: 6px !important; }
.gap-2 { gap: 8px !important; }
.gap-2\.5 { gap: 10px !important; }
.gap-3 { gap: 12px !important; }
.gap-4 { gap: 16px !important; }
.gap-5 { gap: 20px !important; }
.gap-6 { gap: 24px !important; }
.gap-8 { gap: 32px !important; }
.gap-10 { gap: 40px !important; }
.gap-12 { gap: 48px !important; }

/* 5. Spacing (Padding & Margins) */
.p-1 { padding: 4px !important; }
.p-2 { padding: 8px !important; }
.p-3 { padding: 12px !important; }
.p-4 { padding: 16px !important; }
.p-5 { padding: 20px !important; }
.p-6 { padding: 24px !important; }
.p-8 { padding: 32px !important; }
.p-10 { padding: 40px !important; }
.p-12 { padding: 48px !important; }

.px-2 { padding-inline: 8px !important; }
.px-3 { padding-inline: 12px !important; }
.px-3\.5 { padding-inline: 14px !important; }
.px-4 { padding-inline: 16px !important; }
.px-5 { padding-inline: 20px !important; }
.px-6 { padding-inline: 24px !important; }
.px-8 { padding-inline: 32px !important; }

.py-1 { padding-block: 4px !important; }
.py-1\.5 { padding-block: 6px !important; }
.py-2 { padding-block: 8px !important; }
.py-2\.5 { padding-block: 10px !important; }
.py-3 { padding-block: 12px !important; }
.py-4 { padding-block: 16px !important; }
.py-6 { padding-block: 24px !important; }
.py-8 { padding-block: 32px !important; }
.py-10 { padding-block: 40px !important; }
.py-12 { padding-block: 48px !important; }
.py-16 { padding-block: 64px !important; }

@media (min-width: 640px) {
  .sm\:p-6 { padding: 24px !important; }
  .sm\:p-8 { padding: 32px !important; }
  .sm\:px-6 { padding-inline: 24px !important; }
  .sm\:py-16 { padding-block: 64px !important; }
}

.mb-1 { margin-bottom: 4px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 12px !important; }
.mb-4 { margin-bottom: 16px !important; }
.mb-6 { margin-bottom: 24px !important; }
.mb-8 { margin-bottom: 32px !important; }
.mb-10 { margin-bottom: 40px !important; }
.mb-12 { margin-bottom: 48px !important; }

.mt-1 { margin-top: 4px !important; }
.mt-2 { margin-top: 8px !important; }
.mt-3 { margin-top: 12px !important; }
.mt-4 { margin-top: 16px !important; }
.mt-6 { margin-top: 24px !important; }
.mt-8 { margin-top: 32px !important; }

.space-y-2 > * + * { margin-top: 8px !important; }
.space-y-2\.5 > * + * { margin-top: 10px !important; }
.space-y-3 > * + * { margin-top: 12px !important; }
.space-y-4 > * + * { margin-top: 16px !important; }
.space-y-6 > * + * { margin-top: 24px !important; }
.space-y-8 > * + * { margin-top: 32px !important; }

/* 6. Borders & Radii */
.border { border: 1px solid var(--line, #E2DDD1) !important; }
.border-t { border-top: 1px solid var(--line, #E2DDD1) !important; }
.border-b { border-bottom: 1px solid var(--line, #E2DDD1) !important; }
.border-slate-200 { border-color: #E2E8F0 !important; }
.border-slate-300 { border-color: #CBD5E1 !important; }
.border-slate-700 { border-color: #334155 !important; }
.border-cyan-500\/20 { border-color: rgba(6, 182, 212, 0.25) !important; }
.border-cyan-500\/30 { border-color: rgba(6, 182, 212, 0.35) !important; }
.border-cyan-500\/40 { border-color: rgba(6, 182, 212, 0.45) !important; }
.border-emerald-500\/20 { border-color: rgba(16, 185, 129, 0.25) !important; }
.border-indigo-500\/20 { border-color: rgba(99, 102, 241, 0.25) !important; }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1) !important; }
.border-white\/15 { border-color: rgba(255, 255, 255, 0.15) !important; }

.rounded-lg { border-radius: 8px !important; }
.rounded-xl { border-radius: 12px !important; }
.rounded-2xl { border-radius: 16px !important; }
.rounded-3xl { border-radius: 24px !important; }

/* 7. Backgrounds & Institutional Panels */
.bg-white {
  background-color: var(--paper, #FFFFFF) !important;
}
.bg-slate-50 {
  background-color: var(--bg-2, #F8FAFC) !important;
}
.bg-slate-100 {
  background-color: #F1F5F9 !important;
}
.bg-white\/5 {
  background-color: rgba(255, 255, 255, 0.05) !important;
}
.bg-white\/10 {
  background-color: rgba(255, 255, 255, 0.1) !important;
}
.bg-white\/15 {
  background-color: rgba(255, 255, 255, 0.15) !important;
}
.bg-cyan-500\/10 {
  background-color: rgba(6, 182, 212, 0.1) !important;
}
.bg-emerald-500\/10 {
  background-color: rgba(16, 185, 129, 0.1) !important;
}
.bg-indigo-500\/10 {
  background-color: rgba(99, 102, 241, 0.1) !important;
}

/* Code & Payload Panels */
.bg-\[\#F8FAFC\] {
  background-color: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

html[data-theme="dark"] .bg-\[\#F8FAFC\] {
  background-color: #0A1320 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #CBD5E1 !important;
}

/* Gradients */
.bg-gradient-to-r.from-cyan-500\/10.to-emerald-500\/10 {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%) !important;
}
.bg-gradient-to-r.from-cyan-500.to-blue-600 {
  background: linear-gradient(135deg, #06B6D4 0%, #2563EB 100%) !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
}
.bg-gradient-to-r.from-cyan-500.to-blue-600:hover {
  filter: brightness(1.05) !important;
}

.bg-gradient-to-br.from-\[\#0D1625\].via-\[\#131F33\].to-\[\#0D1625\] {
  background: linear-gradient(135deg, #0D1625 0%, #131F33 50%, #0D1625 100%) !important;
  color: #F1F5F9 !important;
  border-radius: 16px !important;
  border: 1px solid rgba(6, 182, 212, 0.25) !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2) !important;
}

.bg-gradient-to-r.from-cyan-950\/60.via-blue-950\/40.to-indigo-950\/60 {
  background: linear-gradient(135deg, #06182B 0%, #0A1E3F 50%, #111A3E 100%) !important;
  color: #FFFFFF !important;
  border-radius: 16px !important;
  border: 1px solid rgba(6, 182, 212, 0.35) !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2) !important;
}
.bg-gradient-to-r.from-cyan-950\/60.via-blue-950\/40.to-indigo-950\/60 h2,
.bg-gradient-to-r.from-cyan-950\/60.via-blue-950\/40.to-indigo-950\/60 p {
  color: #FFFFFF !important;
}

/* 8. Typography, Font Weights & Text Colors */
.text-xs { font-size: 12px !important; }
.text-\[11px\] { font-size: 11px !important; }
.text-sm { font-size: 14px !important; }
.text-base { font-size: 16px !important; }
.text-lg { font-size: 18px !important; }
.text-xl { font-size: 20px !important; }
.text-2xl { font-size: 24px !important; }
.text-3xl { font-size: 30px !important; }
.text-4xl { font-size: 36px !important; }
.text-5xl { font-size: 48px !important; }

@media (min-width: 640px) {
  .sm\:text-sm { font-size: 14px !important; }
  .sm\:text-base { font-size: 16px !important; }
  .sm\:text-3xl { font-size: 30px !important; }
  .sm\:text-5xl { font-size: 48px !important; }
}

.font-mono { font-family: var(--font-mono, 'JetBrains Mono', ui-monospace, monospace) !important; }
.font-bold { font-weight: 700 !important; }
.font-extrabold { font-weight: 800 !important; }
.font-semibold { font-weight: 600 !important; }
.font-medium { font-weight: 500 !important; }

.leading-tight { line-height: 1.25 !important; }
.leading-relaxed { line-height: 1.625 !important; }
.tracking-tight { letter-spacing: -0.02em !important; }
.tracking-wider { letter-spacing: 0.05em !important; }
.uppercase { text-transform: uppercase !important; }
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

.text-white { color: #FFFFFF !important; }
.text-slate-400 { color: #94A3B8 !important; }
.text-slate-500 { color: #64748B !important; }
.text-slate-600 { color: #475569 !important; }
.text-slate-700 { color: #334155 !important; }
.text-slate-800 { color: #1E293B !important; }
.text-slate-900 { color: #0F172A !important; }

.text-cyan-400 { color: #22D3EE !important; }
.text-cyan-700 { color: #0E7490 !important; }
.text-emerald-400 { color: #34D399 !important; }
.text-emerald-700 { color: #047857 !important; }
.text-indigo-700 { color: #4338CA !important; }
.text-blue-700 { color: #1D4ED8 !important; }

.vm-ink { color: var(--ink, #0D1625) !important; }
.vm-body { color: var(--text, #24374D) !important; }
.vm-on-dark { color: #D1D5DB !important; }
.vm-on-dark strong { color: #FFFFFF !important; }

/* 9. Interactive Effects & Shadows */
.shadow-sm { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important; }
.shadow { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06) !important; }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important; }
.shadow-cyan-500\/20 { box-shadow: 0 10px 25px -5px rgba(6, 182, 212, 0.25) !important; }
.transition { transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1) !important; }
.hover\:opacity-95:hover { opacity: 0.95 !important; }
.hover\:bg-white\/10:hover { background-color: rgba(255, 255, 255, 0.1) !important; }
.hover\:bg-white\/15:hover { background-color: rgba(255, 255, 255, 0.15) !important; }

/* 10. Dark Theme Adaptations */
html[data-theme="dark"] .bg-white {
  background-color: var(--paper, #101B2B) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
html[data-theme="dark"] .border-slate-200 {
  border-color: rgba(255, 255, 255, 0.1) !important;
}
html[data-theme="dark"] .text-slate-600 {
  color: #94A3B8 !important;
}
html[data-theme="dark"] .text-slate-700 {
  color: #CBD5E1 !important;
}
html[data-theme="dark"] .text-slate-800 {
  color: #E2E8F0 !important;
}


/* Honest Partial Translation Banner */
.vm-lang-notice {
  display: none !important;
}
.vm-lang-notice.is-visible {
  display: block !important;
  padding: 12px 16px !important;
  background: var(--gold-050, #FDF9EE) !important;
  border-bottom: 1px solid var(--line, #E2DDD1) !important;
  color: var(--ink-2, #2D3748) !important;
  font-size: 13.5px !important;
  line-height: 1.5 !important;
  text-align: center !important;
  font-weight: 500 !important;
}
html[data-theme="dark"] .vm-lang-notice.is-visible {
  background: #1E293B !important;
  border-bottom: 1px solid #334155 !important;
  color: #F8FAFC !important;
}
