/* ==========================================================================
   Nexora GPT — AI_FUTURISTIC_GLASS visual identity
   Dark midnight navy, electric cyan accent, violet motif-secondary,
   rationed glassmorphism, neural-mesh motifs. System font stack, no CDN.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
    --bg: #070D1F;
    --surface: #0B1428;
    --surface-2: #101B36;
    --border: rgba(230, 237, 247, .10);
    --border-strong: rgba(230, 237, 247, .18);
    --text: #E6EDF7;
    --text-muted: #8FA0BF;

    --accent: #2BD9E8;
    --accent-hover: #17B8C6;
    --accent-tint: rgba(43, 217, 232, .12);
    --accent-line: rgba(43, 217, 232, .35);
    --violet: #7C5CFF;
    --violet-tint: rgba(124, 92, 255, .16);
    --on-accent: #06283B;

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;

    --shadow-sm: 0 1px 2px rgba(4, 10, 24, .5), 0 2px 8px rgba(4, 10, 24, .35);
    --shadow-md: 0 2px 6px rgba(4, 10, 24, .55), 0 10px 28px rgba(4, 10, 24, .45);
    --shadow-lg: 0 4px 12px rgba(4, 10, 24, .6), 0 22px 56px rgba(4, 10, 24, .55);

    --glass-bg: rgba(16, 27, 54, .66);
    --glass-bg-strong: rgba(16, 27, 54, .82);
    --glass-border: rgba(230, 237, 247, .14);

    --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --font-mono: "Cascadia Code", "SF Mono", Consolas, monospace;

    --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background:
        radial-gradient(1100px 500px at 85% -100px, rgba(124, 92, 255, .10), transparent 60%),
        radial-gradient(900px 480px at -10% 220px, rgba(43, 217, 232, .07), transparent 55%),
        var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16.5px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
    color: var(--text);
    line-height: 1.22;
    margin: 0 0 .5em;
    font-weight: 700;
    letter-spacing: -0.012em;
}
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.13rem; line-height: 1.35; }
p { margin: 0 0 1em; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: #7CEBF5; }

ul, ol { padding-left: 1.3em; }
li { margin-bottom: .4em; }

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

.icon { vertical-align: middle; flex-shrink: 0; }

.accent-text { color: var(--accent); }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0; border: 0;
    clip: rect(0 0 0 0); clip-path: inset(50%);
    overflow: hidden; white-space: nowrap;
}

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

.section { padding: clamp(56px, 7vw, 96px) 0; position: relative; }

.section--tint {
    background:
        linear-gradient(180deg, rgba(16, 27, 54, .55), rgba(11, 20, 40, .35)),
        var(--surface);
    border-block: 1px solid var(--border);
}

.section--warm {
    /* the single glass-accented band of the page */
    background:
        radial-gradient(700px 320px at 12% 0%, rgba(124, 92, 255, .14), transparent 60%),
        radial-gradient(760px 360px at 88% 100%, rgba(43, 217, 232, .12), transparent 60%),
        var(--surface-2);
    border-block: 1px solid var(--border);
}

.section--compact { padding: clamp(30px, 4vw, 48px) 0; }

.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head--center { margin-inline: auto; text-align: center; }

.lead {
    color: var(--text-muted);
    font-size: 1.06rem;
    margin-bottom: 0;
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid var(--accent-line);
    border-radius: 999px;
    background: rgba(43, 217, 232, .07);
    margin-bottom: 14px;
}

.prose { max-width: 780px; }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-muted); }
.prose strong { color: var(--text); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.note {
    color: var(--text-muted);
    font-size: .92rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 18px;
}
.note a { text-decoration: underline; text-underline-offset: 3px; }

.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: .98rem;
    font-weight: 600;
    line-height: 1.2;
    padding: 13px 26px;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: background .18s ease, color .18s ease, border-color .18s ease,
                transform .18s ease, box-shadow .18s ease;
}
.btn-primary {
    background: var(--accent);
    color: var(--on-accent);
    box-shadow: 0 0 0 1px rgba(43, 217, 232, .35), var(--shadow-sm);
}
.btn-primary:hover {
    background: var(--accent-hover);
    color: var(--on-accent);
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(43, 217, 232, .45), var(--shadow-md);
}
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent-line);
}
.btn-secondary:hover {
    background: var(--accent-tint);
    border-color: var(--accent);
    transform: translateY(-2px);
}
.btn-block { display: flex; width: 100%; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; border-radius: var(--radius-md); }

/* ---------- Header ---------- */
.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 200;
    background: var(--accent);
    color: var(--on-accent);
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 0 0 10px 10px;
    transition: top .2s ease;
}
.skip-link:focus { top: 0; color: var(--on-accent); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 13, 31, .55);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
@supports not ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
    .site-header { background: var(--glass-bg-strong); }
}
.site-header.is-scrolled {
    background: var(--glass-bg-strong);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--border-strong);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.5vw, 30px);
    min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; color: var(--text); }
.brand svg { width: 190px; height: auto; display: block; }

.site-nav { margin-inline-end: auto; }

.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;
    font-size: .95rem;
    font-weight: 600;
    color: var(--text-muted);
    background: none;
    border: 0;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    transition: color .16s ease, background .16s ease;
}
.nav-link:hover, .has-dropdown.is-open .nav-link { color: var(--text); background: rgba(230, 237, 247, .06); }
.nav-link .icon { transition: transform .16s ease; }
.has-dropdown.is-open .nav-link .icon-chevron-down { transform: rotate(180deg); }

/* Dropdown surface */
.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 262px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
    z-index: 120;
}
.dropdown::before {
    /* caret */
    content: "";
    position: absolute;
    top: -5px;
    left: 26px;
    width: 10px;
    height: 10px;
    background: var(--surface);
    border-left: 1px solid var(--border-strong);
    border-top: 1px solid var(--border-strong);
    transform: rotate(45deg);
}
/* keep the last menu inside the viewport (Products sits near the edge) */
.nav-item:last-child .dropdown { left: auto; right: 0; }
.nav-item:last-child .dropdown::before { left: auto; right: 26px; }

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

.dropdown-list { list-style: none; margin: 0; padding: 0; }
.dropdown-link {
    display: block;
    padding: 10px 12px;
    border-radius: 9px;
    color: var(--text);
    font-size: .93rem;
    transition: background .15s ease, color .15s ease;
}
.dropdown-link:hover, .dropdown-link:focus-visible {
    background: var(--accent-tint);
    color: var(--text);
}
.dropdown-link.is-active { color: var(--accent); background: var(--accent-tint); }

.btn-header { white-space: nowrap; }

.header-cta-icon {
    display: inline-flex;
    align-items: center;
}
.header-cta-icon svg { margin-left: 2px; }

.nav-burger {
    display: none;
    background: none;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    padding: 8px;
    color: var(--text);
    cursor: pointer;
    margin-left: auto;
}
.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 {
    border-top: 1px solid var(--border);
    background: var(--glass-bg-strong);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding-block: 14px;
}
.mobile-nav__group { border-bottom: 1px solid var(--border); }
.mobile-nav__heading {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: 0;
    color: var(--text);
    font-family: inherit;
    font-size: .98rem;
    font-weight: 700;
    padding: 14px 4px;
    cursor: pointer;
}
.mobile-nav__list { list-style: none; margin: 0 0 12px; padding: 0; }
.mobile-nav__link {
    display: block;
    padding: 9px 10px;
    color: var(--text-muted);
    border-radius: 8px;
    font-size: .94rem;
}
.mobile-nav__link:hover, .mobile-nav__link.is-active { color: var(--accent); background: var(--accent-tint); }
.mobile-nav .btn { margin-top: 16px; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(56px, 7vw, 104px) 0 clamp(56px, 7vw, 96px);
}

.hero__bg {
    position: absolute;
    inset: -18% 0 0 0; /* extra height headroom for the parallax drift */
    z-index: 0;
    will-change: transform;
    pointer-events: none;
}
.hero__bg > svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: .9;
}
.hero__bg canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: none;
}
.hero__bg canvas[data-hero-active] { display: block; }
.hero__glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(640px 320px at 78% 12%, rgba(43, 217, 232, .14), transparent 62%),
        radial-gradient(560px 300px at 8% 86%, rgba(124, 92, 255, .12), transparent 60%);
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .92fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
}

.hero-copy h1 { margin-bottom: .45em; }
.hero-sub { color: var(--text-muted); font-size: 1.08rem; max-width: 34em; }

/* trust icon-links */
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.trust-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: .92rem;
    font-weight: 600;
    padding: 9px 14px 9px 9px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: rgba(16, 27, 54, .5);
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.trust-link:hover { border-color: var(--accent-line); background: var(--accent-tint); color: var(--text); transform: translateY(-1px); }

/* offices flags trio */
.offices { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.offices__label { color: var(--text-muted); font-size: .92rem; margin-right: 2px; }
.flag-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--text);
    padding: 6px 13px 6px 7px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: rgba(16, 27, 54, .5);
}
.flag-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: inset 0 0 0 1px rgba(230, 237, 247, .22);
}
.flag-dot--mx { background: conic-gradient(from 90deg, #0E7A3A 0 33.3%, #F4F7FB 33.3% 66.6%, #C8102E 66.6% 100%); }
.flag-dot--ca { background: linear-gradient(90deg, #D52B1E 0 26%, #F4F7FB 26% 74%, #D52B1E 74% 100%); }
.flag-dot--jp { background: #F4F7FB; position: relative; }
.flag-dot--jp::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #BC002D;
}

/* hero form panel + floating dashboard cards */
.hero-form { position: relative; }

.hero-dash { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hero-dash__card {
    position: absolute;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 10px 14px;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translate3d(var(--crypto-x, 0), var(--crypto-y, 0), 0);
}
@supports not ((backdrop-filter: blur(14px)) or (-webkit-backdrop-filter: blur(14px))) {
    .hero-dash__card { background: var(--glass-bg-strong); }
}
.hero-dash__label {
    font-family: var(--font-mono);
    font-size: .62rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
}
.hero-dash__card--candles { top: -76px; right: -6px; }
.hero-dash__card--ring { top: -76px; left: -20px; }
.hero-dash__card--status { bottom: -84px; left: 6px; }
.hero-dash__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px rgba(43, 217, 232, .8);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 16px;
    color: var(--text-muted);
    font-size: .88rem;
}
.hero-meta__item { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta__item .icon { color: var(--accent); }

.hero-checklist { list-style: none; padding: 0; margin: 20px 0 0; }
.hero-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-muted);
    margin-bottom: 9px;
}
.hero-checklist .icon { color: var(--accent); margin-top: 3px; }

/* page heroes on inner pages */
.page-hero { padding: clamp(48px, 6vw, 84px) 0; }
.page-hero--slim { padding: clamp(40px, 5vw, 64px) 0; }
.page-hero__grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
}
.page-hero h1 { margin-bottom: .5em; }

/* ---------- Forms (formFactory wrapper + fields) ---------- */
.form-block {
    position: relative;
    z-index: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: clamp(20px, 3vw, 30px);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}
@supports not ((backdrop-filter: blur(14px)) or (-webkit-backdrop-filter: blur(14px))) {
    .form-block { background: var(--glass-bg-strong); }
}
.form-block::before {
    /* inner top highlight, the glass signature */
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: linear-gradient(90deg, transparent, rgba(230, 237, 247, .35), transparent);
}

.form-block__heading {
    font-family: var(--font-mono);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 12px;
}
.form-block--extra {
    /* second instance on a page: solid surface, keeps the glass rationed */
    background: var(--surface);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-color: var(--border-strong);
}
.form-block__intro { color: var(--text-muted); font-size: .95rem; margin: 0 0 12px; }

.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); }

.form-note {
    color: var(--text-muted);
    font-size: .86rem;
    margin: 12px 0 0;
    padding-top: 12px;
    border-top: 1px dashed var(--border-strong);
}
.form-legal { color: var(--text-muted); font-size: .82rem; margin: 8px 0 0; }
.form-legal a { text-decoration: underline; text-underline-offset: 3px; }

.form-band { display: grid; grid-template-columns: 1fr .92fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.form-band__copy h2 { margin-bottom: .4em; }
.form-band__list { list-style: none; padding: 0; margin: 18px 0 0; }
.form-band__list li { display: flex; align-items: center; gap: 10px; color: var(--text-muted); margin-bottom: 10px; }
.form-band__list .icon { color: var(--accent); }

/* formFactory (.bff) fields */
.bff { margin: 0; }
.bff__row { margin-bottom: 14px; }
.bff__label {
    display: block;
    color: var(--text);
    font-size: .88rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.bff__input {
    width: 100%;
    background: rgba(7, 13, 31, .55);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    color: var(--text);
    font-family: inherit;
    font-size: .98rem;
    padding: 12px 14px;
    transition: border-color .16s ease, box-shadow .16s ease;
}
.bff__input::placeholder { color: rgba(143, 160, 191, .7); }
.bff__input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(43, 217, 232, .22);
}
.bff__err { color: #FF8E9B; font-size: .82rem; margin: 6px 0 0; }
.bff__hp { position: absolute; left: -9999px; }
.bff__submit {
    width: 100%;
    margin-top: 4px;
}
.bff__ok, .bff__fail { border-radius: 10px; padding: 12px 14px; font-size: .92rem; }
.bff__ok { background: rgba(43, 217, 232, .12); color: #9FEEF6; border: 1px solid var(--accent-line); }
.bff__fail { background: rgba(255, 99, 120, .1); color: #FFB3BD; border: 1px solid rgba(255, 99, 120, .3); }

/* ---------- Home: exchanges ---------- */
.exchanges {
    border-bottom: 1px solid var(--border);
}
.exchanges__label {
    text-align: center;
    color: var(--text-muted);
    font-size: .95rem;
    max-width: 720px;
    margin: 0 auto 18px;
}
.exchanges__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.exchange-chip {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .01em;
    color: var(--text);
    padding: 10px 22px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: border-color .18s ease, transform .18s ease;
}
.exchange-chip:hover { border-color: var(--accent-line); transform: translateY(-2px); }

/* ---------- Home: calculator band ---------- */
.calc-section {
    /* diagonal data-flow texture + soft tint over the base */
    background-image:
        repeating-linear-gradient(115deg, rgba(43, 217, 232, .045) 0 1px, transparent 1px 46px),
        repeating-linear-gradient(115deg, rgba(124, 92, 255, .035) 0 1px, transparent 1px 92px),
        radial-gradient(700px 320px at 85% 10%, rgba(43, 217, 232, .08), transparent 60%);
    background-color: var(--bg);
}

/* ---------- Steps ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 22px;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.step:hover {
    transform: translateY(-2px);
    border-color: var(--accent-line);
    box-shadow: var(--shadow-md);
}
.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--accent-tint);
    border: 1px solid var(--accent-line);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: .86rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.step h3 { margin-bottom: .45em; }
.step p { color: var(--text-muted); font-size: .95rem; margin: 0; }

.steps--inline { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

/* ---------- Comparison table ---------- */
.compare-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    background: var(--surface);
}
.compare { min-width: 620px; margin: 0; }
.compare .col-us {
    background: rgba(43, 217, 232, .07);
    color: var(--accent);
    font-weight: 700;
    text-align: center;
    width: 150px;
}
.compare td.col-us { border-inline: 1px solid var(--accent-line); }
.compare th:not(.col-us), .compare td:not(.col-us):nth-child(3) { text-align: center; }
.compare .col-them { color: var(--text-muted); }

.yes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}
.no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FF7A8C;
}

/* ---------- Tables ---------- */
.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    background: var(--surface);
}
.table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: .94rem;
    min-width: 480px;
}
.table th, .table td {
    padding: 13px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.table thead th {
    background: var(--surface-2);
    color: var(--text);
    font-size: .84rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:nth-child(even) { background: rgba(16, 27, 54, .35); }
.table tbody th[scope="row"] { color: var(--text); font-weight: 600; }
.table td { color: var(--text-muted); }
.table td .icon { color: var(--accent); }
.table-desc { min-width: 260px; font-size: .9rem; }

/* ---------- Cards / grids / icon badges ---------- */
.grid { display: grid; gap: 18px; }
.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(220px, 1fr)); }

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-line);
    box-shadow: var(--shadow-md);
}
.card h2, .card h3 { margin-bottom: .5em; }
.card p { color: var(--text-muted); font-size: .95rem; margin-bottom: 0; }
.card p + p { margin-top: .8em; }
.card a { text-decoration: underline; text-underline-offset: 3px; }

.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: var(--accent-tint);
    border: 1px solid var(--accent-line);
    color: var(--accent);
    margin-bottom: 14px;
}
.icon-badge--navy {
    background: var(--violet-tint);
    border-color: rgba(124, 92, 255, .35);
    color: #A88FFF;
}

/* ---------- Reviews ---------- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
}
.review {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 22px;
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.review:hover { transform: translateY(-2px); border-color: var(--accent-line); box-shadow: var(--shadow-md); }
.review__head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.review__ava {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-line);
    flex-shrink: 0;
}
.review__name { font-weight: 700; color: var(--text); margin: 0; }
.review__role { color: var(--text-muted); font-size: .88rem; margin: 0; }
.review__stars { color: var(--accent); display: flex; gap: 2px; margin-bottom: 10px; }
.review blockquote { margin: 0 0 16px; flex: 1; }
.review blockquote p { color: var(--text-muted); font-size: .95rem; margin: 0; }
.review__stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid var(--border);
    padding-top: 14px;
}
.review__stat span {
    display: block;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
    margin-bottom: 3px;
}
.review__stat strong { color: var(--text); font-size: .92rem; }

.reviews-note {
    text-align: center;
    color: var(--text-muted);
    font-size: .86rem;
    margin: 26px 0 0;
}

/* ---------- Company block ---------- */
.company-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(28px, 4vw, 52px);
    align-items: start;
}
.company-facts { max-width: 560px; }
.company-facts__list { list-style: none; margin: 18px 0 0; padding: 0; }
.company-facts__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.company-facts__list .icon { color: var(--accent); margin-top: 3px; }
.company-facts__list strong { color: var(--text); }

.company-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.company-link {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    color: var(--text);
    font-weight: 600;
    font-size: .94rem;
    padding: 18px 16px;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.company-link .icon-badge { margin-bottom: 2px; }
.company-link .icon:last-child { color: var(--accent); margin-top: auto; }
.company-link:hover { transform: translateY(-2px); border-color: var(--accent-line); box-shadow: var(--shadow-md); color: var(--text); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 10px;
    overflow: hidden;
}
.faq-q { margin: 0; font-size: 1.02rem; }
.faq-q button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    background: none;
    border: 0;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    padding: 17px 20px;
    cursor: pointer;
}
.faq-q button:hover { color: var(--accent); }
.faq-q .icon { color: var(--accent); transition: transform .16s ease; }
.faq-item.is-open .faq-q .icon { transform: rotate(180deg); }
.faq-a { padding: 0 20px 18px; }
.faq-a p { color: var(--text-muted); margin: 0; }
.faq-a a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Inner page pieces ---------- */
.breadcrumbs { padding: 18px 0 0; }
.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    color: var(--text-muted);
    font-size: .84rem;
}
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--text-muted); opacity: .6; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span[aria-current] { color: var(--accent); }

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

/* timeline (About) */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-line), rgba(124, 92, 255, .3));
}
.timeline__item { position: relative; padding: 0 0 30px 82px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__year {
    position: absolute;
    left: 0;
    top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 34px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--accent-line);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: .8rem;
    font-weight: 700;
}
.timeline__item h3 { margin-bottom: .35em; }
.timeline__item p { color: var(--text-muted); margin: 0; }

/* vacancies (Careers) */
.vacancy-list { display: grid; gap: 16px; }
.vacancy__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
.vacancy__head h3 { margin: 0; }
.vacancy__tag {
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid var(--accent-line);
    border-radius: 999px;
    padding: 5px 12px;
    white-space: nowrap;
}
.vacancy__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 14px 0 18px; }
.vacancy__meta li { display: inline-flex; align-items: center; gap: 7px; color: var(--text-muted); font-size: .86rem; margin: 0; }
.vacancy__meta .icon { color: var(--accent); }

/* articles */
.article-card { margin-bottom: 20px; }
.article-card__head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 8px; }
.article-card__head .icon-badge { margin-bottom: 0; flex-shrink: 0; }
.article-card__head h2 { margin: 0; }

/* products */
.product-grid { gap: 18px; }
.product-card { display: flex; flex-direction: column; }
.product-card p { flex: 1; }
.product-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 600;
    font-size: .92rem;
    margin-top: 14px;
    transition: gap .18s ease;
}
.product-card:hover .product-card__cta { gap: 12px; }
.product-card:hover { color: var(--text); }

/* contact */
.contact-grid { align-items: stretch; }
.contact-card p { display: flex; align-items: flex-start; gap: 10px; }
.contact-card .icon { color: var(--accent); margin-top: 3px; }
.contact-card .lead { font-size: 1rem; }

/* legal pages */
.legal-page h2 { font-size: 1.3rem; margin-top: 1.6em; }
.legal-page h2:first-child { margin-top: 0; }

/* 404 */
.error-section { padding: clamp(64px, 9vw, 120px) 0; }
.error-code {
    font-family: var(--font-mono);
    font-size: clamp(4rem, 12vw, 7rem);
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px var(--accent);
    margin: 0 0 10px;
}
.error-links { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; }
.error-links a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; }
.error-links a:hover { color: var(--accent); }

/* ---------- Special offer ---------- */
.offer-strip {
    background: linear-gradient(90deg, rgba(124, 92, 255, .22), rgba(43, 217, 232, .16));
    border-bottom: 1px solid var(--accent-line);
}
.offer-strip__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 34px;
    padding-block: 10px;
}
.offer-strip__stat, .offer-strip .stat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .86rem;
    font-weight: 600;
    color: var(--text);
}
.offer-strip__stat .icon, .offer-strip .stat .icon { color: var(--accent); }

.offer-reinforce {
    position: relative;
    z-index: 1;
    max-width: 760px;
    color: var(--text-muted);
    font-size: .95rem;
    margin: 18px 0 0;
}

.offer-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background:
        radial-gradient(500px 220px at 88% 20%, rgba(124, 92, 255, .2), transparent 60%),
        var(--glass-bg-strong);
    border: 1px solid var(--accent-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: clamp(24px, 4vw, 40px);
}
.offer-band--soft { border-color: var(--border-strong); }
.offer-band h2 { margin-bottom: .3em; }
.offer-band p { color: var(--text-muted); margin: 0; max-width: 44em; }

.countdown {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0 18px;
}
.countdown__box {
    font-family: var(--font-mono);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
    background: rgba(7, 13, 31, .8);
    border: 1px solid var(--accent-line);
    border-radius: 10px;
    padding: 8px 12px;
    min-width: 58px;
    text-align: center;
}
.countdown__sep { color: var(--accent); font-weight: 700; font-size: 1.4rem; }

.modal-timer-label {
    font-size: .86rem;
    color: var(--text-muted);
    margin: 14px 0 0;
}

/* exit modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(4, 8, 18, .72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: modal-in .18s ease;
}
@supports not ((backdrop-filter: blur(6px)) or (-webkit-backdrop-filter: blur(6px))) {
    .modal-overlay { background: rgba(4, 8, 18, .9); }
}
@keyframes modal-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
.modal-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: clamp(26px, 4vw, 40px);
    max-width: 470px;
    width: 100%;
    text-align: center;
    animation: card-in .2s ease;
}
@keyframes card-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.modal-card h2 { font-size: 1.5rem; }
.modal-card p { color: var(--text-muted); }
.modal-visual { margin-bottom: 10px; }
.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border-strong);
    background: rgba(7, 13, 31, .6);
    color: var(--text);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    transition: border-color .15s ease, color .15s ease;
}
.modal-close:hover { border-color: var(--accent); color: var(--accent); }

body.modal-open { overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer {
    background: linear-gradient(180deg, rgba(11, 20, 40, .4), rgba(7, 13, 31, .9)), var(--bg);
    border-top: 1px solid var(--border);
    padding: clamp(44px, 6vw, 72px) 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.25fr repeat(4, minmax(150px, .62fr));
    gap: clamp(24px, 3.5vw, 44px);
    padding-bottom: 40px;
}

.footer-brand { max-width: 340px; }
.brand-footer svg { width: 182px; height: auto; margin-bottom: 16px; }
.footer-mission { color: var(--text-muted); font-size: .92rem; }
.footer-contact { color: var(--text-muted); font-size: .9rem; }
.footer-contact .icon { color: var(--accent); margin-right: 6px; }
.footer-contact a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; }
.footer-contact a:hover { color: var(--accent); }

.footer-col h3 {
    font-size: .82rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: .9rem;
    padding: 5px 0;
}
.footer-col a:hover { color: var(--accent); }

.footer-disclaimer {
    border-top: 1px solid var(--border);
    padding: 26px 0;
}
.footer-disclaimer h3 {
    font-size: .82rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 10px;
}
.footer-disclaimer p { color: var(--text-muted); font-size: .84rem; line-height: 1.7; margin: 0; }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 18px 0;
}
.footer-bottom p { color: var(--text-muted); font-size: .84rem; margin: 0; }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .5s ease, transform .5s ease;
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
    .site-nav { display: none; }
    .btn-header { display: none; }
    .nav-burger { display: inline-flex; }
    .brand svg { width: 168px; }
    .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 960px) {
    .hero-grid,
    .page-hero__grid,
    .form-band,
    .company-grid {
        grid-template-columns: 1fr;
    }
    /* mobile: heading -> form -> meta first, then the remaining hero-copy text */
    .hero-form { margin-top: 6px; }
    .hero-dash__card { display: none; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .compare .col-us { width: 120px; }
    .table { min-width: 430px; }
    .footer-top { grid-template-columns: 1fr; }
    .company-links { grid-template-columns: 1fr; }
    .hero-meta { gap: 8px 16px; }
    .offer-band { flex-direction: column; align-items: flex-start; }
    .countdown__box { font-size: 1.3rem; min-width: 48px; padding: 6px 10px; }
}

@media (max-width: 400px) {
    .brand svg { width: 148px; }
    .exchange-chip { padding: 8px 16px; font-size: .92rem; }
    .btn { padding: 12px 18px; font-size: .92rem; }
}

/* ---------- 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;
    }
    [data-reveal] { opacity: 1; transform: none; }
    .hero__bg { transform: none !important; }
}

/* Shared ticker and phone country selector overrides. */
.tv-ticker-wrapper {
    padding-top: 0px !important;
    height: 58px !important;
}

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