/* SM AutoDonate — тёмное тактическое стекло, как на skufymods.ru:
   почти непрозрачные тёмные поверхности, структура волосяными линиями, один янтарный акцент. */
:root {
  color-scheme: dark;
  --ground: #08090c;
  --ground2: #0b0d11;
  --surface: #101318;
  --raise: #161a20;
  --raise2: #1c2129;
  --line: rgba(255, 255, 255, 0.075);
  --line2: rgba(255, 255, 255, 0.13);
  --line3: rgba(255, 255, 255, 0.22);
  --text: #eceff2;
  --text2: #c8cfd6;
  --muted: #85919d;
  --faint: #5c6773;
  --accent: #f2b544;
  --accent-hi: #ffc862;
  --accent-dim: rgba(242, 181, 68, 0.12);
  --accent-line: rgba(242, 181, 68, 0.42);
  --on-accent: #16110a;
  --ok: #34d1bf;
  --ok-dim: rgba(52, 209, 191, 0.1);
  --warn: #f59a3c;
  --warn-dim: rgba(245, 154, 60, 0.1);
  --danger: #f0505a;
  --danger-dim: rgba(240, 80, 90, 0.1);
  --cold: #8cc8f5;
  --display: "Russo One", "Arial Black", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --r: 10px;
  --r-lg: 14px;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.8);
  --topbar: 64px;
  --ws-top: 60px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar) + 16px);
  scrollbar-color: #2c333d var(--ground);
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font: 15px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(242, 181, 68, 0.06), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(52, 209, 191, 0.03), transparent 60%);
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: var(--accent-hi);
}
button,
input,
select,
textarea {
  font: inherit;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
::selection {
  background: rgba(242, 181, 68, 0.3);
  color: #fff;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 400;
  text-wrap: balance;
}
h1 {
  font: 400 clamp(30px, 5vw, 50px) / 1.08 var(--display);
  letter-spacing: 0.01em;
}
h2 {
  font: 400 clamp(21px, 2.6vw, 28px) / 1.2 var(--display);
  letter-spacing: 0.02em;
}
h3 {
  font: 400 18px/1.25 var(--display);
  letter-spacing: 0.02em;
}
p {
  margin: 0;
}
code {
  font: 500 0.92em var(--mono);
  color: var(--text);
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 5px;
}
.i {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
svg.mark {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.muted {
  color: var(--muted);
}
.warn-text {
  color: var(--warn);
  font-weight: 600;
}
.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 11.5px/1.2 var(--body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.lead {
  color: var(--text2);
  font-size: 17px;
  line-height: 1.65;
  max-width: 56ch;
}
.hint {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
ol.hint {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 14px 0 18px;
}
.inline-error {
  color: var(--danger);
  font-size: 13.5px;
  margin: 10px 0 0;
}
.inline-error:empty {
  display: none;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--accent);
  color: var(--on-accent);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus {
  top: 12px;
  color: var(--on-accent);
}

/* ---------- кнопки, бейджи, статусы ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--line2);
  background: var(--raise);
  color: var(--text);
  font: 600 14px/1 var(--body);
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s,
    transform 0.1s;
}
.btn:hover {
  border-color: var(--line3);
  background: var(--raise2);
  color: var(--text);
}
.btn:active {
  transform: translateY(1px);
}
.btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
}
.btn .i {
  width: 17px;
  height: 17px;
}
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.btn.primary:hover {
  background: var(--accent-hi);
  border-color: var(--accent-hi);
  color: var(--on-accent);
}
.btn.outline {
  background: transparent;
  border-color: var(--accent-line);
  color: var(--accent);
}
.btn.outline:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent-hi);
}
.btn.ghost {
  background: transparent;
  border-color: transparent;
  color: var(--text2);
}
.btn.ghost:hover {
  background: var(--raise);
  border-color: var(--line);
  color: var(--text);
}
.btn.danger {
  background: transparent;
  border-color: rgba(240, 80, 90, 0.45);
  color: var(--danger);
}
.btn.danger:hover {
  background: var(--danger-dim);
  border-color: var(--danger);
  color: #ff7079;
}
.btn.steam {
  background: #171a21;
  border-color: rgba(255, 255, 255, 0.16);
}
.btn.steam:hover {
  background: #1f2530;
  border-color: var(--accent-line);
}
.btn.small {
  height: 34px;
  padding: 0 12px;
  font-size: 13px;
  border-radius: 7px;
  gap: 7px;
}
.btn.small .i {
  width: 15px;
  height: 15px;
}
.btn.lg {
  height: 50px;
  padding: 0 24px;
  font-size: 15px;
}
.btn.icon {
  width: 42px;
  padding: 0;
}
.btn.icon.small {
  width: 34px;
}
.btn.block {
  width: 100%;
}
.btn[aria-busy="true"] {
  cursor: progress;
}
.btn[aria-busy="true"]::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 13.5px;
  white-space: nowrap;
}
.text-link .i {
  width: 15px;
  height: 15px;
}
.badge,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 8px;
  border-radius: 5px;
  font: 700 10.5px/1 var(--body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--line2);
  color: var(--muted);
  background: rgba(8, 9, 12, 0.6);
  white-space: nowrap;
}
.badge.solid {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.badge.light {
  color: var(--text2);
  border-color: var(--line3);
}
.tag.amber {
  color: var(--accent);
  border-color: var(--accent-line);
}
.tag.green {
  color: var(--ok);
  border-color: rgba(52, 209, 191, 0.4);
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  padding: 0 10px;
  border-radius: 6px;
  font: 600 12.5px/1 var(--body);
  color: var(--muted);
  background: var(--raise);
  border: 1px solid var(--line);
  white-space: nowrap;
  flex: none;
}
.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status.green {
  color: var(--ok);
  background: var(--ok-dim);
  border-color: rgba(52, 209, 191, 0.25);
}
.status.amber {
  color: var(--accent);
  background: var(--accent-dim);
  border-color: rgba(242, 181, 68, 0.25);
}
.status.red {
  color: var(--danger);
  background: var(--danger-dim);
  border-color: rgba(240, 80, 90, 0.25);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chips span {
  display: inline-flex;
  padding: 3px 9px;
  border-radius: 5px;
  background: var(--raise);
  border: 1px solid var(--line);
  color: var(--text2);
  font: 500 12px/1.4 var(--mono);
}

/* ---------- логотип ---------- */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  flex: none;
}
.logo:hover {
  color: var(--text);
}
.logo-mark {
  width: 32px;
  height: 32px;
  color: var(--accent);
  display: grid;
  place-items: center;
}
.logo-mark svg {
  width: 32px;
  height: 32px;
}
.logo-word {
  font: 400 18px/1 var(--display);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.logo-word b {
  font-weight: 400;
  color: var(--accent);
  margin-left: 6px;
}

/* ---------- шапка витрины ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--topbar);
  background: rgba(8, 9, 12, 0.84);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.header-row {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.header-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-weight: 500;
  font-size: 14.5px;
  padding: 8px 12px;
  border-radius: 7px;
  transition:
    color 0.15s,
    background 0.15s;
}
.header-nav a:hover {
  color: var(--text);
  background: var(--raise);
}
.header-nav a.on {
  color: var(--text);
}
.header-nav a.on::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 1px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.header-nav .nav-demo-link {
  color: var(--accent);
}
.header-nav .nav-demo-link .i {
  width: 16px;
  height: 16px;
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.landing-menu {
  display: none;
}

/* ---------- первый экран ---------- */
.hero-wrap {
  padding-top: 28px;
}
.hero {
  position: relative;
  border: 1px solid var(--line2);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(22, 26, 32, 0.7), rgba(16, 19, 24, 0.5));
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%, #000);
  mask-image: linear-gradient(90deg, transparent, #000 45%, #000);
}
.hero::after {
  content: "";
  position: absolute;
  right: -160px;
  top: -200px;
  width: 620px;
  height: 620px;
  z-index: -1;
  background: radial-gradient(circle, rgba(242, 181, 68, 0.11), transparent 62%);
}
.hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: center;
  padding: 54px 52px 48px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
}
.hl {
  color: var(--accent);
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.hero-points {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13.5px;
}
.hero-points .i {
  width: 15px;
  height: 15px;
  color: var(--ok);
}
.hero-stage {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.corners {
  position: relative;
}
.corners::before,
.corners::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent);
  opacity: 0.8;
  pointer-events: none;
  z-index: 2;
}
.corners::before {
  top: 12px;
  left: 12px;
  border-right: 0;
  border-bottom: 0;
}
.corners::after {
  bottom: 12px;
  right: 12px;
  border-left: 0;
  border-top: 0;
}
.browser.corners::before {
  top: -9px;
  left: -9px;
}
.browser.corners::after {
  bottom: -9px;
  right: -9px;
}
.browser {
  border: 1px solid var(--line2);
  border-radius: 12px;
  background: var(--ground2);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
}
.browser-bar {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: var(--raise);
  border-radius: 12px 12px 0 0;
}
.dots {
  display: flex;
  gap: 6px;
}
.dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2a3038;
}
.browser-url {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 26px;
  padding: 0 12px;
  border-radius: 6px;
  background: var(--ground);
  border: 1px solid var(--line);
  color: var(--muted);
  font: 500 12px/1 var(--mono);
  white-space: nowrap;
  overflow: hidden;
}
.browser-url .i {
  width: 13px;
  height: 13px;
  color: var(--ok);
}
.browser-url b {
  color: var(--text);
  font-weight: 500;
}
.browser-tag {
  font: 600 11px/1 var(--mono);
  color: var(--accent);
  padding: 5px 8px;
  border: 1px solid var(--accent-line);
  border-radius: 5px;
  background: var(--accent-dim);
}
.browser-view {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 0 0 12px 12px;
  background: var(--ground2);
}
.browser-view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition:
    opacity 0.3s ease,
    transform 0.6s ease;
}
.browser-view img.swap {
  opacity: 0;
  transform: scale(1.012);
}
.hero-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.hero-switch button {
  height: 30px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid var(--line2);
  background: var(--surface);
  color: var(--text2);
  font: 600 12.5px/1 var(--body);
  cursor: pointer;
  transition:
    border-color 0.15s,
    color 0.15s,
    background 0.15s;
}
.hero-switch button:hover {
  border-color: var(--line3);
  color: var(--text);
}
.hero-switch button[aria-pressed="true"] {
  border-color: var(--accent-line);
  color: var(--accent);
  background: var(--accent-dim);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 28px;
  border-left: 1px solid var(--line);
}
.stat:first-child {
  border-left: 0;
}
.stat .ic {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--accent-dim);
  color: var(--accent);
  flex: none;
}
.stat .ic .i {
  width: 20px;
  height: 20px;
}
.stat b {
  display: block;
  font: 600 24px/1.1 var(--mono);
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat span {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* ---------- платёжные сервисы ---------- */
.pay-strip {
  padding-top: 18px;
}
.pay-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
}
.pay-row::before {
  content: none;
}
.pay-strip .pay-row {
  position: relative;
  isolation: isolate;
  padding-top: 14px;
  padding-bottom: 14px;
}
.pay-strip .pay-row::after {
  content: "";
  position: absolute;
  inset: 0 20px;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.pay-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 20px;
  color: var(--text2);
  font-size: 14px;
  font-weight: 500;
}
.pay-label .i {
  color: var(--accent);
}
.pay-list {
  list-style: none;
  margin: 0 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pay-list li {
  padding: 4px 10px;
  border-radius: 5px;
  background: var(--raise);
  border: 1px solid var(--line);
  color: var(--text2);
  font: 500 12.5px/1.4 var(--mono);
}

/* ---------- секции ---------- */
.section {
  padding-top: 88px;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.section-head .t {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 720px;
}
.section-head h2,
.faq-side h2 {
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-head h2::before,
.faq-side h2::before {
  content: "";
  width: 3px;
  height: 24px;
  background: var(--accent);
  border-radius: 2px;
  flex: none;
}
.section-head p {
  color: var(--muted);
  max-width: 62ch;
}
.section-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13.5px;
}
.section-note .i {
  width: 16px;
  height: 16px;
  margin-top: 3px;
}
.reveal {
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.pre {
  opacity: 0;
  transform: translateY(16px);
}
.reveal.pre.in {
  opacity: 1;
  transform: none;
}

/* ---------- демо-магазин ---------- */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.demo-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line2);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
  color: var(--text);
  transition:
    border-color 0.18s,
    transform 0.18s;
}
.demo-card:hover {
  border-color: var(--accent-line);
  transform: translateY(-2px);
  color: var(--text);
}
.demo-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.35;
  background: radial-gradient(circle at 50% 45%, #1a1f27, var(--ground2) 70%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.demo-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8%;
  transition: transform 0.35s ease;
}
.demo-card:hover .demo-art img {
  transform: scale(1.05);
}
.demo-sprite {
  width: 70%;
  aspect-ratio: 1;
  background: url("/demo/assets/gear.png") var(--demo-art-position, 0 0) / 200% 200% no-repeat;
}
.demo-open {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  border: 1px solid var(--line2);
  background: rgba(8, 9, 12, 0.78);
  color: var(--text2);
}
.demo-open .i {
  width: 14px;
  height: 14px;
}
.demo-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 15px 18px 17px;
}
.demo-copy small {
  font: 600 11px/1.3 var(--body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.demo-copy b {
  font: 400 16px/1.3 var(--display);
  letter-spacing: 0.02em;
}
.demo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}
.demo-link .i {
  width: 14px;
  height: 14px;
  transition: transform 0.15s;
}
.demo-card:hover .demo-link .i {
  transform: translateX(3px);
}

/* ---------- возможности ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 24px;
  border: 1px solid var(--line2);
  border-radius: 12px;
  background: var(--surface);
  transition: border-color 0.18s;
}
.feat:hover {
  border-color: var(--line3);
}
.feat p {
  color: var(--text2);
  font-size: 14.5px;
}
.feat .chips {
  margin-top: auto;
  padding-top: 4px;
}
.feat-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.feat-ic {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--accent-dim);
  color: var(--accent);
  flex: none;
}
.feat-ic .i {
  width: 19px;
  height: 19px;
}
.feat h3 {
  font-size: 17px;
}
.feat.wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, rgba(242, 181, 68, 0.05), var(--surface) 55%);
}
.feat-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mini-editor {
  border: 1px solid var(--line2);
  border-radius: 10px;
  background: var(--ground2);
  padding: 14px 16px;
}
.me-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13.5px;
  padding-bottom: 10px;
}
.me-title .i {
  width: 16px;
  height: 16px;
  color: var(--accent);
}
.me-title span {
  margin-left: auto;
  font: 500 11px/1 var(--mono);
  color: var(--muted);
  border: 1px solid var(--line2);
  border-radius: 5px;
  padding: 4px 7px;
}
.me-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.me-row > span:first-child {
  color: var(--muted);
}
.me-row b {
  font-weight: 600;
}
.swatches {
  display: flex;
  gap: 7px;
}
.swatches i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.swatches i.on {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.seg {
  display: flex;
  border: 1px solid var(--line2);
  border-radius: 6px;
  overflow: hidden;
}
.seg i {
  width: 28px;
  height: 24px;
  display: grid;
  place-items: center;
  font: 500 12px/1 var(--mono);
  font-style: normal;
  color: var(--muted);
}
.seg i + i {
  border-left: 1px solid var(--line);
}
.seg i.on {
  background: var(--accent);
  color: var(--on-accent);
}
.toggle {
  width: 34px;
  height: 18px;
  border-radius: 9px;
  background: var(--raise2);
  position: relative;
}
.toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--muted);
}
.toggle.on {
  background: var(--accent);
}
.toggle.on::after {
  left: 18px;
  background: var(--on-accent);
}
.me-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.me-foot .btn {
  pointer-events: none;
}

/* ---------- шаблоны ---------- */
.theme-filters {
  display: flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line2);
  border-radius: 9px;
  background: var(--surface);
}
.theme-filters button {
  height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: 600 13px/1 var(--body);
  cursor: pointer;
}
.theme-filters button:hover {
  color: var(--text);
}
.theme-filters button.active {
  background: var(--accent-dim);
  color: var(--accent);
}
.tpl-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.tpl-own {
  gap: 12px;
  padding: 22px 20px;
  border-style: dashed;
  border-color: var(--accent-line);
  background: linear-gradient(160deg, rgba(242, 181, 68, 0.06), var(--surface) 60%);
}
.tpl-own:hover {
  border-color: var(--accent);
}
.tpl-own h3 {
  font-size: 19px;
}
.tpl-own p {
  color: var(--muted);
  font-size: 13.5px;
}
.tpl-own-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.tpl-own-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text2);
  font-size: 13.5px;
}
.tpl-own-list .i {
  width: 15px;
  height: 15px;
  color: var(--ok);
}
.tpl-own .btn {
  margin-top: auto;
  align-self: flex-start;
}
.tpl {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line2);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.18s;
}
.tpl:hover {
  border-color: var(--line3);
}
.tpl-shot {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--ground2);
  overflow: hidden;
  cursor: zoom-in;
}
.tpl-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}
.tpl:hover .tpl-shot img {
  transform: scale(1.03);
}
.tpl-shot:focus-visible {
  outline-offset: -3px;
}
.tpl-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  background: rgba(8, 9, 12, 0.86);
  border: 1px solid var(--line2);
  color: var(--text);
  font: 600 12px/1 var(--body);
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.18s,
    transform 0.18s;
}
.tpl-zoom .i {
  width: 14px;
  height: 14px;
  color: var(--accent);
}
.tpl-shot:hover .tpl-zoom,
.tpl-shot:focus-visible .tpl-zoom {
  opacity: 1;
  transform: none;
}
.tpl-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px 20px;
  flex: 1;
}
.tpl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.tpl-head h3 {
  font-size: 18px;
}
.tpl-body p {
  color: var(--muted);
  font-size: 14px;
}
.tpl-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}
.tpl-actions .btn {
  flex: 1;
}

/* ---------- тарифы ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 24px 24px;
  background: var(--surface);
  border: 1px solid var(--line2);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition:
    border-color 0.18s,
    transform 0.18s;
}
.plan::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--line3);
}
.plan:hover {
  border-color: var(--line3);
  transform: translateY(-2px);
}
.plan.featured {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, rgba(242, 181, 68, 0.07), var(--surface) 45%);
  box-shadow: 0 30px 80px -45px rgba(242, 181, 68, 0.45);
}
.plan.featured::before {
  height: 3px;
  background: var(--accent);
}
.plan.featured:hover {
  border-color: var(--accent);
}
.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.plan-name {
  font: 400 28px/1 var(--display);
  letter-spacing: 0.05em;
}
.plan.featured .plan-name {
  color: var(--accent);
}
.plan-desc {
  color: var(--text2);
  font-size: 14.5px;
  min-height: 2.6em;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.plan-price b {
  font: 600 34px/1 var(--mono);
  letter-spacing: -0.02em;
}
.plan-price span {
  color: var(--muted);
  font-size: 14px;
}
.plan-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--ground2);
  border: 1px solid var(--line);
  font: 500 12.5px/1.3 var(--mono);
  color: var(--muted);
}
.plan-meta .save {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ok);
}
.plan-meta .save .i {
  width: 14px;
  height: 14px;
}
.plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text2);
  font-size: 14px;
}
.plan-list .i {
  width: 16px;
  height: 16px;
  color: var(--ok);
  margin-top: 3px;
}
.plan > .btn {
  margin-top: auto;
}

/* ---------- шаги ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.step {
  position: relative;
  padding: 20px 22px 22px;
  border: 1px solid var(--line2);
  border-radius: 12px;
  background: var(--surface);
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 39px;
  right: -17px;
  width: 17px;
  height: 1px;
  background: var(--accent-line);
}
.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.step-n {
  font: 600 13px/1 var(--mono);
  color: var(--accent);
  letter-spacing: 0.08em;
}
.step-ic {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--raise);
  border: 1px solid var(--line);
  color: var(--text2);
}
.step h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.step p {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- вопросы ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 48px;
  align-items: start;
}
.faq-side {
  position: sticky;
  top: calc(var(--topbar) + 24px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.faq-side p {
  color: var(--muted);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-list details {
  border: 1px solid var(--line2);
  border-radius: var(--r);
  background: var(--surface);
  transition: border-color 0.18s;
}
.faq-list details[open] {
  border-color: var(--accent-line);
}
.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15.5px;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary:hover {
  color: var(--accent);
}
.pm {
  position: relative;
  width: 14px;
  height: 14px;
  flex: none;
}
.pm::before,
.pm::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 6px;
  height: 2px;
  border-radius: 1px;
  background: var(--accent);
  transition: transform 0.2s;
}
.pm::after {
  transform: rotate(90deg);
}
details[open] .pm::after {
  transform: rotate(0);
}
.faq-list details p {
  padding: 0 20px 18px;
  color: var(--text2);
  font-size: 14.5px;
}

/* ---------- призыв и эмблема ---------- */
.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 40px;
  align-items: center;
  padding: 52px 56px;
  border: 1px solid var(--line2);
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, rgba(242, 181, 68, 0.07), rgba(16, 19, 24, 0.6) 55%);
  overflow: hidden;
  isolation: isolate;
}
.cta-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cta-copy h2 {
  font-size: clamp(24px, 3.2vw, 36px);
}
.cta-copy p {
  color: var(--text2);
  font-size: 16px;
}
.emblem {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.emblem .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line2);
}
.emblem .ring.r1 {
  inset: 0;
  border-style: dashed;
  border-color: rgba(242, 181, 68, 0.25);
  animation: spin 80s linear infinite;
}
.emblem .ring.r2 {
  inset: 12%;
}
.emblem .ring.r3 {
  inset: 24%;
  background: radial-gradient(circle, rgba(242, 181, 68, 0.08), transparent 70%);
  border-color: var(--accent-line);
}
.emblem svg.mark {
  width: 34%;
  height: 34%;
  color: var(--accent);
}
.emblem .tick {
  position: absolute;
  background: var(--accent);
  opacity: 0.7;
}
.emblem .tick.t,
.emblem .tick.b {
  left: 50%;
  width: 2px;
  height: 14px;
  margin-left: -1px;
}
.emblem .tick.t {
  top: -1px;
}
.emblem .tick.b {
  bottom: -1px;
}
.emblem .tick.l,
.emblem .tick.r {
  top: 50%;
  height: 2px;
  width: 14px;
  margin-top: -1px;
}
.emblem .tick.l {
  left: -1px;
}
.emblem .tick.r {
  right: -1px;
}

/* ---------- подвал ---------- */
.site-footer {
  margin-top: 96px;
  border-top: 1px solid var(--line);
  background: var(--ground2);
}
.footer-in {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 28px;
}
.footer-brand p {
  color: var(--muted);
  font-size: 13.5px;
  max-width: 46ch;
  margin-top: 14px;
}
.site-footer h4 {
  font: 600 11.5px var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-footer ul a {
  color: var(--text2);
  font-size: 14px;
}
.site-footer ul a:hover {
  color: var(--accent);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
  padding-bottom: 20px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font: 500 12.5px var(--mono);
}

/* ---------- вход ---------- */
.gate-wrap {
  min-height: calc(100vh - var(--topbar));
  display: grid;
  place-items: center;
  padding: 48px 20px;
}
.gate {
  width: min(560px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 44px 40px 36px;
  border: 1px solid var(--line2);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(22, 26, 32, 0.85), var(--surface));
}
.gate-mark {
  width: 56px;
  height: 56px;
  color: var(--accent);
  margin-bottom: 4px;
}
.gate-mark svg {
  width: 100%;
  height: 100%;
}
.gate h1 {
  font-size: clamp(26px, 4vw, 34px);
}
.gate > p {
  color: var(--text2);
  max-width: 44ch;
}
.gate .hero-actions {
  justify-content: center;
  margin-top: 8px;
}
.gate-points {
  list-style: none;
  margin: 10px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.gate-points li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13.5px;
}
.gate-points .i {
  width: 16px;
  height: 16px;
  color: var(--ok);
}
.initial-loader {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  font: 400 18px/1 var(--display);
  letter-spacing: 0.06em;
  color: var(--text);
}
.initial-loader svg {
  width: 48px;
  height: 48px;
  color: var(--accent);
  animation: pulse 1.4s ease-in-out infinite;
}
.initial-loader b {
  font-weight: 400;
  color: var(--accent);
}
@keyframes pulse {
  50% {
    opacity: 0.45;
  }
}

/* ---------- кабинет и панель владельца ---------- */
.workspace-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--ws-top);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
  background: rgba(8, 9, 12, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.workspace-header .header-actions {
  margin: 0;
  gap: 14px;
  min-width: 0;
}
.workspace-context {
  font: 600 10.5px/1 var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 9px;
  border: 1px solid var(--line2);
  border-radius: 5px;
  white-space: nowrap;
}
.workspace-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.workspace-demo-link .i {
  color: var(--accent);
}
.mobile-workspace-menu {
  display: none;
}
select.owner-scope {
  width: auto;
  height: 34px;
  font-size: 13px;
  padding-right: 34px;
}
.workspace {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  align-items: start;
}
.workspace-side {
  position: sticky;
  top: var(--ws-top);
  height: calc(100vh - var(--ws-top));
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 14px 14px;
  background: var(--ground2);
  border-right: 1px solid var(--line);
  scrollbar-width: thin;
}
.side-app {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line2);
  border-radius: var(--r);
  background: var(--surface);
}
.side-app > div {
  min-width: 0;
}
.side-app-ic {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--accent-dim);
  color: var(--accent);
  flex: none;
}
.side-app b {
  display: block;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.side-app small {
  display: block;
  font: 500 11.5px/1.4 var(--mono);
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.side-balance {
  padding: 14px;
  border: 1px solid var(--accent-line);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(242, 181, 68, 0.07), var(--surface));
}
.side-balance small {
  font: 600 11px var(--body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.side-balance strong {
  display: block;
  font: 600 22px/1.2 var(--mono);
  margin: 4px 0 12px;
}
.side-caption {
  font: 600 11px var(--body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 6px 8px 0;
}
.workspace-side nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.side-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text2);
  transition:
    background 0.15s,
    color 0.15s;
}
.side-link:hover {
  background: var(--raise);
  color: var(--text);
}
.side-link.active {
  background: var(--raise2);
  color: var(--text);
  box-shadow: inset 2px 0 0 var(--accent);
}
.side-ic {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  flex: none;
}
.side-ic .i {
  width: 16px;
  height: 16px;
}
.side-link.active .side-ic {
  background: var(--accent-dim);
  border-color: rgba(242, 181, 68, 0.25);
  color: var(--accent);
}
.side-label {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.25;
}
.side-label small {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.side-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--on-accent);
  font: 600 11px/1 var(--mono);
}
.side-badge.warn {
  background: var(--warn);
}
.side-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 8px 2px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 12px;
}
.side-bottom .i {
  width: 14px;
  height: 14px;
}
.workspace-menu-backdrop {
  position: fixed;
  inset: var(--ws-top) 0 0;
  z-index: 24;
  border: 0;
  padding: 0;
  background: rgba(2, 3, 5, 0.72);
  backdrop-filter: blur(3px);
}
.workspace-menu-open {
  overflow: hidden;
}
.workspace-main {
  min-width: 0;
  max-width: 1320px;
  padding: 28px 32px 32px;
}
.workspace-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.workspace-heading > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.workspace-heading > div:first-child::after {
  content: "";
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  margin-top: 6px;
}
.workspace-heading h1 {
  font-size: clamp(24px, 3vw, 32px);
}
.workspace-heading h1[tabindex]:focus {
  outline: none;
}
.workspace-heading p {
  color: var(--muted);
}
.workspace-heading-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.workspace-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font: 500 12px var(--mono);
}

/* панели */
.panel {
  background: var(--surface);
  border: 1px solid var(--line2);
  border-radius: 12px;
  padding: 22px 24px;
  min-width: 0;
}
.panel > h2,
.panel-title h2,
.domain-head h2 {
  font-size: 18px;
}
.panel > h2 {
  margin-bottom: 10px;
}
.panel > p {
  color: var(--text2);
  font-size: 14.5px;
  margin-bottom: 14px;
}
.panel > p.payment-note,
.panel > p.hint {
  color: var(--muted);
  font-size: 12.5px;
  margin: 14px 0 0;
}
.panel-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.panel-title p {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 4px;
}
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.owner-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}
.metric {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
}
.metric > div {
  min-width: 0;
}
.metric-ic {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--raise);
  border: 1px solid var(--line);
  color: var(--text2);
  flex: none;
}
.metric.feature {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, rgba(242, 181, 68, 0.06), var(--surface));
}
.metric.feature .metric-ic {
  background: var(--accent-dim);
  border-color: rgba(242, 181, 68, 0.25);
  color: var(--accent);
}
.metric-top {
  font: 600 11.5px/1.3 var(--body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.metric strong {
  display: block;
  font: 600 26px/1.2 var(--mono);
  margin: 4px 0 2px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.metric small {
  color: var(--muted);
  font-size: 12.5px;
}
.intro-panel {
  border-color: var(--accent-line);
  background: linear-gradient(135deg, rgba(242, 181, 68, 0.07), var(--surface) 60%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.intro-panel h2 {
  font-size: 22px;
}
.intro-panel p {
  color: var(--text2);
}
.quick-steps {
  display: flex;
  flex-direction: column;
}
.quick-step {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.quick-step:first-child {
  border-top: 0;
  padding-top: 2px;
}
.quick-step > span {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--raise);
  border: 1px solid var(--line);
  color: var(--accent);
  flex: none;
}
.quick-step > span .i {
  width: 17px;
  height: 17px;
}
.quick-step em {
  position: absolute;
  right: -6px;
  top: -6px;
  min-width: 17px;
  height: 17px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--on-accent);
  font: 600 10px/1 var(--mono);
  font-style: normal;
}
.quick-step b {
  font-size: 14.5px;
}
.quick-step p {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 2px;
}

/* магазины */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr));
  gap: 16px;
}
.overview-stores {
  grid-template-columns: 1fr;
}
.store-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.18s;
}
.store-card:hover {
  border-color: var(--line3);
}
.store-card.soon {
  border-color: rgba(245, 154, 60, 0.45);
}
.store-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.store-symbol {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-dim);
  color: var(--accent);
  flex: none;
}
.store-card-name {
  flex: 1;
  min-width: 0;
}
.store-card h3 {
  font-size: 17px;
  overflow-wrap: anywhere;
}
.domain {
  display: block;
  font: 500 12.5px/1.5 var(--mono);
  color: var(--muted);
  overflow-wrap: anywhere;
}
.store-card-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--ground2);
  border: 1px solid var(--line);
  font-size: 13.5px;
}
.store-card-facts small {
  display: block;
  font: 600 10.5px/1.4 var(--body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.store-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.domain-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.domain-head > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.domain-head p,
.domain-head .muted {
  font: 500 13px var(--mono);
  color: var(--muted);
  overflow-wrap: anywhere;
}
.progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}
.progress div {
  position: relative;
  padding: 12px 14px 12px 40px;
  border: 1px solid var(--line2);
  border-radius: 9px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
}
.progress div::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  border: 2px solid var(--line3);
}
.progress .done {
  color: var(--text2);
}
.progress .done::before {
  border-color: var(--ok);
  background: var(--ok);
  box-shadow: inset 0 0 0 3px var(--surface);
}
.progress .current {
  color: var(--text);
  border-color: var(--accent-line);
  background: linear-gradient(180deg, rgba(242, 181, 68, 0.07), var(--surface));
}
.progress .current::before {
  border-color: var(--accent);
}
.detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  background: var(--line);
}
.detail-facts > div {
  padding: 12px 14px;
  background: var(--ground2);
  font-size: 14px;
  overflow-wrap: anywhere;
}
.detail-facts .full {
  grid-column: 1 / -1;
}
.detail-facts span {
  display: block;
  font: 600 10.5px/1.5 var(--body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.owner-comment {
  margin: 16px 0;
  padding: 12px 14px;
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: var(--ground2);
  font-size: 14px;
  color: var(--text2);
  overflow-wrap: anywhere;
}
.owner-comment small {
  display: block;
  font: 600 10.5px/1.6 var(--body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.client-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 16px;
}
.client-badge small {
  display: block;
  font: 500 12px var(--mono);
}
.client-avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--raise2);
  border: 1px solid var(--line2);
  font: 600 12px var(--mono);
  color: var(--accent);
  flex: none;
}
td .client-badge {
  margin: 0;
}
.review-amount {
  padding: 14px 16px;
  border-radius: 9px;
  background: var(--ground2);
  border: 1px solid var(--line);
  margin-bottom: 14px;
}
.review-amount small {
  display: block;
  font: 600 10.5px/1.5 var(--body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.review-amount strong {
  font: 600 30px/1.2 var(--mono);
}
.balance-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  border-color: var(--accent-line);
  background: linear-gradient(135deg, rgba(242, 181, 68, 0.07), var(--surface) 60%);
}
.balance-hero h2 {
  font: 600 15px/1.4 var(--body);
  color: var(--text2);
  letter-spacing: 0;
}
.balance-hero strong {
  display: block;
  font: 600 38px/1.2 var(--mono);
  margin: 4px 0;
}
.balance-hero p {
  color: var(--muted);
  font-size: 13.5px;
}
.topup-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.topup-card-header h3 {
  font: 600 30px/1.2 var(--mono);
  letter-spacing: 0;
}
.topup-card-header p {
  color: var(--muted);
  font-size: 13.5px;
}
.topup-instructions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.topup-instructions > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 10px;
  background: var(--ground2);
  border: 1px solid var(--line);
}
.topup-instructions p {
  color: var(--text2);
  font-size: 13.5px;
}
.code-copy {
  display: flex;
  align-items: center;
  gap: 8px;
}
.code-copy code {
  flex: 1;
  min-width: 0;
  height: 34px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 14px;
  color: var(--accent);
  overflow-wrap: anywhere;
}
.payment-note {
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 14px;
}
.code-block {
  margin: 12px 0;
  padding: 14px 16px;
  border-radius: 9px;
  background: var(--ground);
  border: 1px solid var(--line2);
  font: 500 12.5px/1.6 var(--mono);
  color: var(--text2);
  overflow: auto;
  max-height: 420px;
  white-space: pre-wrap;
  tab-size: 4;
}
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 22px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line2);
}
.timeline-entry {
  position: relative;
}
.timeline-entry::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
}
.timeline-entry b {
  font-size: 14.5px;
}
.timeline-entry p {
  color: var(--muted);
  font-size: 13px;
}
.check-results {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 8px;
}
.dns-table td {
  font: 500 13px var(--mono);
  overflow-wrap: anywhere;
}
.panel .btn[data-check-dns] {
  margin-top: 14px;
}

/* таблицы */
.table-wrap {
  overflow-x: auto;
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
  border: 1px solid var(--line);
  border-radius: 10px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th {
  text-align: left;
  padding: 12px 16px;
  font: 600 11px/1.3 var(--body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--ground2);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  line-height: 1.5;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr {
  transition: background 0.15s;
}
tbody tr:hover {
  background: rgba(255, 255, 255, 0.018);
}
td small {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
}
td:last-child {
  text-align: right;
}
.money-positive {
  color: var(--ok);
  font-family: var(--mono);
}
.money-negative {
  color: var(--text2);
  font-family: var(--mono);
}

/* заметки и пустые состояния */
.notice {
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 9px;
  border: 1px solid rgba(242, 181, 68, 0.3);
  background: var(--accent-dim);
  color: var(--text2);
  font-size: 14px;
  line-height: 1.55;
}
.notice:has(> .i) {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.notice > .i {
  color: var(--accent);
  margin-top: 2px;
}
.notice > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.notice b {
  color: var(--text);
}
.notice.info {
  border-color: rgba(140, 200, 245, 0.28);
  background: rgba(140, 200, 245, 0.07);
}
.notice.info > .i {
  color: var(--cold);
}
.notice.success {
  border-color: rgba(52, 209, 191, 0.3);
  background: var(--ok-dim);
}
.notice.warn {
  border-color: rgba(245, 154, 60, 0.4);
  background: var(--warn-dim);
}
.notice.warn > .i {
  color: var(--warn);
}
.notice > .btn {
  align-self: center;
}
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 34px 20px;
}
.empty-icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--raise);
  border: 1px solid var(--line2);
  color: var(--accent);
  margin-bottom: 6px;
}
.empty h3 {
  font-size: 17px;
}
.empty p {
  color: var(--muted);
  font-size: 14px;
  max-width: 44ch;
}
.empty .btn {
  margin-top: 8px;
}

/* поиск, фильтры, справка */
.toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.toolbar input {
  flex: 1;
  width: auto;
  min-width: 220px;
}
.toolbar select {
  width: auto;
  min-width: 190px;
}
.help-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.help-search {
  position: relative;
  flex: 1;
  min-width: 240px;
}
.help-search > .i {
  position: absolute;
  left: 13px;
  top: 12px;
  color: var(--muted);
}
.help-search input {
  padding-left: 40px;
  padding-right: 42px;
}
.help-search button {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.help-search button:hover {
  background: var(--raise);
  color: var(--text);
}
.help-results {
  color: var(--muted);
  font-size: 13px;
  min-height: 20px;
  margin-bottom: 8px;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.guide-card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.guide-card-heading > span {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--accent-dim);
  color: var(--accent);
  flex: none;
}
.guide-card-heading h2 {
  font-size: 17px;
}
.guide-card ol {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text2);
  font-size: 14px;
}
.guide-card li::marker {
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 600;
}

/* формы */
input,
select,
textarea {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--line2);
  background: var(--ground2);
  color: var(--text);
  font: 400 14px/1.4 var(--body);
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
textarea {
  height: auto;
  min-height: 96px;
  padding: 10px 12px;
  resize: vertical;
}
select {
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2385919D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 16px;
  cursor: pointer;
}
select option {
  background: var(--surface);
  color: var(--text);
}
input::placeholder,
textarea::placeholder {
  color: var(--faint);
}
input:hover:not(:focus),
select:hover:not(:focus),
textarea:hover:not(:focus) {
  border-color: var(--line3);
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
input[type="checkbox"],
input[type="radio"] {
  width: 16px;
  height: 16px;
  padding: 0;
  accent-color: var(--accent);
  box-shadow: none;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-weight: 600;
  font-size: 13px;
  color: var(--text2);
  min-width: 0;
}
.field label {
  font-weight: 600;
}
.field small {
  font-weight: 400;
  font-size: 12.5px;
  color: var(--muted);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.form-grid .full {
  grid-column: 1 / -1;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.form-actions.start {
  justify-content: flex-start;
  margin-top: 6px;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text2);
  margin-top: 12px;
  cursor: pointer;
}
.plan-edit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.plan-edit-grid form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.plan-edit-grid form > h2 {
  margin: 0;
}
.plan-edit-grid .check {
  margin-top: 0;
}
.plan-edit-grid .btn[type="submit"] {
  align-self: flex-start;
  margin-top: 6px;
}
.settings-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}
.settings-section > p {
  margin-bottom: 18px;
}

/* ---------- диалоги ---------- */
#dialog {
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 1px solid var(--line2);
  border-radius: var(--r-lg);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.9);
  overflow: auto;
  scrollbar-width: thin;
}
#dialog.dialog-template {
  width: min(980px, calc(100vw - 32px));
}
#dialog::backdrop {
  background: rgba(3, 4, 6, 0.74);
  backdrop-filter: blur(4px);
}
#dialog[open] {
  animation: dialog-in 0.18s ease;
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.99);
  }
}
.dialog-body {
  padding: 24px 26px 26px;
}
.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.dialog-head > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dialog-head h2 {
  font-size: 22px;
}
.dialog-head p {
  color: var(--muted);
  font-size: 14px;
}
#dialog.dialog-template .dialog-body > img {
  width: 100%;
  max-height: 62vh;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
  border: 1px solid var(--line2);
}
#dialog.dialog-template .form-actions {
  justify-content: space-between;
}
.preview-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.rental-draft-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12.5px;
  margin: 12px 0 18px;
}
.rental-draft-note .i {
  width: 14px;
  height: 14px;
}
.dialog-template-label {
  display: block;
  font: 600 11px var(--body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.new-store-templates {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.template-option {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line2);
  border-radius: 9px;
  overflow: hidden;
  cursor: pointer;
  background: var(--ground2);
  transition: border-color 0.15s;
}
.template-option:hover {
  border-color: var(--line3);
}
.template-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.template-option img {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
  object-position: top;
}
.template-option b {
  padding: 7px 9px;
  font-size: 12.5px;
  font-weight: 600;
}
.template-option:has(input:checked) {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.template-option:has(input:checked) b {
  color: var(--accent);
}
.template-option:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.dialog-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--ground2);
  border: 1px solid var(--accent-line);
  font-size: 14px;
  color: var(--text2);
}
.dialog-body form > .hint,
.dialog-body form > p:not(.inline-error):not(.rental-draft-note) {
  margin-top: 12px;
}
.dialog-price small {
  color: var(--muted);
  font-size: 12.5px;
}
.dialog-price strong {
  font: 600 26px/1 var(--mono);
  color: var(--accent);
}
.quick-amounts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.quick-amounts button {
  height: 32px;
  padding: 0 12px;
  border-radius: 7px;
  border: 1px solid var(--line2);
  background: var(--raise);
  color: var(--text2);
  font: 600 13px var(--mono);
  cursor: pointer;
}
.quick-amounts button:hover {
  border-color: var(--accent-line);
  color: var(--accent);
}

/* ---------- уведомление ---------- */
.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 300;
  max-width: min(400px, calc(100vw - 40px));
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--line2);
  border-left: 3px solid var(--accent);
  background: var(--raise);
  color: var(--text);
  font-size: 14px;
  box-shadow: var(--shadow);
  animation: dialog-in 0.18s ease;
}

/* ---------- адаптивность ---------- */
@media (max-width: 1180px) {
  .hero-in {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-stage {
    max-width: 760px;
  }
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tpl-grid,
  .demo-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .step::after {
    display: none;
  }
  .two-col,
  .owner-split {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1080px) {
  .header-nav {
    display: none;
  }
  .landing-menu {
    display: inline-flex;
  }
  .header-nav.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: var(--topbar);
    left: 0;
    right: 0;
    padding: 10px 16px 16px;
    background: var(--ground2);
    border-bottom: 1px solid var(--line2);
    box-shadow: var(--shadow);
  }
  .header-nav.mobile-open a {
    padding: 12px;
    font-size: 15px;
  }
  .header-nav.mobile-open a.on::after {
    left: 0;
    right: auto;
    top: 10px;
    bottom: 10px;
    width: 2px;
    height: auto;
  }
}
@media (max-width: 980px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .faq-side {
    position: static;
  }
  .cta {
    grid-template-columns: 1fr;
    padding: 40px 32px;
  }
  .cta .emblem {
    display: none;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat:nth-child(3) {
    border-left: 0;
  }
  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mobile-workspace-menu {
    display: inline-flex;
  }
  .workspace {
    grid-template-columns: 1fr;
  }
  .workspace-side {
    position: fixed;
    top: var(--ws-top);
    left: 0;
    bottom: 0;
    height: auto;
    width: min(300px, 86vw);
    z-index: 30;
    transform: translateX(-104%);
    transition: transform 0.22s ease;
    box-shadow: var(--shadow);
  }
  .workspace-side.open {
    transform: none;
  }
  .workspace-main {
    padding: 24px 20px 28px;
  }
  .progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .workspace-context,
  .workspace-header-actions .btn span {
    display: none;
  }
  .workspace-header-actions .btn.small {
    width: 34px;
    padding: 0;
  }
  .site-header .header-actions .btn:not(.icon) span {
    display: none;
  }
  .site-header .header-actions .btn:not(.icon) {
    width: 42px;
    padding: 0;
  }
  .feat.wide {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
  .bento,
  .tpl-grid,
  .steps,
  .guide-grid,
  .topup-instructions,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .new-store-templates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-in {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px) {
  .wrap {
    padding: 0 16px;
  }
  .hero-wrap {
    padding-top: 16px;
  }
  .hero-in {
    padding: 30px 20px 28px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .lead {
    font-size: 15.5px;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
  }
  .stat {
    padding: 16px;
    gap: 10px;
  }
  .stat .ic {
    width: 36px;
    height: 36px;
  }
  .stat b {
    font-size: 20px;
  }
  .stat span {
    font-size: 10.5px;
  }
  .section {
    padding-top: 64px;
  }
  .browser-tag {
    display: none;
  }
  .pay-strip .pay-row::after {
    inset: 0 16px;
  }
  .pay-label {
    margin-left: 16px;
  }
  .pay-list {
    margin: 0 16px;
  }
  .demo-copy {
    padding: 12px 14px 14px;
  }
  .demo-copy b {
    font-size: 14px;
  }
  .cta {
    padding: 32px 22px;
  }
  .metrics {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 18px;
  }
  .detail-facts {
    grid-template-columns: 1fr;
  }
  .dialog-body {
    padding: 20px 18px 22px;
  }
  .gate {
    padding: 34px 22px 28px;
  }
  .gate .hero-actions .btn {
    flex: 1 1 100%;
  }
  td,
  th {
    padding: 11px 12px;
  }
}
@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;
  }
}

/* SM AutoDonate · адрес магазина на поддомене и форма своего домена */
.addr-input {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line2);
  border-radius: 8px;
  background: var(--ground2);
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.addr-input:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.addr-input input {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none !important;
  min-width: 0;
  flex: 1;
}
.addr-input em {
  display: flex;
  align-items: center;
  padding: 0 12px;
  font: 500 13px/1 var(--mono);
  font-style: normal;
  color: var(--muted);
  background: var(--raise);
  border-left: 1px solid var(--line);
  white-space: nowrap;
}
.inline-form {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  margin-top: 16px;
}
.inline-form .field {
  flex: 1;
  margin: 0;
}
.inline-form .btn {
  height: 42px;
}
@media (max-width: 640px) {
  .inline-form {
    flex-direction: column;
    align-items: stretch;
  }
}
.detail-facts code {
  font: 500 12.5px/1.5 var(--mono);
  color: var(--text2);
  word-break: break-all;
}
