:root {
  --bg: #071a3f;
  --ink: #f8f3e7;
  --muted: #d8dde6;
  --line: rgba(248, 243, 231, 0.17);
  --fr-blue: #123f8c;
  --fr-white: #f8f3e7;
  --fr-red: #d22b3f;
  --cyan: #9ad7ff;
  --panel: rgba(7, 18, 43, 0.78);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px clamp(18px, 4vw, 54px);
  background: rgba(7, 18, 43, 0.76);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(7, 18, 43, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.button,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.header-cta,
.button-primary {
  color: #ffffff;
  background: var(--fr-red);
}

.button-primary {
  min-height: 52px;
  padding-inline: 28px;
  box-shadow: 0 18px 42px rgba(210, 43, 63, 0.28);
}

.button-secondary {
  color: var(--ink);
  background: rgba(248, 243, 231, 0.08);
  border-color: var(--line);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.landing {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 72px clamp(18px, 5vw, 70px) 58px;
}

.rift-canvas,
.hero-overlay {
  position: fixed;
  inset: 0;
}

.rift-canvas {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #071a3f 0 34%, #f8f3e7 34% 66%, #8f1025 66% 100%);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 18, 43, 0.96) 0%, rgba(18, 63, 140, 0.84) 36%, rgba(248, 243, 231, 0.5) 58%, rgba(210, 43, 63, 0.72) 100%),
    linear-gradient(0deg, rgba(7, 18, 43, 0.9) 0%, rgba(7, 18, 43, 0.12) 52%);
}

.hero {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.54fr);
  align-items: center;
  gap: clamp(22px, 4vw, 58px);
  width: min(1180px, 100%);
  min-height: calc(100vh - 112px);
}

.hero-text {
  min-width: 0;
}

.hero-logo {
  display: block;
  width: clamp(270px, 28vw, 370px);
  max-height: min(54vh, 370px);
  height: auto;
  justify-self: end;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.42));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 14px;
  font-size: clamp(2.25rem, 5vw, 3.85rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 700px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
  line-height: 1.42;
}

.hero-copy-secondary {
  margin-bottom: 18px;
}

.benefits {
  width: min(880px, 100%);
  margin: 20px 0 0;
  padding: 14px 16px;
  color: var(--ink);
  background: linear-gradient(90deg, rgba(18, 63, 140, 0.72), rgba(248, 243, 231, 0.1), rgba(210, 43, 63, 0.52));
  border: 1px solid var(--line);
  border-radius: 8px;
  backdrop-filter: blur(12px);
  font-weight: 700;
}

.legal-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer {
  position: fixed;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px clamp(18px, 5vw, 70px);
  color: rgba(248, 243, 231, 0.72);
  background: rgba(7, 18, 43, 0.72);
  border-top: 1px solid rgba(248, 243, 231, 0.12);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand small {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding-inline: 14px;
  }

  .landing {
    min-height: auto;
    padding: 76px 16px 58px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    min-height: auto;
  }

  h1 {
    font-size: clamp(1.9rem, 9vw, 2.75rem);
  }

  .hero-logo {
    width: min(68vw, 230px);
    align-self: center;
  }

  .button-primary {
    width: 100%;
  }

  .benefits {
    margin-top: 18px;
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button:hover,
  .header-cta:hover {
    transform: none;
  }
}
