/* =========================================================================
   Ancora GPT Pro — dark fintech identity (geo-adapted: celeste AR accent)
   Tokens first, then layout, components, page-specific blocks.
   ========================================================================= */

:root {
  --bg: #0b1220;
  --surface: #101a2c;
  --surface-2: #16233a;
  --border: #223049;
  --text: #e8eef7;
  --text-muted: #9fb0c7;
  --accent: #4aa3d8;
  --accent-hover: #67b6e4;
  --accent-tint: rgba(74, 163, 216, 0.14);
  --gold: #e0b45c;
  --danger: #e0645c;
  --ok: #4cc38a;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(5, 12, 24, 0.5);
  --shadow-md: 0 1px 2px rgba(5, 12, 24, 0.45), 0 10px 28px rgba(5, 12, 24, 0.5);
  --shadow-lg: 0 2px 4px rgba(5, 12, 24, 0.5), 0 18px 48px rgba(5, 12, 24, 0.6);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img, svg, iframe, video, canvas { max-width: 100%; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.6em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.45rem, 2.8vw, 2.05rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: 0.4em; }
strong { color: var(--text); }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.2em 0; }

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

.section { padding: clamp(2.6rem, 6vw, 4.4rem) 0; position: relative; }
.section--tint {
  background:
    radial-gradient(58% 90% at 88% 6%, rgba(74, 163, 216, 0.1), transparent 70%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}
.section--mesh {
  background-image:
    radial-gradient(rgba(74, 163, 216, 0.07) 1px, transparent 1.4px);
  background-size: 26px 26px;
}
.section-head { max-width: 720px; margin-bottom: 2rem; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-tint); border: 1px solid rgba(74, 163, 216, 0.28);
  padding: 0.32em 0.85em; border-radius: 999px; margin-bottom: 0.9em;
}

/* --- skip link / focus ------------------------------------------------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: #06121f; font-weight: 600;
  padding: 0.6em 1em; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* --- buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font: 600 0.98rem/1 var(--font); padding: 0.85em 1.5em;
  border-radius: var(--radius-md); border: 1px solid transparent;
  cursor: pointer; transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease), background 0.16s var(--ease), color 0.16s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #06121f; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-hover); color: #06121f; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--light { background: #ffffff; color: #0b1220; }
.btn--light:hover { background: #e8eef7; color: #0b1220; transform: translateY(-1px); }

/* --- header -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 18, 32, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.site-header.is-scrolled { background: rgba(11, 18, 32, 0.98); box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; gap: 1.2rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); }
.brand-name { font-size: 1.12rem; font-weight: 800; letter-spacing: -0.01em; }
.brand-name em { font-style: normal; color: var(--accent); }
.logo-mark { flex: none; }

.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }
.nav-item > a, .nav-drop-trigger {
  display: inline-flex; align-items: center; gap: 0.35em;
  color: var(--text); font-size: 0.95rem; font-weight: 500;
  padding: 0.55em 0.8em; border-radius: var(--radius-sm);
  background: none; border: 0; cursor: pointer; font-family: inherit;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.nav-item > a:hover, .nav-drop-trigger:hover { background: var(--accent-tint); color: var(--accent); }
.nav-item.is-current > a { color: var(--accent); }
.nav-drop-trigger .icon { transition: transform 0.16s var(--ease); }
.nav-drop-trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }

.nav-panel {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  padding: 8px; min-width: 265px; max-width: 340px;
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity 0.16s var(--ease), transform 0.16s var(--ease), visibility 0.16s;
  z-index: 110;
}
.nav-item--group { position: relative; }
.nav-item--group.is-open .nav-panel,
.nav-drop-trigger[aria-expanded="true"] + .nav-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-panel::before {
  content: ""; position: absolute; top: -5px; left: 22px; width: 10px; height: 10px;
  background: var(--bg); border-left: 1px solid var(--border); border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.nav-panel ul { list-style: none; margin: 0; padding: 0; }
.nav-panel li a {
  display: block; padding: 9px 12px; border-radius: 8px;
  color: var(--text); font-size: 0.92rem;
}
.nav-panel li a:hover, .nav-panel li a:focus-visible { background: var(--accent-tint); color: var(--accent); }
.nav-panel li.is-current a { color: var(--accent); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--border); color: var(--text);
  border-radius: var(--radius-sm); padding: 0.5em; cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.btn--header { flex: none; padding: 0.7em 1.15em; font-size: 0.92rem; }

/* --- breadcrumbs --------------------------------------------------------- */
.breadcrumbs { border-bottom: 1px solid var(--border); background: var(--surface); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.4em; list-style: none; margin: 0; padding: 0.65em 0; font-size: 0.84rem; color: var(--text-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.4em; color: var(--border); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current="page"] { color: var(--text); }

/* --- hero ------------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(2.8rem, 6vw, 4.6rem) 0 clamp(3rem, 6vw, 4.8rem);
  background: linear-gradient(180deg, #0d1626 0%, var(--bg) 100%);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__parallax { will-change: transform; }
.hero__inner {
  position: relative; z-index: 2; display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  grid-template-areas: "title form" "rest form";
  gap: clamp(1.1rem, 2.5vw, 2rem) clamp(1.6rem, 4vw, 3.4rem);
  align-items: start;
}
.hero__title-wrap { grid-area: title; }
.hero__copy { grid-area: rest; }
.hero__form-side { grid-area: form; position: relative; }
.hero__copy > p { font-size: 1.08rem; color: var(--text-muted); max-width: 56ch; }
.hero__title { max-width: 21ch; }
.hero__title .hl { color: var(--accent); }
.hero__badges { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.1rem 0 1.4rem; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5em;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 0.55em 0.9em;
  font-size: 0.86rem; color: var(--text); box-shadow: var(--shadow-sm);
}
.hero__badge .icon { color: var(--accent); }
.hero__badge b { color: var(--accent); font-weight: 600; }
.hero__flags { display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem; margin-top: 1.2rem; color: var(--text-muted); font-size: 0.9rem; }
.hero__flags .flag {
  display: inline-flex; align-items: center; gap: 0.45em;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 0.3em 0.75em 0.3em 0.4em; color: var(--text); font-size: 0.84rem;
}
.flag svg { border-radius: 3px; }
.hero__form-side { position: relative; }
.hero__manager-note { display: flex; gap: 0.55em; align-items: center; color: var(--text-muted); font-size: 0.88rem; margin-top: 0.8rem; }
.hero__manager-note .icon { color: var(--gold); flex: none; }

/* GSAP hero canvas */
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero.is-static #heroCanvas { display: none; }

/* --- form block ------------------------------------------------------------- */
.form-block {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: clamp(1.2rem, 2.6vw, 1.8rem);
}
.form-block__intro { margin: 0 0 0.9em; font-size: 0.95rem; color: var(--text-muted); }
.form-block .form-legal { margin: 0.9em 0 0; font-size: 0.8rem; color: var(--text-muted); text-align: center; }
.form-legal a { text-decoration: underline; text-underline-offset: 2px; color: var(--text-muted); }
.form-legal a:hover { color: var(--accent); }
.form-block .iti__selected-dial-code, .calc-modal .iti__selected-dial-code { color: #3a4a63; }
.form-heading { font-size: 1.05rem; margin-bottom: 0.7em; }

/* --- icon cards / grids -------------------------------------------------------- */
.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 13px; flex: none;
  background: var(--accent-tint); color: var(--accent);
}
.icon-badge--gold { background: rgba(224, 180, 92, 0.14); color: var(--gold); }
.icon-badge--round { border-radius: 999px; width: 64px; height: 64px; }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  padding: 1.4rem; transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(74, 163, 216, 0.4); }
.card h3 { display: flex; align-items: center; gap: 0.7rem; }
.card > p { color: var(--text-muted); margin-bottom: 0; }

.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.grid-stagger { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; }
.grid-stagger .card { grid-column: span 3; }
.grid-stagger .card--wide { grid-column: span 6; }

/* --- steps ---------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; list-style: none; counter-reset: paso; margin: 0; padding: 0; }
.steps li {
  counter-increment: paso; position: relative; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.3rem 1.3rem 1.15rem; box-shadow: var(--shadow-sm);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.steps li:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 999px; margin-bottom: 0.8rem;
  background: var(--accent); color: #06121f; font-weight: 700; font-size: 0.95rem;
}
.steps h3 { font-size: 1.05rem; margin-bottom: 0.4em; }
.steps p { color: var(--text-muted); font-size: 0.94rem; margin: 0; }

/* --- comparison table --------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
table { border-collapse: collapse; width: 100%; min-width: 560px; background: var(--surface); }
th, td { text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--border); font-size: 0.94rem; vertical-align: top; }
thead th { background: var(--surface-2); font-size: 0.85rem; text-transform: none; letter-spacing: 0.02em; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) td { background: rgba(16, 26, 44, 0.55); }
.mark-yes { color: var(--ok); font-weight: 700; }
.mark-no { color: var(--danger); font-weight: 700; }

/* --- exchange logos ----------------------------------------------------------------- */
.exchanges { padding: clamp(2.4rem, 5vw, 3.6rem) 0; }
.exchanges__row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 168px; height: 60px; border-radius: 12px;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.chip img { height: 28px; width: auto; display: block; }
.chip--light { background: #ffffff; }
.chip--dark { background: #0f172a; }

/* --- reviews ------------------------------------------------------------------------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; }
.review { display: flex; flex-direction: column; gap: 0.7rem; }
.review__head { display: flex; align-items: center; gap: 0.85rem; }
.review__avatar { flex: none; }
.review__name { font-weight: 700; margin: 0; }
.review__meta { margin: 0; font-size: 0.84rem; color: var(--text-muted); }
.review__stats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.review__stats li {
  margin: 0; font-size: 0.8rem; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 999px; padding: 0.28em 0.75em;
  color: var(--text-muted);
}
.review__stats b { color: var(--text); font-weight: 600; }
.review > p { color: var(--text-muted); font-size: 0.95rem; margin: 0; flex: 1; }
.reviews-note { margin-top: 1.1rem; font-size: 0.82rem; color: var(--text-muted); }

/* --- company block --------------------------------------------------------------------- */
.company-grid { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 1.2fr); gap: 2.2rem; align-items: start; }
.company-facts { display: grid; gap: 0.9rem; }
.company-fact { display: flex; gap: 0.8rem; align-items: flex-start; }
.company-fact .icon { color: var(--accent); flex: none; margin-top: 0.15em; }
.company-fact p { margin: 0; font-size: 0.94rem; color: var(--text-muted); }
.company-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.company-links a {
  display: flex; align-items: center; gap: 0.8rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 1rem; box-shadow: var(--shadow-sm); font-weight: 600; font-size: 0.95rem;
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.company-links a:hover { transform: translateY(-2px); border-color: rgba(74, 163, 216, 0.45); box-shadow: var(--shadow-md); color: var(--accent); }
.company-links .icon { color: var(--accent); }

/* --- calculator ------------------------------------------------------------------------ */
.calc-section { background:
  radial-gradient(50% 80% at 12% 20%, rgba(74, 163, 216, 0.09), transparent 70%),
  var(--surface);
  border-block: 1px solid var(--border);
}
#calc-chart { display: block; width: 100%; height: 190px; margin-top: 1.6rem; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--bg); }

/* --- FAQ ---------------------------------------------------------------------------------- */
.faq-list { max-width: 820px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); margin-bottom: 0.8rem; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 1.2rem; font-weight: 600; font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { flex: none; color: var(--accent); transition: transform 0.16s var(--ease); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item > div { padding: 0 1.2rem 1.1rem; color: var(--text-muted); }
.faq-item > div p { margin: 0; }

/* --- footer ---------------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); background: #0a101c; padding: 3rem 0 2rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(150px, 1fr)); gap: 2rem; }
.footer-note { color: var(--text-muted); font-size: 0.88rem; margin-top: 1rem; }
.footer-contact { color: var(--text-muted); font-size: 0.86rem; }
.footer-col h3 { font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-muted); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li a { display: inline-block; padding: 0.28em 0; color: var(--text-muted); font-size: 0.9rem; }
.footer-col li a:hover { color: var(--accent); }
.footer-disclaimer { margin-top: 2.4rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); padding: 1.2rem 1.4rem; }
.footer-disclaimer h3 { font-size: 0.92rem; color: var(--gold); }
.footer-disclaimer p { margin: 0; color: var(--text-muted); font-size: 0.82rem; }
.footer-copy { margin-top: 1.6rem; color: var(--text-muted); font-size: 0.8rem; text-align: center; }

/* --- page hero (inner pages) ------------------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #0d1626 0%, var(--bg) 100%); border-bottom: 1px solid var(--border); }
.page-hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr); gap: clamp(1.6rem, 4vw, 3rem); align-items: center; padding: clamp(2.2rem, 5vw, 3.6rem) 0; }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero__bg svg { width: 100%; height: 100%; }
.page-hero p.lead { color: var(--text-muted); font-size: 1.05rem; max-width: 58ch; }

/* --- map -------------------------------------------------------------------------------------- */
.map-embed { margin-top: 1.2rem; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; max-width: 860px; aspect-ratio: 16 / 9; min-height: 320px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --- prose (documents) ---------------------------------------------------------------------------- */
.prose { max-width: 860px; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--text-muted); }
.prose strong { color: var(--text); }
.doc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.1rem; margin: 1.4rem 0; }

/* --- 404 ------------------------------------------------------------------------------------------- */
.section--404 { text-align: center; padding: clamp(4rem, 10vw, 7rem) 0; }
.err-code { font-family: var(--font-mono); font-size: clamp(4rem, 12vw, 7rem); font-weight: 700; color: var(--accent); margin: 0; line-height: 1; }
.err-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }

/* --- special offer ----------------------------------------------------------------------------------- */
.offer-strip { background: linear-gradient(90deg, rgba(224, 100, 92, 0.16), rgba(74, 163, 216, 0.14)); border-bottom: 1px solid var(--border); }
.offer-strip ul { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; justify-content: center; list-style: none; margin: 0; padding: 0.6rem 0; }
.offer-strip li { display: inline-flex; align-items: center; gap: 0.5em; margin: 0; font-size: 0.84rem; font-weight: 600; }
.offer-strip .icon { color: var(--gold); }
.countdown { display: inline-flex; gap: 0.45rem; align-items: center; font-family: var(--font-mono); font-weight: 700; }
.countdown span { display: inline-block; background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 0.18em 0.5em; font-size: 0.95rem; color: var(--text); min-width: 2.6ch; text-align: center; }
.offer-hero { background: linear-gradient(180deg, #10192b 0%, var(--bg) 85%); }
.offer-bonus { display: inline-flex; align-items: center; gap: 0.6em; font-size: 1.05rem; font-weight: 700; color: var(--gold); background: rgba(224, 180, 92, 0.1); border: 1px solid rgba(224, 180, 92, 0.35); padding: 0.55em 1em; border-radius: var(--radius-md); }
.offer-cta-band { background: linear-gradient(90deg, var(--surface-2), var(--surface)); border-block: 1px solid var(--border); text-align: center; }
.offer-modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 1rem; }
.offer-modal.is-open { display: flex; }
.offer-modal__overlay { position: absolute; inset: 0; background: rgba(4, 8, 16, 0.72); }
.offer-modal__card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); max-width: 460px; width: 100%; padding: 2rem 1.8rem 1.8rem; text-align: center; }
.offer-modal__close { position: absolute; top: 0.7rem; right: 0.8rem; background: none; border: 0; color: var(--text-muted); font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0.3em; border-radius: 6px; }
.offer-modal__close:hover { color: var(--text); }

/* --- split section (text + form) -------------------------------------------------------------------------- */
.split-section { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(300px, 1fr); gap: clamp(1.6rem, 4vw, 2.6rem); align-items: center; }
@media (max-width: 900px) { .split-section { grid-template-columns: 1fr; } }

/* --- reveal animation ----------------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* --- responsive ------------------------------------------------------------------------------------------- */
@media (max-width: 1020px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-stagger { grid-template-columns: repeat(2, 1fr); }
  .grid-stagger .card, .grid-stagger .card--wide { grid-column: span 1; }
}
@media (max-width: 900px) {
  .hero__inner, .page-hero__inner { grid-template-columns: 1fr; }
  .hero__inner { grid-template-areas: "title" "form" "rest"; }
  .company-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .site-nav { position: static; }
  .nav-list {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0.2rem;
    background: var(--bg); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg); padding: 0.8rem clamp(16px, 4vw, 40px) 1.2rem;
  }
  .nav-list.is-open { display: flex; }
  .nav-item--group { display: block; }
  .nav-drop-trigger { width: 100%; justify-content: space-between; }
  .nav-panel {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--border);
    border-radius: 0; margin: 0 0 0.3rem 0.6rem; padding: 0 0 0 0.4rem; max-width: none;
    display: none;
  }
  .nav-item--group.is-open .nav-panel { display: block; }
  .nav-panel::before { display: none; }
  .btn--header { margin-left: 0; }
  .header-inner { flex-wrap: wrap; padding-block: 0.7rem; }
  .site-nav { order: 3; flex: 1 1 100%; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .chip { width: 138px; height: 52px; }
  .chip img { height: 24px; }
  .hero__title { max-width: none; }
}

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

.hero--home-photo {
  background: linear-gradient(90deg, rgba(13, 22, 38, .88), rgba(13, 22, 38, .34)),
    url("../images/hero-home-full-hd.webp") center 52% / cover no-repeat;
  background-color: rgb(13, 22, 38);
}
.hero--home-photo > .hero__bg { display: none; }

@media (max-width: 720px) {
  .hero--home-photo {
    background-image: linear-gradient(180deg, rgba(13, 22, 38, .79), rgba(13, 22, 38, .64)),
      url("../images/hero-home-full-hd.webp");
    background-position: center, 70% center;
  }
}

@media (min-width: 1000px) {
  .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

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

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

.review-photo-note {
  margin: 0 0 1rem;
  font-size: .875rem;
  color: var(--text-muted, inherit);
}
.review__avatar img { display: block; border-radius: 50%; object-fit: cover; }

/* Homepage composition */

@media(min-width:1000px){.hero--home-photo .hero__inner{grid-template-columns:minmax(360px,.85fr) minmax(0,1.15fr);grid-template-areas:"form title" "form rest"}}
.hero--home-photo .hero__form-side {padding:20px;background:#162d45;border-radius:8px;border-top:5px solid #90d7fb;box-shadow:12px 12px 0 #101e2d}
.hero--home-photo ~ .section {background-image:linear-gradient(90deg,rgba(93,161,202,.07) 1px,transparent 1px);background-size:64px 100%}
.hero--home-photo ~ .section .section-head {text-align:left;border-top:1px solid #47718c;padding-top:20px}
.hero--home-photo ~ .section :is(.card,.faq-item,.table-wrap){border-radius:8px;border-color:#39556b}
.hero--home-photo ~ .section .step-num,.hero--home-photo ~ .section .review__stats {font-family:ui-monospace,monospace}
@media(min-width:1000px){.hero--home-photo ~ .section .grid-cards {grid-template-columns:repeat(2,minmax(0,1fr))}.hero--home-photo ~ .section:has(.steps)>.container {display:grid;grid-template-columns:.8fr 1.2fr;gap:35px}.hero--home-photo ~ .section .steps {grid-template-columns:1fr 1fr}}
.hero--home-photo h1 { font-size:clamp(2.1rem,4.2vw,4.25rem); line-height:1.05; text-wrap:balance; }
.hero--home-photo ~ .section { padding-block:clamp(44px,6vw,88px); }
.hero--home-photo ~ .section h2 { text-wrap:balance; }
header .btn--header { border-radius:8px; background:#a4dfff; color:#102a40; border:1px solid transparent; gap:.55em; font-weight:750; text-decoration:none; }
header .btn--header::after { content:"↗"; display:inline-block; transition:transform .18s; }
header .btn--header:hover, header .btn--header:focus-visible { background:#a4dfff; color:#102a40; box-shadow:0 3px 12px #0003; }
header .btn--header:hover::after { transform:translate(2px,-2px); }
@media(max-width:950px) {
  .hero--home-photo .hero__inner { display:flex; flex-direction:column; align-items:stretch; gap:16px; }
  .hero--home-photo .hero__title-wrap { display:contents; }
  .hero--home-photo .hero__inner h1 { order:-3; margin:0; max-width:100%; font-size:clamp(1.95rem,6vw,3.15rem); }
  .hero--home-photo .hero__inner .hero__form-side { order:-2; width:100%; max-width:100%; min-width:0; margin:0; box-sizing:border-box; }
  .hero--home-photo .hero__title-wrap > :not(h1) { order:0; }
}
@media(max-width:640px) {
 .hero--home-photo ~ .section :is(.steps,.step-list,.steps-grid,.step-grid){grid-template-columns:1fr}
}

@media (max-width: 950px) {
  header .header-inner { gap: 8px; }
  header .header-actions { display: flex; align-items: center; gap: 6px; }
  header .header-inner a.btn:is([href*="auth"],[href="#start-registration"]) { display: inline-flex; font-size: clamp(11px, 2.85vw, 14px); line-height: 1.12; padding: 8px 10px; min-height: 38px; max-width: 44vw; align-items: center; justify-content: center; white-space: normal; text-align: center; }
  header .header-inner :is(.brand,.header-logo) { min-width: 0; }
}
@media (max-width: 950px) {
  .hero--home-photo ~ .section { overflow-x: clip; }
  .hero--home-photo ~ .section .table-wrap { max-width: 100%; overflow-x: auto; }
  .hero--home-photo ~ .section .container > * { min-width: 0; }
}

.hero.intro-redesign {--tone:#bce8ff;--ink:#112538;background:linear-gradient(125deg,#112538,#0b141e);padding:clamp(30px,5vw,76px) 0;isolation:isolate}
.intro-redesign::before,.intro-redesign::after{display:none}
.intro-layout{display:grid;grid-template-columns:minmax(330px,.85fr) 1.22fr;grid-template-areas:"form head" "form details" "photo photo";gap:clamp(20px,3vw,48px);align-items:start}
.intro-layout>*{min-width:0}
.intro-head{grid-area:head;color:var(--tone)}
.intro-redesign .intro-head h1{margin:0;max-width:none;font-size:clamp(2.35rem,4.1vw,4.75rem);line-height:1.04;text-wrap:balance}
.intro-photo{grid-area:photo;position:relative;margin:0;overflow:hidden}
.intro-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.intro-photo figcaption{position:absolute;bottom:10px;left:14px;color:white;background:#0e182bc9;padding:3px 10px;font-size:.8rem}
.intro-form{grid-area:form;padding:clamp(17px,2.3vw,34px);background:var(--tone);color:var(--ink);scroll-margin-top:85px;align-self:start}
.intro-form :is(.form-heading,.form-hero-title,.hero-form-title){color:var(--ink);font-size:1.35rem;font-weight:750;margin:0 0 14px}
.intro-form > p:last-child{color:var(--ink);font-size:.88rem}
.intro-details{grid-area:details}.intro-details p{max-width:75ch}
.intro-help{margin-top:20px;border-top:1px solid currentColor;padding:14px 0 0}.intro-help summary{cursor:pointer;font-weight:700}.intro-help a{text-decoration:underline}
.intro-head{border-left:6px solid #60bded;padding-left:24px}.intro-form{border:1px solid #73bbdf;border-radius:6px;box-shadow:10px 10px 0 #234963}.intro-photo{height:145px}.intro-photo img{object-position:50% 55%}.intro-details .hero__badges{display:grid;gap:8px}.intro-head h1{font-weight:850}
@media(max-width:950px){.intro-redesign .intro-layout{display:flex;flex-direction:column;align-items:stretch;gap:18px}.intro-layout>.intro-head{order:0;text-align:left;margin:0}.intro-redesign .intro-head h1{font-size:clamp(2rem,6.5vw,3.4rem)}.intro-layout>.intro-form{order:1;width:100%;box-sizing:border-box}.intro-layout>.intro-photo{order:2;min-height:0;height:clamp(130px,35vw,220px)}.intro-layout>.intro-details{order:3}.intro-details .hero__copy,.intro-details .hero__rest{display:block}}

.intro-details .intro-return {display:inline-flex;align-items:center;gap:.65em;margin-top:18px;font-weight:750;text-decoration:underline;text-underline-offset:5px;color:inherit}
.intro-redesign .intro-form:target {outline:3px solid var(--accent);outline-offset:4px}
@media(max-width:950px){header .header-inner a.btn[href="#start-registration"]{display:inline-flex;align-items:center;justify-content:center;font-size:clamp(11px,2.85vw,14px);padding:8px 10px;min-height:38px;max-width:44vw;white-space:normal;text-align:center}}

.hero.hero-contact {--scene:#102a43;--highlight:#95d9ff;--panel:10px;--headline:inherit;--weight:740}

.hero.hero-contact {position:relative;isolation:isolate;background:var(--scene);color:white;padding:clamp(40px,5vw,80px) 0}
.hero-contact .intro-layout {position:static;display:grid;grid-template-columns:minmax(0,1fr) minmax(350px,440px);grid-template-areas:"head form" "details form";align-items:start;gap:16px clamp(40px,7vw,110px);min-height:440px}
.hero-contact .intro-photo {position:absolute;inset:0;z-index:-1;margin:0;width:100%;height:100%;max-width:none;min-height:0;border:0;border-radius:0;clip-path:none;pointer-events:none}
.hero-contact .intro-photo::after {content:"";position:absolute;inset:0;background:linear-gradient(90deg,color-mix(in srgb,var(--scene) 95%,transparent),color-mix(in srgb,var(--scene) 82%,transparent) 42%,color-mix(in srgb,var(--scene) 24%,transparent) 83%),linear-gradient(0deg,#07111980,transparent 55%)}
.hero-contact .intro-photo figcaption {display:none}
.hero-contact .intro-head {align-self:end;justify-self:start;text-align:left;max-width:100%;margin:0;padding:0;border:0}
.hero-contact .intro-head h1 {font-family:var(--headline);font-size:clamp(2.3rem,3.65vw,4.25rem);line-height:1.06;font-weight:var(--weight);font-style:normal;letter-spacing:-.036em;color:white;margin:0;text-shadow:none;text-align:left}
.hero-contact h1 :is(.hl,.accent) {color:var(--highlight);-webkit-text-fill-color:currentColor;background:none}
.hero-contact .intro-details {align-self:start;text-align:left;color:white;padding:0;margin:0;border:0}
.hero-contact .intro-summary {max-width:52ch;margin:0;font-size:clamp(1rem,1.25vw,1.18rem);line-height:1.55;color:#f5f7f8}
.hero-contact .intro-overview {margin-top:20px;max-width:58ch}
.hero-contact .intro-overview > summary {cursor:pointer;display:list-item;width:fit-content;color:var(--highlight);font-weight:650;padding:5px 2px}
.hero-contact .overview-body {background:white;color:#253343;border-radius:10px;padding:18px;margin-top:10px}
.hero-contact .overview-body :is(p,li,.hero__sub,.hero-lead,.hero__lead,.hero__desc,.hero-meta-label,.hero__flags,.hero__flags-label,.hero-flags-caption,.hero__meta-label) {color:#263541}
.hero-contact .intro-form {align-self:center;width:100%;max-width:none;margin:0;box-sizing:border-box;padding:clamp(22px,2.4vw,36px);color:#172432;background:white;border:0;border-top:4px solid var(--highlight);border-radius:var(--panel);box-shadow:0 16px 52px #06101945}
.hero-contact .intro-form :is(.hero-form-title,.form-heading,.form-block__title,.form-block__intro,.form-hero-title) {text-align:left;color:#182b34;font:700 clamp(1.45rem,2vw,1.85rem)/1.18 system-ui,sans-serif;letter-spacing:-.035em;margin:0 0 18px}
.hero-contact .intro-form .form-block {background:transparent;color:#263541;border:0;margin:0;padding:0;box-shadow:none}
.hero-contact .intro-form :is(.form-legal,.hero__note,.hero-note,.hero-form-note,.hero__manager-note,.hero__form-note) {color:#435360;line-height:1.45}
.hero-contact .intro-form .form-legal a {color:#225670;text-decoration:underline}
.hero-contact .intro-form > p:last-child {margin:14px 0 0;padding-top:12px;border-top:1px solid #dee5e9}
@media(max-width:800px){
.hero.hero-contact {padding:28px 0 32px}
.hero-contact .intro-layout {display:flex;flex-direction:column;gap:18px;min-height:0;align-items:stretch}
.hero-contact .intro-head,.hero-contact .intro-details {align-self:stretch}
.hero-contact .intro-head h1 {font-size:clamp(1.9rem,6.8vw,3rem)}
.hero-contact .intro-form {padding:22px 18px}
.hero-contact .intro-photo {height:100%;min-height:0}
}
.hero-contact .intro-form input:is([type=text],[type=email],[type=tel]) {background:#f7f9fb!important;color:#182532!important;border:1px solid #aebcc7!important;box-sizing:border-box}
.hero-contact .intro-form input::placeholder {color:#536373!important;opacity:1}
.hero-contact .intro-form input:focus-visible {outline:2px solid #206490;outline-offset:1px}
.hero-contact .intro-form .iti input[type=tel] {padding-inline-start:96px!important}
header .nav-invite {--invite-fill:#a7defd;--invite-ink:#102f49;--invite-shape:8px;--mark-shape:5px;--invite-edge:0 3px 0 #406f91}

/* Header action */
header .btn.nav-invite {
  display:inline-flex; align-items:center; justify-content:space-between; gap:.72em;
  min-height:44px; max-width:100%; padding:5px 6px 5px 16px; box-sizing:border-box;
  border:0; border-radius:var(--invite-shape); background:var(--invite-fill); color:var(--invite-ink);
  box-shadow:var(--invite-edge); text-decoration:none; line-height:1.15;
  font-size:14px; font-weight:750; letter-spacing:0; white-space:normal; text-align:start;
}
header .btn.nav-invite::after, header .btn.nav-invite::before {content:none}
header .nav-invite .invite-mark {
  display:grid; place-items:center; flex:none; width:29px; height:29px;
  border-radius:var(--mark-shape); background:var(--invite-ink); color:var(--invite-fill);
}
header .invite-mark svg {display:block;width:17px;height:17px;transition:transform .18s ease}
header .btn.nav-invite:is(:hover,:focus-visible) {color:var(--invite-ink);background:var(--invite-fill);box-shadow:var(--invite-edge),0 4px 12px #1112}
header .btn.nav-invite:focus-visible {outline:2px solid currentColor;outline-offset:3px}
header .nav-invite:is(:hover,:focus-visible) .invite-mark svg {transform:translateX(2px)}
@media (max-width:950px) {
  header .header-inner a.btn.nav-invite {display:inline-flex;gap:6px;padding:4px 5px 4px 10px;min-height:40px;font-size:clamp(11px,3vw,14px);max-width:44vw}
  header .nav-invite .invite-mark {width:22px;height:22px}
  header .invite-mark svg {width:15px;height:15px}
}
@media (prefers-reduced-motion:reduce) {header .nav-invite .invite-mark svg {transition:none;transform:none}}

/* Always-visible platform information in the homepage hero. */
.hero-contact .platform-brief {max-width:58ch;margin:18px 0 0;padding:12px 0 0;border-top:1px solid color-mix(in srgb,var(--highlight) 52%,transparent);text-align:start}
.hero-contact .platform-brief h2 {display:flex;align-items:center;gap:8px;color:var(--highlight);font-family:inherit;font-size:1rem;font-weight:700;line-height:1.25;letter-spacing:0;margin:0}
.platform-brief h2::before {content:"";width:6px;height:6px;background:var(--highlight);border-radius:50%;flex:none}
.hero-contact .platform-brief p {margin:6px 0 10px;font-size:.94rem;line-height:1.45;color:#f6f8fa}
.hero-contact .brief-offices,.hero-contact .brief-links {display:flex;align-items:center;flex-wrap:wrap;gap:5px 10px;color:white;font-size:.82rem;line-height:1.3}
.hero-contact .brief-offices :is(.flag-chip,.flag-item,.flag) {display:inline-flex;align-items:center;gap:4px;position:static;height:auto;width:auto;margin:0;padding:0;background:transparent;border:0;box-shadow:none;color:inherit}
.hero-contact .brief-offices svg {width:19px;height:13px;position:static}
.hero-contact .brief-links {margin-top:8px;gap:3px 14px}
.hero-contact .brief-links a {color:var(--highlight);text-decoration:underline;text-underline-offset:3px;padding-block:3px}
.hero-contact .brief-links a:is(:hover,:focus-visible) {color:white}

.readout .platform-brief {border:0;padding:0}
.readout .market-facts {display:flex;flex-wrap:wrap;margin:9px 0 0;gap:4px;background:none}
.readout .market-facts div {flex:1 1 100px;padding:8px 10px;background:#112e45eb;border-top:2px solid var(--highlight)}
.readout .market-facts dt {font:500 .75rem system-ui;color:#d5e9f7}
.readout .market-facts dd {margin:4px 0 0;font:650 .96rem ui-monospace,monospace;color:white}

.readout .platform-brief h2::before {display:none}

.home-jump {background:#133348;color:#c6ebff;border-block:1px solid #133348}
.home-jump .container {display:flex;flex-wrap:wrap;align-items:center;gap:0 clamp(14px,3vw,36px)}
.home-jump a {display:inline-flex;align-items:center;min-height:44px;padding:4px 0;color:inherit;font-weight:650;font-size:.92rem;text-decoration:underline;text-underline-offset:4px}
.home-jump a:visited {color:inherit}
.home-jump a:is(:hover,:focus-visible) {color:#fff;text-decoration-thickness:2px}
.home-jump a::after {content:"↓";padding-inline-start:.4em}
.home-jump ~ section[id] {scroll-margin-top:85px}
.hero-contact ~ section [role=region][tabindex] {max-width:100%;overflow-x:auto}
.home-jump a:focus-visible,.hero-contact ~ section [role=region][tabindex]:focus-visible {outline:2px solid currentColor;outline-offset:-2px}
