:root {
  --bg: #06111d;
  --night: #08182c;
  --panel: rgba(8, 20, 32, 0.84);
  --green: #17d981;
  --green-bright: #5cffab;
  --red: #d81630;
  --red-dark: #740816;
  --white: #f5fff9;
  --gold: #ffc76d;
  --text: #f7fff9;
  --muted: #b5c8c0;
  --line: rgba(255, 255, 255, 0.15);
  --shadow: 0 28px 86px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 14%, rgba(216, 22, 48, 0.22), transparent 28rem),
    radial-gradient(circle at 76% 20%, rgba(23, 217, 129, 0.22), transparent 28rem),
    linear-gradient(135deg, #03070d 0%, #071323 46%, #111b18 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(120deg, transparent 0 24%, rgba(92, 255, 171, 0.09) 24% 25%, transparent 25% 51%, rgba(216, 22, 48, 0.08) 51% 52%, transparent 52%),
    radial-gradient(circle, rgba(245, 255, 249, 0.15) 1px, transparent 1px);
  background-size: 100% 100%, 54px 54px;
  pointer-events: none;
}

button,
a {
  font: inherit;
}

button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

button:hover {
  transform: translateY(-2px);
  border-color: rgba(92, 255, 171, 0.62);
  background: rgba(23, 217, 129, 0.14);
  box-shadow: 0 16px 38px rgba(23, 217, 129, 0.15);
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 4px;
}

.page {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 22px 0 30px;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 12px;
  background: rgba(3, 7, 13, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-badge {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border: 3px solid rgba(245, 255, 249, 0.75);
  border-radius: 50%;
  color: #03130b;
  background: linear-gradient(145deg, var(--green-bright), var(--green));
  font-weight: 950;
  box-shadow: 0 0 0 5px rgba(23, 217, 129, 0.12), 0 14px 34px rgba(23, 217, 129, 0.24);
}

.brand strong,
.brand small {
  display: block;
  max-width: 42ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--night);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
  filter: saturate(1.08) contrast(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 7, 13, 0.96) 0%, rgba(3, 7, 13, 0.78) 34%, rgba(3, 7, 13, 0.16) 74%),
    linear-gradient(0deg, rgba(3, 7, 13, 0.72), transparent 56%);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(610px, 100%);
  min-height: 660px;
  padding: 52px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-bright);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3.75rem, 10vw, 7.8rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ticker-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 42px;
  margin: 22px 0 18px;
  border-radius: 999px;
  padding: 0 16px;
  color: #04130c;
  background: linear-gradient(135deg, var(--green-bright), var(--white));
  font-weight: 950;
  box-shadow: 0 16px 42px rgba(23, 217, 129, 0.22);
}

.lead {
  max-width: 56ch;
  margin: 0 0 28px;
  color: #ebfff5;
  font-size: 1.08rem;
  line-height: 1.75;
}

.primary-action {
  border-color: transparent;
  color: #03130b;
  background: linear-gradient(135deg, var(--green-bright), var(--green));
  font-weight: 950;
}

.pump-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.pump-board article {
  min-height: 226px;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(23, 217, 129, 0.16), rgba(23, 217, 129, 0.02)),
    var(--panel);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.26);
}

.board-tag {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid rgba(92, 255, 171, 0.38);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--green-bright);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pump-board h2 {
  margin: 22px 0 10px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.05;
}

.pump-board p,
.story p {
  color: var(--muted);
  line-height: 1.7;
}

.identity {
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.portrait,
.story {
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.28);
}

.portrait {
  min-height: 540px;
}

.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.story {
  padding: 34px;
}

.story h2 {
  max-width: 15ch;
  margin: 0 0 18px;
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

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

.stat-grid div {
  min-height: 104px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.stat-grid strong,
.stat-grid span {
  display: block;
}

.stat-grid strong {
  color: var(--green-bright);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stat-grid span {
  margin-top: 10px;
  font-weight: 850;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding: 22px 0 0;
  color: var(--muted);
}

@media (max-width: 880px) {
  .page {
    width: min(100% - 24px, 740px);
    padding-top: 12px;
  }

  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-actions,
  .cta-row {
    width: 100%;
  }

  .nav-actions button,
  .cta-row button {
    flex: 1 1 120px;
  }

  .hero,
  .hero-copy {
    min-height: 620px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(3, 7, 13, 0.97) 0%, rgba(3, 7, 13, 0.66) 58%, rgba(3, 7, 13, 0.2) 100%);
  }

  .hero-copy {
    justify-content: flex-end;
    padding: 30px;
  }

  .pump-board,
  .identity {
    grid-template-columns: 1fr;
  }

  .portrait {
    min-height: 430px;
  }

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

@media (max-width: 470px) {
  button {
    min-height: 44px;
    padding: 0 14px;
  }

  .brand {
    width: 100%;
  }

  .brand strong,
  .brand small {
    max-width: 24ch;
  }

  .hero,
  .hero-copy {
    min-height: 590px;
  }

  .hero,
  .portrait,
  .story,
  .pump-board article {
    border-radius: 22px;
  }

  .hero-copy,
  .story {
    padding: 22px;
  }

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