:root {
  color-scheme: dark;
  --bg: #0a0f1d;
  --bg-soft: #10182d;
  --panel: rgba(16, 24, 45, 0.84);
  --panel-soft: rgba(255, 255, 255, 0.03);
  --line: rgba(148, 163, 184, 0.16);
  --text: #f8fafc;
  --muted: #9aa7c3;
  --blue: #4f7cff;
  --blue-soft: #89a8ff;
}

html {
  font-size: 90%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(79, 124, 255, 0.18), transparent 28rem),
    radial-gradient(circle at top right, rgba(106, 216, 255, 0.12), transparent 24rem),
    linear-gradient(180deg, #0a0f1d 0%, #0d1325 45%, #0a0f1d 100%);
}

a {
  color: inherit;
}

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

.site-shell {
  min-height: 100vh;
}

.site-grid {
  position: relative;
}

.site-grid::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 92%);
}

.site-container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header-shell {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: 1rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(8, 12, 24, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.95rem;
  background: linear-gradient(135deg, #7c9cff, #4f7cff);
  box-shadow: 0 12px 25px rgba(79, 124, 255, 0.35);
}

.brand-name {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-header-nav {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 1024px) {
  .site-header-nav {
    display: flex;
  }
}

.nav-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.78rem 0.95rem;
  border-radius: 999px;
  color: #cdd7ec;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background-color 180ms ease, color 180ms ease;
}

.nav-chip:hover,
.nav-chip.is-active {
  background: rgba(255, 255, 255, 0.06);
  color: white;
}

.dropdown-shell {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 30;
  width: 22rem;
  padding-top: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.dropdown-shell:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-panel {
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(16, 23, 43, 0.94);
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  padding: 0.75rem;
}

.dropdown-title {
  padding: 0.25rem 0.75rem 0.5rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 700;
}

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  color: #d8e0f3;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.dropdown-link:hover,
.dropdown-link.is-active {
  background: rgba(255, 255, 255, 0.06);
  color: white;
}

.header-cta,
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.2rem;
  border-radius: 1rem;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.header-cta,
.button-primary {
  background: linear-gradient(135deg, #5b84ff, #4f7cff);
  color: white;
  box-shadow: 0 18px 35px rgba(79, 124, 255, 0.26);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: #d9e2f7;
}

.header-cta:hover,
.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 42px rgba(79, 124, 255, 0.32);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(148, 163, 184, 0.3);
}

.hero-shell,
.page-section {
  position: relative;
}

.hero-shell {
  padding: 4rem 0 5rem;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(79, 124, 255, 0.22), transparent 32%),
    radial-gradient(circle at center right, rgba(106, 216, 255, 0.16), transparent 26%);
  pointer-events: none;
}

.page-section {
  padding: 5rem 0;
}

.page-section.tight {
  padding: 4rem 0;
}

.hero-grid,
.split-grid,
.section-grid-2,
.section-grid-3,
.section-grid-4,
.logo-row,
.footer-grid,
.form-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;
  }

  .split-grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
  }

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

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

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

  .logo-row {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.1fr 1fr 1fr 1fr;
  }
}

.home-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 960px) {
  .home-hero-grid {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: 2.5rem;
  }
}

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

.home-hero-metrics {
  display: grid;
  gap: 0.9rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .home-hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.home-metric-card {
  padding: 1.1rem 1.15rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 1.2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
}

.home-metric-value {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #f8fbff;
}

.home-metric-card .muted {
  margin-top: 0.55rem;
  line-height: 1.55;
}

.home-signal-board {
  position: relative;
  padding: 1.35rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 1.8rem;
  background:
    radial-gradient(circle at top right, rgba(79, 124, 255, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(16, 24, 45, 0.96), rgba(10, 15, 29, 0.96));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.home-signal-board::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border-radius: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.home-board-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.15rem;
}

.home-board-head {
  max-width: 28rem;
}

.home-board-title {
  margin: 0.55rem 0 0;
  font-size: clamp(1.45rem, 2vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.home-board-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  background: rgba(79, 124, 255, 0.14);
  color: #dce7ff;
  white-space: nowrap;
}

.home-board-feature {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .home-board-feature {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
    align-items: stretch;
  }
}

.home-board-media {
  height: 260px;
}

.home-board-story {
  padding: 1.1rem 1.15rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.03);
}

.home-board-story-title {
  margin: 0.6rem 0 0;
  font-size: 1.55rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.home-board-story .muted {
  margin-top: 0.75rem;
}

.home-board-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .home-board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.home-board-card {
  padding: 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 1.35rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
}

.home-board-card h3 {
  margin: 0.95rem 0 0;
  font-size: 1.35rem;
  line-height: 1.1;
}

.home-board-card .muted,
.home-board-card p:not(.section-kicker):not(.home-metric-value) {
  margin-top: 0.6rem;
  line-height: 1.7;
}

.home-board-card.is-accent {
  background: linear-gradient(135deg, #2550d9 0%, #3567ff 100%);
  border-color: rgba(124, 156, 255, 0.3);
  box-shadow: 0 18px 45px rgba(37, 80, 217, 0.28);
}

.home-board-card.is-accent h3,
.home-board-card.is-accent p {
  color: #f8fbff;
}

.home-board-icon-accent {
  background: rgba(255, 255, 255, 0.14);
  color: #f8fbff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #d7e1f7;
}

.hero-title,
.section-title {
  margin: 1rem 0 0;
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 700;
}

.hero-title {
  max-width: 10ch;
  font-size: clamp(2.15rem, 3.15vw, 3.8rem);
}

.section-title {
  font-size: clamp(1.85rem, 2.7vw, 2.85rem);
}

h1.section-title {
  font-size: clamp(1.95rem, 2.9vw, 3rem);
}

h3 {
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hero-copy,
.section-copy,
.muted {
  color: var(--muted);
  line-height: 1.85;
}

.hero-copy {
  max-width: 42rem;
  margin-top: 1.5rem;
  font-size: 0.98rem;
  line-height: 1.72;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.hero-stats {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.glass-card,
.panel-card,
.content-card,
.faq-item,
.logo-pill,
.cta-banner {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.24);
}

.glass-card,
.panel-card,
.content-card,
.faq-item,
.cta-banner {
  border-radius: 1.5rem;
}

.panel-card {
  background: rgba(14, 20, 37, 0.94);
}

.content-card {
  background: var(--panel-soft);
}

.panel-pad {
  padding: 1.5rem;
}

.card-lift {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.95rem;
  background: rgba(79, 124, 255, 0.14);
  color: #8cb1ff;
}

.media-frame {
  overflow: hidden;
  border-radius: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-head {
  max-width: 44rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-kicker {
  color: var(--blue-soft);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.72rem;
  font-weight: 700;
}

p,
li,
input,
select,
textarea,
button {
  letter-spacing: -0.015em;
}

.logo-pill {
  padding: 0.95rem 1rem;
  text-align: center;
  color: #c6d2ec;
  border-radius: 1rem;
}

.faq-item {
  padding: 1.25rem 1.4rem;
}

.field,
.select-field,
.textarea-field {
  width: 100%;
  box-sizing: border-box;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: white;
  font: inherit;
}

.field::placeholder,
.textarea-field::placeholder {
  color: #72809d;
}

.footer-shell {
  padding: 4rem 0 2.5rem;
  border-top: 1px solid var(--line);
  background: rgba(6, 10, 20, 0.72);
  backdrop-filter: blur(18px);
}

.footer-links {
  display: grid;
  gap: 0.75rem;
}

.cta-banner {
  padding: 2rem;
}

.cta-banner-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.cta-banner-copy {
  max-width: 48rem;
}

.cta-banner-copy .section-title {
  margin-top: 0.75rem;
  max-width: none;
}

.cta-banner-copy .section-copy {
  margin-top: 0.85rem;
  max-width: 42rem;
}

.cta-banner-actions {
  display: flex;
  justify-content: flex-start;
}

@media (min-width: 900px) {
  .cta-banner-grid {
    grid-template-columns: minmax(0, 1.4fr) auto;
    gap: 2rem;
  }

  .cta-banner-actions {
    justify-content: flex-end;
  }
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: #94a3b8;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-inline {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.fade-up {
  animation: fadeUp 0.7s ease both;
}

.delay-1 {
  animation-delay: 0.08s;
}

.float-soft {
  animation: floatSoft 7s ease-in-out infinite;
}

@keyframes floatSoft {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

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