:root {
  --bg: #07141f;
  --bg-soft: rgba(7, 20, 31, 0.54);
  --surface: rgba(9, 22, 34, 0.6);
  --surface-strong: rgba(7, 18, 30, 0.78);
  --line: rgba(212, 238, 255, 0.18);
  --line-strong: rgba(247, 251, 255, 0.38);
  --text: #eff8ff;
  --muted: rgba(239, 248, 255, 0.7);
  --muted-strong: rgba(239, 248, 255, 0.84);
  --accent: #ffd15c;
  --accent-deep: #ff8f3c;
  --accent-cool: #7ce6ff;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.36);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-sm: 999px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Avenir Next", "Trebuchet MS", "Noto Sans SC", sans-serif;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.page-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  filter: saturate(0.88) contrast(1.05) brightness(0.65);
}

.page-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.08), transparent 28%),
    radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.06), transparent 24%),
    linear-gradient(130deg, rgba(7, 12, 18, 0.58), rgba(7, 12, 18, 0.18) 42%, rgba(7, 12, 18, 0.64));
}

.page-grid {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 1));
}

.hero,
.support {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.hero {
  display: flex;
  align-items: center;
  min-height: 78vh;
  padding: 72px 0 44px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.hero::before {
  top: 18px;
  left: -16px;
  width: 180px;
  height: 180px;
  border-radius: 28px;
}

.hero::after {
  right: 12px;
  bottom: 10px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
}

.hero-copy {
  position: relative;
  max-width: 760px;
  padding: 40px 0 44px;
  animation: rise-in 800ms ease both;
}

.hero-copy h1 {
  margin: 0;
  max-width: none;
  display: inline-flex;
  align-items: flex-end;
  gap: 14px;
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: clamp(3rem, 7vw, 6.1rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
}

.hero-title-text {
  display: inline-block;
}

.hero-title-accent {
  color: #ffbf47;
  text-shadow: 0 4px 22px rgba(255, 191, 71, 0.18);
}

.hero-title-rest {
  color: var(--text);
}

.hero-title-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  margin-bottom: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
  font-family: "Avenir Next", "Trebuchet MS", "Noto Sans SC", sans-serif;
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: lowercase;
}

.hero-description {
  margin: 24px 0 0;
  max-width: 620px;
  color: var(--muted-strong);
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.75;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.button-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-label {
  line-height: 1;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #101419;
  box-shadow: 0 16px 40px rgba(255, 176, 64, 0.3);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(14, 20, 28, 0.56);
  color: var(--text);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(12px);
}

.support {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 36px;
  align-items: center;
  padding: 0 0 44px;
  animation: rise-in 920ms ease 240ms both;
}

.support-copy {
  max-width: 640px;
}

.support-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.support-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.support-description {
  margin: 14px 0 0;
  color: var(--muted-strong);
  line-height: 1.75;
}

.support-marquee {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 12px;
}

.support-marquee span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(5, 15, 23, 0.42);
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .support {
    grid-template-columns: 1fr;
  }

  .support-marquee {
    justify-content: start;
  }
}

@media (max-width: 640px) {
  .hero,
  .support {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .hero {
    padding: 28px 0 28px;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-copy {
    padding: 0;
  }

  .hero-copy h1 {
    font-size: clamp(2.4rem, 14vw, 4rem);
  }

  .hero-title-tag {
    min-height: 36px;
    padding: 0 12px;
    margin-bottom: 8px;
  }

  .hero-description {
    margin-top: 18px;
    line-height: 1.68;
  }

  .cta-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .support {
    padding-bottom: 28px;
  }
}

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

  .hero-copy,
  .support {
    animation: none;
  }

  .button {
    transition: none;
  }
}
