/* ============================================================
   Kadriko — лендинг. Светлая, тёплая, дружелюбная тема.
   ============================================================ */
body.landing {
  background: radial-gradient(900px 520px at 88% -8%, #fde6d8 0%, transparent 65%),
    radial-gradient(760px 480px at -6% 14%, #eef4e8 0%, transparent 60%),
    radial-gradient(700px 460px at 50% 100%, #fdf1dd 0%, transparent 65%), var(--bg);
}

.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: aurora-drift 22s ease-in-out infinite alternate;
}

.aurora-1 {
  width: 520px;
  height: 520px;
  top: -180px;
  right: -120px;
  background: radial-gradient(circle, rgba(255, 176, 137, 0.5), transparent 66%);
}

.aurora-2 {
  width: 460px;
  height: 460px;
  top: 480px;
  left: -200px;
  background: radial-gradient(circle, rgba(164, 198, 160, 0.42), transparent 66%);
  animation-delay: -7s;
}

.aurora-3 {
  width: 420px;
  height: 420px;
  top: 1500px;
  right: -160px;
  background: radial-gradient(circle, rgba(244, 205, 138, 0.38), transparent 66%);
  animation-delay: -13s;
}

@keyframes aurora-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-30px, 40px, 0) scale(1.08);
  }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(120, 96, 70, 0.1) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 12%, #000 5%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 12%, #000 5%, transparent 72%);
  opacity: 0.6;
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

/* ---------- шапка ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.site-header.scrolled {
  background: rgba(250, 246, 239, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 22px rgba(84, 60, 32, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffe3d3, #ffd0bd);
  border: 1.5px solid #ffc4ad;
  color: #a83f2a;
  box-shadow: 0 6px 16px rgba(242, 107, 78, 0.18);
}

.logo-mark svg {
  width: 25px;
  height: 25px;
}

.logo-word {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.logo-ai {
  margin-left: 5px;
  font-family: var(--font);
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 999px;
  vertical-align: middle;
  background: var(--coral-soft);
  color: var(--coral-dark);
  border: 1px solid rgba(242, 107, 78, 0.22);
  letter-spacing: 0.05em;
  text-transform: lowercase;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  padding: 5px;
  border-radius: 999px;
}

.topnav a {
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.16s ease, color 0.16s ease;
}

.topnav a:hover {
  background: var(--bg-soft);
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.burger span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger.open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.burger.open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ---------- hero ---------- */
.hero {
  padding: 48px 0 26px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: 36px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  border: 1.5px solid #f6d4c2;
  background: #fff4ec;
  font-size: 12.5px;
  font-weight: 700;
  color: #a9502f;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 0 rgba(242, 107, 78, 0.45);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(242, 107, 78, 0.4);
  }
  70% {
    box-shadow: 0 0 0 11px rgba(242, 107, 78, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(242, 107, 78, 0);
  }
}

.hero-title {
  margin-top: 24px;
  font-size: clamp(32px, 3.6vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero-title .gradient-text {
  position: relative;
  color: var(--coral);
  white-space: nowrap;
  display: inline-block;
}

.hero-title .gradient-text::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 10px;
  border-radius: 6px;
  background: #ffe0cf;
  z-index: -1;
}

.hero-sub {
  margin-top: 22px;
  max-width: 540px;
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.65;
}

.hero-cta {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
}

.hero-trust b {
  color: var(--ink);
}

.hero-proof {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px dashed var(--line-strong);
  max-width: 470px;
}

.avatars {
  display: flex;
}

.ava {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid var(--bg);
  margin-left: -11px;
  background-size: cover;
}

.ava:first-child {
  margin-left: 0;
}

.ava-1 {
  background: linear-gradient(135deg, #ffcf9e, #f28d6a);
}

.ava-2 {
  background: linear-gradient(135deg, #b9a7e8, #8fc4dd);
}

.ava-3 {
  background: linear-gradient(135deg, #a8d8b4, #7fb6d9);
}

.ava-4 {
  background: linear-gradient(135deg, #ffd98a, #f28d6a);
}

.stars {
  font-size: 13px;
  letter-spacing: 1px;
  color: #e6a93f;
}

.stars b {
  color: var(--ink);
  letter-spacing: 0;
  margin-left: 4px;
}

.stars + .tiny {
  margin-top: 2px;
}

/* коллаж с телефоном */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 640px;
}

.hero-collage {
  position: relative;
  width: 100%;
  max-width: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.phone {
  position: relative;
  width: 290px;
  height: 596px;
  border-radius: 46px;
  padding: 9px;
  background: linear-gradient(160deg, #3a332c, #241f19 45%, #4a4137);
  border: 1px solid rgba(84, 60, 32, 0.35);
  box-shadow: 0 40px 90px rgba(84, 60, 32, 0.28), 0 0 0 5px rgba(255, 255, 255, 0.5);
  transform: rotate(2deg);
  z-index: 3;
  animation: phone-float 8s ease-in-out infinite;
}

@keyframes phone-float {
  0%,
  100% {
    transform: rotate(2deg) translateY(0);
  }
  50% {
    transform: rotate(1deg) translateY(-12px);
  }
}

.phone-notch {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 22px;
  border-radius: 999px;
  background: #1b1712;
  z-index: 5;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: #e9e2d6;
}

.phone-slides {
  position: absolute;
  inset: 0;
}

.phone-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  background-size: cover;
  background-position: center;
  animation: kenburns 12s ease-in-out infinite alternate;
}

.phone-slide.active {
  opacity: 1;
}

@keyframes kenburns {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.14) translate3d(-1.5%, -1.5%, 0);
  }
}

.phone-slide.fallback {
  background: linear-gradient(160deg, #ffd9c4, #f7ecd9 55%, #d9e8d6);
}

.phone-slide.fallback::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(242, 107, 78, 0.25), transparent 45%),
    radial-gradient(circle at 70% 70%, rgba(127, 182, 217, 0.25), transparent 45%);
}

.phone-chrome {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px 15px 18px;
  background: linear-gradient(180deg, rgba(35, 28, 22, 0.34), transparent 26%, transparent 48%, rgba(35, 28, 22, 0.66));
  z-index: 2;
}

.phone-screen.has-video .phone-caption,
.phone-screen.has-video .phone-slides {
  display: none;
}

.phone-screen.has-video .phone-chrome {
  background: linear-gradient(180deg, rgba(35, 28, 22, 0.3), transparent 22%);
  justify-content: flex-start;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-size: 10.5px;
  font-weight: 800;
  color: #3a332c;
}

.dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
}

.phone-pill-ghost {
  background: rgba(35, 28, 22, 0.5);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff8f0;
}

.phone-caption {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #fffaf5;
}

.caption-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffd9c4;
}

.phone-caption strong {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.caption-progress {
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
  margin-top: 4px;
}

.caption-progress i {
  display: block;
  height: 100%;
  width: 40%;
  background: #ffd9c4;
  border-radius: 4px;
  animation: progress-loop 9s linear infinite;
}

@keyframes progress-loop {
  from {
    width: 4%;
  }
  to {
    width: 100%;
  }
}

/* полароиды */
.polaroid {
  position: absolute;
  width: 168px;
  padding: 9px 9px 34px;
  border-radius: 14px;
  background: #fffdf9;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(84, 60, 32, 0.16);
  z-index: 2;
}

.polaroid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.polaroid span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
}

.polaroid-a {
  top: 54px;
  left: -38px;
  transform: rotate(-7deg);
  z-index: 1;
}

.polaroid-b {
  bottom: 54px;
  right: -30px;
  transform: rotate(6deg);
}

/* стикеры */
.sticker {
  position: absolute;
  z-index: 4;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fffdf9;
  box-shadow: 0 12px 26px rgba(84, 60, 32, 0.13);
  animation: sticker-bob 7s ease-in-out infinite;
}

.sticker-render {
  top: 6px;
  right: -6px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  transform: rotate(3deg);
}

.sticker-emoji {
  font-size: 20px;
}

.sticker b {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink);
}

.sticker-small {
  display: block;
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 1px;
}

.sticker-credits {
  bottom: 132px;
  left: -44px;
  padding: 9px 14px;
  background: var(--gold-soft);
  border-color: #f3dfb4;
  font-size: 12.5px;
  font-weight: 800;
  color: #8a6420;
  transform: rotate(-4deg);
  animation-delay: -2s;
}

.sticker-style {
  bottom: 6px;
  left: 76px;
  padding: 8px 13px;
  background: var(--green-soft);
  border-color: #cfe5d7;
  font-size: 12px;
  font-weight: 700;
  color: #3f7655;
  transform: rotate(2deg);
  animation-delay: -4s;
}

.sticker-heart {
  top: 150px;
  left: 18px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fde3e3;
  border-color: #f6cccc;
  color: #e06060;
  font-size: 20px;
  transform: rotate(-12deg);
  animation-delay: -5s;
}

@keyframes sticker-bob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -7px;
  }
}

/* ---------- статистика ---------- */
.stats-strip {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow-sm);
}

.stats-strip > div {
  background: var(--surface);
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stats-strip b {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.stats-strip span {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- секции ---------- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-alt {
  background: rgba(255, 255, 255, 0.58);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}

.section-head h2 {
  margin-top: 12px;
  font-size: clamp(30px, 3.4vw, 46px);
  color: var(--ink);
}

.section-lead {
  max-width: 490px;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.65;
}

.center-head {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.center-head .section-lead {
  max-width: 620px;
}

.center-head h2 {
  margin-top: 2px;
}

/* инструменты */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tool-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 320px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.tool-card:hover {
  transform: translateY(-5px);
  border-color: #e8d5c4;
  box-shadow: var(--shadow-hover);
}

.tool-icon {
  width: 54px;
  height: 54px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--tool-color, var(--coral)) 13%, #fff);
  border: 1px solid color-mix(in srgb, var(--tool-color, var(--coral)) 26%, #fff);
  color: color-mix(in srgb, var(--tool-color, var(--coral)) 82%, #6b3a2a);
}

.tool-icon svg {
  width: 27px;
  height: 27px;
}

.tool-card h3 {
  font-size: 22px;
  color: var(--ink);
}

.tool-card p {
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.6;
}

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

.tool-tags span {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-warm);
  border: 1px solid var(--line);
}

.tool-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
}

.tool-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--coral-dark);
}

.tool-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.tool-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.tool-card:hover .tool-link svg {
  transform: translateX(3px);
}

/* шаги */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step {
  position: relative;
  padding: 28px 26px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.step:nth-child(1) {
  background: #fff9f4;
}

.step:nth-child(2) {
  background: #fbfcf7;
}

.step:nth-child(3) {
  background: #fdf8f1;
}

.step-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 900;
  color: rgba(120, 96, 70, 0.1);
  letter-spacing: -0.04em;
  line-height: 1;
}

.step-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--coral-dark);
  background: var(--coral-soft);
  border: 1px solid #f6d3c5;
}

.step:nth-child(2) .step-icon {
  color: #3f7655;
  background: var(--green-soft);
  border-color: #cfe5d7;
}

.step:nth-child(3) .step-icon {
  color: #8a6420;
  background: var(--gold-soft);
  border-color: #f3dfb4;
}

.step-icon svg {
  width: 27px;
  height: 27px;
}

.step h3 {
  margin-top: 20px;
  font-size: 19px;
  color: var(--ink);
}

.step p {
  margin-top: 8px;
  color: var(--text-dim);
  font-size: 14.5px;
}

.center-cta {
  justify-content: center;
  margin-top: 40px;
}

/* галерея */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee 54s linear infinite;
  padding: 16px 0 28px;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.marquee-item {
  position: relative;
  width: 232px;
  height: 420px;
  border-radius: 18px;
  overflow: hidden;
  border: 7px solid #fffdf9;
  background: var(--bg-soft);
  flex: 0 0 auto;
  box-shadow: 0 16px 36px rgba(84, 60, 32, 0.14);
  transition: transform 0.3s ease;
}

.marquee-item:nth-child(3n) {
  transform: rotate(-1.5deg);
}

.marquee-item:nth-child(3n + 1) {
  transform: rotate(1.2deg);
}

.marquee-item:hover {
  transform: rotate(0) translateY(-4px);
}

.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.marquee-item:hover img {
  transform: scale(1.05);
}

.marquee-item .m-tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid rgba(84, 60, 32, 0.1);
  color: var(--text);
  backdrop-filter: blur(6px);
}

/* возможности */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.bento-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.bento-card:nth-child(2) {
  background: #fbf7ee;
}

.bento-card:nth-child(3) {
  background: #f3f8f1;
}

.bento-card:nth-child(4) {
  background: #fdf6ee;
}

.bento-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--ink);
}

.bento-card p {
  color: var(--text-dim);
  font-size: 14.5px;
}

.bento-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral-dark);
  margin-bottom: 14px;
}

.bento-lg {
  grid-column: span 2;
  background: radial-gradient(560px 280px at 85% 15%, #ffe6d6 0%, transparent 70%), #fffaf4;
}

.bento-wide {
  grid-column: span 3;
}

.bento-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.beat-viz {
  margin-top: 32px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 76px;
}

.beat-viz span {
  flex: 1;
  height: var(--h);
  border-radius: 5px;
  background: linear-gradient(180deg, #f8b49c, #fde0d2);
  opacity: 0.95;
  animation: beat 2.4s ease-in-out infinite alternate;
  animation-delay: calc(var(--h) * -0.02s);
}

@keyframes beat {
  to {
    transform: scaleY(0.55);
    opacity: 0.6;
  }
}

.mini-ui {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-warm);
}

.mini-ui-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.mini-ui-row div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}

.mini-ui-row b {
  font-size: 13px;
  color: var(--ink);
}

.mini-ui-row i {
  font-size: 11px;
  font-style: normal;
  color: var(--muted);
}

.mini-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.mini-dot-v {
  background: var(--violet);
}

.mini-dot-c {
  background: var(--cyan);
}

.mini-dot-p {
  background: var(--pink);
}

.mini-badge {
  font-size: 10px;
  font-weight: 800;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 7px;
  flex: 0 0 auto;
  background: var(--bg-warm);
}

/* ---------- тарифы ---------- */
.pricing-toggle {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  width: max-content;
  margin: 0 auto 36px;
  box-shadow: var(--shadow-sm);
}

.pt-btn {
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.pt-btn.active {
  background: var(--coral-soft);
  color: var(--coral-dark);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.plan-card.highlighted {
  border-color: #f6c4b0;
  background: radial-gradient(420px 200px at 50% 0%, #ffeadf 0%, transparent 72%), #fffaf6;
  box-shadow: 0 22px 55px rgba(242, 107, 78, 0.16);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  white-space: nowrap;
}

.plan-top h3 {
  font-size: 19px;
  color: var(--ink);
}

.plan-tagline {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
  min-height: 36px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 14px;
}

.plan-price b {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.plan-price span {
  font-size: 12.5px;
  color: var(--muted);
}

.plan-credits {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--coral-dark);
  margin-top: 2px;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.45;
}

.plan-features li {
  position: relative;
  padding-left: 24px;
}

.plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--green-soft);
  border: 1px solid #cfe5d7;
}

.plan-features li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 6px;
  width: 6px;
  height: 3px;
  border-left: 1.6px solid var(--green);
  border-bottom: 1.6px solid var(--green);
  transform: rotate(-45deg);
}

.plan-card .btn {
  margin-top: auto;
}

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

.pack-card {
  position: relative;
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.pack-card.highlighted {
  border-color: #c8e6d4;
  background: radial-gradient(420px 220px at 100% 0%, #e9f6ee 0%, transparent 72%), #fcfefb;
}

.pack-bonus {
  font-size: 11px;
  font-weight: 800;
  color: var(--green);
}

.pack-credits {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

.pack-credits small {
  font-family: var(--font);
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 6px;
  font-weight: 600;
}

.pack-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.pack-price span {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
}

.pack-per {
  font-size: 12.5px;
  color: var(--muted-2);
}

.pack-card .btn {
  margin-top: 6px;
}

.pricing-note {
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 1px dashed #c8e6d4;
  background: #f2faf5;
}

.pricing-note p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
}

.cost-table {
  margin-top: 32px;
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.cost-table h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--ink);
}

.cost-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-dim);
}

.cost-row b {
  color: var(--ink);
  white-space: nowrap;
}

/* ---------- FAQ ---------- */
.faq-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
  align-items: start;
}

.faq-intro h2 {
  margin: 12px 0 14px;
  font-size: clamp(30px, 3.2vw, 44px);
  color: var(--ink);
}

.faq-intro .btn {
  margin-top: 22px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item.open {
  border-color: #f6c4b0;
  background: #fffaf6;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.faq-q svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-q svg {
  transform: rotate(45deg);
  color: var(--coral);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-a p {
  padding: 0 22px 20px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ---------- CTA ---------- */
.cta-section {
  padding-top: 36px;
}

.cta-band {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 52px;
  border-radius: var(--radius-xl);
  border: 1px solid #f6c9b4;
  background: radial-gradient(560px 300px at 12% 20%, #ffe2d3 0%, transparent 68%),
    radial-gradient(520px 280px at 92% 100%, #fdf0cf 0%, transparent 70%), #fff8f1;
  box-shadow: 0 24px 60px rgba(84, 60, 32, 0.12);
}

.cta-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  right: -70px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 107, 78, 0.16), transparent 66%);
}

.cta-band h2 {
  margin: 10px 0 10px;
  font-size: clamp(28px, 3vw, 42px);
  color: var(--ink);
}

.cta-band p {
  color: var(--text-dim);
  max-width: 520px;
  font-size: 15px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
}

/* ---------- футер ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 54px 0 28px;
  margin-top: 56px;
  background: rgba(255, 255, 255, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .logo {
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 310px;
}

.footer-col h4 {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
  padding: 5px 0;
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: var(--coral-dark);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted-2);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--ink);
}

.hidden {
  display: none !important;
}

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-visual {
    min-height: 600px;
  }

  .hero-collage {
    max-width: 480px;
  }

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

  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .topnav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 18px 22px 24px;
    background: rgba(250, 246, 239, 0.98);
    border-bottom: 1px solid var(--line);
    border-radius: 0 0 22px 22px;
    box-shadow: 0 20px 40px rgba(84, 60, 32, 0.12);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .topnav.open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .topnav a {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    border-radius: 12px;
  }

  .burger {
    display: flex;
  }

  .header-actions .btn-ghost {
    display: none;
  }

  .tools-grid,
  .steps,
  .bento,
  .packs-grid {
    grid-template-columns: 1fr;
  }

  .bento-lg,
  .bento-wide {
    grid-column: span 1;
  }

  .bento-split {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 72px 0;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 34px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 3;
  }
}

@media (max-width: 620px) {
  .hero {
    padding-top: 30px;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-title .gradient-text {
    white-space: normal;
  }

  .hero-sub {
    font-size: 15.5px;
  }

  .hero-proof {
    align-items: flex-start;
  }

  .hero-visual {
    min-height: 520px;
  }

  .phone {
    width: 250px;
    height: 514px;
  }

  .polaroid {
    width: 126px;
    padding: 7px 7px 28px;
  }

  .polaroid-a {
    top: 6px;
    left: -6px;
  }

  .polaroid-b {
    bottom: 10px;
    right: -6px;
  }

  .polaroid span {
    font-size: 10.5px;
    bottom: 7px;
  }

  .sticker-credits {
    left: -8px;
    bottom: 92px;
    font-size: 11.5px;
    padding: 7px 11px;
  }

  .sticker-style {
    left: 42px;
    bottom: -4px;
    font-size: 11px;
  }

  .sticker-render {
    right: -8px;
    top: -4px;
    transform: scale(0.92) rotate(3deg);
  }

  .sticker-heart {
    display: none;
  }

  .stats-strip > div {
    padding: 16px 18px;
  }

  .stats-strip b {
    font-size: 22px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

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

  .marquee-item {
    width: 196px;
    height: 350px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .cost-table {
    padding: 18px;
  }

  .cost-row {
    font-size: 13px;
  }

  .cta-band {
    padding: 28px 22px;
  }
}
