/* Статичная копия лендинга из src/app/page.tsx — без JS-фреймворка. */
@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/geist-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/geist-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  /* Мягкий пыльно-розовый стиль PLATIKA — без фиолета */
  --rose-50: #fff7f9;
  --rose-100: #fdeaf0;
  --rose-200: #f8d7e1;
  --rose-300: #efb3c5;
  --rose-400: #e38ea6;
  --rose-500: #d57391;
  --rose-700: #a34f6a;
  --rose-900: #4a2b38;

  --background: var(--rose-50);
  --foreground: var(--rose-900);
  --card: #ffffff;
  --card-foreground: var(--rose-900);
  --popover: #ffffff;
  --popover-foreground: var(--rose-900);
  --primary: var(--rose-400);
  --primary-foreground: #512438;
  --primary-edge: var(--rose-300);
  --primary-text: var(--rose-700);
  --accent: var(--rose-200);
  --accent-foreground: #5b2c40;
  --accent-edge: var(--rose-300);
  --secondary: var(--rose-100);
  --secondary-foreground: #6d3a4d;
  --muted: #fdf0f4;
  --muted-foreground: #8b6c78;
  --destructive: #c25570;
  --border: var(--rose-200);
  --input: #fffafc;
  --ring: var(--rose-300);
  --radius: 1rem; /* мягкие углы */
  color-scheme: light;
}

.dark {
  /* Тёплая тёмно-розовая тема */
  --background: #2a1b22;
  --foreground: #fff2f6;
  --card: #3a2730;
  --card-foreground: #fff2f6;
  --popover: #3a2730;
  --popover-foreground: #fff2f6;
  --primary: #e79bb0;
  --primary-foreground: #3a1a27;
  --primary-edge: #b86680;
  --primary-text: #f0b4c6;
  --accent: #8c4a60;
  --accent-foreground: #fff2f6;
  --accent-edge: #c47d95;
  --secondary: #4a303c;
  --secondary-foreground: #fff2f6;
  --muted: #35232c;
  --muted-foreground: #d3b4bf;
  --destructive: #e07b91;
  --border: #5a3b48;
  --input: #49303c;
  --ring: #e79bb0;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  height: 100%;
  scroll-behavior: smooth;
  font-family: Geist, Arial, sans-serif;
  line-height: 1.5; /* как в Tailwind preflight */
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #fff7f9 0%, #fffafc 45%, #fff5f8 100%);
  color: var(--foreground);
  font-family: Geist, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.dark body {
  background: linear-gradient(180deg, #2a1b22 0%, #35232c 55%, #2a1b22 100%);
}

svg {
  display: block;
  vertical-align: middle;
  flex-shrink: 0;
  pointer-events: none;
}

.page {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: transparent;
}

.glow {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 420px;
  pointer-events: none;
  background: radial-gradient(
    ellipse at top,
    rgba(240, 179, 197, 0.35),
    rgba(253, 234, 240, 0.18) 55%,
    transparent 75%
  );
}

.wrap {
  position: relative;
  width: 100%;
  max-width: 72rem; /* max-w-6xl */
  margin-inline: auto;
  padding-inline: 24px; /* px-6 */
}

/* ---------- Header ---------- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 24px; /* py-6 */
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px; /* gap-2.5 */
}

.brand-logo {
  display: flex;
  width: 36px; /* size-9 */
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #f3b3c4, #e28ca4);
  color: #4a2130;
  box-shadow: 0 6px 14px -8px rgba(211, 115, 145, 0.6);
}

.brand-name {
  margin: 0;
  font-size: 0.875rem; /* text-sm */
  line-height: 1.25;
  font-weight: 600;
}

.brand-sub {
  margin: 0;
  font-size: 0.75rem; /* text-xs */
  line-height: calc(1 / 0.75);
  color: var(--muted-foreground);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  text-decoration: none;
}

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

@media (min-width: 1100px) {
  .site-nav {
    display: flex;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px; /* gap-2 */
}

/* ---------- Badge ---------- */
.badge {
  display: inline-flex;
  width: fit-content;
  height: 20px; /* h-5 */
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 4px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 3.40282e38px; /* rounded-4xl */
  padding: 2px 8px; /* py-0.5 px-2 */
  font-size: 0.75rem;
  line-height: calc(1 / 0.75);
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.badge-secondary {
  background: linear-gradient(90deg, #fdeaf0, #f8d7e1);
  border-color: #f4c9d6;
  color: #9c4a64;
}

.dark .badge-secondary {
  background: linear-gradient(90deg, #6b3a4c, #8c4a60);
  border-color: #a35f78;
  color: #fff2f6;
}

.badge-secondary > svg {
  width: 12px;
  height: 12px;
}

.badge-outline {
  border-color: var(--border);
  color: var(--foreground);
}

.dark .badge-outline {
  border-color: var(--input);
}

.badge-header {
  display: none;
}

@media (min-width: 640px) {
  .badge-header {
    display: inline-flex;
  }
}

/* ---------- Theme toggle ---------- */
.theme-toggle {
  display: inline-flex;
  width: 32px; /* size-8 */
  height: 32px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 3.40282e38px;
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  appearance: none;
}

.theme-toggle:hover {
  background: var(--muted);
  color: var(--foreground);
}

.dark .theme-toggle:hover {
  background: color-mix(in oklab, var(--muted) 50%, transparent);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Main / hero ---------- */
main {
  padding-bottom: 80px; /* pb-20 */
}

.hero {
  position: relative;
  max-width: 52rem;
  margin-inline: auto;
  padding: 72px 24px 80px;
  text-align: center;
  border-radius: 32px;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(253, 234, 240, 0.95),
    rgba(255, 250, 252, 0) 70%
  );
}

@media (min-width: 640px) {
  .hero {
    padding: 104px 32px 112px;
  }
}

.hero .badge {
  gap: 6px; /* gap-1.5 */
  margin-bottom: 24px; /* mb-6 */
}

h1 {
  margin: 0;
  font-size: 2.25rem; /* text-4xl */
  line-height: calc(2.5 / 2.25); /* calc(2.5 / 2.25) */
  letter-spacing: -0.025em;
  font-weight: 600;
  text-wrap: balance;
}

@media (min-width: 640px) {
  h1 {
    font-size: 3.75rem; /* sm:text-6xl */
    line-height: 1;
  }
}

.hero p.lead {
  max-width: 42rem; /* max-w-2xl */
  margin: 24px auto 0; /* mt-6 */
  font-size: 1rem; /* text-base */
  line-height: 1.5;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .hero p.lead {
    font-size: 1.125rem; /* sm:text-lg */
    line-height: calc(1.75 / 1.125); /* calc(1.75 / 1.125) */
  }
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px; /* gap-3 */
  margin-top: 32px; /* mt-8 */
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  height: 42px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px; /* мягкая «пилюля» */
  padding: 10px 20px;
  background-clip: padding-box;
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  user-select: none;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn svg {
  width: 16px;
  height: 16px; /* [&_svg:not([class*='size-'])]:size-4 */
}

.btn-primary {
  background: linear-gradient(135deg, #f3b3c4 0%, #e28ca4 100%);
  color: #4a2130;
  border-color: #e8a6ba;
  box-shadow: 0 6px 16px -8px rgba(211, 115, 145, 0.55);
}

a.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -8px rgba(211, 115, 145, 0.6);
}

a.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 0 var(--accent-edge);
}

.btn-outline {
  border-color: #f1d5de;
  background: #ffffff;
  color: #8a4a60;
  box-shadow: 0 2px 8px -6px rgba(163, 79, 106, 0.4);
}

.btn-outline:hover {
  background: #fdeaf0;
  color: #6d3a4d;
}

.dark .btn-outline {
  background: #3a2730;
  color: #f0b4c6;
  border-color: #5a3b48;
}

.dark .btn-outline {
  background: var(--popover);
}

.btn:focus-visible,
.theme-toggle:focus-visible {
  border-color: var(--ring);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--ring) 50%, transparent);
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 8px; /* gap-2 */
  margin: 20px 0 0; /* mt-5 */
  font-size: 0.75rem;
  line-height: calc(1 / 0.75);
  color: var(--muted-foreground);
}

.hero-note svg {
  width: 16px; /* size-4 */
  height: 16px;
  color: var(--primary-text);
}

/* ---------- Screenshot preview ---------- */
.preview-wrap {
  max-width: 64rem; /* max-w-5xl */
  margin-inline: auto;
}

.preview {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 10px 30px -18px rgba(211, 115, 145, 0.45);
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: 8px; /* gap-2 */
  border-bottom: 1px solid var(--border);
  padding: 12px 16px; /* py-3 px-4 */
  background: color-mix(in oklab, var(--muted) 60%, transparent);
}

.dot {
  width: 10px; /* size-2.5 */
  height: 10px;
  border-radius: 3.40282e38px;
  background: color-mix(in oklab, var(--muted-foreground) 30%, transparent);
}

.preview-bar span:last-child {
  margin-left: 12px; /* ml-3 */
  font-size: 0.75rem;
  line-height: calc(1 / 0.75);
  color: var(--muted-foreground);
}

.preview img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Feature cards ---------- */
.features {
  display: grid;
  gap: 16px; /* gap-4 */
  margin-top: 64px; /* mt-16 */
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .features {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.feature {
  display: block;
  border: 1px solid var(--border);
  border-radius: 20px; /* rounded-xl = radius * 1.4 */
  padding: 20px; /* p-5 */
  background: var(--card);
  color: inherit;
  text-decoration: none;
  transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature:hover {
  background: var(--muted);
}

.feature > svg {
  width: 20px; /* size-5 */
  height: 20px;
  color: var(--primary-text);
}

.feature h2 {
  margin: 16px 0 0; /* mt-4 */
  font-size: 0.875rem; /* text-sm */
  line-height: calc(1.25 / 0.875);
  font-weight: 600;
}

.feature p {
  margin: 6px 0 0; /* mt-1.5 */
  font-size: 0.75rem; /* text-xs */
  line-height: 1.625; /* leading-relaxed */
  color: var(--muted-foreground);
}

.feature .more {
  display: inline-flex;
  align-items: center;
  gap: 4px; /* gap-1 */
  margin-top: 16px; /* mt-4 */
  font-size: 0.75rem;
  line-height: calc(1 / 0.75);
  font-weight: 600;
  color: var(--primary-text);
  opacity: 0;
  transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature .more svg {
  width: 14px; /* size-3.5 */
  height: 14px;
}

.feature:hover .more {
  opacity: 1;
}

footer {
  margin-top: 64px; /* mt-16 */
  text-align: center;
  font-size: 0.75rem; /* text-xs */
  line-height: calc(1 / 0.75);
  color: var(--muted-foreground);
}

/* ---------- Форма подключения платежей (/connect/) ---------- */
.form-page {
  max-width: 40rem; /* max-w-2xl */
  margin-inline: auto;
  padding-block: 64px;
}

.form-card {
  border: 1px solid var(--border);
  border-radius: 20px; /* rounded-xl */
  padding: 32px;
  background: var(--card);
  box-shadow: 0 12px 32px -18px rgba(211, 115, 145, 0.4);
}

.form-head .t {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
}

.form-head .s {
  margin-top: 6px;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--muted-foreground);
}

.field {
  margin-top: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.875rem;
  font-weight: 600;
}

.field .req {
  color: var(--destructive);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--input);
  color: var(--foreground);
  font: inherit;
  font-size: 0.875rem;
  line-height: 1.4;
  outline: none;
  resize: vertical;
}

.field input + input {
  margin-top: 10px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-foreground);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--ring) 40%, transparent);
}

.form-submit {
  width: 100%;
  margin-top: 24px;
  height: 40px;
}

.form-submit.loading::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: #ffffff;
  border-radius: 999px;
  animation: platika-spin 0.7s linear infinite;
}

@keyframes platika-spin {
  to { transform: rotate(360deg); }
}

.tg-divider {
  margin: 20px 0 12px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.tg-quick {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.tg-quick:hover {
  background: var(--muted);
}

.tg-quick .tg-sub {
  color: var(--muted-foreground);
  font-weight: 400;
}

.form-foot {
  margin-top: 16px;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted-foreground);
}

.form-foot a {
  color: var(--primary-text);
}

.checkbox-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  cursor: pointer;
}

.checkbox-field input[type="checkbox"] {
  appearance: none;
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0;
  border: 1.5px solid #e8a6ba;
  border-radius: 6px;
  background: #ffffff;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.checkbox-field input[type="checkbox"]::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform .18s cubic-bezier(.22, 1, .36, 1);
}

.checkbox-field input[type="checkbox"]:checked {
  border-color: #d57391;
  background: linear-gradient(135deg, #f3b3c4, #d57391);
  box-shadow: 0 3px 8px -3px rgba(213, 115, 145, .7);
}

.checkbox-field input[type="checkbox"]:checked::after {
  transform: rotate(45deg) scale(1);
}

.checkbox-field input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(213, 115, 145, .22);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
}

#revenue-output {
  float: right;
  font-weight: 600;
  color: var(--primary-text);
}

.form-error {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--destructive);
}

#captcha-field {
  margin-top: 20px;
  overflow: hidden;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.captcha-row img {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.icon-btn {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--primary-text);
  cursor: pointer;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 480px) {
  #captcha-field .g-recaptcha {
    transform: scale(0.88);
    transform-origin: 0 0;
  }
}

.form-success {
  border: 1px solid var(--primary-edge);
  border-radius: var(--radius);
  padding: 16px;
  background: color-mix(in oklab, var(--primary) 12%, var(--card));
}

.form-success .t {
  margin-bottom: 4px;
  font-weight: 600;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 0.875rem;
  color: var(--primary-text);
  text-decoration: none;
}

/* ---------- Полный лендинг (контент secretpay, оформление наше) ---------- */
.section {
  max-width: 64rem; /* max-w-5xl */
  margin-inline: auto;
  padding-block: 72px;
}

.section-head {
  max-width: 48rem;
  margin: 0 auto 32px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--primary-edge);
  border-radius: 3.40282e38px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-text);
}

.eyebrow .mark {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
}

.section h2 {
  margin: 14px 0 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 600;
  text-wrap: balance;
}

.section .lead {
  max-width: 42rem;
  margin: 14px auto 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted-foreground);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.hero-status {
  margin: 20px 0 0;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.hero-status .mark {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 999px;
  background: var(--primary);
}

.hook-card {
  border: 1px solid var(--primary-edge);
  border-radius: 20px;
  padding: 32px;
  background: color-mix(in oklab, var(--primary) 8%, var(--card));
  box-shadow: 0 1px 0 0 var(--primary-edge);
}

.hook-card h2 {
  margin: 16px 0 0;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  line-height: 1.2;
  font-weight: 600;
  text-wrap: balance;
}

.hook-card .lead {
  margin: 14px 0 0;
  color: var(--muted-foreground);
  line-height: 1.55;
}

.hook-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.hook-cta .micro {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.hook-bullets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.hook-bullet {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
}

.hook-bullet .tick {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-weight: 700;
}

.grid-cards {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .grid-cards.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-cards.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .grid-cards.cols-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.info-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  background: var(--card);
  transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-card:hover {
  background: var(--muted);
}

.info-card .num {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-text);
}

.info-card h3 {
  margin: 10px 0 0;
  font-size: 0.9375rem;
  font-weight: 600;
}

.info-card p {
  margin: 8px 0 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted-foreground);
}

.channel-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.channel-row span {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 12px;
  font-size: 0.75rem;
}

.steps-layout {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .steps-layout { grid-template-columns: 1fr 1fr; }
}

.step {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.step .num {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-text);
}

.step h3 {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
}

.step p {
  margin: 6px 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted-foreground);
}

.timeline {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  background: var(--card);
}

.timeline .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
}

.timeline .head span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary-text);
}

.tl-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
}

.tl-row:first-of-type { margin-top: 16px; }
.tl-row small { display: block; color: var(--muted-foreground); font-size: 0.75rem; }
.tl-row .pill { color: var(--primary-text); font-size: 0.75rem; font-weight: 600; }

.faq {
  max-width: 48rem;
  margin-inline: auto;
}

.faq details {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.faq summary {
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 600;
}

.faq p {
  margin: 12px 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.final-card {
  display: grid;
  gap: 32px;
  border: 1px solid var(--primary-edge);
  border-radius: 20px;
  padding: 32px;
  background: color-mix(in oklab, var(--primary) 8%, var(--card));
}

@media (min-width: 900px) {
  .final-card { grid-template-columns: 1fr 1fr; }
}

.final-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.final-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.875rem;
}

.final-list li::before {
  content: "✓";
  color: var(--primary-text);
  font-weight: 700;
}

.final-micro {
  margin-top: 16px;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ---------- Мобильная шапка ---------- */
@media (max-width: 640px) {
  .wrap {
    padding-inline: 16px;
  }

  header {
    padding-block: 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 12px;
  }

  .brand-logo img {
    width: 17px;
    height: 17px;
  }

  .brand-name {
    font-size: 0.8125rem;
  }

  .brand-sub {
    display: none;
  }

  .header-actions {
    gap: 6px;
  }

  /* Второй кнопке в шапке на телефоне места нет — оставляем главную. */
  .header-actions .btn-outline {
    display: none;
  }

  .header-actions .btn-primary {
    height: 32px;
    padding: 6px 10px;
    font-size: 0.75rem;
  }

  .header-actions .arrow {
    display: none;
  }

  .theme-toggle {
    width: 28px;
    height: 28px;
  }

  .theme-toggle svg {
    width: 16px;
    height: 16px;
  }

  .hero {
    padding-block: 40px;
  }

  .section {
    padding-block: 48px;
  }

  .hook-card,
  .final-card,
  .form-card {
    padding: 20px;
  }

  .hook-bullets {
    grid-template-columns: 1fr;
  }
}

/* ---------- Мягкие анимации ---------- */
@keyframes platika-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes platika-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.78); }
}

.hero > * {
  animation: platika-rise .55s cubic-bezier(.22, 1, .36, 1) both;
}
.hero > *:nth-child(1) { animation-delay: .03s; }
.hero > *:nth-child(2) { animation-delay: .09s; }
.hero > *:nth-child(3) { animation-delay: .15s; }
.hero > *:nth-child(4) { animation-delay: .21s; }
.hero > *:nth-child(5) { animation-delay: .27s; }
.hero > *:nth-child(6) { animation-delay: .33s; }

.eyebrow .mark {
  animation: platika-pulse 2.6s ease-in-out infinite;
}
.hero-status .mark {
  animation: platika-pulse 2.2s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.22, 1, .36, 1),
              transform .6s cubic-bezier(.22, 1, .36, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

.info-card,
.step,
.faq details {
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.info-card:hover,
.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px -18px rgba(163, 79, 106, .55);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero > *,
  .eyebrow .mark,
  .hero-status .mark { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .info-card,
  .step,
  .faq details,
  .feature { transition: none; }
}
