:root {
  --bg: #0b1020;
  --bg-alt: #0f1529;
  --surface: #141b33;
  --surface-2: #1a2340;
  --border: #26304f;
  --text: #f1f5f9;
  --muted: #a8b3c7;
  --teal: #2dd4bf;
  --indigo: #818cf8;
  --grad: linear-gradient(120deg, #2dd4bf 0%, #818cf8 100%);
  --radius: 16px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); }
a:hover { color: #5eead4; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.sr-only, .hidden-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--teal); color: #04121a; padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 780px; }
.eyebrow { font-family: var(--mono); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--teal); margin-bottom: .9em; }
.lead, .section-lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.section-lead { margin-bottom: 2.2rem; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--grad); color: #04121a; box-shadow: 0 8px 24px -10px rgba(45, 212, 191, .6); }
.btn-primary:hover { color: #04121a; transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(129, 140, 248, .7); }
.btn-ghost { border-color: var(--border); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--teal); color: var(--text); }
.btn-small { padding: .55em 1.1em; font-size: .95rem; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 16, 32, .85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo { width: 100px; height: auto; }
.brand-tag { font-family: var(--mono); font-size: .72rem; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.nav-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: 1px solid var(--border); border-radius: 10px; padding: 11px 10px; cursor: pointer; }
.nav-toggle .bar { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
.site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 4px; padding: 14px 20px 22px; background: var(--bg); border-bottom: 1px solid var(--border); }
.site-nav.open { display: flex; }
.site-nav a { color: var(--text); text-decoration: none; padding: 10px 4px; font-weight: 600; }
.site-nav a:hover { color: var(--teal); }
.site-nav .btn { margin-top: 8px; color: #04121a; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 26px; padding: 0; background: none; border: 0; }
  .site-nav a { padding: 0; font-size: .97rem; }
  .site-nav .btn { margin: 0; padding: .55em 1.1em; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(129, 140, 248, .18), transparent 70%),
    radial-gradient(500px 380px at 5% 55%, rgba(45, 212, 191, .12), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%);
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.8rem 0 1rem; }
.hero-note { font-size: .95rem; color: var(--muted); }

.hero-visual { position: relative; }
.flow {
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border);
  border-radius: 20px; padding: 26px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(129,140,248,.05);
}
.flow-step { display: flex; align-items: center; gap: 14px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; }
.flow-step strong { display: block; font-size: 1rem; }
.flow-step small { color: var(--muted); font-size: .88rem; }
.flow-step.done { border-color: rgba(45, 212, 191, .5); }
.flow-step .tick { margin-left: auto; color: var(--teal); font-weight: 800; font-size: 1.2rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.d1 { background: #818cf8; box-shadow: 0 0 12px #818cf8; }
.d2 { background: #6aa2f0; box-shadow: 0 0 12px #6aa2f0; }
.d3 { background: #4bbfd6; box-shadow: 0 0 12px #4bbfd6; }
.d4 { background: #2dd4bf; box-shadow: 0 0 12px #2dd4bf; }
.flow-line { width: 2px; height: 22px; margin-left: 21px; background: linear-gradient(var(--indigo), var(--teal)); opacity: .7; }
.flow-caption { font-family: var(--mono); font-size: .78rem; color: var(--muted); text-align: center; margin: 12px 0 0; }

@media (min-width: 900px) {
  .hero { padding: 96px 0 110px; }
  .hero-grid { grid-template-columns: 1.25fr 1fr; gap: 64px; }
}

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
@media (min-width: 900px) { .section { padding: 96px 0; } }

/* Service cards */
.cards { display: grid; gap: 18px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: rgba(45, 212, 191, .45); transform: translateY(-2px); }
.card p { color: var(--muted); margin: 0; }
.card-wide { grid-column: 1 / -1; display: grid; gap: 4px; background: linear-gradient(120deg, rgba(45,212,191,.08), rgba(129,140,248,.12)), var(--surface); }
@media (min-width: 640px) { .card-wide { grid-template-columns: auto 1fr; gap: 20px; align-items: start; } }
.icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(45, 212, 191, .1); border: 1px solid rgba(45, 212, 191, .25); margin-bottom: 16px; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 18px; counter-reset: none; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.step p { color: var(--muted); margin: 0; }
.step-num { display: inline-block; font-family: var(--mono); font-weight: 700; font-size: 1.5rem; margin-bottom: 12px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Examples */
.examples { display: grid; gap: 18px; }
@media (min-width: 860px) { .examples { grid-template-columns: repeat(2, 1fr); } }
.example { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.example-tag { font-family: var(--mono); font-size: .78rem; color: var(--indigo); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .6em; }
.before-after { display: grid; gap: 12px; }
.before-after > div { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.before-after p { margin: 0; color: var(--muted); font-size: 1rem; }
.ba-label { display: inline-block; font-family: var(--mono); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #cbd5e1; background: #26304f; border-radius: 6px; padding: 2px 8px; margin-bottom: 8px; }
.ba-after { background: rgba(45, 212, 191, .15); color: var(--teal); }

/* Why */
.why-grid { display: grid; gap: 18px; margin-top: 2rem; }
@media (min-width: 760px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
.why { padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.why h3 { display: flex; align-items: center; gap: 12px; }
.why-mark svg { width: 22px; height: 22px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why p { color: var(--muted); margin: 0; }
.why-mark { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; font-family: var(--mono); font-size: .9rem; color: var(--teal); background: rgba(45, 212, 191, .1); border: 1px solid rgba(45, 212, 191, .25); }

/* FAQ */
.faq { margin-top: 2rem; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 0 22px; }
.faq details[open] { border-color: rgba(129, 140, 248, .5); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--teal); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* Contact */
.contact-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; } }
.contact-email { font-size: 1.05rem; }
.contact-email a { font-weight: 700; }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid #3a4568;
  border-radius: 10px; padding: 12px 14px;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8591a8; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(45, 212, 191, .25); }

/* Footer */
.site-footer { padding: 36px 0; border-top: 1px solid var(--border); }
.footer-inner { display: grid; gap: 14px; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1fr auto; align-items: center; } }
.footer-brand { font-weight: 800; margin: 0 0 4px; }
.footer-brand span { font-weight: 400; color: var(--muted); font-family: var(--mono); font-size: .85rem; }
.footer-small { margin: 0; font-size: .92rem; color: var(--muted); }

/* Thanks page */
.thanks { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.thanks .lead { margin: 0 auto 2rem; }

@media (max-width: 380px) { .brand-tag { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.nowrap { white-space: nowrap; }
