/* Шрифты Google Fonts, раздаются со своего домена (без запросов к Google — RGPD). */
/* cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-italic-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/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;
}
/* cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-italic-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(assets/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;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/inter-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/inter-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/inter-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;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/inter-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/inter-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/inter-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;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/inter-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/inter-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/inter-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;
}
/* latin-ext */
@font-face {
  font-family: 'Pinyon Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/pinyon-script-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Pinyon Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/pinyon-script-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;
}

:root {
  --bg: #000;
  --card: #0d0d0f;
  --card-hover: #141417;
  --line: #2a2a2e;
  --text: #f2f2f2;
  --muted: #9a9aa0;
  --silver: #d9d9de;
  --chrome: linear-gradient(135deg, #e9e9ee, #9c9ca6 45%, #f7f7fa 60%, #8a8a94);
  --glow: 0 0 0 1px #d9d9de, 0 0 18px rgba(255, 255, 255, .08);
  --danger: #ff8a8a;
  --radius: 6px;
  --font-script: 'Pinyon Script', 'Great Vibes', cursive;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.5 var(--font-ui);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text); text-underline-offset: 3px; }
a:hover { color: #fff; }

:focus-visible {
  outline: 2px solid var(--silver);
  outline-offset: 2px;
}

[hidden] { display: none !important; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 10;
  padding: 8px 12px;
  background: var(--text);
  color: #000;
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

/* ---------- Каркас ---------- */

.topbar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  justify-content: flex-end;
  max-width: 480px;
  margin: 0 auto;
  padding: 12px 16px;
  z-index: 2;
}

.lang-switch { display: flex; gap: 2px; }
.lang-switch button {
  min-width: 40px;
  min-height: 32px;
  padding: 4px 8px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--muted);
  font: 500 13px/1 var(--font-ui);
  letter-spacing: .08em;
  cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { color: var(--text); border-color: var(--line); }

.page {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- Лендинг ---------- */

.hero {
  padding: 72px 0 40px;
  text-align: center;
}

.logo { margin: 0; line-height: 0; }
.logo img {
  width: min(320px, 100%);
  height: auto;
}

.tagline {
  margin: 8px 0 0;
  font: italic 400 22px/1.3 var(--font-serif);
  color: var(--silver);
}

.hero-line {
  margin: 6px 0 28px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .02em;
}

.hero-meta { margin: 12px 0 0; font-size: 14px; color: var(--text); }
.hero-note { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.ig-link { text-decoration: none; border-bottom: 1px solid var(--line); }

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font: 600 14px/1 var(--font-ui);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .15s ease, box-shadow .15s ease;
}
.btn:disabled { cursor: not-allowed; opacity: .4; }

.btn-chrome {
  border: 0;
  background: var(--chrome);
  color: #000;
}
.btn-chrome:hover:not(:disabled) { color: #000; box-shadow: 0 0 22px rgba(255, 255, 255, .14); }

.btn-ghost:hover:not(:disabled) { border-color: var(--silver); }

.btn-cta { min-width: 220px; }

/* ---------- Запись ---------- */

/* Минимум в экран: чтобы при смене шага блок всегда можно было прокрутить к верху
   и чтобы подгрузка карточек не двигала футер в видимой области. */
.booking {
  min-height: 100vh;
  min-height: 100svh;
  padding: 16px 0 32px;
}

.progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.progress li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 10px;
  border-top: 2px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}
.progress li.is-done { border-top-color: #6e6e76; }
.progress li.is-current { border-image: var(--chrome) 1; color: var(--text); }
.progress-num { font: 600 12px/1 var(--font-ui); }
.progress-label { letter-spacing: .02em; }

.step-title {
  margin: 0 0 16px;
  font: italic 500 28px/1.2 var(--font-serif);
}

.step.is-entering { animation: step-in .25s ease-out; }
@keyframes step-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.sub-title {
  margin: 24px 0 10px;
  color: var(--muted);
  font: 500 12px/1 var(--font-ui);
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Карточки-радио: настоящий input внутри label */
.cards { display: grid; gap: 10px; }

.card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.card:hover { background: var(--card-hover); }
.card input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.card:has(input:checked) { border-color: transparent; box-shadow: var(--glow); }
.card:has(input:focus-visible) { outline: 2px solid var(--silver); outline-offset: 2px; }

.card-body { flex: 1; min-width: 0; }
.card-title { display: block; font-weight: 500; }
.card-desc { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; }
.card-price { white-space: nowrap; font-weight: 600; color: var(--silver); }

.radio-dot {
  flex: none;
  width: 18px;
  height: 18px;
  border: 1px solid #55555c;
  border-radius: 50%;
}
.card:has(input:checked) .radio-dot { border: 5px solid var(--silver); }

/* ---------- Шаг 1: прайс-ноготь ---------- */

.segment {
  display: grid;
  min-height: 56px; /* место до загрузки каталога — без сдвига вёрстки */
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 3px);
}
.seg {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 6px 8px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: color .15s ease, background-color .15s ease;
}
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.seg:has(input:checked) { background: var(--chrome); color: #000; font-weight: 500; }
.seg:has(input:focus-visible) { outline: 2px solid var(--silver); outline-offset: 2px; }
.seg-delta { font-size: 11px; opacity: .75; }

.any-design {
  margin: 22px 0 6px;
  text-align: center;
  font: italic 400 24px/1.2 var(--font-serif);
  color: var(--text);
}

.nail {
  display: grid;
  min-height: 448px;
  grid-template-columns: 112px 1fr;
  margin: 0 auto;
  max-width: 360px;
}
.nail-art-wrap { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.nail-art { display: block; width: 112px; height: 448px; overflow: visible; }
.nail-art .finger { fill: none; stroke: #55555c; stroke-width: 1.5; }
.nail-art .nail-ghost { fill: var(--card); stroke: #6e6e76; stroke-width: 1.5; stroke-dasharray: 5 5; }
.nail-art .nail-fill { fill: url(#nail-chrome); stroke: #fff; stroke-width: 2; }
.nail-art .nail-clip,
.nail-art .nail-claw { transition: transform .45s cubic-bezier(.3, .7, .2, 1), opacity .2s ease; }
.nail-art .nail-claw { fill: #e4e4ea; stroke: #fff; stroke-width: 2; opacity: 0; }
.nail-art .nail-claw.is-on { opacity: 1; }
.nail-art .smile { fill: none; stroke: rgba(0, 0, 0, .35); stroke-width: 1.5; }
.nail-art .tick { stroke: #8a8a94; stroke-width: 1.5; }
.nail-art .tick.is-on { stroke: #fff; stroke-width: 2.5; }

.nail-rows { position: relative; }
.len {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding-left: 8px;
  transform: translateY(-50%);
  border-radius: var(--radius);
  color: var(--muted);
  cursor: pointer;
  transition: color .15s ease, background-color .15s ease;
}
.len:hover { color: var(--text); }
.len input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.len:has(input:focus-visible) { outline: 2px solid var(--silver); outline-offset: 0; }
.len-label { font: 500 12px/1 var(--font-ui); letter-spacing: .1em; white-space: nowrap; }
.len-dots { flex: 1; border-bottom: 1px dotted #3a3a40; }
.len-price {
  min-width: 52px;
  padding-right: 6px;
  text-align: right;
  font: italic 500 24px/1 var(--font-serif);
  color: var(--text);
  white-space: nowrap;
}
.len.is-on { background: rgba(255, 255, 255, .06); color: #fff; }
.len.is-on .len-label { font-weight: 600; }
.len.is-on .len-dots { border-bottom-color: var(--silver); }

.rule {
  height: 3px;
  margin: 8px 0 4px;
  background: var(--text);
  border-radius: 2px;
}

.extras { display: grid; min-height: 160px; }
.extra {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.extra input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.extra-name { flex: 1; font: italic 400 21px/1.2 var(--font-serif); }
.extra-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  white-space: nowrap;
  font: italic 500 26px/1 var(--font-serif);
}
.extra-price small { font-size: 15px; color: var(--muted); }
.extra input:checked + .check-box {
  border-color: transparent;
  background: var(--chrome);
  box-shadow: inset 0 0 0 4px var(--bg);
}
.extra input:checked + .radio-dot { border: 5px solid var(--silver); }
.extra:has(input:focus-visible) { outline: 2px solid var(--silver); outline-offset: 2px; }
.extra:has(input:checked) .extra-name { color: #fff; }

.total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  min-height: 40px;
  margin: 16px 0 0;
}
.total .hint { width: 100%; margin: 0; text-align: center; }
.total-label { color: var(--muted); font: 500 12px/1 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; }
.total-price { font: italic 500 34px/1 var(--font-serif); }

.hint { color: var(--muted); font-size: 14px; }

/* Слоты */
.day { margin: 0 0 18px; }
.day-title {
  margin: 0 0 8px;
  font: italic 500 20px/1.2 var(--font-serif);
}
.day-title::first-letter { text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  position: relative;
  display: inline-flex;
  min-width: 76px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: 500 15px/1 var(--font-ui);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip:has(input:checked) { background: var(--chrome); color: #000; border-color: transparent; }
.chip:has(input:focus-visible) { outline: 2px solid var(--silver); outline-offset: 2px; }

.empty {
  padding: 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
}
.empty a { display: inline-block; margin-top: 8px; color: var(--text); }

/* Форма */
.summary {
  margin: 0 0 20px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.summary div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.summary dt { color: var(--muted); font-size: 13px; }
.summary dd { margin: 0; text-align: right; font-size: 14px; }

.field { margin: 0 0 14px; }
.field label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 13px; }
.field input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font: 400 16px/1.2 var(--font-ui);
}
.field input:focus { border-color: var(--silver); outline: none; box-shadow: var(--glow); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field-error { margin: 6px 0 0; color: var(--danger); font-size: 13px; }

.check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 14px;
  cursor: pointer;
}
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1px solid #6e6e76;
  border-radius: 4px;
}
.check input:checked + .check-box {
  border-color: transparent;
  background: var(--chrome);
  box-shadow: inset 0 0 0 4px var(--card);
}
.check input:focus-visible + .check-box { outline: 2px solid var(--silver); outline-offset: 2px; }

.notice {
  margin: -4px 0 14px 30px;
  padding: 10px 12px;
  border-left: 2px solid var(--silver);
  background: var(--card);
  color: var(--silver);
  font-size: 13px;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  margin: 16px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--danger);
  border-radius: var(--radius);
  color: var(--danger);
  font-size: 14px;
}

.nav {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.nav .btn-chrome { flex: 1; }

.spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 0, 0, .25);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Успех */
.success { padding: 24px 0 8px; text-align: center; }
.success:focus { outline: none; }
.success-spark { margin: 0; font-size: 28px; color: var(--silver); }
.success-title { margin: 8px 0 4px; font: italic 500 34px/1.2 var(--font-serif); }
.success-text { margin: 0 0 24px; color: var(--silver); }
.btn-wa { width: 100%; margin-bottom: 12px; }
.success .btn-ghost { margin-top: 24px; }

/* ---------- Футер ---------- */

.footer {
  display: flex;
  justify-content: center;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.footer a { color: var(--muted); }

/* ---------- Политика ---------- */

.legal { padding: 64px 0 24px; }
.legal h1 { margin: 0 0 4px; font: italic 500 34px/1.2 var(--font-serif); }
.legal h2 { margin: 28px 0 6px; font: italic 500 22px/1.2 var(--font-serif); }
.legal p { margin: 0; color: var(--silver); }
.legal .updated { color: var(--muted); font-size: 13px; }
.legal .back { display: inline-block; margin-top: 32px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
