/* PJU — «sleeve first». Палитра по пикселям лого: navy #000A6E, red #E60A1E; violet коробки #52237F. */
@layer reset, base, parts, pages;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
  body, h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
  ul, ol { padding: 0; list-style: none; }
  img, picture, svg { display: block; max-inline-size: 100%; block-size: auto; }
  button, input, select { font: inherit; color: inherit; }
  a { color: inherit; }
}

@layer base {
  :root {
    --navy: #000A6E; --navy-2: #0B1A8C; --ink: #0C1236; --ink-2: #49506E; --red: #E60A1E; --red-2: #B4061A;
    --violet: #52237F; --ice: #EAF0FA; --ice-2: #D7E1F1; --page: #F4F6FB; --card: #FFFFFF; --line: #DCE2EE; --dash: #C9D3E6;
    --dot: #FFC400; --r: 18px; --r-s: 12px;
    --shadow: 0 1px 2px rgb(0 10 110 / .05), 0 10px 30px -18px rgb(0 10 110 / .35);
    --f-head: "Archivo Black", "Arial Black", system-ui, sans-serif;
    --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  }
  body {
    font-family: var(--f-body); font-size: 1rem; line-height: 1.6; color: var(--ink); overflow-x: hidden;
    background:
      radial-gradient(900px 520px at 0% 0%, rgb(145 171 204 / .35), transparent 70%),
      radial-gradient(800px 600px at 100% 30%, rgb(255 196 0 / .08), transparent 70%),
      var(--page);
  }
  h1, h2, h3 { font-family: var(--f-head); font-weight: 400; line-height: 1.12; color: var(--ink); letter-spacing: -.01em; }
  h1 { font-size: clamp(1.9rem, 4.2vw, 3.3rem); }
  h2 { font-size: clamp(1.4rem, 2.6vw, 2.05rem); }
  h3 { font-size: 1.08rem; }
  a:hover { color: var(--red); }
  :focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 6px; }
  .wrap { inline-size: min(1200px, 100% - 32px); margin-inline: auto; }
  .skip { position: absolute; inset-inline-start: -999px; }
  .skip:focus { inset-inline-start: 16px; inset-block-start: 16px; z-index: 50; background: #fff; padding: 8px 14px; border-radius: 8px; }
  .block { margin-block: clamp(48px, 7vw, 88px); }
  .kick { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); margin-block-end: 8px; }
}

@layer parts {
  /* пилюля с точкой — как бейджи лидера выдачи */
  .pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px dashed var(--dash);
    background: rgb(255 255 255 / .8); font-size: .82rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
  .pill--dot::before { content: ""; inline-size: 9px; block-size: 9px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 0 3px rgb(255 196 0 / .25); }
  .pill--on { position: absolute; inset-block-start: 14px; inset-inline-start: 14px; z-index: 2; background: rgb(255 255 255 / .92); color: var(--ink); }

  /* «рамка-рукав»: внутренняя пунктирная рамка и выемка под палец сверху, как у semi-rigid */
  .sleeve { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
  .sleeve::after { content: ""; position: absolute; inset: 7px; border: 1px dashed var(--dash); border-radius: calc(var(--r) - 6px); pointer-events: none; }

  .ico { inline-size: 24px; block-size: 24px; flex: none; }
  .ico--s { inline-size: 18px; block-size: 18px; color: var(--navy); }
  .stars { position: relative; display: inline-block; inline-size: 5.4em; block-size: 1em; font-size: .95rem;
    background: linear-gradient(90deg, #cfd6e6 0 100%); -webkit-mask: var(--star) repeat-x 0 0 / 1.08em 1em; mask: var(--star) repeat-x 0 0 / 1.08em 1em;
    --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 0l3.6 7.3 8 1.2-5.8 5.6 1.4 8L12 18.3 4.8 22l1.4-8L.4 8.5l8-1.2z'/%3E%3C/svg%3E"); }
  .stars i { position: absolute; inset-block: 0; inset-inline-start: 0; background: #F5A300; }

  .tap { display: block; padding: 0; border: 0; background: none; cursor: pointer; transition: transform .15s ease, filter .15s ease; }
  .tap:hover { transform: translateY(-1px); filter: brightness(1.05); }
  .tap:active { transform: translateY(1px); }
  .tap img { inline-size: 100%; block-size: auto; }
  .tap--head { inline-size: 200px; }
  .tap--hero { inline-size: min(330px, 100%); }
  .tap--card { inline-size: 100%; margin-block-start: auto; }
  .tap--item { inline-size: min(420px, 100%); }

  .ghost { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line);
    background: #fff; font-weight: 700; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
  .ghost:hover { border-color: var(--navy); color: var(--navy); }
  .ghost--s { padding: 8px 16px; font-size: .9rem; box-shadow: none; }
  .linkish { border: 0; background: none; color: var(--red); font-weight: 700; text-decoration: underline; cursor: pointer; padding: 0; }
  .more { margin-block-start: 28px; text-align: center; }

  /* хедер — рамка-карточка с лого и подписью */
  .topbar { position: sticky; inset-block-start: 0; z-index: 30; padding-block: 12px; backdrop-filter: blur(8px); background: rgb(244 246 251 / .75); }
  .topbar__card { inline-size: min(1200px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 18px; padding: 10px 14px 10px 12px;
    background: #fff; border: 1px dashed var(--dash); border-radius: var(--r); box-shadow: var(--shadow); }
  .brandmark { display: flex; align-items: center; gap: 12px; text-decoration: none; min-inline-size: 0; }
  .brandmark img { inline-size: 52px; padding: 5px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
  .brandmark b { display: block; font-family: var(--f-head); font-size: 1.15rem; color: var(--navy); line-height: 1.1; }
  .brandmark small { display: block; font-size: .78rem; color: var(--ink-2); line-height: 1.3; }
  .lines { margin-inline-start: auto; }
  .lines ul { display: flex; flex-wrap: wrap; gap: 2px; }
  .lines a { display: block; padding: 8px 10px; border-radius: 999px; font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap; }
  .brandmark small { max-inline-size: 190px; }
  .lines a:hover, .lines a[aria-current] { background: var(--ice); color: var(--navy); }
  .navtoggle, .burger { display: none; }

  /* хиро */
  .hero { margin-block: 18px 0; }
  .hero__card { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(20px, 4vw, 48px); align-items: center;
    padding: clamp(20px, 3.4vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
  .hero__txt h1 { margin-block: 18px 16px; }
  .hero__lede { font-size: 1.08rem; color: var(--ink-2); max-inline-size: 60ch; }
  .hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-block: 24px 20px; }
  .trust { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
  .trust li { display: flex; align-items: center; gap: 6px; }
  .hero__fig { position: relative; padding: 10px; border: 1px dashed var(--dash); border-radius: 22px; background: var(--ice); }
  .hero__fig img { border-radius: 14px; inline-size: 100%; }

  .head { margin-block-end: 26px; max-inline-size: 760px; }
  .head p { color: var(--ink-2); margin-block-start: 8px; }
  .head--split { max-inline-size: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; }
  .head--split > div { max-inline-size: 720px; }
  .head--center { margin-inline: auto; text-align: center; }

  .perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .perk { position: relative; padding: 22px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
  .perk::after { content: ""; position: absolute; inset: 6px; border: 1px dashed var(--dash); border-radius: 13px; pointer-events: none; }
  .perk__ico { display: grid; place-items: center; inline-size: 46px; block-size: 46px; border-radius: 12px; background: var(--ice); color: var(--navy); margin-block-end: 18px; }
  .perk h3 { margin-block-end: 8px; }
  .perk p { color: var(--ink-2); font-size: .95rem; }

  /* плитки линеек — кикер-категория, как у cardshellz */
  .tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .tile a { display: flex; flex-direction: column; block-size: 100%; padding: 12px 12px 18px; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
  .tile a:hover { border-color: var(--navy); color: inherit; }
  .tile__img { display: block; border-radius: 12px; overflow: hidden; background: var(--ice); margin-block-end: 14px; }
  .tile__kick { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
  .tile__name { font-family: var(--f-head); font-size: 1.15rem; margin-block: 4px 6px; }
  .tile__txt { font-size: .92rem; color: var(--ink-2); flex: 1; }
  .tile__go { margin-block-start: 12px; font-weight: 700; color: var(--red); font-size: .92rem; }

  /* лента: широкий баннер + две половинки */
  .ribbon { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .ribbon a { position: relative; display: block; overflow: hidden; border-radius: var(--r); text-decoration: none; background: var(--navy); }
  .ribbon__wide { grid-column: 1 / -1; aspect-ratio: 2.6 / 1; }
  .ribbon__half { aspect-ratio: 2 / 1; }
  .ribbon picture, .ribbon img { inline-size: 100%; block-size: 100%; object-fit: cover; }
  .ribbon__half img { object-position: 50% 30%; }
  .ribbon__say { position: absolute; inset: auto auto 0 0; display: grid; gap: 2px; padding: clamp(14px, 2.4vw, 28px); max-inline-size: 70%;
    background: linear-gradient(90deg, rgb(0 10 110 / .92), rgb(0 10 110 / .55) 75%, transparent); color: #fff; border-start-end-radius: 22px; }
  .ribbon__say b { font-family: var(--f-head); font-weight: 400; font-size: clamp(1.1rem, 2.4vw, 1.9rem); }
  .ribbon__say i { font-style: normal; opacity: .9; }
  .ribbon__say em { font-style: normal; font-weight: 700; margin-block-start: 6px; color: var(--dot); }

  /* карточки товаров со спек-таблицей */
  .holders { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .holders--three { grid-template-columns: repeat(3, 1fr); }
  .holder { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
  .holder::before { content: ""; position: absolute; inset-block-start: -1px; inset-inline-start: 50%; translate: -50% 0; inline-size: 46px; block-size: 14px;
    background: var(--page); border: 1px solid var(--line); border-block-start: 0; border-radius: 0 0 24px 24px; }
  .holder__top { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: var(--ink-2); }
  .holder__top .pill { padding: 3px 10px; font-size: .74rem; }
  .holder__img { position: relative; display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
  .holder__img img { aspect-ratio: 1; object-fit: contain; inline-size: 100%; transition: transform .3s ease; }
  .holder__img:hover img { transform: scale(1.04); }
  .flag { position: absolute; inset-block-start: 8px; inset-inline-start: 8px; z-index: 1; padding: 3px 9px; border-radius: 6px; background: var(--red); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .04em; }
  .holder__name { font-family: var(--f-body); font-weight: 700; font-size: 1rem; line-height: 1.3; }
  .holder__name a { text-decoration: none; }
  .holder__rate { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .82rem; color: var(--ink-2); }
  .cost { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
  .cost b { font-size: 1.3rem; color: var(--navy); }
  .cost s { color: var(--ink-2); font-size: .9rem; }
  .off { font-style: normal; font-size: .78rem; font-weight: 800; color: var(--red); background: #FDE7EA; padding: 2px 8px; border-radius: 6px; }
  .cost--big b { font-size: 2rem; }
  .per { flex-basis: 100%; font-size: .8rem; font-weight: 600; color: #1B7F3B; }
  .cost--big .per { font-size: .95rem; }

  /* подборщик набора */
  .finder { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(18px, 3vw, 36px); padding: clamp(20px, 3.4vw, 36px);
    background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
  .finder__q > p { color: var(--ink-2); margin-block: 8px 6px; }
  .finder fieldset { border: 0; padding: 0; margin: 18px 0 0; }
  .finder legend { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-block-end: 10px; }
  .finder legend span { display: grid; place-items: center; inline-size: 26px; block-size: 26px; border-radius: 50%; background: var(--red); color: #fff; font-size: .8rem; }
  .opts { display: flex; flex-wrap: wrap; gap: 8px; }
  .opt input { position: absolute; opacity: 0; pointer-events: none; }
  .opt span { display: block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .92rem; cursor: pointer; }
  .opt input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
  .opt input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
  .finder__a { display: grid; align-content: center; padding: 18px; border: 1px dashed var(--dash); border-radius: 20px; background: var(--ice); }
  .pick { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; }
  .pick[hidden] { display: none; }
  .pick__img { display: block; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
  .pick__txt { display: grid; gap: 6px; justify-items: start; }
  .pick__txt h3 a { text-decoration: none; }
  .pick__why { font-size: .9rem; color: var(--ink-2); }
  .tap--pick { inline-size: min(300px, 100%); margin-block-start: 4px; }

  /* таблица сравнения */
  .cmp { inline-size: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
  .cmp th, .cmp td { padding: 13px 16px; text-align: start; vertical-align: top; border-block-end: 1px solid var(--line); font-size: .94rem; }
  .cmp thead th { background: var(--navy); color: #fff; font-family: var(--f-head); font-weight: 400; font-size: 1rem; }
  .cmp tbody th { color: var(--ink-2); font-weight: 600; inline-size: 22%; }
  .cmp tbody td { font-weight: 600; }
  .cmp tr:last-child > * { border-block-end: 0; }
  .cmp tbody tr:nth-child(even) { background: #F8FAFE; }
  .cmp__go a { color: var(--red); text-decoration: none; font-weight: 700; }
  .cmp__pics { display: grid; grid-template-columns: 22% repeat(3, 1fr); gap: 12px; margin-block-end: 14px; }
  .cmp__pics::before { content: ""; }
  .cmp__pics a { display: grid; gap: 8px; text-decoration: none; text-align: center; font-family: var(--f-head); }
  .cmp__pics img { border-radius: 14px; border: 1px solid var(--line); aspect-ratio: 1; object-fit: cover; inline-size: 100%; }

  /* «сколько это на самом деле» */
  .meaning__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .meaning__grid li { display: grid; gap: 2px; padding: 22px; background: #fff; border: 1px dashed var(--dash); border-radius: var(--r); }
  .meaning__grid b { font-family: var(--f-head); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy); line-height: 1.1; }
  .meaning__grid span { font-weight: 700; }
  .meaning__grid small { color: var(--ink-2); font-size: .86rem; }

  /* липкая кнопка покупки на мобильном */
  .dock { display: none; }

  .spec { display: grid; border: 1px solid var(--line); border-radius: 12px; background: #F8FAFE; overflow: hidden; }
  .spec div { display: grid; grid-template-columns: minmax(90px, 40%) 1fr; gap: 10px; padding: 7px 12px; font-size: .84rem; }
  .spec div + div { border-block-start: 1px solid var(--line); }
  .spec dt { color: var(--ink-2); }
  .spec dd { font-weight: 700; text-align: end; overflow-wrap: anywhere; }
  .spec--mini { margin-block-end: 6px; }

  .tally { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
  .tally li { padding: 26px 16px; text-align: center; }
  .tally li + li { border-inline-start: 1px solid var(--line); }
  .tally b { display: block; font-family: var(--f-head); font-weight: 400; font-size: clamp(1.6rem, 3.4vw, 2.5rem); color: var(--red); }
  .tally span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); font-weight: 700; }

  /* чередующиеся фичи */
  .feats { display: grid; gap: 18px; }
  .feat { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(18px, 4vw, 48px); align-items: center; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
  .feat--flip .feat__fig { order: 2; }
  .feat__fig { padding: 8px; border: 1px dashed var(--dash); border-radius: 14px; }
  .feat__fig img { border-radius: 10px; inline-size: 100%; max-block-size: 420px; object-fit: cover; }
  .feat__txt { padding-inline-end: 18px; }
  .feat__txt h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); margin-block-end: 10px; }
  .feat__txt p { color: var(--ink-2); }
  .ticks { display: grid; gap: 8px; margin-block-start: 14px; }
  .ticks li { display: flex; gap: 10px; align-items: flex-start; }
  .ticks .ico { margin-block-start: 3px; padding: 2px; border-radius: 6px; background: var(--ice); inline-size: 22px; block-size: 22px; }

  .layers { padding: clamp(24px, 4vw, 48px); border-radius: 26px; background: var(--navy); color: #fff;
    background-image: radial-gradient(600px 300px at 90% 0%, rgb(230 10 30 / .35), transparent 70%); }
  .layers h2, .layers h3 { color: #fff; }
  .layers .kick { color: var(--dot); }
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
  .step { padding: 22px; border: 1px dashed rgb(255 255 255 / .35); border-radius: var(--r); background: rgb(255 255 255 / .06); }
  .step__n { display: inline-block; font-family: var(--f-head); font-size: 2.2rem; color: var(--dot); line-height: 1; margin-block-end: 12px; }
  .step p { opacity: .88; margin-block-start: 6px; }

  /* отзывы */
  .notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .notes--two { grid-template-columns: repeat(2, 1fr); }
  .note { display: flex; flex-direction: column; gap: 8px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
  .note h3 { font-family: var(--f-body); font-weight: 700; font-size: 1rem; }
  .note blockquote { flex: 1; color: var(--ink-2); font-size: .95rem; }
  .note__who { display: grid; gap: 2px; font-size: .82rem; border-block-start: 1px solid var(--line); padding-block-start: 10px; }
  .note__who span { color: #1B7F3B; font-weight: 600; }
  .note__who a { color: var(--red); font-weight: 700; text-decoration: none; }

  /* гайды */
  .guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .guides--two { grid-template-columns: repeat(2, 1fr); }
  .guide a { display: flex; flex-direction: column; gap: 6px; block-size: 100%; padding: 14px 14px 20px; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
  .guide a:hover { border-color: var(--navy); color: inherit; }
  .guide__img { display: block; border-radius: 12px; overflow: hidden; margin-block-end: 8px; aspect-ratio: 16 / 10; }
  .guide__img img { inline-size: 100%; block-size: 100%; object-fit: cover; }
  .guide__t { font-family: var(--f-head); font-size: 1.08rem; line-height: 1.25; }
  .guide__d { color: var(--ink-2); font-size: .92rem; flex: 1; }

  /* FAQ-аккордеон */
  .asks { display: grid; gap: 10px; }
  .ask { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
  .ask summary { display: flex; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; font-weight: 700; list-style: none; }
  .ask summary::-webkit-details-marker { display: none; }
  .ask summary::after { content: "+"; margin-inline-start: auto; display: grid; place-items: center; flex: none; inline-size: 28px; block-size: 28px; border-radius: 50%; border: 1px solid var(--line); font-weight: 700; }
  .ask[open] summary::after { content: "\2212"; background: var(--navy); color: #fff; border-color: var(--navy); }
  .ask__q { display: grid; place-items: center; flex: none; inline-size: 22px; block-size: 22px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .75rem; }
  .ask p { padding: 0 18px 16px 52px; color: var(--ink-2); }

  .seo { padding: clamp(22px, 4vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: 26px; }
  .seo h2 { margin-block-end: 16px; }
  .seo__cols { columns: 2 320px; column-gap: 40px; color: var(--ink-2); }
  .seo__cols p { margin-block-end: 14px; break-inside: avoid; }

  .outro__card { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; overflow: hidden;
    padding: clamp(22px, 4vw, 44px); border-radius: 26px; background: #fff; border: 1px dashed var(--dash); box-shadow: var(--shadow); }
  .outro__mark { position: absolute; inset-block: 0; inset-inline-end: 0; inline-size: 46%; opacity: .5; pointer-events: none;
    -webkit-mask: linear-gradient(90deg, transparent, #000 45%); mask: linear-gradient(90deg, transparent, #000 45%); }
  .outro__mark picture { block-size: 100%; }
  .outro__mark img { inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 50% 50%; }
  .outro__logo { position: relative; inline-size: clamp(110px, 16vw, 190px); filter: drop-shadow(0 8px 18px rgb(0 10 110 / .25)); }
  .outro__txt { position: relative; display: grid; gap: 12px; justify-items: start; max-inline-size: 560px; }
  .outro__card p { color: var(--ink-2); max-inline-size: 56ch; }

  .crumbs { margin-block: 18px 0; font-size: .86rem; color: var(--ink-2); }
  .crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
  .crumbs li + li::before { content: "/"; margin-inline-end: 6px; color: var(--dash); }
  .crumbs a { text-decoration: none; }

  /* подвал: две карточки (бренд + контакт) + колонки */
  .base { margin-block-start: 80px; padding-block: 44px 24px; background: #E9EEF7; border-block-start: 1px solid var(--line); }
  .base__grid { display: grid; grid-template-columns: 1.3fr 1.1fr .8fr .9fr .7fr; gap: 18px; }
  .base__card { padding: 20px; background: #fff; border: 1px dashed var(--dash); border-radius: var(--r); }
  .base__card p { font-size: .9rem; color: var(--ink-2); margin-block-start: 12px; }
  .base__motto { font-family: var(--f-head); color: var(--navy) !important; }
  .base h2 { font-size: 1rem; margin-block-end: 10px; }
  .base__col ul { display: grid; gap: 6px; font-size: .9rem; }
  .base__col a { text-decoration: none; color: var(--ink-2); }
  .base__col a:hover { color: var(--red); }
  .facts { display: grid; gap: 10px; font-size: .9rem; }
  .facts li { display: grid; gap: 2px; }
  .facts span { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); }
  .facts address { font-style: normal; }
  .facts a { overflow-wrap: anywhere; }
  .base__foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-block-start: 28px; font-size: .84rem; color: var(--ink-2); }
  .totop { text-decoration: none; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
}

@layer pages {
  .lineintro { display: grid; gap: 28px; align-items: center; margin-block: 22px 28px; padding: clamp(20px, 3.4vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
  .lineintro--pic { grid-template-columns: 1.4fr 1fr; }
  .lineintro h1 { margin-block-end: 12px; }
  .lineintro p { color: var(--ink-2); max-inline-size: 70ch; }
  .lineintro figure { padding: 8px; border: 1px dashed var(--dash); border-radius: 18px; background: var(--ice); }
  .lineintro figure img { border-radius: 12px; max-block-size: 340px; inline-size: 100%; object-fit: cover; }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 18px; }
  .chips a, .chip { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .88rem; font-weight: 600; text-decoration: none; cursor: pointer; }
  .chips a:hover, .chip.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }

  .shop { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
  .refine { position: sticky; inset-block-start: 110px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
  .refine h2 { font-size: 1.05rem; margin-block-end: 8px; }
  .refine fieldset { border: 0; border-block-start: 1px solid var(--line); margin: 0; padding: 12px 0; display: grid; gap: 6px; }
  .refine legend { font-weight: 700; padding: 0; margin-block-end: 6px; font-size: .92rem; float: left; inline-size: 100%; }
  .refine label { display: flex; gap: 8px; align-items: center; font-size: .9rem; cursor: pointer; }
  .refine input { accent-color: var(--navy); }
  .sortbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-block-end: 16px; font-size: .92rem; }
  .sortbar select { margin-inline-start: 8px; padding: 7px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
  .none { padding: 24px; text-align: center; background: #fff; border: 1px dashed var(--dash); border-radius: var(--r); }

  /* карточка товара */
  .item { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; margin-block-start: 18px; }
  .view { position: relative; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
  .view__r { position: absolute; opacity: 0; pointer-events: none; }
  .view__f { display: none; border-radius: 14px; overflow: hidden; border: 1px dashed var(--dash); }
  .view__f img { inline-size: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; }
  .view__thumbs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-block-start: 10px; }
  .view__t { display: block; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; cursor: pointer; }
  .view__t img { aspect-ratio: 1; object-fit: cover; inline-size: 100%; }
  #g0:checked ~ .view__frames .view__f--0, #g1:checked ~ .view__frames .view__f--1, #g2:checked ~ .view__frames .view__f--2,
  #g3:checked ~ .view__frames .view__f--3, #g4:checked ~ .view__frames .view__f--4, #g5:checked ~ .view__frames .view__f--5,
  #g6:checked ~ .view__frames .view__f--6 { display: block; }
  #g0:checked ~ .view__thumbs .view__t--0, #g1:checked ~ .view__thumbs .view__t--1, #g2:checked ~ .view__thumbs .view__t--2,
  #g3:checked ~ .view__thumbs .view__t--3, #g4:checked ~ .view__thumbs .view__t--4, #g5:checked ~ .view__thumbs .view__t--5,
  #g6:checked ~ .view__thumbs .view__t--6 { border-color: var(--red); }
  #g0:focus-visible ~ .view__thumbs .view__t--0, #g1:focus-visible ~ .view__thumbs .view__t--1 { outline: 3px solid var(--red); }
  .item__buy { display: grid; gap: 14px; justify-items: start; }
  .item__buy h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
  .item__hook { font-size: 1.06rem; color: var(--ink-2); }
  .item__sizes { inline-size: 100%; }
  .item__sizes p { font-weight: 700; font-size: .9rem; margin-block-end: 8px; }
  .item__sizes ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .item__sizes a { display: grid; gap: 2px; padding: 10px; text-align: center; text-decoration: none; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
  .item__sizes a b { font-family: var(--f-head); font-weight: 400; font-size: 1.1rem; color: var(--navy); }
  .item__sizes a span { font-size: .8rem; color: var(--ink-2); }
  .item__sizes a[aria-current] { border: 2px solid var(--navy); background: var(--ice); }
  .item__fine { font-size: .84rem; color: var(--ink-2); }
  .item__buy .spec { inline-size: 100%; }
  .item__more { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
  .item__story, .item__pts { padding: clamp(20px, 3vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: 22px; }
  .item__story h2, .item__pts h2 { font-size: 1.35rem; margin-block-end: 14px; }
  .item__story p { color: var(--ink-2); margin-block-end: 12px; }

  /* гайд */
  .read { margin-block-start: 22px; }
  .read__head { max-inline-size: 860px; }
  .read__dek { font-size: 1.12rem; color: var(--ink-2); margin-block-start: 12px; }
  .read__fig { margin-block: 26px; padding: 8px; border: 1px dashed var(--dash); border-radius: 22px; background: #fff; }
  .read__fig img { border-radius: 14px; inline-size: 100%; max-block-size: 460px; object-fit: cover; }
  .read__grid { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: start; }
  .read__toc { position: sticky; inset-block-start: 110px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); font-size: .9rem; }
  .read__toc p { font-weight: 700; margin-block-end: 8px; }
  .read__toc ol { list-style: decimal; padding-inline-start: 18px; display: grid; gap: 6px; color: var(--ink-2); }
  .read__body { max-inline-size: 72ch; }
  .read__body h2 { font-size: 1.35rem; margin-block: 28px 10px; }
  .read__body h2:first-child { margin-block-start: 0; }
  .read__body p { color: #2A3150; margin-block-end: 12px; }

  /* сервисные */
  .svc { margin-block-start: 22px; }
  .svc__head { max-inline-size: 820px; margin-block-end: 28px; }
  .svc__head p { font-size: 1.08rem; color: var(--ink-2); margin-block-start: 10px; }
  .chaps { display: grid; gap: 14px; }
  .chap { display: grid; grid-template-columns: 80px 1fr; gap: 18px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
  .chap__n { font-family: var(--f-head); font-size: 2.4rem; color: var(--red); line-height: 1; }
  .chap h2 { font-size: 1.2rem; margin-block-end: 6px; }
  .chap p { color: var(--ink-2); }
  .pull { margin-block: 28px; padding: 24px 28px; border-inline-start: 6px solid var(--red); background: var(--navy); color: #fff; font-family: var(--f-head); font-size: clamp(1.2rem, 2.6vw, 1.8rem); border-radius: 0 var(--r) var(--r) 0; }
  .svc__fig img { border-radius: var(--r); inline-size: 100%; }
  .svc__two { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
  .svc__card { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
  .svc__card h2 { font-size: 1.15rem; margin-block-end: 12px; }
  .topics { display: grid; gap: 10px; }
  .topic { display: grid; gap: 2px; padding: 14px 16px; border: 1px dashed var(--dash); border-radius: 12px; text-decoration: none; }
  .topic:hover { border-color: var(--navy); background: var(--ice); color: inherit; }
  .topic span { font-size: .88rem; color: var(--ink-2); }
  .svc__note { margin-block-start: 18px; padding: 20px 22px; background: #FFF6D6; border: 1px solid #F2DD8A; border-radius: var(--r); }
  .svc__note h2 { font-size: 1.1rem; margin-block-end: 6px; }
  .path { display: grid; gap: 0; }
  .path__s { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding-block-end: 24px; }
  .path__s:not(:last-child)::before { content: ""; position: absolute; inset-block: 50px 0; inset-inline-start: 27px; border-inline-start: 2px dashed var(--dash); }
  .path__n { display: grid; place-items: center; inline-size: 56px; block-size: 56px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--f-head); font-size: 1.3rem; }
  .path__s > div { padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
  .path h2 { font-size: 1.1rem; margin-block-end: 4px; }
  .path p { color: var(--ink-2); }
  .faqtools { display: grid; gap: 14px; margin-block-end: 22px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
  .search { display: grid; gap: 6px; font-weight: 700; font-size: .9rem; }
  .search input { padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); font-weight: 400; inline-size: 100%; }
  .chips--btn { margin: 0; }
  .faqgrp { margin-block-end: 22px; display: grid; gap: 10px; }
  .faqgrp h2 { font-size: 1.15rem; }
  .ledger { inline-size: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: .92rem; }
  .ledger th, .ledger td { padding: 14px 16px; text-align: start; vertical-align: top; border-block-end: 1px solid var(--line); }
  .ledger thead th { background: var(--navy); color: #fff; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
  .ledger tbody th { color: var(--navy); }
  .ledger tr:last-child > * { border-block-end: 0; }
  .svc__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-block-start: 22px; }
  .svc__grid section { padding: 20px; background: #fff; border: 1px dashed var(--dash); border-radius: var(--r); }
  .svc__grid h2 { font-size: 1.05rem; margin-block-end: 6px; }
  .svc__grid p { color: var(--ink-2); }
  .svc__stamp { margin-block-start: 22px; font-size: .88rem; color: var(--ink-2); }
  .rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; counter-reset: r; }
  .rule { position: relative; padding: 20px 20px 20px 66px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); counter-increment: r; }
  .rule::before { content: counter(r); position: absolute; inset-inline-start: 18px; inset-block-start: 18px; display: grid; place-items: center; inline-size: 34px; block-size: 34px; border-radius: 10px; background: var(--red); color: #fff; font-family: var(--f-head); }
  .rule h2 { font-size: 1.05rem; margin-block-end: 4px; }
  .rule p { color: var(--ink-2); }
}

@media (max-width: 1080px) {
  .lines a { padding: 8px 9px; font-size: .86rem; }
  .brandmark small { display: none; }
  .holders, .tiles, .perks { grid-template-columns: repeat(2, 1fr); }
  .holders--three { grid-template-columns: repeat(2, 1fr); }
  .base__grid { grid-template-columns: 1fr 1fr; }
  .base__card { grid-column: span 1; }
}
@media (max-width: 900px) {
  .topbar__card { flex-wrap: wrap; }
  .burger { display: grid; gap: 5px; margin-inline-start: auto; padding: 10px; cursor: pointer; border: 1px solid var(--line); border-radius: 10px; order: 2; }
  .burger i { display: block; inline-size: 22px; block-size: 2px; background: var(--ink); }
  .lines { display: none; order: 4; inline-size: 100%; margin: 0; }
  .navtoggle:checked ~ .lines { display: block; }
  .lines ul { flex-direction: column; padding-block-start: 8px; border-block-start: 1px dashed var(--dash); }
  .topbar__cta { order: 3; }
  .tap--head { inline-size: 170px; }
  .hero__card, .lineintro--pic, .item, .item__more, .feat, .svc__two { grid-template-columns: 1fr; }
  .feat--flip .feat__fig { order: 0; }
  .feat__txt { padding: 0 6px 8px; }
  .steps, .notes, .guides { grid-template-columns: 1fr; }
  .notes--two, .guides--two { grid-template-columns: 1fr; }
  .shop { grid-template-columns: 1fr; }
  .refine { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .refine h2, .refine button { grid-column: 1 / -1; }
  .read__grid { grid-template-columns: 1fr; }
  .read__toc { position: static; }
  .tally { grid-template-columns: 1fr 1fr; }
  .tally li:nth-child(3) { border-inline-start: 0; }
  .tally li:nth-child(n+3) { border-block-start: 1px solid var(--line); }
  .head--split { flex-direction: column; align-items: flex-start; }
  .rules, .svc__grid { grid-template-columns: 1fr; }
  .ledger thead { display: none; }
  .ledger, .ledger tbody, .ledger tr, .ledger th, .ledger td { display: block; inline-size: 100%; }
  .ledger tr { border-block-end: 1px solid var(--line); }
  .ledger td, .ledger th { border: 0; padding: 6px 16px; }
  .ledger tbody th { padding-block-start: 14px; }
  .ledger td::before { content: attr(data-h) ": "; font-weight: 700; color: var(--ink); }
  .ledger td:last-child { padding-block-end: 14px; }
  .outro__card { grid-template-columns: 1fr; }
  .finder { grid-template-columns: 1fr; }
  .meaning__grid { grid-template-columns: 1fr; }
  .cmp__pics { grid-template-columns: repeat(3, 1fr); }
  .cmp__pics::before { display: none; }
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; inline-size: 100%; }
  .cmp tr { border-block-end: 1px solid var(--line); padding-block: 8px; }
  .cmp tbody tr:last-child { border-block-end: 0; }
  .cmp th, .cmp td { border: 0; padding: 4px 16px; }
  .cmp tbody th { color: var(--navy); font-family: var(--f-head); font-weight: 400; }
  .cmp td::before { content: attr(data-h) ": "; color: var(--ink-2); font-weight: 600; }
  .dock { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 40; display: flex; align-items: center; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / .97); border-block-start: 1px solid var(--line);
    box-shadow: 0 -8px 24px -12px rgb(0 10 110 / .35); translate: 0 110%; transition: translate .25s ease; }
  .dock.is-on { translate: 0 0; }
  .dock__p { display: grid; min-inline-size: 0; flex: 1; line-height: 1.2; }
  .dock__p b { color: var(--navy); font-size: 1.15rem; }
  .dock__p span { font-size: .78rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tap--dock { inline-size: 190px; flex: none; }
  body:has(.dock) .base { padding-block-end: 96px; }
}
@media (max-width: 560px) {
  .holders, .holders--three, .holders--four, .tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .holder { padding: 10px 10px 12px; }
  .holder__top .holder__n { display: none; }
  .holder__name { font-size: .9rem; }
  .cost b { font-size: 1.1rem; }
  .spec--mini { display: none; }
  .perks { grid-template-columns: 1fr; }
  .tile a { padding: 8px 8px 14px; }
  .tile__txt { display: none; }
  .tile__name { font-size: 1rem; }
  .ribbon { grid-template-columns: 1fr; }
  .ribbon__wide, .ribbon__half { aspect-ratio: 16 / 10; }
  .ribbon__say { max-inline-size: 100%; }
  .base__grid { grid-template-columns: 1fr 1fr; }
  .base__card { grid-column: 1 / -1; }
  .refine { grid-template-columns: 1fr; }
  .view__thumbs { grid-template-columns: repeat(4, 1fr); }
  .item__sizes ul { grid-template-columns: repeat(2, 1fr); }
  .chap { grid-template-columns: 1fr; gap: 6px; }
  .pick { grid-template-columns: 96px 1fr; gap: 12px; }
  .tap--dock { inline-size: 168px; }
  .ask p { padding-inline-start: 18px; }
  .brandmark img { inline-size: 44px; }
  .tap--head { inline-size: 168px; }
  .topbar .brandmark b { display: none; }
  .outro__mark { inline-size: 100%; opacity: .18; }
  .burger { order: 3; margin-inline-start: 0; }
  .topbar__cta { order: 2; margin-inline-start: auto; }
}
