@font-face {
    font-family: "Onest";
    src: url("../fonts/onest/Onest-Regular.ae16f03c3ec5.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Onest";
    src: url("../fonts/onest/Onest-Medium.8bd0b2c49806.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Onest";
    src: url("../fonts/onest/Onest-SemiBold.698a3d33a7d4.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Onest";
    src: url("../fonts/onest/Onest-Bold.3e941f4b4551.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --ink: #12161f;
    --muted: #5f6978;
    --line: #e4e7ec;
    --paper: #ffffff;
    --soft: #f6f7f9;
    --brand: #2457f5;
    --brand-dark: #1746d8;
    --accent: #eef3ff;
    --danger: #c9362b;
    --warning: #8a5200;
    --success: #1b7f5a;
    --danger-bg: #fff0ee;
    --warning-bg: #fff4dc;
    --success-bg: #eaf7f1;
    --radius: 20px;
    --radius-control: 12px;
    --ease-standard: cubic-bezier(.22, 1, .36, 1);
    --shadow: 0 16px 42px rgba(16, 24, 40, .07);
    --shadow-raised: 0 24px 64px rgba(16, 24, 40, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--soft); font: 400 16px/1.6 Onest, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
main { background: var(--paper); }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.container { width: min(1280px, calc(100% - 96px)); margin: 0 auto; }
.container.narrow { max-width: 820px; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(228,231,236,.92); backdrop-filter: blur(9px); }
.nav-wrap { min-height: 78px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 34px; }
.brand { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand-v2 { position: relative; }
.brand-logo { display: block; width: 204px; min-width: 204px; max-width: none; height: auto; flex: 0 0 204px; }
.footer-brand .brand-logo { width: 204px; }
.main-nav, .account-nav { display: flex; align-items: center; gap: 22px; }
.main-nav { justify-content: center; }
.main-nav a, .account-nav a { color: var(--ink); font-size: 14px; font-weight: 650; }
.account-nav { position: relative; }
.mobile-menu-toggle, .mobile-menu-shell { display: none; }
.link-button { border: 0; padding: 0; background: none; color: var(--ink); cursor: pointer; font-weight: 650; }

.account-menu { position: relative; }
.account-menu > summary { list-style: none; }
.account-menu > summary::-webkit-details-marker { display: none; }
.account-menu-trigger { display: inline-flex; min-height: 46px; gap: 9px; align-items: center; padding: 0 13px; border: 1px solid #d8dee8; border-radius: 12px; background: white; color: var(--ink); cursor: pointer; font-size: 14px; font-weight: 700; white-space: nowrap; transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease; }
.account-menu-trigger:hover, .account-menu[open] .account-menu-trigger, .account-menu.is-current .account-menu-trigger { border-color: #c4d0f6; background: var(--accent); color: var(--brand-dark); }
.account-menu[open] .account-menu-trigger { box-shadow: 0 8px 20px rgba(36,87,245,.12); }
.account-menu-trigger-icon, .account-menu-chevron, .account-menu-icon { display: block; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.account-menu-trigger-icon { width: 18px; height: 18px; }
.account-menu-chevron { width: 14px; height: 14px; margin-left: 2px; transition: transform 180ms var(--ease-standard); }
.account-menu[open] .account-menu-chevron { transform: rotate(180deg); }
.account-menu:not([open]) .account-menu-panel { display: none; }
.account-menu-panel { position: absolute; z-index: 40; top: calc(100% + 12px); right: 0; width: min(328px, calc(100vw - 32px)); padding: 10px; border: 1px solid #d8dee8; border-radius: 18px; background: white; box-shadow: 0 24px 64px rgba(16,24,40,.16); }
.account-menu-head { display: grid; min-width: 0; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 10px 14px; border-bottom: 1px solid var(--line); }
.account-menu-avatar { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: var(--brand); color: white; font-size: 13px; font-weight: 800; }
.account-menu-head > span:last-child { display: grid; min-width: 0; gap: 2px; }
.account-menu-head strong { font-size: 14px; line-height: 1.35; }
.account-menu-head small { overflow: visible; color: var(--muted); font-size: 11px; line-height: 1.35; overflow-wrap: anywhere; text-overflow: clip; white-space: normal; }
.account-menu-links { display: grid; gap: 2px; padding: 8px 0; }
.account-menu-links > a, .account-menu-logout button { display: flex; width: 100%; min-height: 44px; gap: 12px; align-items: center; padding: 8px 11px; border: 0; border-radius: 10px; background: transparent; color: #344054; font-size: 13px; font-weight: 650; text-align: left; text-decoration: none; cursor: pointer; transition: background-color 160ms ease, color 160ms ease; }
.account-menu-links > a:hover, .account-menu-logout button:hover { background: #f4f6f9; color: var(--brand-dark); text-decoration: none; }
.account-menu-links > a.is-active { position: relative; background: var(--accent); color: var(--brand-dark); }
.account-menu-links > a.is-active::before, .mobile-menu-links a.is-active::before { content: ""; position: absolute; top: 11px; bottom: 11px; left: 0; width: 3px; border-radius: 999px; background: var(--brand); }
.account-menu-icon { width: 19px; height: 19px; }
.account-menu-logout { margin: 0; padding-top: 8px; border-top: 1px solid var(--line); }
.account-menu-logout button { color: #475467; }
.mobile-menu-links a.is-active { position: relative; padding-left: 14px; background: linear-gradient(90deg, var(--accent), rgba(238,243,255,0)); color: var(--brand-dark); }

h1, h2, h3 { margin: 0 0 .6em; font-family: Onest, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-weight: 700; line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(42px, 5vw, 58px); line-height: 1.08; }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; letter-spacing: -.025em; }
p { margin: 0 0 1em; }
.lead { max-width: 720px; color: var(--muted); font-size: clamp(18px, 2.2vw, 21px); line-height: 1.52; }
.eyebrow { margin-bottom: 12px; color: var(--brand); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.hero { padding: 94px 0 78px; background: radial-gradient(circle at 85% 20%, #d9f0ea 0, rgba(217,240,234,0) 32%), linear-gradient(180deg, #fbfdfd 0, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.45fr .75fr; gap: 70px; align-items: center; }
.hero-card { padding: 34px; border: 1px solid #cbe1dc; border-radius: 28px; background: rgba(255,255,255,.82); box-shadow: var(--shadow); }
.hero-card h2 { font-size: 34px; }
.hero-card-label { color: var(--brand); font-weight: 800; }
.impact-band { padding: 42px 0; background: var(--brand); color: white; }
.impact-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 64px; align-items: center; }
.impact-grid > strong { font-size: clamp(44px, 7vw, 82px); line-height: .98; letter-spacing: -.06em; }
.impact-grid h2 { margin-bottom: 8px; }
.impact-grid p { margin-bottom: 8px; color: #d9f5ef; font-size: 18px; }
.impact-grid small { color: #bce0da; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin-top: 30px; }
.actions > * { min-width: 0; }
.actions > form { display: flex; margin: 0; }
.actions > form .button { width: 100%; }
.button { display: inline-flex; max-width: 100%; min-width: 0; justify-content: center; align-items: center; min-height: 52px; padding: 0 24px; border: 1px solid var(--brand); border-radius: var(--radius-control); background: var(--brand); color: white; font-size: 15px; font-weight: 600; line-height: 1.35; text-align: center; white-space: normal; overflow-wrap: anywhere; cursor: pointer; transition: transform 200ms var(--ease-standard), background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease; }
.button:hover { transform: translateY(-1px); background: var(--brand-dark); color: white; text-decoration: none; box-shadow: 0 8px 20px rgba(36, 87, 245, .17); }
.button:active { transform: translateY(0); box-shadow: none; }
.button-secondary { border-color: #d0d5dd; background: white; color: var(--ink); }
.button-secondary:hover { background: var(--accent); color: var(--brand-dark); }
.button-small { min-height: 44px; padding: 0 16px; font-size: 14px; }
.button-danger { border-color: var(--danger); background: var(--danger); }
.button-light { border-color: white; background: white; color: var(--ink); }
.button-light:hover { border-color: var(--accent); background: var(--accent); color: var(--brand-dark); }
.nav-cta { color: white !important; white-space: nowrap; }
.button[disabled], .button.is-disabled, [aria-disabled="true"].button { transform: none; border-color: #98a2b3; background: #98a2b3; box-shadow: none; cursor: not-allowed; pointer-events: none; }
input:disabled, select:disabled, textarea:disabled, input[readonly] { border-color: #d0d5dd; background: #f2f4f7; color: #667085; cursor: not-allowed; }
::placeholder { color: #667085; opacity: 1; }
.final-cta :focus-visible, .speed-section :focus-visible, .auth-aside :focus-visible { outline-color: white; }

.home-hero { padding: 104px 0 88px; background: radial-gradient(circle at 83% 14%, #d9f0ea 0, rgba(217,240,234,0) 34%), linear-gradient(180deg, #fbfdfd 0, #fff 100%); }
.home-hero-content { max-width: 1040px; }
.home-hero h1 { max-width: 900px; }
.home-hero .lead { max-width: 940px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 0; margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 700; list-style: none; }
.hero-proof li { display: flex; align-items: center; }
.hero-proof li:not(:last-child)::after { content: "·"; margin: 0 14px; color: var(--brand); font-size: 20px; }
.hero-proof sup { margin-left: 2px; }
.home-section-head { max-width: 780px; margin-bottom: 34px; }
.home-section-head > :last-child { margin-bottom: 0; }
.direction-grid, .help-grid { margin-top: 0; }
.direction-card, .help-card { position: relative; overflow: hidden; }
.direction-card { min-height: 245px; padding-top: 72px; }
.direction-code, .service-number { position: absolute; top: 26px; right: 28px; color: #a8b5c3; font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.direction-card h3 { font-size: 30px; }
.direction-card p, .help-card p { margin-bottom: 0; }
.help-card { min-height: 260px; padding-top: 68px; }
.home-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-steps li { min-height: 230px; }

.value-section { padding: 86px 0; background: var(--ink); color: white; }
.value-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; align-items: start; }
.value-section .eyebrow { color: #78d5c7; }
.value-section h2 { margin-bottom: 0; }
.value-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 34px; margin: 0; padding: 0; list-style: none; }
.value-list li { position: relative; padding: 18px 0 18px 30px; border-bottom: 1px solid rgba(255,255,255,.14); color: #e5edf5; font-weight: 650; }
.value-list li::before { content: "✓"; position: absolute; top: 18px; left: 0; color: #78d5c7; font-weight: 900; }

.package-layout { display: grid; gap: 46px; }
.package-copy { max-width: 860px; }
.package-copy > :last-child { margin-bottom: 0; color: var(--muted); font-size: 18px; }
.package-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow); list-style: none; }
.package-flow li { position: relative; padding: 30px; }
.package-flow li:not(:last-child) { border-right: 1px solid var(--line); }
.package-flow li:not(:last-child)::after { content: "→"; position: absolute; z-index: 1; top: 50%; right: -15px; display: grid; width: 30px; height: 30px; place-items: center; transform: translateY(-50%); border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--brand); font-weight: 900; }
.package-flow strong, .package-flow span { display: block; }
.package-flow strong { font-size: clamp(32px, 4vw, 46px); line-height: 1; letter-spacing: -.05em; }
.package-flow span { margin-top: 9px; color: var(--muted); }

.result-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.deliverables-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 34px; margin: 0; padding: 0; list-style: none; }
.deliverables-list li { position: relative; padding: 17px 0 17px 30px; border-bottom: 1px solid var(--line); font-weight: 650; }
.deliverables-list li::before { content: "✓"; position: absolute; top: 17px; left: 0; color: var(--brand); font-weight: 900; }

.home-cta { padding: 84px 0; }
.home-cta-box { padding: 54px; border-radius: 28px; background: var(--ink); color: white; }
.home-cta-box > div:first-child { max-width: 840px; }
.home-cta-box .eyebrow { color: #78d5c7; }
.home-cta-box p { color: #c8d2df; }
.home-cta-box .actions { margin-top: 28px; }

.section { padding: 88px 0 96px; }
.section-muted { background: var(--soft); }
.page-head { padding: 88px 0 72px; background: var(--soft); border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 980px; }
.page-head .actions { margin-top: 32px; }
.card-grid { display: grid; gap: 20px; margin-top: 34px; }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { min-width: 0; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: none; transition: transform 210ms var(--ease-standard), border-color 210ms ease, box-shadow 210ms ease; }
.card:hover { transform: translateY(-3px); border-color: #c7d4ff; box-shadow: 0 14px 34px rgba(16,24,40,.055); }
.card h2 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; }
.card h2, .card h3, .card p, .card a, .card strong, .card span, .card small { min-width: 0; overflow-wrap: anywhere; word-break: normal; }
.card .number { display: block; margin-bottom: 25px; color: var(--brand); font-size: 13px; font-weight: 800; }
.card p { color: var(--muted); }
.tag, .status { display: inline-flex; align-items: center; min-height: 28px; padding: 5px 10px; border-radius: 999px; background: var(--accent); color: var(--brand-dark); font-size: 12px; font-weight: 700; line-height: 1.35; }
.status-error, .status-changes_required, .status-rejected_security, .status-cancelled, .status-refunded, .status-failed { background: var(--danger-bg); color: var(--danger); }
.status-warning, .status-warnings, .status-manual_review, .status-ambiguous, .status-awaiting_client, .status-awaiting_payment, .status-partial_success { background: var(--warning-bg); color: var(--warning); }
.status-ready, .status-completed, .status-paid, .status-success { background: var(--success-bg); color: var(--success); }
.status-pending, .status-draft, .status-skipped, .status-not_billed, .status-not_required { background: #f2f4f7; color: #475467; }
.status-queued, .status-running, .status-quote_preparing, .status-paid_queued, .status-operator_review, .status-ready_for_work, .status-in_progress { background: var(--accent); color: var(--brand-dark); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0; counter-reset: steps; list-style: none; }
.steps li { min-height: 180px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.steps li::before { counter-increment: steps; content: counter(steps, decimal-leading-zero); display: block; margin-bottom: 26px; color: var(--brand); font-weight: 800; }
.steps strong, .steps span { display: block; }
.steps span { margin-top: 8px; color: var(--muted); }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.metric-card { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--line); }
.metric-card div { padding: 28px; background: white; }
.metric-card span, .metric-card small { display: block; }
.metric-card span { font-size: 38px; font-weight: 850; letter-spacing: -.05em; }
.metric-card small { color: var(--muted); }
.cta-section { padding: 0 0 84px; }
.cta-box { display: flex; justify-content: space-between; gap: 40px; align-items: center; padding: 44px; border-radius: 26px; background: var(--ink); color: white; }
.cta-box .eyebrow { color: #78d5c7; }
.cta-box p { color: #c8d2df; }

.prose { max-width: 820px; }
.prose h2 { margin-top: 1.8em; font-size: clamp(28px, 3vw, 34px); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #344054; }
.legal-document h2 { scroll-margin-top: 100px; }
.legal-document table { display: block; max-width: 100%; overflow-x: auto; }
.legal-document-note { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; }
.requisites-list { overflow: hidden; margin: 24px 0 42px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.requisites-list > div { display: grid; grid-template-columns: minmax(160px, .42fr) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.requisites-list > div:last-child { border-bottom: 0; }
.requisites-list dt, .requisites-list dd { margin: 0; padding: 16px 18px; overflow-wrap: anywhere; }
.requisites-list dt { background: var(--soft); color: var(--muted); font-size: 13px; font-weight: 700; }
.requisites-list dd { color: var(--ink); font-weight: 600; }
.wide-prose { max-width: 980px; }
.wide-prose > h2, .wide-prose > h3, .wide-prose > p, .wide-prose > ul, .wide-prose > ol, .wide-prose > .callout { max-width: 820px; }
.wide-prose table { display: block; max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; }
.callout { margin: 0 0 34px; padding: 24px 28px; border: 1px solid #d7e1ff; border-left: 4px solid var(--brand); border-radius: 0 14px 14px 0; background: var(--accent); }
pre { overflow-x: auto; padding: 18px; border-radius: 12px; background: #101c2b; color: #e8f4f1; }
code { padding: 2px 6px; border-radius: 5px; background: var(--soft); font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; }
table { width: 100%; margin: 28px 0; border: 1px solid var(--line); border-spacing: 0; border-radius: 14px; background: white; font-size: 14px; }
th, td { min-height: 56px; padding: 17px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { background: #f2f4f7; color: var(--ink); font-size: 13px; font-weight: 700; }
.prose th { position: static; top: auto; z-index: auto; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background-color 180ms ease; }
tbody tr:hover { background: #f7f9ff; }

.form-card { max-width: 720px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 12px 36px rgba(16,24,40,.055); }
.form-card:not(:has(input[type="file"])) { max-width: 560px; }
.form-card:has(input[type="file"]) { max-width: 820px; }
.form-card h2 { font-size: clamp(26px, 3vw, 32px); }
form p { margin: 0 0 18px; }
label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="tel"], input[type="url"], select, textarea { width: 100%; min-height: 52px; padding: 13px 14px; border: 1px solid #b8c2cf; border-radius: var(--radius-control); background: white; color: var(--ink); transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease; }
textarea { min-height: 128px; resize: vertical; }
input[type="file"] { width: 100%; min-height: 180px; padding: 52px 24px; border: 1px dashed #98a2b3; border-radius: var(--radius-control); background: #fbfcfe; color: var(--muted); cursor: pointer; }
input[type="file"]::file-selector-button { min-height: 42px; margin-right: 16px; padding: 0 16px; border: 1px solid #d0d5dd; border-radius: 10px; background: white; color: var(--ink); font-weight: 600; cursor: pointer; }
input:hover, select:hover, textarea:hover { border-color: #8593a6; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(36,87,245,.12); }
.helptext { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; }
.errorlist { padding: 10px 14px; border-radius: 10px; background: var(--danger-bg); color: var(--danger); font-size: 13px; list-style: none; }

.form-card.billing-profile-card:not(:has(input[type="file"])) { max-width: 820px; margin-inline: auto; }
.billing-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 22px; }
.billing-profile-field-wide { grid-column: 1 / -1; }
.form-actions, .page-actions { display: grid; width: min(100%, 560px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.form-actions { margin: 28px 0 0 auto; }
.page-actions { margin-top: 28px; }
.form-actions > .button, .form-actions > form, .form-actions > form .button, .page-actions > .button, .page-actions > form, .page-actions > form .button { width: 100%; height: 100%; }
.form-actions > form, .page-actions > form { display: flex; margin: 0; }

/* Compact account access flow */
.auth-page { display: flex; min-height: 100vh; flex-direction: column; background: var(--soft); }
.auth-page main { display: flex; flex: 1; background: var(--soft); }
.auth-stage { display: flex; width: 100%; padding: 58px 0 72px; align-items: flex-start; }
.auth-container { display: flex; justify-content: center; }
.auth-container-compact { max-width: 520px; }
.auth-container-wide { max-width: 900px; }
.auth-card { position: relative; width: 100%; padding: 38px; overflow: hidden; border: 1px solid #d8dee8; border-radius: 20px; background: rgba(255,255,255,.99); box-shadow: 0 16px 42px rgba(16,24,40,.08); }
.auth-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--brand); }
.auth-card-wide { padding: 40px 44px; }
.auth-card-head { position: relative; padding: 0 58px 24px 0; border-bottom: 1px solid var(--line); }
.auth-card-head .eyebrow { margin-bottom: 8px; }
.auth-card-head h1 { margin-bottom: 10px; font-size: clamp(30px, 4vw, 38px); }
.auth-card-head > p:last-child { max-width: 640px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.auth-mark { position: absolute; top: 0; right: 0; display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: var(--accent); color: var(--brand-dark); font-size: 12px; font-weight: 900; letter-spacing: .04em; }
.auth-form { margin-top: 26px; }
.auth-form > .auth-field + .auth-field { margin-top: 18px; }
.auth-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 22px; }
.auth-field { min-width: 0; }
.auth-field-wide { grid-column: 1 / -1; }
.auth-field label { margin-bottom: 7px; font-size: 14px; line-height: 1.35; }
.auth-field input, .auth-field select, .auth-field textarea { min-height: 52px; border-color: #c6cfda; border-radius: var(--radius-control); background: #fff; transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease; }
.auth-field input:hover, .auth-field select:hover, .auth-field textarea:hover { border-color: #98a7b9; }
.auth-field input:focus, .auth-field select:focus, .auth-field textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(36,87,245,.1); }
.auth-field.has-error input, .auth-field.has-error select, .auth-field.has-error textarea { border-color: var(--danger); background: #fffafa; }
.auth-help { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.auth-help ul { margin: 6px 0 0; padding-left: 18px; }
.auth-optional { margin-left: 5px; color: var(--muted); font-size: 11px; font-weight: 500; }
.auth-alert { margin-bottom: 18px; }
.auth-alert .errorlist, .auth-field-errors .errorlist { margin: 0; padding: 9px 11px; border-radius: 8px; font-size: 12px; line-height: 1.4; }
.auth-field-errors { margin-top: 7px; }
.auth-consents { display: grid; gap: 10px; margin-top: 22px; }
.auth-check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 0 11px; align-items: start; padding: 13px 14px; border: 1px solid var(--line); border-radius: 11px; background: #fafbfc; }
.auth-check:hover { border-color: #c6cfda; background: #f8faff; }
.auth-check.has-error { border-color: rgba(201,54,43,.46); background: #fffafa; }
.auth-check input[type="checkbox"] { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); cursor: pointer; }
.auth-check label { margin: 0; cursor: pointer; font-size: 13px; font-weight: 600; line-height: 1.55; }
.auth-check .auth-field-errors { grid-column: 2; }
.auth-submit { width: 100%; margin-top: 24px; }
.auth-card-wide .auth-submit { width: auto; min-width: 250px; }
.auth-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.auth-links a { font-size: 13px; font-weight: 650; line-height: 1.4; }
.auth-links a:last-child { text-align: right; }
.auth-switch { margin: 20px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
.auth-switch a { font-weight: 750; }
.auth-card-state { text-align: center; }
.auth-card-state .auth-form { margin-top: 18px; }
.auth-card-head-state { padding-right: 0; border-bottom: 0; }
.auth-state-icon { display: grid; width: 52px; height: 52px; margin: 0 auto 20px; place-items: center; border-radius: 50%; background: #eaf7f1; color: var(--success); font-size: 22px; font-weight: 900; }
.auth-state-icon-warning { background: #fff5e5; color: var(--warning); }
.auth-state-icon-error { background: #fef0ef; color: var(--danger); }
.auth-card-state .auth-submit { margin-top: 8px; }

/* Shared B2B access shell for login and registration */
.auth-container-access { width: min(100% - 64px, 1040px); }
.auth-container-login, .auth-container-register { max-width: 1040px; }
.auth-card-access, .auth-card-access.auth-card-wide { display: grid; grid-template-columns: 280px minmax(0, 1fr); min-width: 0; padding: 0; overflow: hidden; border-color: #d9e0ea; border-radius: 20px; background: white; box-shadow: 0 18px 48px rgba(16, 24, 40, .09); }
.auth-card-access::before { display: none; }
.auth-card-access-wide { grid-template-columns: 280px minmax(0, 1fr); }
.auth-main { min-width: 0; padding: 40px 44px 34px; background: rgba(255,255,255,.99); }
.auth-card-access-wide .auth-main { padding: 40px 44px 34px; }
.auth-card-access .auth-card-head { min-height: 128px; padding: 0 0 25px; }
.auth-card-access .auth-card-head h1 { max-width: 680px; margin-bottom: 10px; font-size: clamp(30px, 3.2vw, 38px); }
.auth-card-access .auth-form { margin-top: 26px; }
.auth-container-login .auth-card-head, .auth-container-login .auth-form, .auth-container-login .auth-links, .auth-container-login .auth-switch { width: 100%; max-width: 520px; margin-right: auto; margin-left: auto; }
.auth-card-access .auth-submit, .auth-card-access.auth-card-wide .auth-submit { width: 100%; min-width: 0; min-height: 52px; }
.auth-card-access-wide .auth-consents { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.auth-card-access-wide .auth-check { min-height: 70px; }

.auth-aside { position: relative; isolation: isolate; display: flex; min-width: 0; flex-direction: column; padding: 34px 28px 28px; overflow: hidden; background: #101828; color: white; }
.auth-aside::before { content: ""; position: absolute; z-index: -2; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 78%); }
.auth-aside::after { display: none; }
.auth-aside-brand { display: flex; gap: 11px; align-items: center; font-size: 13px; font-weight: 800; letter-spacing: -.01em; }
.auth-aside-brand img { display: block; width: min(100%, 220px); height: auto; }
.auth-aside-content { margin-top: 44px; }
.auth-aside-eyebrow { margin: 0 0 12px; color: #9db6ff; font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.auth-aside-title { margin: 0 0 16px; color: white; font-family: Onest, ui-sans-serif, system-ui, sans-serif; font-size: clamp(25px, 2.4vw, 30px); font-weight: 700; line-height: 1.18; letter-spacing: -.035em; }
.auth-aside-copy { margin: 0; color: #c9d4e5; font-size: 14px; line-height: 1.65; }
.auth-aside-points { display: grid; gap: 0; margin: 28px 0 0; padding: 0; list-style: none; }
.auth-aside-points li { position: relative; padding: 13px 0 13px 25px; border-top: 1px solid rgba(255,255,255,.12); color: #e6edf7; font-size: 13px; font-weight: 650; line-height: 1.45; }
.auth-aside-points li::before { content: ""; position: absolute; top: 20px; left: 2px; width: 7px; height: 7px; border-radius: 50%; background: #78d5c7; box-shadow: 0 0 0 4px rgba(120,213,199,.12); }
.auth-aside-modules { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: auto 0 0; padding-top: 36px; color: #b8c5d8; font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.auth-aside-modules i { width: 3px; height: 3px; border-radius: 50%; background: #6f91ff; }

.auth-card-access .auth-field input, .auth-card-access .auth-field select, .auth-card-access .auth-field textarea { min-height: 52px; padding: 13px 14px; border-radius: var(--radius-control); }
.auth-card-access .auth-field.has-error input, .auth-card-access .auth-field.has-error select, .auth-card-access .auth-field.has-error textarea { box-shadow: 0 0 0 3px rgba(201,54,43,.08); }
.auth-card-access .auth-field-errors .errorlist { padding: 0; background: transparent; color: var(--danger); }
.auth-card-access .auth-field-errors .errorlist li { position: relative; padding-left: 13px; }
.auth-card-access .auth-field-errors .errorlist li::before { content: ""; position: absolute; top: .62em; left: 1px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.auth-card-access .auth-check { padding: 14px 15px; border-radius: 12px; background: #f8fafc; transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease; }
.auth-card-access .auth-check:hover { border-color: #aebbd0; background: #f6f8ff; }
.auth-card-access .auth-check:focus-within { border-color: rgba(36,87,245,.48); box-shadow: 0 0 0 3px rgba(36,87,245,.1); }
.auth-card-access .auth-check input[type="checkbox"] { width: 19px; height: 19px; }
.auth-card-access .auth-check label { padding-top: 1px; }
.auth-card-access .auth-links { align-items: start; }
.auth-card-access .auth-switch { margin-top: 22px; }

@media (max-width: 920px) {
    .auth-container-access { max-width: 760px; }
    .auth-card-access, .auth-card-access.auth-card-wide { grid-template-columns: 1fr; }
    .auth-aside { padding: 25px 30px 24px; }
    .auth-aside-content { margin-top: 25px; }
    .auth-aside-title { max-width: 620px; font-size: 24px; }
    .auth-aside-copy { max-width: 650px; }
    .auth-aside-points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
    .auth-aside-points li { padding: 12px 10px 12px 22px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; }
    .auth-aside-points li::before { top: 18px; left: 10px; width: 5px; height: 5px; box-shadow: none; }
    .auth-aside-modules { margin-top: 22px; padding-top: 0; }
}
.messages { padding-top: 18px; }
.message { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-control); background: white; }
.message-success { border-color: #b7dfce; background: var(--success-bg); color: var(--success); }
.message-error { border-color: #efc0ba; background: var(--danger-bg); color: var(--danger); }
.empty-state { max-width: 780px; padding: 48px; border: 1px dashed #98a2b3; border-radius: var(--radius); background: white; }
.cabinet-page-heading { display: flex; justify-content: space-between; gap: 42px; align-items: end; }
.cabinet-page-heading > div:first-child { max-width: 780px; }
.cabinet-page-heading .lead { margin-bottom: 0; }
.cabinet-page-heading > .button { flex: 0 0 auto; }
.account-empty-state { display: grid; min-height: 184px; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 34px; border: 1px solid #dfe4eb; border-radius: 20px; background: white; box-shadow: 0 12px 34px rgba(16,24,40,.045); }
.account-empty-icon { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 16px; background: var(--accent); color: var(--brand-dark); }
.account-empty-icon svg, .account-inline-state-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.account-empty-copy { min-width: 0; }
.account-empty-copy .eyebrow { margin-bottom: 7px; font-size: 10px; }
.account-empty-copy h2 { margin-bottom: 8px; font-size: clamp(25px, 3vw, 31px); }
.account-empty-copy p { max-width: 620px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.account-empty-actions { min-width: 190px; }
.account-empty-actions .button { width: 100%; }
.account-inline-state { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; margin: 18px 0 36px; padding: 19px 20px; border: 1px solid #dfe4eb; border-radius: 14px; background: white; }
.account-inline-state-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 12px; background: var(--accent); color: var(--brand-dark); }
.account-inline-state-success { border-color: #c9e5d9; background: #fbfffd; }
.account-inline-state-success .account-inline-state-icon { background: var(--success-bg); color: var(--success); }
.account-inline-state strong { display: block; margin-bottom: 3px; font-size: 15px; }
.account-inline-state p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

/* Cabinet records stay card-based at every viewport. Long client data wraps
   inside the record instead of widening the page or creating a table rail. */
.cabinet-list-section > .container, .cabinet-detail-page .section > .container { min-width: 0; }
.cabinet-record-list { display: grid; min-width: 0; gap: 14px; margin: 0; padding: 0; list-style: none; }
.cabinet-record-list > li { min-width: 0; }
.cabinet-record-card { display: grid; min-width: 0; grid-template-columns: 52px minmax(0, 1fr) auto 20px; gap: 14px 18px; align-items: center; padding: 22px 24px; overflow: hidden; border: 1px solid #dfe4eb; border-radius: 18px; background: white; box-shadow: 0 8px 26px rgba(16,24,40,.04); }
.cabinet-record-card:not(.cabinet-record-link) { grid-template-columns: 52px minmax(0, 1fr) auto; }
.cabinet-record-link { color: var(--ink); text-decoration: none; transition: transform 200ms var(--ease-standard), border-color 180ms ease, box-shadow 200ms var(--ease-standard); }
.cabinet-record-link:hover { transform: translateY(-2px); border-color: #bdcdff; box-shadow: 0 14px 34px rgba(16,24,40,.07); text-decoration: none; }
.cabinet-record-link:focus-visible { outline-offset: 4px; }
.cabinet-record-mark { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 14px; background: var(--accent); color: var(--brand-dark); font-size: 10px; font-weight: 900; letter-spacing: .04em; }
.cabinet-record-mark-order { background: var(--success-bg); color: var(--success); font-size: 12px; }
.cabinet-record-copy { display: grid; min-width: 0; gap: 3px; }
.cabinet-record-copy small, .cabinet-record-copy > span { color: var(--muted); font-size: 12px; line-height: 1.4; }
.cabinet-record-copy strong { font-size: 17px; line-height: 1.35; }
.cabinet-record-copy small, .cabinet-record-copy strong, .cabinet-record-copy > span, .cabinet-record-facts dd, .cabinet-detail-card strong, .cabinet-detail-card dd { min-width: 0; overflow-wrap: anywhere; word-break: normal; }
.cabinet-record-card > .status { max-width: 190px; justify-content: center; justify-self: end; text-align: center; white-space: normal; }
.cabinet-record-arrow { color: #98a2b3; font-size: 18px; font-style: normal; transition: transform 180ms var(--ease-standard), color 180ms ease; }
.cabinet-record-link:hover .cabinet-record-arrow { transform: translateX(3px); color: var(--brand); }
.cabinet-record-facts { display: grid; min-width: 0; grid-column: 2 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 2px 0 0; }
.cabinet-record-facts-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cabinet-record-facts > div { min-width: 0; padding: 10px 12px; border-radius: 10px; background: #f8fafc; }
.cabinet-record-facts dt, .cabinet-detail-facts dt { margin: 0 0 3px; color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .04em; line-height: 1.35; text-transform: uppercase; }
.cabinet-record-facts dd, .cabinet-detail-facts dd { margin: 0; color: var(--ink); font-size: 13px; font-weight: 650; line-height: 1.45; }
.cabinet-record-actions { display: flex; min-width: 0; grid-column: 2 / -1; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 2px; padding-top: 14px; border-top: 1px solid var(--line); }
.cabinet-record-actions form { margin: 0; }

.cabinet-detail-list { display: grid; min-width: 0; gap: 14px; margin: 20px 0 38px; padding: 0; list-style: none; }
.cabinet-detail-list-compact { margin-bottom: 30px; }
.cabinet-detail-card { min-width: 0; padding: 22px; overflow: hidden; border: 1px solid #dfe4eb; border-radius: 16px; background: white; box-shadow: 0 7px 22px rgba(16,24,40,.035); }
.cabinet-detail-card-compact { padding: 19px 20px; }
.cabinet-detail-head { display: flex; min-width: 0; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; align-items: flex-start; }
.cabinet-detail-head > div { display: grid; min-width: 0; gap: 3px; }
.cabinet-detail-head small { color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .04em; line-height: 1.35; text-transform: uppercase; }
.cabinet-detail-head strong { font-size: 15px; line-height: 1.45; }
.cabinet-detail-head > .status { max-width: 100%; justify-content: center; text-align: center; white-space: normal; }
.cabinet-detail-facts { display: grid; min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; }
.cabinet-detail-facts > div { min-width: 0; padding: 12px 13px; border-radius: 10px; background: #f8fafc; }
.cabinet-detail-copy { display: grid; min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.cabinet-detail-copy > div { min-width: 0; }
.cabinet-detail-copy small { display: block; margin-bottom: 5px; color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .04em; line-height: 1.35; text-transform: uppercase; }
.cabinet-detail-copy p { margin: 0; overflow-wrap: anywhere; color: #344054; font-size: 14px; line-height: 1.55; }
.price { color: var(--ink) !important; font-size: 25px; font-weight: 850; }
.container.narrow.faq-list { max-width: 880px; }
.faq-list details { padding: 0; border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq-list summary { display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 24px; align-items: center; padding: 22px 0; cursor: pointer; font-size: 19px; font-weight: 600; line-height: 1.4; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--brand); font-size: 21px; font-weight: 500; transition: transform 300ms var(--ease-standard), background-color 300ms ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--accent); }
.faq-list details::details-content { overflow: clip; block-size: 0; opacity: 0; transition: block-size 300ms var(--ease-standard), content-visibility 300ms allow-discrete, opacity 260ms ease; }
.faq-list details[open]::details-content { block-size: auto; opacity: 1; }
.faq-list details p { margin: 0 48px 22px 0; color: var(--muted); }

.is-authenticated main { background: var(--soft); }
.is-authenticated .page-head { padding: 56px 0 44px; background: white; }
.is-authenticated .page-head h1 { font-size: clamp(38px, 4.5vw, 48px); }
.is-authenticated .section { padding: 56px 0 72px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dashboard-grid > .card { min-height: 220px; }
.summary-strip { display: grid; grid-template-columns: repeat(5, 1fr); margin: 28px 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: white; }
.summary-strip div { padding: 22px; border-right: 1px solid var(--line); }
.summary-strip div:last-child { border-right: 0; }
.summary-strip strong, .summary-strip span { display: block; }
.summary-strip strong { font-family: Onest, ui-sans-serif, system-ui, sans-serif; font-size: 30px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.summary-strip span { margin-top: 5px; color: var(--muted); font-size: 13px; }
.list-table { display: block; width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; border-radius: 14px; background: white; white-space: nowrap; -webkit-overflow-scrolling: touch; }
.list-table th { position: sticky; top: 78px; z-index: 2; }
.list-table td:first-child, .list-table th:first-child { padding-left: 20px; }
.list-table td:last-child, .list-table th:last-child { padding-right: 20px; }
.file-list, .message-list { padding: 0; list-style: none; }
.file-list, .message-list { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: white; }
.file-list li, .message-list li { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.file-list li:last-child, .message-list li:last-child { border-bottom: 0; }
.order-code { display: inline-block; padding: 12px 16px; border: 1px dashed var(--brand); border-radius: 10px; background: var(--accent); font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 20px; font-weight: 700; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.is-authenticated .result-grid { align-items: stretch; gap: 24px; }
.is-authenticated .result-grid > div:not(.form-card) { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.is-authenticated .result-grid h2 { font-size: clamp(26px, 3vw, 32px); }

/* Personal cabinet overview */
.dashboard-page main { overflow: clip; background: #f4f6f9; }
.dashboard-hero { position: relative; overflow: hidden; padding: 58px 0 62px; background: #101828; color: white; }
.dashboard-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.95), transparent 92%); pointer-events: none; }
.dashboard-hero::after { content: ""; position: absolute; top: -330px; right: -190px; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(36,87,245,.36), rgba(36,87,245,0) 68%); pointer-events: none; }
.dashboard-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(430px, .8fr); gap: clamp(52px, 7vw, 96px); align-items: center; }
.dashboard-hero-copy { max-width: 690px; }
.dashboard-hero-eyebrow { display: flex; gap: 10px; align-items: center; margin: 0 0 16px; color: #9db6ff; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.dashboard-hero-eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: #78d5c7; box-shadow: 0 0 0 5px rgba(120,213,199,.12); }
.dashboard-hero h1 { margin-bottom: 16px; color: white; font-size: clamp(42px, 5vw, 58px); }
.dashboard-hero-lead { max-width: 650px; margin-bottom: 24px; color: #c9d4e5; font-size: 18px; line-height: 1.58; }
.dashboard-organization { display: flex; max-width: 660px; gap: 12px; align-items: center; margin: 0; color: #e6edf7; }
.dashboard-organization-mark { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: rgba(255,255,255,.08); color: white; font-size: 12px; font-weight: 700; }
.dashboard-organization-copy { display: grid; min-width: 0; flex: 1; gap: 1px; }
.dashboard-organization-copy small { color: #9eabc0; font-size: 10px; font-weight: 700; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase; }
.dashboard-organization-copy strong { overflow-wrap: anywhere; font-size: 14px; line-height: 1.45; }
.dashboard-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 30px; }
.dashboard-hero-actions .button { min-height: 50px; }
.dashboard-hero-link { display: inline-flex; min-height: 50px; gap: 12px; align-items: center; padding: 0 8px; color: white; font-size: 14px; font-weight: 700; }
.dashboard-hero-link:hover { color: #c7d4ff; text-decoration: none; }
.dashboard-hero-link span { color: #78d5c7; font-size: 19px; }

.dashboard-summary { overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; background: rgba(255,255,255,.97); color: var(--ink); box-shadow: 0 28px 70px rgba(0,0,0,.2); backdrop-filter: blur(12px); }
.dashboard-summary-head { display: flex; min-height: 62px; justify-content: space-between; gap: 18px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #f8fafc; font-size: 13px; font-weight: 800; }
.dashboard-sync { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 11px; font-weight: 700; }
.dashboard-sync i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(27,127,90,.1); }
.dashboard-summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.dashboard-summary-grid-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dashboard-summary-grid > a { display: grid; min-width: 0; min-height: 126px; align-content: start; padding: 20px; background: white; color: var(--ink); text-decoration: none; transition: background-color 180ms ease, box-shadow 180ms ease; }
.dashboard-summary-grid > a:hover { background: #f7f9ff; box-shadow: inset 3px 0 0 var(--brand); }
.dashboard-summary-grid > a:last-child:nth-child(3) { grid-column: 1 / -1; min-height: 112px; }
.dashboard-summary-grid-compact > a:last-child:nth-child(3) { grid-column: auto; min-height: 126px; }
.dashboard-summary-grid span, .dashboard-summary-grid small { color: var(--muted); font-size: 12px; }
.dashboard-summary-grid strong { margin: 8px 0 4px; font-size: 34px; line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }

.dashboard-workspace { padding: 68px 0 84px; }
.dashboard-section-heading { display: flex; justify-content: space-between; gap: 48px; align-items: end; margin-bottom: 30px; }
.dashboard-section-heading .eyebrow { margin-bottom: 10px; }
.dashboard-section-heading h2 { margin: 0; font-size: clamp(34px, 4vw, 42px); }
.dashboard-section-heading > p { max-width: 420px; margin: 0 0 4px; color: var(--muted); font-size: 16px; }

.dashboard-action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 22px; }
.dashboard-action-card { position: relative; display: flex; min-width: 0; min-height: 226px; flex-direction: column; padding: 28px; overflow: hidden; border: 1px solid #dfe4eb; border-radius: 20px; background: white; color: var(--ink); text-decoration: none; transition: transform 210ms var(--ease-standard), border-color 210ms ease, box-shadow 210ms ease; }
.dashboard-action-card:hover { transform: translateY(-3px); border-color: #bdcdff; box-shadow: 0 18px 42px rgba(16,24,40,.075); text-decoration: none; }
.dashboard-action-icon { position: relative; z-index: 1; display: grid; width: 48px; height: 48px; margin-bottom: 25px; place-items: center; border-radius: 14px; background: var(--accent); color: var(--brand-dark); }
.dashboard-action-icon-orders { background: var(--success-bg); color: var(--success); }
.dashboard-action-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dashboard-action-card > strong { position: relative; z-index: 1; font-size: 26px; line-height: 1.18; letter-spacing: -.03em; }
.dashboard-action-card > p { position: relative; z-index: 1; margin: 12px 0 24px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.dashboard-action-link { position: relative; z-index: 1; display: flex; gap: 10px; align-items: center; margin-top: auto; color: var(--brand-dark); font-size: 14px; font-weight: 750; }
.dashboard-action-link i { color: var(--brand); font-size: 18px; font-style: normal; transition: transform 180ms var(--ease-standard); }
.dashboard-action-card:hover .dashboard-action-link i { transform: translateX(4px); }

.dashboard-activity-grid { display: grid; min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.dashboard-panel { min-width: 0; overflow: hidden; border: 1px solid #dfe4eb; border-radius: 20px; background: white; box-shadow: 0 12px 34px rgba(16,24,40,.045); }
.dashboard-panel-head { display: flex; min-height: 98px; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); background: #fbfcfd; }
.dashboard-panel-head .eyebrow { margin: 0 0 6px; font-size: 10px; }
.dashboard-panel-head h2 { margin: 0; font-size: 25px; line-height: 1.2; }
.dashboard-panel-head > a { display: inline-flex; flex: 0 0 auto; gap: 9px; align-items: center; color: var(--brand-dark); font-size: 13px; font-weight: 750; }
.dashboard-panel-head > a:hover { text-decoration: none; }
.dashboard-panel-head > a span { font-size: 17px; }
.dashboard-record-list { display: grid; }
.dashboard-record { display: grid; min-width: 0; grid-template-columns: 44px minmax(0, 1fr) auto 20px; gap: 15px; align-items: center; padding: 17px 20px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: background-color 180ms ease; }
.dashboard-record:last-child { border-bottom: 0; }
.dashboard-record:hover { background: #f7f9ff; text-decoration: none; }
.dashboard-record-mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 11px; background: var(--accent); color: var(--brand-dark); font-size: 9px; font-weight: 900; letter-spacing: .03em; }
.dashboard-record-mark-order { background: #eaf7f1; color: var(--success); font-size: 11px; }
.dashboard-record-copy { display: grid; min-width: 0; gap: 3px; }
.dashboard-record-copy small, .dashboard-record-copy > span { overflow-wrap: anywhere; color: var(--muted); font-size: 11px; line-height: 1.4; }
.dashboard-record-copy strong { overflow-wrap: anywhere; font-size: 14px; line-height: 1.35; }
.dashboard-record > .status { max-width: 170px; justify-content: center; text-align: center; }
.dashboard-record-arrow { color: #98a2b3; font-size: 17px; font-style: normal; transition: transform 180ms var(--ease-standard), color 180ms ease; }
.dashboard-record:hover .dashboard-record-arrow { transform: translateX(3px); color: var(--brand); }

.dashboard-empty-state { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 28px 24px; }
.dashboard-empty-state > span { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 13px; background: var(--accent); color: var(--brand-dark); }
.dashboard-empty-state > span svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dashboard-empty-state > div { min-width: 0; }
.dashboard-empty-state strong { display: block; margin-bottom: 5px; font-size: 15px; }
.dashboard-empty-state p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

.dashboard-panel-head-compact { min-height: 90px; }
.dashboard-balance-total { display: grid; min-width: 56px; height: 56px; place-items: center; padding: 0 10px; border-radius: 14px; background: var(--accent); color: var(--brand-dark); font-size: 23px; font-variant-numeric: tabular-nums; }
.dashboard-balance-list { display: grid; }
.dashboard-balance-item { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.dashboard-balance-item > strong { display: block; margin-bottom: 14px; overflow-wrap: anywhere; font-size: 13px; line-height: 1.4; }
.dashboard-balance-item > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.dashboard-balance-item span { display: grid; min-width: 0; padding: 10px 8px; border-radius: 10px; background: #f8fafc; }
.dashboard-balance-item small { overflow-wrap: anywhere; color: var(--muted); font-size: 9px; line-height: 1.25; }
.dashboard-balance-item b { margin-top: 5px; font-size: 17px; line-height: 1; font-variant-numeric: tabular-nums; }
.dashboard-balance-empty { padding: 24px 20px; }
.dashboard-balance-empty strong { display: block; margin-bottom: 6px; }
.dashboard-balance-empty p { margin: 0; color: var(--muted); font-size: 13px; }
.dashboard-balance-panel-wide { margin-top: 22px; }
.dashboard-balance-panel-wide .dashboard-balance-list { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); border-bottom: 1px solid var(--line); }
.dashboard-balance-panel-wide .dashboard-balance-item { border-right: 1px solid var(--line); border-bottom: 0; }
.dashboard-finance-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.dashboard-finance-links > a { display: grid; min-width: 0; min-height: 82px; grid-template-columns: 42px minmax(0, 1fr) 20px; gap: 14px; align-items: center; padding: 16px 20px; background: #fbfcfd; color: var(--ink); text-decoration: none; transition: background-color 180ms ease; }
.dashboard-finance-links > a:hover { background: var(--accent); text-decoration: none; }
.dashboard-finance-links > a.is-attention { background: #fffaf0; }
.dashboard-finance-links > a.is-attention:hover { background: #fff4dc; }
.dashboard-finance-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: white; color: var(--brand-dark); box-shadow: inset 0 0 0 1px #dce4f8; }
.dashboard-finance-links .is-attention .dashboard-finance-icon { color: var(--warning); box-shadow: inset 0 0 0 1px #eed8ae; }
.dashboard-finance-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dashboard-finance-links > a > span:nth-child(2) { display: grid; min-width: 0; gap: 3px; }
.dashboard-finance-links strong { overflow-wrap: anywhere; font-size: 14px; line-height: 1.4; }
.dashboard-finance-links small { overflow-wrap: anywhere; color: var(--muted); font-size: 11px; line-height: 1.4; }
.dashboard-finance-links i { color: var(--brand); font-size: 18px; font-style: normal; }

@media (max-width: 1120px) {
    .dashboard-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(390px, .82fr); gap: 44px; }
}

@media (max-width: 960px) {
    .dashboard-hero-grid, .dashboard-activity-grid { grid-template-columns: 1fr; }
    .dashboard-summary { max-width: 760px; }
    .dashboard-section-heading { display: block; }
    .dashboard-section-heading > p { max-width: 620px; margin-top: 12px; }
}

@media (max-width: 720px) {
    .dashboard-hero { padding: 40px 0 44px; }
    .dashboard-hero-grid { gap: 34px; }
    .dashboard-hero h1 { font-size: clamp(38px, 11vw, 46px); }
    .dashboard-hero-lead { font-size: 16px; }
    .dashboard-hero-actions { display: grid; }
    .dashboard-hero-actions .button, .dashboard-hero-link { width: 100%; }
    .dashboard-hero-link { justify-content: center; }
    .dashboard-workspace { padding: 44px 0 56px; }
    .dashboard-section-heading { display: block; margin-bottom: 24px; }
    .dashboard-section-heading > p { margin-top: 12px; }
    .dashboard-action-grid { grid-template-columns: 1fr; }
    .dashboard-action-card { min-height: 0; padding: 24px; }
    .dashboard-action-icon { margin-bottom: 22px; }
    .dashboard-panel-head { min-height: 0; align-items: end; padding: 20px; }
    .dashboard-panel-head h2 { font-size: 23px; }
    .dashboard-panel-head > a { font-size: 12px; }
    .dashboard-record { grid-template-columns: 42px minmax(0, 1fr) 18px; gap: 13px; padding: 16px; }
    .dashboard-record > .status { grid-column: 2; justify-self: start; margin-top: 5px; }
    .dashboard-record-arrow { grid-column: 3; grid-row: 1 / 3; }
    .dashboard-finance-links { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .dashboard-summary-grid > a { min-height: 112px; padding: 16px; }
    .dashboard-summary-grid strong { font-size: 30px; }
    .dashboard-summary-grid-compact > a { min-height: 106px; padding: 14px 10px; }
    .dashboard-summary-grid-compact > a:last-child:nth-child(3) { min-height: 106px; }
    .dashboard-summary-grid-compact span, .dashboard-summary-grid-compact small { font-size: 10px; }
    .dashboard-summary-grid-compact strong { font-size: 28px; }
    .dashboard-summary-head { min-height: 56px; padding: 12px 15px; }
    .dashboard-sync { font-size: 10px; }
    .dashboard-organization { align-items: flex-start; }
    .dashboard-section-heading h2 { font-size: 32px; }
    .dashboard-action-card > strong { font-size: 24px; }
    .dashboard-panel-head { align-items: flex-start; }
    .dashboard-panel-head > a { padding-top: 4px; }
    .dashboard-record > .status { max-width: 100%; }
    .dashboard-empty-state { grid-template-columns: 46px minmax(0, 1fr); padding: 22px 18px; }
    .dashboard-empty-state .button { grid-column: 1 / -1; width: 100%; }
    .dashboard-balance-item > div { grid-template-columns: 1fr; }
    .dashboard-balance-item span { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
    .dashboard-balance-item b { margin-top: 0; }
    .dashboard-finance-links > a { padding: 15px 16px; }
}

.site-footer { padding: 56px 0; border-top: 1px solid var(--line); background: var(--soft); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.footer-brand p { max-width: 520px; margin-top: 18px; color: var(--muted); }
.footer-brand .footer-disclaimer { max-width: 620px; margin-top: 12px; font-size: 13px; line-height: 1.55; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; align-content: start; }
.footer-links a { font-size: 14px; font-weight: 650; }

/* Search landing pages and knowledge base */
.breadcrumbs { border-bottom: 1px solid var(--line); background: white; }
.breadcrumbs .container { display: flex; min-height: 46px; align-items: center; gap: 9px; overflow-x: auto; color: var(--muted); font-size: 13px; white-space: nowrap; }
.breadcrumbs a { color: var(--muted); }
.service-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 70px; align-items: center; }
.service-summary { padding: 30px; border: 1px solid #d7e1ff; border-radius: 20px; background: white; box-shadow: var(--shadow); }
.service-summary > strong { display: block; margin: 18px 0 8px; font-size: 21px; line-height: 1.3; }
.service-summary p { color: var(--muted); }
.landing-section-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.landing-section-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.landing-section-card .number { display: block; margin-bottom: 18px; color: var(--brand); font-size: 13px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.landing-section-card h2 { font-size: clamp(26px, 3vw, 34px); }
.landing-section-card p { color: var(--muted); }
.check-list { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; color: #344054; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 900; }
.two-column-prose { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; }
.two-column-prose article { max-width: 580px; }
.related-links-section { border-top: 1px solid var(--line); }
.related-link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.related-link-grid-four, .related-link-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.related-link-card { display: flex; min-height: 150px; flex-direction: column; justify-content: space-between; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: white; color: var(--ink); transition: transform 200ms var(--ease-standard), border-color 200ms ease, box-shadow 200ms ease; }
.related-link-card:hover { transform: translateY(-3px); border-color: #c7d4ff; box-shadow: var(--shadow); text-decoration: none; }
.related-link-card strong { font-size: 20px; }
.related-link-card span { color: var(--muted); }
.content-page .page-head { padding: 68px 0 54px; }
.content-page .content-section,
.content-page main > .section { padding: 64px 0 72px; }
.content-page .section-heading { margin-bottom: 28px; }
.content-page .section-heading + .card-grid,
.content-page .section-heading + .service-choice-grid,
.content-page .section-heading + .article-grid { margin-top: 0; }
.content-page main > .related-links-section { padding-top: 48px; padding-bottom: 56px; }
.service-content-block + .service-content-block { margin-top: 32px; }
.service-content-block h2,
.requirements-content-block h2 { margin-top: 0; }
.service-content-block > :last-child,
.requirements-content-block > :last-child,
.requirements-intro > :last-child { margin-bottom: 0; }
.requirements-intro { margin-bottom: 38px; }
.requirements-content-block + .requirements-content-block { margin-top: 40px; }
.requirements-content-block .callout { margin: 24px 0 0; }
.requirements-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: stretch; margin-top: 34px; }
.requirements-actions .button { width: 100%; }
.service-choice-grid, .article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 0; }
.service-choice-card, .article-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.service-choice-card-primary { border-color: #bdcdff; background: linear-gradient(145deg, white, #f7f9ff); }
.service-choice-card h2, .article-card h2 { margin-top: 20px; font-size: clamp(25px, 3vw, 34px); }
.service-choice-card p, .article-card p { color: var(--muted); }
.direction-secondary-link { display: block; margin-top: 10px; color: var(--muted) !important; font-size: 13px; }
.article-detail-page .article-head { padding-bottom: 52px; }
.article-cover { margin: 0 0 36px; }
.article-cover img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 22px; background: var(--soft); }
.article-cover figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.article-prose > section + section { margin-top: 36px; }
.article-table-wrap { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; }
.article-table-wrap > table th, .article-table-wrap > table td { min-width: 0; overflow-wrap: anywhere; word-break: normal; }
.article-table-wrap > table {
    display: table;
    width: 100%;
    min-width: 640px;
    margin: 24px 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white;
    table-layout: auto;
}
.article-table-wrap > table th,
.article-table-wrap > table td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
}
.article-table-wrap > table th { position: static; top: auto; }
.article-table-caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); margin: -1px; padding: 0; border: 0; white-space: nowrap; }
.article-cta { margin-top: 48px; padding: 32px; border-radius: 22px; background: var(--soft); }
.article-cta h2 { margin-top: 0; }
.article-cta .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.article-cta .actions .button { width: 100%; }
.article-cta .actions > .button:first-child:nth-last-child(3) { grid-column: 1 / -1; }
.article-cta .actions > .button:last-child:nth-child(odd) { grid-column: 1 / -1; }
.article-section-links { display: flex; flex-wrap: wrap; gap: 9px 18px; margin: 18px 0 0; padding: 0; list-style: none; }
.article-section-links a { font-weight: 600; text-underline-offset: 3px; }
.article-related { margin-top: 34px; padding-top: 34px; border-top: 1px solid var(--line); }
.article-related h2 { margin-top: 0; }

@media (max-width: 900px) {
    .service-hero-grid, .landing-section-grid, .two-column-prose, .service-choice-grid, .article-grid { grid-template-columns: 1fr; }
    .service-hero-grid, .two-column-prose { gap: 34px; }
    .related-link-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .nav-wrap { gap: 18px; }
    .main-nav, .account-nav { gap: 14px; }
    .main-nav a, .account-nav a { font-size: 13px; }
    .hero-grid, .impact-grid, .result-grid, .footer-grid { grid-template-columns: 1fr; }
    .card-grid.four, .card-grid.three, .card-grid.two, .steps, .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
    .home-steps, .value-grid, .result-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .value-grid { gap: 48px; }
    .value-list { grid-template-columns: 1fr; }
    .summary-strip { grid-template-columns: repeat(2, 1fr); }
    .contact-page-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .main-nav { display: none; }
}
@media (max-width: 620px) {
    .container { width: min(100% - 24px, 1180px); }
    .account-nav > a:first-child { display: none; }
    .auth-page .account-nav > a.auth-context-action { display: inline-flex; }
    .account-nav form { display: none; }
    .nav-wrap { gap: 14px; }
    .brand > span:last-child { display: none; }
    h1 { font-size: 38px; }
    .hero { padding-top: 58px; }
    .home-hero { padding: 64px 0 58px; }
    .section { padding: 60px 0; }
    .card-grid.four, .card-grid.three, .card-grid.two, .steps, .dashboard-grid { grid-template-columns: 1fr; }
    .home-steps, .value-grid, .value-list, .result-layout, .deliverables-list, .package-flow { grid-template-columns: 1fr; }
    .hero-proof { display: grid; gap: 8px; }
    .hero-proof li:not(:last-child)::after { display: none; }
    .value-section, .home-cta { padding: 60px 0; }
    .value-grid { gap: 34px; }
    .package-flow li:not(:last-child) { border-right: 0; border-bottom: 1px solid var(--line); }
    .package-flow li:not(:last-child)::after { content: "↓"; top: auto; right: auto; bottom: -15px; left: 28px; transform: none; }
    .home-cta-box { padding: 32px 24px; }
    .home-cta-box .actions .button { width: 100%; }
    .cta-box { display: block; }
    .cta-box .button { margin-top: 16px; }
    .footer-links { grid-template-columns: 1fr; }
    .summary-strip { grid-template-columns: 1fr; }
}

/* Product-led B2B homepage */
.home-page { background: var(--soft); }
.home-page main { overflow: hidden; background: var(--paper); font-size: 17px; }
.home-page .container { width: min(1280px, calc(100% - 96px)); }
.home-page .section { padding: 84px 0; }
.home-page h2 { font-size: clamp(38px, 4vw, 48px); }
.home-page h3 { font-size: clamp(22px, 2.2vw, 26px); }
.section-heading { max-width: 720px; margin-bottom: 36px; }
.section-heading > p:last-child:not(.eyebrow) { margin-bottom: 0; color: var(--muted); font-size: 18px; }
.home-page .eyebrow { margin-bottom: 14px; font-size: 13px; letter-spacing: .13em; }

.product-hero { position: relative; padding: 48px 0 28px; overflow: hidden; background: var(--soft); }
.product-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(36,87,245,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(36,87,245,.045) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 82%); pointer-events: none; }
.product-hero::after { content: ""; position: absolute; top: -240px; right: -180px; width: 680px; height: 680px; border-radius: 50%; background: radial-gradient(circle, rgba(36,87,245,.12), rgba(36,87,245,0) 68%); pointer-events: none; }
.product-hero > .container { position: relative; z-index: 1; }
.product-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.hero-copy { display: flex; max-width: 720px; min-width: 0; flex-direction: column; }
.product-hero h1 { max-width: 720px; font-size: clamp(48px, 4.65vw, 64px); }
.product-hero .lead { max-width: 700px; margin-bottom: 0; color: var(--muted); font-size: 18px; }
.product-hero .actions { display: grid; width: min(100%, 640px); grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; }
.product-hero .actions .button { width: 100%; min-height: 52px; }
.hero-copy > .eyebrow { animation: hero-copy-enter 680ms var(--ease-standard) both; }
.hero-copy > h1 { animation: hero-copy-enter 680ms 70ms var(--ease-standard) both; }
.hero-copy > .lead { animation: hero-copy-enter 680ms 140ms var(--ease-standard) both; }
.hero-copy > .actions { animation: hero-copy-enter 680ms 210ms var(--ease-standard) both; }
.hero-copy > .hero-proof { animation: hero-copy-enter 680ms 240ms var(--ease-standard) both; }
.product-hero .hero-proof { margin: 28px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 750; list-style: none; }
.product-hero .hero-proof li { display: flex; align-items: center; }
.product-hero .hero-proof li:not(:last-child)::after { display: none; }
.product-hero .hero-proof sup { margin-left: 2px; }
.product-hero .hero-proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.product-hero .hero-proof-grid li { position: relative; min-width: 0; min-height: 56px; gap: 11px; align-items: center; padding: 4px 18px; border: 0; border-radius: 0; background: transparent; line-height: 1.35; }
.product-hero .hero-proof-grid li:first-child { padding-left: 0; }
.product-hero .hero-proof-grid li + li { border-left: 1px solid #dce3ed; }
.product-hero .hero-proof-grid li::before { content: ""; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px rgba(36,87,245,.08); }

.result-preview { position: relative; display: flex; min-height: 390px; height: 100%; flex-direction: column; padding: 30px; border: 1px solid rgba(36,87,245,.18); border-radius: 20px; background: rgba(255,255,255,.97); box-shadow: var(--shadow-raised); animation: interface-enter 820ms 120ms var(--ease-standard) both; }
.result-preview-label { display: inline-flex; width: fit-content; max-width: 100%; min-height: 26px; align-items: center; align-self: flex-start; margin: 0 0 16px; padding: 4px 10px; border: 1px solid #ccd7ff; border-radius: 999px; background: var(--accent); color: var(--brand-dark); font-size: 11px; font-weight: 750; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase; }
.preview-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.preview-head > div { display: grid; gap: 4px; }
.preview-head > .status { min-width: 104px; justify-content: center; transition: color 300ms var(--ease-standard), background-color 300ms var(--ease-standard); }
.preview-kicker { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.preview-head strong { font-size: 17px; }
.preview-status-row { display: flex; gap: 14px; align-items: center; padding: 22px 0; animation: interface-item 650ms 160ms var(--ease-standard) both; }
.preview-status-row div { display: grid; gap: 2px; }
.preview-status-row small { color: var(--muted); font-size: 12px; }
.status-icon { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border-radius: 10px; font-weight: 900; }
.status-icon-success { background: #eaf7f1; color: var(--success); }
.preview-package { margin-top: 20px; animation: interface-item 650ms 230ms var(--ease-standard) both; }
.preview-package-head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 9px; font-size: 13px; }
.preview-package-head span { color: var(--muted); }
.preview-package-count { width: 13ch; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.progress-track { height: 8px; overflow: hidden; border-radius: 999px; background: #e9edf3; }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.preview-progress-track span { width: 100%; transform: scaleX(.85); transform-origin: left center; will-change: transform; }
.preview-package.is-complete .preview-progress-track span { will-change: auto; }
.preview-outcomes { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 18px 0; }
.preview-outcomes > div { display: grid; min-width: 0; gap: 2px; padding: 10px 12px; border: 1px solid #e1e6ef; border-radius: 11px; background: #fafbfc; }
.preview-outcomes-wide { grid-column: 1 / -1; }
.preview-outcomes span { color: var(--muted); font-size: 10px; font-weight: 650; line-height: 1.3; }
.preview-outcomes strong { min-width: 0; font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; }
.preview-outcomes-success { color: var(--success); }
.result-preview.is-upload-animation-ready:not(.is-outcomes-playing):not(.is-outcomes-complete) .preview-outcomes::before { content: "Итоги появятся после завершения подгрузки"; position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; padding: 16px; border: 1px dashed #d5deeb; border-radius: 11px; background: #f8faff; color: #718096; font-size: 11px; font-weight: 650; line-height: 1.4; text-align: center; }
.result-preview.is-upload-animation-ready:not(.is-outcomes-complete) [data-upload-outcome]:not(.is-revealed) { visibility: hidden; clip-path: inset(0 100% 0 0 round 11px); transform: translateY(6px); }
[data-upload-outcome].is-revealed { visibility: visible; animation: preview-outcome-reveal 420ms cubic-bezier(.16,1,.3,1) both; }
.preview-order { display: flex; min-height: 84px; justify-content: space-between; gap: 18px; align-items: center; margin-top: auto; padding: 16px 18px; border: 1px solid transparent; border-radius: 14px; background: var(--accent); transition: border-color 320ms var(--ease-standard), background-color 320ms var(--ease-standard), box-shadow 320ms var(--ease-standard); animation: interface-item 650ms 300ms var(--ease-standard) both; }
.preview-order.is-visible { border-color: #c8e7d9; background: #edf8f3; box-shadow: inset 3px 0 0 var(--success); }
.preview-order div { display: grid; gap: 3px; }
.preview-order span:first-child { color: var(--muted); font-size: 12px; }
.preview-order strong { display: flex; min-height: 2.7em; align-items: center; font-size: 14px; line-height: 1.35; }
.order-check { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border: 2px solid rgba(36,87,245,.2); border-top-color: var(--brand); border-radius: 50%; color: white !important; }
.result-preview.is-upload-running .order-check { animation: order-spinner 1.25s linear infinite; }
.preview-order.is-visible .order-check { border-color: var(--success); background: var(--success); animation: none; }
.preview-order.is-visible .order-check::after { content: "✓"; font-size: 15px; font-weight: 900; line-height: 1; }

.directions-section { background: var(--paper); }
.directions-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: white; }
.direction-item { position: relative; display: flex; min-width: 0; flex-direction: column; padding: 28px; transition: background-color 210ms ease, transform 210ms var(--ease-standard); }
.direction-item::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 3px; transform: scaleX(0); transform-origin: left center; background: var(--brand); transition: transform 210ms var(--ease-standard); }
.direction-item:not(:last-child) { border-right: 1px solid var(--line); }
.direction-item:hover { background: #f9faff; }
.direction-item:hover::before { transform: scaleX(1); }
.direction-kind { display: block; min-height: 19px; margin-bottom: 16px; color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: .07em; line-height: 1.35; text-transform: uppercase; }
.direction-item-linked { background: linear-gradient(180deg, #fbfcff 0%, #fff 44%); }
.direction-item-linked .direction-kind { color: var(--brand-dark); }
.direction-abbr { display: flex; min-height: 68px; align-items: flex-start; margin-bottom: 14px; color: var(--brand); font-family: Onest, ui-sans-serif, system-ui, sans-serif; font-size: clamp(30px, 3vw, 38px); font-weight: 600; line-height: 1.08; letter-spacing: -.035em; }
.direction-abbr-long { font-size: clamp(25px, 2.35vw, 32px); }
.direction-item h3 { margin-bottom: 14px; font-weight: 500; }
.direction-item p { min-height: 136px; color: var(--muted); font-size: 15px; }
.direction-result { display: block; min-height: 72px; margin: auto 0 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.45; }
.direction-item a { font-size: 14px; font-weight: 800; }
.direction-item a span { display: inline-block; margin-left: 4px; transition: transform 180ms ease; }
.direction-item a:hover span { transform: translateX(4px); }
.directions-note { margin: 14px 0 0; padding: 14px 18px; border-left: 3px solid var(--brand); background: var(--accent); color: var(--muted); font-size: 14px; line-height: 1.5; }
.directions-note strong { color: var(--ink); }

.speed-proof-section { position: relative; overflow: hidden; isolation: isolate; background: #071226; color: white; }
.speed-proof-section.section { padding: 64px 0; }
.speed-proof-section::before { content: ""; position: absolute; z-index: -2; inset: -35% -12%; background: radial-gradient(circle at 15% 42%, rgba(36,87,245,.42), transparent 34%), radial-gradient(circle at 88% 18%, rgba(79,206,193,.18), transparent 28%); pointer-events: none; }
.speed-proof-section::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent); pointer-events: none; }
.speed-advantage-panel { position: relative; display: grid; overflow: hidden; grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); gap: 40px clamp(38px, 5vw, 64px); align-items: center; padding: clamp(34px, 4vw, 48px); border: 1px solid rgba(171,190,255,.22); border-radius: 26px; background: linear-gradient(145deg, rgba(23,43,84,.84), rgba(8,22,48,.9)); box-shadow: 0 28px 80px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.08); }
.speed-advantage-panel::before { content: ""; position: absolute; top: -120px; right: -90px; width: 320px; height: 320px; border-radius: 50%; background: rgba(36,87,245,.22); filter: blur(1px); pointer-events: none; }
.speed-advantage-copy, .speed-advantage-visual { position: relative; z-index: 1; min-width: 0; }
.speed-advantage-copy .eyebrow { color: #8ea8ff; }
.speed-advantage-copy h2 { max-width: 560px; margin-bottom: 18px; color: white; font-size: clamp(29px, 2.8vw, 40px); line-height: 1.14; text-wrap: balance; overflow-wrap: normal; word-break: normal; }
.speed-advantage-factor { display: grid; justify-items: start; gap: 0; margin: 0 0 14px; transform-origin: left center; }
.speed-advantage-factor strong { display: inline-flex; max-width: 100%; align-items: baseline; padding: .03em .08em .08em 0; color: #f7f9ff; font-family: Onest, ui-sans-serif, system-ui, sans-serif; font-size: clamp(104px, 10.5vw, 148px); font-weight: 700; line-height: .86; letter-spacing: 0; font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1, "tnum" 1; }
.speed-factor-sign { margin-right: .025em; transform: translate(.02em, -.16em); color: #7297ff; font-size: .66em; font-weight: 600; line-height: 1; }
.speed-factor-number { position: relative; display: inline-flex; align-items: baseline; letter-spacing: 0; }
.speed-factor-digit { display: inline-block; }
.speed-factor-digit-five { margin-left: -.055em; transform: translateY(.014em); }
.speed-advantage-factor > span { max-width: 440px; margin: 7px 0 0 2px; color: #dce5ff; font-size: clamp(16px, 1.45vw, 20px); font-weight: 600; line-height: 1.35; }
.speed-advantage-summary { max-width: 460px; margin: 0; color: #bfcce0; font-size: 16px; line-height: 1.55; }
.speed-advantage-visual { display: grid; gap: 24px; padding: 4px 0; }
.speed-lane { --speed-marker-width: 44px; display: grid; gap: 13px; }
.speed-lane-automated { --speed-marker-width: 38px; }
.speed-lane-heading { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: end; color: #d7e0ef; font-size: 15px; line-height: 1.35; }
.speed-lane-heading span { min-width: 0; }
.speed-lane-heading strong { flex: 0 0 auto; color: white; font-family: Onest, ui-sans-serif, system-ui, sans-serif; font-size: 18px; font-weight: 700; letter-spacing: -.025em; white-space: nowrap; }
.speed-lane-track { position: relative; height: 22px; overflow: hidden; }
.speed-lane-track::before { content: ""; position: absolute; top: 10px; right: 0; left: 0; height: 2px; border-radius: 999px; background: rgba(196,211,238,.18); }
.speed-lane-pulse { position: absolute; z-index: 1; inset: 0; display: block; min-width: 0; transform: translateX(-100%); will-change: transform; }
.speed-lane-pulse::before { content: ""; position: absolute; top: 10px; right: calc(var(--speed-marker-width) - 1px); left: 0; height: 2px; border-radius: 999px; background: linear-gradient(90deg, rgba(151,172,221,.45), rgba(151,172,221,.85)); }
.speed-lane-automated .speed-lane-pulse::before { background: linear-gradient(90deg, #577ff8, #64dccb); box-shadow: 0 0 18px rgba(86,152,255,.72); }
.speed-lane-pulse i { position: absolute; z-index: 2; top: 3px; right: 0; display: block; width: var(--speed-marker-width); height: 16px; overflow: hidden; border: 1px solid rgba(231,238,255,.74); border-radius: 6px; background: linear-gradient(135deg, rgba(226,234,255,.98), rgba(126,158,250,.82)); box-shadow: 0 0 17px rgba(141,174,255,.55); }
.speed-lane-pulse i::before { content: ""; position: absolute; inset: 3px 5px; border-radius: 3px; background: linear-gradient(90deg, rgba(9,27,59,.22), rgba(9,27,59,.06)); }
.speed-lane-pulse i::after { content: ""; position: absolute; top: 7px; right: 8px; left: 8px; height: 1px; border-radius: 999px; background: rgba(8,22,48,.58); }
.speed-lane-automated .speed-lane-pulse i { top: 5px; height: 12px; border-color: rgba(149,239,225,.9); border-radius: 5px; background: linear-gradient(135deg, #a4f3e4, #5c8dff); box-shadow: 0 0 17px rgba(81,212,194,.65); }
.speed-lane-automated .speed-lane-pulse i::before { inset: 2px 4px; }
.speed-lane-automated .speed-lane-pulse i::after { top: 5px; right: 7px; left: 7px; }
.speed-advantage-note { margin: 2px 0 0; padding-top: 18px; border-top: 1px solid rgba(196,211,238,.16); color: #aebbd0; font-size: 13px; line-height: 1.55; }
.speed-advantage-panel.is-playing .speed-lane-manual .speed-lane-pulse { animation: speed-lane-stream 4400ms linear both; }
.speed-advantage-panel.is-playing .speed-lane-automated .speed-lane-pulse { animation: speed-lane-stream 950ms cubic-bezier(.16,1,.3,1) both; }
.speed-advantage-panel.is-playing .speed-advantage-factor strong { animation: speed-factor-emphasis 760ms cubic-bezier(.2,.85,.25,1) 4400ms both; transform-origin: left center; will-change: transform; }
.speed-advantage-panel.is-complete .speed-lane-pulse { transform: translateX(0); will-change: auto; }
.speed-advantage-panel.is-complete .speed-advantage-factor strong { transform: scale(1); will-change: auto; }
@keyframes speed-lane-stream { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes speed-factor-emphasis { 0%, 100% { transform: scale(1); } 48% { transform: scale(1.075); } }

.process-section { background: white; }
.process-track { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin: 0; padding: 0; list-style: none; }
.process-track::before { content: ""; position: absolute; top: 50px; right: 9%; left: 9%; height: 1px; background: #cfd8f4; }
.process-track li { position: relative; z-index: 1; min-width: 0; min-height: 242px; padding: 24px 22px 26px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 12px 34px rgba(16,24,40,.045); }
.process-number { display: grid; width: 52px; height: 52px; margin-bottom: 24px; place-items: center; border: 1px solid #b9c7f8; border-radius: 50%; background: #f8faff; color: var(--brand); font-size: 13px; font-weight: 850; box-shadow: 0 0 0 8px white; }
.process-track strong { display: block; min-height: 52px; font-size: 18px; line-height: 1.4; }
.process-track p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }

.billing-section { background: var(--soft); }
.package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.package-card { display: flex; min-width: 0; min-height: 390px; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: none; transition: transform 210ms var(--ease-standard), border-color 210ms ease, box-shadow 210ms ease; }
.package-card:hover { transform: translateY(-3px); border-color: #c7d4ff; box-shadow: 0 14px 36px rgba(16,24,40,.06); }
.package-card-featured { border-color: rgba(36,87,245,.5); box-shadow: 0 12px 32px rgba(36,87,245,.08); }
.package-card-head { display: flex; min-height: 28px; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 24px; }
.package-module { color: var(--brand-dark); font-size: 13px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.package-badge { padding: 5px 9px; border-radius: 999px; background: var(--accent); color: var(--brand-dark); font-size: 10px; font-weight: 800; line-height: 1.3; text-align: right; text-transform: uppercase; letter-spacing: .04em; }
.package-card h3 { min-height: 58px; margin-bottom: 12px; }
.package-description { min-height: 82px; color: var(--muted); font-size: 15px; }
.package-price { display: flex; gap: 10px; align-items: baseline; margin: 14px 0 26px; }
.package-price strong { font-family: Onest, ui-sans-serif, system-ui, sans-serif; font-size: clamp(38px, 4vw, 48px); line-height: 1; letter-spacing: -.05em; }
.package-price span { color: var(--muted); font-size: 13px; font-weight: 700; }
.package-details { display: grid; gap: 0; margin: auto 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.package-details li { position: relative; padding: 12px 0 12px 24px; border-bottom: 1px solid var(--line); font-size: 13px; }
.package-details li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 900; }
.package-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px; align-items: center; margin-top: 20px; padding: 24px 28px; border: 1px solid #cbd5f8; border-radius: 18px; background: #f8faff; }
.package-actions > div:first-child { display: grid; gap: 3px; }
.package-actions > div:first-child span { color: var(--muted); font-size: 14px; }
.package-actions .actions { margin: 0; flex-wrap: nowrap; }
.billing-example { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.38fr); gap: 34px clamp(34px, 4.6vw, 58px); align-items: center; margin-top: 48px; padding: clamp(30px, 3.4vw, 42px); border: 1px solid #d9e2f0; border-radius: 26px; background: linear-gradient(135deg, #f8fbff, #edf4fb); box-shadow: 0 18px 50px rgba(16,24,40,.05); }
.billing-example-copy h3 { max-width: 360px; margin-bottom: 12px; font-size: clamp(29px, 2.6vw, 34px); line-height: 1.16; text-wrap: balance; }
.billing-example-copy p { margin-bottom: 0; color: var(--muted); line-height: 1.6; }
.billing-example-copy .billing-example-caption { margin-top: 16px; color: #53677f; font-size: 14px; }
.billing-balance-flow { display: grid; min-width: 0; }
.billing-balance-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; margin: 0; padding: 0; list-style: none; }
.billing-balance-node { position: relative; min-width: 0; min-height: 126px; }
.billing-balance-card { display: grid; min-width: 0; height: 126px; grid-template-rows: 46px minmax(32px, auto); align-content: center; justify-items: stretch; padding: 17px 12px; border: 1px solid #d8e1ee; border-radius: 17px; background: rgba(255,255,255,.9); box-shadow: 0 8px 22px rgba(16,24,40,.045); text-align: center; }
.billing-balance-node:not(:last-child)::after { content: ""; position: absolute; z-index: 1; top: calc(50% - 1px); right: -23px; width: 20px; height: 2px; transform-origin: left center; border-radius: 999px; background: linear-gradient(90deg, #a5b5c7, #6487e9); }
.billing-balance-node:not(:last-child)::before { content: ""; position: absolute; z-index: 2; top: calc(50% - 5px); right: -25px; width: 7px; height: 10px; border: 0; clip-path: polygon(0 0, 100% 50%, 0 100%); background: #6487e9; }
.billing-balance-card > strong, .billing-balance-card > span { display: block; min-width: 0; }
.billing-balance-card > strong { display: flex; width: 100%; align-items: flex-end; justify-content: center; color: #162335; font-family: Onest, ui-sans-serif, system-ui, sans-serif; font-size: clamp(30px, 3vw, 42px); font-variant-numeric: tabular-nums; font-weight: 700; line-height: 1; letter-spacing: -.045em; white-space: nowrap; }
.billing-balance-card > span { display: flex; min-height: 2.6em; align-items: flex-start; justify-content: center; margin-top: 7px; color: #566a80; font-size: 12px; font-weight: 650; line-height: 1.3; }
.billing-balance-reserved .billing-balance-card { border-color: rgba(36,87,245,.28); background: #f1f5ff; }
.billing-balance-reserved .billing-balance-card > strong { color: var(--brand); }
.billing-balance-success .billing-balance-card { border-color: rgba(34,143,104,.3); background: #edfaf4; }
.billing-balance-success .billing-balance-card > strong { color: var(--success); }
.billing-balance-available .billing-balance-card { border-color: rgba(36,87,245,.5); background: linear-gradient(145deg, #edf3ff, #ffffff); box-shadow: 0 12px 28px rgba(36,87,245,.11); }
.billing-balance-available .billing-balance-card > strong { color: var(--brand); }
.billing-return-flow { display: grid; grid-template-columns: minmax(126px, auto) minmax(68px, 1fr) minmax(132px, auto); gap: 14px; align-items: center; min-width: 0; margin-top: 18px; padding: 0 3px; }
.billing-return-flow p { display: flex; min-width: 0; gap: 7px; align-items: baseline; margin: 0; color: #596e85; font-size: 12px; line-height: 1.3; }
.billing-return-flow strong { flex: 0 0 auto; color: #526a85; font-family: Onest, ui-sans-serif, system-ui, sans-serif; font-size: 20px; line-height: 1; letter-spacing: -.04em; }
.billing-return-flow span { min-width: 0; }
.billing-return-destination { justify-content: flex-start; }
.billing-return-track { --return-token-width: 36px; position: relative; display: block; height: 24px; min-width: 0; }
.billing-return-track::after { content: ""; position: absolute; top: 11px; right: 7px; left: 0; height: 2px; border-radius: 999px; background: linear-gradient(90deg, #c4cfdb, #9eb2ca); }
.billing-return-track::before { content: ""; position: absolute; z-index: 2; top: 7px; right: 0; width: 7px; height: 10px; clip-path: polygon(0 0, 100% 50%, 0 100%); background: #5d7fdc; }
.billing-return-track i { position: absolute; z-index: 3; top: 1px; left: 0; display: block; width: calc(100% - var(--return-token-width) - 9px); height: 22px; transform: translateX(0); font-style: normal; will-change: transform; }
.billing-return-track i::before { content: "+30"; position: absolute; top: 0; left: 0; display: grid; width: var(--return-token-width); height: 22px; place-items: center; border: 1px solid #b7c8f8; border-radius: 999px; background: #eef3ff; color: #315bc5; box-shadow: 0 5px 12px rgba(36,87,245,.12); font-family: Onest, ui-sans-serif, system-ui, sans-serif; font-size: 11px; font-weight: 800; line-height: 1; }
.billing-balance-equation { display: flex; min-width: 0; flex-wrap: wrap; gap: 6px 9px; align-items: center; margin: 15px 0 0; padding-top: 14px; border-top: 1px solid #d7e1ec; color: #607187; font-size: 11px; line-height: 1.35; }
.billing-equation-source, .billing-balance-equation > strong { display: inline-flex; gap: 7px; align-items: center; }
.billing-balance-equation b { color: #8a9aae; font-weight: 700; }
.billing-balance-equation strong { color: #244fbd; font-size: 12px; font-weight: 800; }
.billing-example.is-animation-ready:not(.is-playing):not(.is-complete) .billing-balance-card,
.billing-example.is-animation-ready:not(.is-playing):not(.is-complete) .billing-return-flow,
.billing-example.is-animation-ready:not(.is-playing):not(.is-complete) .billing-balance-equation { clip-path: inset(0 100% 0 0); transform: translateX(-10px); }
.billing-example.is-animation-ready:not(.is-playing):not(.is-complete) .billing-balance-node::after { transform: scaleX(0); }
.billing-example.is-animation-ready:not(.is-playing):not(.is-complete) .billing-balance-node::before { visibility: hidden; }
.billing-example.is-playing .billing-balance-node:nth-child(1) .billing-balance-card { animation: billing-card-reveal 560ms cubic-bezier(.16,1,.3,1) both; }
.billing-example.is-playing .billing-balance-node:nth-child(2) .billing-balance-card { animation: billing-card-reveal 560ms cubic-bezier(.16,1,.3,1) 440ms both; }
.billing-example.is-playing .billing-balance-node:nth-child(3) .billing-balance-card { animation: billing-card-reveal 560ms cubic-bezier(.16,1,.3,1) 880ms both; }
.billing-example.is-playing .billing-balance-node:nth-child(4) .billing-balance-card { animation: billing-card-reveal 640ms cubic-bezier(.16,1,.3,1) 2600ms both; }
.billing-example.is-playing .billing-balance-node:nth-child(1)::after { animation: billing-arrow-flow 420ms cubic-bezier(.16,1,.3,1) 300ms both; }
.billing-example.is-playing .billing-balance-node:nth-child(2)::after { animation: billing-arrow-flow 420ms cubic-bezier(.16,1,.3,1) 740ms both; }
.billing-example.is-playing .billing-balance-node:nth-child(3)::after { animation: billing-arrow-flow 420ms cubic-bezier(.16,1,.3,1) 2460ms both; }
.billing-example.is-playing .billing-balance-node:nth-child(1)::before { animation: billing-arrow-head 220ms ease 650ms both; }
.billing-example.is-playing .billing-balance-node:nth-child(2)::before { animation: billing-arrow-head 220ms ease 1090ms both; }
.billing-example.is-playing .billing-balance-node:nth-child(3)::before { animation: billing-arrow-head 220ms ease 2810ms both; }
.billing-example.is-playing .billing-return-flow { animation: billing-card-reveal 460ms cubic-bezier(.16,1,.3,1) 1360ms both; }
.billing-example.is-playing .billing-return-track i { animation: billing-return-token 740ms cubic-bezier(.16,1,.3,1) 1840ms both; }
.billing-example.is-playing .billing-balance-equation { animation: billing-equation-reveal 560ms cubic-bezier(.16,1,.3,1) 3260ms both; }
.billing-example.is-complete .billing-return-track i { transform: translateX(100%); will-change: auto; }
@keyframes billing-card-reveal { from { clip-path: inset(0 100% 0 0); transform: translateX(-10px); } to { clip-path: inset(0); transform: none; } }
@keyframes billing-arrow-flow { from { transform: scaleX(.08); } to { transform: scaleX(1); } }
@keyframes billing-arrow-head { from { visibility: visible; opacity: 0; transform: scale(.7); } to { visibility: visible; opacity: 1; transform: none; } }
@keyframes billing-return-token { from { transform: translateX(0); } to { transform: translateX(100%); } }
@keyframes billing-equation-reveal { from { clip-path: inset(0 100% 0 0); transform: translateX(-8px); } to { clip-path: inset(0); transform: none; } }

@keyframes preview-outcome-reveal {
    from { clip-path: inset(0 100% 0 0 round 11px); transform: translateY(6px); }
    to { clip-path: inset(0 round 11px); transform: translateY(0); }
}

.product-section { background: white; }
.product-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(520px, 1.25fr); gap: clamp(54px, 7vw, 96px); align-items: center; }
.product-copy { max-width: 520px; }
.product-copy > p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.product-benefits { display: grid; gap: 0; margin: 26px 0 0; padding: 0; list-style: none; }
.product-benefits li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); font-weight: 700; }
.product-benefits li::before { content: "✓"; position: absolute; top: 14px; left: 0; color: var(--success); font-weight: 900; }
.dashboard-mockup { overflow: hidden; border: 1px solid #d8dce3; border-radius: 20px; background: white; box-shadow: var(--shadow-raised); }
.mockup-topbar { display: flex; min-height: 66px; justify-content: space-between; gap: 20px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #f8fafc; }
.mockup-brand { display: flex; min-width: 0; gap: 11px; align-items: center; }
.mockup-brand > span { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 9px; background: var(--brand); color: white; font-size: 10px; font-weight: 900; letter-spacing: .04em; }
.mockup-brand > div { display: grid; min-width: 0; gap: 2px; }
.mockup-brand strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.mockup-brand small { overflow: visible; color: var(--muted); font-size: 12px; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
.mockup-sync { display: flex; flex: 0 0 auto; gap: 7px; align-items: center; color: var(--muted); font-size: 11px; font-weight: 700; }
.mockup-sync i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(27,127,90,.1); }
.mockup-body { padding: 18px; background: #f4f6f9; }
.mockup-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.mockup-tab { display: flex; min-width: 0; min-height: 52px; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 13px; border: 1px solid #dfe4eb; border-radius: 11px; background: #fff; color: var(--muted); cursor: pointer; font: inherit; text-align: left; transition: border-color 280ms ease, background-color 280ms ease, color 280ms ease, box-shadow 280ms ease; }
.mockup-tab:hover { border-color: #b8c7f5; color: var(--ink); }
.mockup-tab.is-active { border-color: rgba(36,87,245,.45); background: #f7f9ff; color: var(--brand-dark); box-shadow: inset 3px 0 0 var(--brand); }
.mockup-tab span { overflow: hidden; font-size: 13px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.mockup-tab small { flex: 0 0 auto; color: inherit; font-size: 11px; font-weight: 700; }
.mockup-order-panel { min-height: 500px; padding: 20px; border: 1px solid #e0e4ea; border-radius: 14px; background: white; }
.mockup-title-row { display: flex; min-height: 48px; justify-content: space-between; gap: 20px; align-items: flex-start; }
.mockup-title-row > div { display: grid; min-width: 0; gap: 3px; }
.mockup-title-row small { color: var(--muted); font-size: 11px; }
.mockup-title-row strong { overflow: visible; font-size: 16px; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
.mockup-title-row > .status { flex: 0 0 auto; }
.mockup-progress-block { margin-top: 16px; padding: 15px 16px; border: 1px solid #d9e2ff; border-radius: 12px; background: #f3f6ff; }
.mockup-progress-block > div:first-child { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 9px; font-size: 12px; }
.mockup-progress-block strong { font-variant-numeric: tabular-nums; }
.mockup-progress-fill { width: 100%; transform: scaleX(var(--mockup-progress, 1)); transform-origin: left center; background: var(--brand) !important; }
.mockup-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.mockup-summary > div { display: grid; min-width: 0; min-height: 92px; align-content: start; padding: 13px; border: 1px solid var(--line); border-radius: 11px; background: #fcfcfd; }
.mockup-summary span, .mockup-summary small { overflow: visible; color: var(--muted); font-size: 11px; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
.mockup-summary strong { margin: 7px 0 3px; font-size: 25px; line-height: 1; font-variant-numeric: tabular-nums; }
.mockup-status-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 10px; padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: #fcfcfd; }
.mockup-step { position: relative; display: grid; min-width: 0; grid-template-columns: 22px minmax(0, 1fr); gap: 9px; align-items: start; padding-right: 13px; }
.mockup-step:not(:last-child)::after { content: ""; position: absolute; top: 10px; right: 4px; width: 7px; height: 1px; background: #bdc7d5; }
.mockup-step i { display: grid; width: 20px; height: 20px; place-items: center; border: 1px solid #a8d7c2; border-radius: 50%; background: #eaf7f1; color: var(--success); font-style: normal; }
.mockup-step i::after { content: "✓"; font-size: 10px; font-weight: 900; }
.mockup-step span { display: grid; min-width: 0; gap: 3px; }
.mockup-step strong, .mockup-step small { overflow: visible; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
.mockup-step strong { font-size: 11px; }
.mockup-step small { color: var(--muted); font-size: 10px; }
.mockup-results { margin-top: 10px; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; }
.mockup-results-head { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 11px 13px; background: #f8fafc; }
.mockup-results-head strong { font-size: 12px; }
.mockup-results-head span { color: var(--muted); font-size: 11px; }
.mockup-file-row { display: grid; min-width: 0; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 10px 13px; border-top: 1px solid var(--line); background: white; }
.mockup-file-row > i { display: grid; width: 32px; height: 30px; place-items: center; border-radius: 7px; background: #eaf7f1; color: var(--success); font-size: 7px; font-style: normal; font-weight: 900; }
.mockup-file-row > span { display: grid; min-width: 0; gap: 2px; }
.mockup-file-row strong, .mockup-file-row small { overflow: visible; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
.mockup-file-row strong { font-size: 12px; }
.mockup-file-row small { color: var(--muted); font-size: 10px; }
.mockup-file-row em { min-width: 64px; padding: 5px 8px; border-radius: 999px; font-size: 10px; font-style: normal; font-weight: 800; text-align: center; }
.mockup-file-row em.is-ready { background: #eaf7f1; color: var(--success); }
.mockup-file-row em.is-attention { background: #fff5e5; color: var(--warning); }
.upload-dashboard { max-width: none; }
.upload-dashboard .mockup-order-panel { min-height: 0; }
.upload-dashboard .mockup-file-link { display: grid; gap: 2px; color: var(--ink); text-decoration: none; }
.upload-dashboard .mockup-file-link:hover { color: var(--brand-dark); text-decoration: underline; }
.upload-dashboard .mockup-file-row:has(.mockup-file-link) { transition: background-color 180ms ease; }
.upload-dashboard .mockup-file-row:has(.mockup-file-link):hover { background: #f7f9ff; }
.upload-dashboard .mockup-empty-row > i { background: #f2f4f7; color: #667085; font-size: 15px; }
.upload-dashboard .mockup-step.is-current i { border-color: #b8c7f5; background: var(--accent); color: var(--brand-dark); }
.upload-dashboard .mockup-step.is-current i::after { content: "•"; font-size: 18px; line-height: 1; }
.upload-dashboard .mockup-step.is-pending i { border-color: #d4dae2; background: #f2f4f7; color: #98a2b3; }
.upload-dashboard .mockup-step.is-pending i::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.upload-dashboard .mockup-step.is-attention i { border-color: #f2c27a; background: #fff5e5; color: var(--warning); }
.upload-dashboard .mockup-step.is-attention i::after { content: "!"; font-size: 12px; font-weight: 900; }
.upload-dashboard .mockup-step.is-complete:not(:last-child)::after,
.upload-dashboard .mockup-step.is-current:not(:last-child)::after { background: var(--brand); }

.dashboard-mockup.is-playing .mockup-progress-fill { animation: mockup-progress-run 3000ms var(--ease-standard) both; }
.dashboard-mockup.is-playing .mockup-summary > div,
.dashboard-mockup.is-playing .mockup-step,
.dashboard-mockup.is-playing .mockup-results-head,
.dashboard-mockup.is-playing .mockup-file-row { animation: mockup-item-settle 620ms var(--ease-standard) backwards; }
.dashboard-mockup.is-playing .mockup-summary > div:nth-child(1) { animation-delay: 700ms; }
.dashboard-mockup.is-playing .mockup-summary > div:nth-child(2) { animation-delay: 850ms; }
.dashboard-mockup.is-playing .mockup-summary > div:nth-child(3) { animation-delay: 1000ms; }
.dashboard-mockup.is-playing .mockup-summary > div:nth-child(4) { animation-delay: 1150ms; }
.dashboard-mockup.is-playing .mockup-step:nth-child(1) { animation-delay: 1400ms; }
.dashboard-mockup.is-playing .mockup-step:nth-child(2) { animation-delay: 1610ms; }
.dashboard-mockup.is-playing .mockup-step:nth-child(3) { animation-delay: 1820ms; }
.dashboard-mockup.is-playing .mockup-results-head { animation-delay: 2880ms; }
.dashboard-mockup.is-playing .mockup-file-row:nth-child(2) { animation-delay: 3120ms; }
.dashboard-mockup.is-playing .mockup-file-row:nth-child(3) { animation-delay: 3380ms; }

.final-cta { padding: 80px 0; background: var(--brand); color: white; }
.final-cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 64px; align-items: center; }
.final-cta .eyebrow { color: #eef3ff; }
.final-cta h2 { max-width: 760px; margin-bottom: 16px; font-size: clamp(40px, 4.4vw, 54px); }
.final-cta p:not(.eyebrow) { max-width: 720px; margin-bottom: 0; color: #e4eaff; font-size: 18px; }
.final-cta-action { display: grid; gap: 12px; justify-items: start; }
.final-cta-action .button { min-width: 260px; }
.final-cta-action small { max-width: 300px; color: #eef3ff; font-size: 12px; }

/*
 * Progressive scroll reveals. The head guard covers every kind of main-page
 * content before first paint; data-reveal takes over as soon as JS registers
 * each element. This prevents the visible -> hidden -> visible flash on fast
 * scrolling, including on authentication and workspace pages.
 */
html.reveal-pending :where(
    main .page-head > .container,
    main .auth-stage .auth-card,
    .home-page .section-heading,
    .home-page .directions-panel .direction-item,
    main .process-track li,
    .home-page .package-grid .package-card,
    .home-page .package-actions,
    .home-page .product-copy,
    .home-page .dashboard-mockup,
    .home-page .final-cta-inner > *,
    main .section-heading,
    main .service-choice-grid > .service-choice-card,
    main .landing-section-grid > .landing-section-card,
    main .card-grid > .card,
    main .article-grid > .article-card,
    main .related-link-grid > .related-link-card,
    main .two-column-prose > *,
    main .service-hero-grid > *,
    main .contact-page-grid > *,
    main .pricing-layout > *,
    main .pricing-service,
    main .purchase-list > .purchase-card,
    main .summary-strip > div,
    main .result-grid > *,
    main .faq-list > details,
    main .article-prose > section,
    main .requirements-actions,
    main .form-card,
    main .checkout-card,
    main .prose,
    main .list-table,
    main .empty-state,
    main .section > .container:not([data-no-reveal])
):not(.is-revealed) {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
}

[data-reveal]:not(.is-revealed) { opacity: 0; transform: translate3d(0, 20px, 0); }
[data-reveal="left"]:not(.is-revealed) { transform: translate3d(-32px, 0, 0); }
[data-reveal="right"]:not(.is-revealed) { transform: translate3d(32px, 0, 0); }
html.reveal-pending main .process-track li:not(.is-revealed),
[data-reveal="process"]:not(.is-revealed) { opacity: 1; clip-path: inset(0 100% 0 0); transform: translate3d(-18px, 0, 0); }
[data-reveal].is-revealed { animation: site-reveal-up 680ms var(--ease-standard) backwards; animation-delay: var(--reveal-delay, 0ms); }
[data-reveal="left"].is-revealed { animation-name: site-reveal-left; animation-duration: 800ms; }
[data-reveal="right"].is-revealed { animation-name: site-reveal-right; animation-duration: 800ms; }
[data-reveal="process"].is-revealed { animation-name: site-reveal-process; animation-duration: 820ms; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
.direction-item[data-reveal].is-revealed, .package-card[data-reveal].is-revealed { animation-name: site-reveal-up; }

.dashboard-mockup.is-animation-ready:not(.is-playing) .mockup-progress-fill { transform: scaleX(0); }
.dashboard-mockup.is-animation-ready:not(.is-playing) .mockup-summary > div,
.dashboard-mockup.is-animation-ready:not(.is-playing) .mockup-step,
.dashboard-mockup.is-animation-ready:not(.is-playing) .mockup-results-head,
.dashboard-mockup.is-animation-ready:not(.is-playing) .mockup-file-row { opacity: 0; transform: translateY(8px); }

/* Public contact launcher */
.contact-launcher { position: fixed; z-index: 80; right: 0; bottom: max(24px, calc(env(safe-area-inset-bottom, 0px) + 24px)); display: grid; gap: 12px; justify-items: end; pointer-events: none; }
.contact-launcher > * { pointer-events: auto; }
.contact-launcher-button { display: inline-flex; width: 44px; min-height: 116px; flex-direction: column; gap: 10px; align-items: center; justify-content: center; padding: 14px 8px; border: 0; border-radius: 16px 0 0 16px; background: var(--brand); color: white; box-shadow: 0 16px 38px rgba(16, 24, 40, .2); cursor: pointer; font-weight: 800; transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease; }
.contact-launcher-button:hover { transform: translateX(-2px); background: var(--brand-dark); box-shadow: 0 20px 44px rgba(16, 24, 40, .24); }
.contact-launcher-button svg { width: 19px; height: 19px; flex: 0 0 19px; fill: currentColor; }
.contact-launcher-label { font-size: 12px; letter-spacing: .04em; line-height: 1; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.contact-panel { width: min(360px, calc(100vw - 32px)); padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .99); box-shadow: var(--shadow-raised); opacity: 0; transform: translateY(12px) scale(.985); transform-origin: right bottom; transition: opacity 200ms ease, transform 240ms var(--ease-standard); }
.contact-panel[hidden] { display: none; }
.contact-panel:not(.is-open) { pointer-events: none; }
.contact-panel.is-open { opacity: 1; transform: translateY(0) scale(1); }
.contact-panel-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.contact-panel-kicker { margin: 0 0 5px; color: var(--brand-dark); font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.contact-panel h2 { margin: 0; font-size: 22px; letter-spacing: -.025em; }
.contact-panel-copy { margin: 13px 0 17px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.contact-panel-action { width: 100%; }
.contact-panel-close { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); color: var(--ink); cursor: pointer; font-size: 24px; line-height: 1; transition: border-color 180ms ease, background-color 180ms ease; }
.contact-panel-close:hover { border-color: #c6cfda; background: var(--accent); }
.contact-options { display: grid; gap: 9px; }
.contact-option { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fafbfc; color: var(--ink); text-decoration: none; transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease; }
.contact-option:hover { border-color: #c7d4ff; background: var(--accent); text-decoration: none; transform: translateY(-1px); }
.contact-option-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 11px; background: var(--accent); color: var(--brand-dark); }
.contact-option-icon svg { width: 21px; height: 21px; fill: currentColor; }
.contact-option > span:last-child { display: grid; gap: 2px; }
.contact-option strong { font-size: 14px; }
.contact-option small { color: var(--muted); font-size: 12px; }
.contact-panel .contact-options { margin-bottom: 12px; }
.contact-page-grid { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: 42px; align-items: start; max-width: 1040px; }
.contact-direct { display: grid; gap: 12px; }
.contact-direct-card { display: grid; gap: 4px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: white; color: var(--ink); box-shadow: 0 10px 28px rgba(16,24,40,.04); text-decoration: none; transition: transform 220ms var(--ease-standard), border-color 180ms ease, box-shadow 220ms ease; }
.contact-direct-card:hover { transform: translateY(-2px); border-color: #c7d4ff; box-shadow: var(--shadow); text-decoration: none; }
.contact-direct-card > span { color: var(--brand-dark); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-direct-card strong { overflow-wrap: anywhere; font-size: 19px; }
.contact-direct-card small, .contact-legal-name { color: var(--muted); }
.contact-legal-name { margin: 12px 0 0; font-size: 13px; line-height: 1.55; }
.contact-form-card:not(:has(input[type="file"])) { max-width: none; }
.contact-form-card h2 { margin-bottom: 8px; }
.contact-form-card > p { margin-top: 0; color: var(--muted); }
.contact-consent { margin: 24px 0; }
.contact-submit { width: 100%; }

@keyframes site-reveal-up {
    from { opacity: 0; transform: translate3d(0, 20px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes site-reveal-left {
    from { opacity: 0; transform: translate3d(-32px, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes site-reveal-right {
    from { opacity: 0; transform: translate3d(32px, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes site-reveal-process {
    from { opacity: 1; clip-path: inset(0 100% 0 0); transform: translate3d(-18px, 0, 0); }
    to { opacity: 1; clip-path: inset(0); transform: translate3d(0, 0, 0); }
}

@keyframes hero-copy-enter {
    from { opacity: 0; transform: translate3d(0, 12px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes interface-enter {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes interface-item {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes order-spinner {
    to { transform: rotate(360deg); }
}
@keyframes mockup-progress-run {
    from { transform: scaleX(0); }
    to { transform: scaleX(var(--mockup-progress, 1)); }
}
@keyframes mockup-item-settle {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1000px) {
    .directions-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .direction-item-jvk { grid-column: 1 / -1; border-right: 0 !important; border-bottom: 1px solid var(--line); }
    .direction-item-works { border-right: 1px solid var(--line) !important; }
    .direction-item p { min-height: 96px; }
    .package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .package-card:last-child { grid-column: 1 / -1; min-height: 0; }
    .package-actions { grid-template-columns: 1fr; gap: 20px; }
    .product-layout { grid-template-columns: 1fr; }
    .product-copy { max-width: 720px; }
    .dashboard-mockup { max-width: 820px; }
}

@media (max-width: 900px) {
    .home-page .container { width: min(100% - 40px, 1280px); }
    .home-page .section { padding: 72px 0; }
    .home-page .nav-wrap { gap: 14px; }
    .home-page .main-nav, .home-page .account-nav { gap: 10px; }
    .home-page .main-nav a, .home-page .account-nav a { white-space: nowrap; }
    .home-page .brand { font-size: 13px; }
    .home-page.is-authenticated .account-nav form { display: none; }
    .product-hero { padding-top: 40px; }
    .product-hero-grid { gap: 28px; }
    .product-hero h1 { font-size: clamp(44px, 6vw, 58px); }
    .result-preview { padding: 24px; }
    .direction-item { padding: 28px; }
    .process-track { grid-template-columns: 1fr; gap: 14px; padding-left: 0; }
    .process-track::before { display: none; }
    .process-track li { display: grid; min-height: 0; grid-template-columns: 52px minmax(0, 1fr); column-gap: 22px; padding: 22px; }
    .process-track li:last-child { padding-bottom: 22px; }
    .process-number { grid-row: 1 / 3; margin-bottom: 0; }
    .process-track strong { min-height: 0; padding-top: 5px; }
    .process-track p { grid-column: 2; }
    .final-cta-inner { grid-template-columns: 1fr; gap: 32px; }
    .speed-advantage-panel { grid-template-columns: 1fr; gap: 36px; }
    .speed-advantage-copy { max-width: 720px; }
    .billing-example { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 800px) {
    .product-hero-grid { grid-template-columns: 1fr; }
    .hero-copy { max-width: 720px; }
    .product-hero .actions { width: 100%; max-width: 720px; grid-template-columns: 1fr; }
    .result-preview { width: 100%; max-width: 720px; }
    .directions-panel { grid-template-columns: 1fr; }
    .direction-item-jvk { grid-column: auto; }
    .direction-item:not(:last-child) { border-right: 0; border-bottom: 1px solid var(--line); }
    .direction-item-works { border-right: 0 !important; }
    .direction-item p, .direction-result { min-height: 0; }
}

@media (max-width: 680px) {
    .home-page .container { width: min(100% - 24px, 1280px); }
    .home-page main { font-size: 16px; }
    .home-page .section { padding: 72px 0; }
    .product-hero h1 { font-size: 42px; }
    .product-hero .lead { font-size: 17px; }
    .product-hero .actions { display: grid; grid-template-columns: 1fr; }
    .product-hero .actions .button { width: 100%; }
    .product-hero .hero-proof { display: grid; gap: 8px; }
    .product-hero .hero-proof li:not(:last-child)::after { display: none; }
    .section-heading { margin-bottom: 34px; }
    .package-grid { grid-template-columns: 1fr; }
    .package-card, .package-card:last-child { grid-column: auto; min-height: 0; padding: 26px; }
    .package-card h3, .package-description { min-height: 0; }
    .package-actions { padding: 24px; }
    .package-actions .actions { display: grid; width: 100%; }
    .package-actions .button { width: 100%; }
    .billing-example { margin-top: 42px; }
    .speed-proof-section.section { padding: 48px 0; }
    .final-cta { padding: 64px 0; }
    .preview-head, .mockup-title-row { align-items: center; }
    .mockup-order-panel { min-height: 0; padding: 16px; }
    .mockup-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mockup-status-flow { grid-template-columns: 1fr; gap: 12px; }
    .mockup-step { padding-right: 0; }
    .mockup-step:not(:last-child)::after { top: 22px; right: auto; bottom: -12px; left: 10px; width: 1px; height: 12px; }
    .product-layout { gap: 44px; }
    .mockup-body { padding: 16px; }
    .final-cta h2 { font-size: 40px; }
    .final-cta-action, .final-cta-action .button { width: 100%; }

    .article-table-wrap { overflow: visible; }
    .article-table-wrap > table { display: block; min-width: 0; border: 0; border-radius: 0; background: transparent; table-layout: auto; }
    .article-table-wrap > table thead { display: none; }
    .article-table-wrap > table tbody { display: grid; gap: 12px; }
    .article-table-wrap > table tbody tr { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: white; }
    .article-table-wrap > table tbody td { display: block; width: 100%; min-height: 0; padding: 13px 15px; border-bottom: 1px solid var(--line); }
    .article-table-wrap > table tbody td:last-child { border-bottom: 0; }
    .article-table-wrap > table tbody td::before { display: block; content: attr(data-label); margin-bottom: 4px; color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: .03em; }
}

@media (max-width: 480px) {
    .result-preview { min-height: 400px; padding: 21px; }
    .preview-head { gap: 10px; }
    .preview-head > .status { min-width: 92px; }
    .preview-package-head { gap: 8px; }
    .preview-package-count { width: 12ch; }
    .mockup-topbar { min-height: 60px; padding: 12px; }
    .mockup-sync span { display: none; }
    .mockup-body { padding: 10px; }
    .mockup-tabs { gap: 6px; }
    .mockup-tab { min-height: 56px; flex-direction: column; gap: 2px; align-items: flex-start; justify-content: center; padding: 9px 10px; }
    .mockup-order-panel { padding: 13px; }
    .mockup-title-row { gap: 10px; }
    .mockup-title-row strong { font-size: 14px; }
    .mockup-summary > div { min-height: 86px; padding: 11px; }
    .mockup-file-row { grid-template-columns: 30px minmax(0, 1fr); gap: 9px; padding: 10px; }
    .mockup-file-row > i { width: 30px; }
    .mockup-file-row em { grid-column: 2; justify-self: start; }
    .contact-panel { width: calc(100vw - 24px); padding: 19px; }
}

@media (max-width: 700px) {
    .auth-stage { padding: 30px 0 46px; }
    .auth-card, .auth-card-wide { padding: 28px 22px; border-radius: 17px; }
    .auth-card-head { padding-right: 50px; }
    .auth-card-head-state { padding-right: 0; }
    .auth-card-head h1 { font-size: 30px; }
    .auth-form-grid { grid-template-columns: 1fr; gap: 18px; }
    .auth-field-wide { grid-column: auto; }
    .auth-card-wide .auth-submit { width: 100%; min-width: 0; }
    .auth-links { grid-template-columns: 1fr; gap: 9px; }
    .auth-links a:last-child { text-align: left; }
    .auth-container-access { width: min(100% - 24px, 760px); }
    .auth-card-access, .auth-card-access.auth-card-wide { padding: 0; border-radius: 18px; }
    .auth-aside { padding: 22px; }
    .auth-aside-content { margin-top: 20px; }
    .auth-aside-title { margin-bottom: 0; font-size: 22px; }
    .auth-aside-copy, .auth-aside-points { display: none; }
    .auth-aside-modules { margin-top: 20px; }
    .auth-main, .auth-card-access-wide .auth-main { padding: 28px 22px 26px; }
    .auth-card-access .auth-card-head { min-height: 0; padding-right: 0; }
    .auth-card-access-wide .auth-consents { grid-template-columns: 1fr; }
    .auth-card-access-wide .auth-check { min-height: 0; }
}

/* Unified responsive rhythm from the visual system. */
@media (max-width: 1023px) {
    .container, .home-page .container { width: min(1280px, calc(100% - 64px)); }
    .section { padding: 64px 0; }
    .page-head { padding: 56px 0 44px; }
    .home-page .section { padding: 64px 0; }
    .card-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1099px) {
    body.mobile-menu-open { overflow: hidden; overscroll-behavior: none; }
    .section { padding: 48px 0; }
    .page-head { padding: 46px 0 36px; }
    .content-page .page-head { padding: 46px 0 36px; }
    .content-page .content-section, .content-page main > .section { padding: 48px 0; }
    .home-page .section { padding: 48px 0; }
    .final-cta { padding: 48px 0; }
    .site-footer { padding: 48px 0; }
    .is-authenticated .page-head { padding: 48px 0 36px; }
    .is-authenticated .section { padding: 48px 0 56px; }
    .site-header { z-index: 100; }
    .nav-wrap { grid-template-columns: minmax(0, 1fr) auto; gap: 16px; }
    .main-nav, .account-nav { display: none; }
    .mobile-menu-toggle { position: relative; display: inline-grid; width: 48px; height: 48px; place-content: center; gap: 5px; justify-self: end; padding: 0; border: 1px solid var(--line); border-radius: 13px; background: white; color: var(--ink); cursor: pointer; transition: border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease, opacity 180ms ease; }
    body.mobile-menu-open .mobile-menu-toggle { visibility: hidden; opacity: 0; pointer-events: none; }
    .mobile-menu-toggle:hover { border-color: #c6cfda; background: var(--soft); }
    .mobile-menu-toggle[aria-expanded="true"] { border-color: #ccd7ff; background: var(--accent); box-shadow: 0 8px 20px rgba(36, 87, 245, .12); }
    .mobile-menu-toggle span { display: block; width: 21px; height: 2px; border-radius: 999px; background: currentColor; transform-origin: center; transition: transform 260ms var(--ease-standard), opacity 180ms ease; }
    .mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.35); }
    .mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .mobile-menu-shell { position: fixed; z-index: 90; inset: 78px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) min(88vw, 420px); overflow: hidden; }
    .mobile-menu-shell[hidden] { display: none; }
    .mobile-menu-backdrop { grid-area: 1 / 1 / 2 / 3; padding: 0; border: 0; background: rgba(18, 22, 31, .28); opacity: 0; cursor: default; transition: opacity 280ms ease; }
    .mobile-menu-panel { position: relative; grid-area: 1 / 2; min-width: 0; min-height: 0; border-left: 1px solid var(--line); background: white; box-shadow: -20px 0 55px rgba(16, 24, 40, .16); transform: translateX(100%); transition: transform 340ms var(--ease-standard); }
    .mobile-menu-shell.is-open .mobile-menu-backdrop { opacity: 1; }
    .mobile-menu-shell.is-open .mobile-menu-panel { transform: translateX(0); }
    .mobile-menu-scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 28px 24px max(32px, env(safe-area-inset-bottom)); }
    .mobile-menu-head { display: flex; min-height: 48px; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
    .mobile-menu-title { margin: 8px 0 0; font-size: 25px; letter-spacing: -.025em; }
    .mobile-menu-close { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); color: var(--ink); cursor: pointer; font-size: 25px; line-height: 1; transition: border-color 180ms ease, background-color 180ms ease; }
    .mobile-menu-close:hover { border-color: #c6cfda; background: var(--accent); }
    .mobile-menu-links { display: grid; }
    .mobile-menu-links a { display: flex; min-height: 48px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 17px; font-weight: 650; text-decoration: none; }
    .mobile-menu-links a:hover { color: var(--brand-dark); }
    .mobile-menu-section { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
    .mobile-menu-label { margin: 0 0 8px; color: var(--brand-dark); font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
    .mobile-cabinet-links a { gap: 12px; }
    .mobile-cabinet-links .account-menu-icon { width: 20px; height: 20px; }
    .mobile-menu-actions { display: grid; gap: 10px; margin-top: 28px; }
    .mobile-menu-actions .button, .mobile-menu-logout .button { width: 100%; }
    .mobile-menu-logout { margin: 0; }
    .footer-links a { display: flex; min-height: 44px; align-items: center; padding: 8px 0; }
    .list-table th { top: 78px; }
    .brand-logo, .footer-brand .brand-logo { width: 184px; min-width: 184px; flex-basis: 184px; }
    .brand-v2::before { content: ""; position: absolute; z-index: 1; top: 50%; left: 0; width: 32px; height: 32px; transform: translateY(-50%); background: url("../images/exonautoloading-mark-color.ce90001a4306.svg") center / contain no-repeat; pointer-events: none; }
    .brand-v2 .brand-logo { clip-path: inset(0 0 0 34px); }
    .contact-launcher { display: none; }
    .product-hero .hero-proof-grid { grid-template-columns: 1fr; gap: 0; }
    .product-hero .hero-proof-grid li { min-height: 0; padding: 10px 0; border-left: 0; }
    .product-hero .hero-proof-grid li + li { border-top: 1px solid #e1e6ee; }
}

/* Keep a clear desktop/tablet rail for the floating contact tab. */
@media (min-width: 1100px) and (max-width: 1471px) {
    body:has(.contact-launcher) main .container:not(.narrow) { width: auto; max-width: 1280px; margin-right: 68px; margin-left: 48px; }
}

@media (max-width: 767px) {
    .container, .home-page .container, .auth-container-access { width: min(1280px, calc(100% - 32px)); }
    .contact-page-grid { grid-template-columns: 1fr; gap: 28px; }
    .nav-wrap { min-height: 72px; }
    .mobile-menu-shell { inset: 72px 0 0; }
    .brand-logo, .footer-brand .brand-logo { width: 184px; min-width: 184px; flex-basis: 184px; }
    h1 { font-size: clamp(36px, 10vw, 40px); line-height: 1.12; }
    h2 { font-size: clamp(30px, 8vw, 34px); line-height: 1.16; }
    h3 { font-size: clamp(22px, 6vw, 24px); }
    .lead { font-size: 17px; line-height: 1.55; }
    .section, .home-page .section { padding: 32px 0; }
    .page-head { padding: 34px 0 28px; }
    .content-page .page-head { padding: 34px 0 28px; }
    .content-page .content-section, .content-page main > .section { padding: 32px 0; }
    .content-page main > .related-links-section { padding: 32px 0; }
    .requirements-intro { margin-bottom: 28px; }
    .requirements-content-block + .requirements-content-block { margin-top: 30px; }
    .service-content-block + .service-content-block { margin-top: 26px; }
    .page-head > .container > :last-child { margin-bottom: 0; }
    .cabinet-page-heading { display: block; }
    .cabinet-page-heading > .button { width: 100%; margin-top: 24px; }
    .account-empty-state { min-height: 0; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding: 24px 20px; }
    .account-empty-icon { width: 52px; height: 52px; border-radius: 14px; }
    .account-empty-actions { grid-column: 1 / -1; min-width: 0; }
    .account-inline-state { margin-bottom: 28px; padding: 17px; }
    .cabinet-record-card { grid-template-columns: 42px minmax(0, 1fr) 18px; gap: 12px 13px; padding: 18px; border-radius: 16px; }
    .cabinet-record-card:not(.cabinet-record-link) { grid-template-columns: 42px minmax(0, 1fr); }
    .cabinet-record-mark { width: 42px; height: 42px; border-radius: 12px; }
    .cabinet-record-copy strong { font-size: 15px; }
    .cabinet-record-card > .status { grid-column: 2; justify-self: start; margin-top: 3px; }
    .cabinet-record-arrow { grid-column: 3; grid-row: 1 / 3; }
    .cabinet-record-facts, .cabinet-record-actions { grid-column: 1 / -1; }
    .cabinet-detail-card, .cabinet-detail-card-compact { padding: 18px; }
    .cabinet-detail-copy { grid-template-columns: 1fr; }
    .section-heading { margin-bottom: 24px; }
    .section-heading + .card-grid,
    .section-heading + .service-choice-grid,
    .section-heading + .article-grid { margin-top: 0; }
    .section > .container > .card-grid:first-child { margin-top: 0; }
    .page-head .actions, .actions { display: grid; width: 100%; }
    .page-head .actions .button, .actions .button { width: 100%; }
    [data-reveal="left"]:not(.is-revealed), [data-reveal="right"]:not(.is-revealed) { transform: translate3d(0, 20px, 0); }
    [data-reveal="left"].is-revealed, [data-reveal="right"].is-revealed { animation-name: site-reveal-up; }
    .product-hero { padding: 32px 0 28px; }
    .product-hero::after { right: 0; width: 100%; }
    .product-hero h1 { font-size: clamp(40px, 11vw, 44px); line-height: 1.08; }
    .product-hero .hero-proof { margin-top: 24px; padding: 15px; border: 1px solid #dfe7f3; border-radius: 16px; background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(241,246,255,.78)); box-shadow: 0 10px 26px rgba(16,24,40,.04); }
    .product-hero .hero-proof-grid { gap: 11px; }
    .product-hero .hero-proof-grid li { min-height: 34px; gap: 11px; padding: 0; border: 0; }
    .product-hero .hero-proof-grid li + li { border: 0; }
    .product-hero .hero-proof-grid li::before { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border-radius: 10px; background: #edf3ff; color: var(--brand-dark); box-shadow: none; font-family: Onest, ui-sans-serif, system-ui, sans-serif; font-size: 14px; font-weight: 800; line-height: 1; }
    .product-hero .hero-proof-grid li:nth-child(1)::before { content: "↗"; font-size: 15px; }
    .product-hero .hero-proof-grid li:nth-child(2)::before { content: "✓"; }
    .product-hero .hero-proof-grid li:nth-child(3)::before { content: "₽"; }
    .card-grid.four, .card-grid.three, .card-grid.two, .steps, .dashboard-grid, .result-grid { grid-template-columns: 1fr; }
    .card, .steps li { padding: 28px; }
    .form-card { max-width: 100%; padding: 28px 24px; }
    .billing-profile-grid { grid-template-columns: 1fr; }
    .billing-profile-field-wide { grid-column: auto; }
    .form-actions, .page-actions { width: 100%; grid-template-columns: 1fr; }
    .billing-profile-actions > button { order: -1; }
    input[type="file"] { min-height: 160px; padding: 44px 18px; }
    .auth-stage { padding: 32px 0 48px; }
    .auth-card-access, .auth-card-access.auth-card-wide { grid-template-columns: 1fr; }
    .auth-aside { display: none; }
    .auth-main, .auth-card-access-wide .auth-main { padding: 30px 24px 28px; }
    .auth-card-access .auth-card-head { min-height: 0; }
    .auth-form-grid { grid-template-columns: 1fr; }
    .auth-field-wide { grid-column: auto; }
    .auth-card-access-wide .auth-consents { grid-template-columns: 1fr; }
    .auth-card-access-wide .auth-check { min-height: 0; }
    .is-authenticated .page-head { padding: 40px 0 32px; }
    .is-authenticated .section { padding: 40px 0 48px; }
    .summary-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .summary-strip div:nth-child(2n) { border-right: 0; }
    .product-hero .hero-proof-grid { grid-template-columns: 1fr; }
    .product-hero .hero-proof-grid li { min-height: 0; }
    .speed-advantage-panel { gap: 18px; padding: 22px 20px; border-radius: 22px; }
    .speed-advantage-copy h2 { margin-bottom: 14px; font-size: clamp(26px, 7.5vw, 30px); line-height: 1.16; }
    .speed-advantage-factor { margin-bottom: 10px; }
    .speed-advantage-factor strong { font-size: clamp(88px, 24vw, 104px); }
    .speed-advantage-factor > span { margin-top: 6px; margin-left: 2px; font-size: 16px; }
    .speed-advantage-summary { font-size: 15px; }
    .speed-advantage-visual { gap: 16px; padding: 0; }
    .speed-lane-heading { gap: 10px; font-size: 13px; }
    .speed-lane-heading strong { font-size: 16px; }
    .speed-advantage-note { padding-top: 16px; font-size: 12px; }
    .billing-example { gap: 22px; margin-top: 40px; padding: 24px 18px 20px; border-radius: 22px; }
    .billing-example-copy { padding: 0 2px; }
    .billing-example-copy h3 { font-size: clamp(25px, 7vw, 28px); }
    .billing-example-copy p { font-size: 15px; }
    .billing-example-copy .billing-example-caption { margin-top: 14px; padding: 11px 12px; border-left: 2px solid #90a9eb; border-radius: 0 10px 10px 0; background: rgba(255,255,255,.68); font-size: 12px; line-height: 1.45; }
    .billing-balance-track { gap: 0; overflow: hidden; padding: 5px; border: 1px solid #d9e3ef; border-radius: 16px; background: rgba(255,255,255,.9); box-shadow: 0 8px 24px rgba(16,24,40,.045); }
    .billing-balance-node { min-height: 98px; }
    .billing-balance-node + .billing-balance-node { border-left: 1px solid #e2e8f1; }
    .billing-balance-card { height: 98px; grid-template-rows: 34px minmax(32px, auto); padding: 12px 3px 9px; border: 0; border-radius: 10px; background: transparent; box-shadow: none; }
    .billing-balance-node:not(:last-child)::after, .billing-balance-node:not(:last-child)::before { display: none; }
    .billing-balance-reserved .billing-balance-card { background: rgba(36,87,245,.055); }
    .billing-balance-success .billing-balance-card { background: rgba(34,143,104,.07); }
    .billing-balance-available .billing-balance-card { background: linear-gradient(145deg, rgba(237,243,255,.94), rgba(255,255,255,.96)); box-shadow: inset 0 0 0 1px rgba(36,87,245,.18); }
    .billing-balance-card > strong { font-size: clamp(22px, 6.2vw, 26px); }
    .billing-balance-card > span { min-height: 2.44em; margin-top: 5px; font-size: 10px; line-height: 1.22; }
    .billing-balance-available .billing-balance-card > strong { font-size: clamp(22px, 6.2vw, 26px); }
    .billing-return-flow { grid-template-columns: minmax(0, 1fr) minmax(92px, auto); gap: 8px 12px; margin-top: 14px; padding: 12px; border: 1px solid #dce5f0; border-radius: 14px; background: rgba(255,255,255,.76); }
    .billing-return-flow p { display: grid; gap: 2px; align-items: start; font-size: 11px; line-height: 1.28; }
    .billing-return-status { display: flex !important; grid-column: 1 / -1; gap: 6px !important; align-items: baseline !important; }
    .billing-return-destination { grid-column: 2; align-self: center; color: #536b86; font-weight: 650; }
    .billing-return-track { --return-token-width: 32px; grid-column: 1; min-width: 0; }
    .billing-return-track i::before { box-shadow: none; }
    .billing-return-flow strong { font-size: 19px; }
    .billing-balance-equation { display: grid; gap: 8px; margin-top: 13px; padding: 12px 2px 0; font-size: 10px; text-align: center; }
    .billing-equation-source { flex-wrap: wrap; justify-content: center; gap: 4px; }
    .billing-balance-equation > strong { justify-content: center; padding: 8px 10px; border-radius: 10px; background: #edf3ff; font-size: 11px; }
    .product-layout { gap: 36px; }
    .final-cta { padding: 44px 0; }
    .article-cover { margin-bottom: 28px; }
    .article-prose > section + section { margin-top: 30px; }
    .article-cta { margin-top: 40px; padding: 24px; }
    .article-cta .actions, .requirements-actions { grid-template-columns: 1fr; }
    .article-cta .actions > .button:first-child:nth-last-child(3), .article-cta .actions > .button:last-child:nth-child(odd) { grid-column: auto; }
    .prose h2 { margin-top: 1.4em; }
    .legal-document-note { margin-top: 32px; }
    .list-table { display: block; max-width: 100%; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
    .list-table th { top: 72px; }
    .faq-list summary { gap: 16px; padding: 20px 0; font-size: 18px; }
    .faq-list details p { margin-right: 0; }
    [data-reveal].is-revealed { animation-duration: 680ms; }
    [data-reveal="left"].is-revealed, [data-reveal="right"].is-revealed { animation-name: site-reveal-up; animation-duration: 680ms; }
    .site-footer { padding: 38px 0; }
    .footer-grid { gap: 28px; }
}

@media (max-width: 480px) {
    .section, .home-page .section { padding: 30px 0; }
    .page-head { padding: 30px 0 26px; }
    .final-cta { padding: 36px 0; }
    .site-footer { padding: 34px 0; }
    .brand-logo, .footer-brand .brand-logo { width: 184px; min-width: 184px; flex-basis: 184px; }
    .requisites-list > div { grid-template-columns: 1fr; }
    .requisites-list dt { padding-bottom: 5px; }
    .requisites-list dd { padding-top: 5px; }
    .summary-strip { grid-template-columns: 1fr; }
    .summary-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
    .summary-strip div:last-child { border-bottom: 0; }
    .cabinet-record-facts, .cabinet-record-facts-three, .cabinet-detail-facts { grid-template-columns: 1fr; }
    .cabinet-record-actions, .cabinet-record-actions form, .cabinet-record-actions .button { width: 100%; }
    .mockup-summary { grid-template-columns: 1fr; }
    .mockup-summary > div { min-height: 78px; }
}

@media (max-width: 1099px) and (max-height: 500px) {
    .section, .home-page .section { padding: 30px 0; }
    .page-head { padding: 30px 0 26px; }
    .auth-stage { padding: 20px 0 32px; }
    .final-cta { padding: 36px 0; }
    .site-footer { padding: 40px 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.analytics-consent { position: fixed; z-index: 80; right: 18px; bottom: 18px; left: 18px; display: flex; max-width: 980px; gap: 20px; margin: 0 auto; padding: 18px 20px; align-items: center; justify-content: space-between; border: 1px solid #d9e2ef; border-radius: 18px; background: #fff; box-shadow: 0 18px 50px rgba(16, 24, 40, .18); }
.analytics-consent > div { display: grid; gap: 4px; }
.analytics-consent span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.analytics-consent form, #analytics-settings form { display: flex; flex: 0 0 auto; gap: 8px; flex-wrap: wrap; }
.analytics-consent .button, #analytics-settings .button { min-height: 40px; padding: 9px 14px; }

@media (max-width: 720px) {
    .analytics-consent { align-items: stretch; flex-direction: column; }
    .analytics-consent form { display: grid; grid-template-columns: 1fr 1fr; }
}

/* Manual audit: a separate, role-aware workflow instead of package counters. */
.manual-audit-section { background: linear-gradient(180deg, #f7faff 0%, #fff 100%); }
.manual-audit-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 24px; align-items: start; }
.manual-audit-card { min-width: 0; padding: 30px; border: 1px solid #dfe7f3; border-radius: 22px; background: #fff; box-shadow: 0 14px 38px rgba(20, 36, 74, .07); }
.manual-audit-card h2, .manual-audit-card h3 { margin-top: 0; }
.manual-audit-progress-card { background: linear-gradient(145deg, #fff 0%, #f7faff 100%); }
.manual-audit-lead { max-width: 720px; color: var(--muted); font-size: 17px; }
.manual-audit-steps { display: grid; gap: 0; margin: 28px 0 0; padding: 0; list-style: none; }
.manual-audit-steps li { position: relative; display: grid; min-width: 0; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; padding: 0 0 22px; }
.manual-audit-steps li:last-child { padding-bottom: 0; }
.manual-audit-steps li:not(:last-child)::after { position: absolute; top: 38px; bottom: 0; left: 18px; width: 2px; border-radius: 2px; background: #e5ebf4; content: ""; }
.manual-audit-steps li.is-complete:not(:last-child)::after { background: #b8e3d3; }
.manual-audit-step-index { position: relative; z-index: 1; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #d9e2ef; border-radius: 12px; background: #f6f8fb; color: #7a8799; font-size: 13px; font-weight: 850; }
.manual-audit-steps li.is-complete .manual-audit-step-index { border-color: #b9e2d3; background: #eaf8f3; color: #187a5b; }
.manual-audit-steps li.is-current .manual-audit-step-index { border-color: #aec2ff; background: #eaf0ff; color: var(--brand); box-shadow: 0 0 0 5px rgba(36, 87, 245, .07); }
.manual-audit-steps li > span:last-child { display: grid; min-width: 0; gap: 4px; padding-top: 2px; }
.manual-audit-steps strong { color: var(--ink); font-size: 16px; line-height: 1.35; }
.manual-audit-steps small { color: var(--muted); font-size: 13px; line-height: 1.5; }
.manual-audit-quote-card { border-color: #cfdbf5; }
.manual-audit-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 22px 0 0; }
.manual-audit-facts > div { min-width: 0; padding: 14px; border-radius: 14px; background: #f6f8fb; }
.manual-audit-facts dt { margin: 0 0 5px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.manual-audit-facts dd { margin: 0; overflow-wrap: anywhere; color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.45; }
.manual-audit-quote-meta { display: flex; gap: 6px 16px; margin: 16px 0 0; align-items: baseline; justify-content: space-between; color: #536176; font-size: 12px; line-height: 1.45; }
.manual-audit-quote-meta strong { color: #344054; }
.manual-audit-quote-meta span { flex: 0 0 auto; }
.manual-audit-explanation { margin-top: 18px; padding: 16px 18px; border-radius: 15px; background: #edf3ff; }
.manual-audit-explanation p { margin: 6px 0 0; color: #43536d; font-size: 13px; line-height: 1.55; }
.manual-audit-package-note { margin: 16px 0 0; padding: 14px 16px; border: 1px solid #dfe7f3; border-radius: 14px; background: #fbfcfe; color: #536176; font-size: 13px; line-height: 1.55; }
.manual-audit-source-heading { display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.manual-audit-source-heading > div { max-width: 760px; }
.manual-audit-source-heading h2 { margin-top: 0; }
.manual-audit-source-heading p:not(.eyebrow) { color: var(--muted); }
.manual-audit-source-heading .button { flex: 0 0 auto; }
.manual-audit-source-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.manual-audit-source-stats > div { display: grid; min-width: 0; gap: 5px; padding: 18px; border: 1px solid #e1e7f0; border-radius: 16px; background: #fff; }
.manual-audit-source-stats strong { font-size: 27px; line-height: 1; }
.manual-audit-source-stats span { color: var(--muted); font-size: 12px; line-height: 1.4; }
.manual-audit-comments { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.manual-audit-comments > div { min-width: 0; padding: 20px; border-radius: 16px; background: rgba(255, 255, 255, .78); }
.manual-audit-comments small { color: var(--brand); font-size: 10px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.manual-audit-comments p { margin: 8px 0 0; overflow-wrap: anywhere; }
.manager-manual-audit-context { padding-bottom: 28px; }
.manager-audit-context-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 26px; }
.manager-workflow-guide ol, ol.manager-workflow-guide { display: grid; gap: 10px; margin: 16px 0 0; padding-left: 22px; }
.manager-workflow-guide li { padding-left: 4px; color: #344054; line-height: 1.5; }
.manager-workflow-guide > p { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid #e4e9f1; color: #536176; font-size: 13px; }
.manager-order-workspace { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.manager-order-form-card { width: 100%; max-width: none !important; }
.manager-order-form-card > p:not(.eyebrow) { color: var(--muted); }
.manager-result-files { margin-bottom: 22px; }
.order-confirm-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); gap: 24px; align-items: start; }
.order-confirm-explanation h2 { margin-bottom: 10px; }
.order-confirm-form-card { width: 100%; max-width: none !important; }

@media (max-width: 900px) {
    .manual-audit-layout, .manager-audit-context-grid, .manager-order-workspace, .order-confirm-layout { grid-template-columns: 1fr; }
    .manual-audit-source-heading { align-items: flex-start; flex-direction: column; }
    .manual-audit-source-heading .button { width: 100%; }
    .manual-audit-source-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .manual-audit-card { padding: 22px 18px; border-radius: 18px; }
    .manual-audit-comments, .manual-audit-source-stats { grid-template-columns: 1fr; }
    .manual-audit-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .manual-audit-quote-meta { align-items: flex-start; flex-direction: column; }
    .manual-audit-source-stats > div { padding: 15px 16px; }
    .manual-audit-steps li { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding-bottom: 20px; }
    .manual-audit-step-index { width: 34px; height: 34px; border-radius: 11px; }
    .manual-audit-steps li:not(:last-child)::after { top: 34px; left: 16px; }
}
