:root {
  --color-brand: #208aef;
  --color-brand-dark: #0a1220;
  --color-brand-soft: #4aa3f5;
  --color-text: #f5f8fc;
  --color-text-muted: rgba(245, 248, 252, 0.78);
  --color-surface: #0f1a2b;
  --color-surface-2: #152338;
  --color-border: rgba(255, 255, 255, 0.12);
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --max-width: 68rem;
  --radius: 0.75rem;
  --shadow-cta: 0 12px 32px rgba(32, 138, 239, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-brand-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-brand-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--color-brand);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--color-brand);
  color: #fff;
  border-radius: 0.5rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  padding: 1.25rem 1.5rem;
}

.site-header__inner,
.site-footer__inner,
.section__inner,
.privacy-doc {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand:hover {
  color: #fff;
  opacity: 0.9;
}

.nav-link {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-link:hover {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 7rem 0 4.5rem;
  background-color: var(--color-brand-dark);
  background-image:
    linear-gradient(
      115deg,
      rgba(10, 18, 32, 0.92) 0%,
      rgba(10, 18, 32, 0.72) 42%,
      rgba(32, 138, 239, 0.35) 100%
    ),
    url("../assets/feature-graphic.png");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero__inner {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
  max-width: 40rem;
  animation: hero-enter 0.9s ease-out both;
}

.hero__eyebrow {
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.hero__tagline {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero__lead {
  margin: 0 0 1.75rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 34rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 650;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.btn--primary {
  background: var(--color-brand);
  color: #fff;
  box-shadow: var(--shadow-cta);
}

.btn--primary:hover {
  background: #1a78d4;
  color: #fff;
  transform: translateY(-1px) scale(1.02);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  border-color: #fff;
  color: #fff;
}

.cta-note {
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.section {
  padding: 4.5rem 0;
}

.section--surface {
  background: linear-gradient(180deg, #0c1524 0%, var(--color-surface) 100%);
}

.section--cta {
  background:
    radial-gradient(circle at top right, rgba(32, 138, 239, 0.22), transparent 45%),
    var(--color-brand-dark);
  text-align: center;
}

.section__eyebrow {
  margin: 0 0 0.65rem;
  color: var(--color-brand-soft);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section__intro {
  margin: 0 0 2.5rem;
  color: var(--color-text-muted);
  max-width: 38rem;
  font-size: 1.05rem;
}

.section--cta .section__intro {
  margin-inline: auto;
}

.benefits {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 720px) {
  .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 2.5rem;
  }
}

.benefit h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.benefit p {
  margin: 0;
  color: var(--color-text-muted);
}

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

@media (min-width: 900px) {
  .missions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.mission {
  padding: 1.25rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.mission__label {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.mission__hint {
  margin: 0.4rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--color-border);
  background: #070d16;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Privacy page */
.page-privacy {
  background: #08101b;
}

.page-privacy .site-header {
  position: sticky;
  top: 0;
  background: rgba(8, 16, 27, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.privacy-hero {
  padding: 6.5rem 0 2rem;
}

.privacy-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.03em;
}

.privacy-hero__meta {
  margin: 0;
  color: var(--color-text-muted);
}

.privacy-doc {
  padding: 0 0 4rem;
}

.privacy-doc section {
  margin: 0 0 2.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.privacy-doc section:last-of-type {
  border-bottom: 0;
}

.privacy-doc h2 {
  margin: 0 0 0.85rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.privacy-doc p,
.privacy-doc li {
  color: var(--color-text-muted);
}

.privacy-doc ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.privacy-table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 36rem;
  font-size: 0.92rem;
}

.privacy-table th,
.privacy-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--color-border);
}

.privacy-table th {
  background: var(--color-surface-2);
  color: #fff;
  font-weight: 650;
}

.privacy-table td {
  color: var(--color-text-muted);
}

.privacy-table tr:last-child td {
  border-bottom: 0;
}

.privacy-table code {
  font-size: 0.84em;
  color: #d7e9ff;
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .hero__inner {
    animation: none;
  }

  .btn,
  .btn--primary:hover {
    transition: none;
    transform: none;
  }
}
