:root {
  --ink: #12141a;
  --ink-soft: #2a2e38;
  --mute: #5c6370;
  --line: rgba(18, 20, 26, 0.1);
  --paper: #f5f6f8;
  --surface: #ffffff;
  --soft: #eef0f4;
  --accent: #d4536d;
  --accent-soft: rgba(212, 83, 109, 0.12);
  --radius: 16px;
  --shadow: 0 16px 40px rgba(18, 20, 26, 0.09);
  --font: "Plus Jakarta Sans", sans-serif;
  --tg: #229ed9;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.45;
  letter-spacing: -0.015em;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(820px 400px at 6% -10%, rgba(212, 83, 109, 0.14), transparent 58%),
    radial-gradient(720px 360px at 96% 0%, rgba(70, 90, 140, 0.1), transparent 55%),
    linear-gradient(180deg, #fafbfc 0%, var(--paper) 48%, #eceef2 100%);
}

.top {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: 12px;
  background: #e8eaef;
  border: 1px solid rgba(18, 20, 26, 0.1);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.brand:hover {
  background: #dde0e7;
  border-color: rgba(18, 20, 26, 0.16);
}

.brand-mark { display: none !important; }

.brand-name {
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.04em;
}

.nav {
  display: flex;
  gap: 16px;
  margin-left: auto;
  color: var(--mute);
  font-weight: 650;
  font-size: 0.9rem;
}

.nav a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 11px;
  padding: 11px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: -0.02em;
  transition: transform 0.16s ease, background 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease, color 0.18s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.97); transition-duration: 0.06s; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px rgba(18, 20, 26, 0.16);
}

.btn-primary:hover { background: #000; }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.btn-ghost:hover { background: var(--soft); }

.btn-tg {
  background: var(--tg);
  color: #fff;
  padding: 10px 14px;
  border-radius: 11px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(34, 158, 217, 0.25);
}

.btn-tg:hover { background: #1b8fc7; }

.btn-buy {
  background: var(--accent);
  color: #fff;
  padding: 10px 14px;
  min-width: 108px;
  box-shadow: 0 8px 18px rgba(212, 83, 109, 0.28);
}

.btn-buy:hover { filter: brightness(1.05); }
.btn-block { width: 100%; }

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 22px 20px;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.hero-title {
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  max-width: 12ch;
  margin-bottom: 14px;
}

.hero-title span { color: #3d4454; }

.hero-lead {
  max-width: 48ch;
  color: var(--mute);
  font-size: 1.02rem;
  font-weight: 500;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 650;
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.catalog, .how {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 22px;
}

.section-head { margin-bottom: 18px; max-width: 52ch; }
.section-head.row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  letter-spacing: -0.04em;
  font-weight: 800;
  margin-bottom: 6px;
}

.section-head p { color: var(--mute); font-size: 0.95rem; font-weight: 500; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }

.filter-btn {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--mute);
  background: #fff;
  border: 1px solid var(--line);
}

.filter-btn:hover { color: var(--ink); border-color: rgba(18,20,26,0.22); }

.filter-btn.on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.empty {
  grid-column: 1 / -1;
  color: var(--mute);
  padding: 28px 0;
  font-weight: 600;
}

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(18, 20, 26, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  animation: rise 0.45s ease both;
}

.card:hover {
  border-color: rgba(212, 83, 109, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #e8eaf0, #f5f6f8 50%, #dde1ea);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  display: block;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-media .ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #4a5160;
}

.card-media .ph span { font-size: 2rem; line-height: 1; }
.card-media .ph small {
  display: block;
  margin-top: 4px;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.65;
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,0.94) !important;
}

.card-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.card-body h3 {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.card-body > p {
  color: var(--mute);
  font-size: 0.86rem;
  line-height: 1.4;
  flex: 1;
  font-weight: 500;
}

.card-meta { display: flex; flex-wrap: wrap; gap: 6px; }

.chip {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 8px;
}

.chip-hot {
  background: var(--accent-soft);
  color: #a63a52;
  border-color: rgba(212, 83, 109, 0.28);
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
}

.price {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.price small {
  display: block;
  margin-top: 3px;
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--mute);
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.steps li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.step-num {
  display: block;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: -0.04em;
}

.steps h3 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 5px;
}

.steps p { color: var(--mute); font-size: 0.88rem; font-weight: 500; }

.crumbs {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 22px 0;
  color: var(--mute);
  font-size: 0.86rem;
  font-weight: 600;
}

.crumbs a:hover { color: var(--ink); }

.product {
  max-width: 1040px;
  margin: 0 auto;
  padding: 22px 22px 56px;
  display: grid;
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.product-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  height: 100%;
}

.product-gallery {
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;
  max-height: 360px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8eaef;
  box-shadow: 0 10px 26px rgba(18, 20, 26, 0.07);
}

.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-gallery .ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  font-weight: 600;
  color: #4a5160;
}

.product-gallery .ph span { font-size: 2.4rem; }
.product-gallery .ph small {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.7;
}

.product-body {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 20px;
  box-shadow: 0 8px 22px rgba(18, 20, 26, 0.04);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-desc {
  color: var(--mute);
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
}

.product-guarantee {
  margin: 0;
  margin-top: auto;
  color: #1a7a4d;
  font-size: 0.9rem;
  font-weight: 600;
}

.product-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 24px 22px;
  box-shadow: 0 10px 28px rgba(18, 20, 26, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: stretch;
  min-height: 100%;
  box-sizing: border-box;
}

.product-panel h1 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  margin: 0;
  line-height: 1.2;
}

.panel-meta {
  margin: 0;
  color: #6a7180;
  font-size: 0.9rem;
  font-weight: 450;
}

.panel-note {
  margin: 0;
  color: var(--mute);
  font-size: 0.9rem;
  line-height: 1.45;
}

.panel-points {
  list-style: none;
  margin: 8px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.panel-points li {
  position: relative;
  padding-left: 18px;
  color: var(--mute);
  font-size: 0.9rem;
  font-weight: 450;
  line-height: 1.35;
}

.panel-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 4px 0 2px;
}

.product-price-row .price {
  font-size: 1.55rem;
  font-weight: 600;
}

.product-price-row .price small {
  font-weight: 450;
}

.bind-ok {
  margin: 0 0 12px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(61, 214, 140, 0.1);
  border: 1px solid rgba(61, 214, 140, 0.28);
  color: #1a7a4d;
  font-size: 0.86rem;
  font-weight: 500;
}

.sbp-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f7f5fb;
  border: 1px solid rgba(107, 31, 141, 0.14);
  transition: border-color 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

.sbp-logo {
  width: 32px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.sbp-strip-mid {
  flex: 1;
  min-width: 0;
}

.sbp-strip-mid b {
  display: block;
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.sbp-strip-mid small {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--mute);
}

.sbp-strip .btn-buy {
  flex-shrink: 0;
  min-width: 118px;
  font-weight: 600;
  box-shadow: none;
}

.sbp-strip.is-locked .btn-buy {
  background: var(--ink);
  color: #fff;
}

.sbp-strip:not(.is-locked) {
  background: #fff;
  border-color: rgba(107, 31, 141, 0.28);
}

.sbp-strip:not(.is-locked) .btn-buy {
  background: var(--accent);
  color: var(--accent-ink);
}

@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; max-width: 480px; }
  .product-gallery { max-width: 280px; max-height: none; }
  .product-left { height: auto; }
  .product-body { flex: none; }
  .product-panel { min-height: 0; }
  .sbp-strip { flex-wrap: wrap; }
  .sbp-strip .btn-buy { width: 100%; }
}

.terms-box {
  margin: 0;
}

.terms-box h2 {
  font-size: 0.95rem;
  font-weight: 550;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.terms-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.terms-box li {
  position: relative;
  padding-left: 14px;
  color: var(--mute);
  font-size: 0.88rem;
  font-weight: 400;
}

.terms-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.footer {
  margin-top: 40px;
  border-top: 1px solid rgba(0,0,0,0.08);
  background: #12141a;
  color: #eceef2;
}

.footer-grid {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 22px 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}

.footer-brand p {
  margin-top: 12px;
  color: rgba(236, 238, 242, 0.65);
  max-width: 34ch;
  font-size: 0.9rem;
  font-weight: 500;
}

.footer .brand {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}
.footer .brand:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}
.footer .brand-name { color: #fff; }
.footer .brand-mark {
  background: linear-gradient(145deg, #fff 0%, #d4536d 100%);
}

.footer-col { display: flex; flex-direction: column; gap: 9px; }

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  color: #fff;
}

.footer-col a {
  color: rgba(236, 238, 242, 0.72);
  font-size: 0.88rem;
  width: fit-content;
  font-weight: 500;
}

.footer-col a:hover { color: #ff8aa0; }

.footer-note {
  margin-top: 6px;
  font-size: 0.76rem;
  color: rgba(236, 238, 242, 0.4);
}

.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 22px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(236, 238, 242, 0.45);
  font-size: 0.8rem;
}

.modal[hidden] { display: none !important; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 1;
}

.modal.is-open { opacity: 1; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.38);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.modal-card {
  position: relative;
  width: min(400px, 100%);
  min-height: 360px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px 18px;
  box-shadow: 0 20px 50px rgba(18, 20, 26, 0.14);
  transform: none;
  opacity: 1;
}

.modal-card h2 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.modal-lead {
  color: var(--mute);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.45;
  margin-bottom: 14px;
}

.modal-pay-note {
  background: #f6f7f9;
  color: var(--mute);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 0.82rem;
  font-weight: 450;
  margin-bottom: 10px;
}

.bind-status {
  font-size: 0.84rem;
  font-weight: 500;
  color: #1a7a4d;
  margin-bottom: 8px;
}

.bind-linked {
  padding: 14px;
  border-radius: 12px;
  background: #f3f4f7;
  margin-bottom: 10px;
}

.bind-linked .bind-status {
  font-size: 0.95rem;
  margin: 0 0 12px;
}

.bind-linked[hidden],
.bind-tabs[hidden],
.bind-body[hidden] { display: none !important; }

.bind-error {
  min-height: 1.05em;
  color: #b42318;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.bind-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: #f3f4f7;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 14px;
}

.bind-tab {
  border-radius: 9px;
  padding: 10px 12px;
  font-weight: 550;
  font-size: 0.9rem;
  color: var(--mute);
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.bind-tab.on {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(18, 20, 26, 0.08);
}

.bind-body {
  min-height: 140px;
  position: relative;
}

.bind-tg-hint {
  margin: 0 0 14px;
  color: var(--mute);
  font-size: 0.9rem;
  line-height: 1.45;
}

.bind-tg-hint b {
  color: var(--ink);
  font-weight: 600;
}

.bind-pane {
  display: none !important;
  flex-direction: column;
  gap: 10px;
}

.bind-pane.is-active {
  display: flex !important;
}

.bind-pane[hidden] {
  display: none !important;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--mute);
}

.field input {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
}

.field input:focus {
  outline: none;
  border-color: rgba(212, 83, 109, 0.45);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.pay-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pay-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
}

.pay-row span {
  color: var(--mute);
  font-weight: 650;
}

.pay-row b {
  font-weight: 800;
  text-align: right;
  letter-spacing: -0.02em;
}

.btn-sbp {
  background: #1a1f36;
  color: #fff;
  gap: 10px;
  box-shadow: 0 10px 24px rgba(26, 31, 54, 0.22);
  margin-bottom: 8px;
}

.btn-sbp:hover { background: #11162a; }

.sbp-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 24px;
  border-radius: 6px;
  background: #fff;
  color: #1a1f36;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.btn-tg.bound {
  background: #111;
  box-shadow: none;
}

.bind-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3dd68c;
  display: inline-block;
}

@keyframes pop {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.modal-x {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  font-size: 1.3rem;
  color: var(--mute);
  line-height: 1;
}

.modal-x:hover { background: var(--soft); color: var(--ink); }

.modal-top {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.modal-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--tg);
  color: #fff;
  flex-shrink: 0;
}

.modal-top h2 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.modal-tag {
  margin-top: 2px;
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.modal-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.modal-steps li {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.modal-steps strong { font-size: 0.9rem; }
.modal-steps span { color: var(--mute); font-size: 0.82rem; font-weight: 500; }

.page {
  max-width: 820px;
  margin: 0 auto;
  padding: 28px 22px 72px;
}

.page h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  letter-spacing: -0.045em;
  font-weight: 800;
  margin-bottom: 8px;
}

.page .lead {
  color: var(--mute);
  margin-bottom: 10px;
  font-weight: 500;
}

.page .meta {
  color: #888;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 22px;
}

.doc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.doc-nav a {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--mute);
  background: #fff;
}

.doc-nav a.on,
.doc-nav a:hover {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.page article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}

.page article h2 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 22px 0 8px;
}

.page article h2:first-child { margin-top: 0; }

.page article p,
.page article li {
  color: #3d4454;
  font-size: 0.94rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.page article ul {
  padding-left: 18px;
  margin-bottom: 10px;
}

.page article .note {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 12px 0;
}

.warranty-grid {
  display: grid;
  gap: 8px;
  margin: 10px 0 14px;
}

.warranty-grid div {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.warranty-grid b { font-weight: 800; }

.page-foot {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--mute);
  font-size: 0.86rem;
  font-weight: 600;
}

@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  .top { flex-wrap: wrap; }
  .btn-tg { margin-left: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-head.row { align-items: flex-start; }
  .product-stats { grid-template-columns: 1fr; }
  .product-price-row { flex-direction: column; align-items: stretch; }
}

/* ---- motion ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes unlock {
  0% { box-shadow: 0 0 0 0 rgba(212, 83, 109, 0.35); }
  100% { box-shadow: 0 0 0 12px rgba(212, 83, 109, 0); }
}

.product-left,
.product-panel,
.hero,
.legal,
main > section {
  animation: fadeUp 0.4s ease both;
}
.product-panel { animation-delay: 0.06s; }

.product-gallery img { transition: transform 0.4s ease; }
.product-gallery:hover img { transform: scale(1.03); }

.card { transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.card-media img { transition: transform 0.35s ease; }
.card:hover .card-media img { transform: scale(1.04); }

.nav a { transition: color 0.15s ease; }
.footer a { transition: color 0.15s ease, opacity 0.15s ease; }

.bind-tab { transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease; }
.bind-tab:active { transform: scale(0.97); }
.bind-pane.is-active { animation: fadeIn 0.18s ease; }

.field input { transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.field input:focus { box-shadow: 0 0 0 3px var(--accent-soft); }

.modal.is-open .modal-backdrop { animation: fadeIn 0.16s ease; }
.modal.is-open .modal-card { animation: pop 0.18s ease; }

.sbp-strip { transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.sbp-strip:not(.is-locked) .btn-buy { animation: unlock 0.9s ease-out 1; }
.sbp-strip .btn-buy { transition: transform 0.16s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.18s ease; }

.tg-wait {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--mute);
  font-size: 0.86rem;
  font-weight: 500;
  animation: fadeIn 0.2s ease;
}
.tg-wait[hidden] { display: none; }

.spinner {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid rgba(18, 20, 26, 0.15);
  border-top-color: var(--tg);
  animation: spin 0.8s linear infinite;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 1100;
  padding: 11px 18px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(18, 20, 26, 0.25);
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---- orders ---- */
#pay-modal h2 { margin-bottom: 6px; }
.pay-sum {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 2px 0 14px;
}
.pay-rows {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}
.pay-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f3f4f7;
  font-size: 0.9rem;
}
.pay-row span { color: var(--mute); min-width: 92px; }
.pay-row b { flex: 1; word-break: break-all; font-weight: 600; }
.copy-btn {
  border: 0;
  background: #fff;
  border-radius: 8px;
  padding: 5px 9px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line);
}
.copy-btn:hover { background: var(--soft); }
.pay-note {
  color: var(--mute);
  font-size: 0.86rem;
  line-height: 1.45;
  margin: 0 0 14px;
}
.order-list { display: grid; gap: 8px; }
.order-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}
.order-item:hover { background: #f7f8fa; }
.order-item small { display: block; color: var(--mute); font-size: 0.78rem; margin-top: 2px; }
.order-status {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 8px;
  background: #f3f4f7;
  color: var(--mute);
}
.order-status.s-issued { background: #e6f6ee; color: #1a7a4d; }
.order-status.s-paid { background: #e8f2fd; color: #1f6fb8; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}