/* ==========================================================================
   Neuravela — animation-led dark fintech identity
   Tokens -> base -> layout primitives -> components -> blocks -> motion.
   Palette: deep ink-graphite + electric cyan. Every text/bg pair >= 4.5:1.
   ========================================================================== */

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Color tokens */
  --bg: #0B0F14;
  --bg-deep: #070A0E;
  --surface: #121821;
  --surface-2: #1A222D;
  --border: #232D3A;
  --border-strong: #314051;
  --text: #E8EEF4;
  --text-muted: #9FB0C0;
  --accent: #5cdef0;
  --accent-rgb: 92, 222, 240;
  --accent-hover: #a0effa;
  --accent-tint: #54d7f018;
  --accent-ink: #082630;
  --danger: #FF7A6E;
  --danger-tint: rgba(255, 122, 110, 0.12);
  --chip-light: #ffffff;
  --chip-dark: #0f172a;

  /* Type */
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-h1: clamp(2rem, 4.2vw, 3.25rem);
  --fs-h2: clamp(1.5rem, 3vw, 2.25rem);
  --fs-h3: clamp(1.125rem, 1.8vw, 1.375rem);
  --fs-lead: clamp(1rem, 1.5vw, 1.175rem);

  /* Shape */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;

  /* Elevation (tinted toward the background hue, never flat black) */
  --shadow-sm: 0 1px 2px rgba(2, 6, 10, 0.4), 0 2px 8px rgba(2, 6, 10, 0.3);
  --shadow-md: 0 2px 4px rgba(2, 6, 10, 0.35), 0 12px 28px rgba(2, 6, 10, 0.45);
  --shadow-lg: 0 4px 10px rgba(2, 6, 10, 0.45), 0 24px 60px rgba(2, 6, 10, 0.55);

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

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-h1); font-weight: 700; }
h2 { font-size: var(--fs-h2); font-weight: 700; }
h3 { font-size: var(--fs-h3); font-weight: 600; }

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }

ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
li { margin-bottom: 0.4em; }

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

strong { color: var(--text); }

hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }

code, kbd { font-family: ui-monospace, 'Cascadia Mono', monospace; font-size: 0.92em; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: var(--accent-ink); }

/* Layout primitive — every block's content sits inside it */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

main { display: block; min-height: 40vh; }

/* Section rhythm */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; position: relative; }
.section--tight { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.section--deep { background: var(--bg-deep); }
.section--surface { background: var(--surface); }
.section-head { max-width: 720px; margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.section-head h2 { margin-bottom: 0.5em; }
.section-head .lead { color: var(--text-muted); font-size: var(--fs-lead); }

/* Short accent rule under section headings */
.rule {
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(var(--accent-rgb), 0.25));
  margin: 0 0 1.25rem;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms var(--ease), color 160ms var(--ease),
    border-color 160ms var(--ease), transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.btn:hover { text-decoration: none; }
.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--accent-ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--primary:active { transform: translateY(0); }
.btn--secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--border-strong);
}
.btn--secondary:hover {
  background: var(--accent-tint);
  border-color: var(--accent);
  color: var(--accent-hover);
  transform: translateY(-2px);
}
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.925rem; }
.btn--block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   Header + navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 20, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease),
    box-shadow 200ms var(--ease);
}
.site-header.is-scrolled {
  background: rgba(9, 12, 16, 0.96);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.logo:hover { color: var(--text); text-decoration: none; }
.logo__mark { width: 34px; height: 34px; flex: 0 0 auto; }
.logo__word { white-space: nowrap; }
.logo .logo__mark path[stroke='var(--accent)'] { stroke: var(--accent); }

.main-nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  background: none;
  border: 0;
  color: var(--text);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 150ms var(--ease), color 150ms var(--ease);
}
.nav-link:hover { background: var(--accent-tint); color: var(--accent-hover); text-decoration: none; }
.nav-link .icon--caret { width: 14px; height: 14px; transition: transform 160ms var(--ease); }
.nav-item.is-open .nav-link { background: var(--accent-tint); color: var(--accent-hover); }
.nav-item.is-open .icon--caret { transform: rotate(180deg); }

/* Dropdown submenu — a real designed surface */
.submenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 250px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 150ms var(--ease), transform 150ms var(--ease), visibility 150ms;
  z-index: 60;
}
.nav-item.is-open .submenu,
.nav-item:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* keep the last group's menu inside the viewport */
.nav-item:nth-last-child(-n+2) .submenu { left: auto; right: 0; }
.submenu::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 24px;
  width: 9px;
  height: 9px;
  background: var(--bg);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.nav-item:nth-last-child(-n+2) .submenu::before { left: auto; right: 24px; }
.submenu-link {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.925rem;
  transition: background-color 140ms var(--ease), color 140ms var(--ease);
}
.submenu-link:hover { background: var(--accent-tint); color: var(--accent-hover); text-decoration: none; }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-cta { flex: 0 0 auto; }

/* Mobile trigger + menu */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 0.45rem;
  cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__icon--close { display: none; }
.nav-toggle[aria-expanded='true'] .nav-toggle__icon--open { display: none; }
.nav-toggle[aria-expanded='true'] .nav-toggle__icon--close { display: block; }

.mobile-menu {
  display: none;
  background: var(--bg);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.mobile-menu:not([hidden]) { display: block; animation: menu-in 180ms var(--ease); }
@keyframes menu-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-menu__inner { padding: 1.25rem 0 1.75rem; }
.mobile-group { padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.mobile-group:last-of-type { border-bottom: 0; }
.mobile-group__title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}
.mobile-group ul { list-style: none; margin: 0; padding: 0; }
.mobile-group a {
  display: block;
  padding: 0.55rem 0;
  color: var(--text);
  font-size: 1rem;
}
.mobile-group a:hover { color: var(--accent-hover); text-decoration: none; }
.mobile-menu__inner .btn--block { margin-top: 1.25rem; }

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.breadcrumbs { padding-top: 1.25rem; }
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.breadcrumbs li:not(:last-child)::after {
  content: '/';
  margin-left: 0.35rem;
  color: var(--border-strong);
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current='page'] { color: var(--text); }

/* --------------------------------------------------------------------------
   Cards, icon badges, grids
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease),
    border-color 180ms var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(var(--accent-rgb), 0.25);
  border-color: var(--border-strong);
}
.card h3 { margin-top: 1rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; }
.card a { font-weight: 600; }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: var(--accent-tint);
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  flex: 0 0 auto;
}
.icon-badge .icon { width: 24px; height: 24px; color: var(--accent); }
.icon--spin { display: inline-block; }

.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--cards { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* staggered 2-col feature grid (anti "3 identical cards" default) */
.grid--stagger {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
}
.grid--stagger .card:nth-child(odd) { margin-top: 1.5rem; }

/* --------------------------------------------------------------------------
   Injected phone-input widget (beacon intl-tel-input): dark-theme surface so
   its controls keep AA contrast without touching the beacon itself
   -------------------------------------------------------------------------- */
.iti { width: 100%; }
.iti .iti__country-container .iti__selected-flag {
  background: var(--surface-2);
  color: var(--text);
}
.iti .iti__country-container .iti__selected-flag:hover,
.iti .iti__country-container .iti__selected-flag:focus { background: var(--surface); color: var(--text); }
.iti .iti__country-container .iti__selected-country {
  background-color: var(--iti-hover-color);
  color: #18212f;
}
.iti .iti__selected-country .iti__selected-dial-code { color: inherit; }
.iti .iti__country-list {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.iti .iti__country, .iti .iti__country-name { color: var(--text); }
.iti .iti__country:hover, .iti .iti__country.iti__highlight, .iti .iti__country.iti__active-country { background: var(--accent-tint); }
.iti .iti__dial-code { color: var(--text-muted); }
.iti .iti__search-input {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
}
.iti .iti__search-input::placeholder { color: var(--text-muted); }
.iti .iti__arrow { border-color: var(--text-muted) transparent transparent transparent; }

/* --------------------------------------------------------------------------
   Injected phone-input widget ends
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Tables
   -------------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  margin: 0 0 1.5rem;
}
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
caption {
  text-align: left;
  padding: 0.9rem 1.1rem 0.4rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}
th, td { padding: 0.8rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
thead th {
  background: var(--surface-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
  white-space: nowrap;
}
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: rgba(26, 34, 45, 0.5); }
td.num, th.num { text-align: right; white-space: nowrap; }

.check-yes, .check-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.check-yes { background: var(--accent-tint); color: var(--accent); }
.check-no { background: var(--danger-tint); color: var(--danger); }
.check-yes .icon, .check-no .icon { width: 15px; height: 15px; }

/* --------------------------------------------------------------------------
   Forms (wrapper for the injected formFactory markup)
   -------------------------------------------------------------------------- */
.form-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
  scroll-margin-top: 90px;
}
.form-block__intro {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}
.form-legal {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
/* links must be distinguishable beyond color: underline inside prose text */
.form-legal a,
.prose a,
.faq__body a,
.review blockquote a,
.lead a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-legal a { color: var(--accent); }
.form-note {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-top: 0.9rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.form-note .icon { width: 18px; height: 18px; color: var(--accent); flex: 0 0 auto; margin-top: 2px; }

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 480px at 78% -10%, rgba(var(--accent-rgb), 0.13), transparent 65%),
    radial-gradient(700px 420px at -8% 30%, rgba(26, 34, 45, 0.9), transparent 70%),
    linear-gradient(180deg, #0C1218 0%, var(--bg) 100%);
}
.hero::before {
  /* faint grid texture — a motif layer, not a bare gradient */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--accent-rgb), 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(720px 480px at 72% 20%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(720px 480px at 72% 20%, #000 30%, transparent 78%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  grid-template-areas:
    'copy form'
    'flags form'
    'links form';
  gap: 0 0 clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 4.5rem);
  position: relative;
}
.hero__copy { grid-area: copy; }
.hero__form { grid-area: form; }
.hero__flags { grid-area: flags; }
.hero__links { grid-area: links; }
.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; }
.hero__art--bg { position: absolute; inset: 0; pointer-events: none; }
.hero__art--bg svg { width: 100%; height: 100%; }
.hero__copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-tint);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1.1rem;
}
.hero__copy .eyebrow .icon { width: 14px; height: 14px; }
.hero__copy h1 { margin-bottom: 0.65em; }
.hero__copy .lead { color: var(--text-muted); font-size: var(--fs-lead); max-width: 34em; }

.hero__flags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.9rem;
  margin: 1.4rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.hero__flags .flag {
  width: 26px;
  height: 18px;
  border-radius: 3px;
  border: 1px solid var(--border-strong);
  display: inline-block;
  flex: 0 0 auto;
}
.hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.hero-link-card {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(18, 24, 33, 0.7);
  color: var(--text);
  font-weight: 600;
  font-size: 0.925rem;
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease), transform 160ms var(--ease);
}
.hero-link-card:hover {
  text-decoration: none;
  border-color: rgba(var(--accent-rgb), 0.45);
  background: var(--accent-tint);
  color: var(--accent-hover);
  transform: translateY(-2px);
}
.hero-link-card .icon { width: 20px; height: 20px; color: var(--accent); }

.hero__form .form-block { background: rgba(18, 24, 33, 0.92); }
.hero__form .form-block__intro { font-family: var(--font-display); font-size: 1.1rem; }

/* --------------------------------------------------------------------------
   Page hero (inner pages with hero form)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(820px 380px at 85% -20%, rgba(var(--accent-rgb), 0.11), transparent 62%),
    linear-gradient(180deg, #0C1218 0%, var(--bg) 100%);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--accent-rgb), 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(620px 360px at 82% 10%, #000 25%, transparent 76%);
  -webkit-mask-image: radial-gradient(620px 360px at 82% 10%, #000 25%, transparent 76%);
  pointer-events: none;
}
.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(2.25rem, 5vw, 3.75rem) 0;
  position: relative;
}
.page-hero__inner .page-hero__form .form-block { background: rgba(18, 24, 33, 0.92); }
.page-hero__art svg { position: absolute; right: 0; bottom: -20px; opacity: 0.5; pointer-events: none; }

/* --------------------------------------------------------------------------
   Exchange logo chips
   -------------------------------------------------------------------------- */
.exchanges { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.exchange-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 56px;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 0 18px;
  flex: 0 0 auto;
  transition: transform 160ms var(--ease), border-color 160ms var(--ease);
}
.exchange-chip:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.exchange-chip--light { background: var(--chip-light); }
.exchange-chip--dark { background: var(--chip-dark); }
.exchange-chip img { height: 28px; width: auto; max-width: 100%; opacity: 1; }

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 1.25rem; }
.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.4rem 1.5rem;
}
.step__num {
  counter-increment: step;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-tint);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  flex: 0 0 auto;
}
.step__num::before { content: counter(step); }
.step h3 { margin: 0.15rem 0 0.35rem; font-size: 1.1rem; }
.step p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */
.review {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.review__head { display: flex; align-items: center; gap: 0.9rem; }
.review__photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  object-fit: cover;
  flex: 0 0 auto;
}
.review__photo--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  flex: 0 0 auto;
}
.review__meta strong { display: block; font-family: var(--font-display); }
.review__meta span { font-size: 0.85rem; color: var(--text-muted); }
.review blockquote {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.review__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}
.review__fact {
  font-size: 0.8rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  white-space: nowrap;
}
.reviews-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 1.25rem; }

/* --------------------------------------------------------------------------
   Comparison table
   -------------------------------------------------------------------------- */
.compare { min-width: 520px; }
.compare td:nth-child(2), .compare th:nth-child(2) { background: rgba(var(--accent-rgb), 0.07); }
.compare th:first-child { width: 42%; }

/* --------------------------------------------------------------------------
   Calculator block
   -------------------------------------------------------------------------- */
.calc-block {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: center;
}
.calc-scene-wrap { position: relative; }
.calc-scene-wrap canvas {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(18, 24, 33, 0.85), rgba(7, 10, 14, 0.9));
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 0.75rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 160ms var(--ease);
}
.faq-item[open] { border-color: rgba(var(--accent-rgb), 0.35); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex: 0 0 auto;
  transition: transform 180ms var(--ease);
}
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item .faq__body { padding: 0 1.25rem 1.15rem; color: var(--text-muted); font-size: 0.95rem; }
.faq-item .faq__body p { margin-bottom: 0.6em; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  background:
    radial-gradient(560px 260px at 90% -30%, rgba(var(--accent-rgb), 0.16), transparent 70%),
    var(--surface-2);
  box-shadow: var(--shadow-md);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-band h2 { margin: 0 0 0.35rem; font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
.cta-band p { margin: 0; color: var(--text-muted); max-width: 36em; }

/* --------------------------------------------------------------------------
   Company block + facts list
   -------------------------------------------------------------------------- */
.company {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}
.facts {
  display: grid;
  gap: 0.9rem;
  margin: 0;
}
.facts > div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
}
.facts dt { color: var(--text-muted); }
.facts dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }

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

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: clamp(2.5rem, 5vw, 4rem) 0 2rem;
  margin-top: clamp(2rem, 5vw, 4rem);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand .logo { margin-bottom: 0.9rem; }
.footer-tagline { font-size: 0.9rem; color: var(--text-muted); max-width: 26em; }
.footer-contact a { font-weight: 600; }
.footer-col__title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a {
  display: inline-block;
  padding: 0.22rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-col a:hover { color: var(--accent-hover); }
.footer-disclaimer {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.footer-disclaimer__title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--text);
  margin: 0 0 0.5rem;
}
.footer-disclaimer p { font-size: 0.8rem; color: var(--text-muted); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.error-page { text-align: center; padding: clamp(3rem, 8vw, 6rem) 0; }
.error-page h1 { font-size: clamp(3rem, 8vw, 5rem); color: var(--accent); }
.error-page p { color: var(--text-muted); max-width: 34em; margin-inline: auto; }

/* --------------------------------------------------------------------------
   Special offer
   -------------------------------------------------------------------------- */
.urgency-strip {
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.16), rgba(var(--accent-rgb), 0.05));
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.3);
  padding: 0.6rem 0;
  font-size: 0.85rem;
  font-weight: 600;
}
.urgency-strip ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2rem;
  margin: 0;
  padding: 0;
  color: var(--text);
}
.urgency-strip .dot { color: var(--accent); margin-right: 0.4rem; }

.offer-hero { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.offer-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.1rem;
}
.offer-hero h1 { color: var(--accent); }
.offer-hero .lead { color: var(--text); font-size: var(--fs-lead); max-width: 36em; }

.offer-steps .step { background: var(--surface-2); }
.offer-benefits .card { background: var(--surface-2); }

.countdown {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin: 1.25rem 0;
}
.countdown__seg {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.countdown__box {
  min-width: 62px;
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--bg-deep);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--accent);
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.countdown__label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.countdown__colon { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--text-muted); }

.offer-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(5, 8, 12, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.offer-modal.is-open { display: flex; }
.offer-modal__card {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  max-width: 460px;
  width: 100%;
  text-align: center;
  animation: modal-in 220ms var(--ease);
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.offer-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.offer-modal__close:hover { border-color: var(--accent); color: var(--accent); }
.offer-modal__art { margin: 0 auto 1rem; max-width: 180px; }
.offer-modal h2 { font-size: 1.5rem; }
.offer-modal p { color: var(--text-muted); font-size: 0.95rem; }
.offer-modal .countdown { justify-content: center; }
.offer-modal .btn { margin-top: 0.75rem; }

/* --------------------------------------------------------------------------
   Docs / legal content helpers
   -------------------------------------------------------------------------- */
.prose h2 { margin-top: 2.25rem; }
.prose h3 { margin-top: 1.75rem; }
.prose ul li, .prose ol li { color: var(--text-muted); }
.prose ul li strong, .prose ol li strong { color: var(--text); }

.doc-cards { display: grid; gap: 1.25rem; }
.notice {
  display: flex;
  gap: 0.85rem;
  background: var(--accent-tint);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  margin: 1.5rem 0;
}
.notice .icon { width: 22px; height: 22px; color: var(--accent); flex: 0 0 auto; margin-top: 2px; }
.notice p { margin: 0; font-size: 0.95rem; }
.notice--warn { background: var(--danger-tint); border-color: rgba(255, 122, 110, 0.3); }
.notice--warn .icon { color: var(--danger); }

/* --------------------------------------------------------------------------
   Motion: scroll reveal (JS-gated so content is visible without JS)
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
  will-change: opacity, transform;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal][data-reveal-delay='1'] { transition-delay: 70ms; }
.js [data-reveal][data-reveal-delay='2'] { transition-delay: 140ms; }
.js [data-reveal][data-reveal-delay='3'] { transition-delay: 210ms; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero__inner {
    grid-template-columns: 1fr;
    grid-template-areas: 'copy' 'form' 'flags' 'links';
    gap: 1.5rem 0;
  }
  .hero__art { order: 2; max-width: 480px; margin-inline: auto; }
  .hero__art--bg { display: none; }
  .page-hero__inner .page-hero__form { order: -1; }
  .calc-block { grid-template-columns: 1fr; }
  .company { grid-template-columns: 1fr; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .grid--stagger { grid-template-columns: 1fr; }
  .grid--stagger .card:nth-child(odd) { margin-top: 0; }
  .facts > div { grid-template-columns: 1fr; gap: 0.2rem; }
}
@media (max-width: 640px) {
  .header-cta { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .exchange-chip { width: 140px; height: 52px; }
  .exchange-chip img { height: 24px; }
  .step { flex-direction: column; gap: 0.65rem; }
  .btn { width: 100%; }
  .btn--sm { width: auto; }
  .hero-link-card { width: 100%; }
  .urgency-strip ul { flex-direction: column; align-items: center; gap: 0.25rem; }
}

.site-header :is(a.header-cta,.header-cta .btn,.nav-menu-cta,.mm-cta .btn) {
  background: linear-gradient(115deg,#65e1dd,#30bfce); color: #09242c; border: 1px solid transparent;
  font-weight: 750; box-shadow: 0 3px 10px #10192222; transition: box-shadow .18s,filter .18s;
}
.site-header :is(a.header-cta,.header-cta .btn,.nav-menu-cta,.mm-cta .btn):hover { filter: brightness(1.06); box-shadow: 0 4px 14px #10192240; }
.site-header :is(a,button):focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.site-header :is(.menu-panel,.dropdown,.submenu) { border-radius: 12px; box-shadow: 0 14px 32px #08121d28; }
.site-header :is(.menu-panel,.dropdown,.submenu) a { border-radius: 6px; padding-block: .58rem; line-height: 1.35; }
.site-header .main-nav button[aria-expanded="true"] { box-shadow: inset 0 -2px #30bfce; }
