:root {
  --bg: #FFFBF5;
  --bg-card: #FFFFFF;
  --text: #1A1A2E;
  --text-muted: #5A5A7A;
  --primary: #E8632B;
  --primary-light: #FFF0E8;
  --accent: #1B9C85;
  --accent-light: #E8F8F4;
  --border: #E8E4DE;
  --shadow: rgba(0,0,0,0.06);
  --gradient-start: #E8632B;
  --gradient-end: #F2994A;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F0F1A;
    --bg-card: #1A1A2E;
    --text: #F0ECE4;
    --text-muted: #9A9AB0;
    --primary: #F28C5A;
    --primary-light: #2A1A10;
    --accent: #2EC4A6;
    --accent-light: #0A2A22;
    --border: #2A2A40;
    --shadow: rgba(0,0,0,0.2);
  }
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ─────────────────────────────────────────────── */

nav {
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
}

.logo span { color: var(--primary); }

nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
}

nav a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover { color: var(--primary); text-decoration: none; }

/* ── Hero ────────────────────────────────────────────── */

.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 36px;
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: #fff;
}

.btn-outline {
  background: var(--bg-card);
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn svg { width: 20px; height: 20px; }

/* ── Features ────────────────────────────────────────── */

.features {
  padding: 60px 0 80px;
}

.features h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.features > .container > p {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--shadow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── How it works ────────────────────────────────────── */

.how-it-works {
  padding: 60px 0;
}

.how-it-works h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 48px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.steps h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.steps p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ── CTA section ─────────────────────────────────────── */

.cta-section {
  padding: 80px 0;
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 24px;
  padding: 60px 40px;
  color: #fff;
}

.cta-box h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-box p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 32px;
}

.cta-box .btn {
  background: #fff;
  color: var(--gradient-start);
}

/* ── Footer ──────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

footer p {
  font-size: 13px;
  color: var(--text-muted);
}

footer ul {
  display: flex;
  gap: 24px;
  list-style: none;
}

footer a {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Legal pages ─────────────────────────────────────── */

.legal {
  padding: 60px 0 80px;
  max-width: 720px;
  margin: 0 auto;
}

.legal h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal .effective {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 36px;
}

.legal h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 36px 0 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.legal h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.legal p, .legal li {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.legal ul, .legal ol {
  padding-left: 24px;
  margin-bottom: 12px;
}

.legal li { margin-bottom: 6px; }

.legal strong { color: var(--text); }

/* ── Responsive ──────────────────────────────────────── */

@media (max-width: 640px) {
  .hero { padding: 48px 0 40px; }
  .cta-box { padding: 40px 24px; }
  nav ul { gap: 16px; }
  footer .container { flex-direction: column; text-align: center; }
}
