:root {
  --bg: #0b1220;
  --bg-alt: #121b2e;
  --surface: #16223a;
  --surface-2: #1d2c49;
  --text: #e9eef7;
  --muted: #9fb0c9;
  --accent: #38bdf8;
  --accent-2: #7c3aed;
  --accent-warm: #f59e0b;
  --border: #243352;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.5px;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  width: 1.6em;
  height: 1.6em;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
}
.brand-text { margin-left: 4px; }
.nav nav { display: flex; align-items: center; gap: 22px; }
.nav nav a { color: var(--muted); font-weight: 500; }
.nav nav a:hover { color: var(--text); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  padding: 90px 0 70px;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(124, 58, 237, 0.30), transparent 60%),
    radial-gradient(900px 500px at 0% 0%, rgba(56, 189, 248, 0.22), transparent 55%),
    var(--bg);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 14px;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 18px;
  font-weight: 800;
}
.hero .lead {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--muted);
  max-width: 720px;
  margin: 0 0 28px;
}
.accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-proof {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent-warm);
  padding: 14px 18px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0;
}

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  margin: 0 0 16px;
  font-weight: 800;
}
.section-intro { color: var(--muted); max-width: 760px; font-size: 1.08rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 10px; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); }
.card-accent { border-color: var(--accent); background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.badge {
  display: inline-block;
  font-weight: 800;
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

/* ---------- ESM ---------- */
.esm-box {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}
.esm-box h3 { margin-top: 0; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 28px; margin: 10px 0; color: var(--muted); }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}
.esm-cta {
  background: var(--surface-2);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.esm-cta p { margin: 0; color: var(--text); }
.esm-mail a { color: var(--accent); font-weight: 600; }

.section-cta { background: linear-gradient(135deg, rgba(124,58,237,0.25), rgba(56,189,248,0.18)); }
.center { text-align: center; }
.section-cta .section-intro { margin: 0 auto 24px; }

/* ---------- Contact ---------- */
.contact-section { padding-top: 60px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; }
.contact-intro h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 16px; font-weight: 800; }
.contact-intro p { color: var(--muted); }
.contact-direct { margin-top: 22px; font-weight: 600; }
.contact-direct a { color: var(--accent); }

.form-status {
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 18px;
  font-weight: 600;
  border: 1px solid var(--border);
}
.form-status.ok { background: rgba(34,197,94,0.12); border-color: #22c55e; color: #b9f6c8; }
.form-status.err { background: rgba(239,68,68,0.12); border-color: #ef4444; color: #fecaca; }

.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 7px; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input, .field textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.18);
}
.field textarea { resize: vertical; }
.field.challenge { background: var(--surface-2); padding: 14px; border-radius: 10px; }
.hp { /* honeypot hidden via inline style too */ }
.form-note { color: var(--muted); font-size: 0.85rem; margin: 4px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 40px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; align-items: start; }
.footer-note { color: var(--muted); font-size: 0.92rem; max-width: 280px; }
.footer-grid nav { display: flex; flex-direction: column; gap: 8px; }
.footer-grid nav a { color: var(--muted); }
.footer-contact p { color: var(--muted); margin: 4px 0; }
.footer-bottom { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border); }
.footer-bottom p { color: var(--muted); font-size: 0.85rem; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-2, .grid-3, .esm-box, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .nav nav { gap: 12px; }
  .nav nav a:not(.btn) { display: none; }
  .hero { padding: 60px 0 50px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav nav .btn-ghost { display: inline-block; }
}
