/* =========================================================================
   Inpost Capital — style.css
   Light premium fintech theme: Polish crimson accent (#C8102E), graphite
   neutrals, Manrope display + system body. Design tokens first.
   ========================================================================= */

/* ---- Fonts (self-hosted, latin-ext for Polish diacritics) ---- */
@font-face {
    font-family: 'Manrope';
    src: url('/assets/fonts/manrope-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Manrope';
    src: url('/assets/fonts/manrope-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Manrope';
    src: url('/assets/fonts/manrope-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Manrope';
    src: url('/assets/fonts/manrope-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Manrope';
    src: url('/assets/fonts/manrope-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* ---- Design tokens ---- */
:root {
    --bg: #FAF8F6;
    --surface: #FFFFFF;
    --surface-2: #F3F0ED;
    --border: #E6E0DC;
    --text: #23262B;
    --muted: #6A6368;
    --accent: #C8102E;
    --accent-hover: #A60D26;
    --accent-tint: #FBE9EC;
    --accent-soft: #E8405A;
    --graphite: #2B2F35;
    --metal: #8C99A6;
    --ok: #2F7D4F;

    --font-display: 'Manrope', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Manrope', 'Segoe UI', system-ui, sans-serif;

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

    --shadow-sm: 0 1px 2px rgba(35, 38, 43, .06), 0 2px 6px rgba(35, 38, 43, .05);
    --shadow-md: 0 1px 2px rgba(35, 38, 43, .06), 0 10px 28px rgba(35, 38, 43, .10);
    --shadow-lg: 0 2px 6px rgba(35, 38, 43, .08), 0 22px 52px rgba(35, 38, 43, .16);

    --container-w: 1200px;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 16px/1.65 var(--font-body);
    letter-spacing: .1px;
}
img, svg, iframe, video, canvas { max-width: 100%; height: auto; }
h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--text);
    line-height: 1.18;
    margin: 0 0 .55em;
    font-weight: 800;
    letter-spacing: -.015em;
}
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.13rem; font-weight: 700; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
:focus-visible { outline: 3px solid rgba(200, 16, 46, .45); outline-offset: 2px; border-radius: 4px; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 300;
    background: var(--accent); color: #fff; padding: 10px 18px;
    border-radius: 0 0 10px 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; text-decoration: none; }

/* ---- Layout primitives ---- */
.container { width: 100%; max-width: var(--container-w); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.section { padding-block: clamp(48px, 7vw, 84px); position: relative; }
.section--surface { background: var(--surface); }
.section--tint { background: linear-gradient(180deg, var(--surface-2), var(--bg)); }
.section-head { max-width: 62ch; margin-bottom: clamp(24px, 4vw, 42px); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head p { color: var(--muted); font-size: 1.04rem; margin: 0; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font: 700 .74rem/1 var(--font-display); letter-spacing: .14em;
    text-transform: uppercase; color: var(--accent);
    background: var(--accent-tint); border-radius: 999px; padding: 7px 14px;
    margin-bottom: 14px;
}

/* decorative section bands */
.band-grid {
    background:
        radial-gradient(900px 320px at 85% 0%, rgba(200, 16, 46, .05), transparent 60%),
        linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%);
}
.band-grid::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(140, 153, 166, .09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(140, 153, 166, .09) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}
.band-tint { background: linear-gradient(180deg, var(--accent-tint), var(--bg) 85%); }
.band-coins {
    background:
        radial-gradient(620px 260px at 12% 12%, rgba(200, 16, 46, .06), transparent 60%),
        var(--surface-2);
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font: 700 .95rem/1.2 var(--font-body); border-radius: var(--radius);
    padding: 14px 26px; min-height: 48px; cursor: pointer;
    border: 2px solid transparent; text-decoration: none !important;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
    white-space: nowrap;
}
.btn-primary {
    background: var(--accent); color: #fff !important; box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
    background: transparent; color: var(--accent) !important; border-color: rgba(200, 16, 46, .4);
}
.btn-secondary:hover { border-color: var(--accent); background: var(--accent-tint); transform: translateY(-2px); }
.btn--sm { padding: 9px 18px; min-height: 40px; font-size: .87rem; }
.btn--wide { width: 100%; }

/* ---- Icon badge ---- */
.icon-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 50px; height: 50px; flex: 0 0 auto;
    background: var(--accent-tint); color: var(--accent);
    border-radius: 13px;
    box-shadow: inset 0 0 0 1px rgba(200, 16, 46, .08);
}
.icon-badge .icon { width: 24px; height: 24px; }
.icon { width: 24px; height: 24px; flex: 0 0 auto; }
.icon--xs { width: 16px; height: 16px; }

/* ---- Cards ---- */
.card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
    padding: clamp(18px, 2.6vw, 26px);
    transition: transform .18s ease, box-shadow .18s ease;
    height: 100%;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { display: flex; align-items: center; gap: 12px; margin-bottom: .5em; }
.card p { color: var(--muted); margin: 0; }
.card--link { text-decoration: none !important; color: inherit !important; display: block; }
.card--link:hover h3 { color: var(--accent); }

.card-grid { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card-grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* numbered steps — small accent circle, not display numerals */
.step { display: flex; gap: 16px; align-items: flex-start; }
.step__num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%;
    background: var(--accent); color: #fff; font: 800 1rem/1 var(--font-display);
    box-shadow: 0 0 0 6px var(--accent-tint);
}
.step h3 { font-size: 1.05rem; margin-bottom: .35em; }
.step p { color: var(--muted); margin: 0; }

/* ---- Tables ---- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .95rem; }
thead th {
    background: var(--surface-2); text-align: left; font-weight: 700;
    font-family: var(--font-display); padding: 13px 18px;
    border-bottom: 2px solid var(--border); white-space: nowrap;
}
tbody td { padding: 13px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: rgba(243, 240, 237, .45); }
.tick { color: var(--ok); font-weight: 800; }
.cross { color: #B3261E; font-weight: 800; }

/* comparison table */
.compare-col { background: var(--accent-tint); }

/* ---- Beacon form (formFactory markup, themed) ---- */
.beacon-form { display: block; }
.beacon-form__row { margin-bottom: 13px; }
.beacon-form__label { display: block; font-size: .84rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.beacon-form__input {
    width: 100%; min-height: 46px; padding: 10px 14px;
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    background: var(--surface); color: var(--text);
    font: 500 .98rem var(--font-body); transition: border-color .15s ease, box-shadow .15s ease;
}
.beacon-form__input::placeholder { color: #A79DA1; }
.beacon-form__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200, 16, 46, .16); }
.beacon-form__submit {
    width: 100%; min-height: 50px; margin-top: 4px; border: 0; border-radius: var(--radius-sm);
    background: var(--beacon-accent, var(--accent)); color: var(--beacon-on-accent, #fff);
    font: 700 1rem var(--font-body); cursor: pointer;
    transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.beacon-form__submit:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* form block wrapper */
.form-block {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
    padding: clamp(20px, 3vw, 30px); max-width: 460px;
}
.form-block__heading { font-size: 1.22rem; margin-bottom: .5em; }
.form-block__intro { color: var(--muted); font-size: .93rem; margin-bottom: 1em; }
.form-legal { font-size: .8rem; color: var(--muted); margin: 12px 0 4px; }
.form-legal a { text-decoration: underline; }
.form-manager {
    display: flex; align-items: center; gap: 8px;
    font-size: .86rem; font-weight: 600; color: var(--text);
    background: var(--accent-tint); border-radius: 10px; padding: 9px 12px; margin: 8px 0 0;
}
.form-manager .icon { color: var(--accent); }

/* ---- Header ---- */
.site-header {
    position: sticky; top: 0; z-index: 120;
    background: rgba(250, 248, 246, .88);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled { background: rgba(250, 248, 246, .97); box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none !important; }
.logo-word {
    font: 800 1.22rem/1 var(--font-display); color: var(--text);
    letter-spacing: -.02em; white-space: nowrap;
}
.logo--footer .logo-word { color: #fff; }

/* nav */
.main-nav { margin-left: auto; }
.main-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav__trigger {
    display: inline-flex; align-items: center; gap: 6px;
    font: 700 .92rem var(--font-body); color: var(--text);
    background: none; border: 0; cursor: pointer; padding: 10px 13px; border-radius: 10px;
    transition: background .15s ease, color .15s ease;
}
.main-nav__trigger:hover { background: var(--accent-tint); color: var(--accent); text-decoration: none; }
.main-nav__trigger .icon { width: 15px; height: 15px; transition: transform .15s ease; }
.main-nav__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.main-nav__group { position: relative; }
.main-nav__group--right .dropdown { right: 0; left: auto; }

.dropdown {
    position: absolute; top: calc(100% + 8px); left: 0; z-index: 130;
    min-width: 265px; max-width: min(340px, calc(100vw - 40px));
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 13px; box-shadow: var(--shadow-md);
    padding: 8px; margin: 0; list-style: none;
    opacity: 0; visibility: hidden; transform: translateY(5px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.dropdown.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown::before {
    content: ""; position: absolute; top: -5px; left: 26px; width: 10px; height: 10px;
    background: var(--surface); border-left: 1px solid var(--border); border-top: 1px solid var(--border);
    transform: rotate(45deg);
}
.main-nav__group--right .dropdown::before { left: auto; right: 26px; }
.dropdown a {
    display: block; padding: 10px 13px; border-radius: 9px;
    color: var(--text); font-weight: 600; font-size: .92rem;
}
.dropdown a:hover, .dropdown a:focus-visible { background: var(--accent-tint); color: var(--accent); text-decoration: none; }

/* header CTA */
.header-cta {
    padding: 9px 16px; min-height: 54px; gap: 12px;
    border-radius: 13px; margin-left: 6px;
}
.header-cta__copy { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.header-cta__label { font-weight: 800; font-size: .95rem; }
.header-cta__hint { font-weight: 500; font-size: .72rem; opacity: .85; }
.header-cta__arrow { transition: transform .16s ease; }
.header-cta:hover .header-cta__arrow { transform: translateX(3px); }

/* nav toggle (mobile) */
.nav-toggle {
    display: none; background: none; border: 1px solid var(--border);
    border-radius: 10px; padding: 9px; cursor: pointer; color: var(--text);
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* mobile nav */
.mobile-nav { display: none; border-top: 1px solid var(--border); background: var(--surface); }
.mobile-nav__group { border-bottom: 1px solid var(--border); }
.mobile-nav__group:last-child { border-bottom: 0; }
.mobile-nav__btn {
    display: flex; width: 100%; align-items: center; justify-content: space-between;
    background: none; border: 0; cursor: pointer; text-align: left;
    font: 700 1rem var(--font-body); color: var(--text);
    padding: 15px clamp(16px, 4vw, 40px);
}
.mobile-nav__btn .icon { width: 18px; height: 18px; transition: transform .15s ease; }
.mobile-nav__btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mobile-nav__sub {
    display: none; list-style: none; margin: 0; padding: 0 0 10px;
    max-height: 60vh; overflow-y: auto;
}
.mobile-nav__sub.is-open { display: block; }
.mobile-nav__sub a {
    display: block; padding: 9px calc(clamp(16px, 4vw, 40px) + 18px);
    color: var(--muted); font-weight: 600; font-size: .94rem;
}
.mobile-nav__sub a:hover { color: var(--accent); text-decoration: none; }

/* ---- Beacon ticker row ---- */
.tv-ticker-wrapper {
    padding-top: 0 !important;
    height: 58px !important;
}
.beacon-ticker {
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 9px 0; overflow: hidden;
}
.beacon-ticker__inner {
    display: flex; gap: 34px; white-space: nowrap; overflow-x: auto;
    max-width: var(--container-w); margin-inline: auto;
    padding-inline: clamp(16px, 4vw, 40px);
    scrollbar-width: thin;
}
.beacon-ticker__sym { color: var(--muted); white-space: nowrap; font-size: .88rem; font-weight: 600; }
.beacon-ticker__sym b { color: var(--text); font-weight: 700; margin-left: 4px; }

/* ---- Breadcrumbs ---- */
.breadcrumbs { background: var(--surface); border-bottom: 1px solid var(--border); }
.breadcrumbs ol {
    display: flex; flex-wrap: wrap; gap: 8px; list-style: none;
    margin: 0; padding: 12px 0; font-size: .84rem;
}
.breadcrumbs li + li::before { content: "›"; margin-right: 8px; color: var(--metal); }
.breadcrumbs a { color: var(--muted); font-weight: 600; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current] { color: var(--text); font-weight: 700; }

/* ---- Page hero (inner pages) ---- */
.page-hero {
    position: relative; overflow: hidden;
    background: linear-gradient(115deg, #FFFFFF 0%, var(--accent-tint) 100%);
    border-bottom: 1px solid var(--border);
    padding-block: clamp(40px, 6vw, 72px);
}
.page-hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(140, 153, 166, .14) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(115deg, transparent 30%, #000 100%);
}
.page-hero__grid {
    position: relative; z-index: 1;
    display: grid; gap: clamp(24px, 4vw, 48px);
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: center;
}
.page-hero h1 { margin-bottom: .4em; }
.page-hero p.lead { font-size: 1.05rem; color: var(--muted); margin-bottom: 1.2em; }
@media (max-width: 900px) {
    .page-hero__grid { display: flex; flex-direction: column; align-items: stretch; }
    .page-hero__grid > div:first-child { display: contents; }
    .page-hero__grid > div:first-child > * { order: 2; }
    .page-hero__grid > div:first-child > h1 { order: 0; margin-bottom: 0; }
    .page-hero__grid > div:last-child { order: 1; }
    .page-hero .form-block { max-width: 100%; }
}

/* ---- Home hero ---- */
.hero {
    position: relative; overflow: hidden;
    padding-block: clamp(36px, 5.5vw, 74px);
    background: var(--bg);
}
.home-hero {
    background: linear-gradient(145deg, #FFFFFF 35%, #FFF8F9 100%);
    border-bottom: 1px solid var(--border);
    border-top: 3px solid var(--accent);
}
.home-hero__grid {
    position: relative; z-index: 1;
    display: grid; gap: 24px 40px;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr);
    grid-template-areas: "heading form" "visual form" "trust trust";
    align-items: start;
}
.home-hero__heading { grid-area: heading; min-width: 0; }
.home-hero__heading h1 { margin-bottom: 0; }
.home-hero__heading h1 em { color: var(--accent); font-style: normal; }
.home-hero__form { grid-area: form; min-width: 0; }
.home-hero__trust { grid-area: trust; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.home-hero__trust .flag-links { margin: 0; }
.home-hero__visual {
    grid-area: visual; min-width: 0; margin: 0;
    overflow: hidden; border: 1px solid var(--border);
    border-radius: var(--radius-lg); background: var(--surface);
    box-shadow: var(--shadow-sm);
}
.home-hero__visual img { display: block; width: 100%; height: auto; }
.home-hero__visual figcaption {
    display: flex; align-items: center; gap: 9px;
    padding: 12px 16px; border-top: 1px solid var(--border);
    font-size: .8rem; font-weight: 600; color: var(--muted);
}
.home-hero__form .form-block { border-top: 4px solid var(--accent); box-shadow: var(--shadow-lg); }
.home-hero__eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 999px; padding: 7px 15px 7px 8px;
    font: 700 .8rem/1 var(--font-display); color: var(--text);
    box-shadow: var(--shadow-sm); margin-bottom: 18px;
}
.home-hero__eyebrow b { color: var(--accent); }
.home-hero__eyebrow .flag { display: inline-flex; }
.home-hero__summary { color: var(--muted); font-size: 1.02rem; max-width: 54ch; margin: 14px 0 0; }
.home-hero__form .form-block { max-width: 100%; }

.flag-links { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 20px 0 12px; }
.flag-links__label { font-size: .86rem; font-weight: 600; color: var(--muted); }
.flag-chip {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 999px; padding: 6px 13px 6px 8px;
    font: 700 .82rem var(--font-body); color: var(--text);
    box-shadow: var(--shadow-sm); text-decoration: none !important;
    transition: transform .15s ease, box-shadow .15s ease;
}
a.flag-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--text); }
.flag-chip svg { border-radius: 3px; box-shadow: 0 0 0 1px rgba(35, 38, 43, .12); }

.hero__icons { display: flex; flex-wrap: wrap; gap: 11px; }
.icon-link {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 12px; padding: 10px 16px;
    font: 700 .88rem var(--font-body); color: var(--text);
    box-shadow: var(--shadow-sm); text-decoration: none !important;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.icon-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(200, 16, 46, .35); color: var(--text); }
.icon-link .icon { color: var(--accent); }

@media (max-width: 900px) {
    /* mobile: heading first, then the form, then the rest (CRO block 1) */
    .home-hero__grid { display: flex; flex-direction: column; align-items: stretch; }
    .home-hero__heading { display: contents; }
    .home-hero__heading > * { order: 2; }
    .home-hero__heading > h1 { order: 0; margin-bottom: 0; }
    .home-hero__eyebrow { align-self: flex-start; margin-bottom: 0; }
    .home-hero__summary { margin-top: 0; }
    .home-hero__form { order: 1; }
    .home-hero__details { order: 3; }
    .home-hero__trust { order: 4; }
}

/* ---- Exchange chips row ---- */
.exchange-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; }
.exchange-chip {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 999px; padding: 9px 20px;
    font: 700 .95rem var(--font-display); color: var(--graphite);
    letter-spacing: .01em; box-shadow: var(--shadow-sm);
}
.exchange-chip .dot-mark { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); opacity: .75; }

/* ---- Steps block ---- */
.steps-grid { display: grid; gap: clamp(16px, 2.4vw, 26px); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.steps-grid .step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 22px; }
.steps-grid .step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); transition: transform .18s ease, box-shadow .18s ease; }

/* ---- Security cards ---- */
.security-grid { display: grid; gap: clamp(14px, 2vw, 20px); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* ---- Reviews ---- */
.reviews-grid { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.review-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
    padding: 22px; display: flex; flex-direction: column; gap: 12px;
    transition: transform .18s ease, box-shadow .18s ease;
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.review-card__head { display: flex; align-items: center; gap: 13px; }
.review-avatar {
    width: 72px; height: 72px; border-radius: 50%; flex: 0 0 auto;
    background: var(--accent-tint); color: var(--accent);
    display: block; object-fit: cover;
    box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px rgba(200, 16, 46, .25);
}
.review-card__name { font: 800 1rem var(--font-display); margin: 0; }
.review-card__role { font-size: .82rem; color: var(--muted); margin: 0; }
.review-card__text { margin: 0; color: var(--text); font-size: .95rem; flex: 1; }
.review-card__stats { display: flex; flex-wrap: wrap; gap: 8px; }
.review-stat {
    background: var(--surface-2); border-radius: 9px; padding: 7px 11px;
    font-size: .78rem; color: var(--muted); font-weight: 600;
}
.review-stat b { color: var(--text); display: block; font-size: .92rem; }
.review-note { font-size: .8rem; color: var(--muted); margin: 18px 0 0; text-align: center; }

/* ---- Company block ---- */
.company-grid {
    display: grid; gap: clamp(22px, 4vw, 48px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
}
.company-facts { display: grid; gap: 12px; margin: 18px 0 22px; }
.company-fact {
    display: flex; gap: 12px; align-items: flex-start;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 13px 16px; box-shadow: var(--shadow-sm);
}
.company-fact .icon { color: var(--accent); margin-top: 2px; }
.company-fact b { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.company-fact span { font-weight: 600; }
.company-links { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.company-figure {
    border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
    border: 1px solid var(--border); background: var(--surface);
}
.company-figure img { display: block; width: 100%; }
.company-figure figcaption {
    padding: 12px 16px; font-size: .82rem; color: var(--muted); border-top: 1px solid var(--border);
}
@media (max-width: 900px) { .company-grid { grid-template-columns: 1fr; } }

/* ---- Split media sections ---- */
.two-col {
    display: grid; gap: clamp(24px, 4vw, 48px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

/* ---- Split media sections ---- */
.media-grid {
    display: grid; gap: clamp(22px, 4vw, 48px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
}
.media-grid .media-figure {
    border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
    border: 1px solid var(--border); background: var(--surface);
}
.media-grid .media-figure img { display: block; width: 100%; }
@media (max-width: 900px) { .media-grid { grid-template-columns: 1fr; } }

/* ---- Calculator section ---- */
.calc-section .container { position: relative; z-index: 1; }
.calc-widget-wrap {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
    padding: clamp(18px, 3vw, 34px); max-width: 980px; margin-inline: auto;
}
.calc-disclaimer { text-align: center; color: var(--muted); font-size: .85rem; max-width: 62ch; margin: 18px auto 0; }

/* ---- FAQ ---- */
.faq-list { max-width: 780px; margin-inline: auto; }
.faq-item {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow-sm);
    margin-bottom: 11px; overflow: hidden;
}
.faq-item__btn {
    display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px;
    background: none; border: 0; cursor: pointer; text-align: left;
    font: 700 1rem var(--font-body); color: var(--text);
    padding: 17px 20px;
}
.faq-item__btn:hover { color: var(--accent); }
.faq-item__btn .icon { width: 19px; height: 19px; color: var(--accent); transition: transform .16s ease; }
.faq-item__btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.faq-item__panel { display: none; padding: 0 20px 18px; color: var(--muted); }
.faq-item__panel.is-open { display: block; }
.faq-item__panel a { font-weight: 600; }

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

/* ---- Footer ---- */
.site-footer {
    background: var(--graphite); color: #D6D9DE;
    padding: clamp(40px, 6vw, 64px) 0 24px; margin-top: 0;
}
.footer-grid {
    display: grid; gap: clamp(24px, 4vw, 44px);
    grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, .7fr));
    padding-bottom: 34px; border-bottom: 1px solid rgba(214, 217, 222, .16);
}
.footer-brand__text { color: #B9BEC6; font-size: .92rem; margin: 16px 0 14px; }
.footer-brand__contact { font-size: .88rem; color: #C9CDD4; line-height: 2; margin: 0; }
.footer-brand__contact .icon { color: var(--accent-soft); margin-right: 4px; vertical-align: -3px; }
.footer-brand__contact a { color: #E8EAEE; }
.footer-brand__contact a:hover { color: #fff; }
.footer-col h3 {
    color: #fff; font-size: .82rem; letter-spacing: .12em; 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: #B9BEC6; font-size: .9rem; font-weight: 500; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-disclaimer { padding: 26px 0; border-bottom: 1px solid rgba(214, 217, 222, .16); }
.footer-disclaimer h3 { color: #fff; font-size: .95rem; margin-bottom: 8px; }
.footer-disclaimer p { color: #9AA0A9; font-size: .8rem; line-height: 1.7; margin: 0; }
.footer-bottom { padding-top: 20px; }
.footer-bottom p { color: #8B919A; font-size: .8rem; margin: 0; }
@media (max-width: 980px) {
    .footer-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
}

/* ---- Careers ---- */
.vacancy {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
    padding: clamp(18px, 2.6vw, 26px); display: flex; flex-wrap: wrap; gap: 18px;
    align-items: center; justify-content: space-between;
    transition: transform .18s ease, box-shadow .18s ease;
}
.vacancy:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.vacancy__info { flex: 1 1 320px; }
.vacancy__info h3 { margin-bottom: .3em; }
.vacancy__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.vacancy__tag {
    background: var(--surface-2); border-radius: 999px; padding: 5px 12px;
    font-size: .76rem; font-weight: 700; color: var(--muted);
}
.vacancy__cta { flex: 0 0 auto; }

/* ---- Articles / prose ---- */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.article-card p { color: var(--muted); }

/* ---- Special offer page ---- */
.urgency-strip { background: var(--accent); color: #fff; padding: 9px 0; font-size: .84rem; font-weight: 600; }
.urgency-strip__inner { display: flex; flex-wrap: wrap; gap: 10px 34px; justify-content: center; }
.urgency-strip .dot, .eyebrow .dot {
    display: inline-block; width: 8px; height: 8px; border-radius: 50%;
    background: #fff; margin-right: 7px; animation: pulse-dot 1.6s ease infinite;
}
.eyebrow .dot { background: var(--accent); }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.so-hero { background: linear-gradient(115deg, #FFFFFF, var(--accent-tint)); border-bottom: 1px solid var(--border); }
.countdown { display: flex; gap: 10px; justify-content: center; margin: 18px 0; }
.countdown__cell {
    background: var(--graphite); color: #fff; border-radius: 12px;
    min-width: 74px; padding: 12px 10px 9px; text-align: center;
    box-shadow: var(--shadow-md);
}
.countdown__digits { font: 800 2rem/1 var(--font-display); letter-spacing: .02em; display: block; font-variant-numeric: tabular-nums; }
.countdown__label { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #AEB4BD; }

.so-cta-band { background: var(--accent); color: #fff; text-align: center; padding-block: clamp(36px, 5vw, 56px); }
.so-cta-band h2 { color: #fff; }
.so-cta-band .btn { background: #fff; color: var(--accent) !important; font-size: 1.05rem; padding: 16px 34px; }
.so-cta-band .btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.so-modal {
    position: fixed; inset: 0; z-index: 400; display: none;
    align-items: center; justify-content: center; padding: 20px;
    background: rgba(35, 38, 43, .55); backdrop-filter: blur(3px);
}
.so-modal.is-open { display: flex; }
.so-modal__card {
    position: relative; background: var(--surface); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); max-width: 480px; width: 100%;
    padding: 30px 28px 26px; text-align: center;
    animation: so-modal-in .2s ease;
}
@keyframes so-modal-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.so-modal__close {
    position: absolute; top: 12px; right: 12px;
    background: var(--surface-2); border: 0; border-radius: 50%;
    width: 36px; height: 36px; font-size: 1.25rem; line-height: 1; cursor: pointer; color: var(--text);
}
.so-modal__close:hover { background: var(--accent-tint); color: var(--accent); }
.so-modal__illustration { margin: 6px auto 14px; }

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---- 404 ---- */
.error-page { text-align: center; padding-block: clamp(60px, 9vw, 110px); }
.error-page__code { font: 800 clamp(4rem, 10vw, 7rem)/1 var(--font-display); color: var(--accent-tint); -webkit-text-stroke: 2px var(--accent); margin-bottom: 8px; }

/* ---- Responsive ---- */
@media (max-width: 1020px) {
    .main-nav { display: none; }
    .nav-toggle { display: inline-flex; order: 3; }
    .header-cta { order: 2; margin-left: auto; padding: 8px 14px; min-height: 48px; }
    .header-cta__hint { display: none; }
}
@media (max-width: 640px) {
    .header-cta__copy { display: none; }
    .header-cta { padding: 10px; border-radius: 12px; }
    .compare-note { font-size: .84rem; }
}

/* ---- 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;
    }
    .reveal { opacity: 1; transform: none; }
}
