/* ============================================================
   Immediate Xgen Ai — main stylesheet (hand-written, no framework)
   THEME: dark | ACCENT: #00d492 (mint-signal green)
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #0a1424;
  --bg-deep: #08101c;
  --surface: #101d31;
  --surface-2: #15243a;
  --border: #24374f;
  --border-strong: #33506f;
  --text: #e8eef6;
  --text-muted: #a2b2c6;
  --text-faint: #7f92a8;
  --accent: #00d492;
  --accent-hover: #2fe0a6;
  --accent-tint: rgba(0, 212, 146, 0.12);
  --accent-tint-strong: rgba(0, 212, 146, 0.22);
  --danger: #f26d6d;
  --danger-tint: rgba(242, 109, 109, 0.14);
  --chip-light: #ffffff;
  --chip-dark: #0f172a;

  --font-sans: "Segoe UI", "SF Pro Text", -apple-system, BlinkMacSystemFont, Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;

  --fs-h1: clamp(2rem, 3.6vw + 1rem, 3.25rem);
  --fs-h2: clamp(1.55rem, 2.2vw + 0.9rem, 2.35rem);
  --fs-h3: 1.18rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-tiny: 0.78rem;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(4, 10, 20, 0.4), 0 2px 6px rgba(4, 10, 20, 0.3);
  --shadow-md: 0 1px 2px rgba(4, 10, 20, 0.35), 0 10px 28px rgba(4, 10, 20, 0.45);
  --shadow-lg: 0 2px 4px rgba(4, 10, 20, 0.4), 0 18px 50px rgba(4, 10, 20, 0.55);

  --container: 1200px;
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe, video, canvas { max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.6em; font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: 0; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
ul, ol { padding-left: 1.3em; }
strong { color: var(--text); }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--accent); color: #06120d; padding: 10px 16px;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }
::selection { background: var(--accent-tint-strong); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

/* ---------- 3. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 16, 28, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 180ms var(--ease), background 180ms var(--ease);
}
.site-header.is-scrolled { background: rgba(8, 16, 28, 0.98); box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; color: var(--text); }
.brand__mark { display: inline-flex; flex: none; }
.brand__word { font-size: 1.12rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand__word strong { color: var(--accent); font-weight: 700; }

.primary-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link--trigger {
  display: inline-flex; align-items: center; gap: 5px;
  background: none; border: 0; cursor: pointer;
  color: var(--text-muted); font: inherit; font-size: 0.95rem; font-weight: 600;
  padding: 10px 12px; border-radius: var(--radius-sm);
  transition: color 150ms var(--ease), background 150ms var(--ease);
}
.nav-link--trigger:hover, .nav-link--trigger[aria-expanded="true"] { color: var(--text); background: var(--surface-2); }
.nav-item.is-current > .nav-link--trigger { color: var(--accent); }
.nav-caret { display: inline-flex; transition: transform 160ms var(--ease); }
.nav-link--trigger[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.nav-cta-mobile { display: none; }

.dropdown {
  position: absolute; top: calc(100% - 6px); left: 0; z-index: 110;
  min-width: 250px; max-width: 320px; margin: 0; padding: 8px;
  list-style: none;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(-4px); visibility: hidden; pointer-events: none;
  transition: opacity 150ms var(--ease), transform 150ms var(--ease), visibility 150ms;
}
.nav-item--group { position: relative; }
.nav-item--group.is-open > .dropdown,
.nav-item--group:focus-within > .dropdown {
  opacity: 1; transform: translateY(0); visibility: visible; pointer-events: auto;
}
.dropdown::before {
  content: ""; position: absolute; top: -6px; left: 26px;
  width: 10px; height: 10px; transform: rotate(45deg);
  background: var(--bg-deep);
  border-left: 1px solid var(--border); border-top: 1px solid var(--border);
}
/* keep the last group's dropdown inside the viewport edge */
.nav-item--group:last-child .dropdown { left: auto; right: 0; }
.nav-item--group:last-child .dropdown::before { left: auto; right: 26px; }
.dropdown__link {
  display: block; padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--text); font-size: 0.92rem; line-height: 1.35;
  transition: background 130ms var(--ease), color 130ms var(--ease);
}
.dropdown__link:hover, .dropdown__link:focus-visible { background: var(--accent-tint); text-decoration: none; }
.dropdown__link.is-current { color: var(--accent); }

.header-cta { margin-left: 8px; flex: none; }
.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); cursor: pointer; padding: 8px; line-height: 0;
}
.nav-toggle:hover { background: var(--surface-2); }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    display: none;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .primary-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 10px; }
  .nav-item--group { position: static; border-bottom: 1px solid var(--border); }
  .nav-item--group:last-child { border-bottom: 0; }
  .nav-link--trigger { width: 100%; justify-content: space-between; border-radius: var(--radius-sm); padding: 13px 12px; font-size: 1rem; }
  .dropdown {
    position: static; visibility: visible; opacity: 1; pointer-events: auto;
    display: none; max-width: none;
    transform: none; border: 0; box-shadow: none; background: transparent;
    border-radius: 0; padding: 0 0 8px; min-width: 0;
  }
  .nav-item--group.is-open > .dropdown, .nav-item--group:focus-within > .dropdown { display: block; }
  .dropdown::before { display: none; }
  .dropdown__link { padding: 11px 14px 11px 22px; }
  .nav-cta-mobile { display: block; padding: 12px 8px 4px; border-bottom: 0 !important; }
  .nav-cta-mobile .btn { width: 100%; }
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; min-height: 46px;
  border-radius: 10px; border: 1px solid transparent;
  font-weight: 700; font-size: 0.98rem; line-height: 1.2; white-space: nowrap;
  cursor: pointer; text-decoration: none;
  transition: background 150ms var(--ease), transform 150ms var(--ease),
    box-shadow 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--accent); color: #06120d; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-hover); box-shadow: 0 6px 18px rgba(0, 212, 146, 0.25); }
.btn--secondary { background: transparent; color: var(--accent); border-color: var(--border-strong); }
.btn--secondary:hover { border-color: var(--accent); background: var(--accent-tint); }
.btn--block { width: 100%; }

/* ---------- 5. Sections & decoration ---------- */
.section { padding: clamp(48px, 7vw, 84px) 0; position: relative; }
.section--tint {
  background:
    radial-gradient(1000px 420px at 85% -10%, var(--accent-tint) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section--mesh {
  background-image:
    radial-gradient(900px 380px at 12% 0%, rgba(47, 96, 160, 0.14) 0%, transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%2324374f' stroke-opacity='0.5'%3E%3Ccircle cx='10' cy='14' r='1.2'/%3E%3Ccircle cx='70' cy='6' r='1.2'/%3E%3Ccircle cx='34' cy='66' r='1.2'/%3E%3Ccircle cx='98' cy='58' r='1.2'/%3E%3Ccircle cx='58' cy='106' r='1.2'/%3E%3Cpath d='M10 14 70 6m-36 60L10 14m60-8 38 52M34 66l64-8M34 66l24 40m40-48-40 48'/%3E%3C/g%3E%3C/svg%3E");
  background-size: auto, 120px 120px;
}
.section-lead { color: var(--text-muted); max-width: 62ch; margin-bottom: 2rem; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-tiny); font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  margin: 0 0 14px;
}

/* ---------- 6. Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 24px;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.card h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.card p { color: var(--text-muted); margin: 0; }
.card p a, .card li a { color: var(--accent); }

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; flex: none;
  background: var(--accent-tint);
  border-radius: 13px;
  color: var(--accent);
}
.icon-badge svg { width: 26px; height: 26px; }
.card h3 .icon-badge { width: 44px; height: 44px; }
.card h3 .icon-badge svg { width: 22px; height: 22px; }

/* numbered steps: small accent circle */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 22px; transition: transform 180ms var(--ease), box-shadow 180ms var(--ease); }
.step:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: #06120d;
  font-weight: 800; font-size: 0.92rem; counter-increment: step;
}
.step__num::before { content: counter(step); }
.step h3 { margin: 14px 0 8px; font-size: 1.05rem; }
.step p { color: var(--text-muted); margin: 0; font-size: 0.94rem; }

/* ---------- 7. Hero (home) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(44px, 6vw, 76px) 0 clamp(48px, 6vw, 80px);
  background: var(--bg-deep);
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  will-change: transform;
}
.hero__bg--static { background-image: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 100%); }
.hero__motif { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; opacity: 0.55; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  grid-template-areas: "title form" "desc form";
  column-gap: clamp(24px, 4vw, 56px); row-gap: 4px; align-items: start;
}
.hero__title-part { grid-area: title; }
.hero__desc-part { grid-area: desc; }
.hero__form-col { grid-area: form; }
.hero__flags { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--text-muted); font-size: var(--fs-small); }
.hero__flags .flag-svg { width: 26px; height: 26px; border-radius: 6px; box-shadow: var(--shadow-sm); display: inline-flex; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-tint); color: var(--accent);
  border: 1px solid var(--accent-tint-strong);
  border-radius: 999px; padding: 6px 14px;
  font-size: var(--fs-tiny); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  margin: 0 0 16px;
}
.hero h1 { margin-bottom: 16px; }
.hero__sub { color: var(--text-muted); font-size: 1.06rem; max-width: 54ch; margin-bottom: 22px; }
.hero__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__link {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 16px;
  color: var(--text); font-weight: 600; font-size: var(--fs-small);
  box-shadow: var(--shadow-sm);
  transition: border-color 150ms var(--ease), background 150ms var(--ease), transform 150ms var(--ease);
}
.hero__link:hover { text-decoration: none; border-color: var(--accent); background: var(--surface-2); transform: translateY(-1px); }
.hero__link .icon-badge { width: 34px; height: 34px; border-radius: 9px; }
.hero__link .icon-badge svg { width: 18px; height: 18px; }

.hero__form-col .form-block { box-shadow: var(--shadow-lg); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; grid-template-areas: "title" "form" "desc"; }
}

/* form block */
.form-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(18px, 3vw, 28px);
  scroll-margin-top: 90px;
}
.form-block__heading { font-weight: 700; font-size: 1.06rem; margin: 0 0 10px; color: var(--text); }
.form-block__intro { color: var(--text-muted); font-size: var(--fs-small); margin: 0 0 10px; }
.form-block__note { color: var(--accent); font-size: var(--fs-small); font-weight: 600; margin: 12px 0 0; }
.form-legal { color: var(--text-faint); font-size: var(--fs-tiny); margin: 12px 0 0; }
.form-legal a { color: var(--text-muted); text-decoration: underline; }
.form-block form { margin: 0; }
.form-block form > * { margin-bottom: 10px; }
.form-block label { display: block; font-size: var(--fs-small); color: var(--text-muted); margin-bottom: 5px; font-weight: 600; }
.form-block input[type="text"], .form-block input[type="email"], .form-block input[type="tel"],
.form-block input[type="password"], .form-block select {
  width: 100%; min-height: 46px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 10px 14px;
  font: inherit;
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.form-block input:focus, .form-block select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint-strong);
}
.form-block button[type="submit"], .form-block input[type="submit"], .form-block .ff-submit {
  width: 100%; min-height: 48px;
  background: var(--accent); color: #06120d;
  border: 0; border-radius: 10px;
  font: inherit; font-weight: 800; font-size: 1rem;
  cursor: pointer;
  transition: background 150ms var(--ease), transform 150ms var(--ease);
}
.form-block button[type="submit"]:hover, .form-block input[type="submit"]:hover, .form-block .ff-submit:hover {
  background: var(--accent-hover); transform: translateY(-1px);
}

/* ---------- 8. Exchange logo chips ---------- */
.chip-row {
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: stretch; justify-content: center;
}
.chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 168px; height: 58px; padding: 12px 18px;
  background: var(--chip-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.chip--dark { background: var(--chip-dark); }
.chip img { height: 27px; width: auto; max-width: 100%; }

/* ---------- 9. Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border); box-shadow: var(--shadow-md); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; min-width: 640px; }
table.data caption { text-align: left; font-weight: 700; padding: 16px; color: var(--text); }
table.data th, table.data td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.94rem; vertical-align: top; }
table.data thead th { background: var(--surface-2); color: var(--text); font-size: 0.86rem; letter-spacing: 0.04em; text-transform: uppercase; }
table.data tbody tr:nth-child(even) { background: rgba(21, 36, 58, 0.5); }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td:first-child { font-weight: 600; }
.yes { color: var(--accent); font-weight: 800; }
.no { color: var(--danger); font-weight: 800; }

/* comparison table */
.compare th:first-child, .compare td:first-child { width: 34%; }
.compare th:nth-child(2), .compare td:nth-child(2) { background: rgba(0, 212, 146, 0.07); }

/* ---------- 10. Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.review { display: flex; flex-direction: column; gap: 12px; }
.review__head { display: flex; align-items: center; gap: 12px; }
.review__photo { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--border-strong); flex: none; object-fit: cover; }
.review__name { font-weight: 700; margin: 0; }
.review__job { color: var(--text-faint); font-size: var(--fs-tiny); margin: 0; }
.review__stats { display: flex; flex-wrap: wrap; gap: 8px; }
.stat-pill { background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; font-size: var(--fs-tiny); color: var(--text-muted); }
.stat-pill strong { color: var(--accent); }
.review__stars { color: var(--accent); letter-spacing: 3px; font-size: 0.9rem; }
.reviews-note { color: var(--text-faint); font-size: var(--fs-tiny); margin-top: 14px; }

/* ---------- 11. Split layout ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- 12. Inner page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(760px 340px at 88% -12%, var(--accent-tint) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  padding: clamp(40px, 5vw, 64px) 0;
}
.page-hero h1 { margin-bottom: 14px; }
.page-hero .lead { color: var(--text-muted); max-width: 58ch; }
.page-hero .split { align-items: center; }

/* ---------- 13. Breadcrumbs ---------- */
.breadcrumbs { padding-top: 18px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: var(--fs-tiny); color: var(--text-faint); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--border-strong); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }

/* ---------- 14. Map ---------- */
.map-embed {
  max-width: 760px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  background: var(--surface);
}
.map-embed iframe { display: block; width: 100%; aspect-ratio: 16 / 9; min-height: 320px; border: 0; }

/* ---------- 15. FAQ ---------- */
.faq-list { display: grid; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item h3 { margin: 0; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  width: 100%; padding: 16px 18px;
  background: none; border: 0; cursor: pointer;
  color: var(--text); font: inherit; font-weight: 700; text-align: left;
  transition: background 140ms var(--ease);
}
.faq-q:hover { background: var(--surface-2); }
.faq-q .nav-caret { flex: none; color: var(--accent); }
.faq-a { padding: 0 18px 16px; color: var(--text-muted); }
.faq-a p:last-child { margin-bottom: 0; }
.faq-q[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }

/* ---------- 16. Calculator section ---------- */
.calc-section .calc-widget { color: var(--text); }
.calc-section .calc-note { color: var(--text-faint); font-size: var(--fs-tiny); margin-top: 14px; }

/* ---------- 17. Footer ---------- */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: clamp(40px, 6vw, 64px) 0 28px;
  margin-top: 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 28px;
}
@media (max-width: 980px) { .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-col__title { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); margin: 0 0 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--text-muted); font-size: 0.92rem; }
.footer-col a:hover { color: var(--accent); }
.footer-facts { color: var(--text-faint); font-size: var(--fs-small); margin-top: 16px; line-height: 1.8; }
.footer-disclaimer {
  margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--border);
}
.footer-disclaimer p { color: var(--text-faint); font-size: var(--fs-tiny); max-width: 100ch; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border);
  color: var(--text-faint); font-size: var(--fs-tiny);
}
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; }
.footer-legal-links a { color: var(--text-muted); }

/* ---------- 18. Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 480ms var(--ease), transform 480ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 19. Special offer page ---------- */
.urgency-strip {
  background: linear-gradient(90deg, rgba(0, 212, 146, 0.16), rgba(0, 212, 146, 0.06));
  border-bottom: 1px solid var(--accent-tint-strong);
  padding: 9px 0;
  font-size: var(--fs-small);
  color: var(--text);
}
.urgency-strip .container { display: flex; flex-wrap: wrap; gap: 6px 26px; justify-content: center; text-align: center; }
.urgency-strip strong { color: var(--accent); }

.offer-cta-band {
  background:
    radial-gradient(700px 300px at 50% 0%, var(--accent-tint-strong) 0%, transparent 65%),
    var(--bg-deep);
  border-top: 1px solid var(--accent-tint-strong);
  padding: clamp(44px, 6vw, 72px) 0;
  text-align: center;
}
.offer-cta-band h2 { max-width: 30ch; margin-inline: auto; }

.countdown { display: inline-flex; gap: 8px; align-items: baseline; margin: 10px 0 4px; }
.countdown__box {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 64px; padding: 10px 8px;
  background: var(--bg-deep); border: 1px solid var(--border-strong);
  border-radius: 10px;
  font-family: var(--font-mono); font-weight: 700; font-size: 1.5rem;
  color: var(--accent);
}
.countdown__sep { color: var(--text-faint); font-size: 1.3rem; font-weight: 800; }
.countdown__label { display: block; font-size: var(--fs-tiny); color: var(--text-faint); font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }

.exit-modal {
  position: fixed; inset: 0; z-index: 300;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(4, 9, 17, 0.7);
  backdrop-filter: blur(4px);
}
.exit-modal.is-open { display: flex; }
.exit-modal__card {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 30px 26px 26px;
  text-align: center;
}
.exit-modal__close {
  position: absolute; top: 10px; right: 10px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 50%; width: 36px; height: 36px;
  color: var(--text-muted); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.15rem; line-height: 1;
}
.exit-modal__close:hover { color: var(--text); background: var(--surface-2); }
.exit-modal__art { margin: 4px auto 14px; display: block; width: min(300px, 80%); }
.exit-modal__card h2 { font-size: 1.5rem; }
.exit-modal__card p { color: var(--text-muted); font-size: var(--fs-small); }

/* ---------- 20. Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.lead-intro { color: var(--text-muted); font-size: 1.05rem; max-width: 70ch; }
.note-box {
  background: var(--accent-tint);
  border: 1px solid var(--accent-tint-strong);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  color: var(--text);
}
.warn-box {
  background: var(--danger-tint);
  border: 1px solid rgba(242, 109, 109, 0.35);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}
.check-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-muted); }
.check-list .icon-badge { width: 34px; height: 34px; border-radius: 9px; }
.check-list .icon-badge svg { width: 18px; height: 18px; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.6em; }
.prose > *:first-child { margin-top: 0; }

/* calculator module defaults render its own markup; give it breathing room */
.calc-section .calc-widget { margin-top: 8px; }

/* calculator modal lead form: the module hardcodes #fff submit text on the
   accent colour (1.9:1). Same AA fix as the page forms — dark text on mint. */
.calc-modal input[type="submit"] { color: #06120d !important; }

/* ---------- 21. Motion / performance guards ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.tv-ticker-wrapper {
  padding-top: 0px !important;
  height: 58px !important;
}

.iti__selected-country { background-color: #f5f7fa !important; }

.iti__country-name {
  color: #000 !important;
}

.iti__selected-country,
.iti__selected-dial-code {
  color: rgb(24, 33, 47) !important;
}

@media (max-width: 1023px) {
  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .reviews { grid-template-columns: minmax(0, 1fr); }
}

/* Homepage layout and site header action */
.home-hero {
  isolation: isolate;
  padding-block: clamp(52px, 6vw, 94px);
  background: #081321;
}

.home-hero .hero-media {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}
.home-hero .hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 54%;
}
.home-hero .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, #081321f7 2%, #081321dc 40%, #08132133 86%);
}
.home-hero .hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 452px);
  grid-template-rows: auto 1fr;
  grid-template-areas: "headline registration" "details registration";
  column-gap: clamp(34px, 5vw, 82px);
  row-gap: clamp(14px, 2vw, 24px);
  align-items: start;
  padding-block: 0;
}
.home-hero .hero-title {
  grid-area: headline;
  min-width: 0;
}
.home-hero .hero-title h1 {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(2.25rem, 4.15vw, 4.1rem);
  line-height: 1.08;
  text-wrap: balance;
}
.home-hero .hero-title h1 span { color: #76eac9; }
.home-hero .hero-details {
  grid-area: details;
  min-width: 0;
  max-width: 60ch;
  margin: 0;
  display: grid;
  justify-items: start;
  gap: clamp(14px, 1.7vw, 22px);
}
.home-hero .hero-details > * { margin: 0; }
.home-hero .hero-details .hero-flags { flex-wrap: wrap; }
.home-hero .hero-details > .lead,
.home-hero .hero-details > .hero__sub { line-height: 1.6; }
.home-hero .hero-form-panel {
  grid-area: registration;
  min-width: 0;
  padding: clamp(18px, 2.4vw, 32px);
  background: #101e2e;
  border: 1px solid #2a6b5e;
  border-block-start: 3px solid #76eac9;
  border-radius: 12px;
  box-shadow: 0 18px 48px #0b16202b;
}
.home-hero .hero-form-panel .form-block,
.home-hero .hero-form-panel > .form-card {
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.account-cta {
  gap: 9px;
  min-height: 44px;
  padding-block: 6px;
  padding-inline: 13px;
  border: 1px solid #4ce4b4;
  border-radius: 5px;
  background: linear-gradient(115deg, #73f1c7, #1cda9d);
  color: #08251d;
  box-shadow: 0 4px 12px #0b17152d;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.account-cta__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 25px;
  height: 25px;
  border-radius: 3px;
  background: #07261c25;
}
.account-cta__icon svg { width: 16px; height: 16px; stroke-width: 2; }
.account-cta:hover {
  background: #86f5d1;
  color: #08251d;
  text-decoration: none;
  box-shadow: 0 7px 18px #0b171542;
  transform: translateY(-1px);
}
.account-cta:focus-visible {
  outline: 2px solid #4ce4b4;
  outline-offset: 3px;
}
.account-cta:active { transform: translateY(0); }

@media (max-width: 900px) {
  .home-hero { padding-block: clamp(26px, 6.5vw, 50px) 42px; }
  .home-hero .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "headline" "registration" "details";
    gap: clamp(18px, 4.5vw, 28px);
    max-width: 660px;
  }
  .home-hero .hero-title h1 { max-width: 24ch; font-size: clamp(2rem, 7.6vw, 3.2rem); }
  .home-hero .hero-media { inset-block-end: auto; height: clamp(460px, 120vw, 720px); }
  .home-hero .hero-media img { object-position: 50% 35%; }
  .home-hero .hero-media::after { background: linear-gradient(180deg, #081321d9, #08132166 43%, #081321 100%); }
  .home-hero .hero-form-panel { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .account-cta { transition: none; }
}

@media (max-width: 980px) {
  .header-cta.account-cta { display: none; }
}

/* Trading workstation */
.home-hero .hero-title h1 { font-family: Consolas, monospace; font-weight: 700; line-height: 1.08; letter-spacing: -.055em; }
.home-hero .hero__eyebrow, .home-comparison th, .home-security h3 { font-family: Consolas, monospace; }
.home-comparison { background-color: #091622; background-image: linear-gradient(#24413955 1px,transparent 1px),linear-gradient(90deg,#24413955 1px,transparent 1px); background-size: 32px 32px; }
.home-comparison .table-wrap { background: #101d31; border: 1px solid #316256; border-radius: 0; }
.home-security .grid-auto, .home-advantages .grid-2 { gap: 1px; background: #306053; padding: 1px; }
.home-security .card, .home-advantages .card { border: 0; border-radius: 0; background: #101d31; }
@media (min-width: 901px) {
  .home-hero .hero-layout { grid-template-columns: minmax(0,1.45fr) minmax(320px,1fr); }
  .home-hero .hero-details { background: #0a1727e8; padding: 20px; border-inline-start: 2px solid #00d492; }
}

/* Homepage reading rhythm and registration link */
:is(.home-markets,.home-company,.home-security,.home-steps,.home-advantages,.home-comparison,.home-reviews) { padding-block: clamp(36px, 6vw, 64px); }
.home-hero .hero-details p { max-inline-size: 65ch; }
:is(.home-markets,.home-security,.home-steps,.home-advantages,.home-comparison,.home-reviews) .section-head { margin-block: 0 clamp(18px, 2.3vw, 32px); }
:is(.home-markets,.home-security,.home-steps,.home-advantages,.home-comparison,.home-reviews) .section-head h2 { margin-block: 0; text-wrap: balance; }
:is(.home-markets,.home-security,.home-steps,.home-advantages,.home-comparison,.home-reviews) .section-head h2 + p { margin-block: 10px 0; }
.home-steps .steps-enquiry { display: inline-flex; align-items: center; justify-content: center; justify-self: start; min-height: 46px; max-width: 100%; padding: 10px 22px; margin-block-start: 24px; border-radius: 3px; background: #74e6be; color: #081827; font-weight: 700; text-decoration: none; line-height: 1.35; }
.home-steps .steps-enquiry:hover { text-decoration: underline; text-underline-offset: .2em; }
.home-steps .steps-enquiry:focus-visible { outline: 2px solid currentColor; outline-offset: -5px; }
#homepage-enquiry { scroll-margin-block-start: 108px; }
@media (max-width: 600px) {
  .home-steps .steps-enquiry { width: 100%; }
}

/* Homepage registration panels */
.home-hero .enquiry-panel, .section .enquiry-panel {
  position: relative; min-width: 0; box-sizing: border-box; padding: clamp(18px,2.4vw,32px);
  border: 1px solid #437268;
  border-radius: 6px;
  background: #101e2e;
  box-shadow: 0 14px 34px #04101960;
  padding-block-start: 46px;
}
.section .enquiry-panel .form-block { margin: 0; max-width: none; padding: 0; border: 0; background: transparent; box-shadow: none; }
.enquiry-panel::before { content: ""; position: absolute; inset: 0 0 auto; height: 25px; border-bottom: 1px solid #35564e; border-radius: 5px 5px 0 0; background: radial-gradient(circle at 14px 12px,#80d9b9 2px,transparent 3px),radial-gradient(circle at 24px 12px,#598b7e 2px,transparent 3px),radial-gradient(circle at 34px 12px,#41665b 2px,transparent 3px),#172d35; pointer-events: none; }
