/* ============================================================
   HARDLINE — landing
   Палітра з логотипу: чорний, сталь/хром, кривавий червоний
   ============================================================ */
:root {
  --bg: #070707;
  --bg-2: #101011;
  --panel: #141415;
  --panel-2: #1b1b1d;
  --line: #2a2a2d;
  --steel: #c9c9cc;
  --steel-dim: #8d8d92;
  --text: #e9e9ea;
  --muted: #9a9aa0;
  --red: #d0121b;
  --red-2: #ff2a33;
  --red-dark: #7a070c;

  --chrome: linear-gradient(180deg, #ffffff 0%, #d9d9dc 38%, #8e8e93 52%, #e4e4e6 70%, #a9a9ae 100%);
  --cut: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  --cut-sm: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);

  --f-display: "Russo One", "Oswald", Impact, sans-serif;
  --f-accent: "Oswald", "Roboto Condensed", sans-serif;
  --f-body: "Roboto Condensed", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.45;
  overflow-x: hidden;
  padding-bottom: 80px;
}
/* зернистість / шум, як на металі логотипу */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }

.page {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(208,18,27,.10), transparent 60%),
    var(--bg);
  border-left: 1px solid #141414;
  border-right: 1px solid #141414;
}

/* ---------- текстові ефекти ---------- */
.chrome {
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0,0,0,.8));
}
.red {
  color: var(--red);
  text-shadow: 0 0 18px rgba(208,18,27,.45);
}

/* ---------- бігучий рядок ---------- */
.ticker {
  position: relative; z-index: 2;
  background: var(--red);
  overflow: hidden;
  border-bottom: 2px solid var(--red-dark);
}
.ticker__track {
  display: flex; align-items: center; gap: 18px;
  width: max-content;
  padding: 8px 0;
  animation: ticker 22s linear infinite;
  font-family: var(--f-accent);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
}
.ticker__track i {
  width: 8px; height: 8px;
  background: #fff;
  transform: rotate(45deg);
  flex: none;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- HERO ---------- */
.hero {
  padding: 6px 16px 28px;
  text-align: center;
}
.hero__logo {
  width: 200px; height: auto;
  margin: 18px auto 16px;
  filter: drop-shadow(0 6px 24px rgba(208,18,27,.25));
}
.hero__title {
  font-family: var(--f-display);
  font-size: clamp(34px, 11vw, 50px);
  line-height: 1;
  letter-spacing: .02em;
  display: flex; flex-direction: column; gap: 4px;
}
.hero__sub {
  margin: 12px auto 16px;
  max-width: 380px;
  color: var(--muted);
  font-size: 16px;
}

.promo-strip {
  background: linear-gradient(90deg, transparent, rgba(208,18,27,.25), transparent);
  border-top: 1px solid rgba(208,18,27,.5);
  border-bottom: 1px solid rgba(208,18,27,.5);
  padding: 9px 8px;
  margin: 0 -16px 16px;
  font-family: var(--f-accent);
  font-weight: 500;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.promo-strip b { color: #fff; font-weight: 700; }

/* ---------- галерея ---------- */
.gallery {
  position: relative;
  overflow: hidden;
  clip-path: var(--cut);
  background: var(--panel);
  aspect-ratio: 4 / 5;
}
.gallery__track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track img {
  flex: 0 0 100%;
  width: 100%; height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
}
.gallery__badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--red);
  color: #fff;
  font-family: var(--f-display);
  font-size: 20px;
  padding: 6px 12px;
  clip-path: var(--cut-sm);
}
.gallery__nav {
  position: absolute; top: 50%; z-index: 2;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 26px; line-height: 1;
  cursor: pointer;
  clip-path: var(--cut-sm);
}
.gallery__nav--prev { left: 10px; }
.gallery__nav--next { right: 10px; }
.gallery__dots {
  position: absolute; bottom: 14px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.gallery__dots button {
  width: 22px; height: 4px;
  border: 0; padding: 0;
  background: rgba(255,255,255,.3);
  cursor: pointer;
}
.gallery__dots button.is-active { background: var(--red); }

/* ---------- ціна ---------- */
.price-box {
  display: flex; align-items: stretch;
  margin: 18px 0 14px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  clip-path: var(--cut);
}
.price-box__col {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: 12px 8px;
}
.price-box__divider { width: 1px; background: var(--line); }
.price-box__label {
  font-family: var(--f-accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}
.price-box__old {
  font-family: var(--f-display);
  font-size: 24px;
  color: var(--steel-dim);
  text-decoration: line-through;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
}
.price-box__new {
  font-family: var(--f-display);
  font-size: 34px;
  color: var(--red-2);
  text-shadow: 0 0 20px rgba(255,42,51,.35);
}
.price-box--compact { margin-top: 0; }

/* ---------- залишок ---------- */
.stock { margin-bottom: 14px; }
.stock__text { font-size: 15px; margin-bottom: 6px; }
.stock__text b { color: var(--red-2); font-size: 18px; }
.stock__bar {
  height: 8px;
  background: #222;
  border: 1px solid #2d2d2d;
  overflow: hidden;
}
.stock__fill {
  height: 100%; width: 22%;
  background: repeating-linear-gradient(-45deg, var(--red) 0 8px, var(--red-dark) 8px 16px);
  animation: stripes 1s linear infinite;
  background-size: 22.6px 22.6px;
  transition: width .6s;
}
@keyframes stripes { to { background-position: 22.6px 0; } }

/* ---------- таймер ---------- */
.timer { margin: 4px 0 18px; }
.timer__title {
  font-family: var(--f-accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}
.timer__row { display: flex; justify-content: center; align-items: flex-start; gap: 8px; }
.timer__cell {
  min-width: 78px;
  padding: 8px 6px 6px;
  background: linear-gradient(180deg, #1f1f21, #0e0e0f);
  border: 1px solid var(--line);
  border-bottom: 2px solid var(--red);
  clip-path: var(--cut-sm);
}
.timer__cell b {
  display: block;
  font-family: var(--f-display);
  font-size: 34px; line-height: 1.1;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.timer__cell span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}
.timer__sep { font-family: var(--f-display); font-size: 30px; color: var(--red); padding-top: 8px; }

.sold-today { margin-top: 12px; font-size: 14px; color: var(--muted); }
.sold-today b { color: var(--text); }

/* ---------- кнопки ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #fff;
  clip-path: var(--cut);
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s, filter .15s;
}
.btn:active { transform: scale(.97); }
.btn--main {
  width: 100%;
  min-height: 62px;
  padding: 0 18px;
  font-size: 21px;
  background: linear-gradient(180deg, var(--red-2) 0%, var(--red) 55%, var(--red-dark) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
  overflow: hidden;
  animation: pulse 2s ease-in-out infinite;
}
.btn--main::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg);
  animation: shine 2.8s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }
.btn--small {
  width: 100%;
  min-height: 42px;
  font-size: 15px;
  background: var(--red);
}
.btn--ghost {
  width: 100%;
  min-height: 52px;
  font-size: 16px;
  background: linear-gradient(180deg, #d8d8db, #8e8e93);
  color: #0a0a0a;
}
.btn--block { display: flex; }

/* ---------- секції ---------- */
.section {
  padding: 34px 16px;
  border-top: 1px solid #161618;
  position: relative;
}
.section::before {
  content: "";
  position: absolute; top: -1px; left: 50%;
  width: 70px; height: 3px;
  transform: translateX(-50%);
  background: var(--red);
}
.section__title {
  font-family: var(--f-display);
  font-size: clamp(26px, 8vw, 34px);
  line-height: 1.05;
  text-align: center;
  margin-bottom: 10px;
}
.section__lead {
  text-align: center;
  color: var(--muted);
  max-width: 400px;
  margin: 0 auto 22px;
}

/* ---------- переваги ---------- */
.perks { display: grid; gap: 10px; }
.perk {
  display: flex; gap: 14px; align-items: center;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
}
.perk__icon, .guarantee__icon {
  flex: none;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  background: linear-gradient(180deg, #2a2a2d, #151517);
  clip-path: var(--cut-sm);
}
.perk__icon svg, .guarantee__icon svg {
  width: 28px; height: 28px;
  fill: none;
  stroke: var(--steel);
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.perk h3, .guarantee h3 {
  font-family: var(--f-accent);
  font-weight: 600;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.perk p, .guarantee p { font-size: 14px; color: var(--muted); }

/* ---------- фічі ---------- */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feature {
  padding: 16px 14px;
  background: linear-gradient(160deg, #1c1c1e, #101011);
  border: 1px solid var(--line);
  clip-path: var(--cut);
}
.feature__num {
  display: block;
  font-family: var(--f-display);
  font-size: 30px;
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
}
.feature h3 {
  font-family: var(--f-accent);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.feature p { font-size: 14px; color: var(--muted); }

/* ---------- характеристики ---------- */
.specs {
  margin: 12px 0 16px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.specs > div {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
}
.specs > div:last-child { border-bottom: 0; }
.specs > div:nth-child(odd) { background: rgba(255,255,255,.02); }
.specs dt {
  font-family: var(--f-accent);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .05em;
  color: var(--muted);
}
.specs dd { margin: 0; text-align: right; font-weight: 700; }
.note {
  padding: 14px 16px;
  background: rgba(208,18,27,.1);
  border: 1px dashed rgba(208,18,27,.6);
  text-align: center;
  font-size: 15px;
}
.note b { color: var(--red-2); }

/* ---------- кольори ---------- */
.colors { display: grid; gap: 14px; margin-top: 16px; }
.color-card {
  display: grid; grid-template-columns: 44% 1fr;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: var(--cut);
}
.color-card__img { position: relative; aspect-ratio: 4/5; }
.color-card__img img { width: 100%; height: 100%; object-fit: cover; }
.color-card__badge {
  position: absolute; top: 8px; left: 8px;
  background: var(--red);
  font-family: var(--f-display);
  font-size: 14px;
  padding: 3px 8px;
}
.color-card__body {
  padding: 16px 14px;
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
.color-card h3 { font-family: var(--f-display); font-size: 24px; }
.color-card__price s { color: var(--steel-dim); font-size: 15px; }
.color-card__price b { font-family: var(--f-display); font-weight: 400; color: var(--red-2); font-size: 24px; margin-left: 4px; }

/* ---------- калькулятор ---------- */
.calc {
  margin-top: 14px;
  padding: 18px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: var(--cut);
}
.calc__lead { text-align: center; color: var(--muted); margin-bottom: 14px; font-size: 15px; }
.calc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.calc__result {
  margin-top: 14px;
  padding: 12px;
  text-align: center;
  border: 1px solid var(--red);
  background: rgba(208,18,27,.08);
  font-size: 16px;
}
.calc__result b { font-family: var(--f-display); font-weight: 400; font-size: 30px; color: var(--red-2); display: block; }

.field { display: block; }
.field > span {
  display: block;
  font-family: var(--f-accent);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  background: #0b0b0c;
  border: 1px solid #333338;
  border-radius: 0;
  color: #fff;
  font-family: var(--f-body);
  font-size: 18px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  appearance: none;
}
.field input::placeholder { color: #55555a; }
.field input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(208,18,27,.2); }
.field.has-error input { border-color: var(--red-2); }

.table-wrap { margin: 18px 0; overflow-x: auto; }
.size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: center;
}
.size-table th {
  font-family: var(--f-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: var(--red);
  padding: 10px 4px;
}
.size-table td { padding: 10px 4px; border-bottom: 1px solid var(--line); }
.size-table td:first-child { font-family: var(--f-display); color: var(--steel); }
.size-table tr:nth-child(even) td { background: rgba(255,255,255,.025); }
.size-table tr.is-hit td { background: rgba(208,18,27,.22); }

.guarantee {
  display: flex; gap: 14px; align-items: center;
  padding: 16px;
  border: 1px solid var(--steel-dim);
  background: linear-gradient(90deg, rgba(255,255,255,.05), transparent);
}

/* ---------- відгуки ---------- */
.rating { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 18px; }
.rating__item {
  text-align: center;
  padding: 12px 4px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
}
.rating__item b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 24px; }
.rating__item span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

.reviews { display: grid; gap: 12px; }
.review {
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: var(--cut);
}
.review__head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.review__avatar {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-size: 20px;
  background: linear-gradient(180deg, #e0e0e2, #8a8a8f);
  color: #111;
  clip-path: var(--cut-sm);
}
.review__name { font-weight: 700; }
.review__meta { font-size: 13px; color: var(--muted); }
.stars { color: var(--red-2); letter-spacing: 1px; margin-right: 4px; }
.review p { font-size: 15px; margin-bottom: 12px; }
.review img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* ---------- кроки ---------- */
.steps {
  list-style: none;
  margin: 18px 0 0; padding: 0;
  counter-reset: step;
  display: grid; gap: 0;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 4px 0 22px 66px;
  min-height: 70px;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-size: 20px;
  background: var(--red);
  clip-path: var(--cut-sm);
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute; left: 24px; top: 54px; bottom: 4px;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--line) 0 6px, transparent 6px 10px);
}
.steps b {
  display: block;
  font-family: var(--f-accent);
  font-weight: 600;
  font-size: 19px;
  text-transform: uppercase;
}
.steps span { color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 8px; margin-top: 14px; }
.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 48px 16px 16px;
  position: relative;
  font-family: var(--f-accent);
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 16px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-display);
  font-size: 24px;
  color: var(--red);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details[open] { border-color: #3a3a3f; }
.faq details p { padding: 0 16px 16px; color: var(--muted); font-size: 15px; }

/* ---------- форма ---------- */
.order {
  background:
    linear-gradient(180deg, rgba(208,18,27,.08), transparent 40%),
    var(--bg-2);
}
.form { display: grid; gap: 16px; }
.form__label {
  font-family: var(--f-accent);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 8px;
}
.form__error {
  display: none;
  margin-top: 6px;
  font-style: normal;
  font-size: 13px;
  color: var(--red-2);
}
.has-error .form__error, .form__error.is-visible { display: block; }
.form__hint { text-align: center; font-size: 13px; color: var(--muted); margin-top: -4px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { flex: 1 1 auto; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: flex; align-items: center; justify-content: center;
  min-height: 46px;
  padding: 0 12px;
  background: #0b0b0c;
  border: 1px solid #333338;
  font-family: var(--f-accent);
  font-weight: 500;
  font-size: 15px;
  text-transform: uppercase;
  transition: all .15s;
}
.chips--sizes label { flex: 1 1 calc(25% - 8px); }
.chips input:checked + span {
  background: var(--red);
  border-color: var(--red-2);
  color: #fff;
  box-shadow: 0 0 16px rgba(208,18,27,.4);
}
.chips input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }

.upsell {
  display: flex; align-items: center; gap: 14px;
  padding: 16px;
  cursor: pointer;
  border: 2px dashed var(--red);
  background: rgba(208,18,27,.08);
  animation: glow 2.4s ease-in-out infinite;
}
@keyframes glow { 50% { background: rgba(208,18,27,.18); } }
.upsell input { position: absolute; opacity: 0; }
.upsell__box {
  flex: none;
  width: 28px; height: 28px;
  border: 2px solid var(--steel);
  display: grid; place-items: center;
}
.upsell input:checked + .upsell__box { background: var(--red); border-color: var(--red-2); }
.upsell input:checked + .upsell__box::after { content: "✓"; font-weight: 700; color: #fff; }
.upsell__text b { display: block; font-family: var(--f-accent); font-weight: 600; font-size: 17px; text-transform: uppercase; }
.upsell__text small { color: var(--muted); font-size: 14px; }
.second {
  display: grid; gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.second[hidden] { display: none; }

/* ---------- футер ---------- */
.footer {
  padding: 20px 16px 30px;
  text-align: center;
  border-top: 1px solid #161618;
  font-size: 13px;
  color: #6c6c72;
}
.footer__logo { width: 120px; margin: 0 auto 6px; opacity: .9; }
.footer__links { display: flex; justify-content: center; gap: 18px; margin: 8px 0 12px; }
.footer__links a { color: var(--muted); text-decoration: none; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- липка кнопка ---------- */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; gap: 12px;
  max-width: 520px;
  margin: 0 auto;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(8,8,8,.94);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--red-dark);
  transform: translateY(110%);
  transition: transform .3s;
}
.sticky.is-visible { transform: none; }
.sticky__price { display: flex; flex-direction: column; line-height: 1.1; }
.sticky__price s { font-size: 13px; color: var(--steel-dim); }
.sticky__price b { font-family: var(--f-display); font-weight: 400; font-size: 24px; color: var(--red-2); }
.btn--sticky { flex: 1; min-height: 52px; font-size: 18px; animation: none; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 12px; bottom: 90px; z-index: 60;
  max-width: 300px;
  display: flex; gap: 10px; align-items: center;
  padding: 10px 14px 10px 10px;
  background: #151517;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  box-shadow: 0 10px 30px rgba(0,0,0,.6);
  font-size: 14px;
  transform: translateX(calc(-100% - 24px));
  visibility: hidden;
  transition: transform .4s, visibility .4s;
}
.toast.is-visible { transform: none; visibility: visible; }
.toast img { width: 44px; height: 44px; object-fit: cover; }
.toast small { display: block; color: var(--muted); font-size: 12px; }

/* ---------- модалка ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: 16px;
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(4px);
}
.modal[hidden] { display: none; }
.modal__box {
  position: relative;
  width: 100%; max-width: 440px;
  max-height: 85vh; overflow-y: auto;
  padding: 28px 20px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
}
.modal__close {
  position: absolute; top: 8px; right: 10px;
  background: none; border: 0;
  color: var(--muted);
  font-size: 30px;
  cursor: pointer;
}
.modal h3 { font-family: var(--f-display); font-size: 24px; margin-bottom: 12px; }
.modal p { color: var(--muted); margin-bottom: 10px; font-size: 15px; }
.modal .thanks { text-align: center; }
.modal .thanks__icon {
  width: 72px; height: 72px;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  background: var(--red);
  font-size: 38px;
  clip-path: var(--cut);
}

/* ---------- анімація появи ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (min-width: 560px) {
  body { background: #030303; }
}
