:root {
  --bg: #070807;
  --panel: rgba(12, 14, 15, 0.72);
  --panel-strong: rgba(19, 21, 22, 0.82);
  --text: #f7f8f3;
  --muted: #c7ccc4;
  --soft: #858c83;
  --line: rgba(255, 255, 255, 0.14);
  --green: #9ed64f;
  --green-dark: #335d29;
  --max: 1460px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 280px),
    #070807;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  width: 100%;
  margin: 0;
  padding: 0;
}

.hero-panel {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(158, 214, 79, 0.28), transparent 28rem),
    radial-gradient(circle at 18% 46%, rgba(70, 128, 52, 0.44), transparent 32rem),
    radial-gradient(circle at 52% 72%, rgba(246, 247, 242, 0.08), transparent 24rem),
    linear-gradient(145deg, #030403 0%, #081108 44%, #151914 100%);
}

.hero-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 92px 92px;
  opacity: 0.18;
  pointer-events: none;
}

.hero-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.46)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), transparent 46%, rgba(0, 0, 0, 0.26));
  pointer-events: none;
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(18px, 2.6vw, 34px) clamp(24px, 5vw, 76px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(128px, 16vw, 220px);
}

.brand img {
  width: 100%;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.24));
}

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

.social-link {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(0, 0, 0, 0.08);
  transition:
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  border-color: rgba(215, 243, 146, 0.48);
  color: #d7f392;
  background: rgba(158, 214, 79, 0.08);
  transform: translateY(-1px);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(16px);
}

.language-switcher button {
  min-width: 34px;
  min-height: 30px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-family: Sora, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.language-switcher button[aria-pressed="true"] {
  background: linear-gradient(135deg, #d4f179, #6da13a);
  color: #071007;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: min(760px, calc(100% - 44px));
  margin: clamp(52px, 8vh, 100px) auto 0;
  padding-bottom: clamp(44px, 6vh, 72px);
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: #d7f392;
  font-family: Sora, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin: 20px 0 18px;
  font-family: Sora, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.35rem, 4.1vw, 4.1rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: none;
}

.hero-lede {
  max-width: 640px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--text);
  font-family: Sora, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

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

.button.primary {
  border-color: transparent;
  background: #f6f7f2;
  color: #111412;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.05);
}

.platform-marquee {
  position: absolute;
  right: 0;
  bottom: clamp(18px, 4vh, 42px);
  left: 0;
  z-index: 2;
  display: grid;
  width: min(1060px, calc(100% - 44px));
  margin: 0 auto;
}

.marquee-viewport {
  position: relative;
  overflow: hidden;
}

.marquee-viewport::before,
.marquee-viewport::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 112px;
  content: "";
  pointer-events: none;
}

.marquee-viewport::before {
  left: 0;
  background: linear-gradient(90deg, rgba(7, 12, 7, 0.96), transparent);
}

.marquee-viewport::after {
  right: 0;
  background: linear-gradient(270deg, rgba(7, 12, 7, 0.96), transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: marquee-scroll 28s linear infinite;
}

.marquee-card {
  display: grid;
  place-items: center;
  width: clamp(230px, 22vw, 310px);
  height: 78px;
  padding: 14px 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.075)),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 34px rgba(255, 255, 255, 0.018);
}

.marquee-card img {
  width: auto;
  max-height: 50px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.42;
}

.marquee-logo--terra {
  max-width: 204px;
}

.marquee-logo--strike {
  max-width: 214px;
}

.marquee-logo--runder {
  max-width: 190px;
}

.marquee-card--soon span {
  color: rgba(215, 243, 146, 0.62);
  font-family: Sora, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 9px));
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .marquee-track {
    animation: none;
  }
}

@media (max-width: 980px) {
  .hero-panel {
    min-height: 100svh;
  }

  .site-header {
    align-items: flex-start;
  }

  .header-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
  }

  .platform-marquee {
    bottom: 24px;
    width: min(100% - 28px, 820px);
  }

  .marquee-card {
    width: 250px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: 100%;
  }

  .site-header {
    padding: 14px 16px;
  }

  .brand {
    width: 128px;
  }

  .language-switcher button {
    min-width: 31px;
    min-height: 28px;
    font-size: 0.62rem;
  }

  .hero-content {
    width: min(100% - 28px, 620px);
    margin-top: 74px;
    padding-bottom: 38px;
  }

  h1 {
    margin-block: 14px 12px;
    font-size: clamp(2.24rem, 10vw, 3.7rem);
    letter-spacing: 0;
    text-transform: none;
  }

  .hero-lede {
    margin-bottom: 18px;
    line-height: 1.62;
  }

  .hero-actions {
    display: grid;
    width: min(100%, 330px);
    gap: 9px;
  }

  .button {
    min-height: 40px;
  }

  .button {
    width: 100%;
  }

  .platform-marquee {
    position: relative;
    bottom: auto;
    width: 100%;
    margin-top: 36px;
    padding-bottom: 24px;
  }

  .marquee-viewport::before,
  .marquee-viewport::after {
    width: 46px;
  }

  .marquee-card {
    width: 222px;
    height: 74px;
    padding: 14px 20px;
  }

  .marquee-card img {
    max-height: 46px;
  }

  .marquee-logo--terra {
    max-width: 170px;
  }

  .marquee-logo--strike {
    max-width: 178px;
  }

  .marquee-logo--runder {
    max-width: 156px;
  }
}
