:root {
  --ink: #010101;
  --paper: #fcfcfe;
  --slate: #dee1ea;
  --blue: #1e5ad1;
  --blue-deep: #123a8a;
  --muted: #44474e;
  --line: #74777f;
  --font-display: "Outfit", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a {
  color: var(--blue);
}

a:hover {
  color: var(--blue-deep);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem clamp(1rem, 4vw, 2.5rem);
}

.site-header a {
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-header nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.site-header nav a {
  opacity: 0.9;
  font-weight: 500;
}

.site-header nav a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.hero {
  position: relative;
  min-height: min(70vh, 32rem);
  display: grid;
  align-items: center;
  padding: clamp(5rem, 10vh, 6rem) clamp(1rem, 4vw, 2.5rem) clamp(2.25rem, 6vh, 3.25rem);
  color: var(--paper);
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(144, 180, 255, 0.35), transparent 55%),
    linear-gradient(165deg, #0a1628 0%, var(--blue-deep) 42%, #1e5ad1 78%, #3a6fd8 100%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -20% 40%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(252, 252, 254, 0.12), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.tagline {
  margin: 0 0 1.75rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  max-width: 28rem;
  opacity: 0.92;
  font-weight: 400;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 0.35rem;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: var(--paper);
  color: var(--blue-deep);
}

.btn-primary:hover {
  background: #e8eefc;
  color: var(--blue-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(252, 252, 254, 0.45);
}

.btn-ghost:hover {
  background: rgba(252, 252, 254, 0.08);
  color: var(--paper);
}

.cta-note {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  opacity: 0.75;
}

.section {
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 2.5rem);
  max-width: 52rem;
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--blue-deep);
}

.section p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.section p:last-child {
  margin-bottom: 0;
}

.video-shell {
  margin-top: 1.5rem;
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(135deg, var(--slate), #c5cdf0 55%, var(--slate));
  display: grid;
  place-items: center;
  color: var(--blue-deep);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-footer {
  border-top: 1px solid #d5d8e2;
  padding: 2rem clamp(1rem, 4vw, 2.5rem) 2.5rem;
  background: var(--slate);
}

.site-footer-inner {
  max-width: 52rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--blue-deep);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Legal pages */
.legal-body {
  background: var(--paper);
}

.legal-top {
  background: linear-gradient(165deg, #0a1628, var(--blue-deep));
  color: var(--paper);
  padding: 1.25rem clamp(1rem, 4vw, 2.5rem);
}

.legal-top a {
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
}

.legal-top a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.legal-wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 4vw, 2.5rem) 3rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
}

.legal-wrap h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}

.legal-wrap .legal-updated {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-wrap h2 {
  margin: 1.75rem 0 0.65rem;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.legal-wrap h3 {
  margin: 1.15rem 0 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.legal-wrap p {
  margin: 0 0 0.85rem;
}

.legal-wrap ul {
  margin: 0 0 0.85rem;
  padding-left: 1.35rem;
}

.legal-wrap li {
  margin-bottom: 0.35rem;
}

.legal-wrap li:last-child {
  margin-bottom: 0;
}

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

  .btn {
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}
