/* ==========================================================================
   Quanaliz — PRECISION_GRID_MINIMAL (cobalt)
   Flat-precision Swiss grid: hairline rules, 12-column rhythm, tabular
   numerals, dotted graph-paper texture. Light theme, one cobalt accent.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
    --bg:            #FEFEFD;
    --surface:       #F3F5F7;
    --surface-2:     #E8ECEF;
    --border:        #D8DEE4;
    --border-strong: #C3CCD6;
    --text:          #131C2E;   /* deep navy ink */
    --muted:         #57677E;
    --accent:        #1E4FD8;   /* restrained cobalt */
    --accent-dark:   #173DA8;
    --accent-tint:   #E9EEFB;
    --up:            #0F7B4F;
    --down:          #C64F4F;
    --ink:           #131C2E;

    --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

    --radius-s: 6px;
    --radius:   8px;   /* cards, modules — small and exact */
    --radius-l: 12px;  /* dropdown, modal */

    --shadow-s: 0 1px 2px rgba(19, 28, 46, .05);
    --shadow-m: 0 1px 2px rgba(19, 28, 46, .05), 0 8px 24px rgba(19, 28, 46, .08);
    --shadow-l: 0 2px 6px rgba(19, 28, 46, .08), 0 18px 48px rgba(19, 28, 46, .14);

    --ease: cubic-bezier(.2, .6, .2, 1);
    --rule: 1px solid var(--border);

    /* dotted graph-paper texture, ~3% ink */
    --dots: radial-gradient(rgba(19, 28, 46, .05) 1px, transparent 1.2px);
    --dots-size: 26px 26px;
}

/* ---------- 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);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 { font-weight: 700; line-height: 1.22; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 2.9rem); }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.5vw, 2rem); }
h3 { font-size: 1.12rem; }
p  { margin: 0 0 1em; }
a  { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin: 0 0 .4em; }
strong { font-weight: 600; }

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

::selection { background: var(--accent-tint); }

.icon { flex: none; vertical-align: -.18em; }

.num, .table td.num, .table th.num,
.data-strip, .countdown, .review__stats, .step__num {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
}

/* visually hidden helper (icon-only controls) */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* calculator + chart illustration, hairline-separated columns */
.calc-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: stretch;
}
.company-facts__list { list-style: none; margin: 18px 0 0; padding: 0; }
.company-facts__list li {
    padding: 12px 0;
    border-top: var(--rule);
    color: var(--muted);
    font-size: .95rem;
}
.company-facts__list strong { color: var(--text); display: inline-block; margin-bottom: 2px; }

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

.section { padding: clamp(48px, 6vw, 84px) 0; position: relative; }
.section--tint, .section--warm { background: var(--surface); border-block: var(--rule); }
.section--grid-tex {
    background-image: var(--dots);
    background-size: var(--dots-size);
}

/* hairline top rule marks a new module band on white */
.section + .section:not(.section--tint):not(.section--warm)::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    border-top: var(--rule);
}

.section-head { margin-bottom: clamp(24px, 3vw, 40px); max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-bottom: 0; }

.lead { font-size: 1.1rem; color: var(--muted); max-width: 66ch; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent);
}
.eyebrow::before {
    content: "";
    width: 18px;
    height: 2px;
    background: var(--accent);
}

.prose { max-width: 74ch; }
.prose p, .prose li { color: var(--text); }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose table { margin: 0 0 1.4em; }

.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.note {
    font-size: .88rem;
    color: var(--muted);
    border-left: 2px solid var(--border-strong);
    padding: 2px 0 2px 14px;
    max-width: 66ch;
}
.text-center { text-align: center; }

/* skip link */
.skip-link {
    position: absolute;
    left: 12px;
    top: -48px;
    z-index: 200;
    background: var(--ink);
    color: #fff;
    padding: 10px 16px;
    border-radius: var(--radius-s);
    font-size: .9rem;
    transition: top .15s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; text-decoration: none; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    min-height: 46px;
    font: inherit;
    font-weight: 600;
    font-size: .95rem;
    line-height: 1.2;
    white-space: nowrap;
    border-radius: var(--radius-s);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color .15s var(--ease), color .15s var(--ease),
                border-color .15s var(--ease), transform .15s var(--ease),
                box-shadow .15s var(--ease);
}
.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-s);
}
.btn-primary:hover, .btn-primary:focus-visible {
    background: var(--accent-dark);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--shadow-m);
}
.btn-primary:active { transform: none; box-shadow: var(--shadow-s); }
.btn-secondary {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}
.btn-secondary:hover, .btn-secondary:focus-visible {
    background: var(--accent-tint);
    color: var(--accent-dark);
    text-decoration: none;
    border-color: var(--accent-dark);
}
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(254, 254, 253, .98);
    border-bottom: var(--rule);
    transition: box-shadow .2s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-m); }

.header-inner {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.5vw, 32px);
    min-height: 72px;
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand svg { display: block; height: 34px; width: auto; }
.brand:hover { text-decoration: none; opacity: .92; }

.site-nav { margin-left: auto; display: none; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }

.nav-link, .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    font: inherit;
    font-size: .93rem;
    font-weight: 600;
    color: var(--text);
    background: none;
    border: 0;
    border-radius: var(--radius-s);
    cursor: pointer;
}
.nav-link:hover, .nav-toggle:hover { color: var(--accent); background: var(--accent-tint); text-decoration: none; }
.nav-toggle .icon { transition: transform .15s var(--ease); color: var(--muted); }
.has-dropdown.is-open .nav-toggle { color: var(--accent); background: var(--accent-tint); }
.has-dropdown.is-open .nav-toggle .icon { transform: rotate(180deg); }

.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 264px;
    max-width: min(320px, 84vw);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-m);
    padding: 8px;
    opacity: 0;
    transform: translateY(4px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity .15s var(--ease), transform .15s var(--ease), visibility .15s;
    z-index: 110;
}
.dropdown::before {  /* caret pointing at the trigger */
    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);
}
/* keep the menu inside the viewport near the right edge */
.nav-item:last-child .dropdown, .nav-item:nth-last-child(2) .dropdown { left: auto; right: 0; }
.nav-item:last-child .dropdown::before, .nav-item:nth-last-child(2) .dropdown::before { left: auto; right: 22px; }

.has-dropdown.is-open .dropdown {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.dropdown-list { list-style: none; margin: 0; padding: 0; }
.dropdown-link {
    display: block;
    padding: 9px 12px;
    border-radius: var(--radius-s);
    font-size: .92rem;
    color: var(--text);
    line-height: 1.35;
}
.dropdown-link:hover, .dropdown-link:focus-visible {
    background: var(--accent-tint);
    color: var(--accent-dark);
    text-decoration: none;
}
.dropdown-link.is-active {
    color: var(--accent);
    font-weight: 600;
    background: var(--accent-tint);
}

.btn-header { display: none; }
.header-cta-icon { display: inline-flex; }

.nav-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-s);
    color: var(--text);
    cursor: pointer;
}
.nav-burger:hover { border-color: var(--accent); color: var(--accent); }
.nav-burger .burger-open, .nav-burger .burger-close { display: inline-flex; }
.nav-burger .burger-close { display: none; }
.nav-burger[aria-expanded="true"] .burger-open { display: none; }
.nav-burger[aria-expanded="true"] .burger-close { display: inline-flex; }

/* mobile nav */
.mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: var(--rule);
    box-shadow: var(--shadow-m);
    padding: 12px 0 20px;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
}
.mobile-nav__group { border-top: var(--rule); }
.mobile-nav__group:first-child { border-top: 0; }
.mobile-nav__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 13px 0;
    font: inherit;
    font-size: .95rem;
    font-weight: 700;
    color: var(--text);
    background: none;
    border: 0;
    cursor: pointer;
    text-align: left;
}
.mobile-nav__heading .icon { color: var(--muted); transition: transform .15s var(--ease); }
.mobile-nav__heading[aria-expanded="true"] .icon { transform: rotate(180deg); color: var(--accent); }
.mobile-nav__list { list-style: none; margin: 0 0 8px; padding: 0; }
.mobile-nav__link {
    display: block;
    padding: 8px 0 8px 12px;
    border-left: 2px solid var(--border);
    color: var(--muted);
    font-size: .93rem;
}
.mobile-nav__link:hover, .mobile-nav__link.is-active { color: var(--accent); border-left-color: var(--accent); text-decoration: none; }
.mobile-nav .btn { margin-top: 14px; }

/* ---------- ticker (injected by _beacon; styled around, not rebuilt) ----- */
.beacon-ticker-row {
    background: var(--surface) !important;
    border-bottom: var(--rule) !important;
}
.beacon-tape { font-family: var(--font); }

/* ---------- hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--bg);
    border-bottom: var(--rule);
    padding: clamp(40px, 5vw, 76px) 0 0;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        radial-gradient(900px 420px at 88% -10%, rgba(30, 79, 216, .07), transparent 62%),
        linear-gradient(180deg, rgba(243, 245, 247, .5), transparent 40%),
        var(--dots);
    background-size: auto, auto, var(--dots-size);
    transform: translate3d(var(--crypto-x, 0px), calc(var(--crypto-y, 0px) + var(--hero-py, 0px)), 0);
}
.hero__bg::after {  /* faint ascending chart rule, drawn not implied */
    content: "";
    position: absolute;
    right: -80px;
    bottom: -40px;
    width: 620px;
    height: 340px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='620' height='340' viewBox='0 0 620 340' fill='none'%3E%3Cpath d='M10 300 L90 250 L170 268 L250 200 L330 216 L410 140 L490 158 L570 70' stroke='%231E4FD8' stroke-opacity='.16' stroke-width='2'/%3E%3Cpath d='M10 300 L90 250 L170 268 L250 200 L330 216 L410 140 L490 158 L570 70 L570 340 L10 340 Z' fill='%231E4FD8' fill-opacity='.04'/%3E%3Cg stroke='%23131826' stroke-opacity='.1' stroke-width='1'%3E%3Cpath d='M120 150 v80'/%3E%3Cpath d='M150 130 h-30 v60 h30 z' fill='%231E4FD8' fill-opacity='.08'/%3E%3Cpath d='M320 90 v110'/%3E%3Cpath d='M305 110 h30 v70 h-30 z' fill='%23131826' fill-opacity='.07'/%3E%3Cpath d='M470 60 v130'/%3E%3Cpath d='M455 80 h30 v80 h-30 z' fill='%231E4FD8' fill-opacity='.08'/%3E%3C/g%3E%3C/svg%3E") no-repeat right bottom;
    opacity: .9;
}

.hero .container { position: relative; z-index: 1; }

.hero-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(24px, 3vw, 48px);
    align-items: start;
}
.hero-copy { grid-column: span 7; }
.hero-form { grid-column: span 5; }

.hero-rule {
    width: 56px;
    height: 2px;
    background: var(--accent);
    margin: 18px 0 20px;
}

.hero-sub { font-size: 1.08rem; color: var(--muted); max-width: 54ch; margin-bottom: 22px; }

/* offices flag trio + trust links */
.hero-meta { margin-top: 26px; padding-top: 20px; border-top: var(--rule); }
.offices { font-size: .9rem; color: var(--muted); }
.offices .offices__label { display: block; margin-bottom: 10px; letter-spacing: .02em; }
.flag-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 6px;
    margin: 0 8px 8px 0;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg);
    font-size: .85rem;
    font-weight: 600;
    color: var(--text);
}
.flag-chip svg { display: block; border-radius: 2px; }
.flag-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    margin-right: 8px;
    vertical-align: 1px;
}

.hero-trust { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--text);
    font-size: .9rem;
    font-weight: 600;
    box-shadow: var(--shadow-s);
    transition: border-color .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease);
}
.trust-link .icon { color: var(--accent); }
.trust-link:hover {
    color: var(--accent-dark);
    text-decoration: none;
    border-color: rgba(30, 79, 216, .4);
    transform: translateY(-1px);
    box-shadow: var(--shadow-m);
}

/* data strip: the plotted axis under the hero */
.data-strip {
    margin-top: clamp(32px, 4vw, 56px);
    border-top: var(--rule);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(255, 255, 255, .6);
}
.data-strip__stat {
    padding: 18px 20px 20px;
    border-right: var(--rule);
    display: grid;
    gap: 4px;
}
.data-strip__stat:last-child { border-right: 0; }
.data-strip__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}
.data-strip__value { font-size: 1.3rem; font-weight: 700; color: var(--text); }
.data-strip__value small { font-size: .78rem; font-weight: 600; color: var(--muted); margin-left: 6px; }
.data-strip__spark { margin-top: 6px; }
.spark-line { stroke: var(--accent); stroke-width: 1.5; fill: none; }
.spark-line--down { stroke: var(--down); }
.spark-dot { fill: var(--accent); }
.spark-dot--down { fill: var(--down); }

/* ---------- form module ---------- */
.form-block {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-m);
    padding: clamp(20px, 2.4vw, 30px);
}
.form-block__heading {
    font-size: 1.02rem;
    font-weight: 700;
    margin: 0 0 4px;
    padding-bottom: 12px;
    border-bottom: var(--rule);
}
.form-block__intro { font-size: .92rem; color: var(--muted); margin: 10px 0 6px; }
.form-note {
    font-size: .84rem;
    color: var(--muted);
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: var(--rule);
}
.form-legal { font-size: .8rem; color: var(--muted); margin: 8px 0 0; }
.form-legal a { text-decoration: underline; text-underline-offset: 2px; }
.form-card { /* same module on inner-page heroes */
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-m);
    padding: clamp(20px, 2.4vw, 30px);
}

/* complement the injected formFactory markup */
.form-block .bff__label, .form-card .bff__label { color: var(--text); }
.form-block .bff__input, .form-card .bff__input {
    border-color: var(--border);
    border-radius: var(--radius-s);
    background: #fff;
    color: var(--text);
}
.form-block .bff__input:focus, .form-card .bff__input:focus { border-color: var(--accent); }
.form-block .bff__submit, .form-card .bff__submit {
    border-radius: var(--radius-s);
    font-weight: 700;
}

/* ---------- home blocks ---------- */
.exchanges { padding: 26px 0; border-bottom: var(--rule); }
.exchanges .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.exchanges__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-right: 6px;
}
.exchange-chip {
    display: inline-block;
    padding: 7px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg);
    font-family: var(--font);
    font-size: .92rem;
    font-weight: 700;
    letter-spacing: .01em;
    color: var(--muted);
}
.exchange-chip:nth-child(odd) { color: var(--text); }

.calc-section {
    background-image: var(--dots);
    background-size: var(--dots-size);
}
.calc-chart { /* thin-bar chart illustration beside the calculator */
    margin-top: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    padding: 18px;
    box-shadow: var(--shadow-s);
}

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--border); border: var(--rule); border-radius: var(--radius); overflow: hidden; }
.step { background: var(--bg); padding: 24px 22px 26px; }
.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: .88rem;
    font-weight: 700;
    margin-bottom: 14px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* comparison table */
.compare-wrap { overflow-x: auto; contain: layout; border: var(--rule); border-radius: var(--radius); background: var(--bg); box-shadow: var(--shadow-s); }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; }
.compare th, .compare td { padding: 13px 18px; text-align: left; border-bottom: var(--rule); font-size: .95rem; }
.compare thead th {
    background: var(--surface);
    font-size: .85rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--accent);
    border-bottom: 1px solid var(--border-strong);
}
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .col-us, .compare .col-them { text-align: center; width: 190px; }
.compare .col-us { background: rgba(233, 238, 251, .45); }
.yes, .no { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; }
.yes { background: rgba(15, 123, 79, .1); color: var(--up); }
.no  { background: rgba(198, 79, 79, .1); color: var(--down); }

/* reviews */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.review {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-s);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease);
}
.review:hover { border-color: rgba(30, 79, 216, .4); transform: translateY(-1px); box-shadow: var(--shadow-m); }
.review__head { display: flex; align-items: center; gap: 14px; }
.review__ava {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-strong);
    flex: none;
}
.review__name { font-weight: 700; margin: 0; }
.review__role { font-size: .85rem; color: var(--muted); margin: 2px 0 0; }
.review__stars { display: inline-flex; gap: 2px; color: var(--accent); }
.review__stars .icon-star { fill: currentColor; stroke: currentColor; }
.review p { margin: 0; color: var(--text); font-size: .95rem; flex: 1; }
.review__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: var(--rule);
    padding-top: 12px;
    gap: 8px;
}
.review__stat { display: grid; gap: 2px; }
.review__stat b { font-size: .95rem; }
.review__stat span { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.reviews-note { font-size: .85rem; color: var(--muted); margin: 18px 0 0; }

/* company block */
.company-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.company-facts { grid-column: span 5; }
.company-links { grid-column: span 7; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.company-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--text);
    font-weight: 600;
    font-size: .93rem;
    box-shadow: var(--shadow-s);
    transition: border-color .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease);
}
.company-link .icon { color: var(--accent); }
.company-link:hover {
    color: var(--accent-dark);
    text-decoration: none;
    border-color: rgba(30, 79, 216, .4);
    transform: translateY(-1px);
    box-shadow: var(--shadow-m);
}

/* faq */
.faq { display: grid; gap: 1px; background: var(--border); border: var(--rule); border-radius: var(--radius); overflow: hidden; }
.faq-item { background: var(--bg); }
.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 17px 20px;
    font: inherit;
    font-weight: 600;
    font-size: .98rem;
    color: var(--text);
    background: none;
    border: 0;
    cursor: pointer;
    text-align: left;
}
.faq-q:hover { color: var(--accent); }
.faq-q .icon { color: var(--muted); transition: transform .15s var(--ease); flex: none; }
.faq-item.is-open .faq-q .icon { transform: rotate(180deg); color: var(--accent); }
.faq-a { padding: 0 20px 18px; color: var(--muted); max-width: 72ch; }
.faq-a[hidden] { display: none; }
.faq-a p { margin: 0; }

/* ---------- inner pages ---------- */
.page-hero {
    position: relative;
    border-bottom: var(--rule);
    background:
        radial-gradient(720px 300px at 92% -20%, rgba(30, 79, 216, .06), transparent 60%),
        var(--surface);
    background-size: auto, auto;
    padding: clamp(36px, 4.5vw, 64px) 0;
}
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--dots);
    background-size: var(--dots-size);
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(24px, 3vw, 48px);
    align-items: center;
}
.page-hero__grid > :first-child { grid-column: span 7; }
.page-hero__grid > .form-block, .page-hero__grid > .form-card { grid-column: span 5; }
.page-hero p { color: var(--muted); max-width: 58ch; }
.page-hero h1 { margin-bottom: .35em; }

.breadcrumbs { background: var(--bg); border-bottom: var(--rule); padding: 12px 0; font-size: .85rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; color: var(--muted); }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; margin: 0; }
.breadcrumbs li + li::before { content: "/"; color: var(--border-strong); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current] { color: var(--text); font-weight: 600; }

/* tables */
.table-wrap { overflow-x: auto; border: var(--rule); border-radius: var(--radius); background: var(--bg); box-shadow: var(--shadow-s); margin: 0 0 1.4em; }
.table { width: 100%; min-width: 560px; border-collapse: collapse; }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: var(--rule); font-size: .93rem; vertical-align: top; }
.table thead th {
    background: var(--surface);
    color: var(--accent);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-strong);
    white-space: nowrap;
}
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:nth-child(even) td { background: rgba(243, 245, 247, .5); }
.table td.num, .table th.num { text-align: right; }

/* icon badges + cards */
.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: var(--accent-tint);
    color: var(--accent);
    flex: none;
    border: 1px solid rgba(30, 79, 216, .16);
}
.icon-badge--navy { background: var(--ink); color: #fff; border-color: var(--ink); }
.icon-badge--plain { background: var(--surface-2); color: var(--muted); border-color: var(--border); }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-s);
    padding: 24px;
    transition: border-color .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease);
}
.card:hover { border-color: rgba(30, 79, 216, .4); transform: translateY(-1px); box-shadow: var(--shadow-m); }
.card h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.card p, .card ul { color: var(--muted); font-size: .95rem; margin-bottom: 0; }
.card .icon-badge { margin-bottom: 14px; }
.card--flush { padding: 0; overflow: hidden; }

.map-embed {
    max-width: 860px;
    margin: 22px 0 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-s);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    min-height: 320px;
    background: var(--surface-2);
}
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- special offer ---------- */
.offer-strip {
    background: var(--ink);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    padding: 11px 0;
    font-size: .88rem;
}
.offer-strip .container { display: flex; flex-wrap: wrap; gap: 10px 34px; align-items: center; justify-content: center; }
.offer-strip .stat { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.offer-strip .stat b { color: #9DB4F5; }
.offer-strip .stat .flag-dot { background: #9DB4F5; }

.offer-band {
    background: var(--accent);
    color: #fff;
    padding: clamp(30px, 4vw, 48px) 0;
    text-align: center;
}
.offer-band h2 { color: #fff; }
.offer-band p { color: rgba(255, 255, 255, .88); max-width: 56ch; margin-inline: auto; }
.offer-band .btn { background: #fff; color: var(--accent-dark); margin-top: 8px; }
.offer-band .btn:hover { background: var(--accent-tint); color: var(--accent-dark); }

.countdown { display: inline-flex; gap: 8px; align-items: center; }
.countdown__seg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    padding: 10px 8px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-s);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}
.countdown__sep { color: var(--muted); font-weight: 700; }
.countdown__caption { display: block; font-size: .8rem; color: var(--muted); margin-top: 8px; letter-spacing: .04em; }

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(19, 28, 46, .55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.is-open { display: flex; }
.modal-card {
    position: relative;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-l);
    max-width: 440px;
    width: 100%;
    padding: 30px 28px 28px;
    text-align: center;
}
.modal-card h3 { font-size: 1.4rem; }
.modal-card p { color: var(--muted); font-size: .95rem; }
.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: inherit;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
}
.modal-close:hover { color: var(--text); border-color: var(--border-strong); }
body.modal-open { overflow: hidden; }

/* ---------- footer ---------- */
.site-footer {
    background: var(--ink);
    color: #C4CEDC;
    padding: clamp(44px, 5vw, 72px) 0 0;
    font-size: .92rem;
}
.footer-top {
    display: grid;
    grid-template-columns: minmax(240px, 2fr) repeat(4, 1fr);
    gap: clamp(24px, 3vw, 40px);
    padding-bottom: 40px;
}
.footer-brand .brand svg { height: 30px; }
.brand-footer { margin-bottom: 14px; }
.footer-mission { color: #9AA7BA; margin: 0 0 16px; max-width: 40ch; }
.footer-contact { color: #9AA7BA; margin: 0; }
.footer-contact a { color: #C4CEDC; text-decoration: underline; text-underline-offset: 3px; }
.footer-contact a:hover { color: #fff; }
.footer-contact .icon { color: #9DB4F5; vertical-align: -4px; margin-right: 6px; }
.footer-col h3 {
    color: #fff;
    font-size: .82rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #C4CEDC; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 22px 0;
}
.footer-disclaimer h3 { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 8px; }
.footer-disclaimer p { margin: 0; color: #9AA7BA; font-size: .84rem; line-height: 1.55; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 16px 0;
    font-size: .84rem;
    color: #9AA7BA;
}
.footer-bottom p { margin: 0; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(6px); }
[data-reveal].is-revealed {
    opacity: 1;
    transform: none;
    transition: opacity .4s var(--ease), transform .4s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; }
    [data-reveal].is-revealed { transition: none; }
    .card, .review, .trust-link, .company-link, .btn { transition: none; }
    .dropdown, .nav-toggle .icon { transition: none; }
}

/* ---------- responsive ---------- */
@media (min-width: 1021px) {
    .site-nav { display: block; }
    .btn-header { display: inline-flex; }
    .nav-burger { display: none; }
    .mobile-nav { display: none; }
}

@media (max-width: 1020px) {
    .site-nav { display: none; }
    .footer-top { grid-template-columns: repeat(2, 1fr); }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
    .hero-grid, .page-hero__grid { display: flex; flex-direction: column; gap: 28px; }
    .hero-grid > *, .page-hero__grid > * { width: 100%; }
    .hero-form { max-width: 560px; }
    .data-strip { grid-template-columns: repeat(2, 1fr); }
    .data-strip__stat:nth-child(2) { border-right: 0; }
    .data-strip__stat:nth-child(-n+2) { border-bottom: var(--rule); }
    .company-grid { display: flex; flex-direction: column; gap: 28px; }
    .hero__bg::after { right: -140px; opacity: .55; }
    .calc-layout { grid-template-columns: 1fr; }
    .company-grid [style*="grid-column: span 7"],
    .company-grid [style*="grid-column:span 7"],
    .company-grid [style*="grid-column: span 5"],
    .company-grid [style*="grid-column:span 5"] { grid-column: auto; width: 100%; }
}

@media (max-width: 640px) {
    .data-strip { grid-template-columns: 1fr; }
    .data-strip__stat { border-right: 0 !important; border-bottom: var(--rule); }
    .data-strip__stat:last-child { border-bottom: 0; }
    .review__stats { grid-template-columns: 1fr; gap: 10px; }
    .compare .col-us, .compare .col-them { width: 120px; }
    .offer-strip .container { flex-direction: column; gap: 6px; text-align: center; }
    .countdown__seg { min-width: 52px; font-size: 1.15rem; }
    .footer-top { grid-template-columns: 1fr; }
}

/* Homepage review layout and shared widget adjustments. */
.tv-ticker-wrapper {
    padding-top: 0px !important;
    height: 58px !important;
}
.iti__selected-country, .iti__selected-dial-code {
    color: rgb(24, 33, 47) !important;
}
.home-reviews {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.home-reviews > .review { min-width: 0; }
.home-reviews .review__head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
}
.home-reviews .review__head > div { min-width: 0; }
.home-reviews .review__head > .review__stars {
    grid-column: 1 / -1;
    margin-left: 0;
}
.home-reviews .review__ava { object-fit: cover; overflow: hidden; }
.home-reviews .review__ava img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 960px) {
    .home-reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .home-reviews { grid-template-columns: minmax(0, 1fr); }
}
