.hero {
  position: relative;
  min-height: 760px;
  padding: 170px 0 120px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -250px;
  left: 42%;
  width: 680px;
  height: 680px;
  border: 1px solid rgba(115, 87, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 100px rgba(115, 87, 255, 0.025), 0 0 0 200px rgba(115, 87, 255, 0.018);
  content: "";
}

.hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(50px, 8vw, 110px);
}

.eyebrow {
  display: flex;
  margin: 0 0 28px;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(115, 87, 255, 0.12);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(64px, 7.5vw, 116px);
  font-weight: 500;
  line-height: 0.89;
  letter-spacing: -0.075em;
}

.hero h1 span {
  display: block;
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}

.hero-lead {
  max-width: 560px;
  margin: 38px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  margin-top: 42px;
  align-items: center;
  gap: 30px;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.chart-card {
  padding: 25px 25px 18px;
  transform: rotate(1.5deg);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 30px 80px rgba(22, 22, 25, 0.18);
}

.chart-head,
.chart-years {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.live-dot {
  color: #baff6b;
}

.live-dot::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.chart {
  position: relative;
  margin: 25px 0 8px;
}

.chart svg {
  position: relative;
  z-index: 1;
  overflow: visible;
}

.chart-area {
  fill: url("#chartFill");
}

.chart-line {
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-width: 3;
}

.chart circle {
  fill: var(--accent);
  stroke: var(--white);
  stroke-width: 3;
}

.chart-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 25% 25%;
}

.metric {
  position: absolute;
  display: flex;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(22, 22, 25, 0.15);
}

.metric-years {
  right: -40px;
  bottom: -50px;
  padding: 19px 22px;
  transform: rotate(-4deg);
  align-items: center;
  gap: 12px;
  background: var(--accent-light);
}

.metric-years strong {
  font-size: 43px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.07em;
}

.metric-years span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
  text-transform: uppercase;
}

.metric-focus {
  top: -55px;
  right: 30px;
  padding: 16px 20px;
  transform: rotate(4deg);
  flex-direction: column;
  background: var(--white);
}

.metric-focus span {
  color: var(--muted);
  font-size: 9px;
}

.metric-focus strong {
  margin-top: 7px;
  font-size: 17px;
  line-height: 1.18;
}

.hero-ticker {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 13px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.hero-ticker div {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  animation: ticker 28s linear infinite;
}

.hero-ticker span {
  padding-inline: 35px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.hero-ticker i {
  color: var(--accent);
  font-style: normal;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

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

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

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    width: min(82%, 650px);
    margin: 30px auto 0;
  }
}

@media (max-width: 760px) {
  .hero {
    padding: 125px 0 100px;
  }

  .hero::before {
    top: -200px;
    left: 38%;
    width: 430px;
    height: 430px;
  }

  .hero h1 {
    font-size: clamp(53px, 17vw, 82px);
  }

  .hero-lead {
    margin-top: 28px;
  }

  .hero-actions {
    margin-top: 34px;
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .hero-visual {
    width: 94%;
    margin-top: 45px;
  }

  .chart-card {
    padding: 19px 18px 14px;
  }

  .metric-focus {
    top: -34px;
    right: 5px;
  }

  .metric-years {
    right: -10px;
    bottom: -50px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 51px;
  }

  .metric-focus {
    display: none;
  }

  .metric-years strong {
    font-size: 34px;
  }
}
