:root {
  color-scheme: dark;
  --ink: #f5f8ff;
  --ink-dark: #09111f;
  --muted: #9fb4cf;
  --muted-dark: #53647b;
  --paper: #ffffff;
  --paper-soft: #f6f8ff;
  --line: rgba(123, 151, 204, 0.24);
  --line-dark: #d9e3f2;
  --navy: #07101e;
  --navy-2: #101a32;
  --blue: #0d8cff;
  --violet: #8a47ff;
  --cyan: #22f2e6;
  --aqua: #28dbe7;
  --green: #2be0a1;
  --warn: #f6bd58;
  --danger: #ff5c82;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(4, 10, 24, 0.34);
  --glow: 0 0 38px rgba(34, 242, 230, 0.2), 0 0 80px rgba(138, 71, 255, 0.12);
  font-family: "Inter", "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 2%, rgba(13, 140, 255, 0.2), transparent 28rem),
    radial-gradient(circle at 88% 0%, rgba(34, 242, 230, 0.14), transparent 26rem),
    var(--navy);
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 16, 30, 0.82);
  backdrop-filter: blur(18px);
}

.site-nav,
.section-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 190px;
  text-decoration: none;
}

.brand-logo {
  width: 184px;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(34, 242, 230, 0.16));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #c3d3eb;
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:not(.button):hover,
.footer-links a:hover {
  color: var(--cyan);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--violet) 50%, var(--cyan));
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(13, 140, 255, 0.22);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #ecf6ff;
  box-shadow: none;
}

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

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(112deg, rgba(7, 16, 30, 0.98) 0%, rgba(12, 17, 42, 0.96) 48%, rgba(4, 24, 38, 0.92) 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.64), transparent 82%);
}

.hero-grid {
  position: relative;
  width: min(1160px, calc(100% - 32px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 58px 0 48px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 52px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: #78fff5;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(44px, 7.2vw, 78px);
}

h2 {
  font-size: clamp(30px, 4.8vw, 50px);
}

h3 {
  font-size: 20px;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(110deg, #4da7ff, #9867ff 48%, #24f5e8);
  -webkit-background-clip: text;
  background-clip: text;
}

.lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: #c6d4e8;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 38px;
}

.proof-item {
  min-height: 98px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.proof-item strong {
  display: block;
  font-size: 25px;
}

.proof-item span {
  color: #a9bdd6;
  font-size: 13px;
}

.dashboard-preview {
  position: relative;
  min-height: 570px;
  border: 1px solid rgba(120, 255, 245, 0.2);
  border-radius: var(--radius);
  background: rgba(10, 18, 35, 0.92);
  box-shadow: var(--shadow), var(--glow);
  overflow: hidden;
}

.dashboard-preview::after {
  position: absolute;
  right: -80px;
  top: -110px;
  width: 260px;
  height: 260px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 242, 230, 0.26), transparent 68%);
}

.preview-top {
  position: relative;
  z-index: 1;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--blue);
}

.window-dots span:nth-child(2) {
  background: var(--violet);
}

.window-dots span:nth-child(3) {
  background: var(--cyan);
}

.preview-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  min-height: 516px;
}

.preview-side {
  padding: 18px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(2, 8, 20, 0.44);
  color: #e8f4ff;
}

.preview-side b {
  display: block;
  margin-bottom: 18px;
}

.preview-pill {
  height: 34px;
  margin-bottom: 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.09);
}

.preview-pill:nth-of-type(1) {
  background: linear-gradient(90deg, rgba(13, 140, 255, 0.45), rgba(34, 242, 230, 0.16));
}

.preview-main {
  padding: 22px;
  background: rgba(255, 255, 255, 0.035);
}

.alert-strip {
  display: grid;
  grid-template-columns: 11px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 84px;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.075);
}

.alert-strip::before {
  content: "";
  width: 11px;
  height: 50px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--danger), var(--violet));
}

.alert-strip.warning::before {
  background: linear-gradient(180deg, var(--warn), var(--cyan));
}

.alert-strip small,
.metric-card span {
  color: #aabbd1;
}

.tag {
  min-width: 74px;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(255, 92, 130, 0.16);
  color: #ff9fb4;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.tag.warning {
  background: rgba(246, 189, 88, 0.16);
  color: #ffe0a0;
}

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

.metric-card {
  min-height: 116px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.metric-card strong {
  display: block;
  margin-top: 14px;
  font-size: 27px;
}

.section {
  padding: 82px 0;
  background: var(--paper-soft);
  color: var(--ink-dark);
}

.section.alt {
  background: #ffffff;
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-head p {
  color: var(--muted-dark);
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(13, 140, 255, 0.34), rgba(138, 71, 255, 0.18), rgba(34, 242, 230, 0.34)) border-box;
  box-shadow: 0 18px 46px rgba(18, 34, 72, 0.08);
}

.feature-card p,
.workflow-step p,
.legal-card p,
.legal-card li {
  color: #40516a;
}

.feature-card .icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--violet) 58%, var(--cyan));
  color: #fff;
  font-weight: 900;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--line-dark);
  box-shadow: 0 18px 46px rgba(18, 34, 72, 0.08);
}

.workflow-step {
  min-height: 196px;
  padding: 24px;
  background: #fff;
}

.workflow-step span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--blue);
  font-weight: 900;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 46px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 20%, rgba(34, 242, 230, 0.3), transparent 20rem),
    linear-gradient(135deg, #09111f, #151c41 52%, #062b37);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-band p {
  max-width: 720px;
  color: #c8d8ed;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #9fb4cf;
  font-size: 14px;
  background: var(--navy);
}

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

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

.legal-hero {
  padding: 76px 0 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 72% 10%, rgba(34, 242, 230, 0.18), transparent 24rem),
    linear-gradient(135deg, #07101e, #111a35 58%, #062935);
}

.legal-hero .lead {
  color: #c6d4e8;
}

.legal-meta {
  display: inline-flex;
  margin-top: 22px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: #aac0dd;
  background: rgba(255, 255, 255, 0.06);
}

.legal-layout {
  width: min(940px, calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0 82px;
}

.legal-card {
  padding: 42px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink-dark);
  box-shadow: 0 24px 70px rgba(18, 34, 72, 0.1);
}

.legal-card h2 {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid #e6edf7;
  font-size: 26px;
}

.legal-card h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-card ul {
  padding-left: 22px;
}

@media (max-width: 960px) {
  .hero-grid,
  .feature-grid,
  .workflow {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 42px;
  }

  .dashboard-preview {
    min-height: 500px;
  }

  .preview-body {
    grid-template-columns: 1fr;
  }

  .preview-side {
    display: none;
  }
}

@media (max-width: 700px) {
  .site-nav,
  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    padding: 14px 0;
  }

  .brand-logo {
    width: 168px;
  }

  .nav-links {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .proof-row,
  .metrics {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .footer-links {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .legal-card,
  .cta-band {
    padding: 24px;
  }
}
