:root {
  color-scheme: dark;
  --bg: #030305;
  --bg-deep: #010102;
  --ink: #f7fbfa;
  --muted: rgba(247, 251, 250, 0.72);
  --soft: rgba(247, 251, 250, 0.58);
  --line: rgba(255, 255, 255, 0.12);
  --cyan: #35f4d4;
  --green: #76ff91;
  --red: #ff3d66;
  --magenta: #e14dff;
}

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

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--bg);
}

body {
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  isolation: isolate;
}

.hero {
  position: relative;
  display: grid;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 31%),
    linear-gradient(115deg, rgba(53, 244, 212, 0.105), transparent 34%),
    linear-gradient(245deg, rgba(255, 61, 102, 0.092), transparent 38%),
    var(--bg);
}

.hero::before {
  position: absolute;
  inset: -10%;
  z-index: 0;
  content: "";
  background:
    radial-gradient(ellipse at 50% 55%, rgba(53, 244, 212, 0.17), rgba(255, 61, 102, 0.078) 45%, transparent 64%),
    linear-gradient(180deg, rgba(1, 1, 2, 0.12), rgba(1, 1, 2, 0.74));
  opacity: 0.84;
  transform: translate3d(0, 0, 0) scale(1);
  animation: ambient-shift 20s ease-in-out infinite alternate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(ellipse at 50% 50%, rgba(3, 3, 5, 0.14), rgba(3, 3, 5, 0.54) 72%, rgba(1, 1, 2, 0.9) 100%),
    linear-gradient(90deg, rgba(1, 1, 2, 0.68), rgba(1, 1, 2, 0.08) 31%, rgba(1, 1, 2, 0.08) 69%, rgba(1, 1, 2, 0.68)),
    linear-gradient(180deg, rgba(1, 1, 2, 0.68), transparent 24%, transparent 72%, rgba(1, 1, 2, 0.84));
}

.chart-layer {
  position: absolute;
  inset: -4svh -5vw -2svh;
  z-index: 1;
  contain: layout paint style;
  opacity: 0.88;
  pointer-events: none;
}

#caro-chart {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  --hero-flow-gap: 2.12rem;
  width: min(100%, 50rem);
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: content-in 780ms cubic-bezier(0.2, 0.82, 0.2, 1) both;
}

.eyebrow {
  margin: 0 0 1.28rem;
  color: rgba(118, 255, 145, 0.86);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: uppercase;
}

.logo-title {
  display: flex;
  width: 100%;
  max-width: 100%;
  justify-content: center;
  margin: 0;
  line-height: 0;
}

.hero-logo {
  display: block;
  width: min(68vw, 32rem);
  max-width: 100%;
  height: auto;
  color: #ffffff;
  filter:
    drop-shadow(0 0 24px rgba(53, 244, 212, 0.28))
    drop-shadow(0 0 54px rgba(255, 61, 102, 0.16));
}

.lead {
  position: relative;
  width: min(100%, 44rem);
  margin: var(--hero-flow-gap) 0 0;
  color: rgba(247, 251, 250, 0.9);
  font-size: 1.18rem;
  font-weight: 520;
  line-height: 1.58;
  text-wrap: balance;
}

.lead-mark {
  color: rgba(118, 255, 145, 0.96);
  font-weight: 840;
}

.cta {
  position: relative;
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  margin-top: var(--hero-flow-gap);
  padding: 0 1.45rem;
  border: 1px solid rgba(118, 255, 145, 0.58);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(53, 244, 212, 0.96), rgba(118, 255, 145, 0.92)),
    var(--cyan);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 16px 48px rgba(53, 244, 212, 0.24);
  color: #01110e;
  font-size: 0.98rem;
  font-weight: 840;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.cta:hover,
.cta:focus-visible {
  border-color: rgba(255, 255, 255, 0.76);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16) inset,
    0 20px 56px rgba(53, 244, 212, 0.29);
  transform: translateY(-1px);
}

.cta:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 5px;
}

@keyframes ambient-shift {
  from {
    opacity: 0.68;
    transform: translate3d(-0.8%, -0.4%, 0) scale(1);
  }

  to {
    opacity: 0.86;
    transform: translate3d(0.8%, 0.6%, 0) scale(1.025);
  }
}

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

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

@media (max-width: 900px) {
  .hero-content {
    --hero-flow-gap: 1.86rem;
  }

  .hero {
    padding: 1.5rem;
  }

  .hero-logo {
    width: min(72vw, 28rem);
  }

  .lead {
    width: min(100%, 39rem);
    font-size: 1.08rem;
  }

  .chart-layer {
    inset: -3svh -20vw -1svh;
    opacity: 0.7;
  }
}

@media (max-width: 620px) {
  .hero-content {
    --hero-flow-gap: 1.36rem;
  }

  .hero {
    padding: 1.2rem;
  }

  .hero::after {
    background:
      radial-gradient(ellipse at 50% 48%, rgba(3, 3, 5, 0.36), rgba(3, 3, 5, 0.72) 72%, rgba(1, 1, 2, 0.94) 100%),
      linear-gradient(180deg, rgba(1, 1, 2, 0.68), transparent 25%, rgba(1, 1, 2, 0.82));
  }

  .chart-layer {
    inset: 6svh -36vw 4svh;
    opacity: 0.66;
  }

  .eyebrow {
    margin-bottom: 0.98rem;
    font-size: 0.72rem;
  }

  .hero-logo {
    width: min(76vw, 19rem);
  }

  .lead {
    width: min(100%, 32rem);
    font-size: 0.98rem;
    line-height: 1.52;
  }

  .cta {
    min-height: 3.15rem;
    padding: 0 1.15rem;
    font-size: 0.92rem;
  }

}

@media (max-width: 380px) {
  .hero-logo {
    width: min(78vw, 16.5rem);
  }

  .lead {
    font-size: 0.92rem;
  }
}

@media (max-height: 620px) and (min-width: 621px) {
  .hero-content {
    --hero-flow-gap: 1.28rem;
  }

  .hero-logo {
    width: min(54vw, 24rem);
  }

  .lead {
    font-size: 1.02rem;
    line-height: 1.46;
  }
}

@media (max-height: 430px) {
  .hero-content {
    --hero-flow-gap: 0.82rem;
  }

  .hero {
    padding: 0.9rem;
  }

  .eyebrow {
    margin-bottom: 0.72rem;
    font-size: 0.68rem;
  }

  .hero-logo {
    width: min(48vw, 18rem);
  }

  .lead {
    width: min(100%, 42rem);
    font-size: 0.86rem;
    line-height: 1.38;
  }

  .cta {
    min-height: 2.8rem;
    padding: 0 1rem;
    font-size: 0.86rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
