/* Full Anodos website layout: two-tier navigation, cinematic hero and editorial sections. */
:root {
  --brand-navy: #0f1e32; --navy: #0f1e32; --brand-green: #007da5; --green: #007da5;
  --brand-pale: #fff; --pale: #fff; --ink: #0f1e32; --muted: #566675;
  --line: #d7dfe5; --surface: #fff; --surface-soft: #f1f5f7; --shadow: none;
  --text-primary: #0f1e32; --text-accent: #007da5;
  --font: "Helvetica Neue", Arial, sans-serif;
  --font-display: "Helvetica Neue", Arial, sans-serif;
  --font-accent: "Times New Roman", Georgia, serif; --font-numeric: var(--font);
  --type-body-size: 16px; --type-body-line: 1.5; --type-display-size: 48px; --type-display-line: 1.12;
  --site-header-offset: 190px; --site-gutter: clamp(24px, 3.9vw, 72px); --site-blue: #58b4d7;
  color: var(--ink); background: #fff; font-family: var(--font);
}
html { background: #fff; scroll-behavior: smooth; scroll-padding-top: var(--site-header-offset); overflow-x: clip; }
body, body[data-route], body[data-route="home"].scenario-search-active {
  position: relative; inset: auto; width: 100%; height: auto; min-height: 100svh;
  margin: 0; color: var(--ink); background: #fff; overflow: visible;
  font: 400 16px/1.5 var(--font); touch-action: pan-y; overscroll-behavior: auto;
}
button, input, select, textarea { font-family: var(--font); }
button, a { touch-action: manipulation; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.02em; }
button { cursor: pointer; }
a { text-underline-offset: 5px; }
:is(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid #0087b7; outline-offset: 5px; }
.site-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.splash { display: none; }
body[data-route] #app.app-shell {
  display: block; width: 100%; max-width: none; height: auto; min-height: 100svh;
  padding: 0; margin: 0; opacity: 1; transform: none; overflow: visible; touch-action: pan-y;
}

/* The header mirrors the reference's brand row and separate navigation rule. */
.site-header { position: sticky; top: 0; z-index: 40; width: 100%; background: var(--navy); color: #fff; }
.site-masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 128px; padding: 24px var(--site-gutter); }
.site-brand { display: inline-flex; align-items: center; gap: 14px; color: inherit; text-decoration: none; white-space: nowrap; }
.site-brand > span { font: 400 48px/1 "Times New Roman", Georgia, serif; letter-spacing: .015em; }
.site-brand svg { width: 57px; height: 45px; overflow: visible; }
.site-brand svg path { fill: none; stroke: currentColor; stroke-width: 2; }
.site-brand svg circle { fill: currentColor; }
.site-claim { margin: 0; font-size: clamp(17px, 1.8vw, 24px); line-height: 1.2; font-weight: 500; letter-spacing: .015em; }
.site-navigation { display: flex; justify-content: space-between; align-items: stretch; gap: 24px; min-height: 42px; padding: 0 var(--site-gutter); border-block: 1px solid #ffffff80; }
.site-navigation-links { display: flex; align-items: stretch; gap: 29px; }
.site-navigation-links > a, .site-navigation .utility-menu-trigger, .site-environment > summary {
  display: inline-flex; align-items: center; min-height: 41px; padding: 0;
  color: inherit; background: none; border: 0; border-radius: 0; text-decoration: none;
  font: 300 17px/1.3 var(--font); white-space: nowrap;
}
.site-navigation-links > a:hover, .site-navigation-links > a[aria-current="page"] { box-shadow: inset 0 -2px #fff; }
.site-environment { position: relative; }
.site-environment > summary { display: flex; gap: 8px; cursor: pointer; list-style: none; }
.site-environment > summary::-webkit-details-marker { display: none; }
.site-environment[open] > summary { box-shadow: inset 0 -2px #fff; }
.site-environment-options { position: absolute; top: 100%; left: 0; min-width: 230px; padding: 10px; background: #fff; box-shadow: 0 20px 45px #081c3238; }
.site-environment-options a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 12px 16px; color: var(--navy); font: 400 17px/1.4 var(--font); text-decoration: none; }
.site-environment-options a:hover, .site-environment-options a[aria-current="page"] { background: #edf7fb; }
.site-environment-options a[aria-current="page"]::after { content: "✓"; color: #007da5; }
.site-navigation-meta { display: flex; align-items: center; gap: 28px; }
.site-language { font-size: 14px; font-weight: 300; }
.site-search-link { display: grid; place-items: center; min-width: 40px; min-height: 40px; color: inherit; }
.site-search-link svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.site-menu-toggle { display: none; }
.site-header :is(a, button):focus-visible { outline-color: #91ddf7; }
.site-header .utility-menu-shell { position: relative; display: flex; width: auto; min-height: 0; }
.site-header .utility-menu-trigger { height: auto; width: auto; gap: 8px; box-shadow: none; }
.site-header .utility-menu-label { font: inherit; }
.site-chevron { font-size: 15px; }
.site-header .utility-menu {
  top: calc(100% + 1px); right: auto; left: -24px; width: min(650px, calc(100vw - 80px));
  max-height: min(72vh, 650px); padding: 22px; border: 0; border-radius: 0; overflow-y: auto;
  background: #fff; color: var(--navy); box-shadow: 0 20px 45px #081c3238; backdrop-filter: none;
}
.site-header .utility-menu:not([hidden]) { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.site-header .utility-pro-shell .utility-menu:not([hidden]) { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; }
.pro-tools { min-width: 0; }
.pro-access-panel { min-width: 0; padding-left: 28px; border-left: 1px solid var(--line); }
.pro-access-panel form { display: grid; gap: 12px; }
.pro-access-panel label { font: 400 13px/1.4 var(--font); color: var(--navy); }
.pro-access-panel input { width: 100%; min-width: 0; border: 1px solid #9badbd; border-radius: 0; padding: 12px; background: #fff; color: var(--navy); font: 400 16px/1.4 var(--font); }
.site-header .utility-menu .pro-access-submit { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; margin: 0; padding: 12px 14px; background: var(--navy); color: #fff; border: 0; border-radius: 0; font: 400 14px/1.4 var(--font); cursor: pointer; }
.site-header .utility-menu .pro-access-submit:hover { background: #164b68; }
.site-header .utility-menu .pro-access-submit:disabled { opacity: .6; cursor: wait; }
.pro-access-note, .pro-access-success, .pro-access-error { margin: 12px 0; font: 400 13px/1.5 var(--font); color: #536578; }
.pro-access-success { color: #276246; }
.pro-access-error { color: #a51c30; }
.pro-access-panel [hidden] { display: none; }
.site-header .utility-menu-tool[hidden] { display: none; }
.site-header .utility-menu-title { grid-column: 1 / -1; margin: 0 0 14px; opacity: 1; color: #536578; font: 400 13px/1.4 var(--font); letter-spacing: 0; }
.site-header .utility-menu-tool { padding: 15px 2px; min-height: 80px; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
.site-header .utility-menu-tool strong { color: var(--navy); font: 400 17px/1.25 var(--font); }
.site-header .utility-menu-tool small { color: #536578; font: 400 12px/1.4 var(--font); opacity: 1; }
.site-header .utility-menu-tool:hover { background: #edf7fb; }
.site-header .utility-menu-arrow { color: #007da5; }
.menu-pro-word { color: #c1272d; }
.site-header .utility-menu-trigger .menu-pro-word { color: #ff5a5f; }
@media (min-width: 721px) {
  .site-navigation { position: relative; }
  .site-header .utility-pro-shell { position: static; }
  .site-header .utility-pro-shell .utility-menu { left: 50%; right: auto; transform: translateX(-50%); width: min(820px, calc(100vw - 80px)); }
}
@media (min-width: 721px) and (max-width: 1100px) {
  .site-navigation { position: relative; }
  .site-navigation-links { flex-wrap: wrap; gap: 0 19px; }
  .site-header .utility-menu-shell { position: static; }
  .site-header .utility-menu-shell .utility-menu { left: var(--site-gutter); right: auto; }
  .site-header .utility-pro-shell .utility-menu { left: 50%; right: auto; }
}
body[data-route="home"] .site-header { background: #091726db; }
body[data-route="home"].site-scrolled .site-header { background: var(--navy); }

/* Context links stay at the top on working pages, never as a floating app dock. */
.context-navigation { display: flex; align-items: stretch; gap: 35px; padding: 0 var(--site-gutter); border-bottom: 1px solid var(--line); background: #f3f6f8; }
body[data-route="home"] .context-navigation { display: none; }
.context-label { display: none; }
body[data-route] .bottom-nav, body[data-space="learning"] .bottom-nav {
  position: static; inset: auto; transform: none; display: flex; align-items: stretch; flex-wrap: wrap;
  width: auto; max-width: none; margin: 0; padding: 0; gap: 22px; border: 0; border-radius: 0;
  background: transparent; box-shadow: none; backdrop-filter: none;
}
.context-navigation .nav-item { height: auto; min-height: 50px; padding: 0 3px; border-radius: 0; border: 0; background: none; color: #536578; font: 400 14px/1.3 var(--font); }
.context-navigation .nav-item-active { color: var(--navy); box-shadow: inset 0 -2px #007da5; }
.context-navigation .nav-item::after { display: none; }

/* Cinematic home: image edge-to-edge, cyan information plane and audience strip. */
body[data-route] #screen.screen { width: min(1380px, 100%); height: auto; min-height: 500px; margin: auto; padding: 42px var(--site-gutter) 80px; display: grid; gap: 26px; overflow: visible; }
body[data-route="home"] #screen.screen { display: block; width: 100%; max-width: none; padding: 0; margin: 0; overflow: visible; }
.home-stage.editorial-hero {
  position: relative; isolation: isolate; min-height: max(860px, 100svh); margin-top: -170px;
  padding: 210px var(--site-gutter) 60px; overflow: hidden; background: #286c92;
}
.home-stage::after { position: absolute; z-index: -1; content: ""; inset: 0; background: linear-gradient(180deg, #06132380, transparent 37%, #071b3026); pointer-events: none; }
.home-stage .hero-background-video { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; pointer-events: none; transition: filter 700ms ease; }
.home-stage[data-slide="1"] .hero-background-video { filter: saturate(.85); }
.home-stage[data-slide="2"] .hero-background-video { filter: saturate(.85) brightness(.9); }
.home-stage-inner { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: max(590px, calc(100svh - 270px)); }
.home-hero-card { width: min(590px, 54%); min-height: 490px; padding: 36px 40px 22px; background: #58b4d7ed; color: #102336; }
.home-stage[data-slide="1"] .home-hero-card { background: #4477c2ed; color: #fff; }
.home-stage[data-slide="2"] .home-hero-card { background: #384db3ed; color: #fff; }
.home-hero-card [data-hero-content] { display: flex; flex-direction: column; min-height: 386px; }
.hero-category { margin: 0 0 16px; font-size: 16px; font-weight: 500; }
.home-hero-card h1 { display: block; max-width: none; margin: 0 0 20px; color: inherit; font: 300 clamp(38px, 3.8vw, 50px)/1.04 var(--font); letter-spacing: -.015em; }
.home-hero-copy { max-width: 37ch; margin: 0 0 26px; font-size: 17px; line-height: 1.4; font-weight: 300; }
.home-hero-actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: 14px; margin-top: auto; }
.site-button { display: inline-flex; align-items: center; justify-content: center; min-height: 51px; padding: 13px 24px; background: #0f1e32; color: #fff; border: 1px solid transparent; border-radius: 0; text-decoration: none; font: 300 16px/1.4 var(--font); }
.site-button:hover { background: #1c3c56; }
.site-button-secondary { background: #0f1e3257; }
.site-button-secondary:hover { background: #0f1e3299; }
.home-hero-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; }
.home-slide-selector { display: flex; gap: 5px; }
.home-slide-selector button { display: grid; place-items: center; width: 29px; height: 42px; padding: 0; background: none; color: inherit; }
.home-slide-selector button span { width: 23px; height: 1px; background: currentColor; }
.home-slide-selector button[aria-pressed="true"] span { height: 5px; background: #fff; }
.hero-motion-control { display: grid; place-items: center; position: relative; width: 44px; height: 44px; color: inherit; cursor: pointer; }
.hero-motion-toggle { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.hero-motion-symbol { display: block; width: 15px; height: 18px; border-left: 5px solid currentColor; border-right: 5px solid currentColor; pointer-events: none; }
.hero-motion-toggle:not(:checked) + .hero-motion-symbol { width: 0; height: 0; border-block: 9px solid transparent; border-left: 14px solid currentColor; border-right: 0; }
.hero-motion-control:focus-within { outline: 2px solid currentColor; outline-offset: 1px; }
.home-audiences { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #0f1e32d9; }
.home-audiences a { display: grid; grid-template-columns: 1fr 22px; align-content: center; gap: 9px 14px; min-height: 122px; padding: 20px 24px; border-right: 1px solid #ffffff5c; color: #fff; text-decoration: none; }
.home-audiences a:last-child { border-right: 0; }
.home-audiences a > span { grid-column: 1 / -1; color: #e4edf3; font-size: 12px; font-weight: 300; }
.home-audiences strong { font-size: 17px; line-height: 1.4; font-weight: 300; }
.home-audiences i { font-size: 25px; font-weight: 300; font-style: normal; align-self: center; transition: transform 150ms; }
.home-audiences a:hover { background: #007da575; }
.home-audiences a:hover i { transform: translateX(4px); }

/* Editorial content below the first screen. */
.home-directory, .home-search-section { max-width: 1440px; margin: auto; padding: 85px var(--site-gutter) 95px; scroll-margin-top: 30px; }
.home-section-heading { margin-bottom: 40px; }
.site-kicker { margin: 0 0 20px; color: #007da5; font-size: 14px; font-weight: 400; letter-spacing: .025em; }
.home-section-heading > div { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.home-section-heading h2 { max-width: none; margin: 0; font: 300 clamp(30px, 3.5vw, 44px)/1.13 var(--font); color: inherit; }
.home-section-heading > div > p { max-width: 34ch; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
body[data-route="home"] .home-directory .module-grid,
body[data-route="home"].scenario-search-active .home-directory .module-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none;
  grid-auto-rows: minmax(285px, auto); gap: 24px; overflow: visible;
}
body[data-route="home"] .home-directory .module-card { min-height: 285px; border: 0; border-radius: 0; background: #eef4f7; box-shadow: none; overflow: hidden; transform: none; }
body[data-route="home"] .home-directory .module-card:nth-child(3n+2) { background: #e5f1f5; }
body[data-route="home"] .home-directory .module-card:nth-child(3n+3) { background: #e9edf5; }
body[data-route="home"] .home-directory .module-card::after { display: none; }
body[data-route="home"] .home-directory .module-card-button {
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: 114px auto auto; align-content: stretch; gap: 18px 10px;
  width: 100%; height: 100%; min-height: 285px; padding: 26px 30px; border-radius: 0; background: none; text-align: left;
}
body[data-route="home"] .home-directory .module-icon { grid-column: 1 / -1; justify-self: end; width: 108px; height: 108px; border: 0; border-radius: 0; background: none; color: #26718e; opacity: 1; }
body[data-route="home"] .home-directory .module-icon svg { width: 100%; height: 100%; stroke-width: 1.3; }
body[data-route="home"] .home-directory .module-seal { stroke: transparent; }
body[data-route="home"] .home-directory .module-copy { display: block; grid-column: 1 / -1; align-self: end; }
body[data-route="home"] .home-directory .module-title { display: block; color: var(--navy); font: 400 24px/1.18 var(--font); overflow: visible; overflow-wrap: normal; }
body[data-route="home"] .home-directory .module-focus { display: none; }
body[data-route="home"] .home-directory .module-row-end { display: flex; align-items: center; justify-content: space-between; grid-column: 1 / -1; }
body[data-route="home"] .home-directory .module-meta { color: #536578; font-size: 12px; font-weight: 400; }
body[data-route="home"] .home-directory .module-meta::before { content: "Пройдено "; }
body[data-route="home"] .home-directory .module-arrow { width: auto; height: auto; border: 0; border-radius: 0; background: none; color: #007da5; font-size: 27px; }
body[data-route="home"] .home-directory .module-card-products .module-card-button::after { content: "Відкрити матеріали →"; grid-column: 1 / -1; color: #007da5; font-size: 14px; }
body[data-route="home"] .home-directory .module-card-button:hover { background: #d1e8f280; }
body[data-route="home"] .home-directory .module-card-button:hover .module-title { color: #007da5; text-decoration: none; }
body[data-route="home"] .home-directory .module-card-button:focus-visible { outline: 3px solid #007da5; outline-offset: -3px; }
.home-tools { background: #edf2f5; scroll-margin-top: 30px; }
.home-tools-inner { max-width: 1440px; margin: auto; padding: 85px var(--site-gutter) 95px; }
.home-tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #d1dce3; border: 1px solid #d1dce3; }
.home-tool-grid > a { display: flex; flex-direction: column; padding: 30px; min-height: 300px; color: var(--navy); background: #fff; text-decoration: none; }
.home-tool-grid > a:hover { background: #e4f3fa; }
.tool-number { display: flex; justify-content: space-between; align-items: center; color: #708392; font-size: 13px; margin-bottom: 30px; }
.tool-pro { font-size: 11px; letter-spacing: .07em; }
.site-header .utility-menu-tool .anodos-pro-label, .home-tool-grid .tool-pro { color: #c1272d; font-weight: 700; }
.home-tool-grid h3 { margin: 0 0 14px; font: 400 24px/1.2 var(--font); }
.home-tool-grid p { margin: 0 0 25px; color: #536578; font: 300 16px/1.5 var(--font); }
.tool-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; color: #007da5; font-size: 14px; }
.tool-link i { font: 300 25px/1 var(--font); }
body[data-route="home"] .home-search-section { padding-bottom: 35px; }
body[data-route="home"] .home-search-section .scenario-search-panel { padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; }
body[data-route="home"] .home-search-section .scenario-search-label input { height: 62px; padding: 0 20px; font-size: 20px; border: 1px solid #809baa; border-radius: 0; background: #fff; color: var(--navy); }
body[data-route="home"] .home-search-section .scenario-hint { margin-top: 14px; font: 400 15px/1.5 var(--font); color: #536578; }
body[data-route="home"] .home-search-section .scenario-results-panel { margin-top: 24px; padding: 0; border-radius: 0; box-shadow: none; }
body[data-route="home"].scenario-search-active .home-search-section .scenario-results-panel { display: block; }
.scenario-result-card { border-radius: 0; box-shadow: none; }

/* Reframed inner application surfaces. */
.primary-tab-card, .reference-card, .reference-hero, .article-card, .content-section,
.video-panel, .questionnaire-generator-form-card, .questionnaire-generator-result,
.contract-review-dropzone, .contract-review-result, .profile-panel { border-radius: 0; box-shadow: none; }
.module-context-head, .contract-review-head, .bank-accreditation-head, .questionnaire-generator-head { padding: 30px 32px; background: #edf5f9; border: 0; }
.module-context-head h1, .contract-review-head h1, .bank-accreditation-head h1,
.reference-card-head h1, .client-recommendation-workspace h1, .questionnaire-generator-workspace h1 {
  max-width: none; font-family: var(--font); font-size: clamp(30px, 3.5vw, 46px); font-weight: 300; line-height: 1.15; color: var(--navy);
}
.module-context-head .hero-copy, .contract-review-head .hero-copy, .bank-accreditation-head .hero-copy { max-width: 65ch; color: #536578; font: 300 17px/1.5 var(--font); }
.module-context-head .eyebrow, .contract-review-head .eyebrow, .bank-accreditation-head .eyebrow { color: #007da5; font: 400 13px/1.4 var(--font); text-transform: none; }
.module-section-row.article-panel-link { min-height: 76px; border-bottom: 1px solid var(--line); border-radius: 0; }
.module-section-row.article-panel-link span { color: var(--navy); font-weight: 400; font-size: 21px; }
.module-section-row.article-panel-link small { color: #536578; font-weight: 400; }
.primary-action, .secondary-action, .ghost-button, .article-action,
.registration-form input, .reference-search-label input, .glossary-toolbar select,
.reference-workspace-glossary .glossary-related button { border-radius: 0; box-shadow: none; }
.primary-action { background: var(--navy); color: #fff; font-weight: 400; }
.secondary-action { border-color: #9eb0bc; background: #fff; color: var(--navy); font-weight: 400; }
.reference-workspace { height: auto; min-height: 680px; }
.reference-card { height: auto; min-height: 660px; border: 1px solid var(--line); }
.reference-workspace .reference-card-head { padding: 25px; }
.reference-workspace .law-article { padding: 30px; }
body[data-route="bank-accreditation"] .bank-accreditation-table-shell { max-height: 70vh; overflow: auto; }
body[data-route="bank-accreditation"] .bank-accreditation-workspace { height: auto; min-height: 650px; }

/* Same full website chrome on independent tools. */
.editorial-tool { min-height: 100svh; font-family: var(--font); }
.editorial-tool > main { width: min(1280px, 100%); max-width: 1280px; margin: 0 auto; padding: 65px var(--site-gutter) 80px; }
.editorial-tool h1, .editorial-tool .access-gate h1 { font-family: var(--font); font-size: clamp(32px, 4vw, 52px); font-weight: 300; line-height: 1.1; letter-spacing: -.025em; }
.editorial-tool :is(.workspace, .candidate, .upload-panel, .result-panel, .dropzone, button, input, textarea, .map-link) { border-radius: 0; box-shadow: none; }
.editorial-tool .workspace { border-color: #d7dfe5; }
.editorial-tool .result-panel:not(.has-result) { background: var(--navy); }
.editorial-tool .access-gate { max-width: 800px; margin: 15px auto; padding: 40px; border-top: 4px solid var(--site-blue); }
.editorial-tool .access-gate h1 { font-size: 36px; }

/* Full-width corporate footer, with only real destinations. */
.site-footer { padding: 55px var(--site-gutter) 25px; margin: 0; border: 0; background: var(--navy); color: #fff; }
.site-footer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 50px; }
.site-footer .site-brand > span { font-size: 38px; }
.site-footer .site-brand svg { width: 42px; }
.site-back-top { width: 52px; height: 52px; border: 1px solid #ffffff70; border-radius: 0; background: #ffffff12; color: #fff; font-size: 28px; font-weight: 300; }
.site-back-top:hover { background: #ffffff29; }
.site-footer-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; max-width: 1100px; margin-bottom: 55px; }
.site-footer-columns > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.site-footer h2 { margin: 0 0 7px; font: 400 15px/1.4 var(--font); color: #fff; }
.site-footer a { color: #d0dce5; font-size: 15px; font-weight: 300; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; padding-top: 25px; border-top: 1px solid #ffffff35; color: #c7d5df; font-size: 12px; font-weight: 300; }

@media (min-width: 1600px) {
  .home-stage-inner { max-width: 1660px; margin: auto; }
}
@media (max-width: 1050px) and (min-width: 721px) {
  .site-header .utility-menu { left: -130px; width: min(610px, calc(100vw - 64px)); }
  .site-navigation-links { gap: 19px; }
  .site-navigation-links > a, .site-navigation .utility-menu-trigger, .site-environment > summary { font-size: 15px; }
  .home-hero-card { width: min(590px, 66%); }
  .home-hero-actions { gap: 10px; }
  .site-button { padding-inline: 17px; }
  .home-directory .module-grid { gap: 18px; }
  body[data-route="home"] .home-directory .module-card-button { padding: 23px; }
  body[data-route="home"] .home-directory .module-title { font-size: 21px; }
  .home-tool-grid > a { padding: 25px; }
}
@media (max-width: 720px) {
  :root { --site-gutter: 22px; --site-header-offset: 106px; }
  .site-header { top: 0; }
  .site-masthead { min-height: 86px; padding-block: 18px; }
  .site-brand { gap: 8px; }
  .site-brand > span { font-size: 37px; }
  .site-brand svg { width: 39px; height: 34px; }
  .site-claim { display: none; }
  .site-menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 0; background: none; color: #fff; }
  .site-menu-toggle span { display: block; width: 25px; height: 1px; background: currentColor; }
  .site-menu-open .site-menu-toggle span:first-child { transform: translateY(7px) rotate(45deg); }
  .site-menu-open .site-menu-toggle span:nth-child(2) { opacity: 0; }
  .site-menu-open .site-menu-toggle span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .site-navigation { display: none; position: absolute; top: 100%; left: 0; width: 100%; padding: 15px 22px 24px; border: 0; background: #0f1e32; max-height: calc(100dvh - 86px); overflow-y: auto; }
  .site-menu-open .site-navigation { display: block; }
  .site-navigation-links { display: flex; flex-direction: column; gap: 0; }
  .site-navigation-links > a, .site-navigation .utility-menu-trigger, .site-environment > summary { min-height: 54px; width: 100%; padding: 12px 0; border-bottom: 1px solid #ffffff35; font-size: 20px; }
  .site-environment-options { position: static; box-shadow: none; }
  .site-navigation .utility-menu-shell { display: block; }
  .site-navigation-meta { padding-top: 18px; justify-content: space-between; }
  .site-header .utility-menu { position: static; width: 100%; max-height: none; padding: 15px; overflow: visible; }
  .site-header .utility-menu:not([hidden]) { grid-template-columns: 1fr; }
  .site-header .utility-pro-shell .utility-menu:not([hidden]) { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pro-access-panel { padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .site-header .utility-menu-tool { min-height: 64px; }
  .context-navigation { gap: 0; padding: 0 15px; }
  .context-label { display: none; }
  body[data-route] .bottom-nav { width: 100%; flex-wrap: nowrap; gap: 0; justify-content: space-between; }
  .context-navigation .nav-item { padding: 0 7px; min-height: 48px; font-size: 12px; }
  body[data-route] #screen.screen { padding: 24px 18px 50px; min-height: 500px; }
  body[data-route="home"] #screen.screen { padding: 0; }
  .home-stage.editorial-hero { margin-top: -86px; min-height: 0; padding: 120px 22px 24px; }
  .home-stage-inner { min-height: 0; gap: 25px; }
  .home-stage .hero-background-video { object-position: 66% center; }
  .home-hero-card { width: 100%; min-height: 0; padding: 28px 25px 16px; }
  .home-hero-card [data-hero-content] { min-height: 364px; }
  .hero-category { font-size: 14px; margin-bottom: 20px; }
  .home-hero-card h1 { font-size: clamp(32px, 8.7vw, 44px); margin-bottom: 21px; line-height: 1.06; }
  .home-hero-copy { font-size: 15px; line-height: 1.45; }
  .home-hero-actions { gap: 9px; }
  .site-button { min-height: 47px; padding: 11px 14px; font-size: 13px; }
  .home-hero-controls { margin-top: 15px; }
  .home-audiences { grid-template-columns: 1fr; }
  .home-audiences a { min-height: 87px; padding: 16px 20px; border-right: 0; border-bottom: 1px solid #ffffff45; gap: 4px 10px; }
  .home-audiences a:last-child { border-bottom: 0; }
  .home-audiences strong { font-size: 16px; }
  .home-directory, .home-search-section, .home-tools-inner { padding: 55px 22px; }
  .home-section-heading { margin-bottom: 28px; }
  .home-section-heading > div { display: block; }
  .home-section-heading > div > p { margin-top: 18px; font-size: 15px; }
  .site-kicker { margin-bottom: 14px; font-size: 12px; }
  body[data-route="home"] .home-directory .module-grid,
  body[data-route="home"].scenario-search-active .home-directory .module-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(230px, auto); gap: 14px; }
  body[data-route="home"] .home-directory .module-card { min-height: 230px; }
  body[data-route="home"] .home-directory .module-card-button { min-height: 230px; padding: 19px 16px; grid-template-rows: 80px auto auto; gap: 15px 6px; }
  body[data-route="home"] .home-directory .module-icon { width: 72px; height: 72px; }
  body[data-route="home"] .home-directory .module-title { font-size: 18px; overflow-wrap: anywhere; }
  body[data-route="home"] .home-directory .module-meta { font-size: 10px; }
  body[data-route="home"] .home-directory .module-card-products .module-card-button::after { content: "Відкрити →"; font-size: 12px; }
  .home-tool-grid { grid-template-columns: 1fr; }
  .home-tool-grid > a { min-height: 240px; padding: 26px; }
  .tool-number { margin-bottom: 23px; }
  .home-tool-grid h3 { font-size: 24px; }
  body[data-route="home"] .home-search-section .scenario-search-label input { font-size: 16px; height: 54px; }
  .module-context-head, .contract-review-head, .bank-accreditation-head, .questionnaire-generator-head { padding: 24px 20px; }
  .module-context-head h1, .contract-review-head h1, .bank-accreditation-head h1 { font-size: 32px; }
  .module-context-head .hero-copy, .contract-review-head .hero-copy, .bank-accreditation-head .hero-copy { font-size: 15px; }
  .module-section-row.article-panel-link span { font-size: 18px; }
  .reference-workspace, .reference-card { min-height: 0; height: auto; }
  .reference-workspace .reference-card-head, .reference-workspace .law-article { padding: 18px; }
  .editorial-tool > main { padding: 40px 22px 55px; }
  .editorial-tool .access-gate { padding: 25px 20px; }
  .editorial-tool .access-gate h1 { font-size: 28px; }
  .site-footer { padding: 40px 22px 25px; }
  .site-footer-top { margin-bottom: 35px; }
  .site-footer-columns { grid-template-columns: 1fr 1fr; gap: 35px 20px; margin-bottom: 40px; }
  .site-footer a { font-size: 14px; }
  .site-footer-bottom { flex-direction: column; font-size: 11px; }
}
@media (max-width: 360px) {
  .home-hero-card { padding: 25px 20px 14px; }
  .home-hero-card h1 { font-size: 31px; }
  .home-hero-actions { flex-direction: column; }
  body[data-route="home"] .home-directory .module-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-motion-control { display: none; }
  .home-stage .hero-background-video, .home-audiences i { transition: none; }
}
