/* ===== Design tokens ===== */
:root {
  --bg: #FAF7F2;
  --bg-warm: #F3EDE4;
  --surface: #FFFFFF;
  --text: #2C2C2C;
  --text-muted: #6B6560;
  --text-light: #9A948E;
  --wine: #7B2D3B;
  --wine-deep: #5E2230;
  --wine-soft: rgba(123, 45, 59, 0.08);
  --gold: #B8956A;
  --gold-soft: rgba(184, 149, 106, 0.15);
  --green: #5A8F6E;
  --green-soft: rgba(90, 143, 110, 0.12);
  --radius-card: 20px;
  --radius-btn: 17px;
  --radius-sm: 12px;
  --shadow-soft: 0 4px 24px rgba(44, 44, 44, 0.06);
  --max: 520px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100svh;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== Decorative background ===== */
.deco {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.deco__blob {
  position: absolute;
  top: -80px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 45, 59, 0.1) 0%, rgba(123, 45, 59, 0.03) 70%, transparent 100%);
}

.deco__dots {
  position: absolute;
  bottom: 12%;
  left: 8%;
  width: 60px;
  height: 60px;
  background-image: radial-gradient(circle, var(--gold) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: 0.25;
}

.deco__line {
  position: absolute;
  top: 18%;
  left: 0;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
  opacity: 0.4;
}

/* ===== Page layout ===== */
.page {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding:
    max(12px, var(--safe-top))
    16px
    max(16px, calc(12px + var(--safe-bottom)));
}

.shell {
  width: 100%;
  max-width: var(--max);
}

.layout {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.layout__content {
  width: 100%;
}

/* ===== Entrance animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: rise-in 500ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-item {
  opacity: 0;
  transform: translateY(8px);
  animation: rise-in 450ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(80ms + var(--i, 0) * 60ms);
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-item {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ===== Badge ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
  border: 1px solid rgba(90, 143, 110, 0.18);
}

.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: dot-pulse 2.4s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@media (prefers-reduced-motion: reduce) {
  .badge__dot {
    animation: none;
  }
}

/* ===== Typography ===== */
.title {
  font-size: clamp(28px, 8.2vw, 36px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 8px;
}

.title__accent {
  color: var(--wine);
}

.subtitle {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.4;
}

/* ===== Trust line ===== */
.trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 10px;
}

.trust__icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--gold);
}

/* ===== Benefits grid ===== */
.benefits {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.benefit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid rgba(44, 44, 44, 0.06);
  box-shadow: var(--shadow-soft);
}

.benefit__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--wine-soft);
  color: var(--wine);
  margin-bottom: 2px;
}

.benefit__icon svg {
  width: 18px;
  height: 18px;
}

.benefit__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.benefit__hint {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-light);
  line-height: 1.3;
}

/* ===== CTA ===== */
.cta-stack {
  width: 100%;
  margin-bottom: 10px;
}

.cta {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 68px;
  padding: 15px 20px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.cta--primary {
  background: var(--wine);
  color: #fff;
  box-shadow:
    0 8px 28px rgba(123, 45, 59, 0.28),
    0 2px 8px rgba(123, 45, 59, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.cta--primary:hover {
  background: var(--wine-deep);
  box-shadow:
    0 10px 32px rgba(123, 45, 59, 0.32),
    0 2px 10px rgba(123, 45, 59, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.cta--primary:active {
  transform: scale(0.98);
}

.cta:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.cta__plane {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.9;
}

.cta__text {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  flex: 1;
  text-align: center;
}

.cta__arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.85;
}

/* ===== Note ===== */
.note {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  line-height: 1.4;
  text-align: center;
}

/* ===== Illustration ===== */
.illustration {
  display: none;
}

/* ===== Mobile fine-tuning ===== */
@media (max-width: 359px) {
  .title {
    font-size: 26px;
  }

  .benefit {
    padding: 12px 10px;
  }

  .benefit__label {
    font-size: 12px;
  }

  .benefit__hint {
    font-size: 10px;
  }

  .cta__text {
    font-size: 16px;
  }
}

/* ===== Desktop (secondary) ===== */
@media (min-width: 768px) {
  .page {
    align-items: center;
    padding:
      max(32px, var(--safe-top))
      24px
      max(32px, calc(24px + var(--safe-bottom)));
  }

  .layout {
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }

  .layout__content {
    flex: 1;
    min-width: 0;
  }

  .illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 180px;
  }

  .illustration__svg {
    width: 180px;
    height: 180px;
  }

  .title {
    font-size: 38px;
  }

  .subtitle {
    font-size: 16px;
  }

  .benefits {
    gap: 12px;
  }

  .benefit {
    padding: 16px 14px;
  }

  .benefit__label {
    font-size: 14px;
  }

  .benefit__hint {
    font-size: 12px;
  }

  .cta--primary {
    min-height: 70px;
  }

  .cta__text {
    font-size: 19px;
  }

  .trust {
    justify-content: flex-start;
  }

  .note {
    text-align: left;
  }
}
