:root {
  --ink: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --panel: #f8fafc;
  --accent: #4f46e5;
  --accent-2: #0ea5e9;
  --night: #0b1020;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.prose { max-width: 720px; }

/* Header */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 16, 32, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}
nav { display: flex; flex-wrap: wrap; gap: 4px; }
nav a { color: rgba(255, 255, 255, 0.7); font-size: 15px; padding: 6px 12px; border-radius: 999px; }
nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); text-decoration: none; }
nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.12); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--night);
  color: #fff;
  padding: 96px 0 104px;
}
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto;
  width: 820px; height: 820px;
  background: radial-gradient(closest-side, rgba(79, 70, 229, 0.55), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: auto auto -55% -15%;
  width: 760px; height: 760px;
  background: radial-gradient(closest-side, rgba(14, 165, 233, 0.35), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: #c7d2fe; padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(199, 210, 254, 0.25); background: rgba(255, 255, 255, 0.04);
}
.hero h1 {
  font-size: clamp(38px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.035em;
  margin: 20px 0 20px; max-width: 16ch; color: #fff;
}
.hero h1 .grad {
  background: linear-gradient(90deg, #a5b4fc, #7dd3fc);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede { font-size: clamp(18px, 2.2vw, 21px); color: rgba(255, 255, 255, 0.75); max-width: 60ch; margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 16px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: #fff; color: var(--night); box-shadow: 0 8px 24px rgba(79, 70, 229, 0.35); }
.btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, 0.25); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* Sections */
section { padding: 80px 0; }
section.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; letter-spacing: -0.025em; color: var(--ink); margin: 0 0 16px; }
h3 { font-size: 19px; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 8px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
p.section-lede { font-size: 19px; color: var(--muted); max-width: 62ch; margin: 0 0 40px; }

/* Cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  position: relative; display: block;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; color: var(--body);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
a.card:hover { text-decoration: none; transform: translateY(-3px); border-color: #c7d2fe; box-shadow: 0 18px 40px -18px rgba(15, 23, 42, 0.25); }
.card .icon {
  width: 40px; height: 40px; border-radius: 12px; margin-bottom: 18px;
  display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 15px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.card p { margin: 0; }
.card .more { display: inline-block; margin-top: 16px; font-weight: 600; color: var(--accent); }

/* Steps */
ol.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 14px; }
ol.steps li {
  counter-increment: step; position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px 20px 76px;
}
ol.steps li::before {
  content: counter(step);
  position: absolute; left: 22px; top: 20px;
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; font-weight: 700; font-size: 15px; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
ol.steps li strong { display: block; color: var(--ink); }

/* Checklist */
ul.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
ul.checks li { position: relative; padding-left: 34px; }
ul.checks li::before {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 20px; height: 20px; border-radius: 6px;
  background: rgba(79, 70, 229, 0.12);
}
ul.checks li::after {
  content: ""; position: absolute; left: 7px; top: 9px;
  width: 5px; height: 9px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
ul.checks strong { color: var(--ink); }

/* CTA band */
.cta {
  background: var(--night); color: #fff; border-radius: 24px;
  padding: 48px; position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; right: -120px; top: -160px; width: 480px; height: 480px;
  background: radial-gradient(closest-side, rgba(79, 70, 229, 0.5), transparent 70%);
}
.cta > * { position: relative; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.75); max-width: 56ch; margin: 0; }

/* Footer */
footer { color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 32px; padding-bottom: 40px; border-top: 1px solid var(--line); }

@media (max-width: 640px) {
  .hero { padding: 64px 0 72px; }
  section { padding: 56px 0; }
  .cta { padding: 32px 24px; }
  ol.steps li { padding-left: 68px; }
}
