:root {
  --hhf-orange: #F28705;
  --hhf-green-1: #CAF272;
  --hhf-green-2: #D6F299;
  --hhf-green-3: #E3F2C2;

  --bg-dark: #0B1020;
  --text: #F2F2F2;
  --text-2: rgba(242, 242, 242, 0.72);
  --text-3: rgba(242, 242, 242, 0.56);
  --card: rgba(26, 26, 26, 0.68);
  --border: rgba(242, 242, 242, 0.12);

  /* Design System: Aurora background */
  --ds-aurora-blob-size: 70vw;
  --ds-aurora-blob-blur: 120px;
  --ds-aurora-blob-opacity: 0.18;

  --ds-aurora-a-color: var(--hhf-green-1);
  --ds-aurora-a-left: 52%;
  --ds-aurora-a-top: -26%;
  --ds-aurora-a-opacity: var(--ds-aurora-blob-opacity);

  --ds-aurora-b-color: var(--hhf-green-2);
  --ds-aurora-b-right: -12%;
  --ds-aurora-b-bottom: 12%;
  --ds-aurora-b-opacity: 0.12;

  --ds-aurora-c-color: var(--hhf-green-3);
  --ds-aurora-c-left: 64%;
  --ds-aurora-c-bottom: 36%;
  --ds-aurora-c-opacity: 0.1;

  --ds-aurora-mobile-size: 96vw;
  --ds-aurora-mobile-blur: 96px;
  --ds-aurora-mobile-opacity: 0.18;
  --ds-aurora-mobile-a-left: -34%;
  --ds-aurora-mobile-a-top: -14%;
  --ds-aurora-mobile-b-right: -34%;
  --ds-aurora-mobile-b-top: 22%;
  --ds-aurora-mobile-b-opacity: 0.1;
  --ds-aurora-mobile-c-left: -8%;
  --ds-aurora-mobile-c-bottom: -18%;
  --ds-aurora-mobile-c-opacity: 0.14;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background-color: var(--bg-dark);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Background */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--bg-dark);
}

.bg--aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(115% 98% at 50% 46%, rgba(11, 16, 32, 0) 46%, rgba(4, 8, 16, 0.78) 100%);
}

.bg--aurora .blob {
  position: absolute;
  width: var(--ds-aurora-blob-size);
  height: var(--ds-aurora-blob-size);
  border-radius: 999px;
  filter: blur(var(--ds-aurora-blob-blur));
  opacity: var(--ds-aurora-blob-opacity);
}

.bg--aurora .blob--a {
  left: var(--ds-aurora-a-left);
  top: var(--ds-aurora-a-top);
  background: var(--ds-aurora-a-color);
  opacity: var(--ds-aurora-a-opacity);
}

.bg--aurora .blob--b {
  right: var(--ds-aurora-b-right);
  bottom: var(--ds-aurora-b-bottom);
  background: var(--ds-aurora-b-color);
  opacity: var(--ds-aurora-b-opacity);
}

.bg--aurora .blob--c {
  left: var(--ds-aurora-c-left);
  bottom: var(--ds-aurora-c-bottom);
  background: var(--ds-aurora-c-color);
  opacity: var(--ds-aurora-c-opacity);
}

/* Landing Layout */
.landing {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.landing__container {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  min-height: calc(100dvh - 48px);
}

/* Header */
.landing__header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 8px;
}

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

.landing__logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.landing__badge {
  font-size: 10px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.landing__logo-img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(202, 242, 114, 0.2));
}

/* Content */
.landing__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 0;
}

.landing__content h1 {
  font-size: clamp(38px, 10vw, 48px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  text-align: center;
}

.lead {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.5;
  max-width: 28rem;
}

.landing__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  margin-top: 32px;
  padding: 16px 24px;
  border-radius: 18px;
  background: var(--hhf-green-1);
  color: #000;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 32px rgba(202, 242, 114, 0.25);
}

.landing__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(202, 242, 114, 0.35);
}

.landing__cta:active {
  transform: scale(0.99);
}

.landing__hint {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
}

/* Footer */
.landing__footer {
  margin-top: auto;
  padding-top: 24px;
  font-size: 11px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  text-align: center;
}

.landing__legal-link {
  color: var(--text-3);
  font-size: 11px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

.landing__legal-link:hover {
  color: var(--text-2);
}

.legal-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  border: 0;
  background: transparent;
  padding: 0;
  width: min(92vw, 440px);
  max-height: calc(100dvh - 24px);
  color: var(--text);
}

.legal-modal::backdrop {
  background: rgba(4, 9, 18, 0.72);
  backdrop-filter: blur(2px);
}

.legal-modal__card {
  background: rgba(26, 26, 26, 0.86);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.legal-modal__title {
  font-size: 16px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.legal-modal__card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.45;
}

.legal-modal__card p + p {
  margin-top: 10px;
}

.legal-modal__close {
  margin-top: 16px;
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* Desktop adjustments */
@media (min-width: 600px) {
  .landing__container {
    max-width: 480px;
  }

  .landing__content h1 {
    font-size: 52px;
  }
}

/* Mobile background tuning */
@media (max-width: 599px) {
  .bg--aurora {
    background:
      radial-gradient(64% 42% at 20% 8%, rgba(202, 242, 114, 0.26) 0%, rgba(202, 242, 114, 0) 70%),
      radial-gradient(70% 48% at 84% 36%, rgba(242, 135, 5, 0.15) 0%, rgba(242, 135, 5, 0) 74%),
      radial-gradient(72% 46% at 20% 92%, rgba(214, 242, 153, 0.2) 0%, rgba(214, 242, 153, 0) 72%),
      var(--bg-dark);
  }

  .bg--aurora .blob {
    display: none;
  }
}
