:root {
  background: #020813;
  color: #eaf2ff;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  background:
    radial-gradient(circle at 22% 16%, rgba(24, 112, 255, 0.2), transparent 34rem),
    radial-gradient(circle at 78% 84%, rgba(34, 255, 106, 0.08), transparent 28rem),
    linear-gradient(135deg, #020813 0%, #04142a 48%, #01050d 100%);
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  background:
    linear-gradient(rgba(84, 158, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84, 158, 255, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 78%);
  pointer-events: none;
  position: fixed;
}

.language-control {
  align-items: center;
  color: #9fb7d6;
  display: inline-flex;
  gap: 8px;
  position: fixed;
  right: 16px;
  top: 16px;
  z-index: 220;
}

.language-control span {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.language-control select {
  background: rgba(2, 8, 19, 0.82);
  border: 1px solid rgba(82, 150, 255, 0.42);
  border-radius: 999px;
  color: #eaf2ff;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  min-height: 34px;
  padding: 6px 28px 6px 11px;
}

.language-trigger {
  align-items: center;
  background: rgba(2, 8, 19, 0.72);
  border: 1px solid rgba(65, 145, 255, 0.5);
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  min-height: 40px;
  padding: 0;
  width: 40px;
}

.language-trigger svg {
  fill: currentColor;
  height: 21px;
  width: 21px;
}

.language-trigger [data-language-current] {
  display: none;
}

.language-menu {
  background: rgba(3, 12, 28, 0.98);
  border: 1px solid rgba(82, 150, 255, 0.42);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  display: none;
  gap: 5px;
  min-width: 150px;
  padding: 7px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 80;
}

.language-control:hover .language-menu,
.language-control.is-open .language-menu {
  display: grid;
}

.language-menu button {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 34px;
  padding: 7px 10px;
  text-align: left;
}

.language-menu button:hover,
.language-menu button.active {
  background: rgba(37, 99, 235, 0.42);
  border-color: rgba(125, 211, 252, 0.5);
}

.landing-language {
  margin: 0;
  position: fixed;
  right: 16px;
  top: 16px;
  width: auto;
  z-index: 220;
}

.landing-shell {
  display: grid;
  gap: 26px;
  margin: 0 auto;
  max-width: 1220px;
  min-height: 100vh;
  padding: clamp(18px, 4vw, 46px);
  position: relative;
  z-index: 1;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(24px, 5vw, 54px);
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  min-height: 72vh;
}

.landing-brand {
  align-items: center;
  color: #eaf2ff;
  display: inline-flex;
  gap: 10px;
  font-size: 14px;
  font-weight: 950;
  margin-bottom: 34px;
  text-decoration: none;
}

.landing-logo {
  align-items: center;
  background: rgba(2, 8, 19, 0.72);
  border: 1px solid rgba(125, 211, 252, 0.65);
  border-radius: 13px;
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.28);
  display: inline-flex;
  height: 48px;
  justify-content: center;
  overflow: hidden;
  padding: 4px;
  width: 48px;
}

.landing-logo img {
  display: block;
  height: 100%;
  width: 100%;
}

.eyebrow {
  color: #69a9ff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1 {
  color: #f4f8ff;
  font-size: clamp(50px, 7.8vw, 96px);
  letter-spacing: 0;
  line-height: 0.9;
  margin: 0;
  text-shadow: 0 18px 70px rgba(80, 167, 255, 0.18);
}

h1 sup {
  color: #9fc9ff;
  font-size: 0.22em;
  font-weight: 900;
  margin-left: 0.08em;
  position: relative;
  top: -0.45em;
}

.lead {
  color: #b8ccee;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.38;
  margin: 24px 0 0;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-button {
  align-items: center;
  background: rgba(7, 23, 48, 0.92);
  border: 1px solid rgba(80, 167, 255, 0.5);
  border-radius: 10px;
  color: #eaf2ff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 950;
  justify-content: center;
  min-height: 44px;
  min-width: 142px;
  padding: 10px 18px;
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.hero-button.primary,
.hero-button:hover {
  background: #0b5bcc;
  border-color: #7dd3fc;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18), 0 16px 34px rgba(0, 0, 0, 0.25);
  color: #ffffff;
  transform: translateY(-1px);
}

.market-visual {
  background: linear-gradient(180deg, rgba(8, 25, 49, 0.9), rgba(3, 11, 24, 0.96));
  border: 1px solid rgba(60, 140, 255, 0.38);
  border-radius: 18px;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.055);
  min-height: 410px;
  overflow: hidden;
  position: relative;
}

#marketCanvas {
  inset: 58px 0 0;
  height: calc(100% - 58px);
  position: absolute;
  width: 100%;
  z-index: 4;
}

.visual-readout {
  backdrop-filter: blur(12px);
  background: rgba(2, 8, 19, 0.72);
  border: 1px solid rgba(80, 167, 255, 0.34);
  border-radius: 12px;
  bottom: 18px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  display: grid;
  gap: 2px;
  left: 18px;
  min-width: 132px;
  padding: 10px 12px;
  position: absolute;
  z-index: 6;
}

.visual-readout span {
  color: #69a9ff;
  font-size: 11px;
  font-weight: 950;
}

.visual-readout strong {
  color: #f4f8ff;
  font-size: 22px;
  letter-spacing: 0;
}

.visual-readout small {
  color: #9beeb8;
  font-size: 11px;
  font-weight: 900;
}

.market-visual::before {
  background-image: linear-gradient(#0b315f 1px, transparent 1px), linear-gradient(90deg, #0b315f 1px, transparent 1px);
  background-size: 100% 25%, 14% 100%;
  content: "";
  inset: 58px 22px 22px;
  opacity: 0.5;
  position: absolute;
}

.visual-topline {
  align-items: center;
  border-bottom: 1px solid rgba(80, 167, 255, 0.18);
  display: flex;
  justify-content: space-between;
  padding: 18px 20px;
  position: relative;
  z-index: 2;
}

.visual-topline strong {
  color: #f4f8ff;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.visual-topline span {
  color: #69a9ff;
  font-size: 12px;
  font-weight: 900;
}

.axis {
  background: rgba(79, 156, 255, 0.85);
  height: 2px;
  left: 22px;
  position: absolute;
  right: 22px;
  top: 55%;
}

.market-visual > span {
  background: var(--c);
  border-radius: 4px 4px 0 0;
  bottom: 45%;
  box-shadow: 0 0 18px color-mix(in srgb, var(--c), transparent 48%);
  left: var(--x);
  position: absolute;
  width: clamp(11px, 2vw, 22px);
  z-index: 2;
}

.market-visual > span:nth-of-type(-n + 5) {
  height: var(--h);
  transform: translateY(100%);
}

.market-visual > span:nth-of-type(n + 6) {
  height: var(--h);
}

.market-curve {
  bottom: 36px;
  height: 66%;
  left: 22px;
  pointer-events: none;
  position: absolute;
  right: 22px;
  width: calc(100% - 44px);
  opacity: 0.28;
  z-index: 3;
}

.market-curve path {
  fill: none;
  filter: drop-shadow(0 0 8px rgba(80, 167, 255, 0.55));
  stroke: #50a7ff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.project-band {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 30px;
}

.project-band article {
  background: rgba(8, 25, 49, 0.72);
  border: 1px solid rgba(60, 140, 255, 0.3);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: 18px;
}

h2 {
  color: #f4f8ff;
  font-size: 18px;
  margin: 0 0 8px;
}

.project-band p {
  color: #a9bad1;
  line-height: 1.5;
  margin: 0;
}

.legal-footer {
  background: #020813;
  border-top: 1px solid rgba(34, 99, 178, 0.48);
  color: #8294ad;
  padding: 24px clamp(18px, 4vw, 42px);
  position: relative;
  z-index: 1;
}

.financial-disclaimer {
  margin: 0 auto;
  max-width: 1180px;
}

.financial-disclaimer p {
  color: #8392a8;
  font-size: 11px;
  line-height: 1.55;
  margin: 0 0 5px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: center;
  margin: 18px auto 12px;
  max-width: 1180px;
}

.legal-links a {
  color: #9db5d4;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.legal-links a:hover {
  color: #eaf2ff;
}

.legal-bottom {
  color: #6f819a;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 820px) {
  .hero,
  .project-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 18px;
  }

  .landing-brand {
    margin-bottom: 24px;
  }

  .market-visual {
    min-height: 300px;
  }
}
