/* =========================================================
   Марафон «Продажи на Авито» — Эковики
   ========================================================= */

:root {
  --bg: #EEECE6;
  --bg-2: #E2DFD7;
  --paper: #F7F5F0;
  --white: #FFFFFF;
  --ink: #1B1E1C;
  --ink-2: #2E332F;
  --muted: #5A605C;
  --line: #B9BBB6;

  --green: #1A7A60;        /* кнопки, белый текст на нём — 5:1 */
  --green-dark: #135744;   /* зелёный текст */
  --green-brand: #2BAC8C;  /* цвет логотипа, только декор */
  --green-soft: #DCF2EA;
  --green-shadow: #0E4536;

  --tape: #F2C230;
  --kraft: #C9A27A;
  --kraft-2: #B48A60;
  --kraft-3: #DCC3A1;
  --kraft-paper: #E8D5BC;
  --kraft-ink: #5C3D1C;

  --metal: #4A5056;
  --metal-2: #3E4449;
  --metal-3: #6B7177;
  --metal-4: #8D939A;
  --dark: #1B1E1C;
  --on-dark-muted: #C9CCC8;

  --f-display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --f-body: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 56px);
  --section-y: clamp(44px, 5vw, 76px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(27, 30, 28, .05) 1px, transparent 1px);
  background-size: 7px 7px;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 3px solid var(--tape); outline-offset: 3px; }
.section--dark :focus-visible { outline-color: var(--tape); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 6px;
}
.skip:focus { top: 16px; }

[id] { scroll-margin-top: 84px; }

/* ---------- layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section__head { display: flex; flex-direction: column; gap: 10px; max-width: 760px; margin-bottom: 28px; }
.section__sub { font-size: clamp(15px, 1.2vw, 17px); color: var(--ink-2); }
.section__sub--light,
.section--dark .section__sub { color: var(--on-dark-muted); }
.section--dark { background: var(--dark); color: #fff; }

/* ---------- type ---------- */
.h1 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(28px, 3.6vw, 50px); line-height: 1.06; letter-spacing: -.02em; text-wrap: balance;
}
.h2 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(24px, 2.6vw, 38px); line-height: 1.1; letter-spacing: -.015em; text-wrap: balance;
}
.h2--xl { font-size: clamp(26px, 3vw, 42px); }
.h3 { font-family: var(--f-display); font-weight: 700; font-size: 18px; }
.lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--ink-2); max-width: 540px; }
.overline { font-family: var(--f-mono); font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.overline--yellow { color: var(--tape); }
.overline--green { color: var(--green-dark); }
.green { color: var(--green-dark); }

/* ---------- small atoms ---------- */
.tape {
  align-self: flex-start; display: inline-block; padding: 6px 14px;
  background: var(--tape); color: var(--ink);
  font-family: var(--f-mono); font-size: 13px; font-weight: 700; letter-spacing: .06em;
  transform: rotate(-2deg); box-shadow: 0 1px 0 rgba(0, 0, 0, .12);
}
.tape--sm { padding: 6px 12px; transform: rotate(-3deg); }
.tape--right { transform: rotate(2deg); }
.chip { display: inline-block; padding: 6px 14px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: 13px; font-weight: 600; }
.label { align-self: flex-start; padding: 3px 10px; background: var(--tape); font-family: var(--f-mono); font-size: 12px; font-weight: 700; }

.icon-circle {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--green-soft); color: var(--green-dark);
}
.icon-circle--lg { width: 64px; height: 64px; }
.icon-circle--kraft { background: #F3E6D3; color: #6E4A22; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 4px 0 var(--green-shadow); }
.btn--primary:hover { background: #166A53; }
.btn--primary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--green-shadow); }
.btn--sm { min-height: 44px; padding: 0 20px; box-shadow: none; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn--outline { align-self: flex-start; border: 2px solid var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--dark { align-self: flex-start; min-height: 52px; background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }

.btn-mini {
  min-height: 44px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 999px;
  background: #fff; font-size: 14px; font-weight: 600; cursor: pointer;
}
.btn-mini:hover { background: var(--ink); color: #fff; }
.btn-mini--ghost { border-color: transparent; background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.btn-mini--ghost:hover { background: transparent; color: var(--ink); text-decoration-thickness: 2px; }

.link-dl {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; text-underline-offset: 4px;
}
.link-dl:hover { color: var(--green-dark); }

/* ---------- header ---------- */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(238, 236, 230, .94); backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--ink);
}
.header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 12px; }
.header__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.header__brand img { height: 40px; width: auto; }
.header__x { font-family: var(--f-display); font-weight: 700; }
.header__partner { font-family: var(--f-display); font-weight: 700; font-size: 18px; }
.header__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; font-weight: 600; font-size: 15px; }
.header__nav a:not(.btn) { text-decoration: none; padding: 10px 0; }
.header__nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 720px) {
  .header { position: static; }
  .header__nav a:not(.btn) { display: none; }
  .header__inner { flex-wrap: nowrap; }
  .header__brand { gap: 8px; min-width: 0; }
  .header__brand img { height: 28px; }
  .header__partner { font-size: 15px; }
  .header__nav .btn { padding: 0 16px; font-size: 14px; }
}

/* ---------- hero ---------- */
.hero__inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 40px;
  padding-block: clamp(24px, 3vw, 44px) clamp(32px, 4vw, 56px);
}
.hero__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.hero__stickers { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 8px; }
.hero__note { margin-top: -6px; font-size: 14px; color: var(--muted); }
.hero__sub { margin-top: -6px; font-family: var(--f-display); font-weight: 500; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.3; color: var(--green-dark); }
.hero__pain {
  max-width: 540px; padding: 12px 16px; border-left: 0;
  background: #fff; border: 1.5px dashed var(--line); border-radius: 4px;
  font-size: 15px; color: var(--ink-2);
}

.tags { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; max-width: 560px; }
.tag {
  position: relative; padding: 10px 12px 10px 28px;
  background: #fff; border: 1.5px solid var(--ink); border-radius: 4px 14px 14px 4px;
}
.tag::before {
  content: ""; position: absolute; left: 10px; top: 50%; width: 10px; height: 10px; margin-top: -5px;
  border-radius: 50%; border: 1.5px solid var(--ink); background: var(--bg);
}
.tag b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 22px; line-height: 1; }
.tag span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.3; color: var(--muted); }
.tag--eco { background: var(--green-soft); }
.tag--eco span { color: var(--ink-2); }

.hero__visual { flex: 1 1 380px; min-width: 0; max-width: 500px; height: min(460px, 62vh); min-height: 360px; position: relative; }
.hero__photo { position: absolute; inset: 0; border: 2px solid var(--ink); border-radius: 6px; overflow: hidden; background: #D9D4C7; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }

.phone {
  position: absolute; left: 18px; bottom: 20px; width: 176px; padding: 9px;
  background: var(--ink); border-radius: 28px; transform: rotate(-4deg);
  box-shadow: 0 24px 48px rgba(27, 30, 28, .28);
}
.phone__screen { background: #fff; border-radius: 20px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.phone__img { position: relative; height: 100px; border-radius: 12px; overflow: hidden; background: var(--kraft-paper); }
.phone__img img { width: 100%; height: 100%; object-fit: cover; }
.phone__count { position: absolute; left: 8px; top: 8px; padding: 2px 6px; background: rgba(255, 255, 255, .9); font-family: var(--f-mono); font-size: 9px; font-weight: 700; }
.phone__title { font-weight: 700; font-size: 13px; line-height: 1.3; }
.phone__price { font-family: var(--f-display); font-weight: 700; font-size: 15px; }
.phone__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.phone__chip { padding: 3px 8px; background: var(--bg); border-radius: 999px; font-size: 11px; font-weight: 600; }
.phone__chip--green { background: var(--green-soft); }

@media (max-width: 520px) {
  .hero__visual { height: 380px; min-height: 0; }
  .phone { width: 156px; left: 12px; bottom: 14px; }
  .phone__img { height: 84px; }
}

/* ---------- author ---------- */
.author { border-top: 2px solid var(--ink); background: var(--kraft-paper); }
.author__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 48px; padding-block: clamp(32px, 4vw, 52px); }
.author__photo { position: relative; flex: 0 0 auto; margin: 0; width: 200px; height: 200px; transform: rotate(-3deg); }
.author__photo img,
.author__placeholder {
  width: 100%; height: 100%; object-fit: cover; border-radius: 6px; border: 6px solid #fff;
  box-shadow: 0 10px 24px rgba(27, 30, 28, .2); filter: grayscale(.25) contrast(1.05);
}
.author__placeholder { display: flex; align-items: flex-end; justify-content: center; background: var(--green-soft); color: var(--green-dark); overflow: hidden; }
.author__placeholder svg { width: 78%; height: 78%; fill: currentColor; stroke: none; opacity: .5; }
.author__tape { position: absolute; left: 50%; top: -14px; width: 84px; height: 22px; margin-left: -42px; background: var(--tape); opacity: .9; transform: rotate(4deg); }
.author__quote { flex: 1 1 420px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.author__quote p { font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.2; text-wrap: balance; }
.author__quote .btn { align-self: flex-start; }
@media (max-width: 520px) { .author__photo { width: 140px; height: 140px; } }

.author__name { font-size: 15px; color: var(--ink-2); max-width: 560px; }
.author__name b { color: var(--ink); }

/* ---------- people ---------- */
.people__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.person {
  margin: 0; display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 6px 20px; align-items: start;
  padding: 24px; background: #fff; border: 2px solid var(--ink); border-radius: 6px;
}
.person__photo {
  grid-row: 1 / span 2; width: 112px; height: 112px; object-fit: cover;
  border: 5px solid #fff; border-radius: 4px; box-shadow: 0 6px 16px rgba(27, 30, 28, .18);
  transform: rotate(-3deg); filter: grayscale(.25) contrast(1.05);
}
.person--r .person__photo { transform: rotate(3deg); }
.person__name { grid-column: 2; grid-row: 1; font-family: var(--f-display); font-weight: 700; font-size: 17px; }
.person__quote { grid-column: 2; grid-row: 2; margin: 0; font-size: 15px; color: var(--ink-2); }
@media (max-width: 420px) {
  .person { grid-template-columns: 1fr; }
  .person__photo { grid-row: auto; }
  .person__name, .person__quote { grid-column: 1; grid-row: auto; }
}

.step__bonus {
  margin-left: 8px; margin-right: auto; align-self: center; padding: 2px 8px; border-radius: 999px;
  background: var(--tape); font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .06em;
}

/* ---------- why ---------- */
.shelf-photo { position: relative; border-radius: 6px; overflow: hidden; border: 1px solid var(--metal); background: #2E3337; }
.shelf-photo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shelf-photo::after { content: ""; position: absolute; inset: 0; background: rgba(20, 22, 21, .38); }
.shelf-photo__cells {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; align-items: stretch;
  min-height: 360px; padding: 40px clamp(16px, 2.4vw, 28px) clamp(16px, 2.4vw, 28px);
}
.cell-hl {
  min-height: 240px; display: flex; flex-direction: column;
  padding: 72px 14px 14px; border: 3px dashed var(--tape); border-radius: 4px;
}
.cell-hl__card { flex: 1; background: #fff; color: var(--ink); padding: 20px; border-radius: 4px; display: flex; flex-direction: column; gap: 10px; }
.cell-hl__card p { font-size: 15px; }
@media (max-width: 620px) {
  .shelf-photo__cells { padding-top: 160px; }
  .cell-hl { min-height: 0; }
}

.before-after { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 40px; }
.ba { position: relative; flex: 1 1 300px; margin: 0; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; border: 1px solid var(--metal); background: #2E3337; }
.ba img { width: 100%; height: 100%; object-fit: cover; }
.ba__label { position: absolute; left: 12px; top: 12px; padding: 5px 12px; background: #fff; color: var(--ink); font-family: var(--f-display); font-size: 14px; font-weight: 700; border-radius: 3px; }
.ba__label--yellow { background: var(--tape); }


/* ---------- paths ---------- */
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.path {
  display: flex; flex-direction: column; padding: 14px 14px 0;
  background: var(--metal); border-radius: 6px;
}
.path::after { content: ""; display: block; height: 12px; margin: 0 -14px; background: var(--metal-3); border-radius: 0 0 6px 6px; }
.path__body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 22px clamp(18px, 2vw, 28px); background: var(--paper); border-radius: 2px; }
.path__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.path__title { font-family: var(--f-display); font-weight: 700; font-size: 22px; }
.pm { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.pm li { display: flex; align-items: baseline; gap: 10px; }
.pm__sign { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); font-weight: 700; }
.pm__sign--plus { background: var(--green-soft); color: var(--green-dark); }
.path__who { padding-top: 14px; border-top: 1.5px dashed var(--line); font-size: 15px; color: var(--muted); }
.path__who strong { color: var(--ink); }
.paths__note { margin-top: 32px; text-align: center; font-size: 14px; color: var(--muted); }

/* ---------- program (rack) ---------- */
.program { background: var(--bg-2); border-block: 2px solid var(--ink); }
.program__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.program__head .section__head { margin-bottom: 0; max-width: 720px; }

.progress { flex: 0 1 320px; display: flex; flex-direction: column; gap: 8px; }
.progress__row { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 13px; font-weight: 700; }
.progress__bar { height: 12px; background: #fff; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; }
.progress__fill { width: 0; height: 100%; background: var(--green); transition: width .35s ease; }
.progress__btns { display: flex; flex-wrap: wrap; gap: 10px; }

.rack {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px;
  padding: 12px; background: var(--metal-2); border-radius: 6px; box-shadow: inset 0 0 0 4px #2E3337;
}
.rack > li { display: flex; }

.step {
  position: relative; flex: 1; display: flex; flex-direction: column; gap: 10px;
  min-height: 250px; padding: 16px 16px 26px; border: 0; border-radius: 3px;
  background: var(--paper); text-align: left; cursor: pointer; overflow: hidden;
  box-shadow: inset 0 -10px 0 var(--metal-4);
}
.step:hover .step__boxes { transform: translateY(-4px); }
.step__top { display: flex; justify-content: space-between; align-items: flex-start; width: 100%; }
.step__num { font-family: var(--f-mono); font-size: 24px; font-weight: 700; line-height: 1; color: var(--metal); }
.step__title { font-family: var(--f-display); font-weight: 700; font-size: 17px; line-height: 1.25; }
.step__text { margin-top: auto; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.step__photo {
  display: none; width: calc(100% + 32px); max-width: none; margin: 2px -16px 0;
  aspect-ratio: 4 / 3; object-fit: cover;
}
.step[aria-expanded="true"] .step__photo { display: block; animation: photo-in .35s ease both; }
@keyframes photo-in { from { opacity: 0; } to { opacity: 1; } }

/* коробки на полке */
.step__boxes {
  position: absolute; left: 0; right: 0; bottom: 10px; height: 88px;
  background: repeating-linear-gradient(135deg, rgba(201, 162, 122, .22) 0 8px, rgba(201, 162, 122, .1) 8px 16px);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}
.step__boxes i { position: absolute; bottom: 0; border-radius: 2px; }
.step__boxes i:nth-child(1) { left: 14px; width: 46%; height: 80%; background: var(--kraft); opacity: .94; }
.step__boxes i:nth-child(1)::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 16px; margin-left: -8px; background: var(--tape); opacity: .8; }
.step__boxes i:nth-child(2) { right: 14px; width: 38%; height: 58%; background: var(--kraft-2); opacity: .92; }
.step__boxes i:nth-child(3) { right: 26px; bottom: 58%; width: 26%; height: 30%; background: var(--kraft-3); opacity: .94; }
/* второй вариант раскладки — чтобы полки не были одинаковыми */
.step--b .step__boxes i:nth-child(1) { width: 34%; height: 64%; background: var(--kraft-2); }
.step--b .step__boxes i:nth-child(1)::after { display: none; }
.step--b .step__boxes i:nth-child(2) { width: 50%; height: 84%; background: var(--kraft); }
.step--b .step__boxes i:nth-child(2)::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 14px; margin-top: -7px; background: var(--tape); opacity: .8; }
.step--b .step__boxes i:nth-child(3) { display: none; }

.step[aria-expanded="true"] .step__boxes { opacity: 0; transform: translateY(-24px); }

/* подсказка «Открыть» на закрытой полке */
.step__hint {
  position: absolute; left: 50%; bottom: 24px; z-index: 2; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 8px 7px 14px;
  background: var(--ink); color: #fff; border-radius: 999px;
  font-size: 13px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 6px 14px rgba(27, 30, 28, .25);
  transition: opacity .2s ease, background-color .2s ease;
}
.step__hint b {
  display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px;
  border-radius: 50%; background: var(--tape); color: var(--ink); font-size: 15px; line-height: 1;
}
.step:hover .step__hint,
.step:focus-visible .step__hint { background: var(--green); }
.step[aria-expanded="true"] .step__hint { opacity: 0; }

/* пока посетитель ничего не открыл — коробки слегка «подпрыгивают» */
.rack--nudge .step[aria-expanded="false"] .step__boxes { animation: nudge 3.2s ease-in-out infinite; }
.rack--nudge li:nth-child(even) .step__boxes { animation-delay: .25s; }
@keyframes nudge {
  0%, 72%, 100% { transform: translateY(0); }
  78% { transform: translateY(-7px); }
  84% { transform: translateY(0); }
  90% { transform: translateY(-3px); }
}

.rack__free {
  min-height: 250px; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
  padding: 16px; border: 2px dashed var(--metal-4); border-radius: 3px; color: var(--on-dark-muted);
  text-align: center; font-size: 14px;
}
.rack__free-title { font-family: var(--f-mono); font-size: 13px; font-weight: 700; letter-spacing: .06em; }
@media (max-width: 600px) {
  .rack__free { display: none !important; }
  .rack { gap: 10px; padding: 10px; }
  .step { min-height: 200px; }
  .step__boxes { height: 80px; }
}

/* ---------- results ---------- */
.results { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; }
.results__list { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.checklist { border-top: 2px solid var(--ink); }
.checklist li {
  position: relative; padding: 16px 0 16px 44px; border-bottom: 1.5px dashed var(--line); font-size: 17px;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 28px; height: 28px;
  border: 2px solid var(--ink); border-radius: 4px; background: var(--tape)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B1E1C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.dl { flex: 1 1 340px; min-width: 0; position: relative; margin-top: 24px; }
.dl::before {
  content: ""; position: absolute; left: 50%; top: -14px; z-index: 1;
  width: 120px; height: 28px; margin-left: -60px; background: var(--tape); opacity: .9; transform: rotate(-3deg);
}
.dl__card {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: 36px clamp(20px, 2.4vw, 32px) 28px;
  background: var(--kraft-paper); border: 2px solid var(--ink); border-radius: 4px; transform: rotate(1deg);
}
.dl__card > p { font-size: 15px; color: #2E2216; }
.dl__meta { font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--kraft-ink); }
.dl__title { font-family: var(--f-display); font-weight: 700; font-size: 24px; line-height: 1.2; }
.rooms { margin: 0; padding: 14px; border: 0; background: #fff; border-radius: 3px; }
.rooms__legend { float: left; width: 100%; margin-bottom: 8px; padding: 0; font-family: var(--f-mono); font-size: 12px; font-weight: 700; color: var(--kraft-ink); }
.rooms__list { clear: both; display: flex; flex-direction: column; }
.rooms__list li { display: flex; align-items: center; gap: 12px; }
.rooms__list li + li { border-top: 1px dashed #E2DACB; }
.rooms input {
  appearance: none; -webkit-appearance: none; flex: 0 0 auto; margin: 0;
  width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 4px; background: #fff; cursor: pointer;
  transition: background-color .15s ease;
}
.rooms input:checked {
  background: var(--tape) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B1E1C' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.rooms label { flex: 1; padding: 10px 0; font-size: 15px; cursor: pointer; }
.rooms input:checked + label { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--kraft-2); }

/* ---------- who ---------- */
.who { position: relative; overflow: hidden; background: var(--green-soft); border-block: 2px solid var(--ink); }
.who::before {
  content: ""; position: absolute; right: -60px; top: -40px; width: 320px; height: 320px; opacity: .6;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M44 30C80 0 150 6 178 48c26 40 18 100-20 128-40 30-104 28-136-6C-8 136 8 60 44 30Z' fill='%23BFE6D8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.who .container { position: relative; }
.who__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 32px 24px; }
.persona {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: 40px 24px 24px; background: #fff; border: 2px solid var(--ink); border-radius: 6px; font-size: 15px;
}
.persona::before { /* отверстие бирки */
  content: ""; position: absolute; left: 24px; top: 14px; width: 14px; height: 14px;
  border-radius: 50%; border: 2px solid var(--ink); background: var(--green-soft);
}
.persona::after { /* нитка */
  content: ""; position: absolute; left: 30px; top: -26px; width: 2px; height: 42px; background: var(--ink); transform: rotate(-14deg);
}
.persona--r::after { transform: rotate(10deg); }
.persona__title { font-family: var(--f-display); font-weight: 700; font-size: 20px; line-height: 1.3; }
.persona__pain { padding: 12px 14px; background: var(--bg); border-radius: 4px; }

/* ---------- faq ---------- */
.faq { display: flex; flex-wrap: wrap; gap: 32px 56px; }
.faq__head { flex: 1 1 300px; display: flex; flex-direction: column; gap: 14px; }
.faq__list { flex: 2 1 560px; min-width: 0; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 2px solid var(--ink); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none;
  font-family: var(--f-display); font-weight: 700; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; background: var(--tape); font-family: var(--f-mono); font-size: 20px;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 640px; padding-bottom: 20px; color: var(--ink-2); }

/* ---------- signup ---------- */
.signup__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.signup__text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { padding: 8px 14px; border: 1.5px solid var(--metal-3); border-radius: 999px; font-size: 14px; font-weight: 600; }

.parcel { flex: 1 1 400px; min-width: 0; position: relative; }
.parcel::before,
.parcel::after {
  content: ""; position: absolute; top: -12px; z-index: 1; width: 90px; height: 24px; background: var(--tape); opacity: .92;
}
.parcel::before { left: 28px; transform: rotate(-4deg); }
.parcel::after { right: 28px; transform: rotate(5deg); }
.parcel__box {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 36px clamp(16px, 2.6vw, 36px) 28px; background: var(--kraft-paper); color: var(--ink); border-radius: 6px;
}
.parcel__meta { display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: 12px; font-weight: 700; color: var(--kraft-ink); }

.parcel__cta { display: flex; flex-direction: column; gap: 16px; padding: 28px; background: #fff; border-radius: 6px; }
.parcel__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
.parcel__list { display: flex; flex-direction: column; gap: 10px; }
.parcel__list li { position: relative; padding-left: 34px; font-size: 16px; }
.parcel__list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 4px;
  background: var(--tape) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B1E1C' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.parcel__btn { align-self: stretch; margin-top: 6px; }
.parcel__note { font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- footer ---------- */
.footer { position: relative; overflow: hidden; border-top: 2px solid var(--ink); }
.footer::before {
  content: ""; position: absolute; left: -40px; bottom: -40px; width: 260px; height: 160px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 120'%3E%3Cpath d='M30 20C70 -6 140 2 176 30c30 24 26 66-8 84-36 18-110 12-146-12C-6 82 -4 42 30 20Z' fill='%23DCF2EA'/%3E%3C/svg%3E") center / contain no-repeat;
}
.footer__inner { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; padding-block: 40px; }
.footer__inner > img { height: 48px; width: auto; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; }
.footer__nav a { padding: 10px 0; }
.footer__copy { flex: 1 1 100%; font-size: 13px; color: var(--muted); }

/* ---------- cookie banner ---------- */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 0 max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  pointer-events: none;
}
.cookie__box {
  pointer-events: auto;
  max-width: 880px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  padding: 16px 20px; background: #fff; color: var(--ink);
  border: 2px solid var(--ink); border-radius: 8px;
  box-shadow: 0 12px 32px rgba(27, 30, 28, .22);
}
.cookie__text { flex: 1 1 420px; min-width: 0; font-size: 14px; line-height: 1.45; }
.cookie__text a { color: var(--green-dark); }
.cookie__btn { flex: 0 0 auto; min-height: 44px; box-shadow: none; }
@media (max-width: 520px) { .cookie__btn { width: 100%; } }
