@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/cormorant-garamond-italic-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/cormorant-garamond-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/cormorant-garamond-italic-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/cormorant-garamond-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/cormorant-garamond-italic-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/cormorant-garamond-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/cormorant-garamond-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/cormorant-garamond-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/cormorant-garamond-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/cormorant-garamond-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/cormorant-garamond-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/cormorant-garamond-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/manrope-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/manrope-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Идея: Pamada — помада для текста. Люксовая косметика: «руж-нуар», алая помада, золото футляра.
   Сквозной приём — мазок помады под исправленным словом. Тёмная тема основная, светлая — «пудра». */
:root {
  --bg: #150a0e;
  --bg-deep: #0e0609;
  --surface: #211218;
  --surface-2: #2c1820;
  --ink: #f6e8e4;
  --ink-soft: #c9abab;
  --ink-faint: #a88a8e;
  --rule: #3b232a;
  --code-bg: #2c1820;
  --rouge: #d21c39;
  --rouge-text: #ff6b7d;
  --btn-ink: #fff6f2;
  --gold: #dcb57c;
  --gold-soft: #9c7a4c;
  --glow: #5c0d1d;
  --sheen-a: #ff6b80;
  --sheen-b: #d21c39;
  --sheen-c: #8e0e26;
  --shade-1: #d9a596;
  --shade-2: #d6828a;
  --shade-3: #c8434f;
  --shade-4: #a5142f;
  --shade-5: #5c0919;
  --shadow: #000000;

  --f-display: "Cormorant Garamond", "Cormorant", "Times New Roman", Georgia, serif;
  --f-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --f-mono: ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f8eeeb;
    --bg-deep: #f1e2de;
    --surface: #fffaf8;
    --surface-2: #f4e6e2;
    --ink: #2a0e15;
    --ink-soft: #6e4c53;
    --ink-faint: #7a5a61;
    --rule: #e6d1cc;
    --code-bg: #f1e0db;
    --rouge: #b8132e;
    --rouge-text: #a3102a;
    --btn-ink: #fff6f2;
    --gold: #7a5420;
    --gold-soft: #c9a573;
    --glow: #f3c9cb;
    --sheen-a: #e8384f;
    --sheen-b: #b8132e;
    --sheen-c: #6e0b1f;
    --shadow: #6b2a35;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f8eeeb;
  --bg-deep: #f1e2de;
  --surface: #fffaf8;
  --surface-2: #f4e6e2;
  --ink: #2a0e15;
  --ink-soft: #6e4c53;
  --ink-faint: #7a5a61;
  --rule: #e6d1cc;
  --code-bg: #f1e0db;
  --rouge: #b8132e;
  --rouge-text: #a3102a;
  --btn-ink: #fff6f2;
  --gold: #7a5420;
  --gold-soft: #c9a573;
  --glow: #f3c9cb;
  --sheen-a: #e8384f;
  --sheen-b: #b8132e;
  --sheen-c: #6e0b1f;
  --shadow: #6b2a35;
  color-scheme: light;
}

/* ---------- основа ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--rouge-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
p { margin: 0; }
em { font-style: italic; }
code { font: 500 .84em/1.4 var(--f-mono); background: var(--code-bg); padding: .12em .45em; border-radius: 6px; overflow-wrap: anywhere; }
kbd {
  display: inline-block; min-width: 1.9em; padding: 3px 7px 2px; margin: 0 1px;
  font: 600 12px/1.3 var(--f-body); text-align: center; color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--rule); border-bottom-width: 2px; border-radius: 6px;
}
s { color: var(--ink-faint); text-decoration-color: var(--rouge-text); text-decoration-thickness: 1.5px; }
.lip { background: url(img/swatch.png) 0 100% / 100% .4em no-repeat; padding: 0 .04em .08em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.small { font-size: 14px; color: var(--ink-faint); }

.wrap {
  max-width: 1240px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 760px) {
  .wrap { padding-left: max(48px, env(safe-area-inset-left, 0px)); padding-right: max(48px, env(safe-area-inset-right, 0px)); }
}

.label { font: 600 11.5px/1.4 var(--f-body); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
h2 { font: 500 clamp(40px, 5.6vw, 80px)/.98 var(--f-display); letter-spacing: -.015em; }
h2 em, .title em, .end__line em {
  font-style: italic;
  background: linear-gradient(100deg, var(--sheen-c) 0%, var(--sheen-b) 30%, var(--sheen-a) 52%, var(--sheen-b) 70%, var(--sheen-c) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.needs, .tag {
  display: inline-block; vertical-align: 2px; margin-left: 4px;
  font: 600 11px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 9px 4px; border-radius: 999px; border: 1px solid var(--gold-soft); color: var(--gold);
}
.tag { border-color: var(--rule); color: var(--ink-faint); }

/* ---------- кнопка ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 20px 36px 19px; border-radius: 999px;
  font: 700 12.5px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  color: var(--btn-ink);
  background: linear-gradient(180deg, var(--sheen-a) -40%, var(--rouge) 45%, var(--sheen-c) 140%);
  box-shadow: inset 0 1px 0 #ffffff40, 0 18px 40px -16px var(--rouge);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: inset 0 1px 0 #ffffff40, 0 24px 48px -16px var(--rouge); }
.btn--line { color: var(--ink); background: transparent; border: 1px solid var(--gold-soft); box-shadow: none; padding: 16px 24px 15px; letter-spacing: .14em; }
.btn--line:hover { box-shadow: none; border-color: var(--gold); }

/* ---------- первый экран ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 55% at 78% 38%, var(--glow), transparent 70%),
    var(--bg);
  padding-block: 22px clamp(56px, 7vw, 96px);
}
.bar { display: flex; align-items: center; gap: 32px; min-height: 52px; position: relative; z-index: 2; }
.mark { font: italic 600 32px/1 var(--f-display); color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.bar__links { display: flex; gap: 30px; margin-left: auto; }
.bar__links a { color: var(--ink-soft); text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.bar__links a:hover { color: var(--ink); }
@media (max-width: 959px) { .bar__links { display: none; } }
.theme {
  margin-left: auto; flex: none; width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: var(--ink); background: transparent; border: 1px solid var(--gold-soft);
}
@media (min-width: 960px) { .theme { margin-left: 0; } }
.theme svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.theme__sun { display: none; }
:root[data-theme="light"] .theme__sun { display: block; }
:root[data-theme="light"] .theme__moon { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme__sun { display: block; }
  :root:not([data-theme="dark"]) .theme__moon { display: none; }
}

.hero__grid { display: grid; gap: 24px; align-items: center; margin-top: clamp(28px, 5vw, 64px); }
@media (min-width: 960px) { .hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 32px; } }
.hero__copy { display: grid; gap: 26px; justify-items: start; position: relative; z-index: 2; }
.title { font: 500 clamp(66px, 11vw, 172px)/.84 var(--f-display); letter-spacing: -.025em; }
.title em { display: inline-block; padding-bottom: .08em; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-soft); max-width: 31em; }
.cta { display: grid; gap: 18px; justify-items: start; margin-top: 6px; }
.cta__meta { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 13px; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.cta__meta span + span::before { content: "·"; margin: 0 10px; color: var(--gold-soft); }

.product { position: relative; margin: 0; height: clamp(340px, 46vw, 640px); }
.product__swatch { position: absolute; left: -16%; top: 56%; width: 132%; max-width: none; height: auto; transform: translateY(-50%) rotate(-11deg); }
.product__stick { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 50px 50px #00000080); }
.seal { position: absolute; right: 0; top: 4%; width: clamp(104px, 11vw, 148px); height: auto; animation: spin 48s linear infinite; }
.seal__ring { fill: none; stroke: var(--gold-soft); stroke-width: 1; }
.seal__text { font: 600 10.5px var(--f-body); letter-spacing: .16em; text-transform: uppercase; fill: var(--gold); }
.seal__p { font: italic 600 54px var(--f-display); fill: var(--rouge); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 959px) {
  .product { height: clamp(300px, 80vw, 460px); }
  .seal { right: 0; top: 0; }
}

/* одно движение */
.stroke { position: relative; z-index: 2; margin-top: clamp(40px, 6vw, 72px); padding-top: 32px; border-top: 1px solid var(--rule); display: grid; gap: 18px; justify-items: start; }
.stroke__line { position: relative; max-width: 100%; padding-bottom: 14px; }
.stroke__text { font: 500 clamp(30px, 4.6vw, 64px)/1.15 var(--f-display); letter-spacing: -.01em; }
.stroke__text span { transition: color .3s ease; }
.stroke__text span.is-wrong { color: var(--ink-faint); font-family: var(--f-body); font-weight: 400; font-size: .72em; letter-spacing: 0; }
.stroke__text span.is-fixed { animation: fix .5s ease; }
@keyframes fix { from { opacity: 0; filter: blur(6px); } to { opacity: 1; filter: none; } }
.stroke__line { font-size: clamp(30px, 4.6vw, 64px); }
.stroke__swash {
  position: absolute; left: -1.5%; bottom: -.12em; width: 103%; max-width: none; height: .42em;
  object-fit: fill; clip-path: inset(0 calc((1 - var(--x, 1)) * 100%) 0 0);
}
.stroke__stick {
  position: absolute; top: calc(100% - .2em); left: calc(var(--x, 1) * 100% - .62em);
  width: 1em; height: auto; max-width: none;
  transform-origin: 62% 3%; transform: rotate(205deg);
  opacity: 0; transition: opacity .35s ease; pointer-events: none;
  filter: drop-shadow(0 10px 12px #00000066);
}
.stroke__line.is-running .stroke__stick { opacity: 1; }
.stroke__again {
  font: 600 11.5px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  background: none; border: 0; padding: 6px 0; cursor: pointer; border-bottom: 1px solid var(--gold-soft);
}

/* ---------- манифест ---------- */
.manifest { padding-block: clamp(80px, 11vw, 160px); background: var(--bg-deep); border-block: 1px solid var(--rule); }
.manifest__text { font: 400 clamp(28px, 3.7vw, 54px)/1.22 var(--f-display); max-width: 21em; letter-spacing: -.005em; }
.manifest__text em { color: var(--rouge-text); }

/* ---------- разделы ---------- */
.section { padding-block: clamp(80px, 10vw, 150px); }
.section--deep { background: var(--bg-deep); border-block: 1px solid var(--rule); }
.head { display: grid; gap: 22px; max-width: 820px; margin-bottom: clamp(44px, 6vw, 80px); }
.head__lead { font-size: 18px; color: var(--ink-soft); max-width: 36em; }

/* коллекция */
.items { list-style: none; margin: 0; padding: 0; }
.item { display: grid; gap: 14px 48px; padding-block: 38px; border-top: 1px solid var(--rule); }
.item:last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 980px) { .item { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, 1.2fr); align-items: baseline; } }
.item__name { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: baseline; }
.item__name h3 { font: italic 500 clamp(34px, 3.3vw, 48px)/1 var(--f-display); letter-spacing: -.01em; }
.item__what { grid-column: 2; margin-top: 8px; font: 600 11px/1.3 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px var(--bg), 0 0 0 2px var(--gold-soft); transform: translateY(-.15em); }
.dot--bare { background: transparent; box-shadow: none; border: 1px dashed var(--ink-faint); }
.dot--gold { background: linear-gradient(135deg, #f3ddb1, #b98a4e 55%, #6e4a20); }
.item__sample { font: 500 clamp(26px, 2.6vw, 36px)/1.25 var(--f-display); min-width: 0; }
.item__sample--keys { font: 500 15px/2 var(--f-body); color: var(--ink-soft); }
.item__sample--keys kbd { font-size: 14px; padding: 6px 12px 5px; margin-right: 6px; }
.item__sample--keys kbd + kbd, .item__sample--keys kbd:nth-of-type(2) { margin-left: 18px; }
.item__sample--apps { display: flex; flex-wrap: wrap; gap: 10px; font: 600 14px/1 var(--f-body); }
.item__sample--apps span { padding: 11px 18px; border-radius: 999px; border: 1px solid var(--rule); background: var(--surface); }
.item__sample--apps span:last-child { border-style: dashed; background: transparent; color: var(--ink-faint); }
.item__sample--path { font: 500 15px/1.6 var(--f-mono); color: var(--ink-soft); overflow-wrap: anywhere; }
.item__text { display: grid; gap: 12px; min-width: 0; color: var(--ink-soft); }
.keys { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; }

/* оттенки */
.shades { display: grid; gap: 56px; }
@media (min-width: 1000px) { .shades { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 80px; align-items: center; } }
.shades__copy { display: grid; gap: 22px; }
.shades__copy > p:not(.label) { color: var(--ink-soft); max-width: 32em; }
.palette { border: 0; margin: 18px 0 0; padding: 0; min-width: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.palette input { position: absolute; opacity: 0; pointer-events: none; }
.palette label { display: grid; justify-items: center; align-content: start; gap: 0; cursor: pointer; text-align: center; padding-top: 30px; }
.palette .bullet {
  display: block; width: 40px; height: 52px; border-radius: 3px 3px 0 0;
  background:
    linear-gradient(90deg, #00000059, transparent 28%, #ffffff40 44%, transparent 60%, #0000004d),
    var(--c);
  clip-path: polygon(0 34%, 100% 0, 100% 100%, 0 100%);
  transform: translateY(26px); transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.palette .case {
  display: block; width: 48px; height: 46px; border-radius: 4px 4px 7px 7px; position: relative; z-index: 1;
  background: linear-gradient(90deg, #6f4a1f, #e9cf9b 16%, #b98a4e 34%, #f7e6c0 52%, #b1844a 74%, #5e3d16);
  box-shadow: 0 10px 18px -8px var(--shadow);
}
.palette b { margin-top: 14px; font: italic 500 22px/1 var(--f-display); color: var(--ink); }
.palette small { margin-top: 6px; font: 500 11.5px/1.3 var(--f-body); color: var(--ink-faint); }
.palette input:checked + label .bullet { transform: translateY(0); }
.palette input:checked + label b { color: var(--rouge-text); }
.palette label:hover .bullet { transform: translateY(14px); }
.palette input:checked + label:hover .bullet { transform: translateY(0); }
.palette input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 8px; }
@media (max-width: 560px) {
  .palette .bullet { width: 30px; height: 42px; }
  .palette .case { width: 36px; height: 36px; }
  .palette b { font-size: 18px; }
  .palette small { font-size: 10.5px; }
}

.mirror { min-width: 0; position: relative; }
.mirror__art { position: absolute; z-index: 2; width: clamp(130px, 16vw, 220px); height: auto; right: -3%; top: clamp(-120px, -9vw, -70px); pointer-events: none; filter: drop-shadow(0 26px 30px #00000070); transform: rotate(8deg); }
.mirror__glass {
  position: relative; z-index: 1; border-radius: 34px; padding: clamp(24px, 3vw, 38px);
  background:
    radial-gradient(120% 80% at 15% 0%, #ffffff12, transparent 55%),
    var(--surface);
  box-shadow:
    0 0 0 1px var(--gold-soft),
    0 0 0 8px var(--surface-2),
    0 0 0 9px var(--gold-soft),
    0 50px 90px -40px var(--shadow);
}
.mirror__label { font: 600 11px/1 var(--f-body); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.mirror__src { font-size: 15px; line-height: 1.6; color: var(--ink-faint); }
.mirror__out { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--rule); font: 500 clamp(22px, 2.2vw, 28px)/1.32 var(--f-display); min-height: 6.6em; transition: opacity .2s ease, filter .2s ease; }
.mirror__out.is-fading { opacity: 0; filter: blur(4px); }
.mirror__out p + p, .mirror__out p + ul { margin-top: .35em; }
.mirror__out ul { margin: .25em 0 0; padding-left: 1.1em; }
.mirror__out li::marker { color: var(--rouge-text); }
.mirror__keys { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 13.5px; color: var(--ink-soft); }
.mirror__note { margin-top: 26px; font-size: 13.5px; color: var(--ink-faint); max-width: 40em; }

/* тестер */
.tester { display: grid; gap: 44px; }
@media (min-width: 980px) { .tester { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 80px; align-items: center; } }
.tester__copy { display: grid; gap: 22px; }
.tester__copy > p:not(.label):not(.small) { color: var(--ink-soft); max-width: 32em; }
.compact { min-width: 0; padding: 20px; border-radius: 28px; background: var(--surface); box-shadow: 0 0 0 1px var(--gold-soft), 0 40px 80px -40px var(--shadow); }
.compact__input {
  display: block; width: 100%; resize: none;
  font: 500 clamp(24px, 2.4vw, 30px)/1.35 var(--f-display); color: var(--ink);
  background: var(--bg); border: 1px solid var(--rule); border-radius: 18px; padding: 16px 20px;
}
.compact__input::placeholder { color: var(--ink-faint); font-style: italic; }
.compact__input:focus { outline: none; border-color: var(--gold); }
.compact__log { list-style: none; margin: 14px 0 0; padding: 0; }
.compact__log li { display: flex; align-items: baseline; gap: 12px; padding: 10px 6px; border-top: 1px solid var(--rule); font-size: 15px; min-width: 0; }
.compact__log li:first-child { border-top: 0; }
.compact__log .arrow { color: var(--gold); }
.compact__log .lip { font: italic 500 22px/1.2 var(--f-display); color: var(--ink); }
.compact__log s, .compact__log .lip { overflow-wrap: anywhere; }
.compact__log em { margin-left: auto; flex: none; font: 600 11px/1 var(--f-body); font-style: normal; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); }
.compact__log li.is-new { animation: fix .4s ease; }

/* состав: одна табличка, как оборот упаковки */
.pack { border: 1px solid var(--gold-soft); border-radius: 6px; background: color-mix(in srgb, var(--surface) 55%, transparent); }
.pack__band {
  display: flex; justify-content: space-between; gap: 16px; padding: 14px clamp(18px, 3vw, 36px);
  border-bottom: 1px solid var(--gold-soft);
  font: 600 11.5px/1.4 var(--f-body); letter-spacing: .26em; text-transform: uppercase; color: var(--gold);
}
.pack__cols, .row {
  display: grid; gap: 14px 40px; padding-inline: clamp(18px, 3vw, 36px);
}
@media (min-width: 1000px) {
  .pack__cols, .row { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.5fr) minmax(0, .85fr) minmax(0, .85fr); }
}
.pack__cols {
  padding-block: 16px; border-bottom: 1px solid var(--rule);
  font: 600 11.5px/1.4 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint);
}
.pack__cols small { display: block; margin-top: 3px; font-size: 10px; letter-spacing: .08em; text-transform: none; font-weight: 500; }
@media (max-width: 999px) { .pack__cols { display: none; } }
.row { padding-block: 30px; align-items: start; }
.row + .row { border-top: 1px solid var(--rule); }
.row--full { background: color-mix(in srgb, var(--rouge) 8%, transparent); }
.row__name { display: grid; gap: 6px; }
.row__tag { font: 600 11.5px/1.3 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.row__name h3 { font: italic 500 clamp(30px, 2.6vw, 38px)/1 var(--f-display); margin-top: 4px; }
.row__what { font-size: 14.5px; color: var(--ink-soft); }
.row__needs { margin: 0; padding-left: 1.05em; display: grid; gap: 6px; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.row__needs li::marker { color: var(--gold-soft); }
.gauge { display: grid; gap: 14px; align-content: start; min-width: 0; padding-top: 4px; }
.gauge__k { display: none; font: 600 11.5px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); }
.gauge__val { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.gauge__val b {
  font: 400 clamp(26px, 2.1vw, 31px)/1 var(--f-body); letter-spacing: -.035em; color: var(--ink);
  font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1, "tnum" 1;
}
.gauge__unit { font: 600 11.5px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); transform: translateY(-.15em); }
.gauge__val--none b { color: var(--ink-faint); font-weight: 400; }
.gauge__note { margin-top: -4px; font-size: 12.5px; color: var(--ink-faint); }
.gauge__bar { position: relative; height: 2px; max-width: 220px; background: var(--rule); border-radius: 2px; }
.gauge__bar::after { content: ""; position: absolute; right: 0; top: -3px; width: 1px; height: 8px; background: var(--rule); }
.gauge__bar i { position: absolute; top: -1px; bottom: -1px; left: 0; width: calc(var(--v) * 100%); min-width: 3px; background: linear-gradient(90deg, var(--gold-soft), var(--gold)); border-radius: 2px; transition: width 1.4s cubic-bezier(.2,.8,.2,1) .3s, left 1.4s cubic-bezier(.2,.8,.2,1) .3s; }
.gauge__bar i.gauge__range { left: calc(var(--from) * 100%); background: repeating-linear-gradient(90deg, var(--gold) 0 2px, transparent 2px 4px); }
html.js-reveal .row:not(.is-in) .gauge__bar i { width: 0; min-width: 0; }
@media (max-width: 999px) {
  .row { grid-template-columns: 1fr 1fr; }
  .row__name, .row__needs { grid-column: 1 / -1; }
  .gauge__k { display: block; }
}
.pack__foot {
  display: flex; flex-wrap: wrap; gap: 8px 30px; padding: 14px clamp(18px, 3vw, 36px);
  border-top: 1px solid var(--gold-soft);
  font: 600 11.5px/1.5 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint);
}

/* способ применения */
.apply { display: grid; gap: 44px; }
@media (min-width: 980px) {
  .apply { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 80px; align-items: start; }
  .apply__aside { position: sticky; top: 36px; }
}
.apply__aside { display: grid; gap: 22px; justify-items: start; }
.apply__aside > p:not(.label) { color: var(--ink-soft); }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps > li { counter-increment: step; position: relative; display: grid; gap: 12px; padding: 30px 0 30px 78px; border-top: 1px solid var(--rule); min-width: 0; }
.steps > li:last-child { border-bottom: 1px solid var(--rule); }
.steps > li::before { content: counter(step); position: absolute; left: 4px; top: 16px; font: italic 500 56px/1 var(--f-display); color: var(--rouge-text); }
.steps > li.opt::before { color: var(--ink-faint); }
.steps h3 { font: 600 19px/1.35 var(--f-body); }
.steps p { color: var(--ink-soft); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.crumbs span { padding: 7px 14px; font-size: 13.5px; line-height: 1.3; color: var(--ink); background: var(--surface); border: 1px solid var(--rule); border-radius: 999px; }
.crumbs span + span::before { content: "›"; margin-right: 8px; color: var(--gold); }
.crumbs span:last-child { color: var(--btn-ink); background: var(--rouge); border-color: var(--rouge); font-weight: 600; }
.crumbs span:last-child::before { color: var(--btn-ink); }
.pathline code { display: block; padding: 12px 16px; font-size: 14px; background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; }
@media (max-width: 560px) { .steps > li { padding-left: 52px; } .steps > li::before { font-size: 42px; left: 0; top: 22px; } }

/* вопросы */
.faq { display: grid; gap: 36px; }
@media (min-width: 980px) { .faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 80px; } }
.faq__aside { display: grid; gap: 22px; align-content: start; }
.faq__list { border-top: 1px solid var(--rule); min-width: 0; }
details { border-bottom: 1px solid var(--rule); }
summary { position: relative; cursor: pointer; list-style: none; padding: 22px 48px 22px 0; font: 500 clamp(22px, 2vw, 27px)/1.25 var(--f-display); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-55%); font: 300 30px/1 var(--f-body); color: var(--gold); transition: transform .25s ease; }
details[open] summary::after { transform: translateY(-55%) rotate(45deg); }
details > p { color: var(--ink-soft); max-width: 40em; padding-bottom: 14px; }
details > p:last-child { padding-bottom: 26px; }
.hash { font-size: 12px; word-break: break-all; }

/* финал */
.end { position: relative; overflow: hidden; padding-block: clamp(64px, 8vw, 110px) 36px; background: radial-gradient(70% 60% at 50% 0%, var(--glow), transparent 70%), var(--bg); }
.end__word {
  font: italic 500 clamp(110px, 25vw, 360px)/.78 var(--f-display); letter-spacing: -.035em; white-space: nowrap;
  background: linear-gradient(100deg, var(--sheen-c) 0%, var(--sheen-b) 30%, var(--sheen-a) 50%, var(--sheen-b) 68%, var(--sheen-c) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .1em;
}
.end__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; margin-top: 28px; }
.end__line { font: 500 clamp(28px, 3vw, 40px)/1.1 var(--f-display); }
.end__fine { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--rule); font: 600 11.5px/1.5 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); }
@media (max-width: 560px) { .end__row .btn { width: 100%; } }

/* появление первого экрана */
@media (prefers-reduced-motion: no-preference) {
  .title, .hero .lead, .cta { animation: rise 1s cubic-bezier(.2,.8,.2,1) both; }
  .hero .lead { animation-delay: .12s; }
  .cta { animation-delay: .22s; }
  .product__stick { animation: lift 1.3s cubic-bezier(.2,.8,.2,1) .1s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lift { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* пудреница не закрывает текст в зеркальце */
@media (min-width: 1000px) { .mirror__label, .mirror__src { padding-right: 130px; } }
@media (max-width: 999px) { .mirror { margin-top: 70px; } .mirror__label, .mirror__src { padding-right: 90px; } }

/* =========================================================
   Динамика: блёстки, подсветка за курсором, глянец, появление
   ========================================================= */
.hero > .wrap { position: relative; z-index: 1; }
.glitter { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.spot {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(460px circle at var(--mx, 72%) var(--my, 34%), color-mix(in srgb, var(--rouge) 20%, transparent), transparent 70%);
  transition: background-position .2s;
}

/* глянец, который «переливается» на курсивных словах и финальном логотипе */
h2 em, .title em, .end__line em, .end__word { background-size: 220% 100%; }
@media (prefers-reduced-motion: no-preference) {
  h2 em, .title em, .end__line em, .end__word { animation: sheen 7s ease-in-out infinite alternate; }
  .title { animation: rise 1s cubic-bezier(.2,.8,.2,1) both; }
  .title em { animation: sheen 7s ease-in-out 1s infinite alternate; }
}
@keyframes sheen { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* блик на кнопке */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: ""; position: absolute; top: -30%; bottom: -30%; left: -45%; width: 32%; z-index: -1;
  background: linear-gradient(100deg, transparent, #ffffff66, transparent); transform: skewX(-20deg);
}
.btn--line::after { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .btn::after { animation: shine 5s ease-in-out 1.6s infinite; }
  .btn:hover::after { animation-duration: 1.2s; }
}
@keyframes shine { 0%, 72% { left: -45%; } 100% { left: 135%; } }

/* первый экран: помада парит и поворачивается за курсором */
.product { transform: perspective(1000px) rotateY(calc(var(--px, 0) * 7deg)) rotateX(calc(var(--py, 0) * -5deg)); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.product__swatch { translate: calc(var(--px, 0) * -18px) calc(var(--py, 0) * -10px); transition: translate .6s cubic-bezier(.2,.8,.2,1); }
@media (prefers-reduced-motion: no-preference) {
  .product__stick { animation: lift 1.3s cubic-bezier(.2,.8,.2,1) .1s both, float 7s ease-in-out 1.5s infinite alternate; }
  .product__swatch { animation: breathe 9s ease-in-out infinite alternate; }
}
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-14px); } }
@keyframes breathe { from { scale: 1; } to { scale: 1.035; } }

/* коллекция: подсветка строки и мазок, который проводится при появлении */
.items { isolation: isolate; }
.item { position: relative; }
.item::before {
  content: ""; position: absolute; inset: 0 -12px; z-index: -1; pointer-events: none; border-radius: 18px;
  background: radial-gradient(55% 120% at var(--hx, 25%) 50%, color-mix(in srgb, var(--rouge) 11%, transparent), transparent 75%);
  opacity: 0; transition: opacity .45s ease;
}
.item:hover::before { opacity: 1; }
.dot { transition: box-shadow .4s ease; }
.item:hover .dot { box-shadow: 0 0 0 1px var(--bg), 0 0 0 2px var(--gold), 0 0 22px 2px var(--c, var(--gold)); }
.lip { transition: background-size 1s cubic-bezier(.6,0,.2,1) .35s; }
html.js-reveal .item:not(.is-in) .lip { background-size: 0% .4em; }

/* оттенки: свечение выбранной помады, блик в зеркальце */
.palette { isolation: isolate; }
.palette label { position: relative; }
.palette label::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 96px; height: 96px; translate: -50% 0; z-index: -1;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 55%, transparent), transparent 68%);
  opacity: 0; transition: opacity .45s ease; filter: blur(4px);
}
.palette input:checked + label::before { opacity: 1; }
.mirror__glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, #ffffff17 50%, transparent 62%) 120% 0 / 260% 100% no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
  .mirror__glass::after { animation: glass 8s ease-in-out 1s infinite; }
  .seal:hover { animation-duration: 8s; }
}
@keyframes glass { 0% { background-position: 120% 0; } 55%, 100% { background-position: -40% 0; } }


/* мягкое появление блоков при прокрутке (только если сработал скрипт) */
html.js-reveal .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease var(--d, 0s), transform 1s cubic-bezier(.2,.8,.2,1) var(--d, 0s); }
html.js-reveal .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .product { transform: none; }
  html.js-reveal .reveal { opacity: 1; transform: none; }
}

/* смена фраз в «Одном движении» */
.stroke__text { transition: opacity .45s ease, filter .45s ease; }
.stroke__text.is-out { opacity: 0; filter: blur(6px); }

/* UX: подсказка для телефона/планшета, нижняя панель «Скачать» на телефоне */
.cta__touch, .tester__touch { max-width: 30em; font-size: 14px; color: var(--ink-soft); padding: 12px 14px; border: 1px solid var(--gold-soft); border-radius: 12px; }
.tester__touch { color: var(--ink-soft); }
.btn--small { padding: 13px 20px 12px; font-size: 11.5px; letter-spacing: .16em; }
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border-top: 1px solid var(--rule);
  transform: translateY(110%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.dock__name { font: italic 500 22px/1 var(--f-display); }
.dock__name em { color: var(--ink-faint); }
@media (max-width: 759px) {
  .dock { display: flex; }
  .dock.is-on { transform: none; }
  .end { padding-bottom: 96px; }
}

/* =========================================================
   Ритм отступов: одна шкала 8 · 16 · 24 · 32 · 48 · 64 · 128
   ========================================================= */
:root { --gap-1: 8px; --gap-2: 16px; --gap-3: 24px; --gap-4: 32px; --gap-5: 48px; --gap-6: 64px; --section-y: clamp(80px, 8.5vw, 128px); }

/* разделы: одинаковые поля, без «двойной пустоты» между блоками */
.section { padding-block: var(--section-y); }
.manifest { padding-block: calc(var(--section-y) * 1.15); }

/* шапка раздела: ярлык прижат к заголовку, абзац — на шаг дальше */
.head, .shades__copy, .tester__copy, .apply__aside, .faq__aside, .hero__copy { gap: var(--gap-3); }
.head { margin-bottom: clamp(var(--gap-5), 5vw, var(--gap-6)); }
.label + h2, .label + .title { margin-top: calc(var(--gap-1) * -1); }
.hero__copy .cta { margin-top: var(--gap-1); }

/* перед интерактивом — на шаг больше, чем между абзацами */
.palette { margin-top: var(--gap-1); }

/* строки списков: одинаковая высота воздуха */
.item { padding-block: var(--gap-4); }
.row { padding-block: var(--gap-4); }
.steps > li { padding-block: var(--gap-4); }

/* «Одно движение»: отделено от первого экрана так же, как разделы между собой по смыслу */
.stroke { margin-top: clamp(var(--gap-5), 5vw, var(--gap-6)); padding-top: var(--gap-4); gap: var(--gap-2); }

/* =========================================================
   Типографика: одна шкала размеров и аккуратные переносы
   текст 19 · 17 · 15 · 13   подписи 11.5 капителью   заголовки 22 · 28 · 36 · 48 · 64 · 80 · 160
   ========================================================= */
:root { --t-lede: 19px; --t-body: 17px; --t-small: 15px; --t-caption: 13px; --t-label: 11.5px; }
body { font-kerning: normal; font-optical-sizing: auto; text-rendering: optimizeLegibility; }
p, li, summary, dd { text-wrap: pretty; hanging-punctuation: first; }
.nowrap { white-space: nowrap; }

/* вводные абзацы — один размер */
.lead, .head__lead { font-size: clamp(17px, 1.4vw, var(--t-lede)); line-height: 1.6; }

/* второстепенный текст — 15 */
.keys, .row__what, .row__needs, .mirror__src, .compact__log li, .formula ul,
.item__sample--apps, .cta__touch, .tester__touch { font-size: var(--t-small); }
.item__sample--keys { font-size: var(--t-small); }

/* подписи и примечания — 13 */
.small, .cta__meta, .mirror__keys, .mirror__note, .gauge__note, .crumbs span, .stage__note, .meter__note { font-size: var(--t-caption); }
.pathline code { font-size: var(--t-caption); }
.palette small { font-size: 12px; line-height: 1.35; }
.pack__cols small { font-size: 11px; letter-spacing: .04em; }

/* капители-ярлыки — один размер и разрядка */
.label, .item__what, .row__tag, .formula__tag, .pack__band, .pack__cols, .pack__foot, .box__foot,
.mirror__label, .needs, .tag, .gauge__k, .gauge__unit, .stroke__again, .end__fine, .compact__log em {
  font-size: var(--t-label); letter-spacing: .2em;
}
.needs, .tag { font-size: 11px; letter-spacing: .14em; }
.bar__links a { font-size: 12px; letter-spacing: .16em; }

/* заголовки на шкале */
summary { font-size: clamp(22px, 2vw, 28px); }
.row__name h3 { font-size: clamp(28px, 2.5vw, 36px); }
.item__name h3 { font-size: clamp(36px, 3.3vw, 48px); }
.end__line { font-size: clamp(28px, 2.6vw, 36px); }
.mirror__out { font-size: clamp(22px, 2vw, 28px); }

/* =========================================================
   Палитра: рамки интерактивных элементов — не меньше 3:1 к фону
   ========================================================= */
:root { --control-line: #a6845a; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --control-line: #9a733e; } }
:root[data-theme="light"] { --control-line: #9a733e; }
.btn--line, .theme, .needs { border-color: var(--control-line); }
.btn--line:hover, .theme:hover { border-color: var(--gold); }

/* =========================================================
   Помните Punto Switcher? — «до и после», как в бьюти-журнале
   ========================================================= */
.head--center { margin-inline: auto; text-align: center; justify-items: center; }
.head--center .head__lead { max-width: 40em; }
.punto { position: relative; overflow: hidden; background: radial-gradient(60% 50% at 50% 30%, color-mix(in srgb, var(--glow) 70%, transparent), transparent 70%), var(--bg); }
.ba { display: grid; gap: var(--gap-4); align-items: center; }
@media (min-width: 1000px) { .ba { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1fr); gap: var(--gap-5); } }
.ba__col { display: grid; gap: var(--gap-2); align-content: start; padding: clamp(24px, 3vw, 36px); border-radius: 24px; min-width: 0; }
.ba__col--before { border: 1px dashed var(--rule); }
.ba__col--before h3, .ba__col--before li { color: var(--ink-faint); }
.ba__col--before h3 { text-decoration: line-through; text-decoration-color: var(--rouge-text); text-decoration-thickness: 1px; }
.ba__col--after { background: var(--surface); box-shadow: 0 0 0 1px var(--gold-soft), 0 40px 80px -40px var(--shadow); }
.ba__tag { font: 600 var(--t-label)/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.ba__col h3 { font: italic 500 clamp(28px, 2.5vw, 36px)/1.05 var(--f-display); }
.ba__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: var(--t-small); }
.ba__col li { position: relative; padding-left: 22px; }
.ba__col--before li::before { content: "—"; position: absolute; left: 0; color: var(--ink-faint); }
.ba__col--after li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--rouge); box-shadow: 0 0 10px var(--rouge); }
.ba__swipe { display: grid; place-items: center; min-width: 0; }
.ba__swipe img { width: 100%; max-width: 380px; height: auto; filter: drop-shadow(0 30px 30px #00000066); transform: rotate(-8deg); }
@media (prefers-reduced-motion: no-preference) { .ba__swipe img { animation: float 6s ease-in-out infinite alternate; } }
@media (max-width: 999px) { .ba__swipe img { max-width: 260px; } }
.ba__fine { margin-top: var(--gap-4); text-align: center; font-size: 12px; color: var(--ink-faint); }

/* =========================================================
   Замеры без ретуши
   ========================================================= */
.nums { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 22px; overflow: hidden; }
@media (min-width: 760px) { .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .nums { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.num { position: relative; display: grid; gap: 10px; align-content: start; padding: clamp(24px, 2.6vw, 36px); background: var(--bg-deep); min-width: 0; }
.num__val { display: flex; align-items: baseline; gap: 10px; }
.num__val b {
  font: 300 clamp(64px, 7vw, 104px)/.9 var(--f-display); letter-spacing: -.03em; font-variant-numeric: lining-nums tabular-nums;
  background: linear-gradient(100deg, var(--sheen-c), var(--sheen-b) 40%, var(--sheen-a) 60%, var(--sheen-b)); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.num__val span { font: 600 var(--t-label)/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.num h3 { font: 600 17px/1.35 var(--f-body); }
.num__note { font-size: var(--t-caption); color: var(--ink-faint); }
.num__bar { position: relative; display: block; height: 2px; margin-top: 8px; background: var(--rule); border-radius: 2px; overflow: hidden; }
.num__bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: max(3px, calc(var(--v) * 100%)); background: linear-gradient(90deg, var(--gold-soft), var(--gold)); transition: width 1.6s cubic-bezier(.2,.8,.2,1) .2s; }
html.js-reveal .num:not(.is-in) .num__bar::after { width: 0; }
.facts { display: grid; gap: var(--gap-4); margin-top: var(--gap-5); }
@media (min-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } }
.facts p { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: baseline; }
.facts b { grid-row: span 2; font: 300 clamp(56px, 5.5vw, 80px)/.9 var(--f-display); color: var(--rouge-text); font-variant-numeric: lining-nums; }
.facts span { font: 600 var(--t-label)/1.2 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.facts em { font-style: normal; font-size: var(--t-small); color: var(--ink-soft); max-width: 30em; }
.stats__fine { margin-top: var(--gap-4); font-size: var(--t-caption); color: var(--ink-faint); max-width: 52em; }

/* =========================================================
   Напишите разработчику — письмо с поцелуем
   ========================================================= */
.contact { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(55% 60% at 20% 30%, color-mix(in srgb, var(--glow) 80%, transparent), transparent 70%), var(--bg); }
.contact > .wrap { position: relative; z-index: 1; }
.contact__grid { display: grid; gap: var(--gap-5); }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: var(--gap-6); align-items: start; } }
.contact__copy { display: grid; gap: var(--gap-3); align-content: start; }
.contact__copy > p:not(.label) { color: var(--ink-soft); max-width: 30em; }
.contact__envelope { width: min(100%, 420px); height: auto; margin-top: var(--gap-3); transform: rotate(-6deg); filter: drop-shadow(0 36px 40px #00000059); }
@media (prefers-reduced-motion: no-preference) { .contact__envelope { animation: float 7s ease-in-out infinite alternate; } }
@media (max-width: 999px) { .contact__envelope { width: min(70%, 320px); justify-self: center; } }

.letter {
  position: relative; display: grid; gap: var(--gap-3); min-width: 0;
  padding: clamp(24px, 3vw, 40px); border-radius: 28px;
  background:
    repeating-linear-gradient(180deg, transparent 0 39px, color-mix(in srgb, var(--rule) 55%, transparent) 39px 40px),
    var(--surface);
  box-shadow: 0 0 0 1px var(--gold-soft), 0 0 0 8px var(--surface-2), 0 0 0 9px var(--gold-soft), 0 50px 90px -40px var(--shadow);
}
.letter__row { display: grid; gap: var(--gap-3); }
@media (min-width: 640px) { .letter__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field > span, .topics legend { font: 600 var(--t-label)/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.field input, .field textarea {
  width: 100%; min-width: 0; font: 500 clamp(20px, 1.8vw, 24px)/1.35 var(--f-display); color: var(--ink);
  background: color-mix(in srgb, var(--bg) 70%, transparent); border: 1px solid var(--rule); border-radius: 14px; padding: 12px 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 160px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); font-style: italic; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 18%, transparent); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--rouge-text); }
.topics { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.topics legend { margin-bottom: 10px; padding: 0; }
.topics input { position: absolute; opacity: 0; pointer-events: none; }
.topics label { cursor: pointer; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--rule); font-size: 14px; color: var(--ink-soft); transition: all .2s ease; }
.topics label:hover { border-color: var(--control-line); }
.topics input:checked + label { background: var(--rouge); border-color: var(--rouge); color: var(--btn-ink); }
.topics input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.letter__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap-2) var(--gap-3); }
.letter__status { font-size: var(--t-small); color: var(--ink-soft); }
.letter__status.is-error { color: var(--rouge-text); }
.letter__status.is-ok { color: var(--ink); }
.letter__fine { font-size: var(--t-caption); color: var(--ink-faint); }
.btn[disabled] { opacity: .6; cursor: progress; }
.letter__kiss {
  position: absolute; right: clamp(12px, 3vw, 36px); bottom: clamp(60px, 9vw, 110px); width: clamp(120px, 14vw, 180px); height: auto;
  opacity: 0; transform: scale(1.6) rotate(-14deg); pointer-events: none; mix-blend-mode: multiply;
}
:root[data-theme="dark"] .letter__kiss { mix-blend-mode: normal; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .letter__kiss { mix-blend-mode: normal; } }
.letter.is-sent .letter__kiss { animation: kiss .7s cubic-bezier(.2,1.4,.4,1) forwards; }
@keyframes kiss { 0% { opacity: 0; transform: scale(1.6) rotate(-14deg); } 60% { opacity: 1; transform: scale(.94) rotate(-10deg); } 100% { opacity: .92; transform: scale(1) rotate(-10deg); } }
@media (prefers-reduced-motion: reduce) { .letter.is-sent .letter__kiss { opacity: .92; transform: rotate(-10deg); } }

/* =========================================================
   Нижние разделы живее: картинка в «Применении», подсветка вопросов, лепестки в финале
   ========================================================= */
.apply__art { width: min(100%, 360px); height: auto; margin-top: var(--gap-4); transform: rotate(-10deg); filter: drop-shadow(0 30px 30px #00000059); }
@media (prefers-reduced-motion: no-preference) { .apply__art { animation: float 8s ease-in-out infinite alternate; } }
.steps > li { transition: background .4s ease; }
.steps > li:hover { background: linear-gradient(90deg, color-mix(in srgb, var(--rouge) 7%, transparent), transparent 70%); }
.steps > li::before { transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.steps > li:hover::before { transform: translateX(4px) scale(1.06); }

.faq__list details { position: relative; transition: background .35s ease; }
.faq__list details::before {
  content: ""; position: absolute; left: -18px; top: 26px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--c, var(--rouge)); opacity: 0; transform: scale(.4); transition: opacity .3s ease, transform .3s ease;
}
.faq__list details:nth-child(5n+1) { --c: var(--shade-1); }
.faq__list details:nth-child(5n+2) { --c: var(--shade-2); }
.faq__list details:nth-child(5n+3) { --c: var(--shade-3); }
.faq__list details:nth-child(5n+4) { --c: var(--shade-4); }
.faq__list details:nth-child(5n)   { --c: var(--shade-5); }
.faq__list details:hover::before, .faq__list details[open]::before { opacity: 1; transform: none; }
.faq__list details[open] summary { color: var(--ink); background: url(img/swatch.png) 0 calc(100% - 14px) / 120px .32em no-repeat; }
.faq__list summary:hover { color: var(--rouge-text); }
@media (max-width: 559px) { .faq__list details::before { left: -12px; } }

.end > .wrap { position: relative; z-index: 1; }
.end .glitter { z-index: 0; }
.letter__kiss { top: clamp(14px, 2vw, 24px); bottom: auto; right: clamp(14px, 2.4vw, 30px); width: clamp(96px, 10vw, 140px); }
.faq__more { color: var(--ink-soft); max-width: 24em; }
.faq__art { width: min(80%, 300px); height: auto; margin-top: var(--gap-3); transform: rotate(-8deg); filter: drop-shadow(0 30px 34px #00000059); }
@media (min-width: 980px) { .faq__aside { position: sticky; top: 36px; align-self: start; } }
@media (max-width: 979px) { .faq__art { display: none; } }
@media (prefers-reduced-motion: no-preference) { .faq__art { animation: float 9s ease-in-out infinite alternate; } }

/* мазок в первом экране не заходит под текст: тянется вправо, а не влево */
.product__swatch { left: -2%; width: 118%; }
@media (min-width: 960px) and (max-width: 1279px) { .product__swatch { left: 2%; width: 110%; } }
