:root {
  --bg: #f6f3ee;
  --bg-soft: #ffffff;
  --text: #171717;
  --muted: #6b6b6b;
  --primary: #1f4fd6;
  --card: #ffffff;
  --border: #e7e0d7;
  --shadow: rgba(35, 32, 26, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100%;
}

.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(42% 30% at 50% 0%, rgba(236, 230, 219, 0.9), transparent 70%),
    linear-gradient(180deg, #faf8f4 0%, #f6f3ee 100%);
  z-index: -2;
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(23, 23, 23, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 23, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.35;
}

.landing {
  width: min(1120px, 100vw - 32px);
  margin: 0 auto;
  padding: 26px 0 72px;
  overflow: hidden;
}

.hero {
  text-align: center;
  padding: 48px 0 28px;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.brand-mark {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 28px;
  display: block;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.08));
}

.brand-wordmark {
  font-size: clamp(54px, 7vw, 72px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.055em;
  color: #171717;
}

h1 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.42;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: #1f1f1f;
}

.hero-subtitle {
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #6f6a62;
  font-weight: 600;
  font-size: 13px;
}

.hero-description {
  max-width: 640px;
  margin: 18px auto 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 16px;
}

.hero-badge {
  width: fit-content;
  max-width: calc(100vw - 40px);
  margin: 30px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #4f4a42;
  padding: 9px 14px;
  font-size: 12px;
  box-shadow: 0 12px 30px var(--shadow);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px var(--shadow);
}

.badge-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #ff0000;
  color: #fff;
}

.badge-label svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
}

.badge-arrow {
  color: #8b847b;
  font-size: 14px;
}

.reviews {
  margin-top: 20px;
}

.section-head {
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(18px, 2.1vw, 24px);
  letter-spacing: -0.03em;
  color: #171717;
}

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

.reviews h2 {
  margin: 0;
  font-size: clamp(18px, 2.1vw, 24px);
  letter-spacing: -0.03em;
  color: #171717;
}

.reviews-accent {
  color: #8b847b;
  margin-right: 4px;
}

.reviews-marquee {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

.reviews-track-row {
  display: flex;
  width: max-content;
  animation: reviews-scroll 42s linear infinite;
}

.reviews-track-row-reverse {
  animation-direction: reverse;
  animation-duration: 48s;
}

.reviews-track {
  display: flex;
  gap: 10px;
  padding-right: 10px;
}

.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 118px;
  width: min(330px, 78vw);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 9px 20px var(--shadow);
}

.review-person {
  margin-bottom: 7px;
}

.review-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #171717;
}

.review-avatar-pink {
  background: #e7ddd0;
}

.review-avatar-light {
  background: #ece7df;
}

.review-avatar-warm {
  background: #ead9cb;
}

.review-avatar-dark {
  background: #ddd7cf;
}

.review-avatar-blue {
  background: #e2e7ef;
}

.review-avatar-gold {
  background: #ece1cf;
}

.review-card p {
  margin: 0;
  color: #44413b;
  line-height: 1.45;
  font-size: 12px;
  flex: 1;
}

.review-author {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-author strong {
  font-size: 11px;
  color: #1f1f1f;
  font-weight: 600;
}

.review-author span {
  color: #7a746a;
  font-size: 11px;
}

.quick-start,
.results-block,
.scale-outreach,
.features,
.feature-showcase,
.featured,
.resources,
.cta {
  margin-top: 48px;
}

.results-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  gap: 18px;
  align-items: stretch;
  background: linear-gradient(180deg, #ffffff 0%, #fdfbf8 100%);
  border: 1px solid #e8e1d7;
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 16px 34px rgba(35, 32, 26, 0.07);
}

.results-content {
  padding: 10px 6px 10px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.results-text {
  margin: 0;
  color: #555048;
  font-size: 15px;
  line-height: 1.72;
}

.results-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.results-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #2f2b25;
  font-size: 15px;
  line-height: 1.55;
}

.results-list li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #e7f0ff;
  color: #3766ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 13px;
  line-height: 1;
  margin-top: 2px;
}

.results-signature {
  margin: 18px 0 0;
  color: #3c3832;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 800;
}

.results-visual {
  min-height: 300px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: 18px;
  overflow: hidden;
  background: #faf7f2;
  border: 1px solid #ede5d9;
}

.results-visual-top {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.results-chip {
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #e6dfd4;
  background: rgba(255, 255, 255, 0.7);
  color: #6d675f;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.results-chip--accent {
  background: #e7f0ff;
  border-color: #d0e1ff;
  color: #2c5be6;
}

.results-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.results-metric {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #ede5d9;
  border-radius: 14px;
  padding: 12px 12px;
}

.results-metric-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2e2b27;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.results-metric-icon {
  width: 26px;
  height: 26px;
  border-radius: 12px;
  background: #f3efe8;
  color: #171717;
  display: grid;
  place-items: center;
  font-size: 14px;
  flex: 0 0 auto;
}

.results-mini-bars {
  margin-top: 10px;
  display: flex;
  gap: 6px;
  align-items: flex-end;
  height: 56px;
}

.bar {
  flex: 1;
  border-radius: 10px;
  background: linear-gradient(180deg, #3766ff 0%, #1f4fd6 100%);
  opacity: 0.95;
}

.bar-1 {
  height: 18px;
}
.bar-2 {
  height: 32px;
}
.bar-3 {
  height: 44px;
}
.bar-4 {
  height: 26px;
}

.results-funnel {
  margin-top: 10px;
  position: relative;
  height: 56px;
}

.funnel-step {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  height: 18px;
  border-radius: 8px;
  background: linear-gradient(180deg, #e7f0ff 0%, #cfe1ff 100%);
  border: 1px solid #d0e1ff;
}

.step-1 {
  top: 0;
  width: 100%;
}
.step-2 {
  top: 18px;
  width: 72%;
}
.step-3 {
  top: 36px;
  width: 46%;
}

.scale-outreach-card {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  gap: 18px;
  align-items: stretch;
  background: linear-gradient(180deg, #ffffff 0%, #fdfbf8 100%);
  border: 1px solid #e8e1d7;
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 16px 34px rgba(35, 32, 26, 0.07);
}

.scale-outreach-content {
  padding: 10px 6px 10px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.scale-outreach-card h3 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: #171717;
}

.scale-outreach-text {
  margin: 0;
  color: #555048;
  font-size: 15px;
  line-height: 1.72;
}

.scale-outreach-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scale-outreach-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #2f2b25;
  font-size: 15px;
  line-height: 1.55;
}

.scale-outreach-list li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #e7f0ff;
  color: #3766ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 13px;
  line-height: 1;
  margin-top: 2px;
}

.scale-outreach-note {
  margin: 18px 0 0;
  color: #3c3832;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 700;
}

.scale-outreach-media {
  min-height: 300px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  overflow: hidden;
  background: #faf7f2;
  border: 1px solid #ede5d9;
}

.scale-outreach-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  background: transparent;
}

.quick-start-card {
  width: 100%;
  margin: 0;
  background: #fff;
  border: 1px solid #e8e1d7;
  border-radius: 28px;
  box-shadow: 0 20px 44px rgba(35, 32, 26, 0.07);
}

.quick-start-body {
  padding: 34px 28px 30px;
}

.quick-start-copy {
  max-width: 680px;
  margin-bottom: 20px;
}

.quick-start-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #171717;
}

.quick-start-text {
  margin: 0;
  color: #58534b;
  font-size: 15px;
  line-height: 1.65;
}

.telegram-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 54px;
  gap: 10px;
  align-items: stretch;
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

.telegram-field {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  height: 100%;
  min-height: 0;
  border: 1px solid #e6dfd4;
  border-radius: 16px;
  padding: 0 16px 0 18px;
  background: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 6px 16px rgba(35, 32, 26, 0.04);
}

.telegram-prefix {
  color: #7a746a;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  flex-shrink: 0;
}

.telegram-field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #171717;
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  padding: 0;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  vertical-align: middle;
}

.telegram-field input::placeholder {
  color: #9d968d;
}

.telegram-submit {
  height: 100%;
  min-height: 0;
  padding: 0 22px;
  border: 0;
  border-radius: 16px;
  background: #3766ff;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: 0 14px 28px rgba(55, 102, 255, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.telegram-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(55, 102, 255, 0.28);
}

.quick-start-note {
  margin: 12px 0 0;
  color: #8a837a;
  font-size: 13px;
  line-height: 1.5;
}

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

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px 18px;
  box-shadow: 0 12px 28px var(--shadow);
  display: flex;
  flex-direction: column;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #f3efe8;
  color: #171717;
  font-size: 16px;
  margin-bottom: 14px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.3;
  color: #171717;
}

.feature-card p {
  margin: 0;
  color: #5d5851;
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
}

.feature-play {
  margin-top: 14px;
  width: fit-content;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #ece5da;
  border-radius: 999px;
  background: #fbf8f4;
  color: #6d675f;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.feature-play:hover {
  transform: translateY(-1px);
  background: #f6f1ea;
}

.feature-play-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8e1d7;
  color: #5f5a52;
  font-size: 8px;
}

.feature-showcase {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-showcase-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  gap: 18px;
  align-items: stretch;
  background: linear-gradient(180deg, #ffffff 0%, #fdfbf8 100%);
  border: 1px solid #e8e1d7;
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 16px 34px rgba(35, 32, 26, 0.07);
}

.feature-showcase-row-reverse .feature-showcase-content {
  order: 2;
}

.feature-showcase-row-reverse .feature-showcase-media {
  order: 1;
}

.feature-showcase-content {
  padding: 10px 6px 10px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-showcase-content h3 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: #171717;
}

.feature-showcase-content p {
  margin: 0;
  color: #555048;
  font-size: 15px;
  line-height: 1.72;
}

.feature-showcase-content p + p {
  margin-top: 12px;
}

.feature-showcase-media {
  min-height: 300px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  overflow: hidden;
  background: #faf7f2;
  border: 1px solid #ede5d9;
}

.feature-showcase-placeholder {
  height: 100%;
  border-radius: 14px;
  border: 1px dashed #cfc6b8;
  background: #fbf9f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}

.feature-showcase-placeholder span {
  font-size: 15px;
  font-weight: 600;
  color: #2c2925;
}

.feature-showcase-placeholder small {
  margin-top: 8px;
  font-size: 12px;
  color: #7b756d;
}

.feature-showcase-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  background: #fff;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.featured-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 12px 28px var(--shadow);
}

.featured-source {
  margin-bottom: 14px;
  color: #7a746a;
  font-size: 13px;
  font-weight: 600;
}

.featured-card p {
  margin: 0;
  color: #2e2b27;
  font-size: 17px;
  line-height: 1.55;
}

.featured-card span {
  display: inline-block;
  margin-top: 14px;
  color: #8c857b;
  font-size: 13px;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.resource-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 16px;
  box-shadow: 0 12px 28px var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.resource-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px var(--shadow);
}

.resource-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #f3efe8;
  color: #171717;
  font-size: 16px;
  margin-bottom: 14px;
}

.resource-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #171717;
}

.resource-card p {
  margin: 0;
  color: #6a655d;
  font-size: 13px;
  line-height: 1.55;
}

.cta-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 34px 24px;
  box-shadow: 0 18px 40px var(--shadow);
  text-align: center;
}

.cta-head {
  margin-bottom: 10px;
}

.cta-text {
  max-width: 560px;
  margin: 0 auto;
  color: #635e56;
  font-size: 15px;
  line-height: 1.65;
}

.cta-actions {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-button {
  min-height: 50px;
  padding: 0 18px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-1px);
}

.cta-button-primary {
  background: #171717;
  color: #fff;
  box-shadow: 0 12px 24px rgba(23, 23, 23, 0.12);
}

.cta-button-secondary {
  background: #f8f5f0;
  border: 1px solid var(--border);
  color: #171717;
}

.legal-footer {
  margin-top: 56px;
  padding: 24px 0 8px;
  border-top: 1px solid var(--border);
}

.legal-footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.legal-company {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-company strong {
  font-size: 14px;
  color: #171717;
}

.legal-company span {
  font-size: 13px;
  color: #6d675f;
}

.legal-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.legal-links a {
  color: #5a554d;
  text-decoration: none;
  font-size: 13px;
}

.legal-links a:hover {
  color: #171717;
}

body.modal-open {
  overflow: hidden;
}

.video-modal[hidden] {
  display: none;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, 0.5);
  backdrop-filter: blur(4px);
}

.video-modal-dialog {
  position: relative;
  width: min(920px, calc(100vw - 24px));
  margin: 40px auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.18);
  overflow: hidden;
}

.video-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}

.video-modal-head h3 {
  margin: 0;
  font-size: 18px;
  color: #171717;
}

.video-modal-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #f8f5f0;
  color: #171717;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.video-modal-body {
  padding: 18px;
}

.video-modal-body video {
  width: 100%;
  max-height: 70vh;
  border-radius: 16px;
  background: #111;
  display: block;
}

@keyframes reviews-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
  .landing {
    width: min(1120px, 100vw - 24px);
  }

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

  .feature-showcase-row {
    grid-template-columns: 1fr;
  }

  .feature-showcase-row-reverse .feature-showcase-content,
  .feature-showcase-row-reverse .feature-showcase-media {
    order: initial;
  }

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

  .reviews-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .video-modal-dialog {
    margin: 20px auto;
  }
}

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

  .brand-mark {
    width: 74px;
    height: 74px;
    border-radius: 22px;
  }

  .hero-subtitle {
    font-size: 11px;
    letter-spacing: 0.16em;
  }

  .hero-badge {
    flex-wrap: wrap;
    justify-content: center;
  }

  .scale-outreach-card {
    grid-template-columns: 1fr;
    padding: 18px 16px;
    border-radius: 22px;
    gap: 14px;
  }

  .scale-outreach-content {
    padding: 0;
  }

  .scale-outreach-media {
    min-height: 220px;
  }

  .results-card {
    grid-template-columns: 1fr;
    padding: 18px 16px;
    border-radius: 22px;
    gap: 14px;
  }

  .results-content {
    padding: 0;
  }

  .results-visual {
    min-height: 220px;
  }

  .reviews-marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .reviews-track-row,
  .reviews-track-row-reverse {
    animation: none;
    width: 100%;
  }

  /* На мобилке не показываем вторую "дорожку" (для бесконечной анимации на десктопе),
     чтобы отзывы выглядели аккуратно и без дублей по вертикали. */
  .reviews-track-row-reverse {
    display: none;
  }

  .reviews-marquee .reviews-track[aria-hidden="true"] {
    display: none;
  }

  .reviews-track {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    padding-right: 0;
    gap: 12px;
  }

  .telegram-form {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 10px;
  }

  .telegram-field {
    height: 52px;
  }

  .telegram-submit {
    width: 100%;
    height: 52px;
  }

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

  .featured-grid,
  .resources-grid {
    grid-template-columns: 1fr;
  }

  .legal-footer-inner,
  .legal-links {
    flex-direction: column;
    gap: 10px;
  }

  .review-card {
    width: min(320px, 86vw);
    scroll-snap-align: start;
  }

  .feature-play {
    width: 100%;
    justify-content: center;
  }
}

/* --- YetReply post-registration quiz (landing) --- */
body.yr-quiz-open {
  overflow: hidden;
}

.yr-quiz-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(18, 24, 32, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.yr-quiz-overlay.is-open {
  display: flex;
}

.yr-quiz-card {
  position: relative;
  width: min(520px, 100%);
  max-height: min(92vh, 720px);
  overflow: auto;
  background: linear-gradient(180deg, #fffefb 0%, #f7f4ef 100%);
  border: 1px solid #ece5da;
  border-radius: 22px;
  padding: 28px 24px 22px;
  box-shadow: 0 24px 60px rgba(24, 32, 48, 0.2);
}

.yr-quiz-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #8a837a;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
}

.yr-quiz-close:hover {
  color: #171717;
  background: rgba(0, 0, 0, 0.04);
}

.yr-quiz-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #3766ff;
  background: rgba(55, 102, 255, 0.1);
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 12px;
}

.yr-quiz-title {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.25;
  color: #171717;
}

.yr-quiz-lead {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.55;
  color: #5d5851;
}

.yr-quiz-progress {
  height: 6px;
  border-radius: 999px;
  background: #e8e1d7;
  overflow: hidden;
  margin-bottom: 10px;
}

.yr-quiz-progress-bar {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3766ff, #6b8cff);
  transition: width 0.35s ease;
}

.yr-quiz-step-meta {
  font-size: 12px;
  font-weight: 600;
  color: #8a837a;
  margin-bottom: 10px;
}

.yr-quiz-qtitle {
  margin: 0 0 6px;
  font-size: 18px;
  color: #171717;
}

.yr-quiz-qhint {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #7a746c;
}

.yr-quiz-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.yr-quiz-opt {
  text-align: left;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #ece5da;
  background: #fff;
  color: #2b2620;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.yr-quiz-opt:hover {
  border-color: #cfd6e8;
  box-shadow: 0 6px 16px rgba(55, 102, 255, 0.08);
  transform: translateY(-1px);
}

.yr-quiz-opt.is-selected {
  border-color: #3766ff;
  box-shadow: 0 0 0 3px rgba(55, 102, 255, 0.15);
  background: #f4f7ff;
}

.yr-quiz-tg-text {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.55;
  color: #5d5851;
}

.yr-quiz-tg-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #3766ff;
  text-decoration: none;
  margin-bottom: 14px;
}

.yr-quiz-tg-link:hover {
  text-decoration: underline;
}

.yr-quiz-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #2b2620;
  cursor: pointer;
  line-height: 1.4;
}

.yr-quiz-check input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: #3766ff;
}

.yr-quiz-err {
  color: #c0392b;
  font-size: 13px;
  margin: 0 0 10px;
}

.yr-quiz-actions {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 4px;
}

.yr-quiz-back,
.yr-quiz-next {
  flex: 1;
  min-height: 48px;
  border-radius: 14px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #ece5da;
}

.yr-quiz-back {
  background: #fbf8f4;
  color: #5d5851;
}

.yr-quiz-next {
  background: #3766ff;
  color: #fff;
  border-color: #3766ff;
  box-shadow: 0 10px 22px rgba(55, 102, 255, 0.22);
}

.yr-quiz-next:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.yr-quiz-done {
  text-align: center;
  padding: 12px 4px 8px;
}

.yr-quiz-done-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.15);
  color: #27ae60;
  font-size: 28px;
  line-height: 56px;
  font-weight: 700;
}

.yr-quiz-done h2 {
  margin: 0 0 10px;
  font-size: 22px;
  color: #171717;
}

.yr-quiz-done p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.55;
  color: #5d5851;
}

.yr-quiz-done-btn,
.yr-quiz-gift-btn {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: none;
  background: #3766ff;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(55, 102, 255, 0.22);
}

.yr-quiz-gift-btn {
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.yr-quiz-done-secondary {
  border: 1px solid #dfe4eb;
  color: #536176;
  background: #fff;
  box-shadow: none;
}

@media (max-width: 480px) {
  .yr-quiz-card {
    padding: 24px 18px 18px;
    border-radius: 18px;
  }

  .yr-quiz-title {
    font-size: 20px;
    padding-right: 32px;
  }
}

.hero-top-actions {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.auth-login-btn {
  border: none;
  background: transparent;
  color: #6b7280;
  border-radius: 0;
  padding: 6px 10px;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: none;
}

.auth-login-btn:hover {
  color: #4b5563;
  background: transparent;
}

@media (max-width: 768px) {
  .auth-login-btn {
    padding: 6px 8px;
    font-size: 13px;
  }
}
