:root {
  color-scheme: dark;
  --bg: #04070d;
  --bg-soft: #091120;
  --surface: rgba(11, 18, 33, 0.78);
  --surface-strong: rgba(16, 26, 47, 0.92);
  --text: #f3f7ff;
  --muted: rgba(235, 243, 255, 0.74);
  --line: rgba(255, 255, 255, 0.12);
  --brand: #71d0ff;
  --brand-2: #7b8cff;
  --brand-3: #45e1b6;
  --warning: #ffd57a;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --content-width: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, "Avenir Next", "SF Pro Display", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(113, 208, 255, 0.18), transparent 32%),
    radial-gradient(circle at 85% 10%, rgba(123, 140, 255, 0.18), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(69, 225, 182, 0.12), transparent 30%),
    linear-gradient(180deg, #020409 0%, var(--bg) 42%, #050a12 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 85%);
  opacity: 0.35;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #fff;
  color: #091120;
  z-index: 9999;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-shell {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(24px);
  background: rgba(3, 6, 12, 0.58);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner,
.footer-inner,
.section-inner {
  width: var(--content-width);
  margin: 0 auto;
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  filter: drop-shadow(0 8px 24px rgba(113, 208, 255, 0.22));
}

.brand-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-meta span:first-child {
  font-size: 0.98rem;
}

.brand-meta span:last-child {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

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

.nav a {
  padding: 11px 16px;
  border-radius: 999px;
  color: var(--muted);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #03101a;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 18px 30px rgba(113, 208, 255, 0.18);
}

.hero,
.page-hero {
  position: relative;
  padding: 86px 0 46px;
}

.hero-grid,
.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 34px;
  align-items: center;
}

.hero-copy,
.page-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.hero h1,
.page-hero h1 {
  margin: 22px 0 18px;
  line-height: 0.94;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  letter-spacing: -0.07em;
  max-width: 11ch;
}

.hero p,
.page-hero p,
.section-lead,
.panel p,
.policy-copy p,
.policy-copy li,
.form-note {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
  font-weight: 700;
}

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

.button-primary {
  background: linear-gradient(135deg, #f8fbff 0%, #b8dcff 100%);
  color: #081120;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.metric,
.card,
.panel,
.tall-panel,
.pill-card,
.form-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.metric {
  padding: 18px;
  border-radius: var(--radius-md);
}

.metric strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.hero-visual {
  position: relative;
  min-height: 600px;
}

.hero-panel {
  position: absolute;
  inset: 0;
  border-radius: 44px;
  background:
    radial-gradient(circle at 30% 20%, rgba(113, 208, 255, 0.22), transparent 28%),
    radial-gradient(circle at 75% 28%, rgba(123, 140, 255, 0.24), transparent 24%),
    radial-gradient(circle at 50% 80%, rgba(69, 225, 182, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(14, 20, 36, 0.88), rgba(8, 13, 25, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: translateX(-110%) skewX(-18deg);
  animation: sweep 9s linear infinite;
}

.hero-panel::after {
  animation-delay: 3.2s;
  opacity: 0.55;
}

.hero-orbit,
.hero-orbit-two,
.hero-orbit-three {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.03);
}

.hero-orbit {
  width: 290px;
  height: 290px;
  right: -20px;
  top: 30px;
  animation: float 8s ease-in-out infinite;
}

.hero-orbit-two {
  width: 180px;
  height: 180px;
  left: 36px;
  top: 180px;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-orbit-three {
  width: 420px;
  height: 420px;
  left: 50%;
  bottom: -110px;
  transform: translateX(-50%);
  animation: drift 12s ease-in-out infinite;
}

.hero-device {
  position: absolute;
  inset: 42px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.device-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.device-dots {
  display: flex;
  gap: 8px;
}

.device-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.device-badge {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(113, 208, 255, 0.15);
  color: #dff7ff;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.device-content {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  padding: 20px;
  height: calc(100% - 69px);
}

.dashboard-card,
.stack-card,
.list-card {
  border-radius: 26px;
  padding: 22px;
  background: rgba(7, 12, 21, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dashboard-kicker {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
}

.dashboard-value {
  font-size: clamp(2.8rem, 6vw, 5rem);
  letter-spacing: -0.08em;
  line-height: 0.92;
  margin: 14px 0;
}

.progress-grid {
  display: grid;
  gap: 10px;
}

.progress-row {
  display: grid;
  grid-template-columns: 1fr 110px;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.progress-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--brand-3));
}

.stack-card {
  display: grid;
  gap: 14px;
}

.stack-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.stack-row span:last-child {
  color: var(--brand);
}

.section {
  padding: 28px 0 18px;
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.section-head h2,
.panel h3,
.tall-panel h3,
.form-card h3,
.policy-copy h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.section-lead {
  max-width: 72ch;
  margin: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.card {
  grid-column: span 4;
  border-radius: var(--radius-lg);
  padding: 24px;
  min-height: 220px;
}

.card.wide {
  grid-column: span 8;
}

.card.tall {
  min-height: 300px;
}

.card .icon,
.panel .icon,
.feature-icon,
.badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.card h3,
.panel h3,
.tall-panel h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.card p,
.panel p,
.tall-panel p {
  margin: 0;
  line-height: 1.75;
}

.inline-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.inline-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  line-height: 1.7;
}

.inline-list svg {
  flex: 0 0 auto;
  margin-top: 4px;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.panel,
.tall-panel,
.pill-card,
.form-card {
  border-radius: var(--radius-lg);
}

.panel,
.pill-card,
.form-card {
  padding: 24px;
}

.tall-panel {
  padding: 28px;
  min-height: 100%;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-item strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.timeline-item span {
  color: var(--muted);
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}

.contact-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-item {
  display: grid;
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-item:last-child {
  border-bottom: 0;
}

.contact-item small {
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.contact-item strong {
  font-size: 1.2rem;
}

.form-card {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 10px;
}

.field {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.field::placeholder,
textarea.field {
  color: rgba(235, 243, 255, 0.48);
}

textarea.field {
  min-height: 160px;
  padding-top: 16px;
  resize: vertical;
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer {
  padding: 32px 0 46px;
}

.footer-inner {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copy {
  max-width: 56ch;
  color: var(--muted);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.footer-links a:hover {
  color: var(--text);
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs a {
  color: var(--text);
}

.policy-copy {
  width: min(960px, 100%);
  margin: 0 auto;
}

.policy-copy h2 {
  margin-top: 34px;
}

.policy-copy h3 {
  margin-top: 24px;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.policy-copy ul,
.policy-copy ol {
  color: var(--muted);
  line-height: 1.8;
  padding-left: 22px;
}

.policy-copy li {
  margin-bottom: 10px;
}

.notice {
  margin: 18px 0 0;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 213, 122, 0.12);
  border: 1px solid rgba(255, 213, 122, 0.22);
  color: #fff0c4;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes drift {
  0%,
  100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-18px); }
}

@keyframes sweep {
  0% { transform: translateX(-120%) skewX(-18deg); }
  100% { transform: translateX(120%) skewX(-18deg); }
}

@media (max-width: 1080px) {
  .hero-grid,
  .page-grid,
  .contact-grid,
  .panel-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 540px;
  }

  .card,
  .card.wide {
    grid-column: span 12;
  }
}

@media (max-width: 820px) {
  .header-inner {
    min-height: 72px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    padding: 16px;
    display: grid;
    gap: 10px;
    background: rgba(4, 7, 13, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease, transform 0.24s ease;
  }

  .nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav a,
  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .hero,
  .page-hero {
    padding-top: 54px;
  }

  .hero h1,
  .page-hero h1 {
    max-width: none;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .device-content {
    grid-template-columns: 1fr;
    height: auto;
  }
}

@media (max-width: 560px) {
  :root {
    --content-width: min(100vw - 24px, 1180px);
  }

  .hero-visual {
    min-height: 520px;
  }

  .hero-panel,
  .hero-device {
    border-radius: 30px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }
}
