/* Согласовано с главной apps/web/src/app/page.tsx: stone + emerald, светлая тема */

:root {
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --emerald-50: #ecfdf5;
  --emerald-200: #a7f3d0;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --radius-lg: 10px;
  --radius-xl: 12px;
  --radius-2xl: 16px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 10px 40px rgba(2, 6, 23, 0.06);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--stone-900);
  background: var(--stone-50);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.page {
  min-height: 100vh;
  background: var(--stone-50);
}

/* ——— Header (как на главной) ——— */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(245, 245, 244, 0.8);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
}

.header__inner {
  margin: 0 auto;
  display: flex;
  height: 3.5rem;
  max-width: 72rem;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(1rem, env(safe-area-inset-left)) 0 max(1rem, env(safe-area-inset-right));
}

@media (min-width: 640px) {
  .header__inner {
    padding: 0 2rem;
  }
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.header__logo {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--stone-800);
}

.header__ver {
  border-radius: 4px;
  background: var(--stone-100);
  padding: 0.125rem 0.375rem;
  font-size: 10px;
  font-weight: 500;
  color: var(--stone-600);
}

/* ——— Dots & labels ——— */
.dot {
  display: inline-block;
  border-radius: 9999px;
  background: var(--emerald-500);
  flex-shrink: 0;
}

.dot--emerald {
  width: 6px;
  height: 6px;
}

.dot--sm {
  width: 4px;
  height: 4px;
}

.dot--xs {
  width: 3px;
  height: 3px;
}

.dot--stone {
  width: 4px;
  height: 4px;
  background: var(--stone-400);
}

.dot--feat {
  width: 4px;
  height: 4px;
  background: var(--emerald-500);
}

.dot--meta {
  width: 6px;
  height: 6px;
  background: var(--emerald-500);
}

.label-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.label-row--center {
  justify-content: center;
}

.eyebrow {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--stone-500);
}

/* ——— Hero (как HeroSection на главной) ——— */
.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 3.25rem max(1rem, env(safe-area-inset-left)) 3rem max(1rem, env(safe-area-inset-right));
}

@media (min-width: 640px) {
  .hero {
    padding: 5rem 2rem 4rem;
  }
}

@media (min-width: 768px) {
  .hero {
    padding-top: 7rem;
    padding-bottom: 5rem;
  }
}

.hero .label-row {
  margin-bottom: 1.25rem;
}

.hero__grid {
  margin: 0 auto;
  max-width: 72rem;
  display: grid;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 640px) {
  .hero__grid {
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hero-stack {
  width: 100%;
  max-width: 24rem;
}

/* Стек карточек — позиции задаёт JS (как GoalsPreviewStack), плавные переходы */
.hero-stack__deck {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: clamp(220px, 52vw, 260px);
}

.hero-stack__slide {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  will-change: transform, opacity;
}

.hero-stack__slide .preview-card {
  pointer-events: none;
}

.hero-stack__slide.hero-stack__slide--front .preview-card {
  pointer-events: auto;
}

.hero-stack__slide:not(.hero-stack__slide--front) .preview-card__active {
  visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .hero-stack__slide {
    transition: none !important;
  }
}

.hero-stack__nav {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hero-stack__arrow {
  display: flex;
  min-height: 44px;
  min-width: 44px;
  height: 2.75rem;
  width: 2.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 9999px;
  background: transparent;
  color: var(--stone-400);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

@media (min-width: 640px) {
  .hero-stack__arrow {
    min-height: 1.75rem;
    min-width: 1.75rem;
    height: 1.75rem;
    width: 1.75rem;
  }
}

.hero-stack__arrow:hover {
  background: var(--stone-100);
  color: var(--stone-600);
}

.hero-stack__arrow:active {
  transform: scale(0.95);
}

.hero-stack__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.375rem;
  max-width: 100%;
}

.hero-stack__dot {
  height: 0.5rem;
  border: none;
  border-radius: 9999px;
  background: var(--stone-300);
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  transition: width 0.3s ease, background 0.15s ease;
}

.hero-stack__dot:hover {
  background: var(--stone-400);
}

.hero-stack__dot--active {
  width: 1.5rem;
  background: var(--stone-800);
}

.hero-stack__dot:not(.hero-stack__dot--active) {
  width: 0.5rem;
}

.hero-stack__category {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--stone-500);
}

.hero__text {
  text-align: center;
}

@media (min-width: 1024px) {
  .hero__text {
    text-align: left;
  }
}

.hero__title {
  margin: 0;
  font-size: clamp(1.75rem, 5.5vw + 0.85rem, 3rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--stone-800);
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 3.75rem;
    line-height: 1.1;
  }
}

.hero__lead {
  margin: 1.25rem 0 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--stone-600);
}

@media (min-width: 480px) {
  .hero__lead {
    font-size: 1.125rem;
    line-height: 1.625;
  }
}

@media (min-width: 768px) {
  .hero__lead {
    font-size: 1.25rem;
  }
}

.hero__sub {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--stone-500);
}

.hero__micro {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--stone-500);
}

@media (min-width: 1024px) {
  .hero__micro {
    justify-content: flex-start;
  }
}

.hero__micro span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.hero__cta {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.hero__cta .btn--primary {
  padding: 0.75rem 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero__cta .btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
  .hero__cta {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .hero__cta {
    justify-content: flex-start;
  }
}

.hero__secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--stone-600);
  text-decoration: none;
  transition: color 0.15s ease;
}

.hero__secondary:hover {
  color: var(--stone-800);
}

.hero__secondary-text {
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.hero__secondary:hover .hero__secondary-text {
  border-bottom-color: var(--stone-400);
}

.chev {
  color: var(--emerald-600);
  transition: transform 0.15s ease;
}

.hero__secondary:hover .chev {
  transform: translateX(2px);
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero__visual {
    justify-content: flex-end;
  }
}

.hero__glow {
  pointer-events: none;
  position: absolute;
  inset: -4rem;
  opacity: 0.7;
  background: radial-gradient(circle at 50% 40%, rgba(16, 185, 129, 0.1), transparent 55%);
}

/* Preview card (как Card + GoalPreviewCard в UI) */
.preview-card {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(231, 229, 228, 0.6);
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 1rem;
  text-align: left;
}

.preview-card__date {
  margin-bottom: 0.5rem;
  font-size: 10px;
  font-weight: 500;
  color: var(--stone-400);
}

.preview-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.preview-card__left {
  flex: 1;
  min-width: 0;
}

.preview-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.preview-card__kicker {
  margin: 0;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--stone-500);
}

.preview-card__active {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 9px;
  font-weight: 500;
  color: var(--emerald-600);
}

.preview-card__title {
  margin: 0.25rem 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--stone-800);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-card__title--wrap {
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.preview-card__streak {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background: rgba(255, 251, 235, 0.8);
  padding: 0.125rem 0.5rem;
  font-size: 10px;
  font-weight: 600;
  color: var(--amber-600);
}

.flame {
  font-size: 12px;
  line-height: 1;
}

.preview-card__progress {
  margin-top: 0.75rem;
}

.preview-card__progress-row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}

.preview-card__progress-row span:first-child {
  color: var(--stone-500);
}

.preview-card__progress-val {
  font-weight: 500;
  color: var(--stone-600);
}

.preview-card__bar {
  margin-top: 0.375rem;
  height: 6px;
  width: 100%;
  overflow: hidden;
  border-radius: 9999px;
  background: var(--stone-100);
}

.preview-card__bar-fill {
  height: 100%;
  border-radius: 9999px;
  background: var(--emerald-500);
  transition: width 0.5s ease;
}

.preview-card__meta {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
}

.preview-card__xp {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--stone-500);
}

.preview-card__ok {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--stone-600);
}

.preview-card__next {
  margin: 0.5rem 0 0;
  font-size: 10px;
  color: var(--stone-500);
}

.preview-card__next strong {
  font-weight: 500;
  color: var(--stone-700);
}

.preview-card__btn {
  margin-top: 0.75rem;
  height: 36px;
  width: 100%;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--stone-900);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: default;
}

/* ——— Общие заголовки секций ——— */
.section__narrow {
  margin: 0 auto;
  max-width: 48rem;
}

.section__head {
  text-align: center;
}

.section__head .label-row {
  justify-content: center;
}

.section__label {
  margin-bottom: 1rem;
}

.section__title {
  margin: 0;
  font-size: clamp(1.5rem, 4vw + 0.75rem, 1.875rem);
  font-weight: 600;
  color: var(--stone-800);
  text-wrap: balance;
}

@media (min-width: 640px) {
  .section__title {
    font-size: 2.25rem;
  }
}

.section__subtitle {
  margin: 0.75rem auto 0;
  max-width: 28rem;
  color: var(--stone-600);
}

.section__micro {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--stone-500);
}

.section__micro span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

/* Core loop */
.section-how {
  border-top: 1px solid var(--stone-100);
  padding: 3rem max(1rem, env(safe-area-inset-left)) 4rem max(1rem, env(safe-area-inset-right));
}

@media (min-width: 640px) {
  .section-how {
    padding: 4rem 2rem;
  }
}

@media (min-width: 768px) {
  .section-how {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.loop-wrap {
  position: relative;
  margin-top: 2.5rem;
}

.loop-glow {
  pointer-events: none;
  position: absolute;
  inset: -2rem;
  opacity: 0.5;
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.06), transparent 50%);
}

.loop {
  position: relative;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(231, 229, 228, 0.6);
  background: #fff;
  padding: 1.25rem 0.875rem 2.5rem;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 640px) {
  .loop {
    padding: 1.75rem 2rem 2rem;
  }
}

.loop__line {
  display: none;
}

@media (min-width: 640px) {
  .loop__line {
    display: block;
    position: absolute;
    left: 10%;
    right: 10%;
    top: 50%;
    height: 2px;
    transform: translateY(-50%);
    background: var(--stone-200);
  }
}

.loop__steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 0.625rem;
  align-items: start;
}

@media (min-width: 640px) {
  .loop__steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.25rem;
  }
}

.loop__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.loop__circle {
  display: flex;
  height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 2px solid var(--stone-200);
  background: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--stone-600);
}

@media (min-width: 640px) {
  .loop__circle {
    height: 3.5rem;
    width: 3.5rem;
    font-size: 0.875rem;
  }
}

.loop__circle--on {
  border-color: var(--emerald-500);
  background: var(--emerald-500);
  color: #fff;
}

.loop__label {
  margin-top: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--stone-800);
  text-align: center;
  line-height: 1.25;
  hyphens: auto;
  overflow-wrap: anywhere;
}

@media (min-width: 640px) {
  .loop__label {
    margin-top: 0.625rem;
    font-size: 0.875rem;
  }
}

.loop__sublabel {
  margin-top: 0.125rem;
  font-size: 10px;
  color: var(--stone-500);
  text-align: center;
}

@media (min-width: 640px) {
  .loop__sublabel {
    font-size: 0.75rem;
  }
}

.loop__pill {
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  border: 1px solid var(--emerald-200);
  background: var(--emerald-50);
  padding: 0.25rem 0.75rem;
  font-size: 10px;
  font-weight: 500;
  color: var(--emerald-700);
  box-shadow: var(--shadow-sm);
}

/* Секция «Возможности» — как на главной */
.section-features {
  border-top: 1px solid var(--stone-100);
  background: rgba(250, 250, 249, 0.3);
}

.section-features__intro {
  padding: 3.5rem max(1rem, env(safe-area-inset-left)) 0 max(1rem, env(safe-area-inset-right));
}

@media (min-width: 640px) {
  .section-features__intro {
    padding: 4rem 2rem 0;
  }
}

@media (min-width: 768px) {
  .section-features__intro {
    padding-top: 6rem;
  }
}

.feature-block {
  padding: 3rem max(1rem, env(safe-area-inset-left)) 4rem max(1rem, env(safe-area-inset-right));
}

@media (min-width: 640px) {
  .feature-block {
    padding: 4rem 2rem;
  }
}

@media (min-width: 768px) {
  .feature-block {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.feature-block--last {
  padding-bottom: 0;
}

.feature-block__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .feature-block__grid {
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .feature-block__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .feature-block--reverse .feature-block__text {
    order: 2;
  }

  .feature-block--reverse .feature-block__mock {
    order: 1;
  }
}

.feature-block__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.feature-block__eyebrow-txt {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--stone-500);
}

.feature-block__title {
  margin: 0;
  font-size: clamp(1.25rem, 3vw + 0.65rem, 1.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--stone-800);
  text-wrap: balance;
}

@media (min-width: 768px) {
  .feature-block__title {
    font-size: 1.875rem;
  }
}

.feature-block__desc {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--stone-600);
}

.feature-block__bullets {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-block__bullets li {
  position: relative;
  padding-left: 0.875rem;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.375;
  color: var(--stone-600);
}

.feature-block__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 4px;
  height: 4px;
  border-radius: 9999px;
  background: var(--emerald-500);
}

.feature-block__metric {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: var(--stone-100);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--stone-600);
}

.feature-block__divider {
  margin: 4rem auto 0;
  height: 1px;
  width: 4rem;
  background: rgba(231, 229, 228, 0.4);
}

@media (min-width: 768px) {
  .feature-block__divider {
    margin-top: 6rem;
  }
}

.feature-block--last .feature-block__grid {
  padding-bottom: 2rem;
}

.mock-card {
  position: relative;
  max-width: 28rem;
  margin: 0 auto;
}

.mock-card__surface {
  pointer-events: none;
  user-select: none;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(231, 229, 228, 0.7);
  background: rgba(255, 255, 255, 0.8);
  padding: 1rem;
  box-shadow: 0 10px 40px rgba(2, 6, 23, 0.06);
}

@media (min-width: 640px) {
  .mock-card__surface {
    padding: 1.25rem;
  }
}

.mock-card__caption {
  margin: 0.5rem 0 0;
  text-align: center;
  font-size: 10px;
  color: var(--stone-400);
}

.mock-focus__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mock-focus__kicker {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--stone-500);
}

.mock-focus__title {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--stone-800);
}

.mock-focus__steps {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.mock-focus__step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.375rem 0.625rem;
  border-radius: var(--radius-lg);
  font-size: 0.75rem;
  color: var(--stone-600);
}

.mock-focus__step--done {
  color: var(--stone-400);
  text-decoration: line-through;
}

.mock-focus__step--next {
  background: var(--emerald-50);
  color: var(--emerald-700);
  text-decoration: none;
}

.mock-focus__step--next::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--emerald-500);
  flex-shrink: 0;
}

.mock-focus__step:not(.mock-focus__step--next):not(.mock-focus__step--done)::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--stone-400);
  flex-shrink: 0;
}

.mock-focus__step--done::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--stone-300);
  flex-shrink: 0;
}

.mock-focus__badge {
  margin-left: auto;
  font-size: 9px;
  font-weight: 500;
}

.mock-report__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mock-report__today {
  font-size: 10px;
  font-weight: 500;
  color: var(--stone-500);
}

.mock-report__streak {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  background: rgba(255, 251, 235, 0.8);
  padding: 0.125rem 0.5rem;
  font-size: 10px;
  font-weight: 600;
  color: var(--amber-600);
}

.mock-report__flame {
  font-size: 12px;
  line-height: 1;
}

.mock-report__field {
  margin-top: 0.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--stone-200);
  background: rgba(250, 250, 249, 0.5);
  padding: 0.5rem 0.75rem;
}

.mock-report__field p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--stone-400);
}

.mock-report__progress {
  margin-top: 0.75rem;
}

.mock-report__progress-row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}

.mock-report__progress-row span:first-child {
  color: var(--stone-500);
}

.mock-report__progress-row span:last-child {
  font-weight: 500;
  color: var(--stone-600);
}

.mock-report__bar {
  margin-top: 0.375rem;
  height: 6px;
  border-radius: 9999px;
  background: var(--stone-100);
  overflow: hidden;
}

.mock-report__bar-fill {
  height: 100%;
  width: 50%;
  border-radius: 9999px;
  background: var(--emerald-500);
}

.mock-report__meta {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
}

.mock-report__xp {
  color: var(--stone-500);
}

.mock-report__ok {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--stone-600);
}

.mock-privacy__label {
  font-size: 10px;
  font-weight: 500;
  color: var(--stone-500);
}

.mock-privacy__pills {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.mock-privacy__pill {
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 11px;
  font-weight: 500;
  background: var(--stone-100);
  color: var(--stone-500);
}

.mock-privacy__pill--on {
  background: var(--emerald-500);
  color: #fff;
}

.mock-privacy__hint {
  margin-top: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--stone-100);
  background: rgba(250, 250, 249, 0.5);
  padding: 0.5rem 0.75rem;
}

.mock-privacy__hint p {
  margin: 0;
  font-size: 10px;
  color: var(--stone-400);
}

.mock-privacy__foot {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 10px;
  color: var(--stone-500);
}

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 max(1rem, env(safe-area-inset-left)) 4rem max(1rem, env(safe-area-inset-right));
}

@media (min-width: 640px) {
  .feature-chips {
    padding: 0 2rem 6rem;
  }
}

.feature-chip {
  cursor: default;
  border: none;
  border-radius: 9999px;
  background: var(--stone-100);
  padding: 0.375rem 0.75rem;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--stone-500);
}

.feature-chip:hover {
  background: var(--stone-200);
  color: var(--stone-700);
}

/* CTA + форма (визуально как CTASection на главной) */
.cta {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--stone-100);
  background: #fff;
  padding: 4rem max(1rem, env(safe-area-inset-left)) 5rem max(1rem, env(safe-area-inset-right));
}

@media (min-width: 640px) {
  .cta {
    padding: 5rem 2rem;
  }
}

@media (min-width: 768px) {
  .cta {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

.cta .label-row {
  margin-bottom: 1.5rem;
  justify-content: center;
}

.cta__glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background: radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.08), transparent 50%);
}

.cta__inner {
  position: relative;
  margin: 0 auto;
  max-width: 36rem;
  text-align: center;
}

.form-shell {
  margin-top: 2rem;
  text-align: left;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(231, 229, 228, 0.7);
  background: rgba(255, 255, 255, 0.85);
  padding: 1.125rem max(1rem, env(safe-area-inset-left)) 1.375rem max(1rem, env(safe-area-inset-right));
  box-shadow: var(--shadow-card);
  max-width: 100%;
}

@media (min-width: 640px) {
  .form-shell {
    padding: 1.5rem 1.75rem;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.field__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--stone-600);
}

.field input,
.field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--stone-900);
  background: var(--stone-50);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  padding: 0.65rem 0.85rem;
  width: 100%;
  max-width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.15s ease;
}

.btn--primary {
  background: var(--stone-900);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 0.75rem 2rem;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover:not(:disabled) {
  background: var(--stone-800);
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.btn--primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

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

.privacy {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  color: var(--stone-500);
  line-height: 1.45;
}

.alert {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.alert--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.alert--ok {
  background: var(--emerald-50);
  border: 1px solid var(--emerald-200);
  color: var(--emerald-700);
}

/* Footer */
.footer {
  border-top: 1px solid var(--stone-200);
  background: #fff;
  padding: 2rem max(1rem, env(safe-area-inset-left)) calc(2rem + env(safe-area-inset-bottom, 0px))
    max(1rem, env(safe-area-inset-right));
}

@media (min-width: 640px) {
  .footer {
    padding: 2rem 2rem calc(2rem + env(safe-area-inset-bottom, 0px));
  }
}

.footer__inner {
  margin: 0 auto;
  max-width: 72rem;
}

.footer__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .footer__row {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__logo {
  font-size: 1rem;
  font-weight: 600;
  color: var(--stone-900);
}

.footer__copy {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--stone-400);
}

@media (min-width: 640px) {
  .footer__copy {
    text-align: left;
  }
}

