/* Base styles */
:root {
  --bg: #0b1020;
  --panel: #0f172a;
  --muted: #94a3b8;
  --text: #e2e8f0;
  --brand: #0d9488; /* teal-600 */
  --brand-700: #0f766e;
  --accent: #22d3ee;
  --ok: #10b981;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 600px at 20% -10%, rgba(34,211,238,0.15), transparent 60%),
              radial-gradient(800px 500px at 90% 0%, rgba(13,148,136,0.2), transparent 50%),
              var(--bg);
  line-height: 1.55;
}

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.row { display: flex; }
.between { justify-content: space-between; }
.center { align-items: center; }
.gap { gap: 14px; }
.grid { display: grid; gap: 28px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .grid.two, .grid.three { grid-template-columns: 1fr; }
  .nav { display: none; }
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(160%) blur(8px);
  background: rgba(11,16,32,0.7);
  border-bottom: 1px solid rgba(148,163,184,0.15);
}
.brand { display: inline-block; padding: 16px 0; font-weight: 700; color: var(--text); text-decoration: none; }
.nav a { color: var(--muted); text-decoration: none; margin-left: 16px; padding: 10px 0; }
.nav a:hover { color: var(--text); }
.nav .cta { color: white; margin-left: 24px; padding: 8px 14px; background: var(--brand); border-radius: 8px; }
.nav .cta:hover { background: var(--brand-700); }

/* Hero */
.hero { padding: 80px 0 46px; }
.hero h1 { font-size: clamp(28px, 5vw, 44px); line-height: 1.15; margin: 0 0 14px; }
.hero .lead { color: var(--muted); font-size: clamp(16px, 2vw, 20px); max-width: 900px; }
.actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; border: 1px solid rgba(148,163,184,0.2); color: var(--text); text-decoration: none; padding: 10px 14px; border-radius: 10px; }
.btn.primary { background: var(--brand); color: #fff; border-color: transparent; }
.btn.primary:hover { background: var(--brand-700); }
.btn.ghost:hover { border-color: rgba(226,232,240,0.5); }
.btn.block { width: 100%; text-align: center; }
.trust { margin-top: 24px; color: var(--muted); font-size: 14px; }
.trust a { color: var(--text); }

/* Sections */
.section { padding: 60px 0; }
.section.alt { background: linear-gradient(180deg, rgba(148,163,184,0.06), rgba(148,163,184,0.02)); border-top: 1px solid rgba(148,163,184,0.1); border-bottom: 1px solid rgba(148,163,184,0.1); }

.card { background: var(--panel); border: 1px solid rgba(148,163,184,0.2); border-radius: 14px; padding: 18px 18px; box-shadow: 0 10px 30px rgba(2,6,23,0.3);
}

.facts { display: grid; grid-template-columns: max-content 1fr; column-gap: 12px; row-gap: 6px; font-size: 15px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }

.checklist { padding-left: 0; list-style: none; }
.checklist li { margin: 10px 0; padding-left: 28px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); }

/* Steps */
.steps .step { position: relative; padding: 22px; background: var(--panel); border: 1px solid rgba(148,163,184,0.2); border-radius: 14px; }
.steps .num { position: absolute; top: -14px; left: -14px; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: white; display: grid; place-items: center; font-weight: 700; box-shadow: 0 10px 30px rgba(2,6,23,0.4); }

/* Code card */
.code { padding: 0; overflow: hidden; }
.code .code-header { padding: 10px 14px; border-bottom: 1px solid rgba(148,163,184,0.2); background: rgba(2,6,23,0.5); border-radius: 14px 14px 0 0; color: var(--muted); font-size: 14px; }
.code pre { margin: 0; padding: 14px; overflow: auto; background: rgba(2,6,23,0.6); }
.code code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 13px; }

/* Form */
.form .row { flex-wrap: wrap; }
.field { display: grid; gap: 6px; flex: 1 1 260px; }
.field input, .field textarea {
  width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(148,163,184,0.25); background: rgba(15,23,42,0.5); color: var(--text);
}
.field input:focus, .field textarea:focus { outline: 2px solid rgba(34,211,238,0.35); border-color: rgba(34,211,238,0.5); }
.footnote { color: var(--muted); font-size: 12px; margin-top: 6px; }
.success { color: #34d399; }

/* Footer */
.site-footer { padding: 24px 0; border-top: 1px solid rgba(148,163,184,0.15); background: rgba(2,6,23,0.25); }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

