:root {
  color-scheme: dark;
  --bg: #05070f;
  --bg-alt: #0b1020;
  --surface: rgba(16, 26, 52, 0.7);
  --surface-solid: #11192e;
  --surface-glass: rgba(5, 7, 15, 0.8);
  --text: #f5f7ff;
  --text-muted: rgba(237, 240, 255, 0.7);
  --accent: #66f7c5;
  --accent-strong: #43d6a5;
  --accent-muted: rgba(102, 247, 197, 0.1);
  --danger: #ff6f91;
  --neutral: #7795ff;
  --border: rgba(102, 114, 153, 0.25);
  --header-border: rgba(102, 114, 153, 0.15);
  --pill-bg: rgba(255, 255, 255, 0.08);
  --code-bg: rgba(4, 10, 26, 0.9);
  --code-border: rgba(102, 114, 153, 0.15);
  --card-shadow: 0 10px 30px rgba(8, 14, 30, 0.35);
  --card-highlight-shadow: 0 20px 45px rgba(6, 18, 30, 0.45);
  --timeline-border: rgba(102, 114, 153, 0.25);
  --demo-screen-bg: rgba(8, 14, 30, 0.9);
  --demo-screen-border: rgba(102, 114, 153, 0.2);
  --resource-bg: rgba(10, 18, 36, 0.65);
  --input-border: rgba(102, 114, 153, 0.4);
  --input-bg: rgba(4, 10, 26, 0.7);
  --footer-bg: rgba(4, 8, 18, 0.95);
  --footer-border: rgba(102, 114, 153, 0.2);
  --footer-muted: rgba(237, 240, 255, 0.6);
  --nav-menu-bg: rgba(5, 8, 18, 0.95);
  --nav-menu-border: rgba(102, 114, 153, 0.2);
  --btn-shadow: 0 15px 35px rgba(102, 247, 197, 0.35);
  --shadow: 0 20px 60px rgba(5, 10, 30, 0.5);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --gradient: linear-gradient(135deg, rgba(102, 247, 197, 0.15), rgba(119, 149, 255, 0.15));
  --primary: var(--accent);
}

:root[data-theme='light'] {
  color-scheme: light;
  --bg: #f7f9ff;
  --bg-alt: #eef2ff;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.86);
  --text: #0b1220;
  --text-muted: rgba(21, 36, 72, 0.7);
  --border: rgba(143, 160, 210, 0.24);
  --header-border: rgba(143, 160, 210, 0.24);
  --pill-bg: rgba(16, 38, 84, 0.08);
  --code-bg: #f1f4ff;
  --code-border: rgba(143, 160, 210, 0.24);
  --card-shadow: 0 15px 35px rgba(60, 92, 160, 0.16);
  --card-highlight-shadow: 0 24px 45px rgba(55, 90, 160, 0.2);
  --timeline-border: rgba(143, 160, 210, 0.3);
  --demo-screen-bg: #ffffff;
  --demo-screen-border: rgba(143, 160, 210, 0.24);
  --resource-bg: rgba(255, 255, 255, 0.86);
  --input-border: rgba(143, 160, 210, 0.35);
  --input-bg: rgba(255, 255, 255, 0.95);
  --footer-bg: rgba(240, 244, 255, 0.95);
  --footer-border: rgba(143, 160, 210, 0.28);
  --footer-muted: rgba(32, 48, 88, 0.65);
  --nav-menu-bg: rgba(255, 255, 255, 0.94);
  --nav-menu-border: rgba(143, 160, 210, 0.28);
  --btn-shadow: 0 15px 30px rgba(102, 247, 197, 0.24);
  --shadow: 0 20px 48px rgba(55, 90, 160, 0.15);
  --gradient: linear-gradient(135deg, rgba(102, 247, 197, 0.14), rgba(119, 149, 255, 0.18));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(circle at top left, rgba(102, 247, 197, 0.25), transparent 35%),
    radial-gradient(circle at top right, rgba(119, 149, 255, 0.25), transparent 45%);
  background-size: 180% 180%, 160% 160%;
  background-position: 0% 0%, 100% 0%;
  animation: auroraShift 26s ease-in-out infinite;
  line-height: 1.6;
}

:root[data-theme='light'] body {
  background-image: radial-gradient(circle at top left, rgba(102, 247, 197, 0.16), transparent 35%),
    radial-gradient(circle at top right, rgba(119, 149, 255, 0.25), transparent 45%);
}

@keyframes auroraShift {
  0% {
    background-position: 0% 0%, 100% 0%;
  }

  50% {
    background-position: 55% 40%, 45% 70%;
  }

  100% {
    background-position: 0% 0%, 100% 0%;
  }
}

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

a:hover,
a:focus {
  color: var(--accent);
}

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--header-border);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-header.hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}

.brand:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: 999px;
}

.logo {
  width: clamp(132px, 16vw, 188px);
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(34, 120, 214, 0.25));
}

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

.nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav a:hover,
.nav a:focus {
  color: var(--text);
  opacity: 1;
}

.nav .btn {
  padding-inline: 20px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
}

.nav>.theme-toggle {
  margin-left: 12px;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  background: var(--surface-solid);
  border-color: rgba(102, 247, 197, 0.5);
  color: var(--accent);
  transform: translateY(-1px);
  outline: none;
  box-shadow: 0 0 0 3px rgba(102, 247, 197, 0.2);
}

.theme-toggle-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.hero {
  padding: 120px 0 80px;
}

.hero-grid {
  display: grid;
  gap: 64px;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.hero-copy h1 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-copy p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #04110d;
  font-weight: 600;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:not(.btn-outline)::after {
  content: '';
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0));
  mix-blend-mode: screen;
  transform: translateX(-120%);
  animation: buttonSheen 7s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.65;
}

@keyframes buttonSheen {

  0%,
  25% {
    transform: translateX(-120%);
  }

  50% {
    transform: translateX(120%);
  }

  100% {
    transform: translateX(120%);
  }
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
  box-shadow: var(--btn-shadow);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(102, 247, 197, 0.6);
}

.btn-outline:hover,
.btn-outline:focus {
  background: var(--accent-muted);
  color: var(--accent);
}

.hero-metrics {
  display: flex;
  gap: 28px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.metric {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
}

.label {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, opacity 0.4s ease;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: -40% -60% auto auto;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(102, 247, 197, 0.5), transparent 70%);
  opacity: 0.4;
  animation: drift 16s ease-in-out infinite;
}

.hero-card::after {
  content: '';
  position: absolute;
  inset: -20% auto 0 -40%;
  width: 220px;
  background: linear-gradient(120deg, rgba(102, 247, 197, 0), rgba(102, 247, 197, 0.2), rgba(102, 247, 197, 0));
  transform: translateX(-120%);
  animation: cardSheen 12s ease-in-out infinite;
  opacity: 0.45;
  pointer-events: none;
}

@keyframes drift {
  0% {
    transform: translate3d(12%, -8%, 0) scale(1);
    opacity: 0.4;
  }

  50% {
    transform: translate3d(-18%, 18%, 0) scale(1.15);
    opacity: 0.65;
  }

  100% {
    transform: translate3d(12%, -8%, 0) scale(1);
    opacity: 0.4;
  }
}

@keyframes cardSheen {

  0%,
  20% {
    transform: translateX(-120%);
  }

  45% {
    transform: translateX(140%);
  }

  100% {
    transform: translateX(140%);
  }
}

.card-header,
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: var(--text-muted);
}

.card-body {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-muted);
}

.code {
  font-family: 'Space Grotesk', 'Inter', monospace;
  color: var(--text);
  font-size: 0.95rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--pill-bg);
  color: var(--text);
}

.pill-success {
  background: rgba(102, 247, 197, 0.15);
  color: var(--accent);
  position: relative;
  overflow: hidden;
}

.pill-success::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(102, 247, 197, 0.35), transparent 65%);
  opacity: 0;
  transform: scale(0.65);
  animation: pulseRing 3.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulseRing {
  0% {
    opacity: 0.55;
    transform: scale(0.65);
  }

  60% {
    opacity: 0;
    transform: scale(1.4);
  }

  100% {
    opacity: 0;
    transform: scale(0.65);
  }
}

.pill-neutral {
  background: rgba(119, 149, 255, 0.18);
  color: #a7b6ff;
}

.divider {
  height: 1px;
  background: var(--border);
  margin-block: 8px;
}

.code-block {
  margin: 0;
  padding: 20px;
  background: var(--code-bg);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  line-height: 1.5;
  overflow: auto;
  border: 1px solid var(--code-border);
}

.section {
  padding: 96px 0;
  position: relative;
}

.section.alt {
  background: var(--bg-alt);
  background-image: var(--gradient);
}

.section h2 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.section p {
  color: var(--text-muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
}

.split {
  display: grid;
  gap: 48px;
  align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  will-change: transform, opacity;
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.hero-metrics>div {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-metrics>div::after {
  content: '';
  position: absolute;
  left: 0;
  right: 12px;
  bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, rgba(102, 247, 197, 0.2), rgba(102, 247, 197, 0.65));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.hero-metrics>div.reveal.in-view::after {
  transform: scaleX(1);
}

.feature-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, opacity 0.4s ease;
}

.feature-card:hover,
.feature-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(102, 247, 197, 0.6);
}

.timeline {
  margin-top: 48px;
  border-left: 1px solid var(--timeline-border);
  padding-left: 32px;
  display: grid;
  gap: 32px;
}

.timeline-item {
  position: relative;
  padding-left: 12px;
}

.timeline-bullet {
  position: absolute;
  left: -44px;
  top: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--neutral));
  box-shadow: 0 0 0 6px rgba(102, 247, 197, 0.15);
}

.timeline-content h3 {
  margin-bottom: 12px;
}

.capabilities-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.capability {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, opacity 0.4s ease;
}

.capability ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted);
}

.compliance-list {
  display: grid;
  gap: 24px;
}

.compliance-item {
  background: var(--surface);
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, opacity 0.4s ease;
}

.demo-card {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
  background: var(--surface);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, opacity 0.4s ease;
}

.demo-screen {
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid var(--demo-screen-border);
  padding: 24px;
  background: var(--demo-screen-bg);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.demo-status {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.demo-terminal {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--text-muted);
  font-family: 'Space Grotesk', 'Inter', monospace;
}

.prompt {
  color: var(--accent);
}

.prompt.success {
  color: #7af1ff;
}

.pricing-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.pricing-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform 0.3s ease, opacity 0.4s ease;
}

.pricing-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted);
}

.pricing-card .price {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.6rem;
  margin: 0;
}

.pricing-card.highlight {
  border-color: rgba(102, 247, 197, 0.75);
  box-shadow: var(--card-highlight-shadow);
}

.badge {
  position: absolute;
  top: 22px;
  right: 24px;
  background: rgba(102, 247, 197, 0.2);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-list {
  display: grid;
  gap: 16px;
}

.resource {
  display: block;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--resource-bg);
  transition: transform 0.3s ease, border-color 0.2s ease, opacity 0.4s ease;
}

.resource:hover,
.resource:focus {
  transform: translateY(-4px);
  border-color: rgba(102, 247, 197, 0.6);
}

.contact-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.contact-meta {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.contact-form {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

label {
  font-weight: 500;
}

input,
textarea {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(102, 247, 197, 0.6);
  box-shadow: 0 0 0 3px rgba(102, 247, 197, 0.2);
}

textarea {
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.form-note {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.site-footer {
  padding: 64px 0 48px;
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
}

.footer-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-links {
  display: grid;
  gap: 56px;
  grid-template-columns: repeat(3, 1fr);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}

.footer-tagline {
  max-width: 360px;
  color: var(--text-muted);
}

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid var(--footer-border);
  padding-top: 24px;
  color: var(--footer-muted);
}

.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;
}

@media (max-width: 900px) {
  .nav ul {
    position: absolute;
    top: 72px;
    right: 24px;
    background: var(--nav-menu-bg);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--nav-menu-border);
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: min(260px, 80vw);
    transform: scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav ul[aria-expanded='true'] {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    gap: 16px;
  }

  .nav>.theme-toggle {
    margin-left: auto;
    padding: 8px 12px;
    border-radius: 999px;
  }

  .nav>.theme-toggle .theme-toggle-text {
    display: none;
  }

  .nav>.theme-toggle .theme-toggle-icon {
    font-size: 1.25rem;
  }

  .nav ul li:last-child {
    width: 100%;
  }

  .nav ul li:last-child .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 96px;
  }

  .hero-card {
    order: -1;
  }

  .site-header .container {
    padding-inline: 12px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  body {
    animation: none !important;
  }

  .btn:not(.btn-outline)::after,
  .hero-card::before,
  .hero-card::after,
  .pill-success::after {
    animation: none !important;
  }
}