:root {
  color-scheme: light;
  --ink: #17201c;
  --muted: #5d6b64;
  --line: #d9e3dc;
  --surface: #fbfdfb;
  --surface-strong: #ffffff;
  --mint: #42c692;
  --teal: #147f7d;
  --coral: #f26d5b;
  --gold: #e6ad38;
  --shadow: 0 28px 70px rgba(29, 49, 40, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(120deg, rgba(66, 198, 146, 0.18), transparent 35%),
    linear-gradient(310deg, rgba(242, 109, 91, 0.14), transparent 42%),
    #f4f8f5;
  color: var(--ink);
}

body {
  min-height: 100vh;
  margin: 0;
}

a {
  color: inherit;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  align-items: center;
  padding: 48px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 64px;
  align-items: center;
}

.copy {
  max-width: 640px;
}

.eyebrow,
.panel-kicker {
  margin: 0;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 16px 0 20px;
  font-size: clamp(4rem, 10vw, 8.5rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.lead {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  color: white;
}

.status {
  color: var(--muted);
  font-weight: 700;
}

.product-panel {
  min-height: 500px;
  border: 1px solid rgba(23, 32, 28, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  padding: 28px;
  display: grid;
  gap: 28px;
  backdrop-filter: blur(20px);
}

.panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.panel-top h2 {
  margin: 10px 0 0;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: 0;
}

.trend {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  background: rgba(66, 198, 146, 0.16);
  color: #0f6d55;
  padding: 0 12px;
  font-size: 0.9rem;
  font-weight: 800;
}

.chart {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background:
    linear-gradient(to bottom, transparent 24%, rgba(23, 32, 28, 0.08) 24% 25%, transparent 25% 49%, rgba(23, 32, 28, 0.08) 49% 50%, transparent 50% 74%, rgba(23, 32, 28, 0.08) 74% 75%, transparent 75%),
    var(--surface);
}

.range {
  position: absolute;
  left: 16px;
  z-index: 2;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.range.high {
  top: 18px;
}

.range.low {
  bottom: 18px;
}

.band {
  position: absolute;
  inset: 42% 0 24%;
  background: rgba(66, 198, 146, 0.12);
}

.line {
  position: absolute;
  inset: 40px -16px 54px 0;
  background:
    linear-gradient(98deg, transparent 0 7%, var(--teal) 7% 8%, transparent 8% 22%, var(--teal) 22% 23%, transparent 23% 39%, var(--teal) 39% 40%, transparent 40% 56%, var(--teal) 56% 57%, transparent 57% 73%, var(--teal) 73% 74%, transparent 74%),
    linear-gradient(165deg, transparent 0 38%, var(--teal) 38% 39.4%, transparent 39.4%),
    linear-gradient(20deg, transparent 0 52%, var(--teal) 52% 53.5%, transparent 53.5%);
  opacity: 0.94;
}

.dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 4px solid var(--surface-strong);
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 0 5px 16px rgba(23, 32, 28, 0.2);
}

.dot-one {
  left: 22%;
  top: 42%;
}

.dot-two {
  left: 56%;
  top: 50%;
  background: var(--gold);
}

.dot-three {
  right: 16%;
  top: 35%;
  background: var(--mint);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.metric-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 16px;
}

.metric-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.metric-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 1.55rem;
}

@media (max-width: 880px) {
  .shell {
    width: min(100% - 28px, 620px);
    align-items: start;
    padding: 32px 0;
  }

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

  .product-panel {
    min-height: 430px;
    padding: 20px;
  }

  .panel-top h2 {
    font-size: 2rem;
  }
}

@media (max-width: 520px) {
  .actions {
    align-items: stretch;
  }

  .button,
  .status {
    width: 100%;
  }

  .status {
    text-align: center;
  }

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