:root {
  --bg-top: #0f172a;
  --bg-bottom: #111827;
  --panel: rgba(255, 255, 255, 0.94);
  --panel-solid: #ffffff;
  --panel-border: rgba(148, 163, 184, 0.18);
  --text: #0f172a;
  --muted: #475569;
  --muted-light: #cbd5e1;
  --accent: #1d4ed8;
  --accent-strong: #1e3a8a;
  --accent-soft: rgba(29, 78, 216, 0.14);
  --hero-glow: rgba(59, 130, 246, 0.28);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.28);
  --shadow-md: 0 18px 36px rgba(15, 23, 42, 0.18);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Aptos, "Segoe UI Variable", "Segoe UI", sans-serif;
  color: #e2e8f0;
  background:
    radial-gradient(circle at top left, var(--hero-glow), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(37, 99, 235, 0.2), transparent 24%),
    linear-gradient(160deg, var(--bg-top), var(--bg-bottom));
}

.ambient-stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ambient-orb,
.ambient-grid,
.ambient-beam,
.ambient-particles,
.ambient-wave {
  position: absolute;
}

.ambient-orb {
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.7;
}

.orb-one {
  top: 120px;
  left: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3), rgba(59, 130, 246, 0));
  animation: driftOne 16s ease-in-out infinite;
}

.orb-two {
  top: 460px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.22), rgba(96, 165, 250, 0));
  animation: driftTwo 20s ease-in-out infinite;
}

.ambient-grid {
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.26), transparent 82%);
}

.ambient-beam {
  top: 160px;
  left: 42%;
  width: 520px;
  height: 520px;
  background: linear-gradient(180deg, rgba(191, 219, 254, 0.14), rgba(191, 219, 254, 0));
  clip-path: polygon(48% 0, 58% 0, 100% 100%, 0 100%);
  filter: blur(16px);
  opacity: 0.5;
  transform-origin: top center;
  animation: swayBeam 18s ease-in-out infinite;
}

.ambient-particles {
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.particle {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.94), rgba(147, 197, 253, 0.34) 58%, rgba(147, 197, 253, 0));
  box-shadow:
    0 0 18px rgba(96, 165, 250, 0.45),
    0 0 40px rgba(37, 99, 235, 0.18);
}

.particle-one {
  top: 8%;
  left: 12%;
  width: 16px;
  height: 16px;
  animation: floatParticleOne 16s ease-in-out infinite;
}

.particle-two {
  top: 16%;
  left: 38%;
  width: 10px;
  height: 10px;
  animation: floatParticleTwo 19s ease-in-out infinite;
}

.particle-three {
  top: 28%;
  left: 8%;
  width: 13px;
  height: 13px;
  animation: floatParticleThree 14s ease-in-out infinite;
}

.particle-four {
  top: 34%;
  left: 58%;
  width: 8px;
  height: 8px;
  animation: floatParticleFour 17s ease-in-out infinite;
}

.particle-five {
  top: 44%;
  left: 24%;
  width: 18px;
  height: 18px;
  animation: floatParticleFive 15s ease-in-out infinite;
}

.particle-six {
  top: 52%;
  left: 74%;
  width: 11px;
  height: 11px;
  animation: floatParticleSix 18s ease-in-out infinite;
}

.particle-seven {
  top: 12%;
  left: 82%;
  width: 7px;
  height: 7px;
  animation: floatParticleSeven 13s ease-in-out infinite;
}

.particle-eight {
  top: 70%;
  left: 14%;
  width: 9px;
  height: 9px;
  animation: floatParticleEight 20s ease-in-out infinite;
}

.particle-nine {
  top: 42%;
  left: 88%;
  width: 14px;
  height: 14px;
  animation: floatParticleNine 16s ease-in-out infinite;
}

.particle-ten {
  top: 78%;
  left: 62%;
  width: 6px;
  height: 6px;
  animation: floatParticleTen 12s ease-in-out infinite;
}

.ambient-wave {
  left: -140px;
  bottom: 140px;
  width: 780px;
  height: 260px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 50%, rgba(96, 165, 250, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(37, 99, 235, 0.22), rgba(37, 99, 235, 0.02));
  filter: blur(20px);
  opacity: 0.5;
  transform: rotate(-10deg);
  animation: driftWave 20s ease-in-out infinite;
}

body::before {
  content: "";
  position: fixed;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  pointer-events: none;
}

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

.hero,
.section {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  z-index: 1;
}

.hero {
  padding: 28px 0 40px;
}

.hero-page {
  padding-bottom: 18px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  padding: 14px 18px 14px 14px;
  border: 1px solid rgba(191, 219, 254, 0.18);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(236, 242, 255, 0.14), rgba(191, 219, 254, 0.08)),
    rgba(30, 41, 59, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 36px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 380px;
  min-width: 380px;
  padding: 10px 18px;
  border: 1px solid rgba(191, 219, 254, 0.22);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(226, 232, 240, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 10px 24px rgba(15, 23, 42, 0.12);
}

.brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 54px;
  object-fit: contain;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(226, 232, 240, 0.88);
}

.topbar-links > a:not(.button) {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  transition: background-color 160ms ease, color 160ms ease;
}

.topbar-links > a.nav-link-active {
  color: #ffffff;
  background: rgba(148, 163, 184, 0.16);
}

.topbar-links > a:not(.button):hover {
  color: #ffffff;
  background: rgba(148, 163, 184, 0.12);
}

.topbar-links a:hover {
  color: #ffffff;
}

.topbar .button-secondary {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.22), rgba(30, 58, 138, 0.22));
  color: #dbeafe;
  border: 1px solid rgba(96, 165, 250, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.topbar .button-secondary:hover {
  color: #eff6ff;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.28), rgba(30, 58, 138, 0.3));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: center;
}

.hero-copy,
.hero-card,
.info-card,
.cta-band {
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--panel-solid), var(--panel));
  box-shadow: var(--shadow-lg);
}

.hero-copy {
  padding: 42px;
}

.page-hero-card {
  padding: 36px 40px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--panel-solid), var(--panel));
  box-shadow: var(--shadow-lg);
}

.page-hero-copy {
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #93c5fd;
}

h1,
h2,
h3,
p,
ul {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: #0f172a;
  text-wrap: balance;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.7rem, 2.4vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text);
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  color: var(--text);
}

p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.hero-text {
  max-width: 60ch;
  margin-bottom: 24px;
  font-size: 1.12rem;
  color: #475569;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #eff6ff;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 16px 28px rgba(29, 78, 216, 0.28);
}

.button-secondary {
  background: rgba(29, 78, 216, 0.08);
  color: var(--accent-strong);
  border: 1px solid rgba(29, 78, 216, 0.18);
  box-shadow: none;
}

.button-secondary:hover {
  color: var(--accent-strong);
  background: rgba(29, 78, 216, 0.12);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  padding: 10px 14px;
  border: 1px solid rgba(147, 197, 253, 0.24);
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.12);
  color: #1e3a8a;
  font-size: 1rem;
  font-weight: 600;
}

.hero-card {
  padding: 20px;
  color: var(--text);
}

.preview-header {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.preview-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.55);
}

.preview-body {
  display: grid;
  gap: 16px;
}

.preview-panel,
.preview-item {
  padding: 18px;
  border-radius: var(--radius-md);
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.preview-label {
  margin-bottom: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.preview-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.progress-chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
}

.progress-chip.active {
  background: rgba(29, 78, 216, 0.12);
  color: var(--accent);
}

.preview-list {
  display: grid;
  gap: 12px;
}

.preview-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.section {
  padding: 28px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading h2 {
  color: #f8fafc;
}

.section-heading p:not(.eyebrow) {
  color: #cbd5e1;
}

.page-hero-card .section-heading h1,
.page-hero-card .section-heading h2,
.page-hero-card .section-heading p:not(.eyebrow) {
  color: var(--text);
}

.page-hero-card .section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.cards {
  display: grid;
  gap: 18px;
}

.workflow-list {
  display: grid;
  gap: 18px;
}

.workflow-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px 26px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel-solid), var(--panel));
  box-shadow: var(--shadow-md);
  color: var(--text);
}

.workflow-step h3 {
  margin-bottom: 8px;
}

.workflow-step p {
  margin-bottom: 0;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.benefits-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
  padding: 28px;
  color: var(--text);
}

.info-card p {
  font-size: 1.06rem;
  line-height: 1.68;
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(29, 78, 216, 0.12);
  color: var(--accent);
  font-weight: 800;
}

.accent-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(219, 234, 254, 0.92));
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 32px;
  margin-top: 10px;
}

.footer {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 42px;
  padding: 30px 20px 38px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(219, 234, 254, 0.92)),
    #ffffff;
  border-top: 1px solid rgba(59, 130, 246, 0.18);
  box-shadow: 0 -10px 34px rgba(15, 23, 42, 0.08);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  width: min(1240px, calc(100% - 24px));
  margin: 0 auto;
  padding: 20px 24px;
  border: 1px solid rgba(29, 78, 216, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.96));
  box-shadow: 0 20px 46px rgba(37, 99, 235, 0.12);
  color: var(--muted);
  font-size: 0.98rem;
}

.footer-brand-block,
.footer-copy {
  display: grid;
  gap: 8px;
}

.footer-brand-block p,
.footer-copy p,
.footer-link-block p {
  margin: 0;
  line-height: 1.65;
}

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

.footer-heading {
  margin: 0;
  color: var(--text);
  font-family: Bahnschrift, "Aptos Display", Aptos, "Segoe UI Variable", "Segoe UI", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.footer-tagline {
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 1.02rem;
  max-width: 32ch;
}

.footer-link-block {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.footer-link-label {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(29, 78, 216, 0.18);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.98), rgba(219, 234, 254, 0.96));
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  border-color: rgba(29, 78, 216, 0.3);
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.16);
  text-decoration: none;
}

@keyframes driftOne {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(70px, 24px, 0) scale(1.08);
  }
}

@keyframes driftTwo {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-54px, -28px, 0) scale(1.1);
  }
}

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

@keyframes driftWave {
  0%,
  100% {
    transform: rotate(-10deg) translate3d(0, 0, 0);
  }
  50% {
    transform: rotate(-6deg) translate3d(38px, -18px, 0);
  }
}

@keyframes floatParticleOne {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.92; }
  50% { transform: translate3d(34px, 18px, 0); opacity: 1; }
}

@keyframes floatParticleTwo {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.74; }
  50% { transform: translate3d(-26px, 24px, 0); opacity: 1; }
}

@keyframes floatParticleThree {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.88; }
  50% { transform: translate3d(42px, -14px, 0); opacity: 1; }
}

@keyframes floatParticleFour {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.7; }
  50% { transform: translate3d(-18px, -28px, 0); opacity: 0.96; }
}

@keyframes floatParticleFive {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.94; }
  50% { transform: translate3d(28px, -20px, 0); opacity: 1; }
}

@keyframes floatParticleSix {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.76; }
  50% { transform: translate3d(-30px, 14px, 0); opacity: 1; }
}

@keyframes floatParticleSeven {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.68; }
  50% { transform: translate3d(20px, 22px, 0); opacity: 0.96; }
}

@keyframes floatParticleEight {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.72; }
  50% { transform: translate3d(26px, -18px, 0); opacity: 0.98; }
}

@keyframes floatParticleNine {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.86; }
  50% { transform: translate3d(-22px, 20px, 0); opacity: 1; }
}

@keyframes floatParticleTen {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.64; }
  50% { transform: translate3d(16px, -12px, 0); opacity: 0.92; }
}

@media (max-width: 900px) {
  .hero-grid,
  .three-up,
  .benefits-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .cta-band {
    display: grid;
  }
}

@media (max-width: 720px) {
  .orb-one {
    width: 280px;
    height: 280px;
    left: -90px;
  }

  .orb-two {
    width: 240px;
    height: 240px;
    right: -70px;
  }

  .ambient-grid {
    background-size: 38px 38px;
  }

  .ambient-beam {
    left: 18%;
    width: 320px;
    height: 360px;
    opacity: 0.36;
  }

  .ambient-particles {
    opacity: 0.72;
  }

  .ambient-wave {
    left: -180px;
    bottom: 180px;
    width: 420px;
    height: 180px;
    opacity: 0.34;
  }

  body::before {
    inset: 10px;
    border-radius: 22px;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
    border-radius: 24px;
  }

  .brand {
    width: 100%;
    min-width: 0;
  }

  .topbar-links {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .hero-copy,
  .page-hero-card,
  .hero-card,
  .info-card,
  .cta-band {
    padding: 22px;
    border-radius: 24px;
  }

  .workflow-step {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .footer {
    padding: 24px 16px 30px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
    padding: 22px 20px;
  }

  .footer-link {
    white-space: normal;
  }
}
