:root {
  --ink: #0f172a;
  --muted: #5b6475;
  --line: #e6e8ef;
  --bg: #ffffff;
  --soft: #f5f6fb;
  --brand: #4f46e5;
  --brand-2: #9333ea;
  --accent: #f59e0b;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  line-height: 1.6;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--brand); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; }
.nav .links { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.nav .links a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav .links a:hover { color: var(--ink); }
.btn { display: inline-block; background: var(--brand); color: #fff !important; padding: 12px 20px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 0; }
.btn:hover { filter: brightness(1.08); }
.btn.small { padding: 8px 14px; font-size: 14px; }
.btn.ghost { background: #fff; color: var(--ink) !important; border: 1px solid var(--line); }

/* Hero */
.hero { padding: 84px 0 64px; background: radial-gradient(1200px 400px at 80% -10%, #ede9fe 0, transparent 60%), radial-gradient(800px 360px at -10% 10%, #e0e7ff 0, transparent 60%); }
.hero .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); background: #eef2ff; padding: 5px 12px; border-radius: 99px; }
h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.06; letter-spacing: -.03em; margin: 16px 0 18px; }
h1 span { background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 0 26px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.stack { position: relative; height: 420px; }
.stack img { position: absolute; width: 62%; border-radius: 16px; box-shadow: 0 18px 50px rgba(15, 23, 42, .18); }
.stack img:nth-child(1) { left: 0; top: 30px; transform: rotate(-5deg); }
.stack img:nth-child(2) { right: 0; top: 0; transform: rotate(4deg); }
.stack img:nth-child(3) { left: 20%; bottom: 0; transform: rotate(-1deg); }
.note { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--soft); }
h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.02em; line-height: 1.15; margin: 0 0 10px; }
.section-lead { color: var(--muted); font-size: 17px; max-width: 640px; margin: 0 0 36px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.card .ic { font-size: 26px; }
.card h3 { margin: 10px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.step { position: relative; padding: 24px 24px 24px 72px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 22px; top: 22px; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 800; display: grid; place-items: center; }
.step h3 { margin: 0 0 4px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { padding-left: 32px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: #dcfce7; color: #166534; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { color: var(--muted); margin: 10px 0 0; }
.final { text-align: center; background: linear-gradient(135deg, #312e81, #6b21a8); color: #fff; border-radius: 24px; padding: 56px 24px; }
.final p { color: #e0e7ff; font-size: 18px; margin: 0 auto 24px; max-width: 560px; }
.final .btn { background: #fff; color: var(--ink) !important; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); }

/* Legal pages */
.legal { padding: 48px 0 72px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: 38px; margin-bottom: 6px; }
.legal .updated { color: var(--muted); margin: 0 0 32px; }
.legal h2 { font-size: 22px; margin: 36px 0 8px; }
.legal h3 { font-size: 17px; margin: 22px 0 6px; }
.legal p, .legal li { color: #334155; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; }
.legal th, .legal td { text-align: left; border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; }
.legal th { background: var(--soft); }
.callout { background: #eef2ff; border: 1px solid #c7d2fe; border-radius: 12px; padding: 14px 18px; }

@media (max-width: 860px) {
  .hero .grid, .two { grid-template-columns: 1fr; }
  .stack { height: 340px; }
  .nav .links a:not(.btn) { display: none; }
}
