/* ==========================================================================
   Aureo Flowdex - design system
   Light theme, Union flag blue + red, linked-block (ledger) motif.
   ========================================================================== */

:root {
    --bg: #f7f9fe;
    --surface: #fdfeff;
    --surface-2: #eef2fb;
    --border: #d9e1f1;
    --border-strong: #c2cee6;
    --text: #0f1b3d;
    --text-muted: #45537a;
    --brand: #17368a;
    --brand-hover: #102a70;
    --brand-deep: #0b1c4d;
    --brand-tint: #e7edfb;
    --accent: #c01f3b;
    --accent-hover: #a21630;
    --accent-tint: #fbe8ec;
    --ok: #1f7a4d;
    --ok-tint: #e3f4ea;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    --shadow-sm: 0 1px 2px rgba(18, 38, 92, .07), 0 2px 6px rgba(18, 38, 92, .05);
    --shadow-md: 0 1px 2px rgba(18, 38, 92, .06), 0 10px 28px rgba(18, 38, 92, .09);
    --shadow-lg: 0 2px 4px rgba(18, 38, 92, .06), 0 22px 56px rgba(18, 38, 92, .16);

    --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
    --header-h: 72px;
    --ease: cubic-bezier(.2, .6, .2, 1);

    /* decorative layers (data-URI, low contrast, always behind text) */
    --pat-dots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='2' cy='2' r='1.2' fill='%2317368a' fill-opacity='.16'/%3E%3C/svg%3E");
    --pat-hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='55.426' height='96' viewBox='0 0 27.713 48'%3E%3Cpath d='M13.856 0 27.713 8V24L13.856 32 0 24V8Z M13.856 32V48' fill='none' stroke='%2317368a' stroke-opacity='.11' stroke-width='.6'/%3E%3C/svg%3E");
    --pat-union: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M0 0 120 120M120 0 0 120' stroke='%2317368a' stroke-opacity='.07' stroke-width='1' fill='none'/%3E%3Cpath d='M60 0V120M0 60H120' stroke='%23c01f3b' stroke-opacity='.08' stroke-width='1' fill='none'/%3E%3C/svg%3E");
    --pat-mesh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cg stroke='%2317368a' stroke-opacity='.12' stroke-width='1' fill='none'%3E%3Cpath d='M20 30 90 70 160 25M90 70 70 150 150 130M90 70 150 130'/%3E%3C/g%3E%3Cg fill='%2317368a' fill-opacity='.22'%3E%3Ccircle cx='20' cy='30' r='3'/%3E%3Ccircle cx='90' cy='70' r='4'/%3E%3Ccircle cx='160' cy='25' r='3'/%3E%3Ccircle cx='70' cy='150' r='3'/%3E%3Ccircle cx='150' cy='130' r='3.500'/%3E%3C/g%3E%3Ccircle cx='90' cy='70' r='7' fill='none' stroke='%23c01f3b' stroke-opacity='.35'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg, iframe, video, canvas { max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .15s var(--ease); }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.18; color: var(--text); letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 1.25rem + 2.7vw, 3.15rem); font-weight: 800; letter-spacing: -.028em; }
h2 { font-size: clamp(1.55rem, 1.15rem + 1.5vw, 2.25rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--brand-tint); color: var(--brand-deep); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.flag { border-radius: 3px; box-shadow: 0 0 0 1px rgba(18, 38, 92, .18); vertical-align: middle; }

/* ---------- layout primitives ---------- */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.section { position: relative; padding-block: clamp(52px, 7vw, 92px); overflow: hidden; isolation: isolate; }
.section--dots { background: var(--bg) var(--pat-dots); }
.section--hex { background-color: var(--bg); background-image: linear-gradient(180deg, rgba(231, 237, 251, .85), rgba(247, 249, 254, .9)), var(--pat-hex); }
.section--union { background: var(--bg) var(--pat-union); }
.section--mesh { background: var(--surface-2) var(--pat-mesh); }
.section--plain { background: var(--bg); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-muted); font-size: 1.08rem; margin-bottom: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }

.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(16px, 2vw, 24px); }
.grid-five { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-five > *:nth-child(-n+3) { grid-column: span 2; }
.grid-five > *:nth-child(n+4) { grid-column: span 3; }
.ill { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; }
.step-title { margin: 0; font-size: 1.6rem; }
.hero__lead + .btn, .hero__lead + .hero__links, .hero__lead + .callout { margin-top: 22px; }
.hero__lead + .hero__lead { margin-top: 14px; }
.plans-table thead th:nth-child(3) { background: var(--brand); color: #fff; }
.plans-table tbody td:nth-child(3) { background: rgba(23, 54, 138, .045); }
.plans-table th[scope="row"] { min-width: 180px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.split--wide-right { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.muted { color: var(--text-muted); }
.small { font-size: .9rem; }
.nowrap { white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 24px; border: 1.5px solid transparent; border-radius: var(--radius-md);
    font: inherit; font-weight: 700; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap;
    cursor: pointer; transition: transform .16s var(--ease), box-shadow .16s var(--ease), background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease);
}
.btn .icon { width: 1.1em; height: 1.1em; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(192, 31, 59, .28); }
.btn--primary:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn--secondary { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--secondary:hover { background: var(--brand); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(23, 54, 138, .22); }
.btn--secondary:active { transform: translateY(0); }
.btn--light { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.btn--light:hover { background: var(--accent-tint); color: var(--accent-hover); transform: translateY(-2px); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .94rem; }
.btn--lg { min-height: 54px; padding: 0 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- icon badge ---------- */
.icon-badge { display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--brand-tint); color: var(--brand); }
.icon-badge .icon { width: 24px; height: 24px; }
.icon-badge--red { background: var(--accent-tint); color: var(--accent); }
.icon-badge--solid { background: var(--brand); color: #fff; box-shadow: 0 6px 14px rgba(23, 54, 138, .28); }
.icon-badge--lg { width: 60px; height: 60px; border-radius: 18px; }
.icon-badge--lg .icon { width: 30px; height: 30px; }
.icon-badge--sm { width: 40px; height: 40px; border-radius: 12px; }
.icon-badge--sm .icon { width: 20px; height: 20px; }

/* ---------- cards ---------- */
.card {
    position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: clamp(20px, 2.4vw, 28px); box-shadow: var(--shadow-md);
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.card--flat:hover { transform: none; box-shadow: var(--shadow-md); }
.card h3 { display: flex; align-items: center; gap: 12px; margin-bottom: .55em; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--text-muted); }
.card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.card__head h3 { margin: 0; }
a.card { display: block; color: inherit; text-decoration: none; }
a.card:hover h3 { color: var(--brand); }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 700; color: var(--brand); }
.card__link .icon { width: 1em; height: 1em; transition: transform .16s var(--ease); }
a.card:hover .card__link .icon { transform: translateX(4px); }

.checklist { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 32px; color: var(--text); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7a4d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.500l4.500 4.500L19 7.500'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checklist--blue li::before { background-color: var(--brand-tint); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317368a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.500l4.500 4.500L19 7.500'/%3E%3C/svg%3E"); }
.checklist--red li::before { background-color: var(--accent-tint); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c01f3b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }

.callout { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-md); background: var(--brand-tint); border: 1px solid #cfdaf3; color: var(--text); margin-block: 1.4em; }
.callout .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--brand); }
.callout p { margin: 0; }
.callout p + p { margin-top: .6em; }
.callout--warn { background: var(--accent-tint); border-color: #f0c6cf; }
.callout--warn .icon { color: var(--accent); }

/* ---------- header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 60; height: var(--header-h);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .2s var(--ease);
}
/* the blurred surface lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu inside it */
.site-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: rgba(253, 254, 255, .88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
    transition: background-color .2s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-lg); }
.site-header.is-scrolled::before { background: rgba(253, 254, 255, .97); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.logo-link { display: inline-flex; text-decoration: none; color: var(--text); flex: none; }
.logo-link:hover { color: var(--text); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.logo__mark { display: block; flex: none; }
.logo__word { display: block; font-family: var(--font); overflow: visible; }

.nav { margin-left: auto; display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link, .nav__trigger {
    display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 14px; border: 0; border-radius: var(--radius-sm);
    background: transparent; font: inherit; font-weight: 600; font-size: .96rem; color: var(--text); text-decoration: none; cursor: pointer;
    transition: background-color .15s var(--ease), color .15s var(--ease);
}
.nav__link:hover, .nav__trigger:hover, .nav__item.is-open > .nav__trigger, .nav__item.is-current > .nav__trigger { background: var(--brand-tint); color: var(--brand); }
.nav__caret { width: 16px; height: 16px; transition: transform .18s var(--ease); }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }
.nav__cta-mobile { display: none; }
.header__cta { margin-left: 8px; }

.menu {
    position: absolute; top: calc(100% + 10px); left: 0; z-index: 70; min-width: 250px; padding: 8px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(6px); pointer-events: none;
    transition: opacity .16s var(--ease), transform .16s var(--ease), visibility 0s linear .16s;
}
.menu::before { content: ""; position: absolute; top: -7px; left: 26px; width: 12px; height: 12px; background: var(--surface); border-left: 1px solid var(--border); border-top: 1px solid var(--border); transform: rotate(45deg); }
.menu::after { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__item.has-menu:hover > .menu, .nav__item.is-open > .menu, .nav__item.has-menu:focus-within > .menu {
    opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; transition-delay: 0s;
}
.menu--right { left: auto; right: 0; }
.menu--right::before { left: auto; right: 26px; }
.menu__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
#menu-documents { min-width: 540px; }
#menu-documents .menu__list { grid-template-columns: 1fr 1fr; }
.menu__link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--text); font-weight: 550; font-size: .95rem; text-decoration: none; line-height: 1.3; transition: background-color .14s var(--ease), color .14s var(--ease); }
.menu__link .menu__icon { width: 20px; height: 20px; color: var(--brand); }
.menu__link:hover, .menu__link:focus-visible, .menu__link.is-active { background: var(--brand-tint); color: var(--brand-deep); }

.nav-toggle { display: none; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); color: var(--text); cursor: pointer; place-items: center; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* ---------- breadcrumbs ---------- */
.breadcrumbs { background: var(--bg); border-bottom: 1px solid var(--border); font-size: .88rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 12px 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--text-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--border-strong); }
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--text); font-weight: 600; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #fdfeff 0%, #f1f5fd 100%); }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero__bg-inner { position: absolute; inset: -40px 0 0 0; will-change: transform; }
.hero__scene { position: absolute; left: 50%; bottom: 0; width: max(100%, 1440px); aspect-ratio: 1440 / 900; transform: translateX(-50%); }
.hero__bg-img, .hero__art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(253, 254, 255, .72) 0%, rgba(253, 254, 255, .38) 40%, rgba(253, 254, 255, 0) 64%); }
.hero--home { padding-block: clamp(36px, 5vw, 68px) clamp(170px, 20vw, 290px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); grid-template-areas: "top form" "rest form"; column-gap: clamp(28px, 5vw, 72px); row-gap: 22px; align-items: start; }
.hero__top { grid-area: top; align-self: end; }
.hero__form { grid-area: form; }
.hero__rest { grid-area: rest; align-self: start; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lead { font-size: 1.06rem; color: var(--text-muted); max-width: 60ch; margin-bottom: 0; }
.hero__lead strong { color: var(--text); }
.hero__bullets { margin: 0 0 22px; }
.office-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; padding: 12px 16px; background: rgba(253, 254, 255, .9); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); width: fit-content; max-width: 100%; margin-bottom: 18px; font-size: .96rem; }
.office-line strong { color: var(--text); }
.hero__links { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__links--form { margin-top: 18px; flex-wrap: nowrap; }
.hero__links--form .hero__link { flex: 1 1 0; min-width: 0; padding-right: 10px; }
.hero__link { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; background: rgba(253, 254, 255, .92); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text); font-weight: 650; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .16s var(--ease), box-shadow .16s var(--ease), border-color .16s var(--ease); }
.hero__link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--brand); color: var(--brand); }
.hero__link small { display: block; font-weight: 500; color: var(--text-muted); font-size: .8rem; }

.hero--inner { padding-block: clamp(32px, 4.5vw, 64px); background: linear-gradient(180deg, #fdfeff 0%, #eef3fc 100%); }
.hero--inner .hero__scene { aspect-ratio: 1440 / 520; }
.hero--inner .hero__veil { background: linear-gradient(90deg, rgba(253, 254, 255, .94) 0%, rgba(253, 254, 255, .82) 48%, rgba(253, 254, 255, .3) 66%, rgba(253, 254, 255, 0) 82%); }
.hero--inner .hero__grid { grid-template-areas: "top form"; align-items: center; }
.hero--text { padding-block: clamp(36px, 5vw, 72px); }
.hero--text .hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top"; }
.hero--text .hero__top { max-width: 820px; }
.hero__crumb-lead { max-width: 64ch; }

/* ---------- registration form ---------- */
.form-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: clamp(20px, 3vw, 30px); position: relative; }
.form-block::before { content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--brand) 0 55%, var(--accent) 55% 100%); }
.form-block__title { font-size: 1.28rem; line-height: 1.25; margin-bottom: .45em; }
.form-block__intro { color: var(--text-muted); font-size: .98rem; margin-bottom: 1em; }
.form-block form { margin: 0; }
.form-block form > div { max-width: none !important; gap: 12px !important; display: grid !important; grid-template-areas: none !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
/* same layout before and after the form bundle's own CSS arrives: no jump when it lands */
.form-block form > div > * { grid-area: auto !important; grid-column: 1 / -1 !important; }
.form-block form > div > *:nth-child(-n+2) { grid-column: auto !important; }
.form-block form input:not([type="hidden"]) {
    width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid var(--border-strong) !important; border-radius: var(--radius-md) !important;
    background: #fff; color: var(--text); font: inherit; font-size: 1rem; transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.form-block form input::placeholder { font-size: .95rem !important; color: #6a7797; opacity: 1; }
.form-block form input:not([type="hidden"]):focus { outline: none; border-color: var(--brand) !important; box-shadow: 0 0 0 4px rgba(23, 54, 138, .16); }
.form-block form input[type="submit"] {
    height: 54px; border: 0 !important; border-radius: var(--radius-md) !important; background: var(--accent) !important; color: #fff !important;
    font-weight: 750 !important; font-size: 1.05rem; letter-spacing: .01em; cursor: pointer; box-shadow: 0 8px 18px rgba(192, 31, 59, .26);
    transition: transform .16s var(--ease), box-shadow .16s var(--ease), background-color .16s var(--ease);
}
.form-block form input[type="submit"]:hover { background: var(--accent-hover) !important; transform: translateY(-2px); box-shadow: 0 14px 26px rgba(192, 31, 59, .32); }
.form-block form input[type="submit"]:active { transform: translateY(0); }
.form-block form [data-type="validator-error"] { border-radius: 6px; font-size: 12px; }
.form-legal { margin: 14px 0 0; font-size: .82rem; color: var(--text-muted); line-height: 1.5; }
.calc-modal .form-legal { color: #cdd7f2; margin-top: 12px; }
.calc-modal .form-legal a { color: #ffffff; }
.form-note { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; padding: 10px 12px; background: var(--brand-tint); border-radius: var(--radius-md); color: var(--brand-deep); font-size: .92rem; font-weight: 600; }
.form-note .icon { color: var(--brand); width: 20px; height: 20px; }

/* ---------- exchange logo row ---------- */
.exchanges { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.exchange { display: grid; place-items: center; min-height: 92px; padding: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); color: #4a5f95; box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease); }
.exchange:hover { transform: translateY(-3px); color: var(--brand); border-color: var(--brand); box-shadow: var(--shadow-md); }
.exchange img { display: block; width: auto; max-width: 100%; height: 36px; max-height: 36px; object-fit: contain; }
.exchange-note { margin: 18px 0 0; font-size: .85rem; color: var(--text-muted); }

/* ---------- steps: a linked chain ---------- */
.chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; position: relative; }
.chain__step { position: relative; padding: 0 18px 0 0; }
.chain__step::before { content: ""; position: absolute; left: 56px; right: 0; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--brand) 0 8px, transparent 8px 14px); opacity: .45; }
.chain__step:last-child::before { display: none; }
.chain__block { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; position: relative; }
.chain__num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: .95rem; box-shadow: 0 4px 10px rgba(192, 31, 59, .3); position: absolute; left: 36px; top: -8px; z-index: 2; border: 3px solid var(--bg); }
.chain__step h3 { font-size: 1.1rem; }
.chain__step p { color: var(--text-muted); margin: 0; font-size: .98rem; }

.steps { list-style: none; margin: 0 0 1.4em; padding: 0; display: grid; gap: 16px; counter-reset: s; }
.steps > li { position: relative; padding: 18px 20px 18px 66px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); counter-increment: s; }
.steps > li::before { content: counter(s); position: absolute; left: 20px; top: 18px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: .9rem; }
.steps > li h3 { font-size: 1.05rem; margin-bottom: .3em; }
.steps > li p { margin: 0; color: var(--text-muted); }

/* ---------- tables ---------- */
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-md); margin-block: 1.2em; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .96rem; }
.table th, .table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.table thead th { background: var(--surface-2); font-weight: 700; color: var(--brand-deep); white-space: nowrap; font-size: .9rem; }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table tbody tr:hover { background: #f3f6fd; }
.table tbody th { font-weight: 650; color: var(--text); background: transparent; }
.table small { display: block; margin-top: 4px; font-weight: 400; color: var(--text-muted); font-size: .84rem; line-height: 1.45; }
.table .t-center { text-align: center; }
.table-caption { font-size: 1.05rem; font-weight: 700; margin: 1.6em 0 .4em; }
.tick, .cross { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.tick { background: var(--ok-tint); color: var(--ok); }
.cross { background: var(--accent-tint); color: var(--accent); }
.tick .icon, .cross .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.compare thead th:nth-child(2) { background: var(--brand); color: #fff; }
.compare tbody td:nth-child(2) { background: rgba(23, 54, 138, .045); }
.compare th[scope="row"] { min-width: 240px; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--brand-tint); color: var(--brand-deep); font-size: .8rem; font-weight: 700; }
.pill--red { background: var(--accent-tint); color: var(--accent-hover); }

/* ---------- reviews ---------- */
/* three cards per row, no scrolling */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.reviews > .review { margin: 0; }
.review { margin: 0; display: block; }
.review__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.review__photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--border-strong), var(--shadow-sm); background: var(--brand-tint); flex: none; }
.review__name { font-weight: 750; line-height: 1.25; }
.review__job { font-size: .88rem; color: var(--text-muted); }
.review__text { color: var(--text); margin: 0 0 14px; }
.review__meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 12px; padding: 12px; border-radius: var(--radius-md); background: var(--surface-2); }
.review__meta div { min-width: 0; }
.review__meta dt { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.review__meta dd { margin: 2px 0 0; font-weight: 750; color: var(--brand-deep); font-size: .98rem; }
.review__foot { font-size: .86rem; color: var(--text-muted); margin: 0; }
.review__foot strong { color: var(--text); font-weight: 650; }
.review-note { margin-top: 6px; font-size: .88rem; color: var(--text-muted); }

/* ---------- security bento ---------- */
.bento { display: grid; grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 1fr)); gap: 20px; }
.bento > .card--feature { grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px; }
.bento > .card--feature img { width: 100%; max-width: 280px; margin: 0 auto auto; display: block; }
.card--feature { background: linear-gradient(160deg, #17368a 0%, #0f2566 100%); color: #fff; border-color: transparent; overflow: hidden; }
.card--feature h3, .card--feature p { color: #fff; }
.card--feature p { opacity: .9; }
.card--feature .icon-badge { background: rgba(255, 255, 255, .14); color: #fff; }
.card--feature::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; border-radius: 40px; border: 2px solid rgba(255, 255, 255, .16); transform: rotate(18deg); }
.card--feature:hover h3 { color: #fff; }

/* ---------- company block ---------- */
.facts { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.facts li { display: flex; gap: 14px; align-items: flex-start; }
.facts strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text-muted); font-weight: 700; }
.facts a { font-weight: 600; }
.link-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.link-card { display: flex; flex-direction: column; gap: 14px; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); color: var(--text); text-decoration: none; font-weight: 700; transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease); }
.link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--brand); color: var(--brand); }
.link-card span { font-weight: 500; color: var(--text-muted); font-size: .92rem; line-height: 1.45; }

/* ---------- alternating advantage rows ---------- */
.adv { display: grid; gap: clamp(28px, 4vw, 56px); }
.adv__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.adv__row:nth-child(even) .adv__media { order: 2; }
.adv__media { display: grid; place-items: center; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); background-image: var(--pat-dots); }
.adv__media img { display: block; width: 100%; max-width: 420px; height: auto; }
.adv__num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: .9rem; margin-bottom: 12px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.faq details[open] { border-color: var(--brand); box-shadow: var(--shadow-md); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317368a' stroke-width='2.600' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--brand); }
.faq .faq__a { padding: 0 20px 18px; color: var(--text-muted); }
.faq .faq__a p:last-child { margin-bottom: 0; }
.faq-group { margin-top: 36px; }
.faq-group:first-child { margin-top: 0; }
.faq-group > h2 { display: flex; align-items: center; gap: 14px; font-size: 1.45rem; margin-bottom: 16px; }

/* ---------- calculator section ---------- */
.calc-section .calc-wrap { position: relative; }
.calc-section .calc-widget__title, .calc-section .calc-widget__subtitle { display: none; }
.calc-chart { display: block; width: 100%; height: 140px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.calc-section .calc-widget__cta { font-family: inherit; font-size: 1.05rem; font-weight: 700; min-height: 54px; padding: 0 32px; border-radius: 12px; cursor: pointer; transition: transform .16s var(--ease), box-shadow .16s var(--ease), filter .16s var(--ease); }
.calc-section .calc-widget__cta:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(192, 31, 59, .3); filter: brightness(.94); }
.calc-note { margin-top: 12px; font-size: .86rem; color: var(--text-muted); max-width: 70ch; }

/* ---------- document pages (legal text) ---------- */
.doc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); font-size: .92rem; max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; }
.toc__title { font-weight: 750; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--text-muted); text-decoration: none; line-height: 1.35; }
.toc a:hover, .toc a.is-current { background: var(--brand-tint); color: var(--brand-deep); }
.prose { max-width: 78ch; }
.prose h2 { margin-top: 2em; padding-top: .2em; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); display: flex; align-items: center; gap: 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h2 .icon-badge { width: 40px; height: 40px; border-radius: 12px; }
.prose h2 .icon-badge .icon { width: 20px; height: 20px; }
.prose h3 { margin-top: 1.6em; }
.prose li { margin-bottom: .4em; }
.prose p, .prose li { color: #26335a; }
.prose--wide { max-width: none; }
.prose a { font-weight: 550; }

/* card grids inside content */
.risk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 26px; }
.risk-card { display: flex; flex-direction: column; }
.risk-card .tip { margin-top: auto; padding: 12px 14px; border-radius: var(--radius-md); background: var(--brand-tint); color: var(--brand-deep); font-size: .94rem; }
.risk-card .tip strong { color: var(--brand); }
.risk-card--wide { grid-column: 1 / -1; }

.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; display: grid; gap: 22px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--brand), var(--accent)); border-radius: 2px; }
.timeline li { position: relative; padding: 18px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 24px; width: 16px; height: 16px; border-radius: 4px; background: var(--surface); border: 3px solid var(--brand); transform: rotate(45deg); }
.timeline li:last-child::before { border-color: var(--accent); }
.timeline h3 { margin-bottom: .3em; color: var(--brand); }
.timeline p { margin: 0; color: var(--text-muted); }

.tabs-like { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }

.flow { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin: 20px 0; padding: 0; list-style: none; }
.flow li { flex: 1 1 150px; position: relative; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); font-size: .94rem; }
.flow li strong { display: block; color: var(--brand); margin-bottom: 2px; }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: -11px; top: 50%; width: 12px; height: 12px; border-top: 2px solid var(--brand); border-right: 2px solid var(--brand); transform: translateY(-50%) rotate(45deg); z-index: 1; }

.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plan { display: flex; flex-direction: column; }
.plan--featured { border-color: var(--brand); box-shadow: var(--shadow-lg); }
.plan__price { font-size: 1.8rem; font-weight: 800; color: var(--brand-deep); margin: 6px 0 2px; letter-spacing: -.02em; }
.plan .btn { margin-top: auto; }
.plan .checklist { margin-bottom: 20px; }

.vacancy { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.vacancy__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }

.map-embed { position: relative; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; min-height: 320px; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; background: var(--surface-2); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.article-list { display: grid; gap: 28px; }
.article { padding: clamp(22px, 3vw, 36px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); }
.article h2 { font-size: 1.6rem; }
.article__meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: var(--text-muted); margin-bottom: 18px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(44px, 6vw, 72px); color: #fff; background: linear-gradient(120deg, #17368a 0%, #0f2566 100%); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--pat-hex); background-size: 55px 96px; filter: invert(1); opacity: .45; }
.cta-band::after { content: ""; position: absolute; z-index: -1; right: -90px; top: -90px; width: 320px; height: 320px; border-radius: 60px; border: 2px solid rgba(255, 255, 255, .16); transform: rotate(20deg); }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { opacity: .9; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band__inner > div { max-width: 700px; }

/* ---------- footer ---------- */
.site-footer { margin-top: 0; background: #eef2fb var(--pat-hex); border-top: 1px solid var(--border); padding-top: clamp(40px, 5vw, 64px); font-size: .94rem; }
.footer__top { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.footer__about { color: var(--text-muted); margin: 14px 0; max-width: 34ch; }
.footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--text-muted); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.footer__contact .icon { margin-top: 2px; color: var(--brand); width: 18px; height: 18px; }
.footer__heading { font-size: .8rem; text-transform: uppercase; letter-spacing: .09em; color: var(--text-muted); font-weight: 800; margin-bottom: 14px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__col a { color: var(--text); text-decoration: none; }
.footer__col a:hover { color: var(--accent); text-decoration: underline; }
.footer__disclaimer { margin-top: 36px; padding: 20px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); font-size: .84rem; color: var(--text-muted); }
.footer__disclaimer p:last-child { margin-bottom: 0; }
.footer__disclaimer strong { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-block: 22px; color: var(--text-muted); font-size: .88rem; }
.footer__bottom p { margin: 0; }
.footer__bottom ul { display: flex; gap: 18px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.footer__bottom a { color: var(--text-muted); }

/* ---------- special offer ---------- */
.offer-strip { background: var(--brand-deep); color: #fff; font-size: .9rem; position: relative; z-index: 61; }
.offer-strip__inner { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 32px; padding-block: 9px; }
.offer-strip span { display: inline-flex; align-items: center; gap: 8px; }
.offer-strip .icon { width: 16px; height: 16px; color: #ff8aa0; }
.offer-strip b { color: #fff; font-weight: 750; }
.offer-hero .hero__top h1 { max-width: 16ch; }
.countdown { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.countdown__unit { display: grid; gap: 4px; justify-items: center; }
.countdown__box { display: grid; place-items: center; min-width: 64px; padding: 10px 8px; border-radius: var(--radius-md); background: var(--brand-deep); color: #fff; font-size: 2rem; font-weight: 800; line-height: 1; box-shadow: var(--shadow-md); border-bottom: 3px solid var(--accent); }
.countdown__label { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); font-weight: 700; }
.countdown__sep { font-size: 1.8rem; font-weight: 800; color: var(--brand); margin-bottom: 18px; }
.modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.is-open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(11, 28, 77, .62); backdrop-filter: blur(3px); }
.modal__card { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 28px 28px 30px; background: var(--surface); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); text-align: center; animation: modal-in .22s var(--ease); }
.modal__card img { display: block; margin: 0 auto 10px; width: 100%; max-width: 280px; height: auto; }
.modal__close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.modal__close:hover { background: var(--accent-tint); color: var(--accent); }
.modal__card h2 { font-size: 1.9rem; margin-bottom: .3em; }
.modal__card p { color: var(--text-muted); }
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding-block: clamp(56px, 9vw, 120px); }
.not-found img { width: min(380px, 80%); margin: 0 auto 24px; display: block; }

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

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
    .nav__link, .nav__trigger { padding: 0 10px; font-size: .92rem; }
    .footer__top { grid-template-columns: 1fr 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
    :root { --header-h: 64px; }
    .nav-toggle { display: grid; }
    .header__cta { display: none; }
    .nav {
        position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 55; margin: 0; padding: 16px clamp(16px, 4vw, 40px) 40px;
        flex-direction: column; align-items: stretch; gap: 16px; overflow-y: auto; background: var(--surface); border-top: 1px solid var(--border);
        opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .16s var(--ease), transform .16s var(--ease), visibility 0s linear .16s;
    }
    .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 6px; }
    .nav__trigger, .nav__link { width: 100%; justify-content: space-between; min-height: 50px; padding: 0 14px; background: var(--surface-2); font-size: 1rem; }
    .menu, #menu-documents { position: static; min-width: 0; margin: 4px 0 8px; box-shadow: none; opacity: 1; visibility: visible; transform: none; pointer-events: auto; display: none; transition: none; }
    .menu::before, .menu::after { display: none; }
    .nav__item.is-open > .menu { display: block; }
    .nav__item.has-menu:hover > .menu { display: none; }
    .nav__item.has-menu.is-open:hover > .menu { display: block; }
    #menu-documents .menu__list { grid-template-columns: 1fr; }
    .nav__cta-mobile { display: inline-flex; width: 100%; min-height: 52px; }
    .hero__grid, .hero--inner .hero__grid, .hero--text .hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; }
    /* phones: title first, then the form, then the rest of the intro text */
    .hero__grid > .hero__top { display: contents; }
    .hero__grid .hero__top > .eyebrow { order: 0; justify-self: start; }
    .hero__grid .hero__top > h1 { order: 1; }
    .hero__grid > .hero__form { order: 2; grid-area: auto; }
    .hero__grid .hero__top > :not(h1):not(.eyebrow) { order: 3; }
    .hero__grid > .hero__rest { order: 4; grid-area: auto; }
    .hero__links--form { flex-wrap: wrap; }
    .hero__veil { background: linear-gradient(180deg, rgba(253, 254, 255, .86), rgba(253, 254, 255, .55)); }
    .hero__scene { width: max(100%, 1100px); }
    .hero--home { padding-bottom: 200px; }
    .split, .split--wide-left, .split--wide-right, .adv__row { grid-template-columns: minmax(0, 1fr); }
    .adv__row:nth-child(even) .adv__media { order: 0; }
    .doc { grid-template-columns: minmax(0, 1fr); }
    .toc { display: none; }
    .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
    .chain__step:nth-child(2)::before { display: none; }
    .exchanges { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-five > *:nth-child(n) { grid-column: auto; }
    .grid-five > *:last-child { grid-column: 1 / -1; }
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bento > .card--feature { grid-column: 1 / -1; grid-row: auto; min-height: 0; }
    .plan-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
    .grid-2, .risk-grid, .link-cards { grid-template-columns: minmax(0, 1fr); }
    .chain { grid-template-columns: minmax(0, 1fr); }
    .chain__step::before { display: none; }
    .chain__step { padding-right: 0; }
    .chain__num { left: 36px; }
    .exchanges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .reviews { grid-template-columns: minmax(0, 1fr); }
    .grid-five { grid-template-columns: minmax(0, 1fr); }
    .grid-five > *:last-child { grid-column: auto; }
    .bento { grid-template-columns: minmax(0, 1fr); }
    .footer__top { grid-template-columns: 1fr 1fr; }
    .vacancy { grid-template-columns: minmax(0, 1fr); }
    .cta-band__inner { flex-direction: column; align-items: flex-start; }
    .offer-strip__inner { flex-wrap: nowrap; justify-content: space-between; gap: 6px; font-size: .62rem; line-height: 1.25; }
    .offer-strip span { display: block; flex: 1 1 0; text-align: center; }
    .offer-strip .icon { width: 11px; height: 11px; vertical-align: -2px; margin-right: 3px; }
    .countdown__box { min-width: 56px; font-size: 1.6rem; }
    .flow li:not(:last-child)::after { display: none; }
    .review__meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .logo__word { width: 110px; }
}
@media (max-width: 420px) {
    .footer__top { grid-template-columns: minmax(0, 1fr); }
    .btn { padding: 0 18px; }
    .review__meta { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}
