/* ============================================================================
   QUANTERA AI — quantera-ai.com — NEO_BRUTALIST_FINTECH
   Off-white / deep charcoal base, orange + cobalt accents, oversized display
   type, 3px borders, hard offset shadows (no blur), 0 radius, charcoal bands.
   Parent adapter guardrails: body copy never all-uppercase, no CRT/terminal
   cosplay, no fake telemetry.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens -- */
:root {
    --bg: #F6F3EC;
    --surface: #FFFFFF;
    --surface-2: #EFEAE0;
    --ink: #191714;
    --ink-soft: #57534A;
    --band: #191714;
    --band-text: #F6F3EC;
    --band-muted: #C8C2B6;
    --accent: #F4520B;
    --accent-dark: #D04409;
    --accent-tint: #FBE3D2;
    --cobalt: #2244CC;
    --cobalt-tint: #DCE3F6;
    --ok: #0E7A3C;
    --bad: #C21F1E;
    --line: #E3DCCB;

    --font-display: "Archivo Black", "Arial Black", "Segoe UI", system-ui, sans-serif;
    --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;

    --border-w: 3px;
    --radius: 0px;
    --shadow-sm: 4px 4px 0 var(--ink);
    --shadow-md: 6px 6px 0 var(--ink);
    --shadow-lg: 8px 8px 0 var(--ink);
    --shadow-lg-accent: 8px 8px 0 var(--accent);

    --plus-tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='52'%3E%3Cpath d='M26 15v22M15 26h22' stroke='%23191714' stroke-opacity='.10' stroke-width='2'/%3E%3C/svg%3E");
    --plus-tex-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='52'%3E%3Cpath d='M26 15v22M15 26h22' stroke='%23F6F3EC' stroke-opacity='.07' stroke-width='2'/%3E%3C/svg%3E");
    --bar-tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='40'%3E%3Crect x='4' y='14' width='14' height='26' fill='%23F4520B' fill-opacity='.14'/%3E%3Crect x='30' y='6' width='14' height='34' fill='%232244CC' fill-opacity='.10'/%3E%3Crect x='56' y='18' width='14' height='22' fill='%23191714' fill-opacity='.08'/%3E%3Crect x='82' y='2' width='14' height='38' fill='%23F4520B' fill-opacity='.14'/%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; }

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

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

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin: 0 0 0.5em;
    text-wrap: balance;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.7rem); text-transform: uppercase; }
h3 { font-size: 1.12rem; text-transform: uppercase; letter-spacing: 0; }
h4 { font-size: 1rem; }

p { margin: 0 0 1em; }

a { color: var(--cobalt); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); background: var(--accent-tint); }

::selection { background: var(--accent); color: var(--ink); }

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

.icon { flex: none; }

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 200;
    background: var(--accent);
    color: var(--ink);
    font-weight: 800;
    padding: 10px 16px;
    border: var(--border-w) solid var(--ink);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: top 0.12s ease;
}
.skip-link:focus { top: 12px; color: var(--ink); background: var(--accent); }

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

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

.section--tint {
    background-color: var(--accent-tint);
    background-image: var(--plus-tex);
    border-top: var(--border-w) solid var(--ink);
    border-bottom: var(--border-w) solid var(--ink);
}

.section--warm {
    background-color: var(--surface-2);
    background-image: var(--bar-tex);
    border-top: var(--border-w) solid var(--ink);
    border-bottom: var(--border-w) solid var(--ink);
}

.section--dark {
    background-color: var(--band);
    background-image: var(--plus-tex-dark);
    color: var(--band-text);
    border-top: var(--border-w) solid var(--accent);
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--band-text); }

.section-head { max-width: 780px; margin-bottom: clamp(26px, 4vw, 46px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 14px; }

.lead {
    font-size: clamp(1.02rem, 1.5vw, 1.18rem);
    color: var(--ink-soft);
    max-width: 64ch;
}
.section--dark .lead { color: var(--band-muted); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 12px;
}
.eyebrow::before {
    content: "";
    width: 12px;
    height: 12px;
    background: var(--accent);
    border: 2px solid var(--ink);
    flex: none;
}
.section--dark .eyebrow { color: var(--band-muted); }

.prose { max-width: 76ch; color: var(--ink-soft); }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { font-size: 1rem; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.3em; }
.prose li { margin-bottom: 0.45em; }
.prose a { font-weight: 600; }

.note {
    background: var(--accent-tint);
    border: var(--border-w) solid var(--ink);
    box-shadow: var(--shadow-sm);
    padding: 14px 18px;
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--ink);
    max-width: 76ch;
}
.section--dark .note { background: var(--ink); color: var(--band-text); border-color: var(--accent); box-shadow: 4px 4px 0 var(--accent); }

.mt-2 { margin-top: 18px; }
.mt-4 { margin-top: 40px; }
.text-center { text-align: center; }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1020px) {
    .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
}

/* -------------------------------------------------------------- buttons -- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.15;
    padding: 14px 24px;
    border: var(--border-w) solid var(--ink);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 5px 5px 0 var(--ink);
    transition: transform 0.13s cubic-bezier(0.2, 0.6, 0.2, 1), box-shadow 0.13s cubic-bezier(0.2, 0.6, 0.2, 1), background-color 0.13s ease;
}
.btn:hover, .btn:active { text-decoration: none; }
.btn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--ink); }

.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent); color: var(--ink); }

.btn-secondary { background: var(--surface); color: var(--cobalt); border-color: var(--cobalt); box-shadow: 5px 5px 0 var(--cobalt); }
.btn-secondary:hover { color: var(--cobalt); transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--cobalt); }
.btn-secondary:active { box-shadow: 0 0 0 var(--cobalt); }

.btn-block { width: 100%; }
.btn-header { padding: 12px 18px; font-size: 0.95rem; }

.header-cta-icon { display: inline-flex; }
.header-cta-icon svg { transition: transform 0.13s ease; }
.btn:hover .header-cta-icon svg { transform: translateX(3px); }

/* --------------------------------------------------------------- header -- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: var(--bg);
    border-bottom: var(--border-w) solid var(--ink);
    transition: box-shadow 0.15s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 0 var(--line); }

.header-inner {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 28px);
    padding-top: 14px;
    padding-bottom: 14px;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand svg { width: clamp(190px, 20vw, 252px); height: auto; display: block; }
.brand:hover { background: none; }

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

.nav-item { position: relative; }

.nav-link,
.nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    background: none;
    border: var(--border-w) solid transparent;
    padding: 9px 12px;
    cursor: pointer;
}
.nav-link:hover, .nav-toggle:hover { color: var(--ink); border-color: var(--ink); background: var(--accent-tint); }
.has-dropdown.is-open > .nav-link, .has-dropdown.is-open > .nav-toggle { border-color: var(--ink); background: var(--accent-tint); }
.nav-link .icon, .nav-toggle .icon { transition: transform 0.15s ease; }
.has-dropdown.is-open > .nav-link .icon, .has-dropdown.is-open > .nav-toggle .icon { transform: rotate(180deg); }

.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 300px;
    background: var(--surface);
    border: var(--border-w) solid var(--ink);
    box-shadow: var(--shadow-md);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
    z-index: 95;
}
.dropdown::before {
    content: "";
    position: absolute;
    top: -9px;
    left: 22px;
    width: 14px;
    height: 14px;
    background: var(--surface);
    border-left: var(--border-w) solid var(--ink);
    border-top: var(--border-w) solid var(--ink);
}
.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, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown-list { list-style: none; margin: 0; padding: 0; }
.dropdown-link {
    display: block;
    padding: 10px 12px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    border-left: 4px solid transparent;
}
.dropdown-link:hover { background: var(--accent-tint); color: var(--ink); border-left-color: var(--accent); }
.dropdown-link.is-active { background: var(--accent-tint); font-weight: 800; border-left-color: var(--accent); }

/* burger + mobile nav */
.nav-burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: var(--surface);
    border: var(--border-w) solid var(--ink);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    color: var(--ink);
}
.burger-close { display: none; }
body.nav-open .burger-open { display: none; }
body.nav-open .burger-close { display: inline-flex; }

.mobile-nav {
    background: var(--surface);
    border-bottom: var(--border-w) solid var(--ink);
    box-shadow: 0 6px 0 var(--line);
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    padding-bottom: 18px;
}
.mobile-nav__group { border-bottom: 2px solid var(--line); }
.mobile-nav__group:first-child { border-top: 2px solid var(--line); }
.mobile-nav__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 4px;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ink);
    cursor: pointer;
}
.mobile-nav__list { list-style: none; margin: 0 0 10px; padding: 0; }
.mobile-nav__link {
    display: block;
    padding: 10px 12px;
    margin-bottom: 2px;
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    border-left: 4px solid transparent;
}
.mobile-nav__link:hover { background: var(--accent-tint); border-left-color: var(--accent); }
.mobile-nav__link.is-active { background: var(--accent-tint); border-left-color: var(--accent); font-weight: 800; }
.mobile-nav .btn { margin-top: 16px; }

@media (max-width: 1020px) {
    .site-nav { display: none; }
    .btn-header { display: none; }
    .nav-burger { display: inline-flex; margin-left: auto; }
    .header-inner { gap: 12px; }
    .brand svg { width: 172px; }
}

/* ----------------------------------------------------------------- hero -- */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--bg);
    border-bottom: var(--border-w) solid var(--ink);
}

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.hero__bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--plus-tex);
}
.hero__bg::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 16px;
    background: var(--ink);
}
.hero__bg-art {
    position: absolute;
    right: -30px;
    bottom: 16px;
    width: min(48vw, 660px);
    will-change: transform;
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: clamp(28px, 4vw, 60px);
    align-items: start;
    padding: clamp(44px, 6vw, 84px) 0 clamp(56px, 7vw, 100px);
}

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

.hero h1, .mobile-hero-title {
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    line-height: 0.99;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin: 12px 0 0;
    max-width: 13ch;
}
.hero h1 .accent, .mobile-hero-title .accent { color: var(--accent); }
.h1-word { display: inline-block; }

.hero-rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: var(--border-w) solid var(--ink);
    box-shadow: var(--shadow-sm);
    padding: 8px 14px;
    font-size: 0.86rem;
    font-weight: 800;
}
.hero-rating .stars { display: inline-flex; gap: 2px; color: var(--accent); }

.hero-perks { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.hero-perks li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--ink);
    background: var(--surface);
    padding: 7px 12px;
    font-size: 0.84rem;
    font-weight: 700;
}
.hero-perks .icon { color: var(--cobalt); }

.hero-sub {
    font-size: clamp(1.04rem, 1.6vw, 1.22rem);
    color: var(--ink-soft);
    max-width: 54ch;
    margin-top: 22px;
}
.hero-sub strong { color: var(--ink); }

.hero-form { position: relative; z-index: 1; }
.hero-form .form-block { border-top: 10px solid var(--accent); }

.hero-meta { margin-top: 22px; }

.offices {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--ink-soft);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
}
.flag-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--ink);
    background: var(--surface);
    padding: 5px 10px;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink);
}
.flag-dot {
    width: 14px;
    height: 10px;
    border: 1px solid var(--ink);
    flex: none;
}
.flag-dot--br { background: linear-gradient(135deg, #00913B 50%, #FFDF00 50%); }
.flag-dot--ca { background: linear-gradient(180deg, #D52B1E 32%, #F6F3EC 32%, #F6F3EC 68%, #D52B1E 68%); }
.flag-dot--jp { background: radial-gradient(circle at center, #BC002D 32%, #F6F3EC 34%); }

.hero-trust { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.trust-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--ink);
    background: var(--surface);
    color: var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
    padding: 9px 14px;
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.trust-link .icon { color: var(--cobalt); }
.trust-link:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); color: var(--ink); background: var(--accent-tint); }

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: minmax(0, 1fr); }
    .hero__bg-art { opacity: 0.5; width: 70vw; right: -60px; }
    .hero h1, .mobile-hero-title { max-width: none; }
}

/* ------------------------------------------------------------ page hero -- */
.page-hero {
    position: relative;
    overflow: hidden;
    background: var(--bg);
    background-image: linear-gradient(180deg, rgba(244, 82, 11, 0.07), rgba(244, 82, 11, 0));
    border-bottom: var(--border-w) solid var(--ink);
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--plus-tex);
    pointer-events: none;
}
.page-hero::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -20px;
    width: 440px;
    height: 210px;
    background: url("/assets/images/hero.svg") right bottom / 440px auto no-repeat;
    opacity: 0.16;
    pointer-events: none;
}
.page-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
    padding: clamp(40px, 5.5vw, 68px) 0;
}
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-top: 16px; }
.page-hero .form-block { border-top: 8px solid var(--accent); }
@media (max-width: 960px) {
    .page-hero__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ----------------------------------------------------------------- form -- */
.form-block {
    background: var(--surface);
    border: var(--border-w) solid var(--ink);
    box-shadow: var(--shadow-lg);
    padding: clamp(18px, 2.6vw, 26px);
}
.form-block--extra { box-shadow: var(--shadow-lg-accent); }

.form-block__heading {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.98rem;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    background: var(--ink);
    color: var(--bg);
    padding: 8px 12px;
    margin: 0 0 14px;
}

.form-block__intro { font-size: 0.94rem; color: var(--ink-soft); margin: 0 0 12px; }

.form-note {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--ink-soft);
    margin: 10px 0 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.form-note::before {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--accent);
    border: 2px solid var(--ink);
    flex: none;
}

.form-legal { font-size: 0.8rem; color: var(--ink-soft); margin: 8px 0 0; }
.form-legal a { font-weight: 700; }

.form-card {
    background: var(--surface);
    border: var(--border-w) solid var(--ink);
    box-shadow: var(--shadow-md);
    padding: 20px;
}

/* formFactory overrides (its inline styles load later; these win on specificity) */
.form-block .bff { margin: 0; }
.form-block .bff__label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ink);
    margin: 0 0 6px;
}
.form-block .bff__input {
    border-radius: var(--radius);
    border: var(--border-w) solid var(--ink);
    background: #FFFFFF;
    color: var(--ink);
    font-family: var(--font-body);
    font-weight: 600;
    padding: 12px 14px;
}
.form-block .bff__input::placeholder { color: #8A857B; font-weight: 500; }
.form-block .bff__input:focus { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--ink); }
.form-block .bff__err {
    color: var(--bad);
    font-size: 0.8rem;
    font-weight: 700;
    margin: 6px 0 0;
}
.form-block .bff__submit {
    border-radius: var(--radius);
    border: var(--border-w) solid var(--ink);
    background: var(--accent);
    color: var(--ink);
    font-family: var(--font-body);
    font-weight: 800;
    padding: 14px 18px;
    margin-top: 4px;
    box-shadow: 5px 5px 0 var(--ink);
    transition: transform 0.13s cubic-bezier(0.2, 0.6, 0.2, 1), box-shadow 0.13s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.form-block .bff__submit:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); filter: none; }
.form-block .bff__submit:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--ink); }
.form-block .bff__ok { color: var(--ok); font-weight: 700; font-size: 0.9rem; }
.form-block .bff__fail { color: var(--bad); font-weight: 700; font-size: 0.9rem; }

/* --------------------------------------------------------- home blocks -- */
.exchanges { padding: 26px 0; border-bottom: var(--border-w) solid var(--ink); background: var(--surface); }
.exchanges__label {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin: 0 0 12px;
}
.exchanges__row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.exchange-chip {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    background: var(--bg);
    border: var(--border-w) solid var(--ink);
    box-shadow: var(--shadow-sm);
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--ink);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.exchange-chip:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }

.calc-section {
    background-color: var(--accent-tint);
    background-image: var(--plus-tex);
    border-bottom: var(--border-w) solid var(--ink);
    padding: clamp(48px, 7vw, 84px) 0;
}
.calc-section__wrap {
    background: var(--surface);
    border: var(--border-w) solid var(--ink);
    box-shadow: var(--shadow-lg);
    padding: clamp(16px, 2.4vw, 28px);
}

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step {
    background: var(--surface);
    border: var(--border-w) solid var(--ink);
    box-shadow: var(--shadow-md);
    padding: 22px;
    transition: transform 0.13s ease, box-shadow 0.13s ease;
}
.step:hover { transform: translate(2px, 2px); box-shadow: 4px 4px 0 var(--ink); }
.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--accent);
    border: var(--border-w) solid var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--ink);
    margin-bottom: 14px;
}
.step h3 { font-size: 1rem; }
.step p { font-size: 0.93rem; color: var(--ink-soft); margin: 0; }
.step .icon-badge { margin-bottom: 12px; }
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .steps { grid-template-columns: minmax(0, 1fr); } }

.compare-wrap { overflow-x: auto; }
.compare {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    background: var(--surface);
    border: var(--border-w) solid var(--ink);
    box-shadow: var(--shadow-lg);
}
.compare th, .compare td {
    padding: 13px 16px;
    text-align: left;
    border: 2px solid var(--line);
    vertical-align: middle;
    font-size: 0.95rem;
}
.compare thead th {
    font-family: var(--font-display);
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
}
.compare thead th.col-us { background: var(--accent); color: var(--ink); }
.compare td.col-us { background: var(--accent-tint); font-weight: 700; }
.compare .col-them { color: var(--ink-soft); }
.compare td:first-child { font-weight: 600; }
.yes, .no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 2px solid var(--ink);
}
.yes { background: var(--surface); color: var(--ok); }
.no { background: var(--surface); color: var(--bad); }

.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1020px) { .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .reviews-grid { grid-template-columns: minmax(0, 1fr); } }

.review {
    background: var(--surface);
    border: var(--border-w) solid var(--ink);
    box-shadow: 6px 6px 0 var(--accent);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.review__head { display: flex; align-items: center; gap: 14px; }
.review__ava {
    width: 64px;
    height: 64px;
    border: var(--border-w) solid var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
    object-fit: cover;
    background: var(--accent-tint);
    flex: none;
}
.review__name { font-weight: 800; margin: 0; }
.review__role { font-size: 0.84rem; color: var(--ink-soft); margin: 2px 0 0; }
.review__stars { display: inline-flex; gap: 2px; color: var(--accent); margin-left: auto; }
.review__body { font-size: 0.94rem; color: var(--ink-soft); margin: 0; }
.review__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}
.review__stat {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 2px solid var(--ink);
    background: var(--accent-tint);
    padding: 6px 10px;
    color: var(--ink);
}
.reviews-note {
    margin: 22px 0 0;
    font-size: 0.85rem;
    color: var(--band-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}
.reviews-note::before {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--accent);
    flex: none;
}

.company-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: clamp(28px, 4vw, 52px);
    align-items: start;
}
.company-facts { margin: 22px 0 0; }
.company-facts__row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 0;
    border-top: 2px solid var(--line);
    font-size: 0.92rem;
}
.company-facts__row:last-child { border-bottom: 2px solid var(--line); }
.company-facts__row strong { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.company-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.company-link {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    background: var(--surface);
    border: var(--border-w) solid var(--ink);
    box-shadow: var(--shadow-sm);
    color: var(--ink);
    font-weight: 800;
    font-size: 0.88rem;
    text-decoration: none;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.company-link:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); color: var(--ink); background: var(--accent-tint); }
@media (max-width: 960px) { .company-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .company-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.faq { display: grid; gap: 14px; max-width: 880px; }
.faq-item {
    background: var(--surface);
    border: var(--border-w) solid var(--ink);
    box-shadow: var(--shadow-sm);
}
.faq-item.is-open { box-shadow: var(--shadow-md); }
.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    padding: 15px 18px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 800;
    text-align: left;
    color: var(--ink);
}
.faq-q .icon { color: var(--accent); transition: transform 0.15s ease; }
.faq-item.is-open .faq-q .icon { transform: rotate(180deg); }
.faq-a { padding: 0 18px 16px; color: var(--ink-soft); font-size: 0.96rem; }
.faq-a p:last-child { margin-bottom: 0; }

/* -------------------------------------------------------------- pieces -- */
.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex: none;
    background: var(--accent-tint);
    border: var(--border-w) solid var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
    color: var(--ink);
}
.icon-badge .icon { color: var(--ink); }
.icon-badge--navy { background: var(--cobalt-tint); }
.icon-badge--navy .icon { color: var(--cobalt); }
.section--dark .icon-badge { background: var(--band); border-color: var(--band-text); box-shadow: 3px 3px 0 var(--accent); color: var(--accent); }
.section--dark .icon-badge .icon { color: var(--accent); }

.card {
    background: var(--surface);
    border: var(--border-w) solid var(--ink);
    box-shadow: var(--shadow-md);
    padding: 22px;
    transition: transform 0.13s ease, box-shadow 0.13s ease;
}
.card:hover { transform: translate(2px, 2px); box-shadow: 4px 4px 0 var(--ink); }
.card .icon-badge { margin-bottom: 14px; }
.card h3 { margin: 0 0 8px; }
.card p { font-size: 0.94rem; color: var(--ink-soft); margin: 0; }
.card p a { font-weight: 700; }
.card--accent { box-shadow: var(--shadow-lg-accent); }
.section--dark .card { box-shadow: 6px 6px 0 var(--accent); }
.section--dark .card:hover { box-shadow: 4px 4px 0 var(--accent); }

.breadcrumbs { background: var(--surface-2); border-bottom: var(--border-w) solid var(--ink); padding: 11px 0; font-size: 0.84rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px 0; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { display: flex; align-items: center; color: var(--ink-soft); font-weight: 600; }
.breadcrumbs li + li::before { content: "/"; margin: 0 9px; color: var(--ink-soft); }
.breadcrumbs a { color: var(--cobalt); font-weight: 700; }
.breadcrumbs a:hover { background: none; }

.table-wrap {
    overflow-x: auto;
    background: var(--surface);
    border: var(--border-w) solid var(--ink);
    box-shadow: var(--shadow-md);
}
.table { width: 100%; border-collapse: collapse; min-width: 580px; }
.table th {
    background: var(--ink);
    color: var(--bg);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: left;
    padding: 12px 14px;
}
.table td { padding: 12px 14px; border-top: 2px solid var(--line); font-size: 0.93rem; vertical-align: top; }
.table tbody tr:nth-child(even) td { background: #FBF8F0; }
.table td strong { color: var(--ink); }

.map-embed {
    width: 100%;
    max-width: 880px;
    aspect-ratio: 16 / 9;
    min-height: 320px;
    border: var(--border-w) solid var(--ink);
    box-shadow: var(--shadow-md);
    background: var(--surface);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --------------------------------------------------------- special offer -- */
.offer-strip {
    background: var(--accent);
    border-bottom: var(--border-w) solid var(--ink);
    color: var(--ink);
}
.offer-strip .container { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; padding-top: 13px; padding-bottom: 13px; }
.offer-strip .stat {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.offer-strip .stat::before { content: ""; width: 9px; height: 9px; background: var(--ink); flex: none; }

.offer-band {
    background: var(--band);
    background-image: var(--plus-tex-dark);
    color: var(--band-text);
    border-top: var(--border-w) solid var(--accent);
    padding: clamp(44px, 6vw, 72px) 0;
    text-align: center;
}
.offer-band h2 { color: var(--band-text); }
.offer-band p { color: var(--band-muted); max-width: 60ch; margin-inline: auto; }
.offer-band .btn { margin-top: 20px; }

.countdown { display: flex; gap: 12px; justify-content: center; align-items: flex-end; }
.cd-seg { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cd-val {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 5vw, 3.2rem);
    line-height: 1;
    background: var(--surface);
    color: var(--ink);
    border: var(--border-w) solid var(--ink);
    box-shadow: 6px 6px 0 var(--accent);
    padding: 12px 16px;
    min-width: 84px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.cd-lab {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--band-muted);
}
.cd-sep { font-family: var(--font-display); font-size: 2.2rem; color: var(--accent); padding-bottom: 30px; }

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(25, 23, 20, 0.78);
    padding: 20px;
}
.modal-overlay.is-open { display: flex; }
.modal-card {
    position: relative;
    width: 100%;
    max-width: 540px;
    background: var(--surface);
    border: var(--border-w) solid var(--ink);
    box-shadow: 10px 10px 0 var(--accent);
    padding: 30px 26px 26px;
    text-align: center;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}
.modal-card h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.modal-card p { color: var(--ink-soft); }
.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: var(--border-w) solid var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
    color: var(--ink);
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.modal-close:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.modal-card .countdown { margin: 18px 0; }
.modal-card .btn { margin-top: 8px; }

/* --------------------------------------------------------------- footer -- */
.site-footer {
    background: var(--band);
    background-image: var(--plus-tex-dark);
    color: var(--band-text);
    border-top: var(--border-w) solid var(--accent);
    padding-top: clamp(44px, 6vw, 68px);
}
.footer-top {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1.7fr 1fr 1fr;
    gap: 30px;
}
.brand-footer svg { width: 224px; height: auto; }
.footer-mission { color: var(--band-muted); font-size: 0.93rem; margin: 16px 0 0; max-width: 42ch; }
.footer-contact { font-size: 0.9rem; color: var(--band-muted); margin-top: 16px; }
.footer-contact .icon { color: var(--accent); vertical-align: -4px; }
.footer-contact a { color: var(--accent); font-weight: 700; }
.footer-contact a:hover { color: var(--band-text); background: none; }
.footer-col h3 {
    font-family: var(--font-display);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--band-text);
    border-bottom: 3px solid var(--accent);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--band-muted); font-size: 0.88rem; text-decoration: none; }
.footer-col a:hover { color: var(--band-text); background: none; text-decoration: underline; text-decoration-color: var(--accent); }

.footer-disclaimer {
    margin-top: 44px;
    border: 2px solid rgba(246, 243, 236, 0.35);
    padding: 18px 20px;
    font-size: 0.83rem;
    color: var(--band-muted);
}
.footer-disclaimer h3 { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--band-text); margin: 0 0 8px; }

.footer-bottom {
    margin-top: 26px;
    padding: 16px 0 20px;
    border-top: 2px solid rgba(246, 243, 236, 0.22);
    font-size: 0.82rem;
    color: var(--band-muted);
}
.footer-bottom p { margin: 0; }

@media (max-width: 1020px) { .footer-top { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- reveal -- */
[data-reveal] { transition: opacity 0.5s ease 0.04s, transform 0.5s cubic-bezier(0.2, 0.6, 0.2, 1) 0.04s; }
/* Hidden initial state only when scripting is available (no-JS content stays visible). */
@media (scripting: enabled) {
    [data-reveal]:not(.is-revealed) { opacity: 0; transform: translateY(10px); }
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* -------------------------------------------------------- reduced motion -- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001s !important;
    }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
    .hero__bg-art { transform: none !important; }
}

/* ------------------------------------------------------------ utilities -- */
main { display: block; }
.section--dark a { color: var(--accent); }
.section--dark a:hover { color: var(--band-text); }

/* 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;
}