/* HOLI: общие токены веб-страниц (лендинг, заявки). Палитра и Inter из ТЗ, остальное по DESIGN.md. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/fonts/inter-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: #FBFAF7;
  --sand: #F3EDE3;
  --ink: #1B2A3A;
  --brand: #0E7C7B;
  --urgent: #E8553E;
  --hint: #D7EFEC;
  --card: #FFFFFF;

  --ink-70: rgba(27, 42, 58, .70);
  --ink-45: rgba(27, 42, 58, .45);
  --hairline: rgba(27, 42, 58, .08);
  --brand-pressed: #0A6564;
  --urgent-soft: rgba(232, 85, 62, .10);

  --r-card: 20px;
  --r-shell: 26px;
  --r-field: 16px;
  --shadow: 0 8px 24px rgba(27, 42, 58, .06);
  --ease: cubic-bezier(.32, .72, 0, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
[hidden] { display: none !important; }
svg { display: block; flex: none; }
.num { font-variant-numeric: tabular-nums; }
.muted { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--ink-70); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

.h1 { font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -.5px; }

/* «Бровь»-пилюля */
.eyebrow {
  display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px;
  background: var(--sand); color: var(--ink-70);
  font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
}
.eyebrow--brand { background: var(--hint); color: var(--brand-pressed); }

/* Кнопки-пилюли. Главная: стрелка в собственном кружке (кнопка-в-кнопке). */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 24px; border-radius: 999px;
  font-size: 16px; font-weight: 600; white-space: nowrap;
  transition: transform .16s var(--ease), background-color .2s var(--ease);
  user-select: none; -webkit-user-select: none;
}
.btn:active { transform: scale(.97); }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--secondary { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hairline); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 13px; }
.btn--arrow { justify-content: space-between; padding: 0 12px 0 24px; }
.btn__circle {
  width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .16);
  display: grid; place-items: center; transition: transform .3s var(--ease);
}
.btn[disabled] { opacity: .4; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--brand-pressed); }
  .btn--secondary:hover { background: var(--sand); }
  .btn--arrow:hover .btn__circle { transform: translateX(3px); }
}

.input {
  width: 100%; min-height: 56px; padding: 0 20px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--hairline); color: var(--ink);
  font-size: 16px; outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.input::placeholder { color: var(--ink-45); }
.input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(14, 124, 123, .14); }

.pill {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px;
  background: var(--sand); color: var(--ink-70); font-size: 13px; font-weight: 500; white-space: nowrap;
}

/* Карточка «двойной кант» */
.shell { background: var(--sand); border-radius: var(--r-shell); padding: 6px; }
.core { background: var(--card); border-radius: var(--r-card); border: 1px solid var(--hairline); }

.state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 48px 16px; max-width: 340px; margin: 0 auto; }
.state__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--hint); color: var(--brand); margin-bottom: 12px; }
.state__title { font-size: 16px; font-weight: 600; }
.state .btn { margin-top: 16px; min-width: 220px; }

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