/* Мяукни — сайт. Палитра и движение взяты из приложения (тема «Майами»,
   app/lib/core/design/tokens.dart): песок держит площадь, лагуна и гибискус
   появляются пятнами. Кривая движения одна на всё — та же, что в приложении. */

:root {
  --sand: #FFFBF5;
  --surface: #F7EADB;
  --card: #FFFFFF;
  --border: #E8DCCB;
  --border-subtle: #F2E7D9;

  --ink: #173330;
  --ink-2: #4F6864;
  --ink-3: #7C8A80;

  --lagoon: #06746D;
  --lagoon-press: #055E58;
  --deep: #116E9C;
  --hibiscus: #CE2F5C;
  --shallow: #A8E4DA;
  --on-shallow: #0B3D38;
  --palm: #14804A;

  /* Кот по умолчанию — лагунный пастельный из палитры аватарок. */
  --cat-fill: #B6EDE4;
  --cat-ink: #0B5A50;

  --enter: cubic-bezier(0.16, 1, 0.3, 1);
  --r-card: 24px;
  --r-bubble: 20px;
  --r-tail: 6px;

  --shadow-soft: 0 6px 24px rgba(23, 51, 48, 0.08);
  --shadow-lift: 0 14px 40px rgba(23, 51, 48, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Nunito", -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background-color: var(--sand);
  /* Едва заметные лапки по песку — как паттерн на холсте переписки. */
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="140" height="140" viewBox="0 0 140 140"><g fill="%23173330" fill-opacity="0.028"><g transform="translate(18 22) scale(1.6) rotate(-18)"><ellipse cx="1.9" cy="4.4" rx="1.35" ry="1.75" transform="rotate(-25.8 1.9 4.4)"/><ellipse cx="5" cy="2.3" rx="1.45" ry="1.85" transform="rotate(-8.6 5 2.3)"/><ellipse cx="8.2" cy="2.3" rx="1.45" ry="1.85" transform="rotate(8.6 8.2 2.3)"/><ellipse cx="11.2" cy="4.4" rx="1.35" ry="1.75" transform="rotate(25.8 11.2 4.4)"/><path d="M2.45 8.7A4.1 3.2 0 0 1 10.65 8.7A4.1 2.7 0 0 1 2.45 8.7Z"/></g><g transform="translate(88 92) scale(1.6) rotate(14)"><ellipse cx="1.9" cy="4.4" rx="1.35" ry="1.75" transform="rotate(-25.8 1.9 4.4)"/><ellipse cx="5" cy="2.3" rx="1.45" ry="1.85" transform="rotate(-8.6 5 2.3)"/><ellipse cx="8.2" cy="2.3" rx="1.45" ry="1.85" transform="rotate(8.6 8.2 2.3)"/><ellipse cx="11.2" cy="4.4" rx="1.35" ry="1.75" transform="rotate(25.8 11.2 4.4)"/><path d="M2.45 8.7A4.1 3.2 0 0 1 10.65 8.7A4.1 2.7 0 0 1 2.45 8.7Z"/></g></g></svg>');
  line-height: 1.55;
  overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.15; }

/* ---------------------------------------------------------------- Шапка */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px clamp(16px, 5vw, 48px);
  background: rgba(255, 251, 245, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
  text-decoration: none;
}

.logo-paw { width: 26px; fill: var(--lagoon); transform: rotate(-12deg); }

.head-chip {
  font-size: 13px;
  font-weight: 700;
  color: var(--lagoon);
  background: rgba(6, 116, 109, 0.09);
  border: 1px solid rgba(6, 116, 109, 0.18);
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
}

/* ---------------------------------------------------------------- Герой */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(40px, 8vh, 96px) clamp(16px, 5vw, 48px) clamp(48px, 8vh, 96px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--hibiscus);
  background: rgba(206, 47, 92, 0.08);
  border: 1px solid rgba(206, 47, 92, 0.2);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 20px;
}

.pill-paw { width: 15px; fill: var(--hibiscus); }

.hero h1 {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  background: linear-gradient(115deg, var(--lagoon) 20%, var(--deep) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-2);
  max-width: 46ch;
  margin-bottom: 28px;
}

.lead strong { color: var(--ink); }

.cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cta-row.center { justify-content: center; }

/* Кнопка — градиент лагуны в глубокую воду, как кнопка отправки в приложении. */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--lagoon), var(--deep));
  border: none;
  border-radius: 999px;
  padding: 16px 32px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(6, 116, 109, 0.35);
  transition: transform 0.22s var(--enter), box-shadow 0.22s var(--enter);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(6, 116, 109, 0.42); }
.btn-primary:active { transform: translateY(1px) scale(0.98); }
.btn-primary:focus-visible { outline: 3px solid var(--shallow); outline-offset: 3px; }

.btn-paw { width: 20px; fill: #fff; transform: rotate(-10deg); }

.cta-hint {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-3);
  transform: rotate(-3deg);
}

.hero-note { margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--ink-3); }

/* ------------------------------------------------------- Телефон и кот */

.hero-phone { display: flex; justify-content: center; }

.phone-wrap { position: relative; margin-top: 44px; }

.peek-cat {
  position: absolute;
  top: -88px;
  left: 50%;
  transform: translateX(-50%);
  width: 108px;
  z-index: 0;
  cursor: pointer;
  transition: transform 0.22s var(--enter);
}

.peek-cat:hover { transform: translateX(-50%) translateY(-5px) rotate(-3deg); }
.peek-cat:focus-visible { outline: 3px solid var(--shallow); outline-offset: 3px; border-radius: 40px; }
.peek-head { width: 100%; display: block; }

.peek-cat.bounce { animation: cat-bounce 0.5s var(--enter); }

@keyframes cat-bounce {
  0% { transform: translateX(-50%); }
  35% { transform: translateX(-50%) translateY(-14px) rotate(4deg); }
  100% { transform: translateX(-50%); }
}

.peek-paw {
  position: absolute;
  width: 34px;
  z-index: 3;
  top: -6px;
  pointer-events: none;
}

.peek-paw-l { left: calc(50% - 44px); transform: rotate(4deg); }
.peek-paw-r { left: calc(50% + 12px); transform: rotate(-4deg); }

.phone {
  position: relative;
  z-index: 2;
  width: min(330px, 88vw);
  border-radius: 48px;
  background: var(--ink);
  padding: 10px;
  box-shadow: var(--shadow-lift);
}

.phone-notch {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  border-radius: 999px;
  background: var(--ink);
  z-index: 4;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 251, 245, 0.92);
  border-radius: 38px 38px 0 0;
  padding: 52px 18px 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.mini-avatar { width: 34px; display: block; }
.mini-avatar svg { width: 100%; display: block; }

.chat-who { display: flex; flex-direction: column; }
.chat-name { font-weight: 800; font-size: 15px; }
.chat-status { font-size: 12px; font-weight: 700; color: var(--palm); }

.chat-canvas {
  background: var(--surface);
  padding: 14px 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 330px;
}

.date-chip {
  align-self: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 2px;
}

.msg {
  max-width: 78%;
  padding: 9px 12px 6px;
  font-size: 14px;
  box-shadow: 0 1px 2px rgba(23, 51, 48, 0.06);
}

/* Хвостик пузыря — малый радиус со стороны автора, как в приложении. */
.msg.in {
  align-self: flex-start;
  background: var(--card);
  color: var(--ink);
  border-radius: var(--r-bubble) var(--r-bubble) var(--r-bubble) var(--r-tail);
}

.msg.out {
  align-self: flex-end;
  background: var(--shallow);
  color: var(--on-shallow);
  border-radius: var(--r-bubble) var(--r-bubble) var(--r-tail) var(--r-bubble);
}

.meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink-3);
  margin-top: 2px;
}

.msg.out .meta { color: rgba(11, 61, 56, 0.55); }

.paws { width: 24px; }
.paws.read { fill: var(--hibiscus); }

/* Голосовое: кнопка воспроизведения, волна и метка скорости. */
.msg.voice { display: flex; align-items: center; gap: 8px; padding: 10px 12px; }

.play {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lagoon), var(--deep));
  position: relative;
}

.play::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  border-left: 9px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.wave { display: flex; align-items: center; gap: 2.5px; height: 22px; }

.wave i {
  width: 3px;
  border-radius: 2px;
  background: var(--lagoon);
  opacity: 0.75;
  animation: wave-b 1.15s ease-in-out infinite;
}

.wave i:nth-child(1) { height: 30%; animation-delay: 0s; }
.wave i:nth-child(2) { height: 55%; animation-delay: .08s; }
.wave i:nth-child(3) { height: 85%; animation-delay: .16s; }
.wave i:nth-child(4) { height: 45%; animation-delay: .24s; }
.wave i:nth-child(5) { height: 70%; animation-delay: .32s; }
.wave i:nth-child(6) { height: 95%; animation-delay: .40s; }
.wave i:nth-child(7) { height: 50%; animation-delay: .48s; }
.wave i:nth-child(8) { height: 80%; animation-delay: .56s; }
.wave i:nth-child(9) { height: 40%; animation-delay: .64s; }
.wave i:nth-child(10) { height: 65%; animation-delay: .72s; }
.wave i:nth-child(11) { height: 35%; animation-delay: .80s; }
.wave i:nth-child(12) { height: 55%; animation-delay: .88s; }

@keyframes wave-b { 0%, 100% { transform: scaleY(0.7); } 50% { transform: scaleY(1.15); } }

.v-len { font-size: 11px; font-weight: 700; color: var(--ink-3); }

.v-speed {
  font-size: 11px;
  font-weight: 800;
  color: #8A5711;
  background: #FFDCA8;
  border-radius: 999px;
  padding: 2px 8px;
}

/* Просьба — карточка с кнопками, как в приложении. */
.msg.request { padding: 10px 12px; }

.req-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hibiscus);
  background: rgba(206, 47, 92, 0.1);
  border-radius: 999px;
  padding: 2px 8px;
  margin-bottom: 4px;
}

.req-actions { display: flex; gap: 8px; margin-top: 8px; }

.req-yes, .req-later {
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  padding: 5px 14px;
}

.req-yes { background: var(--lagoon); color: #fff; }
.req-later { background: var(--surface); color: var(--ink-2); }

.typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  background: var(--card);
  border-radius: var(--r-bubble) var(--r-bubble) var(--r-bubble) var(--r-tail);
  padding: 11px 14px;
  box-shadow: 0 1px 2px rgba(23, 51, 48, 0.06);
}

.typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-3);
  animation: typing-dot 1.2s ease-in-out infinite;
}

.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-input {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 251, 245, 0.92);
  border-radius: 0 0 38px 38px;
  padding: 10px 14px 16px;
}

.plus {
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(6, 116, 109, 0.1);
  color: var(--lagoon);
  font-size: 20px;
  font-weight: 800;
}

.field {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
}

.mic {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lagoon), var(--deep));
}

.mic svg { width: 17px; }

/* ---------------------------------------------------------------- Секции */

section { padding: clamp(40px, 7vh, 80px) clamp(16px, 5vw, 48px); }

section h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  text-align: center;
  margin-bottom: clamp(28px, 4vh, 44px);
  letter-spacing: -0.01em;
}

/* Словарик */

.dict-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.dict-card {
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: var(--r-card);
  padding: 22px 24px;
  transition: transform 0.22s var(--enter), box-shadow 0.22s var(--enter);
}

.dict-card:hover { transform: translateY(-4px) rotate(-0.5deg); box-shadow: var(--shadow-soft); }

.dict-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }

.dict-card h3 em {
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  color: var(--ink-3);
  margin-left: 4px;
}

.dict-card p { font-size: 15px; color: var(--ink-2); }

.dict-card .example {
  margin-top: 10px;
  font-size: 13.5px;
  font-style: italic;
  color: var(--lagoon);
}

/* Фичи */

.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.feat-card {
  background: var(--card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-card);
  padding: 28px;
  box-shadow: 0 2px 10px rgba(23, 51, 48, 0.04);
  transition: transform 0.22s var(--enter), box-shadow 0.22s var(--enter);
}

.feat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }

.feat-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.feat-card p { font-size: 15px; color: var(--ink-2); }

/* Иконка фичи: круг пастельного цвета из палитры аватарок, внутри — мини-сцена
   с фирменным котом. Цвет кота задаётся переменными на самом круге. */
.feat-icon {
  --cat-fill: var(--fc);
  --cat-ink: var(--fi);
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 26px;
  background: color-mix(in srgb, var(--fc) 38%, #fff);
  margin-bottom: 18px;
  overflow: visible;
}

.fi-cat { width: 42px; }
.fi-cat.tilted { transform: rotate(-7deg); }

.fi-extra { position: absolute; }

.fi-extra.heart { width: 22px; right: -4px; top: -4px; animation: heart-pulse 1.6s ease-in-out infinite; }

@keyframes heart-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }

.fi-extra.meow-bubble {
  right: -14px;
  top: -8px;
  font-size: 12px;
  font-weight: 800;
  color: var(--deep);
  background: #fff;
  border: 1.5px solid #BFE4F7;
  border-radius: 12px 12px 12px 3px;
  padding: 2px 8px;
  transform: rotate(6deg);
}

.fi-extra.sparkle { right: -8px; top: -8px; font-size: 20px; }

.fi-extra.speed {
  right: -8px;
  top: -8px;
  font-size: 13px;
  font-weight: 900;
  color: #8A5711;
  background: #FFDCA8;
  border-radius: 999px;
  padding: 2px 8px;
  transform: rotate(8deg);
}

/* Три лапки: контурная не нарисуешь через fill, поэтому прозрачностью —
   путь «в пути → доставлено → прочитано» читается и так. */
.fi-paw { width: 22px; position: absolute; fill: var(--fi); }
.fi-paw.p1 { left: 8px; bottom: 10px; opacity: 0.3; transform: rotate(-16deg); }
.fi-paw.p2 { left: 27px; top: 24px; opacity: 0.65; transform: rotate(-2deg); }
.fi-paw.p3 { right: 7px; top: 8px; fill: var(--hibiscus); opacity: 1; transform: rotate(12deg); }

/* Кот в коробке. */
.fi-box {
  position: absolute;
  bottom: 8px;
  width: 52px;
  height: 26px;
  background: #E8C79A;
  border: 2px solid #C89B62;
  border-radius: 4px 4px 8px 8px;
  z-index: 2;
}

.fi-cat.in-box { width: 38px; margin-bottom: 22px; z-index: 1; }

/* Чего не будет */

.not-here { background: var(--surface); }

.not-inner { max-width: 680px; margin: 0 auto; text-align: center; }

.not-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.not-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  font-size: clamp(15px, 2vw, 17px);
  font-weight: 700;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 16px;
  padding: 14px 20px;
}

.no {
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(206, 47, 92, 0.12);
  color: var(--hibiscus);
  font-weight: 900;
}

.not-final {
  margin-top: 26px;
  font-size: clamp(17px, 2.4vw, 20px);
  font-weight: 800;
  color: var(--ink);
}

/* Финальный призыв */

.cta-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 32px;
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-soft);
}

.cta-cat { width: 84px; margin-bottom: 16px; }

.cta-card h2 { margin-bottom: 12px; }

.cta-card p { color: var(--ink-2); max-width: 44ch; margin: 0 auto 26px; }

/* ---------------------------------------------------------------- Подвал */

.site-foot {
  position: relative;
  text-align: center;
  padding: 20px 24px 40px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 40px;
}

.sleep-wrap { position: absolute; top: -55px; left: 50%; transform: translateX(-50%); }

.sleep-cat { width: 150px; display: block; }

.sleep-cat .tail { animation: tail-sway 3.4s ease-in-out infinite; transform-origin: 118px 52px; }

@keyframes tail-sway { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(7deg); } }

.zzz {
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  fill: var(--ink-3);
  animation: zzz-float 2.6s ease-in-out infinite;
  opacity: 0;
}

.zzz.z2 { font-size: 10px; animation-delay: 1.3s; }

@keyframes zzz-float {
  0% { opacity: 0; transform: translateY(4px); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-10px); }
}

.foot-brand { margin-top: 28px; font-size: 14px; font-weight: 800; }

.foot-domains { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); }

.foot-love {
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.foot-paw { width: 13px; fill: var(--hibiscus); }

/* ------------------------------------------------- Появление при скролле */

.reveal { opacity: 0; transform: translateY(18px); }

.reveal.shown {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--enter), transform 0.5s var(--enter);
  transition-delay: var(--stagger, 0s);
}

/* ------------------------------------------------------- Летающие лапки */

.fly-paw {
  position: fixed;
  z-index: 90;
  width: 22px;
  pointer-events: none;
  fill: var(--hibiscus);
  animation: fly-up 1.1s var(--enter) forwards;
}

@keyframes fly-up {
  0% { opacity: 0.9; transform: translateY(0) scale(0.7) rotate(var(--rot, 0deg)); }
  100% { opacity: 0; transform: translateY(-90px) scale(1.15) rotate(var(--rot, 0deg)); }
}

.click-paw {
  position: fixed;
  z-index: 90;
  width: 18px;
  pointer-events: none;
  fill: var(--ink-3);
  animation: press-fade 0.9s ease-out forwards;
}

@keyframes press-fade {
  0% { opacity: 0.55; transform: scale(0.8) rotate(var(--rot, 0deg)); }
  100% { opacity: 0; transform: scale(1.05) rotate(var(--rot, 0deg)); }
}

/* ---------------------------------------------------------------- Тост */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(80px);
  z-index: 100;
  background: rgba(23, 51, 48, 0.92);
  color: #FFFBF5;
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 24px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s var(--enter), opacity 0.32s var(--enter);
  max-width: min(90vw, 480px);
  text-align: center;
}

.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ------------------------------------------------------------ Адаптив */

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .lead { max-width: 56ch; }
  .hero-phone { margin-top: 40px; }
}

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