/* ==========================================================================
   Neuravela — design system (base profile)
   Light clinical fintech · navy, wine red and gold · Schibsted Grotesk + Inter
   All pairs WCAG AA (>= 4.5:1). One theme, no mid-site flips.
   ========================================================================== */

/* ---------- Fonts (self-hosted woff2, no CDN) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/schibsted-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: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/schibsted-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #F5F8FD;
  --surface: #FFFFFF;
  --surface-2: #EEF2F9;
  --border: #D9E1EF;
  --border-strong: #BFCCE3;
  --ink: #101C33;
  --muted: #47566E;
  --accent: #a61829;
  --accent-hover: #80101e;
  --accent-tint: #f8e8e9;
  --accent-tint-rgb: 248, 232, 233;
  --accent-deep: #0b1628;
  --accent-gold: #ffca59;
  --accent-gold-hover: #ffe295;
  --accent-gold-ink: #1c1921;
  --ok: #0E7A4F;
  --ok-tint: #E3F3EC;
  --danger: #B3352F;
  --danger-tint: #FBEAEA;
  --warn: #8A5A00;
  --warn-tint: #FBF3DF;

  --font-display: 'Schibsted Grotesk', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --shadow-sm: 0 1px 2px rgba(16, 28, 51, 0.05), 0 1px 3px rgba(16, 28, 51, 0.06);
  --shadow-md: 0 1px 2px rgba(16, 28, 51, 0.06), 0 8px 24px rgba(16, 28, 51, 0.09);
  --shadow-lg: 0 2px 6px rgba(16, 28, 51, 0.08), 0 18px 44px rgba(16, 28, 51, 0.16);

  --container: 1200px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .6, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe, video, canvas { max-width: 100%; height: auto; }
iframe { border: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0 0 .6em;
  color: var(--ink);
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.05rem); font-weight: 800; letter-spacing: -0.022em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.12rem, 1.9vw, 1.3rem); }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1em; }
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.3em; }
li { margin-bottom: .4em; }
strong { color: var(--ink); font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.2rem 0; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 16px;
  border-radius: var(--radius-sm); font-weight: 600;
  transition: top .15s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--tint { background: var(--surface-2); border-block: 1px solid var(--border); }
.section--white { background: var(--surface); }
.section--deep { background: var(--accent-deep); color: #E6EBF8; }
.section--deep h2, .section--deep h3 { color: #fff; }
.section--deep p { color: #C9D4EF; }
.section--deep a { color: #B9C6F4; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }
.section--deep .section-head p { color: #C9D4EF; }

/* Numbered micro-label (layout signature) */
.micro {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: .8rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
  margin: 0 0 14px;
}
.micro::before {
  content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px;
}
.section--deep .micro { color: #9FB4EE; }
.section--deep .micro::before { background: #9FB4EE; }

.hairline { border-top: 1px solid var(--border); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 13px 26px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background-color .16s var(--ease), color .16s var(--ease),
              transform .16s var(--ease), box-shadow .16s var(--ease);
  white-space: nowrap; line-height: 1.2;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.header-cta .btn, .nav-menu-cta.btn { background: var(--accent-gold); color: var(--accent-gold-ink); }
.header-cta .btn:hover, .nav-menu-cta.btn:hover { background: var(--accent-gold-hover); color: var(--accent-gold-ink); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--ghost:hover { background: var(--accent-tint); color: var(--accent-hover); }
.btn--on-dark { background: #fff; color: var(--accent-deep); }
.btn--on-dark:hover { background: #E6EBF8; color: var(--accent-deep); transform: translateY(-1px); }
.btn--lg { padding: 16px 32px; font-size: 1.06rem; }
.btn--sm { padding: 9px 18px; font-size: .92rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex; align-items: center; gap: 24px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand__word { font-family: var(--font-display); font-size: 1.34rem; font-weight: 800; letter-spacing: -0.02em; }
.brand__mark { width: 34px; height: 34px; flex: 0 0 auto; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-item > a, .nav-item > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-weight: 500; font-size: .96rem; color: var(--ink);
  background: none; border: 0; cursor: pointer; font-family: inherit;
}
.nav-item > a:hover, .nav-item > button:hover { background: var(--accent-tint); color: var(--accent-hover); text-decoration: none; }
.nav-item > button .chev { transition: transform .16s var(--ease); }
.nav-item.is-open > button .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 252px; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s var(--ease), transform .15s var(--ease), visibility .15s;
  z-index: 120;
}
.nav-item.is-open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown::before {
  content: ""; position: absolute; top: -6px; left: 22px;
  width: 10px; height: 10px; background: var(--bg);
  border-left: 1px solid var(--border); border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.dropdown.is-right { left: auto; right: 0; }
.dropdown.is-right::before { left: auto; right: 22px; }
.dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--ink); font-size: .94rem; font-weight: 500;
}
.dropdown a:hover { background: var(--accent-tint); color: var(--accent-hover); text-decoration: none; }
.dropdown a .ico { width: 18px; height: 18px; color: var(--accent); flex: 0 0 auto; }
.dropdown--tall { column-count: 2; column-gap: 8px; min-width: 460px; }
.dropdown--tall a { break-inside: avoid; }

.header-cta { display: inline-flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border);
  border-radius: var(--radius-sm); width: 42px; height: 42px;
  align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}
/* In-menu CTA (narrow phones): hidden everywhere except inside the opened
   burger menu below 400px, where the header-row CTA no longer fits. */
.nav-menu-cta { display: none; }
.nav-menu-cta.btn { width: 100%; justify-content: center; }
.nav-toggle .ico { width: 22px; height: 22px; }
.nav-toggle .ico--close { display: none; }
.nav-open .nav-toggle .ico--menu { display: none; }
.nav-open .nav-toggle .ico--close { display: block; }

@media (max-width: 1023px) {
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    display: none; flex-direction: column; align-items: stretch;
    padding: 14px clamp(16px, 4vw, 40px) 26px;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav-open .main-nav { display: flex; }
  .nav-item { width: 100%; }
  .nav-item > a, .nav-item > button { width: 100%; justify-content: space-between; padding: 13px 10px; font-size: 1rem; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; padding: 0 0 4px 14px; display: none; min-width: 0;
  }
  .nav-item.is-open .dropdown { display: block; }
  .dropdown::before { display: none; }
  .dropdown--tall { column-count: 1; min-width: 0; }
  .header-cta { margin-top: 14px; }
  .header-cta .btn { width: 100%; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .header-cta--desktop { display: none; }
}
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .header-cta--mobile { display: none; }
}

/* Narrow phones (≤460px): tighten the header row so brand, mobile CTA and the
   42px burger all fit inside the container — no horizontal overflow at
   375/390px. Arithmetic at 375px: available 375 − 2×16 padding = 343;
   content = brand (30 + 8 + ~85 word) + CTA (~116) + toggle 44 + gaps 2×10
   ≈ 303 ≤ 343. */
@media (max-width: 460px) {
  .header-inner { gap: 10px; }
  .brand { gap: 8px; }
  .brand__mark { width: 30px; height: 30px; }
  .brand__word { font-size: 1.02rem; }
  .header-cta--mobile .btn { padding: 10px 14px; font-size: .9rem; }
}
/* ≤400px the CTA leaves the header row (it cannot share it with brand +
   burger at 320px) and lives inside the opened burger menu instead, so the
   conversion path stays reachable on small phones. */
@media (max-width: 400px) {
  .header-cta--mobile { display: none; }
  .nav-menu-cta { display: inline-flex; margin-top: 14px; }
}

/* ---------- Ticker (beacon injects after header) ---------- */
.site-main { min-height: 40vh; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(720px 420px at 84% -8%, var(--accent-tint) 0%, rgba(var(--accent-tint-rgb), 0) 62%),
    radial-gradient(560px 380px at -6% 18%, rgba(var(--accent-tint-rgb), .9) 0%, rgba(var(--accent-tint-rgb), 0) 58%),
    linear-gradient(180deg, #F5F8FD 0%, #EDF2FB 100%);
}
.hero__mesh {
  position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M48 0H0v48' fill='none' stroke='%23D9E1EF' stroke-width='1'/%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.25) 70%, rgba(0,0,0,0));
          mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.25) 70%, rgba(0,0,0,0));
}
.hero__canvas { position: absolute; z-index: 0; right: 0; top: 0; height: 100%; width: 58%; opacity: .9; }
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(48px, 6vw, 84px) 0 clamp(56px, 6vw, 88px);
  align-items: start;
}
.hero__flagbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-top: 26px; }
.hero__flagbar .cap { font-size: .88rem; color: var(--muted); font-weight: 500; }
.flagchip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; box-shadow: var(--shadow-sm); font-size: .86rem; font-weight: 600; color: var(--ink); }
.flagchip svg { width: 22px; height: 15px; border-radius: 2px; display: block; }
.hero__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.hero__links a {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 14px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: .92rem; font-weight: 600; color: var(--ink);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease), transform .16s var(--ease);
}
.hero__links a:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); transform: translateY(-1px); color: var(--accent-hover); text-decoration: none; }
.hero__links .ico { width: 17px; height: 17px; color: var(--accent); }
.hero__formcol { position: relative; }
.hero__motif { position: absolute; z-index: 0; inset: auto -40px -46px auto; width: 300px; opacity: .55; pointer-events: none; }

@media (max-width: 991px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 38px; }
  /* Mobile order per checklist block 1: heading, then form, then rest of copy */
  .hero__copy { order: 0; }
  .hero__formcol { order: 1; }
  .hero__sub { order: 2; }
  .hero__canvas, .hero__motif { display: none; }
}

.hero__lede { font-size: 1.08rem; color: var(--muted); max-width: 34em; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; }
.hero__trust li { list-style: none; display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--ink); font-weight: 500; margin: 0; }
.hero__trust .ico { width: 16px; height: 16px; color: var(--ok); }

/* ---------- Page hero (inner pages, split with form) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--border); }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(640px 340px at 88% -12%, var(--accent-tint) 0%, rgba(var(--accent-tint-rgb), 0) 60%),
    linear-gradient(180deg, #F5F8FD, #EFF3FB);
}
.page-hero__mesh {
  position: absolute; inset: 0; opacity: .45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M48 0H0v48' fill='none' stroke='%23D9E1EF' stroke-width='1'/%3E%3C/svg%3E");
}
.page-hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(40px, 5vw, 68px) 0;
  align-items: center;
}
.page-hero__inner > div:first-child { align-self: center; }
.page-hero p.lede { color: var(--muted); font-size: 1.05rem; max-width: 36em; }
@media (max-width: 991px) {
  .page-hero__inner { grid-template-columns: 1fr; }
}

/* ---------- Form block (formFactory wrapper) ---------- */
.form-block {
  position: relative; z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(20px, 3vw, 30px);
}
.form-block__title { font-size: 1.18rem; margin-bottom: 10px; }
.iti .iti__country-name { color: #000; }
.form-block__intro { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.form-legal { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }
.form-legal a { color: var(--accent); font-weight: 500; }
.form-note { display: flex; gap: 8px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin-top: 12px; }
.form-note .ico { width: 16px; height: 16px; color: var(--ok); flex: 0 0 auto; margin-top: 2px; }

/* ---------- Cards & grids ---------- */
.card-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card-grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: 24px; transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: .5em; }
.card p { color: var(--muted); margin-bottom: 0; font-size: .96rem; }
.card--flat:hover { transform: none; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: .92rem; }
.card__link .ico { width: 15px; height: 15px; }

.icon-badge {
  width: 50px; height: 50px; border-radius: 13px;
  background: var(--accent-tint); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.icon-badge svg { width: 24px; height: 24px; }
.icon-badge--sm { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 12px; }
.icon-badge--sm svg { width: 20px; height: 20px; }

/* Asymmetric feature grid (anti 3-identical-cards) */
.feature-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.feature-grid > .card { grid-column: span 2; }
.feature-grid > .card--wide { grid-column: span 3; }
@media (max-width: 991px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid > .card, .feature-grid > .card--wide { grid-column: span 1; }
}
@media (max-width: 639px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* Steps (small accent circle numerals) */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: step; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 24px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.step:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.step__num {
  counter-increment: step;
  width: 34px; height: 34px; border-radius: 999px;
  background: var(--accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .95rem; margin-bottom: 14px;
}
.step__num::before { content: counter(step); }
.step h3 { font-size: 1.06rem; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- Tables (data-sheet style) ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); margin: 0 0 1.4em; }
table.data { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 560px; }
table.data th {
  background: var(--surface-2); text-align: left; font-weight: 600;
  padding: 13px 18px; border-bottom: 1px solid var(--border);
  color: var(--ink); font-size: .88rem; letter-spacing: .01em;
}
table.data td { padding: 13px 18px; border-bottom: 1px solid var(--border); color: var(--muted); vertical-align: top; }
table.data tbody tr:nth-child(even) { background: var(--surface-2); } /* zebra */
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td strong { color: var(--ink); }
.yes { color: var(--ok); font-weight: 700; }
.no { color: var(--danger); font-weight: 700; }

/* ---------- Exchange logo chips ---------- */
.exchanges { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; }
.exch-chip {
  width: 160px; height: 56px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); background: #ffffff; padding: 10px 14px;
}
.exch-chip--dark { background: #0f172a; border-color: #0f172a; }
.exch-chip img { height: 28px; width: auto; max-width: 100%; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.review {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 22px;
}
.review__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.review__head img { width: 56px; height: 56px; border-radius: 999px; border: 2px solid var(--accent-tint); object-fit: cover; flex: 0 0 auto; }
.review__name { font-weight: 700; font-size: .98rem; color: var(--ink); }
.review__role { font-size: .84rem; color: var(--muted); }
.review__body { color: var(--muted); font-size: .95rem; margin: 0 0 14px; }
.review__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-top: 1px solid var(--border); padding-top: 14px; }
.review__stats dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 2px; }
.review__stats dd { font-weight: 700; color: var(--ink); margin: 0; font-size: .92rem; font-variant-numeric: tabular-nums; }
.reviews-note { font-size: .82rem; color: var(--muted); margin-top: 18px; max-width: 760px; }

/* ---------- FAQ accordion ---------- */
.faq { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq__item + .faq__item { border-top: 1px solid var(--border); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; background: none; border: 0; cursor: pointer;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--ink); text-align: left;
}
.faq__q:hover { background: var(--accent-tint); }
.faq__q .ico { width: 18px; height: 18px; color: var(--accent); flex: 0 0 auto; transition: transform .18s var(--ease); }
.faq__item.is-open .faq__q .ico { transform: rotate(180deg); }
.faq__a { display: none; padding: 0 22px 18px; color: var(--muted); font-size: .96rem; }
.faq__item.is-open .faq__a { display: block; }
.faq__cat { margin-top: 34px; }
.faq__cat:first-of-type { margin-top: 22px; }

/* ---------- Calculator section ---------- */
.calc-band {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: clamp(24px, 4vw, 44px);
  color: var(--ink);
}
.calc-band::after {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M48 0H0v48' fill='none' stroke='%23E8EDFB' stroke-width='1'/%3E%3C/svg%3E");
}
.calc-band > * { position: relative; z-index: 1; }
.calc-band h2 { color: var(--ink); }
.calc-band p { color: var(--muted); max-width: 46em; }
.calc-band .calc-canvas { position: absolute; right: 0; bottom: 0; opacity: .3; z-index: 0; pointer-events: none; }

/* ---------- Comparison table ---------- */
.compare { display: grid; grid-template-columns: 1.5fr 1fr 1fr; }
@media (max-width: 767px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: 16px 0 0; font-size: .86rem; color: var(--muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; color: var(--border-strong); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--accent-deep); color: #B9C6F4; margin-top: 0; }
.site-footer a { color: #C9D4EF; font-size: .92rem; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 32px; padding: clamp(40px, 5vw, 64px) 0 28px; }
.footer-brand { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; max-width: 480px; }
@media (min-width: 1024px) { .footer-brand { grid-column: span 2; } }
.footer-brand .brand { color: #fff; }
.footer-col h3 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding: 22px 0 30px; font-size: .86rem; }
.footer-bottom h3 { color: #fff; }
.footer-bottom p { color: #A9B8E0; max-width: 62em; }
.footer-disclaimer { margin-bottom: 10px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 14px; color: #8FA0D6; }

/* ---------- Content typography helpers ---------- */
.prose { max-width: 76ch; }
.prose h2 { margin-top: 2.1em; }
.prose h3 { margin-top: 1.6em; }
.prose ul li, .prose ol li { color: var(--muted); }
.lead { font-size: 1.08rem; color: var(--muted); }
.notice {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--warn-tint); border: 1px solid #EAD9AE; border-radius: var(--radius);
  padding: 16px 18px; margin: 0 0 1.4em; color: #6B4A08; font-size: .94rem;
}
.notice .ico { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; color: var(--warn); }
.notice--danger { background: var(--danger-tint); border-color: #EBC6C4; color: #7C2A26; }
.notice--danger .ico { color: var(--danger); }
.notice--ok { background: var(--ok-tint); border-color: #BFDFD0; color: #0B5A3B; }
.notice--ok .ico { color: var(--ok); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 899px) { .two-col { grid-template-columns: 1fr; } }

.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; color: var(--muted); }
.check-list .ico { width: 18px; height: 18px; color: var(--ok); flex: 0 0 auto; margin-top: 3px; }

/* Map embed */
.map-embed {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  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%; display: block; }

/* Vacancies */
.vacancy { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); padding: 22px 24px; margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.vacancy h3 { margin-bottom: 4px; }
.vacancy p { margin: 0; color: var(--muted); font-size: .93rem; }
.vacancy__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { font-size: .78rem; font-weight: 600; color: var(--accent); background: var(--accent-tint); border-radius: 999px; padding: 4px 11px; }

/* 404 */
.error-hero { text-align: center; padding: clamp(70px, 10vw, 130px) 0; }
.error-hero .code { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 12vw, 7.5rem); letter-spacing: -0.04em; color: var(--accent); margin: 0 0 8px; line-height: 1; }

/* ---------- Special offer page ---------- */
.urgency-strip { background: var(--accent-deep); color: #fff; font-size: .9rem; }
.urgency-strip__inner { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: center; padding: 9px 0; font-weight: 500; }
.urgency-strip .dot { display: inline-block; width: 8px; height: 8px; border-radius: 999px; background: #3AE08C; margin-right: 8px; }
.offer-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--accent-deep), var(--accent)); color: #fff; }
.offer-hero::after {
  content: ""; position: absolute; inset: 0; opacity: .18; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M48 0H0v48' fill='none' stroke='%23FFFFFF' stroke-width='1'/%3E%3C/svg%3E");
}
.offer-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 56px); padding: clamp(44px, 6vw, 80px) 0; align-items: center; }
.offer-hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 999px; padding: 7px 14px; font-size: .86rem; font-weight: 600; margin-bottom: 18px; }
.offer-hero h1 { color: #fff; }
.offer-hero p { color: #C9D4EF; font-size: 1.08rem; }
.offer-hero .form-block { background: #fff; }
.offer-reinforce { color: #DAE2F6; font-size: .95rem; margin-top: 12px; max-width: 52em; }
.steps--compact { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.cta-band { background: var(--accent); color: #fff; text-align: center; padding: clamp(44px, 6vw, 72px) 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #D6DEF6; max-width: 46em; margin-inline: auto; }
.countdown { display: flex; gap: 10px; align-items: center; justify-content: flex-start; margin: 18px 0; }
.countdown__seg { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); border-radius: 10px; padding: 10px 14px; min-width: 74px; text-align: center; font-variant-numeric: tabular-nums; }
.countdown__seg .t { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; line-height: 1; letter-spacing: .02em; }
.countdown__seg .l { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: #C9D4EF; margin-top: 6px; }
.countdown__sep { font-weight: 700; font-size: 1.5rem; color: #C9D4EF; }
.modal-illustration { display: block; margin: 0 auto 14px; width: 132px; height: auto; }

/* Exit-intent modal */
.soff-modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.soff-modal.is-open { display: flex; }
.soff-modal__overlay { position: absolute; inset: 0; background: rgba(14, 31, 92, .6); }
.soff-modal__card {
  position: relative; z-index: 1; background: #fff; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); max-width: 460px; width: 100%;
  padding: 30px 28px 26px; text-align: center;
  color: var(--ink);
}
.soff-modal__card h2 { font-size: 1.5rem; }
.soff-modal__card p { color: var(--muted); font-size: .96rem; text-align: left; }
.soff-modal__close { position: absolute; top: 12px; right: 12px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.soff-modal__close .ico { width: 16px; height: 16px; }
.soff-modal .countdown { justify-content: center; }
.soff-modal .countdown__seg { background: var(--accent-tint); border-color: var(--border-strong); }
.soff-modal .countdown__seg .t { color: var(--accent-deep); }
.soff-modal .countdown__seg .l { color: var(--muted); }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 12px; } .mb-2 { margin-bottom: 24px; }
.w-100 { width: 100%; }
.small { font-size: .86rem; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.kv { display: grid; grid-template-columns: minmax(180px, 260px) 1fr; gap: 10px 18px; }
@media (max-width: 599px) { .kv { grid-template-columns: 1fr; } }
.kv dt { font-weight: 600; color: var(--ink); }
.kv dd { margin: 0; color: var(--muted); }

/* Scroll reveal (JS enhances; content visible without JS) */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

.site-header :is(a.header-cta,.header-cta .btn,.nav-menu-cta,.mm-cta .btn) {
  background: linear-gradient(115deg,#ffe09a,#efb74a); color: #192335; 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 #efb74a; }
