/* Home page: only what sits inside a visual and the kit lacks. */
  .hero--centred .hero__lead { color: var(--ink); }
  /* the hero's window: the report of the check, the client's own UI as live HTML */
  .hero__window .rep { --fx-bg: #ffffff; --fx-surface: #f4f4f3; --fx-ink: #111111; color: var(--u-ink); font: 400 14px/1.4 var(--font-text); overflow: hidden; }
  .rep__bar { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--u-line); }
  .rep__url { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 8px; background: var(--u-fill); font-family: var(--font-mono); font-size: 13px; }
  .rep__bar .sp { flex: 1; }
  .rep__bar small { font-size: 13px; color: var(--u-muted); }
  .rep__body { display: grid; grid-template-columns: 200px minmax(0, 1fr); min-height: 380px; }
  .rep__side { border-right: 1px solid var(--u-line); padding: 12px; display: grid; align-content: start; gap: 2px; font-size: 13px; }
  .rep__side span { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 8px; color: var(--u-muted); }
  .rep__side .is-on { background: var(--u-fill); color: var(--u-ink); font-weight: 500; }
  .rep__list { padding: 12px 16px; display: grid; align-content: start; gap: 8px; }
  .rep__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0 8px; font-weight: 500; }
  .rep__row { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--u-fill); }
  .rep__row b { font-weight: 500; }
  .rep__row em { font-style: normal; font-family: var(--font-mono); font-size: 13px; white-space: nowrap; }
  .rep__lv { display: inline-flex; align-items: center; justify-content: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 13px; font-weight: 500; background: #fbe9e7; color: #a11b12; }
  .rep__lv[data-lv="risk"] { background: #fdf0cd; color: #7a4b00; }
  @media (max-width: 639px) { .rep__body { grid-template-columns: minmax(0, 1fr); } .rep__side, .rep__bar small { display: none; } .rep__row { grid-template-columns: minmax(0, 1fr) auto; } .rep__lv { display: none; } }
  /* app-frame (sections-library.md): one app window across the wrap, the list beside the open item */
  .app.ui { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: var(--s-7); background: var(--u-bg); border: 1px solid var(--u-border); border-radius: var(--u-r); box-shadow: var(--u-shadow); }
  .app > .app__pane { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
  .app > .app__pane + .app__pane { border-left: 1px solid var(--u-line); }
  .app > .app__pane > .ui-panel { width: 100%; border: 0; border-radius: 0; box-shadow: none; }
  .app > .app__pane::after { content: ""; position: absolute; inset: auto 0 0 0; height: 64px; background: linear-gradient(transparent, var(--u-bg)); pointer-events: none; }
  @media (min-width: 1024px) and (max-width: 1279px) { .app.ui { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
  @media (max-width: 1023px) {
    .app.ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
    .app > .app__pane--list { max-height: 252px; }
    .app > .app__pane--list::after { display: none; }
    .app .ui-win__side { display: none; }
    .app .ui-win__body { grid-template-columns: minmax(0, 1fr); }
    .app > .app__pane + .app__pane { border-left: 0; border-top: 1px solid var(--u-line); }
  }
  @media (max-width: 639px) {
    .app.ui { grid-template-rows: minmax(0, 1fr); }
    .app > .app__pane--list { display: none; }
    .app > .app__pane + .app__pane { border-top: 0; }
  }
  /* very wide screens: the kit holds the page at 1280; the whole page is enlarged so it fills the screen as it
     does on a laptop (the operator's screen is 2560 wide) */
  @media (min-width: 1900px) { html { zoom: 1.15; } main > section.hero, main > section.section, footer.footer.closing { height: calc(var(--h, 1) * 86.957svh); } }
  @media (min-width: 2300px) { html { zoom: 1.3; } main > section.hero, main > section.section, footer.footer.closing { height: calc(var(--h, 1) * 76.923svh); } }
  @media (min-width: 3000px) { html { zoom: 1.6; } main > section.hero, main > section.section, footer.footer.closing { height: calc(var(--h, 1) * 62.5svh); } }
  #steps .panel { --p-h: 420px; }
  @media (max-width: 1279px) { #steps .panel { --p-h: 300px; } }
  @media (max-width: 639px) { #steps .panel { --p-h: 296px; } }
  /* a plan card answers the pointer: its edge darkens (the kit lifts every card but a plan) */
  @media (hover: hover) { #pricing .card--plan { transition: border-color 160ms ease-out, box-shadow 160ms ease-out; } #pricing .card--plan:hover { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); } }
  @media (max-width: 639px) { #pricing .section-head .link { display: inline; } }
  /* tablets and small laptops: a section is at least one screen and grows with what it holds. The kit's .fill takes
     «what the screen leaves» (basis 0), so a block taller than the screen ran out of its section at 1024 and 768 */
  @media (min-width: 640px) and (max-width: 1279px) {
    main > section.section > .wrap > .fill, main > section.section > .wrap > .grid { flex: 1 0 auto; min-height: auto; }
  }
  .close__word { line-height: 1; }
  /* the fines: a compact list, and the same eight to one scale as the section's picture */
  .fines { list-style: none; margin: 12px 0 0; padding: 0; }
  .fines li { display: grid; grid-template-columns: 184px minmax(0, 1fr); grid-template-areas: "sum name" "sum ref"; align-items: start; gap: 0 16px; padding: 7px 0; border-bottom: 1px solid var(--line); }
  .fines li:first-child { padding-top: 0; }
  .fines__name { grid-area: name; font-weight: 500; }
  .fines__sum { grid-area: sum; font: var(--display-weight) 24px/1 var(--font-display); letter-spacing: var(--display-tracking); white-space: nowrap; }
  .fines .lawref { grid-area: ref; justify-self: start; }
  .frame.scalebox { display: grid; align-content: space-evenly; gap: 8px; padding: 40px; height: 100%; min-height: 420px; aspect-ratio: auto; background: var(--surface); border-radius: var(--r-lg); }
  .frame.scalebox::before { display: none; }
  .bar { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 16px; font: 400 14px/1 var(--font-mono); color: var(--muted); }
  .bar svg { display: block; width: 100%; height: 18px; }
  .bar rect { fill: var(--ink); opacity: .7; }
  .bar--top { color: var(--ink); }
  .bar--top rect { fill: #ff5a4d; opacity: 1; }
  @media (max-width: 639px) { .frame.scalebox { padding: 20px; min-height: 400px; } .bar { grid-template-columns: 68px minmax(0, 1fr); gap: 10px; font-size: 13px; } .fines li { grid-template-columns: 148px minmax(0, 1fr); grid-template-areas: "sum ref" "name name"; align-items: center; gap: 0 12px; padding: 8px 0 14px; } .fines__sum { font-size: 19px; } .fines .lawref { display: inline-flex; align-items: center; min-height: 44px; } #fines .wrap > .grid { min-height: auto; flex-shrink: 0; } }
  .app > .app__pane > .ui-doc { width: 100%; }
  button.link { min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
  /* the anonymous chat of the product (/static/chat.js draws it): the same widget, in this page's look */
  /* no floating bubble over the text (the kit's rule): «Чат» in the header and the page's buttons open the widget */
  .msg { max-width: 86%; padding: 8px 12px; border-radius: 12px; background: #ffffff; border: 1px solid #e6e6e6; align-self: flex-start; }
  .msg.me { align-self: flex-end; background: #1a4be0; border-color: #1a4be0; color: #ffffff; }
  .msg p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
  .msg time { display: block; margin-top: 3px; font-size: 12px; opacity: .7; }
  @media (max-width: 639px) { .hero--centred .hero__window { min-height: 228px; } }
  /* a question mark beside a line: the details on demand, in the top layer (the native popover, no script) */
  .q { display: inline-grid; place-items: center; width: 44px; height: 44px; justify-items: start; margin: -12px -18px -12px 0; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; vertical-align: middle; }
  .q::before { content: "?"; display: grid; place-items: center; margin-left: 6px; width: 20px; height: 20px; border-radius: 50%; border: 1px solid currentColor; font: 500 13px/1 var(--font-text); opacity: .6; }
  .q:hover::before, .q:focus-visible::before { opacity: 1; }
  .q-pop { max-width: min(440px, calc(100vw - 48px)); margin: auto; padding: 24px 28px; border: 1px solid #d9d9d9; border-radius: 12px; background: #ffffff; color: #111111; font: 400 16px/1.5 var(--font-text); letter-spacing: 0; box-shadow: 0 24px 64px -24px rgb(0 0 0 / .35); }
  .q-pop::backdrop { background: rgb(0 0 0 / .28); }
  /* small marks of the law behind a figure: each opens the article itself */
  .lawref { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
  .lawref:hover { color: var(--ink); }
  .frame.case { height: 250px; aspect-ratio: auto; padding: 0; background: #ffffff; border: 1px solid var(--line); }
  .frame.case::before { display: none; }
  .frame.case img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 14px 32px; }
  #more .panel { --p-h: 360px; }
  @media (max-width: 639px) { #more .panel { --p-h: 200px; } .frame.case { height: 108px; } }
  /* the plans' platforms: the real marks of the site builders the kit is installed on */
  .platforms { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin: 0; padding: 0; list-style: none; font-size: var(--t-small); }
  .platforms li { display: inline-flex; align-items: center; gap: var(--s-2); }
  @media (max-width: 639px) { #check .rows, #pricing .card--plan > p.muted { display: none; } #pricing .grid { row-gap: 50px; } #faq .frame { --ratio: 145%; } }
  @media (max-width: 359px) { #check .t-lead { display: none; } }
  /* the study's picture: 146 sites as dots, 131 of them filled */
  .dots { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 10px; align-content: start; }
  .dots i { aspect-ratio: 1; border-radius: 50%; border: 1.5px solid var(--line-strong); }
  .dots i.on { background: #a11b12; border-color: #a11b12; }
  @media (max-width: 639px) { .dots { gap: 6px; } }

/* values that stood in style attributes: the page is served with style-src 'self' */
.hm-2 { --hm: 2; }
.k-40 { --k:0.4; }
.pos-corner { --w:560px; --ax:24px; --ay:32px; --ay-sm:24px; }
.pos-step-1 { --fit-max:340px; --ax:24px; --ay:40px; --ay-sm:24px; }
.pos-step-3 { --fit-max:340px; --ax:24px; --ay:calc(100% - 200px); --ay-sm:calc(100% - 160px); }
.pos-faq { --fit-max:380px; --ax:max(24px, 50% - 190px); --ay:48px; --ay-sm:24px; }
.pos-more { --fit-max:400px; --ax:max(24px, 50% - 200px); --ay:48px; --ay-sm:24px; }
.pos-report { --fit-max:400px; --ax:max(24px, 50% - 200px); --ay:56px; --ay-sm:24px; }
