/* The site's chrome in the landing's language (landing v5, 31.10.2026): the nav, the dark final band and the footer.
   Markup: includes/site-chrome.php. Loaded by the landing (before landing-relaunch.css) and by every public page (the
   public nav links it), so the chrome looks and behaves the same everywhere. Self-contained: it brings its own fonts,
   tokens and resets, scoped to the chrome, and leaves the page around it alone. */
@font-face { font-family: 'TSB Inter'; src: url('/assets/fonts/Inter-Regular-ui.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'TSB Inter'; src: url('/assets/fonts/Inter-Medium-ui.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'TSB Inter'; src: url('/assets/fonts/Inter-SemiBold-ui.woff2') format('woff2'); font-weight: 600 700; font-display: swap; }

:root {
    --lr-accent: #443ab8;
    --lr-accent-hover: color-mix(in srgb, var(--lr-accent) 86%, black);
    --lr-ink: #121322;
    --lr-line: #e3e5ec;
    --lr-font: 'TSB Inter', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --lr-page: 1400px;
    --lr-gutter: 48px;
    --lr-nav-h: 64px;
    /* Every public page's content sits on the header's edges: the same width as .lr-container, measured from the
       content's own box (100%, never 100vw, which would add the scrollbar). Pages read it, nobody re-derives it. */
    --lr-content-width: min(var(--lr-page), calc(100% - 2 * var(--lr-gutter)));
}
@media (max-width: 1100px) { :root { --lr-gutter: 32px; } }
@media (max-width: 700px) { :root { --lr-gutter: 16px; } }

/* Resets inside the chrome only. */
.lr-nav, .lr-final, .lr-footer { box-sizing: border-box; font-family: var(--lr-font); font-size: 16px; line-height: 1.5; letter-spacing: normal; text-align: left; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
:where(.lr-nav, .lr-final, .lr-footer) *, :where(.lr-nav, .lr-final, .lr-footer) *::before, :where(.lr-nav, .lr-final, .lr-footer) *::after { box-sizing: border-box; }
:where(.lr-nav, .lr-final, .lr-footer) :where(h1, h2, h3, h4, p, ul, ol) { margin: 0; }
:where(.lr-nav, .lr-final, .lr-footer) :where(ul, ol) { padding: 0; list-style: none; }
:where(.lr-nav, .lr-final, .lr-footer) a { color: inherit; text-decoration: none; }
:where(.lr-nav, .lr-final, .lr-footer) :where(img, svg) { display: block; }
:where(.lr-nav, .lr-final, .lr-footer) button { font: inherit; color: inherit; }
:where(.lr-nav, .lr-final, .lr-footer) :focus-visible { outline: 3px solid color-mix(in srgb, var(--lr-accent) 55%, white); outline-offset: 3px; border-radius: 4px; }
.lr-nav [hidden] { display: none !important; }
.lr-icon { width: 1em; height: 1em; flex: none; }
.lr-container { width: min(var(--lr-page), calc(100% - 2 * var(--lr-gutter))); margin-inline: auto; }
.lr-centered { display: flex; flex-direction: column; align-items: center; text-align: center; }

/* Pill buttons */
.lr-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border: 1.5px solid transparent; border-radius: 999px; font: 500 17px/1 var(--lr-font); letter-spacing: -0.01em; white-space: nowrap; cursor: pointer; transition: background-color .16s, border-color .16s, color .16s, box-shadow .16s; }
.lr-button .lr-icon { width: 18px; height: 18px; }
.lr-button-primary { background: var(--lr-accent); color: #fff !important; }
.lr-button-primary:hover { background: var(--lr-accent-hover); }
.lr-button-md { min-height: 48px; padding: 0 34px; font-size: 17px; }
/* The second button of a pair on a light page, every public page's (moved here from the landing, 21 Nov: About had the app's buttons, «какого хуя они не консистентны»). */
.lr-button-outline { border-color: var(--lr-accent); background: #fff; color: var(--lr-accent) !important; }
.lr-button-outline:hover { background: color-mix(in srgb, var(--lr-accent) 4%, white); }
.lr-button-nav { min-height: 36px; padding: 0 18px; border-width: 1px; font-size: 15px; letter-spacing: -0.005em; }
/* Scoped to the band so the landing's own button and heading rules (loaded after this file) cannot recolour them. */
.lr-final .lr-button-white { background: #fff; color: var(--lr-ink) !important; }
.lr-final .lr-button-white:hover { background: #ececf4; }
.lr-final .lr-button-ghost { border-color: color-mix(in srgb, var(--lr-accent) 85%, white); background: transparent; color: #fff !important; }
.lr-final .lr-button-ghost:hover { background: color-mix(in srgb, var(--lr-accent) 22%, transparent); }

/* ---------- Nav ---------- */
/* Igor's pick A of 20 Nov (docs/product/design/header-2026-11-20/A): a calm white bar whose menus show the product.
   Product ▾ opens the eight parts and the YouTube strategies, Strategies is its own door, Brokers ▾ and Prop ▾ show real
   logos, Resources ▾ the reading and the tools; the current section is underlined. Below 1024 px one full-screen menu with
   the same groups as accordions and Start free at its foot. Sizes and roles are the kit's (assets/tokens.css), read from it
   where a page loads it and the same values where it doesn't (the landing, /pricing). */
.lr-nav {
    --lr-nav-muted: #6b6b75;
    /* the bar's sections in a quiet grey, the current one in ink on a plate (Igor 21 Nov «линия подчеркивания как активная -
       смотрится не современно уже» → «A, плашка») */
    --lr-nav-quiet: #55555f;
    --lr-nav-current: #eeeef2;
    --lr-nav-soft: #f4f4f7;
    --lr-nav-side: #f9f9fb;
    --lr-nav-body: var(--ui-type-body, 14px/22px);
    --lr-nav-control: 14px/20px; /* DESIGN-SYSTEM §2.3 Control: buttons, menu buttons */
    --lr-nav-lead: var(--ui-type-lead, 16px/24px);
    --lr-nav-caption: var(--ui-type-caption, 12px/20px);
    --lr-nav-title: var(--ui-type-title-s, 20px/28px);
    --lr-nav-display: var(--ui-type-display, 44px/48px);
    --lr-nav-radius: var(--ui-radius-control, 6px);
    --lr-nav-radius-card: var(--ui-radius-card, 12px);
    --lr-nav-shadow: var(--ui-shadow-pop, 0 12px 36px rgb(24 24 27 / .09), 0 2px 6px rgb(24 24 27 / .03));
    --lr-nav-motion: var(--ui-motion-fast, 120ms);
    /* Solid white, never see-through: over a dark stage a translucent bar read as grey and flashed white when a menu opened
       (Igor 20 Nov «Да, обе»). No backdrop filter either: it would make the open phone menu fixed to the bar, not the screen. */
    position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--lr-line); color: var(--lr-ink);
}
.lr-nav .lr-icon { width: 16px; height: 16px; stroke-width: 1.5; }
.lr-nav .lr-nav-inner { display: flex; align-items: center; height: var(--lr-nav-h); gap: 32px; }
.lr-nav .lr-brand { display: flex; flex: none; align-items: center; gap: 12px; color: var(--lr-ink); }
/* The mark starts 34 of its 799 units in: on the container's edge, as the footer's. */
.lr-nav .lr-brand img { width: 70px; height: auto; margin-left: calc(70px * -34.28 / 799); filter: brightness(0); }
/* the name beside the mark: one grey line after a hairline, the mark's caption and not one more item of the bar (Igor 21 Nov
   «мне не сильно нравится как тут расшифровка и акцент сделаны» → «A, плашка»; it was two lines in the menu's ink) */
.lr-nav .lr-brand span { display: flex; align-items: center; gap: 12px; color: var(--lr-nav-muted); font: 500 14px/20px var(--lr-font); letter-spacing: -0.01em; white-space: nowrap; }
.lr-nav .lr-brand span::before { content: ''; flex: none; width: 1px; height: 20px; background: var(--lr-line); }

.lr-nav .lr-nav-links { display: flex; align-self: stretch; }
.lr-nav .lr-nav-list { display: flex; align-items: center; gap: 4px; }
.lr-nav .lr-nav-item { display: flex; align-items: center; }
.lr-nav .lr-nav-trigger { position: relative; display: inline-flex; align-items: center; gap: 4px; height: 40px; margin: 0; padding: 0 12px; border: 0; border-radius: var(--lr-nav-radius); background: transparent; color: var(--lr-nav-quiet); font: 500 var(--lr-nav-control) var(--lr-font); letter-spacing: normal; white-space: nowrap; cursor: pointer; transition: background-color var(--lr-nav-motion), color var(--lr-nav-motion); }
.lr-nav button.lr-nav-trigger { padding-right: 8px; }
.lr-nav .lr-nav-trigger:hover, .lr-nav .lr-nav-trigger[aria-expanded="true"] { background: var(--lr-nav-soft); color: var(--lr-ink); }
.lr-nav .lr-nav-chevron { color: var(--lr-nav-muted); transition: transform var(--lr-nav-motion); }
.lr-nav .lr-nav-trigger[aria-expanded="true"] .lr-nav-chevron { color: var(--lr-ink); transform: rotate(180deg); }
/* The current section: ink on the hover's plate, a step darker, kept on (Igor 21 Nov «A, плашка»: the accent line under the
   words looked dated) */
.lr-nav .lr-nav-item.is-current > .lr-nav-trigger { background: var(--lr-nav-current); color: var(--lr-ink); }

.lr-nav .lr-nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lr-nav .lr-nav-login { display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border-radius: var(--lr-nav-radius); color: var(--lr-ink); font: 500 var(--lr-nav-control) var(--lr-font); white-space: nowrap; transition: background-color var(--lr-nav-motion); }
.lr-nav .lr-nav-login:hover { background: var(--lr-nav-soft); }
.lr-nav .lr-button-nav { gap: 8px; min-height: 40px; padding: 0 16px; border-width: 0; font: 600 var(--lr-nav-control) var(--lr-font); letter-spacing: normal; } /* the kit's button, 14/20/600 (Igor 20 Nov «тонкий норм?» beside the strategy page's 600 buttons) */
.lr-nav .lr-nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; margin-right: -12px; padding: 0; border: 0; background: none; color: var(--lr-ink); cursor: pointer; }
.lr-nav .lr-nav-toggle .lr-icon { width: 24px; height: 24px; }
/* Page stylesheets style bare svgs; the menu's two glyphs keep their own switch. */
.lr-nav .lr-nav-toggle .lr-nav-toggle-close, .lr-nav.is-open .lr-nav-toggle .lr-nav-toggle-open { display: none !important; }
.lr-nav.is-open .lr-nav-toggle .lr-nav-toggle-close, .lr-nav .lr-nav-toggle .lr-nav-toggle-open { display: block !important; }
.lr-nav.is-open .lr-nav-toggle .lr-nav-toggle-open { display: none !important; }

/* A signed-in reader, where the page knows the plan (html[data-tsb-plan], strategy pages): "Open TSB" takes the place of
   Log in and Start free, in the bar and at the phone menu's foot (Igor 20 Nov «Да, обе»). */
.lr-nav .lr-nav-app { display: none; }
html:is([data-tsb-plan="free"], [data-tsb-plan="pro"], [data-tsb-plan="max"]) .lr-nav .lr-nav-app { display: inline-flex; }
html:is([data-tsb-plan="free"], [data-tsb-plan="pro"], [data-tsb-plan="max"]) .lr-nav :is(.lr-nav-login, .lr-nav-sheet-login, .lr-nav-guest) { display: none; }

/* The page under an open menu steps back. */
.lr-nav .lr-nav-scrim { position: absolute; top: calc(100% + 1px); left: 0; right: 0; z-index: 1; height: 100vh; background: rgb(18 19 34 / .2); }

/* ---------- The menus (desktop) ---------- */
.lr-nav .lr-nav-panel { position: absolute; top: calc(100% + 1px); left: 0; right: 0; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 320px; width: min(var(--lr-page), calc(100% - 2 * var(--lr-gutter))); margin: 0 auto; overflow: hidden; border: 1px solid var(--lr-line); border-top: 0; border-radius: 0 0 var(--lr-nav-radius-card) var(--lr-nav-radius-card); background: #fff; box-shadow: var(--lr-nav-shadow); color: var(--lr-ink); font: 400 var(--lr-nav-body) var(--lr-font); }
.lr-nav .lr-nav-panel-resources { grid-template-columns: minmax(0, 1fr); }
.lr-nav .lr-nav-panel-main { display: flex; flex-direction: column; min-width: 0; padding: 32px; }
.lr-nav .lr-nav-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 16px; }
.lr-nav .lr-nav-panel-head h2 { color: var(--lr-ink); font: 500 var(--lr-nav-lead) var(--lr-font); letter-spacing: -0.01em; }
.lr-nav .lr-nav-panel-note { color: var(--lr-nav-muted); }
.lr-nav .lr-nav-panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--lr-line); }
.lr-nav .lr-nav-parts + .lr-nav-panel-foot, .lr-nav .lr-nav-logos + .lr-nav-panel-foot { margin-top: 24px; }
.lr-nav .lr-nav-text-link, .lr-nav .lr-nav-quiet-link, .lr-nav .lr-nav-feature-link { display: inline-flex; align-items: center; gap: 8px; color: var(--lr-accent); font: 500 var(--lr-nav-body) var(--lr-font); white-space: nowrap; }
.lr-nav .lr-nav-quiet-link { color: var(--lr-nav-muted); }
.lr-nav .lr-nav-text-link:hover, .lr-nav .lr-nav-quiet-link:hover, .lr-nav .lr-nav-feature-link:hover, .lr-nav .lr-nav-feature-more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* The eight parts (and Resources): a glyph, the name, one line. */
.lr-nav .lr-nav-parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin: 0 -12px; }
.lr-nav .lr-nav-parts-resources { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lr-nav .lr-nav-part { display: flex; align-items: flex-start; gap: 12px; min-width: 0; padding: 12px; border-radius: var(--lr-nav-radius); color: var(--lr-ink); transition: background-color var(--lr-nav-motion); }
.lr-nav .lr-nav-part:hover { background: var(--lr-nav-soft); }
.lr-nav .lr-nav-part-glyph { display: flex; flex: none; align-items: center; justify-content: center; width: 20px; height: 24px; color: var(--lr-ink); }
.lr-nav .lr-nav-part-glyph .lr-icon, .lr-nav .lr-nav-sheet-glyph .lr-icon { width: 20px; height: 20px; }
.lr-nav .lr-nav-glyph { width: 20px; height: 20px; object-fit: contain; }
.lr-nav .lr-youtube { width: 20px; height: 14px; }
.lr-nav .lr-nav-part-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lr-nav .lr-nav-part-name { font: 500 var(--lr-nav-lead) var(--lr-font); letter-spacing: -0.01em; transition: color var(--lr-nav-motion); }
.lr-nav .lr-nav-part:hover .lr-nav-part-name { color: var(--lr-accent); }
.lr-nav .lr-nav-part-line { color: var(--lr-nav-muted); font: 400 var(--lr-nav-body) var(--lr-font); }

/* The side tile of a menu: what the menu leads to, in a sentence and one way in. */
.lr-nav .lr-nav-feature { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; border-left: 1px solid var(--lr-line); background: var(--lr-nav-side); }
.lr-nav .lr-nav-feature-eyebrow { color: var(--lr-nav-muted); font: 400 var(--lr-nav-caption) var(--lr-font); }
.lr-nav .lr-nav-feature-figure { display: flex; align-items: center; gap: 12px; margin-top: 16px; color: var(--lr-ink); font: 500 var(--lr-nav-display) var(--lr-font); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.lr-nav .lr-nav-feature-figure .lr-youtube { width: 28px; height: 20px; }
.lr-nav .lr-nav-feature-title { margin-top: 16px; color: var(--lr-ink); font: 500 var(--lr-nav-title) var(--lr-font); letter-spacing: -0.015em; }
.lr-nav .lr-nav-feature-text { margin-top: 8px; color: var(--lr-nav-muted); font: 400 var(--lr-nav-body) var(--lr-font); }
.lr-nav .lr-nav-feature-title, .lr-nav .lr-nav-feature-text { text-wrap: balance; }
.lr-nav .lr-nav-part-line { text-wrap: pretty; }
.lr-nav .lr-nav-feature-link { margin-top: 24px; }
.lr-nav .lr-nav-feature > :first-child { margin-top: 0; }
.lr-nav .lr-nav-feature-more { margin-top: 8px; color: var(--lr-nav-muted); font: 400 var(--lr-nav-caption) var(--lr-font); }

/* Brokers and prop firms: the real mark on its tile (lib/BrandIdentity.php's surfaces), the name under it. */
/* A logo and its name on one line, the names on the panel's left edge (fresh-eyes review 20 Nov: centred tiles left holes). */
.lr-nav .lr-nav-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 24px; margin: 0 -12px; }
.lr-nav .lr-nav-logos-firms { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.lr-nav .lr-nav-logo { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px; border-radius: var(--lr-nav-radius); color: var(--lr-ink); font: 500 var(--lr-nav-body) var(--lr-font); transition: background-color var(--lr-nav-motion), color var(--lr-nav-motion); }
.lr-nav .lr-nav-logo:hover { background: var(--lr-nav-soft); color: var(--lr-accent); }
.lr-nav .lr-nav-tile { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 40px; height: 40px; overflow: hidden; border-radius: var(--lr-nav-radius-card); background: #fff; }
.lr-nav .lr-nav-tile img { width: 32px; height: 32px; max-width: none; object-fit: contain; }
/* A mark on a carrier at the brand map's optical scale (tsbSiteChromeLogo rounds it to an even size from 22 to 32 px). */
.lr-nav .lr-nav-tile[data-size="30"] img { width: 30px; height: 30px; }
.lr-nav .lr-nav-tile[data-size="28"] img { width: 28px; height: 28px; }
.lr-nav .lr-nav-tile[data-size="26"] img { width: 26px; height: 26px; }
.lr-nav .lr-nav-tile[data-size="24"] img { width: 24px; height: 24px; }
.lr-nav .lr-nav-tile[data-size="22"] img { width: 22px; height: 22px; }
.lr-nav .lr-nav-tile[data-surface="tile"] img { width: 100%; height: 100%; object-fit: cover; }
.lr-nav .lr-nav-tile[data-surface="dark"] { background: #0b0d10; }
.lr-nav .lr-nav-tile:is([data-surface="adaptive"], [data-surface="neutral"]) { background: #f4f5f6; box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .08); color: var(--lr-nav-muted); }
.lr-nav .lr-nav-tile[data-surface="transparent"] { background: transparent; }
.lr-nav .lr-nav-tile .lr-icon { width: 20px; height: 20px; }

/* The tools sit on the firms' columns: each starts on a firm's tile edge (1, 3, 5 of five), the arrow beside its words. */
.lr-nav .lr-nav-tools { margin-top: 16px; padding-top: 8px; border-top: 1px solid var(--lr-line); }
.lr-nav .lr-nav-tools-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 24px; margin: 0 -12px; }
.lr-nav .lr-nav-tool:nth-child(3n + 1) { grid-column: 1 / span 2; }
.lr-nav .lr-nav-tool:nth-child(3n + 2) { grid-column: 3 / span 2; }
.lr-nav .lr-nav-tool:nth-child(3n) { grid-column: 5; }
.lr-nav .lr-nav-tool { display: flex; align-items: center; justify-content: flex-start; gap: 8px; min-height: 44px; padding: 0 12px; color: var(--lr-ink); font: 500 var(--lr-nav-body) var(--lr-font); transition: color var(--lr-nav-motion); }
.lr-nav .lr-nav-tool .lr-icon { color: var(--lr-nav-muted); }
.lr-nav .lr-nav-tool:hover, .lr-nav .lr-nav-tool:hover .lr-icon { color: var(--lr-accent); }

/* ---------- The phone and tablet menu ---------- */
.lr-nav .lr-nav-menu { display: none; }
.lr-nav .lr-nav-sheet { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--lr-gutter) 24px; }
.lr-nav .lr-nav-group { border-bottom: 1px solid var(--lr-line); }
.lr-nav .lr-nav-group summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; color: var(--lr-ink); font: 500 var(--lr-nav-lead) var(--lr-font); list-style: none; cursor: pointer; }
.lr-nav .lr-nav-group summary::-webkit-details-marker { display: none; }
.lr-nav .lr-nav-group[open] summary .lr-nav-chevron { color: var(--lr-ink); transform: rotate(180deg); }
.lr-nav .lr-nav-group summary.is-current, .lr-nav .lr-nav-row.is-current { position: relative; isolation: isolate; color: var(--lr-ink); }
.lr-nav .lr-nav-group summary.is-current::before, .lr-nav .lr-nav-row.is-current::before { content: ''; position: absolute; inset: 8px -12px; z-index: -1; border-radius: var(--lr-nav-radius); background: var(--lr-nav-current); }
.lr-nav .lr-nav-group-body { padding-bottom: 16px; }
.lr-nav .lr-nav-sheet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.lr-nav .lr-nav-sheet-item { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 48px; color: var(--lr-ink); font: 500 var(--lr-nav-body) var(--lr-font); }
.lr-nav .lr-nav-sheet-item > span:last-child { min-width: 0; line-height: 20px; overflow-wrap: anywhere; } /* a long name takes two lines, never an ellipsis */
.lr-nav .lr-nav-sheet-glyph { display: flex; flex: none; align-items: center; justify-content: center; width: 20px; height: 20px; }
.lr-nav .lr-nav-sheet-item .lr-nav-tile { width: 32px; height: 32px; border-radius: var(--lr-nav-radius); }
.lr-nav .lr-nav-sheet-item .lr-nav-tile:not([data-surface="tile"]) img { transform: scale(.8); } /* the map's 40 px proportions on a 32 px tile */
.lr-nav .lr-nav-sheet-item .lr-nav-tile .lr-icon { width: 16px; height: 16px; }
.lr-nav .lr-nav-sheet-item:hover { color: var(--lr-accent); }
.lr-nav .lr-nav-sheet-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.lr-nav .lr-nav-sheet-links-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; margin-top: 8px; border-top: 1px solid var(--lr-line); }
.lr-nav .lr-nav-sheet-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--lr-nav-muted); font: 400 var(--lr-nav-body) var(--lr-font); }
.lr-nav .lr-nav-sheet-links-grid .lr-nav-sheet-link { color: var(--lr-ink); }
.lr-nav .lr-nav-sheet-link:hover { color: var(--lr-accent); }
.lr-nav .lr-nav-sheet-more { display: flex; align-items: center; gap: 8px; min-height: 48px; color: var(--lr-accent); font: 500 var(--lr-nav-body) var(--lr-font); }
.lr-nav .lr-nav-row { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--lr-line); color: var(--lr-ink); font: 500 var(--lr-nav-lead) var(--lr-font); }
.lr-nav .lr-nav-row small { margin-left: 8px; color: var(--lr-nav-muted); font: 400 var(--lr-nav-caption) var(--lr-font); }
.lr-nav .lr-nav-row .lr-icon { color: var(--lr-nav-muted); }
.lr-nav .lr-nav-sheet-foot { display: flex; align-items: center; gap: 16px; padding: 16px var(--lr-gutter) calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--lr-line); background: #fff; }
.lr-nav .lr-nav-sheet-login { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px 0 0; color: var(--lr-ink); font: 500 var(--lr-nav-control) var(--lr-font); }
.lr-nav .lr-nav-sheet-cta { flex: 1; justify-content: space-between; gap: 8px; min-height: 48px; padding: 0 20px; font: 600 var(--lr-nav-control) var(--lr-font); letter-spacing: normal; }
html.lr-nav-locked { overflow: hidden; scrollbar-gutter: stable; }

@media (prefers-reduced-motion: reduce) {
    .lr-nav *, .lr-nav *::after { transition: none !important; }
}

/* ---------- Final band: near-black with a fine vertical indigo hatch ---------- */
.lr-final { position: relative; padding: clamp(80px, 7vw, 104px) 0; background: #09090d; color: #fff; overflow: hidden; }
.lr-final-hatch { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--lr-accent) 92%, white) 0 1px, transparent 1px 9px); opacity: .7; -webkit-mask-image: linear-gradient(90deg, #000 0, rgba(0, 0, 0, .45) 9%, transparent 21%, transparent 79%, rgba(0, 0, 0, .45) 91%, #000 100%); mask-image: linear-gradient(90deg, #000 0, rgba(0, 0, 0, .45) 9%, transparent 21%, transparent 79%, rgba(0, 0, 0, .45) 91%, #000 100%); }
.lr-final .lr-container { position: relative; }
.lr-final .lr-final-title { max-width: 760px; color: #fff; font-family: var(--lr-font); font-size: clamp(36px, 4vw, 60px); font-weight: 500; line-height: 1.06; letter-spacing: -0.035em; text-align: center; text-wrap: balance; }
.lr-final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }
.lr-final p { margin-top: 18px; color: #a8aab6; font-size: 15px; }

/* ---------- Footer: what TSB does, every link, the canonical risk notices, the copyright ---------- */
.lr-footer { --lz-width-page: var(--lr-page); --lz-layout-gutter-total: calc(2 * var(--lr-gutter)); margin: 0; padding: 0; background: #09090d; color: #e6e7ee; border-top: 1px solid rgba(255, 255, 255, .08); }
.lr-footer-main { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 48px; padding: 56px 0 52px; }
.lr-footer-brand p { max-width: 220px; margin-top: 16px; color: #9a9cab; font-size: 14px; line-height: 20px; }
.lr-footer .lr-footer-yt { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: #e6e7ee; font-size: 14px; transition: color .15s; }
.lr-footer .lr-footer-yt:hover { color: #fff; }
.lr-footer-yt .lr-youtube { width: 22px; height: 16px; flex: none; }
.lr-footer-logo img { width: 120px; height: auto; margin-left: calc(120px * -34.28 / 799); } /* the mark starts 34 of its 799 units in: on the text's edge, not 5 px past it (Igor 20 Nov «тут отступ слева не нужен») */
.lr-footer-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.lr-footer-col h2 { color: #fff; font-family: var(--lr-font); font-size: 14px; font-weight: 500; line-height: 20px; letter-spacing: -0.005em; text-transform: none; }
.lr-footer-col ul { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.lr-footer-col a { display: inline-flex; align-items: center; gap: 6px; color: #a4a6b4; font-size: 14px; line-height: 20px; transition: color .15s; }
.lr-footer-col a:hover { color: #fff; }
.lr-footer-col a .lr-icon { width: 14px; height: 14px; }
.lr-footer .tsb-sitewide-risk-footer { border-top: 1px solid rgba(255, 255, 255, .1) !important; background: transparent !important; color: #8d90a0 !important; }
.lr-footer .tsb-risk-disclosure { padding: 32px 0 16px !important; font-family: var(--lr-font) !important; font-size: 12px !important; line-height: 20px !important;  border-top: 0 !important; /* one line above the notice, the footer's own (public-shell's light line read bright white here, Igor 21 Nov «что за линия белая тут?») */ }
.lr-footer .tsb-risk-disclosure span { color: #c6c8d2 !important; }
.lr-footer .tsb-risk-disclosure a { color: #b9b5ff !important; text-decoration: underline !important; text-underline-offset: 3px; }
.lr-footer-copy { padding: 0 0 40px; color: #b4b6c2; font-size: 14px; line-height: 20px; }

/* The nav's widths: the logos fold first, the two-line name steps aside, then the menus fold into the phone menu. */
/* A name or a line never breaks in two: the grids fold a column before it would. */
@media (max-width: 1511px) and (min-width: 1200px) {
    .lr-nav .lr-nav-parts-resources { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1439px) and (min-width: 1200px) {
    .lr-nav .lr-nav-logos:not(.lr-nav-logos-firms) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1199px) and (min-width: 1024px) {
    .lr-nav .lr-nav-panel:not(.lr-nav-panel-resources) { grid-template-columns: minmax(0, 1fr) 256px; }
    .lr-nav .lr-nav-logos, .lr-nav .lr-nav-parts-resources { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lr-nav .lr-nav-logos-firms, .lr-nav .lr-nav-tools-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lr-nav .lr-nav-tool:nth-child(n) { grid-column: auto; }
}
@media (max-width: 1099px) and (min-width: 1024px) {
    .lr-nav .lr-brand span { display: none; }
    .lr-nav .lr-nav-inner { gap: 24px; }
}
@media (max-width: 1023px) {
    .lr-nav .lr-nav-links, .lr-nav .lr-nav-actions > .lr-nav-login, .lr-nav .lr-nav-panel, .lr-nav .lr-nav-scrim { display: none; }
    .lr-nav .lr-nav-toggle { display: inline-flex; }
    .lr-nav.is-open .lr-button-nav, .lr-nav.is-open .lr-nav-actions > .lr-nav-app { display: none; }
    .lr-nav.is-open .lr-nav-menu { position: fixed; top: var(--lr-nav-bottom, calc(var(--lr-nav-h) + 1px)); right: 0; bottom: 0; left: 0; z-index: 1; display: flex; flex-direction: column; background: #fff; }
}
@media (max-width: 699px) {
    .lr-nav .lr-brand span { display: none; }
    .lr-nav.is-open .lr-brand span { display: flex; }
}
@media (max-width: 1100px) {
    .lr-footer-main { grid-template-columns: minmax(0, 1fr); }
    .lr-footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
}
@media (max-width: 900px) {
    .lr-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Trust row (public-truth.php `trust`): one quiet line of what the buyer can count on. Grey text, small checks, no frame. */
.lr-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin: 0; padding: 0; list-style: none; color: #6b6b75; font-family: var(--lr-font); font-size: 14px; line-height: 20px; letter-spacing: -0.003em; }
.lr-trust li { display: inline-flex; align-items: center; gap: 7px; margin: 0; }
.lr-trust svg { width: 16px; height: 16px; flex: none; color: var(--lr-ink); stroke-width: 1.75; }
.lr-trust a { color: inherit; text-decoration: underline 1px #c9c9d4; text-underline-offset: 4px; transition: color .15s, text-decoration-color .15s; }
.lr-trust a:hover { color: var(--lr-ink); text-decoration-color: currentColor; }
.lr-trust .lr-trust-count { color: var(--lr-ink); font-weight: 500; }
.lr-trust.is-centered { justify-content: center; }
@media (max-width: 700px) { .lr-trust { gap: 8px 18px; } }

/* The site's segmented control, shared by the public pages (moved from landing-relaunch.css on 21 Nov so /about uses
   the same control as the landing instead of its own thin tabs; Igor «тонкий?»). A pressed button or a selected tab. */
/* The font sits on the control and the buttons inherit it: public-shell.css sets every public page's buttons to inherit. */
.lr-seg { display: inline-flex; border: 1px solid #dcdce2; border-radius: 9px; overflow: hidden; font: 500 13px var(--lr-font); }
.lr-seg button { min-width: 48px; height: 32px; padding: 0 12px; border: 0; background: #fff; color: #6b6b75; font: inherit; cursor: pointer; transition: background-color .15s, color .15s; }
.lr-seg button + button { border-left: 1px solid #dcdce2; }
.lr-seg button:hover { color: #1d1d22; }
.lr-seg button[aria-pressed="true"],
.lr-seg button[aria-selected="true"] { background: #ececfa; color: var(--lr-accent); }

/* The menus denser (Igor 26 Nov «менюхи все уплотить не надо?» → «Ставь оба»): the same items, less air between them. */
.lr-nav .lr-nav-panel-main, .lr-nav .lr-nav-feature { padding-block: 24px; }
.lr-nav .lr-nav-panel-head { margin-bottom: 8px; }
.lr-nav .lr-nav-parts { row-gap: 0; }
.lr-nav .lr-nav-part { padding-block: 10px; }
.lr-nav .lr-nav-part-text { gap: 2px; }
.lr-nav .lr-nav-logos { row-gap: 0; }
.lr-nav .lr-nav-logo { padding-block: 8px; }
.lr-nav .lr-nav-parts + .lr-nav-panel-foot, .lr-nav .lr-nav-logos + .lr-nav-panel-foot { margin-top: 16px; }
.lr-nav .lr-nav-panel-foot { padding-top: 12px; }
.lr-nav .lr-nav-tools { margin-top: 8px; padding-top: 4px; }
.lr-nav .lr-nav-tool { min-height: 40px; }
