/* ============================================================
   Бутон — стили сервиса
   ============================================================ */

:root {
  --bg: #faf6f3;
  --surface: #ffffff;
  --surface-2: #f5ece9;
  --ink: #26161c;
  --muted: #7b6870;
  --line: #ecdfe3;
  --line-strong: #dcc9d1;

  --brand: #b3295c;
  --brand-dark: #93204b;
  --brand-soft: #fbe7ee;

  --leaf: #3d7a4e;
  --leaf-soft: #e8f3eb;

  --plum: #2a1420;
  --plum-2: #3d1d2e;

  --amber: #a45c11;
  --amber-soft: #fdf1df;

  --danger: #b42318;
  --danger-soft: #fdecea;

  --violet: #6d3bbf;
  --violet-soft: #f1eafc;

  --radius: 16px;
  --radius-sm: 10px;

  --shadow: 0 1px 2px rgba(38, 22, 28, 0.04), 0 14px 34px -24px rgba(38, 22, 28, 0.45);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 6px;
}

.wrap {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.icon--xs {
  width: 14px;
  height: 14px;
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--sm {
  padding: 8px 14px;
  font-size: 13.5px;
}

.btn--lg {
  padding: 15px 26px;
  font-size: 16px;
}

.btn--block {
  width: 100%;
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 24px -14px rgba(179, 41, 92, 0.9);
}

.btn--primary:hover {
  background: var(--brand-dark);
}

.btn--outline {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--ink);
  background: var(--surface);
}

.btn--ghost {
  background: transparent;
  color: var(--muted);
}

.btn--ghost:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.btn--danger {
  background: transparent;
  color: var(--danger);
  border-color: transparent;
}

.btn--danger:hover {
  background: var(--danger-soft);
}

.btn--light {
  background: #fff;
  color: var(--plum);
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.6);
}

.btn--light:hover {
  background: #fdf1f5;
}

.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
  background: transparent;
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- Бренд ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
}

.brand__mark {
  width: 28px;
  height: 28px;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand--light {
  color: #f4b6cb;
}

.brand--light .brand__name {
  color: #fff;
}

/* ---------- Шапка сайта ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 246, 243, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 36px;
  height: 74px;
}

.site-nav {
  display: flex;
  gap: 26px;
  font-size: 14.5px;
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--ink);
}

.site-header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.hero {
  position: relative;
  padding: 78px 0 104px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -140px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 182, 203, 0.35), rgba(250, 246, 243, 0) 66%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(38px, 4.6vw, 60px);
}

.hero h1 em {
  font-style: normal;
  color: var(--brand);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.lead {
  margin-top: 20px;
  max-width: 52ch;
  font-size: 18px;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- Макет витрины ---------- */

.shot {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  transform: rotate(-1.1deg);
  box-shadow: 0 50px 90px -60px rgba(42, 20, 32, 0.8), 0 20px 40px -34px rgba(42, 20, 32, 0.4);
}

.shot__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  background: #f7eeea;
  border-bottom: 1px solid var(--line);
}

.shot__dots {
  display: flex;
  gap: 5px;
}

.shot__dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddc9d1;
}

.shot__url {
  flex: 1;
  max-width: 230px;
  margin: 0 auto;
  padding: 3px 12px;
  border-radius: 999px;
  background: #fff;
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
}

.shot__lock {
  color: var(--leaf);
}

.shot__body {
  padding: 18px;
}

.shot__shop {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.shot__logo {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: var(--font-serif);
  font-size: 18px;
}

.shot__shop-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.shot__shop-copy strong {
  font-size: 14px;
}

.shot__shop-copy span {
  font-size: 11px;
  color: var(--muted);
}

.shot__shop-badge {
  margin-left: auto;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  color: var(--muted);
}

.shot__hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fdf7f4, #fbeef2);
}

.bouquet {
  width: 100%;
}

.shot__hero-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.shot__eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leaf);
}

.shot__hero-copy strong {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.1;
}

.shot__price {
  font-size: 14px;
  font-weight: 700;
}

.shot__btn {
  align-self: flex-start;
  margin-top: 4px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.shot__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.shot__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.shot__thumb {
  display: block;
  height: 46px;
  border-radius: 8px;
}

.shot__thumb--1 {
  background: linear-gradient(135deg, #f8cddc, #e79ab4);
}

.shot__thumb--2 {
  background: linear-gradient(135deg, #e8f1e4, #b8d3b4);
}

.shot__thumb--3 {
  background: linear-gradient(135deg, #fbeed3, #efcf9a);
}

.shot__card i {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: #f0e4e8;
}

.shot__card b {
  display: block;
  width: 52%;
  height: 6px;
  border-radius: 3px;
  background: #e8d8de;
}

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

.section {
  padding: 96px 0;
}

.section--alt {
  background: linear-gradient(180deg, #fff, #fbf3f6);
  border-block: 1px solid var(--line);
}

.section__head {
  max-width: 660px;
  margin-bottom: 44px;
}

.section__head h2 {
  margin-top: 12px;
  font-size: clamp(28px, 3vw, 40px);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}

.feature h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.feature p {
  font-size: 15px;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.step__num {
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.step h3 {
  margin: 10px 0 8px;
  font-size: 20px;
}

.step p {
  font-size: 15px;
  color: var(--muted);
}

.cta-band {
  padding: 64px 0;
  background: linear-gradient(120deg, var(--plum), #4a1f34);
  color: #fff;
}

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-band h2 {
  font-size: clamp(26px, 2.6vw, 34px);
}

.cta-band p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
}

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

.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer__brand p {
  font-size: 13px;
  color: var(--muted);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}

.site-footer__links a:hover {
  color: var(--ink);
}

/* ---------- Вход и регистрация ---------- */

.auth {
  display: grid;
  grid-template-columns: minmax(380px, 44%) 1fr;
  min-height: 100vh;
}

.auth__aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 44px 48px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(120% 90% at 8% 0%, #5f2942 0%, #2a1420 56%, #1d0d15 100%);
}

.auth__aside::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 44px rgba(255, 255, 255, 0.03), 0 0 0 96px rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.auth__quote {
  position: relative;
  z-index: 1;
  max-width: 420px;
}

.auth__quote h2 {
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.18;
}

.auth__aside-foot {
  position: relative;
  z-index: 1;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}

.tick-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
}

.tick-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.tick-list .icon {
  margin-top: 4px;
  color: #f0a7c0;
}

.auth__main {
  display: grid;
  place-items: center;
  padding: 48px 24px;
}

.auth__box {
  width: min(440px, 100%);
}

.auth__box h1 {
  margin-top: 18px;
  font-size: clamp(28px, 3vw, 36px);
}

.auth__box .lead {
  margin-top: 10px;
  font-size: 16px;
}

.auth__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
}

.auth__back .icon {
  transform: rotate(180deg);
}

.auth__back:hover {
  color: var(--ink);
}

.auth__switch {
  margin-top: 24px;
  font-size: 14.5px;
  color: var(--muted);
}

.auth__switch a {
  font-weight: 600;
  color: var(--brand);
}

/* ---------- Формы ---------- */

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field__label {
  font-size: 13.5px;
  font-weight: 600;
}

.input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(179, 41, 92, 0.12);
}

.input:disabled {
  background: var(--surface-2);
  color: var(--muted);
}

.input--error {
  border-color: var(--danger);
}

.field__hint {
  font-size: 12.5px;
  color: var(--muted);
}

.field__error {
  font-size: 12.5px;
  color: var(--danger);
}

.field__error--standalone {
  display: block;
  margin-top: 8px;
}

.field--error .input {
  border-color: var(--danger);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
  cursor: pointer;
}

.checkbox input {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--brand);
}

.flash {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
}

.flash--ok {
  background: var(--leaf-soft);
  border-color: #cfe6d6;
  color: #225c37;
}

.flash--error {
  background: var(--danger-soft);
  border-color: #f3cdc9;
  color: #8f1d15;
}

.flash .icon {
  flex: none;
}

/* ---------- Каркас кабинета ---------- */

.shell {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  height: 100vh;
  padding: 24px 18px;
  overflow-y: auto;
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(180deg, #311726 0%, #24101c 70%, #1d0b15 100%);
}

.sidebar__brand {
  padding: 0 8px;
}

.shop-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.shop-chip__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f3b6cb;
  color: #4a1b30;
  font-family: var(--font-serif);
  font-size: 17px;
}

.shop-chip__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.shop-chip__copy strong {
  overflow: hidden;
  font-size: 13.5px;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-chip__copy span {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.5);
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: none;
  font-size: 14px;
  text-align: left;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.side-link .icon {
  width: 18px;
  height: 18px;
  opacity: 0.85;
}

.side-link:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.side-link.is-active {
  background: rgba(243, 182, 203, 0.14);
  box-shadow: inset 2px 0 0 #f3b6cb;
  color: #fff;
}

.side-count {
  margin-left: auto;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 11px;
}

.side-link--disabled {
  opacity: 0.45;
  color: rgba(255, 255, 255, 0.72);
}

.side-link--disabled:hover {
  background: none;
  color: rgba(255, 255, 255, 0.72);
}

.side-link em {
  margin-left: auto;
  padding: 1px 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.side-nav--soon {
  margin-top: -8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar__foot {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar__foot form {
  margin: 0;
}

.main {
  min-width: 0;
  padding: 32px 40px 64px;
}

/* ---------- Заголовок страницы ---------- */

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.topbar__crumb {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.topbar h1 {
  margin-top: 6px;
  font-size: clamp(26px, 2.6vw, 34px);
}

.topbar__heading p {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--muted);
}

.topbar__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
}

.pill--trial {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}

/* ---------- Карточки ---------- */

.card {
  margin-bottom: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.card__head h2 {
  font-size: 20px;
}

.card__head p {
  margin-top: 5px;
  font-size: 13.5px;
  color: var(--muted);
}

.card--hero {
  padding: 0;
  overflow: hidden;
  background: linear-gradient(120deg, #fff 0%, #fdf4f6 58%, #fbe9ef 100%);
}

.hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
}

.hero-card h2 {
  margin: 12px 0 8px;
  font-size: clamp(26px, 3vw, 36px);
}

.hero-card p {
  max-width: 52ch;
  color: var(--muted);
}

.hero-card__art {
  flex: none;
  color: #efbfd0;
}

.hero-flower {
  width: 132px;
  height: 132px;
}

.copy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.copy-value {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 13.5px;
}

/* ---------- Статистика ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.stat__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
  border-radius: 9px;
  background: var(--surface-2);
  color: var(--brand);
}

.stat__label {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat__value {
  overflow: hidden;
  font-family: var(--font-serif);
  font-size: 19px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat__hint {
  font-size: 12px;
  color: var(--muted);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.grid-2 > .card {
  margin-bottom: 0;
}

/* ---------- Бейджи ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.badge--ok {
  background: var(--leaf-soft);
  color: #27623b;
}

.badge--warn {
  background: var(--amber-soft);
  color: #8a4c0d;
}

.badge--muted {
  background: var(--surface-2);
  color: var(--muted);
}

.badge--primary {
  background: var(--brand-soft);
  color: var(--brand);
}

.badge--soon {
  background: var(--violet-soft);
  color: var(--violet);
}

.badge--light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* ---------- Пути и файлы ---------- */

.path-box {
  overflow-x: auto;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  font-size: 13px;
}

.path-box code {
  white-space: nowrap;
}

.path-box--link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.file-list {
  display: flex;
  flex-direction: column;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13.5px;
}

.file-row:last-child {
  border-bottom: 0;
}

.file-row__name {
  display: flex;
  align-items: center;
  gap: 8px;
}

.file-row__name .icon {
  color: var(--muted);
}

.file-row__meta {
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}

.hint {
  max-width: 70ch;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- Мини-список доменов ---------- */

.mini-domain-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.mini-domain {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}

.mini-domain__host {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}

.mini-domain__host .icon {
  color: var(--muted);
}

.mini-domain__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ---------- Пустое состояние ---------- */

.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 16px 12px;
  text-align: center;
}

.empty__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 4px;
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--brand);
}

.empty h3 {
  font-size: 19px;
}

.empty p {
  max-width: 46ch;
  font-size: 14px;
  color: var(--muted);
}

.empty .btn {
  margin-top: 10px;
}

/* ---------- Чеклист ---------- */

.checklist {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.checklist__item:last-child {
  border-bottom: 0;
}

.checklist__mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.checklist__item.is-done .checklist__mark {
  background: var(--leaf-soft);
  color: #27623b;
}

.checklist__item.is-current .checklist__mark {
  background: var(--brand);
  color: #fff;
}

.checklist__item > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.checklist__item strong {
  font-size: 14.5px;
}

.checklist__item > div span {
  font-size: 13px;
  color: var(--muted);
}

.checklist__item .btn,
.checklist__item .badge {
  margin-left: auto;
}

/* ---------- Домены ---------- */

.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.inline-form .input {
  flex: 1;
  min-width: 240px;
}

.domain-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.domain-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.domain-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.domain-card__title h3 {
  font-family: var(--font-mono);
  font-size: 19px;
  letter-spacing: -0.02em;
}

.domain-card__title p {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--bg);
}

.check-row__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
}

.check-row > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.check-row strong {
  font-size: 12.5px;
}

.check-row > div span {
  overflow-wrap: anywhere;
  font-size: 12px;
  color: var(--muted);
}

.check-row--ok {
  border-color: #d3e8da;
  background: var(--leaf-soft);
}

.check-row--ok .check-row__icon {
  color: var(--leaf);
}

.check-row--wait {
  border-color: #f2dfc0;
  background: var(--amber-soft);
}

.check-row--wait .check-row__icon {
  color: var(--amber);
}

.check-row--unknown .check-row__icon {
  color: var(--muted);
}

.dns-panel {
  margin-bottom: 18px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.dns-panel summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.dns-panel summary::-webkit-details-marker {
  display: none;
}

.dns-panel summary .icon {
  color: var(--muted);
  transition: transform 0.2s ease;
}

.dns-panel[open] summary .icon {
  transform: rotate(180deg);
}

.dns-table {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 8px;
}

.dns-row {
  display: grid;
  grid-template-areas: "type name value copy";
  grid-template-columns: 60px minmax(0, 0.9fr) minmax(0, 1.4fr) 30px;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 9px;
  background: var(--bg);
  font-size: 12.5px;
}

.dns-row__type {
  grid-area: type;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brand);
}

.dns-row__name {
  grid-area: name;
  overflow-wrap: anywhere;
}

.dns-row__value {
  grid-area: value;
  overflow-wrap: anywhere;
  color: var(--muted);
}

.dns-row .icon-btn {
  grid-area: copy;
}

.icon-btn {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
}

.icon-btn:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.icon-btn.is-copied {
  border-color: #cfe6d6;
  background: var(--leaf-soft);
  color: var(--leaf);
}

.domain-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.domain-card__actions form {
  margin: 0;
}

/* ---------- Факты ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0 0;
}

.facts div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.facts dt {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts dd {
  margin: 0;
  font-size: 14px;
}

/* ---------- Витрина-заглушка ---------- */

.tenant {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(120% 100% at 70% 0%, #5c2741 0%, #2a1420 52%, #170a11 100%);
}

.tenant__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tenant__note {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.tenant__main {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 64px 24px;
  text-align: center;
}

.tenant__main h1 {
  font-size: clamp(38px, 6vw, 64px);
}

.tenant__main p {
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.68);
}

.tenant__art {
  margin-bottom: 6px;
}

.tenant-flower {
  width: 110px;
  height: 110px;
  color: rgba(244, 182, 203, 0.85);
}

.tenant__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.tenant__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.tenant__footer a {
  color: #f4b6cb;
}

/* ---------- Ошибки ---------- */

.error-page {
  padding: 110px 0;
  text-align: center;
}

.error-page__code {
  font-family: var(--font-serif);
  font-size: 64px;
  color: var(--brand);
  opacity: 0.3;
}

.error-page h1 {
  margin: 8px 0 12px;
}

.error-page p {
  color: var(--muted);
}

.error-page .hero__actions {
  justify-content: center;
}

/* ---------- Заявки ---------- */

.request-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.request-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
}

.request-card.is-done {
  background: #fbfaf9;
  opacity: 0.82;
}

.request-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.request-card__who {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.request-card__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: var(--font-serif);
  font-size: 16px;
}

.request-card__who div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.request-card__who strong {
  font-size: 14.5px;
}

.request-card__who a {
  font-size: 13px;
  color: var(--brand);
}

.request-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.request-card__date {
  font-size: 11.5px;
  color: var(--muted);
}

.request-card__comment {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface);
  font-size: 13.5px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.request-card__comment--empty {
  color: var(--muted);
  font-style: italic;
}

.request-card__photo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 6px 12px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  font-size: 12px;
  color: var(--muted);
}

.request-card__photo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.request-card__photo:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.request-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.request-card__source {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--muted);
}

.request-mini {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.request-mini__item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.request-mini__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.request-mini__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.request-mini__copy strong {
  font-size: 13.5px;
}

.request-mini__copy span {
  overflow: hidden;
  font-size: 12.5px;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.request-mini__meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  font-size: 11.5px;
  color: var(--muted);
}

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

@media (max-width: 1080px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__visual {
    max-width: 520px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .shell {
    display: block;
  }

  .sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    height: auto;
    padding: 12px 16px;
  }

  .sidebar__brand {
    padding: 0;
  }

  .shop-chip {
    display: none;
  }

  .side-nav {
    flex: 1;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .side-nav--soon {
    display: none;
  }

  .sidebar__foot {
    flex-direction: row;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .side-link {
    width: auto;
    padding: 8px 10px;
  }

  .main {
    padding: 24px 20px 56px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-2 > .card {
    margin-bottom: 0;
  }

  .features,
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .auth {
    grid-template-columns: 1fr;
  }

  .auth__aside {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
  }

  .auth__quote,
  .auth__aside-foot {
    display: none;
  }

  .auth__main {
    align-items: start;
    padding: 32px 20px 56px;
  }

  .checks {
    grid-template-columns: 1fr;
  }

  .facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(1180px, 100% - 32px);
  }

  .site-nav {
    display: none;
  }

  .site-header__inner {
    gap: 16px;
    height: 66px;
  }

  .hero {
    padding: 52px 0 64px;
  }

  .section {
    padding: 64px 0;
  }

  .hero-card {
    padding: 24px;
  }

  .hero-card__art {
    display: none;
  }

  .topbar {
    flex-direction: column;
    gap: 12px;
  }

  .topbar__actions {
    justify-content: flex-start;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .dns-row {
    grid-template-areas:
      "type copy"
      "name copy"
      "value copy";
    grid-template-columns: 1fr 30px;
  }

  .copy-row {
    align-items: stretch;
  }

  .copy-value {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }

  .site-footer__inner,
  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .tenant__header,
  .tenant__footer {
    padding: 18px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
