:root {
  --background: 0 0% 10%;
  --foreground: 0 0% 96%;
  --primary: 119 99% 46%;
  --primary-foreground: 0 0% 4%;
  --secondary: 0 0% 18%;
  --secondary-foreground: 0 0% 96%;
  --muted: 0 0% 16%;
  --muted-foreground: 0 0% 60%;
  --accent: 119 99% 46%;
  --accent-foreground: 0 0% 4%;
  --destructive: 0 84% 60%;
  --border: 0 0% 20%;
  --input: 0 0% 20%;
  --ring: 119 99% 46%;
  --radius: 0.5rem;
  --nav-button: 0 0% 18%;
  --hero-bg: 0 0% 8%;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  background: hsl(var(--hero-bg));
  color: hsl(var(--foreground));
  overflow-x: hidden;
  max-width: 100vw;
  font-family: Sora, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.font-sora {
  font-family: Sora, sans-serif;
}

.antialiased {
  -webkit-font-smoothing: antialiased;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: hsl(var(--hero-bg) / 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid hsl(0 0% 20% / 0.7);
}

.nav-logo {
  color: hsl(var(--foreground));
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: hsl(var(--foreground));
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1rem;
  border-radius: 0.5rem;
  background: hsl(var(--nav-button));
  color: hsl(var(--foreground));
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.15s ease;
}

.nav-cta:hover {
  background: hsl(var(--nav-button) / 0.8);
}

.nav-cta:active {
  transform: scale(0.97);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  background: hsl(var(--hero-bg));
  overflow: hidden;
}

.hero-scene {
  position: absolute;
  inset: 0;
}

.hero-scene spline-viewer {
  width: 100%;
  height: 100%;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgb(0 0 0 / 0.3);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 10;
  pointer-events: none;
  width: 100%;
  max-width: 90%;
  padding: 8rem 1.5rem 2.5rem;
}

.hero-copy h1 {
  margin: 0 0 0.5rem;
  color: hsl(var(--foreground));
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.hero-copy h1 span {
  color: hsl(var(--primary));
}

.hero-sub {
  margin: 0 0 0.75rem;
  color: hsl(var(--foreground) / 0.8);
  font-size: clamp(1.125rem, 2.5vw, 1.875rem);
  font-weight: 300;
}

.hero-desc {
  margin: 0 0 1rem;
  color: hsl(var(--muted-foreground));
  font-size: clamp(0.875rem, 1.5vw, 1.25rem);
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-weight: 700;
}

.btn-primary,
.btn-white {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: 0;
  border-radius: 0.125rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.15s ease;
}

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
  filter: none;
  background: hsl(119 99% 38%);
  box-shadow: 0 0 0 1px hsl(119 99% 32%);
}

.btn-white {
  background: #fff;
  color: hsl(var(--background));
}

.btn-white:hover {
  filter: brightness(0.9);
}

.btn-primary:active,
.btn-white:active {
  transform: scale(0.97);
}

.hero-trust {
  margin: 1rem 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
  font-weight: 300;
}

.hero-trust a {
  pointer-events: auto;
  color: hsl(var(--foreground));
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.fade-up {
  opacity: 0;
  animation: fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fade-up {
  0% {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (min-width: 768px) {
  .nav {
    padding: 0.85rem 4rem;
  }

  .nav-links {
    display: flex;
  }

  .burger,
  .overlay,
  .mobile-menu {
    display: none !important;
  }

  .hero-copy {
    max-width: 28rem;
    padding: 8rem 2.5rem 2.5rem;
  }

  .hero-sub {
    margin-bottom: 1.5rem;
  }

  .hero-desc {
    margin-bottom: 2rem;
  }

  .btn-primary,
  .btn-white {
    padding: 1rem 2rem;
  }

  .hero-trust {
    margin-top: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-copy {
    max-width: 42rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    animation: none;
    opacity: 1;
  }
}

.land-foot {
  position: relative;
  z-index: 2;
  padding: 1.25rem 2rem 2rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.85rem;
}

.land-foot a {
  color: hsl(var(--foreground));
}

.land-main {
  position: relative;
  z-index: 2;
  background: hsl(var(--hero-bg));
  color: hsl(var(--foreground));
  padding: 3rem 2rem 2rem;
}

.land-main__inner {
  max-width: 40rem;
  margin: 0 auto;
}

.land-main h2 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 2rem 0 0.75rem;
}

.land-main p,
.land-main li {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  font-size: 1rem;
}

.land-main ul,
.land-main ol {
  margin: 0;
  padding-left: 1.2rem;
}

.land-main li {
  margin: 0.4rem 0;
}

.land-main a {
  color: hsl(var(--foreground));
}

:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 80;
  background: #fff;
  color: #000;
  padding: 0.7rem 1rem;
  text-decoration: none;
}

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

.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 50%;
  background: #28282a;
  cursor: pointer;
  padding: 0;
}

.burger span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 1.5px;
  margin-left: -9px;
  background: #fff;
  border-radius: 2px;
}

.burger span:nth-child(1) {
  transform: translateY(-6.5px);
}

.burger span:nth-child(3) {
  transform: translateY(6.5px);
}

.burger[aria-expanded='true'] {
  background: #fff;
}

.burger[aria-expanded='true'] span {
  background: #000;
}

.burger[aria-expanded='true'] span:nth-child(1) {
  transform: rotate(45deg);
}

.burger[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded='true'] span:nth-child(3) {
  transform: rotate(-45deg);
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(6px);
}

.overlay[hidden] {
  display: none;
}

.mobile-menu {
  position: fixed;
  top: 4.4rem;
  left: 0.75rem;
  right: 0.75rem;
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem 1.15rem 1.25rem;
  background: hsl(var(--hero-bg) / 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid hsl(0 0% 20%);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a {
  color: hsl(var(--foreground));
  text-decoration: none;
  font-size: 1.05rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid hsl(0 0% 20%);
}

.mobile-menu a:last-child {
  border-bottom: 0;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .nav-cta {
    letter-spacing: 0.06em;
    font-size: 0.68rem;
    padding: 0 0.75rem;
  }
}

.hero-scene--still {
  background: hsl(var(--hero-bg));
}

.consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 1rem 1.25rem;
  background: hsl(var(--hero-bg) / 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid hsl(0 0% 20%);
  color: hsl(var(--foreground));
}

.consent[hidden] {
  display: none;
}

.consent p {
  margin: 0;
  flex: 1 1 16rem;
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
}

.consent a {
  color: hsl(var(--foreground));
}

.consent-actions {
  display: flex;
  gap: 0.5rem;
}

@media (prefers-reduced-transparency: reduce) {
  .nav,
  .mobile-menu,
  .consent {
    background: hsl(var(--hero-bg));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
