@layer reset, tokens, frame, parts, pages;

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

@layer tokens {
  :root {
    --red: #e93f33;
    --red-deep: #ac221a;
    --red-soft: #fdeceb;
    --ink: #2c2c2c;
    --mute: #6f6f6f;
    --line: #e4e4e4;
    --fog: #f1f1f1;
    --coal: #4a4a4a;
    --sky: #eaf6f7;
    --gold: #f5a623;
    --paper: #fff;
    --wide: 1240px;
    --pad: clamp(16px, 4vw, 32px);
    --r: 14px;
    --display: "Titan One", "Arial Black", sans-serif;
    --text: "Lato", "Helvetica Neue", Arial, sans-serif;
  }
}

@layer frame {
  body { font-family: var(--text); color: var(--ink); background: var(--paper); line-height: 1.55; font-size: 17px; overflow-x: hidden; }
  .wrap { inline-size: min(100% - 2 * var(--pad), var(--wide)); margin-inline: auto; }
  h1, h2, .h { font-family: var(--display); font-weight: 400; line-height: 1.1; letter-spacing: .2px; }
  h1 { font-size: clamp(2rem, 5vw, 3.3rem); }
  h2 { font-size: clamp(1.55rem, 3.4vw, 2.3rem); }
  h3 { font-size: 1.12rem; line-height: 1.3; }
  .skip { position: absolute; inset-inline-start: -999px; }
  .skip:focus { inset-inline-start: 8px; inset-block-start: 8px; background: #fff; padding: 8px 12px; z-index: 99; }
  :focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

  /* верхняя красная полоса */
  .tops { background: var(--red); color: #fff; font-size: .86rem; letter-spacing: .3px; }
  .tops .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 18px; padding-block: 6px; }
  .tops a { text-transform: uppercase; }
  .tops a:hover { text-decoration: underline; }
  .tops ul { display: flex; flex-wrap: wrap; gap: 4px 16px; }
  .tops li + li { border-inline-start: 1px solid rgb(255 255 255 / .45); padding-inline-start: 16px; }

  /* шапка: поиск — лого — кнопка */
  .mast .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-block: 14px; }
  .mast__logo img { inline-size: clamp(180px, 26vw, 360px); }
  .mast__go { justify-self: end; }
  .find { position: relative; max-inline-size: 420px; }
  .find form { display: flex; }
  .find input { flex: 1; min-inline-size: 0; border: 1px solid #cfcfcf; border-inline-end: 0; padding: 9px 12px; font-size: .95rem; background: #fff; }
  .find button { background: var(--red); inline-size: 40px; display: grid; place-items: center; }
  .find svg { inline-size: 18px; fill: none; stroke: #fff; stroke-width: 2.6; }
  .find__out { position: absolute; inset-inline: 0; inset-block-start: 100%; background: #fff; border: 1px solid #cfcfcf; z-index: 30; display: none; box-shadow: 0 12px 24px rgb(0 0 0 / .12); }
  .find__out.on { display: block; }
  .find__out a { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 7px 10px; font-size: .9rem; line-height: 1.25; }
  .find__out a:hover { background: var(--fog); }
  .find__out b { color: var(--red); }

  /* серая навигация категорий */
  .rail { background: var(--fog); border-block: 1px solid var(--line); }
  .rail ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 4px; }
  .rail a { display: block; padding: 11px 12px; font-size: .86rem; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; color: #555; }
  .rail a:hover, .rail a[aria-current] { color: var(--red); }
  .rail li + li a { border-inline-start: 1px solid #d6d6d6; }
  .burger, .burger__box { display: none; }

  /* кнопка-штамп */
  .buy { display: inline-block; line-height: 0; transition: transform .15s; }
  .buy img { inline-size: 250px; }
  .buy:hover { transform: translateY(-2px) scale(1.015); }
  .buy--top img { inline-size: clamp(170px, 17vw, 220px); }
  .buy--card { display: block; inline-size: 100%; margin-block-start: auto; }
  .buy--card img { inline-size: 100%; }
  .buy--big img { inline-size: 340px; max-inline-size: 100%; }

  .pill { display: inline-block; border: 2px solid var(--red); color: var(--red); font-weight: 900; text-transform: uppercase; font-size: .88rem; letter-spacing: .4px; padding: 11px 22px; border-radius: 99px; }
  .pill:hover { background: var(--red); color: #fff; }
  .pill--fill { background: var(--red); color: #fff; }
  .pill--fill:hover { background: var(--red-deep); border-color: var(--red-deep); }
  .pill--white { border-color: #fff; color: #fff; }
  .pill--white:hover { background: #fff; color: var(--red); }

  /* подвал */
  .base { background: var(--coal); color: #f3f3f3; margin-block-start: 0; }
  .base .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 34px; padding-block: 44px; }
  .base h2 { font-family: var(--text); font-weight: 900; font-size: .95rem; text-transform: uppercase; letter-spacing: .5px; margin-block-end: 18px; }
  .base h2::after { content: ""; display: block; inline-size: 30px; block-size: 3px; background: rgb(255 255 255 / .3); margin-block-start: 10px; }
  .base__cats li { display: flex; justify-content: space-between; gap: 10px; border-block-end: 1px solid rgb(255 255 255 / .12); padding-block: 8px; }
  .base__cats small { color: #bdbdbd; font-weight: 700; }
  .base__list li { padding-block: 6px; }
  .base a:hover { color: #fff; text-decoration: underline; }
  .base address { font-style: normal; line-height: 1.7; }
  .base__logo { inline-size: 190px; margin-block-end: 14px; }
  .base__go { margin-block-start: 16px; }
  .under { background: #fff; color: var(--mute); font-size: .88rem; }
  .under .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-block: 14px; }
  .under b { color: var(--ink); }
}

@layer parts {
  .crumbs { font-size: .86rem; color: var(--mute); padding-block: 14px; }
  .crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; }
  .crumbs li + li::before { content: "›"; margin-inline-end: 8px; }
  .crumbs a:hover { color: var(--red); }

  .sect { padding-block: clamp(34px, 6vw, 64px); }
  .sect__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 20px; margin-block-end: 24px; }
  .sect__head p { color: var(--mute); max-inline-size: 60ch; }
  .more { font-weight: 900; color: var(--red); text-transform: uppercase; font-size: .86rem; letter-spacing: .4px; }
  .more:hover { text-decoration: underline; }

  /* красная лента-заголовок (toyland.co.uk Top Deals) */
  .flag { background: var(--red); color: #fff; text-align: center; padding-block: 14px; }
  .flag h2 { font-size: clamp(1.5rem, 3.6vw, 2.4rem); }
  .ribbon { background: var(--red); color: #fff; }
  .ribbon .wrap { display: flex; align-items: center; justify-content: center; gap: 18px 30px; flex-wrap: wrap; padding-block: 20px; text-align: center; }
  .ribbon p { font-weight: 900; font-size: clamp(1.15rem, 3vw, 2rem); line-height: 1.2; }
  .ribbon svg { inline-size: 62px; flex: none; fill: #fff; }

  /* сетка карточек */
  .shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 22px 18px; }
  .card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
  .card:hover { box-shadow: 0 10px 26px rgb(0 0 0 / .1); }
  .card__pic { position: relative; display: block; padding: 10px; }
  .card__pic img { inline-size: 100%; aspect-ratio: 1; object-fit: contain; }
  .card__tag { position: absolute; inset-block-start: 10px; inset-inline-start: 10px; background: var(--red); color: #fff; font-weight: 900; font-size: .78rem; inline-size: 50px; block-size: 50px; border-radius: 50%; display: grid; place-items: center; line-height: 1; text-align: center; }
  .card__body { display: flex; flex-direction: column; gap: 6px; padding: 0 14px 14px; flex: 1; }
  .card__name { font-weight: 700; font-size: .96rem; line-height: 1.3; }
  .card__name:hover { color: var(--red); }
  .card__cost { font-size: 1.12rem; }
  .card__cost b { font-weight: 900; }
  .card__cost s { color: var(--mute); font-size: .9rem; margin-inline-start: 6px; }
  .stars { display: flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--mute); }
  .stars i { --w: 100%; position: relative; inline-size: 82px; block-size: 15px; display: inline-block;
    background: linear-gradient(90deg, var(--gold) var(--w), #d9d9d9 var(--w));
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 19'%3E%3Cpath d='M10 0l2.9 6.3 6.9.8-5.1 4.7 1.4 6.8L10 15.2 3.9 18.6l1.4-6.8L.2 7.1l6.9-.8z'/%3E%3C/svg%3E") 0 0 / 16.4px 15px repeat-x;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 19'%3E%3Cpath d='M10 0l2.9 6.3 6.9.8-5.1 4.7 1.4 6.8L10 15.2 3.9 18.6l1.4-6.8L.2 7.1l6.9-.8z'/%3E%3C/svg%3E") 0 0 / 16.4px 15px repeat-x; }
  .stars b { color: var(--ink); }

  /* аккордеон */
  .asked details { border-block-end: 1px solid var(--line); }
  .asked summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 16px 4px; font-weight: 700; }
  .asked summary::-webkit-details-marker { display: none; }
  .asked summary::after { content: "+"; font-family: var(--display); color: var(--red); font-size: 1.3rem; line-height: 1; }
  .asked details[open] summary::after { content: "–"; }
  .asked details p { padding: 0 4px 18px; color: #4b4b4b; max-inline-size: 78ch; }

  .prose p { margin-block-end: 1em; color: #444; }
  .note { background: var(--red-soft); border-inline-start: 5px solid var(--red); padding: 14px 18px; border-radius: 0 var(--r) var(--r) 0; font-size: .97rem; }
  .note b { color: var(--red-deep); }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .chips button, .chips a { border: 1px solid #cfcfcf; border-radius: 99px; padding: 6px 14px; font-size: .88rem; font-weight: 700; background: #fff; }
  .chips button[aria-pressed="true"], .chips a:hover, .chips button:hover { background: var(--red); border-color: var(--red); color: #fff; }
}

@layer pages {
  /* --- главная --- */
  .lift { background: linear-gradient(180deg, #fff 0%, var(--sky) 100%); overflow: hidden; }
  .lift .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 20px 40px; align-items: center; padding-block: clamp(28px, 5vw, 56px); }
  .lift__kick { display: inline-block; background: var(--red); color: #fff; font-weight: 900; text-transform: uppercase; letter-spacing: .6px; font-size: .82rem; padding: 6px 14px; border-radius: 99px; margin-block-end: 16px; }
  .lift h1 { color: var(--red); }
  .lift h1 span { color: var(--ink); display: block; font-size: .62em; margin-block-start: 10px; }
  .lift__lede { margin-block: 18px 24px; font-size: 1.1rem; max-inline-size: 52ch; }
  .lift__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
  .lift__sky { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 10px; }
  .lift__sky a { position: relative; display: block; padding-block-end: 34px; }
  .lift__sky a::after { content: ""; position: absolute; inset-block-end: 0; inset-inline-start: 50%; inline-size: 2px; block-size: 40px; background: repeating-linear-gradient(180deg, #b9b9b9 0 5px, transparent 5px 9px); }
  .lift__sky img { inline-size: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; animation: bob 5s ease-in-out infinite; }
  .lift__sky a:nth-child(2n) img { animation-delay: -2.2s; }
  .lift__sky a:nth-child(3) img { animation-delay: -1.1s; }
  @keyframes bob { 50% { transform: translateY(-10px) rotate(1.2deg); } }
  @media (prefers-reduced-motion: reduce) { .lift__sky img { animation: none; } }

  .cast { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 22px 12px; }
  .cast a { display: grid; justify-items: center; gap: 8px; text-align: center; font-weight: 700; font-size: .93rem; line-height: 1.2; }
  .cast img { inline-size: 104px; block-size: 104px; border-radius: 50%; object-fit: contain; background: #fff; border: 3px solid var(--red-soft); padding: 6px; transition: border-color .15s, transform .15s; }
  .cast a:hover img { border-color: var(--red); transform: translateY(-4px); }
  .cast small { display: block; color: var(--mute); font-weight: 400; font-size: .8rem; }

  .trio-band { background: var(--sky); }
  .trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
  .trio a { background: #fff; border-radius: var(--r); overflow: hidden; display: block; text-align: center; box-shadow: 0 2px 0 rgb(0 0 0 / .05); }
  .trio img { inline-size: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 14px; }
  .trio b { display: block; padding: 14px 10px 18px; font-size: 1.05rem; }
  .trio a:hover b { color: var(--red); }

  .digits { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
  .digits a { inline-size: 74px; block-size: 74px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 2rem; color: #fff; background: var(--red); box-shadow: inset -6px -8px 0 rgb(0 0 0 / .12), inset 6px 6px 0 rgb(255 255 255 / .22); transition: transform .15s; }
  .digits a:nth-child(3n+2) { background: #f08a24; }
  .digits a:nth-child(3n) { background: #2f9fb4; }
  .digits a:hover { transform: translateY(-6px); }

  .star { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 44px; align-items: center; }
  .star__pic img { inline-size: 100%; aspect-ratio: 1; object-fit: contain; border: 1px solid var(--line); border-radius: var(--r); }
  .star__lab { color: var(--mute); text-transform: uppercase; font-weight: 900; letter-spacing: .5px; font-size: .8rem; }
  .star h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.15; margin-block: 8px 12px; }
  .star ul { margin-block: 14px; display: grid; gap: 8px; }
  .star li, .ticks li { padding-inline-start: 26px; position: relative; }
  .star li::before, .ticks li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .42em; inline-size: 14px; block-size: 14px; border-radius: 50%; background: var(--red); }
  .star__cost { font-size: 1.6rem; font-weight: 900; margin-block: 12px 16px; }
  .star__cost s { font-size: 1rem; color: var(--mute); font-weight: 400; margin-inline-start: 8px; }

  .aisles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
  .aisles a { border-radius: 22px; overflow: hidden; background: var(--red-soft); display: block; text-align: center; }
  .aisles a:nth-child(3n+2) { background: var(--sky); }
  .aisles a:nth-child(3n) { background: #fff4e3; }
  .aisles img { inline-size: 100%; aspect-ratio: 1; object-fit: contain; padding: 16px; mix-blend-mode: multiply; transition: transform .2s; }
  .aisles a:hover img { transform: scale(1.06); }
  .aisles b { display: block; padding: 0 10px 16px; text-transform: uppercase; font-size: .86rem; letter-spacing: .4px; color: #1f5f8b; }

  .steps-band { background: var(--fog); }
  .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; counter-reset: s; text-align: center; }
  .steps li { counter-increment: s; }
  .steps li::before { content: counter(s); display: grid; place-items: center; inline-size: 54px; block-size: 54px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--display); font-size: 1.5rem; margin: 0 auto 12px; }
  .steps h3 { font-size: 1.2rem; margin-block-end: 6px; }
  .steps p { color: #555; max-inline-size: 34ch; margin-inline: auto; }

  .said { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 18px; }
  .said li { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
  .said h3 { font-size: 1.02rem; }
  .said blockquote { color: #444; font-size: .96rem; flex: 1; }
  .said footer { font-size: .85rem; color: var(--mute); border-block-start: 1px dashed var(--line); padding-block-start: 10px; }
  .said footer a { color: var(--red); font-weight: 700; display: block; margin-block-start: 3px; }
  .said footer a:hover { text-decoration: underline; }

  .reads { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
  .reads a { display: block; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
  .reads picture { display: block; background: var(--sky); }
  .reads img { inline-size: 100%; aspect-ratio: 16 / 9; object-fit: contain; padding: 10px; mix-blend-mode: multiply; }
  .reads div { padding: 16px 18px 20px; }
  .reads h3 { margin-block-end: 6px; }
  .reads p { color: #555; font-size: .95rem; }
  .reads a:hover h3 { color: var(--red); }

  .twocol { columns: 2 320px; column-gap: 44px; }
  .twocol p { break-inside: avoid; }
  .vows { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 26px; border-block: 1px solid var(--line); padding-block: 24px; }
  .vows li { display: flex; gap: 12px; align-items: center; font-weight: 700; font-size: .95rem; line-height: 1.3; }
  .vows svg { inline-size: 34px; flex: none; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .sendoff { background: var(--red); color: #fff; text-align: center; }
  .sendoff .wrap { padding-block: clamp(34px, 6vw, 60px); display: grid; justify-items: center; gap: 14px; }
  .sendoff p { max-inline-size: 56ch; font-size: 1.08rem; }
  .sendoff__cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 18px; margin-block-start: 8px; }

  /* --- листинги --- */
  .lead { padding-block: 6px 26px; display: grid; gap: 14px; }
  .lead p { max-inline-size: 76ch; font-size: 1.06rem; }
  .bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-block-end: 20px; padding-block: 12px; border-block: 1px solid var(--line); }
  .bar label { font-size: .9rem; color: var(--mute); }
  .bar select { border: 1px solid #cfcfcf; padding: 7px 10px; background: #fff; border-radius: 6px; }
  .split { display: grid; grid-template-columns: 250px 1fr; gap: 34px; align-items: start; }
  .refine { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; font-size: .94rem; position: sticky; inset-block-start: 12px; }
  .refine h2 { font-family: var(--text); font-weight: 900; font-size: 1rem; margin-block-end: 8px; }
  .refine fieldset { border: 0; padding: 0; margin: 0 0 16px; }
  .refine legend { font-weight: 900; padding: 0; margin-block-end: 6px; text-transform: uppercase; font-size: .78rem; letter-spacing: .5px; color: var(--mute); }
  .refine label { display: flex; gap: 8px; align-items: center; padding-block: 3px; cursor: pointer; }
  .refine input { accent-color: var(--red); }
  .refine select { inline-size: 100%; border: 1px solid #cfcfcf; padding: 7px 8px; background: #fff; border-radius: 6px; }
  .refine button[type=reset] { color: var(--red); font-weight: 700; text-decoration: underline; }
  .none { display: none; padding: 30px; text-align: center; background: var(--fog); border-radius: var(--r); }
  .none.on { display: block; }

  /* --- карточка товара --- */
  .item { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 26px 48px; align-items: start; padding-block-end: 40px; }
  .item__main { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
  .item__main img { inline-size: 100%; aspect-ratio: 1; object-fit: contain; }
  .item__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 12px; }
  .item__thumbs button { inline-size: 74px; block-size: 74px; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; padding: 3px; }
  .item__thumbs button[aria-pressed="true"] { border-color: var(--red); }
  .item__thumbs img { inline-size: 100%; block-size: 100%; object-fit: contain; }
  .item__line { color: var(--red); font-weight: 900; text-transform: uppercase; font-size: .8rem; letter-spacing: .5px; }
  .item h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-block: 8px 12px; }
  .item__hook { font-size: 1.08rem; color: #444; margin-block: 12px; }
  .item__cost { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-block: 14px 4px; }
  .item__cost b { font-size: 2rem; font-weight: 900; }
  .item__cost s { color: var(--mute); }
  .item__cost em { font-style: normal; background: var(--red); color: #fff; font-weight: 900; font-size: .82rem; padding: 3px 9px; border-radius: 99px; }
  .item__fine { font-size: .82rem; color: var(--mute); margin-block-end: 16px; }
  .ticks { display: grid; gap: 9px; margin-block: 20px; }
  .facts { inline-size: 100%; border-collapse: collapse; margin-block-start: 22px; font-size: .95rem; }
  .facts th, .facts td { text-align: start; padding: 9px 12px; border: 1px solid var(--line); vertical-align: top; }
  .facts th { background: var(--fog); inline-size: 38%; font-weight: 700; }
  .facts a { color: var(--red); font-weight: 700; }
  .tale { display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px 44px; align-items: start; }
  .tale p + p { margin-block-start: 1em; }
  .tale aside { background: var(--sky); border-radius: var(--r); padding: 22px; display: grid; gap: 12px; justify-items: start; }

  /* --- гайды и сервисные --- */
  .page-head { background: var(--sky); }
  .page-head .wrap { padding-block: 10px clamp(26px, 5vw, 44px); }
  .page-head p { max-inline-size: 70ch; margin-block-start: 12px; font-size: 1.08rem; }
  .read { max-inline-size: 780px; }
  .read h2 { font-size: 1.5rem; margin-block: 1.5em .5em; }
  .read p { margin-block-end: 1em; }

  /* about: нить с узлами */
  .string { position: relative; display: grid; gap: 26px; padding-inline-start: 34px; max-inline-size: 760px; }
  .string::before { content: ""; position: absolute; inset-block: 6px; inset-inline-start: 11px; inline-size: 2px; background: repeating-linear-gradient(180deg, var(--red) 0 8px, transparent 8px 14px); }
  .string li { position: relative; }
  .string li::before { content: ""; position: absolute; inset-inline-start: -34px; inset-block-start: 2px; inline-size: 24px; block-size: 28px; border-radius: 50% 50% 50% 50% / 45% 45% 55% 55%; background: var(--red); box-shadow: inset -4px -5px 0 rgb(0 0 0 / .14); }
  .string h2 { font-size: 1.35rem; margin-block-end: 6px; }
  /* contact: записка на ленточке */
  .tagnote { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
  .tagnote__card { border: 2px dashed var(--red); border-radius: 18px; padding: 26px; background: #fff; position: relative; }
  .tagnote__card::before { content: ""; position: absolute; inset-block-start: 14px; inset-inline-end: 16px; inline-size: 16px; block-size: 16px; border-radius: 50%; border: 3px solid var(--red); }
  .tagnote__mail { font-family: var(--display); font-size: clamp(1.1rem, 2.6vw, 1.6rem); color: var(--red); word-break: break-all; display: inline-block; margin-block: 8px 14px; }
  .topics { display: grid; gap: 10px; }
  .topics a { display: flex; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; font-weight: 700; }
  .topics a:hover { border-color: var(--red); color: var(--red); }
  .topics a::after { content: "→"; }
  /* privacy: две колонки «в пакете / не в пакете» */
  .bag { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-block-end: 30px; }
  .bag section { border-radius: var(--r); padding: 22px; background: var(--sky); }
  .bag section + section { background: var(--red-soft); }
  .bag h2 { font-size: 1.3rem; margin-block-end: 12px; }
  .bag li { padding-block: 8px; border-block-end: 1px solid rgb(0 0 0 / .08); }
  .ledger { inline-size: 100%; border-collapse: collapse; font-size: .95rem; }
  .ledger th, .ledger td { border: 1px solid var(--line); padding: 10px 12px; text-align: start; vertical-align: top; }
  .ledger thead th { background: var(--coal); color: #fff; }
  /* terms: правила на шарах-цифрах */
  .rules { display: grid; gap: 18px; counter-reset: r; max-inline-size: 860px; }
  .rules li { counter-increment: r; display: grid; grid-template-columns: 62px 1fr; gap: 18px; align-items: start; }
  .rules li::before { content: counter(r); inline-size: 58px; block-size: 66px; border-radius: 50% 50% 50% 50% / 45% 45% 55% 55%; background: var(--red); color: #fff; font-family: var(--display); font-size: 1.7rem; display: grid; place-items: center; box-shadow: inset -6px -8px 0 rgb(0 0 0 / .13); }
  .rules li:nth-child(even)::before { background: #2f9fb4; }
  .rules h2 { font-size: 1.25rem; margin-block-end: 4px; }
  /* shipping: путь конверта */
  .route { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; counter-reset: k; margin-block-end: 30px; }
  .route li { counter-increment: k; padding: 22px 18px; border-block-start: 4px dashed var(--red); position: relative; }
  .route li::before { content: counter(k); position: absolute; inset-block-start: -19px; inset-inline-start: 14px; inline-size: 34px; block-size: 34px; border-radius: 50%; background: #fff; border: 3px solid var(--red); color: var(--red); font-weight: 900; display: grid; place-items: center; }
  .route h2 { font-size: 1.15rem; margin-block-end: 6px; }
  .duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
  .duo section { border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
  .duo h2 { font-size: 1.25rem; margin-block-end: 8px; }
  /* returns: «что случилось?» */
  .cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
  .cases details { border: 2px solid var(--line); border-radius: var(--r); padding: 0 18px; background: #fff; }
  .cases details[open] { border-color: var(--red); }
  .cases summary { cursor: pointer; font-weight: 900; padding-block: 18px; list-style: none; }
  .cases summary::-webkit-details-marker { display: none; }
  .cases summary::before { content: "?"; display: inline-grid; place-items: center; inline-size: 28px; block-size: 28px; border-radius: 50%; background: var(--red); color: #fff; margin-inline-end: 10px; }
  .cases p { padding-block-end: 18px; color: #444; }
  /* faq */
  .finder { display: grid; gap: 14px; margin-block-end: 20px; }
  .finder input { border: 2px solid var(--line); border-radius: 99px; padding: 12px 20px; max-inline-size: 520px; inline-size: 100%; }
  .finder input:focus { border-color: var(--red); outline: 0; }

  .lost { text-align: center; padding-block: 70px; display: grid; gap: 16px; justify-items: center; }
  .lost b { font-family: var(--display); font-size: clamp(4rem, 14vw, 8rem); color: var(--red); line-height: 1; }

  @media (max-width: 900px) {
    .lift .wrap, .star, .item, .tale, .tagnote, .split { grid-template-columns: 1fr; }
    .base .wrap { grid-template-columns: 1fr 1fr; }
    .refine { position: static; }
    .mast .wrap { grid-template-columns: auto 1fr auto; }
    .mast__logo { order: -1; }
    .find { grid-column: 1 / -1; order: 3; max-inline-size: none; }
    .burger { display: grid; place-items: center; inline-size: 44px; block-size: 44px; justify-self: end; cursor: pointer; order: 2; }
    .burger span, .burger span::before, .burger span::after { display: block; inline-size: 26px; block-size: 3px; background: var(--ink); border-radius: 2px; position: relative; }
    .burger span::before, .burger span::after { content: ""; position: absolute; }
    .burger span::before { inset-block-start: -8px; }
    .burger span::after { inset-block-start: 8px; }
    .mast__go { display: none; }
    .rail ul { display: none; flex-direction: column; }
    .burger__box:checked ~ .rail ul { display: flex; }
    .rail li + li a { border-inline-start: 0; border-block-start: 1px solid #dcdcdc; }
    .rail .rail__go { display: block; padding: 12px; text-align: center; }
  }
  @media (min-width: 901px) { .rail .rail__go { display: none; } }
  @media (max-width: 560px) {
    body { font-size: 16px; }
    .base .wrap { grid-template-columns: 1fr; }
    .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
    .card__body { padding: 0 10px 10px; }
    .card__name { font-size: .88rem; }
    .tops li + li { border: 0; padding: 0; }
    .cast { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 8px; }
    .cast img { inline-size: 84px; block-size: 84px; }
    .ribbon p + svg { display: none; }
    .lift__sky { max-inline-size: 320px; margin-inline: auto; }
    .rules li { grid-template-columns: 50px 1fr; gap: 12px; }
    .rules li::before { inline-size: 46px; block-size: 54px; font-size: 1.35rem; }
  }
}
