:root {
  --bg: #0b1220;
  --bg-alt: #0f182b;
  --surface: #131e34;
  --border: #22304d;
  --text: #e6ebf5;
  --muted: #94a3c0;
  --accent: #38bdf8;
  --accent-2: #f59e0b;
  --radius: 14px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

.wrap { max-width: 1100px; margin: 0 auto; padding-inline: 24px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 18, 32, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.nav nav { display: flex; align-items: center; gap: 24px; }
.nav nav a { color: var(--muted); font-size: 15px; }
.nav nav a:hover { color: var(--text); text-decoration: none; }
.nav nav a.btn { color: #06101f; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #06101f;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); background: #7dd3fc; }
.btn-sm { padding: 7px 16px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface); }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: 120px 110px; }
.hero .wrap { position: relative; z-index: 1; }
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(56,189,248,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,.07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 70% at 70% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 30%, #000 30%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; width: 600px; height: 600px; right: -150px; top: -200px;
  background: radial-gradient(circle, rgba(56,189,248,.18), transparent 65%);
  pointer-events: none;
}
.eyebrow {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 12px;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 20px; max-width: 16ch; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 16px; }
h3 { font-size: 1.1rem; margin: 0 0 8px; line-height: 1.35; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 60ch; margin: 0 0 32px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Sections */
.section { padding-block: 96px; border-top: 1px solid var(--border); }
.section.alt { background: var(--bg-alt); }
.two-col { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.prose p { color: var(--muted); margin: 0 0 16px; }
.prose strong { color: var(--text); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 40px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: rgba(56,189,248,.5); transform: translateY(-3px); }
.card p { color: var(--muted); margin: 0; font-size: 15.5px; }
.icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(56,189,248,.12);
  margin-bottom: 18px;
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.checks { list-style: none; padding: 0; margin: 0 0 20px; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 14px; color: var(--muted); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 14px; height: 8px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg) translateY(-4px);
}

/* Contact */
.contact-box {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center;
  background: linear-gradient(135deg, rgba(56,189,248,.12), rgba(245,158,11,.06));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
}
.contact-box p { color: var(--muted); margin: 0; }
.contact-actions { text-align: right; }
.email { font-size: 1.25rem; font-weight: 600; word-break: break-all; }
.muted { color: var(--muted); }
.contact-actions .muted { margin-top: 8px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding-block: 32px; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* 404 */
.notfound { min-height: calc(100vh - 160px); display: grid; place-items: center; text-align: center; }

@media (max-width: 760px) {
  .nav nav a:not(.btn) { display: none; }
  .hero { padding-block: 80px 72px; }
  .section { padding-block: 64px; }
  .two-col, .contact-box { grid-template-columns: 1fr; gap: 20px; }
  .contact-box { padding: 32px 24px; }
  .contact-actions { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
