:root {
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --accent: #a855f7;
  --accent-dark: #9333ea;
  --bg: #ffffff;
  --bg-soft: #f5f8ff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --gradient: linear-gradient(135deg, #3b82f6 0%, #a855f7 100%);
  --shadow-soft: 0 4px 20px -2px rgba(59,130,246,.1);
  --shadow-medium: 0 8px 30px -4px rgba(59,130,246,.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 768px; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand img { height: 32px; width: auto; }
.nav-links { display: none; gap: 24px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text); transition: color .2s; }
.nav-links a:hover { color: var(--primary); }
.header-cta { display: flex; gap: 8px; }

@media (min-width: 900px) { .nav-links { display: flex; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  border: none; cursor: pointer;
  transition: all .3s;
  white-space: nowrap;
}
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: rgba(0,0,0,.05); }
.btn-gradient {
  background: var(--gradient); color: white;
  box-shadow: 0 4px 14px rgba(59,130,246,.4);
}
.btn-gradient:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 24px rgba(59,130,246,.5); }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* Hero */
.hero { position: relative; padding: 64px 0 48px; overflow: hidden; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 50%, var(--bg) 100%); }
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top, rgba(59,130,246,.15), transparent 50%);
  opacity: .5; pointer-events: none;
}
.hero-inner { position: relative; max-width: 900px; }
.badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(168,85,247,.15), rgba(59,130,246,.15));
  color: var(--text); font-size: 13px; font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; line-height: 1.1; margin: 0 0 20px; letter-spacing: -.02em; }
.hero h1 .block { display: block; margin-top: 8px; }
.text-gradient { background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.lead { font-size: 1.25rem; color: var(--muted); max-width: 640px; margin: 0; line-height: 1.6; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 32px; font-size: 14px; color: var(--muted); }
.hero-meta .check { color: #16a34a; font-weight: 500; }

/* Content */
.content { padding: 64px 0 96px; }
.content h2 { font-size: 1.875rem; font-weight: 800; margin: 48px 0 20px; letter-spacing: -.01em; }
.content h2:first-child { margin-top: 0; }
.p-lg { font-size: 1.125rem; line-height: 1.75; margin: 0 0 18px; }
.p-lg strong { color: var(--text); font-weight: 700; }

/* CTA boxes */
.cta-box {
  display: flex; flex-direction: column; gap: 20px;
  padding: 28px; margin: 40px 0;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  background: linear-gradient(90deg, rgba(59,130,246,.06), rgba(168,85,247,.06));
}
.cta-box.cta-accent { border-left-color: var(--accent); background: linear-gradient(90deg, rgba(168,85,247,.06), rgba(59,130,246,.06)); }
.cta-box h3 { margin: 0 0 8px; font-size: 1.25rem; font-weight: 700; }
.cta-box p { margin: 0; color: var(--muted); }
@media (min-width: 720px) { .cta-box { flex-direction: row; align-items: center; } .cta-box > div:first-child { flex: 1; } }

/* Numbered list */
.numbered-list { list-style: none; padding: 0; margin: 0; }
.numbered-list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 0; font-size: 1.0625rem; line-height: 1.6;
}
.numbered-list .num {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 999px;
  background: var(--primary); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; margin-top: 2px;
}

/* Grid */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 24px 0; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.rule-card {
  padding: 18px; border-radius: 12px;
  background: linear-gradient(145deg, var(--bg), var(--bg-soft));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: transform .3s, box-shadow .3s;
}
.rule-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-medium); }
.rule-card h4 { margin: 0 0 4px; color: var(--primary); font-weight: 700; }
.rule-card p { margin: 0; font-size: 14px; color: var(--muted); }
.benefit {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 16px; border-radius: 10px;
  background: rgba(59,130,246,.06);
  font-size: 14px; font-weight: 500;
}

/* Alert */
.alert-box {
  display: flex; gap: 16px; padding: 28px;
  margin: 40px 0; border-radius: 12px;
  background: linear-gradient(135deg, #fffbeb, #fff7ed);
  border: 1px solid #fde68a;
}
.alert-icon { font-size: 28px; color: #d97706; flex-shrink: 0; }
.alert-box h3 { margin: 0 0 12px; color: #78350f; font-size: 1.125rem; }
.alert-box p { margin: 0 0 12px; color: var(--text); line-height: 1.7; }

/* Steps */
.steps { display: flex; flex-direction: column; gap: 24px; }
.step { display: flex; gap: 16px; }
.step-num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 999px;
  background: var(--gradient); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px;
}
.step h4 { margin: 4px 0 4px; font-size: 1.125rem; }
.step p { margin: 0; color: var(--muted); line-height: 1.65; }

/* Final CTA */
.final-cta {
  text-align: center; padding: 48px 24px;
  margin: 48px 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(59,130,246,.1), rgba(168,85,247,.1), rgba(59,130,246,.1));
}
.final-cta h2 { margin: 0 0 12px; }
.final-cta p { color: var(--muted); max-width: 520px; margin: 0 auto 28px; font-size: 1.125rem; }
.final-cta .fine-print { font-size: 13px; margin-top: 16px; }

/* FAQ */
.sep { border: none; border-top: 1px solid var(--border); margin: 48px 0; }
.faq { display: flex; flex-direction: column; gap: 16px; }
.faq details {
  padding: 18px 20px; border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow-soft); }
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 1.0625rem;
  list-style: none; outline: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; font-size: 22px; color: var(--primary); line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 12px 0 0; color: var(--muted); line-height: 1.7; }

/* Footer */
.site-footer { background: #0f172a; color: #e2e8f0; padding: 64px 0 24px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-logo { height: 40px; width: auto; margin-bottom: 12px; filter: brightness(0) invert(1); }
.site-footer p { color: #94a3b8; font-size: 14px; line-height: 1.6; }
.site-footer h4 { font-size: 1rem; margin: 0 0 12px; color: white; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { padding: 4px 0; font-size: 14px; color: #94a3b8; }
.site-footer ul li a:hover { color: white; }
.footer-bottom {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid #1e293b;
  font-size: 13px; color: #64748b;
}
@media (min-width: 720px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
