:root {
  --brand: #0b5cff;
  --brand-2: #22d3ee;
  --ink: #0f172a;
  --muted: #475569;
  --bg: #ffffff;
  --bg-alt: #f5f8ff;
  --card: #ffffff;
  --line: #e2e8f0;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e2e8f0;
    --muted: #94a3b8;
    --bg: #0b1120;
    --bg-alt: #0f172a;
    --card: #131c31;
    --line: #1f2a44;
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--muted); }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .78rem;
  font-weight: 700; color: var(--brand); margin-bottom: .75em;
}
.small { font-size: .875rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85em 1.4em; border-radius: 999px; border: 2px solid var(--brand);
  background: var(--brand); color: #fff; font-weight: 600; font-size: 1rem;
  cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px -8px var(--brand); }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-sm { padding: .5em 1.1em; font-size: .9rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.1rem; }
.logo svg { width: 34px; height: 34px; }
.logo svg rect { fill: var(--brand); }
.logo svg path { fill: #fff; }
.logo em { font-style: normal; font-weight: 500; color: var(--muted); margin-left: 5px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav-links a:not(.btn):hover { color: var(--brand); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* Hero */
.hero {
  padding: clamp(48px, 8vw, 96px) 0;
  background:
    radial-gradient(60% 60% at 85% 20%, color-mix(in srgb, var(--brand-2) 18%, transparent), transparent 70%),
    radial-gradient(50% 50% at 10% 90%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.lead { font-size: 1.15rem; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.hero-badges li {
  font-size: .82rem; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: .35em .9em; background: var(--card);
}
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 20px 30px rgba(11, 92, 255, .15)); }
.float { animation: float 6s ease-in-out infinite; }
.float.b { animation-delay: -2s; }
.float.c { animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } html { scroll-behavior: auto; } }

/* Cards */
.grid.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.card p { margin: 0; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 15%, transparent), color-mix(in srgb, var(--brand-2) 15%, transparent));
}
.icon svg, .contact-list svg {
  width: 24px; height: 24px; fill: none; stroke: var(--brand); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { position: relative; padding-top: 20px; border-top: 3px solid var(--line); }
.steps li::before {
  content: ""; position: absolute; top: -3px; left: 0; width: 40%; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}
.steps span { font-weight: 800; font-size: .9rem; color: var(--brand); display: block; margin-bottom: 8px; }
.steps p { margin: 0; }

/* Why */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.checks li {
  display: grid; grid-template-columns: 28px 1fr; column-gap: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
}
.checks li::before {
  content: "✓"; grid-row: span 2; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: .85rem; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.checks span { color: var(--muted); font-size: .95rem; }

/* About */
.about { max-width: 780px; }
.about .section-head { margin-bottom: 20px; }
.about > p { font-size: 1.1rem; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: var(--ink); word-break: break-word; }
.contact-list svg { flex: none; }
.contact-form {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow); display: grid; gap: 16px;
}
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: .75em .9em; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.contact-form :is(input, select, textarea):focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent);
}
.contact-form .invalid { border-color: #ef4444; }
.form-note { margin: 0; font-size: .9rem; min-height: 1.2em; }
.form-note.ok { color: #16a34a; }
.form-note.err { color: #ef4444; }

/* Footer */
.site-footer { background: #0b1120; color: #cbd5e1; padding: 56px 0 28px; }
.site-footer p { color: #94a3b8; margin-top: 12px; }
.logo-light { color: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.footer-links a { color: #cbd5e1; }
.footer-links a:hover { color: #fff; }
.footer-legal { border-top: 1px solid #1f2a44; margin-top: 36px; padding-top: 20px; color: #64748b; }

/* Responsive */
@media (max-width: 960px) {
  .grid.cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .hero-inner, .split, .contact { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 14px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .grid.cards, .steps, .contact-form .row { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 100%; }
}
