:root {
  --color-bg: #050a16;
  --color-bg-secondary: #0b1224;
  --color-accent: #3e63dd;
  --color-accent-light: #5b9dff;
  --color-accent-glow: #5b7cf5;
  --color-accent-violet: #8b5cf6;
  --color-text: #f4f6fb;
  --color-text-muted: #97a1ba;
  --color-border: #1c2540;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;

  --radius-pill: 999px;
  --container-width: 1240px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  background: rgba(5, 10, 22, 0.75);
  backdrop-filter: blur(10px);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  flex-shrink: 0;
}

.logo-word {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.main-nav a:hover {
  color: var(--color-text);
}

.chevron {
  font-size: 12px;
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
  color: #ffffff;
  box-shadow: 0 0 28px rgba(91, 157, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 36px rgba(91, 157, 255, 0.55);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-accent-light);
}

/* Hero */

.hero {
  position: relative;
  padding: 72px 0 140px;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero-copy {
  flex: 0 0 auto;
  width: 46%;
  min-width: 320px;
}

.hero-headline {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 24px;
  color: var(--color-text);
}

.hero-subheadline {
  font-size: 18px;
  color: var(--color-text-muted);
  margin: 0 0 40px;
  max-width: 460px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
}

.hero-bg-illustration {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-illustration img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  -webkit-mask-image: linear-gradient(
    to left,
    black 45%,
    rgba(0, 0, 0, 0.6) 65%,
    transparent 92%
  );
  mask-image: linear-gradient(
    to left,
    black 45%,
    rgba(0, 0, 0, 0.6) 65%,
    transparent 92%
  );
}

.hero-wave {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 55%;
  height: 60%;
  background: radial-gradient(60% 60% at 0% 100%, rgba(62, 99, 221, 0.35), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 32px 0;
  color: var(--color-text-muted);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

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

.footer-links a {
  color: var(--color-text-muted);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--color-text);
}

/* Legal pages */

.legal-page {
  padding: 64px 0 100px;
}

.legal-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}

.legal-title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--color-text);
}

.legal-updated {
  color: var(--color-text-muted);
  font-size: 14px;
  margin: 0 0 48px;
}

.legal-container h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin: 40px 0 12px;
}

.legal-container p,
.legal-container li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.legal-container ul {
  padding-left: 20px;
  margin: 12px 0;
}

.legal-container a {
  color: var(--color-accent-light);
  text-decoration: underline;
}

.legal-container strong {
  color: var(--color-text);
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-subheadline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-headline {
    font-size: 40px;
  }
}
