:root {
  --mint: #6ed9a8;
  --mint-hot: #8cf0c0;
  --foam: #f4fff9;
  --forest: #10281c;
  --ink: #07140e;
  --card: rgba(12, 32, 24, 0.88);
  --line: rgba(110, 217, 168, 0.2);
  --muted: #b5d4c4;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --display: "Lilita One", "Arial Black", "Arial Rounded MT Bold", sans-serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--foam);
  font-family: var(--sans);
  background:
    radial-gradient(900px 480px at 90% -10%, rgba(110, 217, 168, 0.2), transparent 60%),
    radial-gradient(700px 420px at -10% 30%, rgba(110, 217, 168, 0.12), transparent 55%),
    linear-gradient(180deg, #0d2218 0%, var(--ink) 42%, #06110c 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: -30% -10%;
  pointer-events: none;
  background: repeating-linear-gradient(
    -16deg,
    transparent 0 70px,
    rgba(255, 255, 255, 0.028) 70px 72px,
    transparent 72px 150px,
    rgba(110, 217, 168, 0.055) 150px 153px
  );
  z-index: 0;
}

img {
  max-width: 100%;
  height: auto;
}

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

button,
input {
  font: inherit;
}

::selection {
  background: var(--mint);
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--mint);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 999px;
  z-index: 30;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(7, 20, 14, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand span {
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
}

.nav a:hover {
  color: var(--foam);
  background: rgba(110, 217, 168, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 3px solid #0c2418;
  border-radius: 999px;
  padding: 12px 18px;
  background: linear-gradient(180deg, var(--mint-hot) 0%, var(--mint) 58%, #49c492 100%);
  color: #0c2418;
  font-family: var(--display);
  letter-spacing: 0.03em;
  font-size: 1.05rem;
  line-height: 1;
  box-shadow: 0 4px 0 #0c2418;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #0c2418;
}

.btn-ghost {
  background: transparent;
  color: var(--foam);
  border-color: rgba(110, 217, 168, 0.7);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(110, 217, 168, 0.1);
}

.btn-small {
  padding: 8px 12px;
  font-size: 0.95rem;
  box-shadow: 0 3px 0 #0c2418;
}

.icon-btn {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--line);
  color: var(--foam);
}

.icon-btn:hover {
  border-color: var(--mint);
  color: var(--mint);
}

.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 24, 16, 0.65);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: ticker 28s linear infinite;
}

.ticker span {
  font-family: var(--display);
  letter-spacing: 0.08em;
  color: var(--mint);
  padding: 10px 18px;
  font-size: 0.95rem;
}

.ticker b {
  color: rgba(244, 255, 249, 0.35);
  font-weight: 400;
}

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

main {
  position: relative;
  z-index: 1;
  padding-bottom: 72px;
}

.hero {
  position: relative;
  padding: 36px 0 12px;
}

.banner-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 3px solid #163528;
  box-shadow:
    0 0 0 8px rgba(110, 217, 168, 0.08),
    var(--shadow);
  background: #e9fff5;
}

.banner-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-copy {
  max-width: 760px;
  margin: 48px auto 0;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--mint);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin: 0;
}

h1 {
  font-size: clamp(2.45rem, 8vw, 6.2rem);
  text-wrap: balance;
}

h1 em {
  font-style: normal;
  color: var(--mint);
}

.lede {
  margin: 18px auto 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.55;
}

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

.section {
  padding-top: 72px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head p,
.panel p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.chart-card {
  background: #09160f;
  border: 3px solid #163528;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.chart-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.live i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #6a7d74;
  display: block;
}

.chart-card.is-live .live i {
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(110, 217, 168, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(110, 217, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(110, 217, 168, 0); }
}

.chart-link {
  color: var(--mint);
  font-weight: 700;
}

.chart-link:hover {
  text-decoration: underline;
}

.chart-frame {
  position: relative;
  height: 640px;
  background:
    linear-gradient(180deg, rgba(110, 217, 168, 0.05), transparent 30%),
    #070f0c;
}

.chart-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #0b0f0d;
}

.empty-chart {
  height: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  padding: 32px;
}

.empty-chart h3 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}

.empty-chart p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
  line-height: 1.5;
}

.bars {
  height: 220px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(110, 217, 168, 0.05);
  border: 1px solid var(--line);
}

.bars span {
  flex: 1;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, var(--mint-hot), #2f8f68);
  border: 2px solid #0c2418;
}

.ca-row {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: rgba(110, 217, 168, 0.04);
}

.chart-card.is-live .ca-row {
  display: flex;
}

.ca-label {
  font-family: var(--display);
  letter-spacing: 0.06em;
  color: var(--mint);
}

.ca-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 0.92rem;
  color: var(--foam);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.step:hover {
  border-color: rgba(110, 217, 168, 0.45);
  transform: translateY(-2px);
}

.pill-no {
  display: inline-grid;
  place-items: center;
  min-width: 54px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 2px solid #0c2418;
  background: linear-gradient(90deg, var(--mint) 0 52%, var(--foam) 52% 100%);
  color: #0c2418;
  font-family: var(--display);
  letter-spacing: 0.04em;
}

.step h3 {
  margin: 16px 0 8px;
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  font-weight: 400;
}

.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.go-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--mint);
  font-weight: 700;
}

.go-link:hover {
  text-decoration: underline;
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.site-footer a {
  color: var(--foam);
  font-weight: 700;
}

.site-footer a:hover {
  color: var(--mint);
}

.fine {
  margin: 8px 0 0;
  font-size: 0.85rem;
}

:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
}

@media (max-width: 800px) {
  .empty-chart,
  .steps {
    grid-template-columns: 1fr;
  }

  .chart-frame {
    height: 520px;
  }

  .bars {
    height: 140px;
  }

  .header-inner {
    min-height: 68px;
  }

  .nav a:not(.btn) {
    padding-inline: 8px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(1120px, calc(100% - 20px));
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand span {
    font-size: 1.25rem;
  }

  h1 {
    font-size: 2.15rem;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .actions .btn {
    width: 100%;
  }

  .empty-chart h3 {
    font-size: 1.7rem;
  }

  .text-link {
    display: none;
  }

  .chart-frame {
    height: 460px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .ticker-track,
  .chart-card.is-live .live i {
    animation: none;
  }

  .btn:hover,
  .step:hover {
    transform: none;
  }
}
