:root {
  color-scheme: dark;
  --bg: #020617;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-solid: #0f172a;
  --panel-muted: rgba(255, 255, 255, 0.035);
  --border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: #cbd5e1;
  --soft: #94a3b8;
  --faint: #64748b;
  --cyan: #67e8f9;
  --cyan-strong: #22d3ee;
  --violet: #c4b5fd;
  --emerald: #6ee7b7;
  --shadow: 0 24px 80px rgba(8, 47, 73, 0.36);
  --radius-xl: 28px;
  --radius-2xl: 34px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::selection {
  background: var(--cyan);
  color: #020617;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.hero-shell {
  position: relative;
  overflow: hidden;
}

.blob {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(70px);
}

.blob-cyan {
  width: 360px;
  height: 360px;
  top: 90px;
  left: -150px;
  background: rgba(34, 211, 238, 0.2);
}

.blob-violet {
  width: 460px;
  height: 460px;
  top: -80px;
  right: -90px;
  background: rgba(139, 92, 246, 0.2);
}

.blob-emerald {
  width: 340px;
  height: 340px;
  bottom: -110px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(16, 185, 129, 0.1);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  --logo-shift-x: -3px;
  --logo-shift-y: 0px;
  --logo-scale: 1;

  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 18px;
  background: transparent;
  color: #020617;
  box-shadow: none;
}

.brand-mark.small {
  width: 38px;
  height: 38px;
  --logo-shift-x: -2px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  transform: translate(var(--logo-shift-x), var(--logo-shift-y)) scale(var(--logo-scale));
  transform-origin: center;
}

.brand-fallback {
  background: linear-gradient(135deg, #67e8f9, #38bdf8 52%, #a78bfa);
  box-shadow: 0 10px 32px rgba(34, 211, 238, 0.22);
}

.brand-name,
.brand-domain {
  display: block;
}

.brand-name {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.04em;
}

.brand-domain {
  color: var(--soft);
  font-size: 11px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a,
.ghost-link,
.footer-links a {
  transition: color 0.18s ease, opacity 0.18s ease;
}

.nav-links a:hover,
.ghost-link:hover,
.footer-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: white;
}

.mobile-menu-button span:not(.sr-only) {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--cyan);
  color: #020617;
  box-shadow: 0 14px 44px rgba(34, 211, 238, 0.22);
}

.button-primary:hover {
  background: #a5f3fc;
}

.button-light {
  background: #ffffff;
  color: #020617;
}

.button-light:hover {
  background: #cffafe;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.055);
  color: white;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.ghost-link {
  color: var(--muted);
  font-weight: 600;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 56px;
  align-items: center;
  padding-block: 92px 120px;
}

.reveal {
  animation: reveal 0.7s ease both;
}

.reveal-delay {
  animation-delay: 0.16s;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  padding: 6px 12px;
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 850px;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h2 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h3 {
  letter-spacing: -0.02em;
}

.hero-lead {
  max-width: 720px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions,
.inline-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-actions {
  margin-top: 32px;
}

.hero-note {
  margin-top: 18px;
  color: var(--faint);
  font-size: 14px;
}

.code-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  background: rgba(15, 23, 42, 0.82);
  box-shadow: var(--shadow);
}

.code-card::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(103, 232, 249, 0.2), rgba(167, 139, 250, 0.1), rgba(110, 231, 183, 0.1));
  filter: blur(24px);
}

.window-bar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}

.traffic-lights {
  display: flex;
  gap: 8px;
}

.traffic-lights span {
  width: 12px;
  height: 12px;
  border-radius: 99px;
}

.red {
  background: rgba(248, 113, 113, 0.85);
}

.yellow {
  background: rgba(252, 211, 77, 0.85);
}

.green {
  background: rgba(110, 231, 183, 0.85);
}

.terminal-pill {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  padding: 5px 12px;
  color: var(--muted);
  font-size: 12px;
}

pre {
  margin: 0;
  overflow-x: auto;
  padding: 22px;
}

code {
  color: #e2e8f0;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 13px;
  line-height: 1.7;
}

.section {
  padding-block: 88px;
}

.section-muted {
  border-block: 1px solid var(--border);
  background: var(--panel-muted);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.align-center {
  align-items: center;
}

.centered {
  max-width: 760px;
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  border: 1px solid rgba(103, 232, 249, 0.2);
  border-radius: 999px;
  background: rgba(103, 232, 249, 0.1);
  padding: 6px 12px;
  color: #a5f3fc;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--cyan);
}

.section-lead {
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.stacked-cards,
.use-case-grid,
.security-card ul {
  display: grid;
  gap: 14px;
}

.mini-card,
.feature-card,
.workflow-card,
.use-case-grid article,
.positioning-grid article,
.security-card {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius-xl);
}

.mini-card {
  display: flex;
  gap: 14px;
  padding: 18px;
  color: var(--muted);
}

.mini-card span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 99px;
  background: rgba(103, 232, 249, 0.1);
  color: var(--cyan);
}

.feature-grid,
.workflow-grid,
.positioning-grid {
  display: grid;
  gap: 16px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 62px;
}

.feature-card,
.positioning-grid article,
.use-case-grid article {
  padding: 26px;
  transition: transform 0.18s ease, background 0.18s ease;
}

.feature-card:hover,
.positioning-grid article:hover,
.use-case-grid article:hover {
  transform: translateY(-4px);
  background: var(--panel-solid);
}

.feature-icon,
.use-case-grid span,
.positioning-grid span,
.security-heading span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 18px;
  background: rgba(103, 232, 249, 0.1);
  color: var(--cyan);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 18px;
}

.feature-card h3,
.positioning-grid h3,
.use-case-grid h3 {
  margin-top: 20px;
  font-size: 18px;
}

.feature-card p,
.positioning-grid p,
.use-case-grid p,
.workflow-card p,
.security-heading p,
.cta-card p {
  margin-top: 12px;
  color: var(--soft);
  line-height: 1.7;
}

.workflow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 54px;
}

.workflow-card {
  position: relative;
  padding: 26px;
  text-align: center;
}

.workflow-card > div {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  color: #a5f3fc;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 20px;
}

.workflow-card span {
  display: block;
  margin-top: 20px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.workflow-card h3 {
  margin-top: 8px;
}

.use-case-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.use-case-grid span {
  background: rgba(196, 181, 253, 0.1);
  color: var(--violet);
}

.security-card {
  padding: 26px;
}

.security-heading {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
}

.security-heading span {
  background: rgba(110, 231, 183, 0.1);
  color: var(--emerald);
}

.security-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.security-card li {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  padding: 12px 14px;
  color: var(--muted);
  font-size: 14px;
}

.security-card li::before {
  content: "✓";
  color: var(--cyan);
}

.inline-actions {
  margin-top: 30px;
}

.positioning-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, rgba(103, 232, 249, 0.15), rgba(15, 23, 42, 1) 45%, rgba(167, 139, 250, 0.15));
  padding: 46px;
  box-shadow: var(--shadow);
}

.cta-card p {
  max-width: 720px;
  font-size: 17px;
}

.cta-actions {
  flex-direction: column;
  align-items: stretch;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 36px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  color: var(--soft);
  font-size: 14px;
}

@media (max-width: 980px) {
  .nav-links,
  .nav-actions .ghost-link {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .nav-links.is-open {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 4px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(2, 6, 23, 0.96);
    padding: 12px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open a {
    padding: 12px 14px;
    border-radius: 14px;
  }

  .nav-links.is-open a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .hero,
  .two-column,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-block: 72px 84px;
  }

  .feature-grid,
  .workflow-grid,
  .positioning-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-actions {
    flex-direction: row;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .nav-actions .button {
    display: none;
  }

  .hero {
    gap: 34px;
  }

  .hero-lead,
  .section-lead {
    font-size: 16px;
  }

  .hero-actions,
  .inline-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding-block: 66px;
  }

  .feature-grid,
  .workflow-grid,
  .use-case-grid,
  .positioning-grid {
    grid-template-columns: 1fr;
  }

  .code-card {
    border-radius: 24px;
  }

  pre {
    padding: 18px;
  }

  code {
    font-size: 12px;
  }

  .cta-card {
    padding: 26px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
