/* Лёгкие новогодние варианты (ny6–ny11): общая часть.
   Шрифты «про красоту и здоровье»: в ny6–ny8 заголовки антиквой, в ny9–ny11 — гротесками
   (Raleway, Jost, Poiret One); в тексте Raleway — шрифт сайта NuAnce. Системные шрифты не используются.
   Первый экран каждого варианта описан в его собственном <style>. */

@font-face { font-family: "Raleway"; src: url(fonts/raleway-var.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

@font-face { font-family: "Cormorant Garamond"; src: url(fonts/cormorant-cyr.woff2) format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; src: url(fonts/cormorant-lat.woff2) format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Cormorant Garamond"; src: url(fonts/cormorant-italic-cyr.woff2) format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; src: url(fonts/cormorant-italic-lat.woff2) format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }

@font-face { font-family: "Playfair Display"; src: url(fonts/playfair-cyr.woff2) format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Playfair Display"; src: url(fonts/playfair-lat.woff2) format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Playfair Display"; src: url(fonts/playfair-italic-cyr.woff2) format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Playfair Display"; src: url(fonts/playfair-italic-lat.woff2) format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }

@font-face { font-family: "Forum"; src: url(fonts/forum-cyr.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Forum"; src: url(fonts/forum-lat.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Tenor Sans"; src: url(fonts/tenor-cyr.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Tenor Sans"; src: url(fonts/tenor-lat.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Jost"; src: url(fonts/jost-cyr.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Jost"; src: url(fonts/jost-lat.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Poiret One"; src: url(fonts/poiret-cyr.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Poiret One"; src: url(fonts/poiret-lat.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }

:root {
  --bg: #fff;
  --paper: #fff;
  --ink: #2E2120;
  --muted: #75686A;
  --line: #EAE1D6;
  --gold: #B8904A;
  --gold-ink: #8A6A2C;

  --pad: 16px;
  --wrap: 1080px;
  --font-display: "Cormorant Garamond", serif;
  --font-text: "Raleway", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font: 500 16px/1.5 var(--font-text);
  font-feature-settings: "lnum" 1;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ol { margin: 0; padding: 0; font-weight: inherit; }
img, svg { display: block; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Первый экран занимает всю высоту телефона */
.screen { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; }

/* Логотип — крупно и по центру */
.top { position: relative; z-index: 2; flex: none; padding: 26px var(--pad) 0; }
.logo { display: block; width: 184px; margin: 0 auto; aspect-ratio: 132 / 26; overflow: hidden; }
.logo img { width: 100%; height: auto; }

.first {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad) calc(14px + env(safe-area-inset-bottom));
}
.hero { padding: 18px 0 16px; text-align: center; }
.eyebrow { font: 600 11.5px/1.3 var(--font-text); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); }
.lead { margin-top: 8px; font: 500 15px/1.45 var(--font-text); color: var(--muted); }
.fine { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 10px; margin-top: 14px; font: 500 12.5px/1.5 var(--font-text); color: var(--muted); }
.fine a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.fine span::before { content: "·"; margin-right: 10px; }

/* Как это работает */
.how { padding: 44px 0 40px; border-top: 1px solid var(--line); background: var(--paper); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.how h2 { margin-top: 8px; font: 600 clamp(30px, 8vw, 46px)/1.05 var(--font-display); }
.steps { list-style: none; margin-top: 22px; counter-reset: s; }
.steps li { position: relative; padding: 16px 0 16px 58px; border-top: 1px solid var(--line); counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; top: 9px; left: 4px; font: italic 500 40px/1 var(--font-display); color: var(--gold); }
.steps h3 { font: 700 16px/1.3 var(--font-text); }
.steps p { margin-top: 3px; font: 500 14.5px/1.45 var(--font-text); color: var(--muted); }

/* Подвал */
.foot { padding: 22px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font: 500 12.5px/1.5 var(--font-text); color: var(--muted); }
.foot p + p { margin-top: 8px; }
.foot a { text-underline-offset: 3px; }
.foot .foot__warn {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
}

@media (max-height: 640px) and (max-width: 879px) {
  .top { padding-top: 22px; }
  .logo { width: 164px; }
  .hero { padding: 14px 0 12px; }
  .lead { display: none; }
  .fine { margin-top: 10px; }
}

@media (min-width: 880px) {
  :root { --pad: 32px; }
  .screen { min-height: 0; }
  .top { padding-top: 44px; }
  .logo { width: 248px; }
  .first { padding-bottom: 56px; }
  .hero { padding: 36px 0 40px; }
  .eyebrow { font-size: 13px; }
  .lead { margin-top: 16px; font-size: 19px; }
  .fine { margin-top: 30px; font-size: 14px; }

  .how { padding: 72px 0 64px; }
  .how h2 { margin-top: 12px; }
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin-top: 36px; }
  .steps li { padding: 66px 0 0; }
  .steps li::before { top: 14px; left: 0; font-size: 46px; }
  .steps h3 { font-size: 18px; }
  .steps p { margin-top: 6px; font-size: 15.5px; }
  .foot { font-size: 13px; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
