:root {
  --bg: #07111f;
  --bg-soft: #0b1a30;
  --surface: rgba(255, 255, 255, 0.075);
  --surface-strong: rgba(255, 255, 255, 0.11);
  --line: rgba(255, 255, 255, 0.13);
  --text: #f8fbff;
  --muted: #b6c7dc;
  --subtle: #8296af;
  --blue: #38bdf8;
  --blue-strong: #3b82f6;
  --violet: #8b5cf6;
  --green: #34d399;
  --amber: #fbbf24;
  --danger: #fb7185;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --radius: 24px;
  --radius-sm: 15px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 4%, rgba(56, 189, 248, 0.16), transparent 34rem),
    radial-gradient(circle at 88% 22%, rgba(139, 92, 246, 0.15), transparent 32rem),
    linear-gradient(180deg, #07111f 0%, #081426 48%, #07111f 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  z-index: -1;
}

a { color: inherit; }
img, svg { max-width: 100%; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  padding: .75rem 1rem;
  color: #07111f;
  background: white;
  border-radius: 10px;
  z-index: 1000;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px) saturate(150%);
  background: rgba(7, 17, 31, 0.72);
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  text-decoration: none;
  font-weight: 780;
  letter-spacing: -.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--blue), var(--blue-strong) 52%, var(--violet));
  box-shadow: 0 10px 32px rgba(59, 130, 246, .35);
}
.brand-mark svg { width: 23px; height: 23px; }
.brand small { color: var(--subtle); font-weight: 620; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-links a {
  padding: .62rem .82rem;
  color: var(--muted);
  text-decoration: none;
  border-radius: 11px;
  font-size: .93rem;
  font-weight: 650;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: white;
  background: rgba(255,255,255,.075);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .68rem .98rem !important;
  color: white !important;
  background: linear-gradient(135deg, var(--blue-strong), var(--violet));
  box-shadow: 0 10px 28px rgba(59,130,246,.24);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  color: white;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.hero {
  padding: 7rem 0 4.2rem;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 4rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .42rem .72rem;
  color: #cfeeff;
  background: rgba(56,189,248,.09);
  border: 1px solid rgba(56,189,248,.22);
  border-radius: 999px;
  font-size: .79rem;
  font-weight: 760;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: .48rem;
  height: .48rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(52,211,153,.12);
}

h1, h2, h3 { margin: 0; line-height: 1.12; text-wrap: balance; }
h1 {
  margin-top: 1.2rem;
  max-width: 820px;
  font-size: clamp(3rem, 7vw, 5.7rem);
  letter-spacing: -.065em;
}
.gradient-text {
  color: transparent;
  background: linear-gradient(105deg, #eaf7ff 5%, #74d5ff 42%, #7ea7ff 68%, #c39cff 100%);
  background-clip: text;
  -webkit-background-clip: text;
}
.hero-copy {
  max-width: 690px;
  margin: 1.45rem 0 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.8vw, 1.25rem);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.8rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .62rem;
  min-height: 48px;
  padding: .74rem 1.12rem;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: white;
  background: rgba(255,255,255,.055);
  font-weight: 750;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.28); }
.btn-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue-strong), #5367e9 56%, var(--violet));
  box-shadow: 0 18px 46px rgba(59,130,246,.28);
}
.btn-quiet { color: var(--muted); }
.btn svg { width: 18px; height: 18px; }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  margin-top: 1.45rem;
  color: var(--subtle);
  font-size: .88rem;
}
.hero-proof span { display: inline-flex; align-items: center; gap: .42rem; }
.hero-proof span::before { content: "✓"; color: var(--green); font-weight: 900; }

.hero-visual {
  position: relative;
  isolation: isolate;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 4% 2%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(56,189,248,.35), rgba(139,92,246,.28));
  filter: blur(70px);
  z-index: -1;
}
.hero-window {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 25px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  box-shadow: var(--shadow);
  transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
}
.hero-window img { display: block; width: 100%; }
.floating-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .58rem;
  padding: .68rem .82rem;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 14px;
  background: rgba(9,24,45,.88);
  box-shadow: 0 18px 42px rgba(0,0,0,.32);
  backdrop-filter: blur(14px);
  font-size: .8rem;
  font-weight: 720;
}
.floating-chip.one { left: -1.5rem; top: 17%; }
.floating-chip.two { right: -1.1rem; bottom: 13%; }
.dot { width: .56rem; height: .56rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(52,211,153,.1); }
.dot.blue { background: var(--blue); box-shadow: 0 0 0 5px rgba(56,189,248,.1); }

.metrics {
  padding: 1.2rem 0 0;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,.045);
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
}
.metric {
  padding: 1.35rem 1.5rem;
  border-right: 1px solid var(--line);
}
.metric:last-child { border-right: 0; }
.metric strong { display: block; font-size: 1.15rem; letter-spacing: -.02em; }
.metric span { color: var(--subtle); font-size: .84rem; }

.section { padding: 6rem 0; }
.section-tight { padding: 3.8rem 0; }
.section-head {
  max-width: 740px;
  margin-bottom: 2.2rem;
}
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { color: var(--blue); font-size: .78rem; font-weight: 820; letter-spacing: .1em; text-transform: uppercase; }
h2 { margin-top: .65rem; font-size: clamp(2.2rem, 4.8vw, 3.8rem); letter-spacing: -.05em; }
.section-head p { margin: 1rem 0 0; color: var(--muted); font-size: 1.05rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card {
  position: relative;
  padding: 1.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.072), rgba(255,255,255,.037));
  box-shadow: 0 16px 54px rgba(0,0,0,.16);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125,211,252,.75), transparent);
  opacity: .5;
}
.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #dff6ff;
  background: linear-gradient(135deg, rgba(56,189,248,.24), rgba(59,130,246,.16));
  border: 1px solid rgba(56,189,248,.22);
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { margin-top: 1rem; font-size: 1.18rem; letter-spacing: -.02em; }
.card p { margin: .6rem 0 0; color: var(--muted); font-size: .94rem; }
.card ul { margin: .9rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: .9rem; }
.card li + li { margin-top: .34rem; }

.workflow {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 2rem;
  align-items: start;
}
.step-list { display: grid; gap: .75rem; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .9rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255,255,255,.04);
}
.step-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--blue-strong), var(--violet));
  font-size: .78rem;
  font-weight: 840;
}
.step h3 { font-size: 1rem; }
.step p { margin: .25rem 0 0; color: var(--muted); font-size: .88rem; }

.code-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #06101f;
  box-shadow: var(--shadow);
}
.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1rem;
  color: var(--subtle);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  font-size: .8rem;
}
.traffic-lights { display: flex; gap: .42rem; }
.traffic-lights i { width: .62rem; height: .62rem; display: block; border-radius: 50%; background: #fb7185; }
.traffic-lights i:nth-child(2) { background: #fbbf24; }
.traffic-lights i:nth-child(3) { background: #34d399; }
pre { margin: 0; padding: 1.2rem; overflow: auto; color: #d7e7fa; font: .86rem/1.75 "Cascadia Code", Consolas, monospace; }
.code-key { color: #7dd3fc; }
.code-accent { color: #c4b5fd; }
.code-ok { color: #6ee7b7; }

.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.panel {
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
}
.panel h3 { font-size: 1.35rem; }
.panel p { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.check-list li { position: relative; padding-left: 1.55rem; color: var(--muted); }
.check-list li + li { margin-top: .55rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }

.callout {
  padding: 2.2rem;
  border: 1px solid rgba(56,189,248,.22);
  border-radius: 30px;
  background:
    radial-gradient(circle at 10% 10%, rgba(56,189,248,.16), transparent 18rem),
    linear-gradient(135deg, rgba(59,130,246,.12), rgba(139,92,246,.09));
  box-shadow: var(--shadow);
}
.callout-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.callout h2 { margin-top: 0; }
.callout p { max-width: 730px; color: var(--muted); }

.page-hero { padding: 6.2rem 0 3.2rem; }
.page-hero h1 { max-width: 920px; font-size: clamp(2.8rem, 6vw, 5rem); }
.page-hero p { max-width: 780px; color: var(--muted); font-size: 1.12rem; }
.breadcrumbs { color: var(--subtle); font-size: .86rem; }
.breadcrumbs a { color: var(--blue); text-decoration: none; }

.prose { max-width: 850px; }
.prose h2 { margin-top: 2.6rem; font-size: 2.2rem; }
.prose h3 { margin-top: 1.7rem; font-size: 1.3rem; }
.prose p, .prose li { color: var(--muted); }
.prose a { color: #8edcff; }
.prose code { padding: .15rem .35rem; color: #dbeafe; background: rgba(255,255,255,.08); border-radius: 6px; }

.site-footer {
  margin-top: 4rem;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.12);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr .75fr;
  gap: 2rem;
}
.footer-brand p { max-width: 480px; color: var(--subtle); font-size: .9rem; }
.footer-title { margin-bottom: .65rem; color: white; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { display: grid; gap: .42rem; }
.footer-links a { color: var(--subtle); text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: white; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  color: #71859d;
  border-top: 1px solid var(--line);
  font-size: .8rem;
}

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .hero-grid, .workflow, .split-panel, .callout-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 5rem; }
  .hero-visual { max-width: 760px; margin-inline: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 1rem;
    right: 1rem;
    display: none;
    padding: .7rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(7,17,31,.97);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: grid; }
  .nav-links a { width: 100%; }
  h1 { font-size: clamp(2.75rem, 14vw, 4.6rem); }
  .feature-grid { grid-template-columns: 1fr; }
  .hero-window { transform: none; }
  .floating-chip { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 520px) {
  .container { width: min(calc(100% - 1.2rem), var(--max)); }
  .hero { padding-top: 4.2rem; }
  .section { padding: 4.4rem 0; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
  .hero-actions .btn, .section-actions .btn { width: 100%; }
  .callout { padding: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
