:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --text: #172033;
  --muted: #6f788a;
  --border: #e4e8ef;
  --accent: #4f6df5;
  --accent-dark: #3e5bd8;
  --accent-soft: #eef1ff;
  --shadow: 0 16px 45px rgba(31, 42, 68, 0.08);
  --radius: 22px;
  --error: #b42318;
}

/* =========================
   BASE
========================= */

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
}

.hidden {
  display: none !important;
}

.app {
  width: 100%;
  min-height: 100vh;
  padding: 40px 20px;
}

.container {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

/* =========================
   TYPOGRAPHY
========================= */

h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -1.5px;
}

.subtitle,
.start-description,
.lead {
  color: var(--muted);
  line-height: 1.6;
}

/* =========================
   CARDS
========================= */

.card,
.hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
/* =========================
   BUTTONS
========================= */

.primary,
.secondary,
.btn,
.btn-primary,
.btn-secondary {
  border: 0;
  border-radius: 13px;
  padding: 15px 25px;
  min-height: 50px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    opacity 0.15s ease,
    box-shadow 0.15s ease;
}

.primary,
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(79, 109, 245, 0.22);
}

.primary:hover:not(:disabled),
.btn-primary:hover:not(:disabled) {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.primary:active:not(:disabled),
.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.secondary,
.btn-secondary {
  background: #eef1f5;
  color: var(--text);
}

.secondary:hover:not(:disabled),
.btn-secondary:hover:not(:disabled) {
  background: #e4e8ef;
  transform: translateY(-1px);
}

.primary:disabled,
.secondary:disabled,
.btn-primary:disabled,
.btn-secondary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* =========================
   BADGES / META
========================= */

.badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px;
}

.meta {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.meta span {
  padding: 9px 12px;
  background: #f7f8fb;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  color: var(--muted);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 650px) {
  .app {
    padding: 12px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
