:root {
  --bg: #06111f;
  --bg-soft: #0b1b31;
  --surface: rgba(18, 34, 58, 0.72);
  --surface-strong: #10233d;
  --surface-light: #edf3ff;
  --text: #e8f0ff;
  --text-muted: #b4c4e4;
  --text-dark: #0a1628;
  --border: rgba(125, 174, 255, 0.22);
  --accent: #2dd4bf;
  --accent-2: #60a5fa;
  --accent-3: #22d3ee;
  --shadow: 0 14px 42px rgba(2, 8, 23, 0.35);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(96, 165, 250, 0.15), transparent 45%),
    radial-gradient(circle at 90% 12%, rgba(45, 212, 191, 0.16), transparent 48%),
    linear-gradient(180deg, #04101d 0%, #071424 55%, #081a2f 100%);
}

a {
  color: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(5, 14, 27, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-bar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand-mark {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 1.05rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  outline: none;
}

.nav-links .nav-cta {
  color: #04111f;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  border-color: transparent;
}

.hero {
  position: relative;
  padding: 5.5rem 0 3.5rem;
  overflow: clip;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 26%, rgba(45, 212, 191, 0.18), transparent 40%),
    radial-gradient(circle at 80% 36%, rgba(96, 165, 250, 0.2), transparent 44%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  align-items: start;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent-3);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--text);
  line-height: 1.15;
}

h1 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  max-width: 14ch;
  margin-bottom: 1rem;
}

h2 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2.3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.08rem;
  margin-bottom: 0.55rem;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.hero-copy {
  max-width: 58ch;
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.75rem 1.05rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  color: #04111f;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  box-shadow: 0 10px 25px rgba(34, 211, 238, 0.22);
}

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

.hero-panel {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(14, 29, 50, 0.88), rgba(11, 23, 40, 0.88));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.metric {
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.metric + .metric {
  margin-top: 0.75rem;
}

.metric-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}

.metric strong {
  color: var(--text);
  font-size: 0.97rem;
}

.panel-note {
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
}

.section {
  padding: 4.5rem 0;
}

.section-surface {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.03));
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.split-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.25rem;
  align-items: start;
}

.feature-stack {
  display: grid;
  gap: 0.85rem;
}

.feature-card {
  border-radius: var(--radius);
  padding: 1rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.service-card {
  border-radius: var(--radius);
  padding: 1.1rem;
  background: rgba(12, 24, 42, 0.72);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.service-card p,
.feature-card p,
.principle-item p {
  margin-bottom: 0;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.1rem;
}

.principle-item {
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(45, 212, 191, 0.15);
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.04), rgba(96, 165, 250, 0.04));
}

.privacy-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(8, 19, 33, 0.55);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.privacy-block p {
  max-width: 62ch;
  margin-bottom: 0;
}

.contact-shell {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  align-items: start;
}

.contact-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(9, 21, 36, 0.85);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.contact-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-3);
  margin-bottom: 0.5rem;
}

.contact-card a {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 0.6rem;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  color: var(--accent-3);
  outline: none;
}

.contact-card p {
  margin-bottom: 0;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(5, 12, 23, 0.72);
  padding: 2rem 0;
}

.js .reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(0.985);
  filter: blur(4px);
  transition:
    opacity 560ms ease,
    transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 560ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.js .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr auto;
  gap: 1rem;
  align-items: start;
}

.brand-footer {
  margin-bottom: 0.6rem;
}

.footer-copy {
  margin: 0;
  max-width: 54ch;
}

.footer-links {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent-3);
  outline: none;
}

.footer-legal {
  grid-column: 1 / -1;
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
}

.legal-shell {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(10, 20, 36, 0.78);
  box-shadow: var(--shadow);
  padding: 1.35rem;
}

.legal-shell h1 {
  max-width: none;
  margin-bottom: 0.4rem;
}

.legal-shell h2 {
  font-size: 1.15rem;
  margin-top: 1.35rem;
  margin-bottom: 0.55rem;
}

.legal-shell ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.legal-shell li + li {
  margin-top: 0.35rem;
}

.legal-meta {
  margin-bottom: 1.25rem;
}

.legal-shell a {
  color: var(--accent-3);
  text-decoration-color: rgba(34, 211, 238, 0.45);
}

.legal-shell a:hover,
.legal-shell a:focus-visible {
  color: #9cecff;
  outline: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .split-layout,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .privacy-block {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .nav-bar {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.85rem 0;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 0.35rem;
  }

  .hero {
    padding-top: 4rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal-on-scroll,
  .js .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .button,
  .nav-links a {
    transition: none;
  }
}
