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

:root {
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-50: #f0fdf4;
  --bg: #f9fafb;
  --bg-card: #ffffff;
  --gray-100: #f3f4f6;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-900: #111827;
  --border: #d1d5db;
  --radius: 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --green-50: #052e16;
    --bg: #0a0a0a;
    --bg-card: #18181b;
    --gray-100: #27272a;
    --gray-400: #71717a;
    --gray-500: #a1a1aa;
    --gray-600: #d4d4d8;
    --gray-900: #fafafa;
    --border: #3f3f46;
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--gray-900);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

.page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 0 24px;
}

.container {
  max-width: 720px;
  width: 100%;
  padding: 64px 0 48px;
}

/* Шапка / Логотип */
.hero {
  text-align: center;
  margin-bottom: 64px;
  padding: 32px 0;
}

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

.logo-icon svg {
  width: 56px;
  height: 56px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.1;
}

.logo-pass {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--gray-900);
}

.logo-moscow {
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-500);
  margin-top: -2px;
}

/* Карточки фич */
.features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--green-50);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-600);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-content h2 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.feature-content p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.5;
}

/* CTA */
.cta {
  background: var(--green-50);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 40px;
}

.cta-text {
  font-size: 15px;
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.6;
}

.cta-form {
  display: flex;
  gap: 8px;
}

.cta-form input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  background: var(--bg-card);
  color: var(--gray-900);
  min-width: 0;
}

.cta-form input:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.cta-form input::placeholder {
  color: var(--gray-400);
}

.cta-form button {
  background: var(--green-500);
  color: white;
  font-weight: 600;
  font-size: 14px;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

.cta-form button:hover:not(:disabled) {
  background: var(--green-600);
}

.cta-form button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.cta-error {
  font-size: 13px;
  color: #ef4444;
  margin-top: 8px;
}

/* Контакт / Сотрудничество */
.contact {
  text-align: center;
  padding: 28px 24px;
  background: var(--bg-card);
  border-radius: var(--radius);
}

.contact-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

.contact a {
  color: var(--green-600);
  text-decoration: none;
  font-weight: 600;
}

.contact a:hover {
  text-decoration: underline;
}

/* Адаптивность — мобильный */
@media (max-width: 400px) {
  .cta-form {
    flex-direction: column;
  }
}

/* Адаптивность — десктоп */
@media (min-width: 768px) {
  .container {
    max-width: 960px;
    padding: 80px 0 64px;
  }

  .hero {
    margin-bottom: 72px;
    padding: 40px 0;
  }

  .logo-icon svg {
    width: 64px;
    height: 64px;
  }

  .logo-pass {
    font-size: 42px;
  }

  .logo-moscow {
    font-size: 18px;
  }

  .features {
    flex-direction: row;
    gap: 16px;
    margin-bottom: 48px;
  }

  .feature-card {
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px;
    gap: 16px;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
  }

  .feature-icon svg {
    width: 24px;
    height: 24px;
  }

  .feature-content h2 {
    font-size: 16px;
  }

  .cta {
    padding: 36px 40px;
    margin-bottom: 48px;
  }

  .cta-text {
    font-size: 16px;
  }

  .contact {
    padding: 36px 40px;
  }

  .contact-title {
    font-size: 20px;
  }

  .contact p {
    font-size: 16px;
  }
}
