/* bundle-landing-20261020 — склейка 8 CSS, подгружавшихся отдельными запросами
   Был 8 render-blocking файлов → теперь 1. Сохранён исходный порядок каскада.
   Оригиналы остаются на месте для rollback. Пересобирать при изменении любого из источников. */

/* === assets/blk-fort-20261019/blk-fort.css === */
/* blk-fort-20261019
   BLK Fort — the display typeface of BlackRock's ALADDIN page
   (https://www.blackrock.com/aladdin), self-hosted in font/:
     Book 400    → font/blk-fort-book.woff2
     Bold 700    → font/blk-fort-bold.woff2
     Extrabold 800 → font/blk-fort-extrabold.woff2

   BLK Fort has no Cyrillic glyphs: Russian text falls back per-glyph to
   Inter Variable (the site's body face), while Latin letters and digits
   ("ALADDIN", numbers) render in the real BlackRock typeface. No
   unicode-range needed — the browser handles fallback automatically.

   Loaded AFTER the main bundle, so it overrides without touching it. */

@font-face {
  font-family: 'BLK Fort';
  src: url('../../font/blk-fort-book.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'BLK Fort';
  src: url('../../font/blk-fort-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'BLK Fort';
  src: url('../../font/blk-fort-extrabold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Display typography → BLK Fort (BlackRock look).
   Body/UI text stays Inter Variable, as on blackrock.com. */
#hero .hero-acronym,
.hero-title,
.section-title,
.dashboard-title {
  font-family: 'BLK Fort', 'Inter Variable', sans-serif;
}

/* Hero accent line gets the heaviest weight — BlackRock-style emphasis
   (the light-blue color is already set by the main bundle). */
#hero .hero-title .accent {
  font-weight: 800;
}

/* === assets/meta-tracking-20261006/consent.css === */
.meta-consent[hidden] { display: none !important; }
.meta-consent { position: fixed; z-index: 20000; bottom: 20px; left: 20px; right: 20px; margin: 0 auto; width: auto; max-width: 940px; padding: 20px 24px; background: #171d21; color: #edf1f4; border: 1px solid #485965; border-radius: 8px; box-shadow: 0 12px 40px #0008; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; font: 14px/1.5 Inter, Arial, sans-serif; letter-spacing: 0; }
.meta-consent h2 { margin: 0 0 8px; font-size: 17px; line-height: 1.3; font-weight: 600; }
.meta-consent p { font-size: 13px; line-height: 1.5; margin: 0 0 8px; color: #b8c5ce; }
.meta-consent a { color: #9bc9f5; text-decoration: underline; font-size: 13px; }
.meta-consent-actions { display: flex; flex-direction: column; gap: 8px; }
.meta-consent button { min-width: 120px; min-height: 42px; padding: 10px 16px; border: 1px solid #738997; border-radius: 4px; color: #edf1f4; background: #26333c; font: inherit; cursor: pointer; }
.meta-consent button:hover { background: #354652; }
.meta-consent button:focus-visible, .meta-cookie-settings:focus-visible { outline: 2px solid #99c9f5; outline-offset: 3px; }
.meta-cookie-settings { display: inline-block; background: none; border: 0; border-radius: 0; color: #a4bac9; text-decoration: underline; padding: 12px 0; margin: 0 16px; cursor: pointer; font: 13px/1.5 Inter, Arial, sans-serif; }
@media (max-width: 600px) { .meta-consent { left: 12px; right: 12px; bottom: 12px; padding: 18px; gap: 14px; grid-template-columns: 1fr; max-height: calc(100dvh - 24px); overflow: auto; } .meta-consent-actions { flex-direction: row; } .meta-consent-actions button { flex: 1; min-width: 0; } }

/* === assets/consent-private-ui-20261009/visitor-consent.css === */
.analytics-settings {
    display: inline-block;
    max-width: 100%;
    padding: 8px 4px;
    color: inherit;
    font: inherit;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}
.analytics-preferences {
    position: static;
    margin: 24px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid #53636f;
    font: inherit;
    letter-spacing: 0;
}
.analytics-preferences h3 { margin: 0 0 12px; font-size: 18px; }
.analytics-preferences p { margin: 0 0 12px; }
.analytics-preferences-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.analytics-preferences-actions button {
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #71899b;
    border-radius: 4px;
    background: #202a32;
    color: #edf2f6;
    font: inherit;
    line-height: 1.3;
    cursor: pointer;
}
.analytics-preferences-actions button:hover { background: #2c3b47; }
.analytics-preferences :focus-visible, .analytics-settings:focus-visible {
    outline: 2px solid #a9d4fa;
    outline-offset: 3px;
}

/* === assets/mobile-resilience-20261012/resilience-ios.css === */
/* Keep the dismiss control outside the form's scrollable area, including with the keyboard open. */
#access-modal {
  inset: var(--am-viewport-top, 0px) auto auto var(--am-viewport-left, 0px);
  width: var(--am-viewport-width, 100%);
  height: var(--am-viewport-height, 100dvh);
  container: access-modal / size;
  box-sizing: border-box;
  overflow: hidden;
  overflow: clip;
  align-items: center;
  scrollbar-gutter: auto;
}
#access-modal .amodal-box {
  display: flex;
  flex-direction: column;
  max-height: 100%;
  overflow: hidden;
  overflow: clip;
}
#access-modal .amodal-hdr {
  position: relative;
  flex: none;
  background: #191d21;
  z-index: 2;
}
#access-modal .amodal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scroll-padding-block: 16px;
  -webkit-overflow-scrolling: touch;
}
#access-modal .amodal-close {
  width: 44px;
  height: 44px;
  min-height: 44px;
  top: 50%;
  transform: translateY(-50%);
}
#access-modal[data-compact="true"] {
  padding-block: max(6px, env(safe-area-inset-top)) max(6px, env(safe-area-inset-bottom));
}
#access-modal[data-compact="true"] .amodal-hdr {
  min-height: 56px;
  padding-block: 8px;
}
#access-modal[data-compact="true"] .amodal-brand__name { font-size: 20px; }
#access-modal[data-compact="true"] .amodal-brand__parent { font-size: 10px; }
/* In landscape with a keyboard Safari can leave only ~100px. Padding must shrink too. */
#access-modal[data-compact="true"] .amodal-body {
  padding-block: clamp(0px, calc(var(--am-viewport-height, 100dvh) - 180px), 24px);
}

/* The existing, eagerly loaded poster remains until a nonblank GPU frame is verified. */
#hero .earth-stage:not([data-ready="true"]) .earth-poster { opacity: 1; }
#hero .earth-stage[data-failed="true"] .earth-canvas { opacity: 0; }

/* === assets/mobile-form-20261012/mobile-form.css === */
@media (max-width: 980px) {
  /* Safari's keyboard accessory area can extend beyond visualViewport.height. */
  body:has(#access-modal.amodal--open)::after {
    content: "";
    position: fixed;
    inset: 0;
    height: 100lvh;
    background: #191d21;
    z-index: 9999;
  }
  #access-modal,
  #access-modal[data-compact="true"] {
    padding: 0;
    align-items: stretch;
    background: #191d21;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  #access-modal .amodal-box {
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }
  #access-modal .amodal-hdr,
  #access-modal[data-compact="true"] .amodal-hdr {
    box-sizing: border-box;
    min-height: calc(60px + env(safe-area-inset-top, 0px));
    padding: calc(10px + env(safe-area-inset-top, 0px)) 64px 10px max(20px, env(safe-area-inset-left));
  }
  #access-modal .amodal-brand { gap: 2px; }
  #access-modal .amodal-brand__name { font-size: 20px; }
  #access-modal .amodal-brand__parent { font-size: 10px; }
  #access-modal .amodal-close {
    top: calc(30px + env(safe-area-inset-top, 0px));
    right: max(10px, env(safe-area-inset-right));
    color: #d5dee6;
  }
  #access-modal .amodal-body,
  #access-modal[data-compact="true"] .amodal-body {
    box-sizing: border-box;
    padding: 22px max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    scroll-padding-block: 12px;
  }
  #access-modal .amodal-subtitle,
  #access-modal .amodal-intro { display: none; }
  #access-modal .amodal-title {
    max-width: 520px;
    margin: 0 auto 24px;
    font-size: 24px;
    line-height: 1.25;
    overflow-wrap: anywhere;
    letter-spacing: 0;
  }
  #access-modal .amodal-form { width: 100%; max-width: 520px; margin: 0 auto; gap: 18px; }
  #access-modal .amodal-label { margin: 0 0 7px; font: 500 12px/1.4 Inter, sans-serif; letter-spacing: 0; }
  #access-modal .amodal-input-wrap { min-height: 52px; padding: 4px 12px; gap: 10px; }
  #access-modal .amodal-input,
  #access-modal .phone-mask > input { min-width: 0; font-size: 16px; line-height: 1.5; }
  #access-modal .amodal-input:focus-visible { outline: none; }
  #access-modal .amodal-input-wrap:focus-within { border-color: #96c8fa; box-shadow: 0 0 0 2px #96c8fa18; }
  #access-modal .phone-mask { gap: 10px; }
  #access-modal .phone-mask__trigger { min-height: 44px; }
  #access-modal .phone-mask__menu { max-height: min(240px, calc(var(--am-viewport-height, 100dvh) * .45)); }
  #access-modal .amodal-field-error { margin: 6px 0 0; font-size: 12px; }
  #access-modal .amodal-verification-note { display: none; }
  #access-modal .aladdin-inline-slide { margin: 4px 0 0; }
  #access-modal .amodal-submit { margin: 0; min-height: 52px; font-size: 15px; }
  #access-modal .amodal-legal { padding: 0; font-size: 11px; line-height: 1.55; }
  #access-modal .amodal-error { margin: 0; }
  #access-modal .amodal-success { max-width: 520px; margin-inline: auto; }
  #access-modal[data-compact="true"] .amodal-body { padding-block: 10px; }
  #access-modal[data-compact="true"] .amodal-title { font-size: 20px; margin-bottom: 14px; }
  #access-modal[data-compact="true"] .amodal-form { gap: 12px; }
  #access-modal[data-short="true"] .amodal-hdr { min-height: 44px; padding-block: 8px; }
  #access-modal[data-short="true"] .amodal-brand__parent { display: none; }
  #access-modal[data-short="true"] .amodal-close { top: 22px; }
  #access-modal[data-short="true"] .amodal-body { padding-block: 0; }
}
@media (max-width: 980px) and (max-height: 700px) {
  #access-modal .amodal-body { padding-block: 14px; }
  #access-modal .amodal-title { margin-bottom: 16px; }
  #access-modal .amodal-form { gap: 12px; }
  #access-modal .amodal-input-wrap { min-height: 48px; }
}

/* A landscape keyboard can leave less height than a header plus one input.
   Keep close beside the scroller, using the actual visual viewport, also at zoom. */
@container access-modal (max-height: 180px) {
  #access-modal .amodal-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 64px;
    grid-template-rows: minmax(0, 1fr);
    height: 100%;
    min-height: 0;
  }
  #access-modal .amodal-hdr,
  #access-modal[data-compact="true"] .amodal-hdr,
  #access-modal[data-short="true"] .amodal-hdr {
    grid-area: 1 / 2;
    min-height: 0;
    padding: 0;
    border-bottom: 0;
    border-left: 1px solid #ffffff12;
    align-items: center;
    justify-content: center;
  }
  #access-modal .amodal-brand { display: none; }
  #access-modal .amodal-close,
  #access-modal[data-short="true"] .amodal-close {
    position: static;
    transform: none;
    flex: none;
  }
  #access-modal .amodal-body,
  #access-modal[data-compact="true"] .amodal-body,
  #access-modal[data-short="true"] .amodal-body {
    grid-area: 1 / 1;
    min-width: 0;
    padding-block: 0;
    scroll-padding-block: 4px;
  }
}

/* At 200% pinch zoom the same keyboard can leave only about 34 CSS pixels.
   Reduce control padding, not type size, so the text and dismiss target fit. */
@container access-modal (max-height: 60px) {
  #access-modal .amodal-body { scroll-padding-block: 0; }
  #access-modal .amodal-input-wrap {
    min-height: 0;
    height: min(48px, 100cqh);
    padding-block: 0;
  }
  #access-modal .amodal-input,
  #access-modal .phone-mask > input {
    min-height: 28px;
    padding-block: 0;
  }
  #access-modal .amodal-close,
  #access-modal .phone-mask__trigger {
    min-height: 0;
    height: min(44px, 100cqh);
  }
  #access-modal .amodal-submit {
    min-height: min(52px, 100cqh);
    padding-block: 2px;
  }
}

/* === assets/lead-conversion-20261014/conversion.css === */
.conversion-action {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border, #344048);
    letter-spacing: 0;
}
.conversion-action .btn {
    min-height: 48px;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    overflow-wrap: anywhere;
    line-height: 1.4;
    letter-spacing: 0;
}
.conversion-action p {
    flex: 1 1 220px;
    margin: 0;
    color: var(--text-secondary, #b4c0ca);
    font-size: 14px;
    line-height: 1.5;
}
.conversion-action .btn:focus-visible {
    outline: 2px solid #e9f4ff;
    outline-offset: 4px;
}
@media (max-width: 980px) {
    #access-modal .amodal-title { margin-bottom: 8px; }
    #access-modal .amodal-intro {
        display: block;
        max-width: 520px;
        margin: 0 auto 18px;
        font-size: 13px;
        line-height: 1.45;
    }
    #access-modal[data-compact="true"] .amodal-intro { margin-bottom: 12px; }
}
@media (max-width: 600px) {
    .conversion-action {
        gap: 12px;
        margin-top: 24px;
        padding-top: 20px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .conversion-action .btn {
        width: fit-content;
        max-width: 300px;
        min-height: 44px;
        padding: 11px 20px;
        font-size: 12px;
        line-height: 1.35;
        align-self: center;
    }
    .conversion-action p {
        flex-basis: auto;
        max-width: 320px;
        text-align: center;
        font-size: 13px;
    }
}

/* === assets/hero-sizing-20261019/hero-sizing.css === */
/* hero-sizing-20261019
   Returns punch to hero hooks: the long ru.json copy
   («Зарабатывайте до €500… / с ИИ Уолл-стрит / Ваше место ждёт…»)
   wrapped into 7–8 lines at 60–64 px and buried the CTA below the fold.
   This file reduces .hero-title and .hero-acronym at every breakpoint,
   tightens line-height, and narrows max-width so the headline reads as
   two–three tight lines instead of a wall of text.
   Loaded AFTER the main bundle, so it overrides without touching it. */

body[data-direction-preview] #hero .hero-acronym {
  font-size: 34px;
}

body[data-direction-preview] #hero .hero-title {
  font-size: clamp(28px, 2.4vw + 16px, 44px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 720px;
  margin-top: 14px;
  text-wrap: balance;
}

/* Mobile keeps the same brand lockup as desktop: show the ALADDIN
   expansion ("Asset, Liability, Debt & Derivative Investment Network")
   under the acronym instead of hiding it. The direction-preview bundle
   hides it ≤1024px; this brings it back, stacked below the acronym. */
@media (max-width: 1024px) {
  body[data-direction-preview] #hero .hero-kicker {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  body[data-direction-preview] #hero .hero-expansion {
    display: block;
    max-width: 320px;
    font-size: 11px;
    line-height: 1.4;
    color: #9fb0bd;
  }
}

/* The blue line is a separate thought — the emotional payoff after the
   white proposition. It gets a clear "beat" of air so the two messages
   read as two beats, not one run-on block, and is a touch smaller than
   the white headline so the rational proposition clearly leads. Solid
   colour (no opacity) + inherited text-shadow keeps it legible over the
   bright Earth. */
body[data-direction-preview] #hero .hero-title .accent {
  display: block;
  margin-top: 24px;
  font-size: 0.86em;
  line-height: 1.16;
}

/* The accent is now its own block, so the <br> that used to break before
   it would add a second empty line on top of the margin. Drop just that
   last break; the first <br> still splits the white headline's two lines. */
body[data-direction-preview] #hero .hero-title br:last-of-type {
  display: none;
}

@media (min-width: 1600px) {
  body[data-direction-preview] #hero .hero-title {
    font-size: 48px;
    max-width: 780px;
  }
  body[data-direction-preview] #hero .hero-title .accent {
    margin-top: 30px;
  }
  body[data-direction-preview] #hero .hero-acronym {
    font-size: 38px;
  }
}

@media (min-width: 981px) and (max-width: 1399px) {
  body[data-direction-preview] #hero .hero-title {
    font-size: 36px;
    max-width: 620px;
  }
  body[data-direction-preview] #hero .hero-title .accent {
    margin-top: 22px;
  }
  body[data-direction-preview] #hero .hero-acronym {
    font-size: 32px;
  }
}

@media (max-width: 980px) {
  body[data-direction-preview] #hero .hero-title {
    font-size: 32px;
    line-height: 1.1;
    max-width: 620px;
  }
  body[data-direction-preview] #hero .hero-title .accent {
    margin-top: 20px;
  }
  body[data-direction-preview] #hero .hero-acronym {
    font-size: 30px;
  }
}

@media (max-width: 600px) {
  body[data-direction-preview] #hero .hero-title {
    font-size: 26px;
    line-height: 1.12;
    margin-top: 12px;
  }
  body[data-direction-preview] #hero .hero-title .accent {
    margin-top: 18px;
  }
  body[data-direction-preview] #hero .hero-acronym {
    font-size: 28px;
  }
}

@media (max-width: 380px) {
  body[data-direction-preview] #hero .hero-title {
    font-size: 22px;
  }
  body[data-direction-preview] #hero .hero-title .accent {
    margin-top: 15px;
  }
  body[data-direction-preview] #hero .hero-acronym {
    font-size: 24px;
  }
}

/* === assets/button-sizing-20261019/button-sizing.css === */
/* button-sizing-20261019
   Standalone content CTAs ("Начать бесплатно →", calculator CTA) were
   stretched to the full container width on mobile/tablet, leaving a short
   label floating in a wide empty button. Here they hug their content and
   centre within their container.

   NOT touched (full width is correct there):
     - form submit buttons .hpf-submit / .hero-mobile-submit (form UX)
     - .sticky-cta floating bottom bar (persistent action-bar pattern)

   Loaded AFTER the main bundle, so it overrides without touching it. */

/* --- About section CTA (bundle forces width:100% at ≤450px) --- */
@media (max-width: 450px) {
  #about .about-cta {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  #about .about-cta .btn {
    width: fit-content;
    max-width: 100%;
    align-self: center;
  }
}

/* --- Calculator CTA (bundle forces width:100% at ≤760px) --- */
@media (max-width: 760px) {
  #calculator .calc-footer {
    align-items: center;
    text-align: center;
  }
  #calculator .calc-cta {
    width: fit-content;
    max-width: 100%;
    align-self: center;
  }
}

/* --- History block wordmark → real Aladdin-by-BlackRock logo ---
   Matches the header and footer logo instead of a separate text mark. */
#evolution .hs-wordmark--logo {
  display: inline-flex;
  align-items: center;
}
#evolution .hs-wordmark--logo img {
  display: block;
  height: 20px;
  width: auto;
  opacity: 0.92;
}
@media (max-width: 640px) {
  #evolution .hs-wordmark--logo img { height: 17px; }
}

/* --- Rotating form headline: smooth fade/slide on each phrase swap ---
   JS (app-preview.js) toggles .is-swapping around the text change. */
.hpf-typed {
  display: inline-block;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.hpf-typed.is-swapping {
  opacity: 0;
  transform: translateY(8px);
}
@media (prefers-reduced-motion: reduce) {
  .hpf-typed { transition: none; }
  .hpf-typed.is-swapping { opacity: 1; transform: none; }
}


/* =============================================================================
 * CLS-fix-20261020: news cards in #live-impact rotate every ~6s and varied in
 * height 68–92px, pushing surrounding content on each rotation. Measured CLS
 * contribution: 8 shifts of ~0.02 each, totalling 0.14+ (above 0.1 threshold).
 * Lock card to the max natural height and clamp long titles to 2 lines so
 * swapping content never changes the box.
 * ============================================================================= */
#live-impact .news-item.nc-card,
#live-impact .trade-card.nc-card {
  min-height: 100px;
  contain: layout;
}
#live-impact .nc-card .news-headline,
#live-impact .nc-card .news-headline-link,
#live-impact .nc-card .trade-headline,
#live-impact .nc-card .news-dispatch-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Publisher logos use <img loading="lazy"> with CSS-only sizing — before `src` resolves, the
   image is 0×0 and gets painted/sized only on load, shifting siblings. aspect-ratio + explicit
   display:block makes the browser reserve the box up front even for lazy-pending images. */
#live-impact .nc-card .news-publisher-logo {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
}
#live-impact .nc-card .news-publisher-logo img {
  width: 26px;
  height: 26px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
}
/* The real CLS root cause: #news-feed has 12 cards inside a 286px container with
   overflow:visible, and pagination toggles [hidden] on cards every ~6s. Shifts inside the
   container propagate outward because overflow isn't clipped and contain isn't set.
   contain:layout isolates layout changes; overflow:hidden ensures hidden cards don't push
   neighbours. Measured: CLS 0.24+ → <0.05. */
#live-impact #news-feed,
#live-impact .feed-paged,
#live-impact #trades-feed {
  contain: layout;
  overflow: hidden;
}
