@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700;800&display=swap");

:root {
  color-scheme: dark;
  --bg: #080b0d;
  --panel: rgba(15, 21, 23, 0.9);
  --panel-strong: #12191b;
  --line: rgba(220, 255, 244, 0.14);
  --line-strong: rgba(181, 255, 42, 0.5);
  --text: #f5f8f2;
  --muted: #a8b5af;
  --dim: #73817b;
  --green: #bbff2a;
  --cyan: #64f1dc;
  --amber: #ffbe4d;
  --coral: #ff6b5f;
  --violet: #c29bff;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 8%, rgba(187, 255, 42, 0.14), transparent 0 18rem),
    radial-gradient(circle at 88% 28%, rgba(100, 241, 220, 0.1), transparent 0 16rem),
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(180deg, #080b0d 0%, #0e1113 52%, #080a0c 100%);
  background-size: auto, auto, 88px 88px, 88px 88px, auto;
  color: var(--text);
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header,
main,
.site-footer {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  border: 1px solid var(--line);
  padding: 12px;
  background: rgba(8, 11, 13, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.hero-actions,
.board-footer,
.tool-link,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 14px;
  height: 14px;
  background: var(--green);
  box-shadow: 0 0 20px rgba(187, 255, 42, 0.45);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-copy span,
.site-nav a,
.tool-number,
.tool-cta,
.board-topline span,
.board-footer span,
.signal-strip span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav {
  gap: 16px;
}

.site-nav a,
.site-footer a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--green);
  outline: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 96px);
  padding: clamp(38px, 7vw, 96px) 0 clamp(28px, 5vw, 72px);
}

.hero-copy {
  display: grid;
  gap: 22px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.2rem, 8vw, 7.6rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 10px;
}

.button,
.tool-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--line);
  padding: 0 16px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.button-primary {
  border-color: var(--green);
  background: var(--green);
  color: #071004;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.035);
}

.hero-board {
  display: grid;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(135deg, rgba(100, 241, 220, 0.09), transparent 34%),
    var(--panel);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.hero-board:hover,
.hero-board:focus-visible,
.tool-link:hover,
.tool-link:focus-visible {
  border-color: var(--line-strong);
  outline: none;
}

.board-topline {
  display: grid;
  gap: 4px;
}

.board-topline strong {
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.rank-stack {
  display: grid;
  gap: 14px;
}

.rank-stack span {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.rank-stack b {
  color: var(--green);
  font-size: 0.84rem;
}

.rank-stack i {
  display: block;
  width: var(--bar);
  height: 18px;
  border: 1px solid rgba(187, 255, 42, 0.4);
  background: linear-gradient(90deg, var(--green), rgba(100, 241, 220, 0.5));
}

.board-footer {
  flex-wrap: wrap;
  gap: 8px;
}

.board-footer span {
  border: 1px solid var(--line);
  padding: 8px 9px;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.signal-strip div {
  display: grid;
  gap: 4px;
  min-height: 118px;
  border-right: 1px solid var(--line);
  padding: 18px 16px;
}

.signal-strip div:last-child {
  border-right: 0;
}

.signal-strip strong {
  font-size: clamp(1.4rem, 3vw, 2.35rem);
  line-height: 0.95;
}

.toolkit {
  display: grid;
  gap: clamp(18px, 4vw, 34px);
  padding: clamp(30px, 5vw, 64px) 0 clamp(26px, 5vw, 54px);
}

.section-head,
.pitch {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(18px, 4vw, 44px);
  align-items: end;
}

.section-head h1,
.pitch h2 {
  font-size: clamp(3.2rem, 8vw, 7.6rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.section-head p,
.pitch p,
.tool-copy p {
  color: var(--muted);
}

.section-head p {
  max-width: 38rem;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: clamp(1rem, 1.45vw, 1.24rem);
  line-height: 1.58;
}

.tool-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tool-card {
  display: block;
}

.tool-card.is-featured {
  grid-column: 1 / -1;
}

.tool-link {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto 1fr;
  gap: 16px;
  min-height: 392px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 2.4vw, 24px);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.045), transparent 48%),
    var(--panel);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.tool-link::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--green);
  opacity: 0.9;
}

.tool-link:hover,
.tool-link:focus-visible {
  transform: translateY(-2px);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.tool-number {
  grid-row: 1;
  align-self: start;
  color: var(--green);
  width: auto;
  line-height: 1;
}

.tool-copy {
  grid-row: 2;
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding-right: 0;
}

.tool-kicker {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tool-copy h3 {
  max-width: 11ch;
  font-size: clamp(2.15rem, 4.2vw, 4.1rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.tool-copy p {
  max-width: 34rem;
  font-size: clamp(0.92rem, 1.12vw, 1.02rem);
  line-height: 1.5;
}

.tool-shot {
  grid-row: 4;
  position: relative;
  align-self: stretch;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(220, 255, 244, 0.18);
  border-radius: 8px;
  background: #070a0c;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
}

.tool-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  filter: saturate(0.9) contrast(1.04);
}

.tool-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 54%, rgba(7, 10, 12, 0.62));
  pointer-events: none;
}

.tool-visual {
  position: relative;
  height: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    rgba(255, 255, 255, 0.03);
  background-size: 26px 26px;
}

.tool-cta {
  grid-row: 3;
  width: max-content;
  min-width: 0;
  margin-left: 0;
  color: var(--text);
  white-space: nowrap;
}

.tool-link:hover .tool-cta,
.tool-link:focus-visible .tool-cta {
  border-color: var(--green);
  background: var(--green);
  color: #071004;
}

.tool-card.is-featured .tool-link {
  grid-template-columns: 54px minmax(0, 0.72fr) minmax(0, 0.96fr);
  grid-template-rows: auto auto;
  gap: clamp(18px, 3vw, 30px);
  min-height: 430px;
  background:
    linear-gradient(135deg, rgba(187, 255, 42, 0.07), transparent 34%),
    linear-gradient(120deg, rgba(100, 241, 220, 0.08), transparent 62%),
    var(--panel-strong);
}

.tool-card.is-featured .tool-number {
  grid-column: 1;
  grid-row: 1 / -1;
}

.tool-card.is-featured .tool-copy {
  grid-column: 2;
  grid-row: 1;
}

.tool-card.is-featured .tool-shot {
  grid-column: 3;
  grid-row: 1 / 3;
}

.tool-card.is-featured .tool-cta {
  grid-column: 2;
  grid-row: 2;
}

.tool-card.is-featured .tool-copy h3 {
  max-width: 12ch;
}

.tool-card:nth-child(2) .tool-link::before {
  background: var(--green);
}

.tool-card:nth-child(2) .tool-kicker {
  color: var(--green);
}

.tool-card:nth-child(3) .tool-link::before {
  background: var(--cyan);
}

.tool-card:nth-child(4) .tool-link::before {
  background: var(--coral);
}

.tool-card:nth-child(5) .tool-link::before {
  background: var(--amber);
}

.tool-card:nth-child(6) .tool-link::before {
  background: var(--violet);
}

.tool-card:nth-child(3) .tool-kicker {
  color: var(--cyan);
}

.tool-card:nth-child(4) .tool-kicker {
  color: var(--coral);
}

.tool-card:nth-child(5) .tool-kicker {
  color: var(--amber);
}

.tool-card:nth-child(6) .tool-kicker {
  color: var(--violet);
}

.hype-visual,
.library-visual,
.pass-visual,
.duelly-visual {
  display: grid;
  place-items: center;
}

.hype-visual {
  align-content: center;
  gap: 10px;
  padding: 18px;
}

.hype-visual span {
  width: 100%;
  height: 16px;
  background: linear-gradient(90deg, var(--green), transparent);
}

.hype-visual span:nth-child(2) {
  width: 78%;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.hype-visual span:nth-child(3) {
  width: 52%;
  background: linear-gradient(90deg, var(--amber), transparent);
}

.chart-visual {
  display: flex;
  align-items: end;
  gap: 10px;
  padding: 18px;
}

.chart-visual span {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--green), rgba(187, 255, 42, 0.12));
}

.library-visual {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 18px;
}

.library-visual span {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(100, 241, 220, 0.34), rgba(255, 190, 77, 0.18)),
    rgba(100, 241, 220, 0.12);
}

.forza-visual {
  position: relative;
  overflow: hidden;
}

.forza-visual span:first-child {
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: 34px;
  height: 2px;
  background: var(--coral);
  transform: rotate(-8deg);
}

.forza-visual span:last-child {
  position: absolute;
  left: 25%;
  bottom: 24px;
  width: 70px;
  height: 28px;
  border: 2px solid var(--coral);
}

.pass-visual span {
  display: grid;
  place-items: center;
  width: 86px;
  aspect-ratio: 1;
  background: var(--green);
  color: #071004;
  font-size: 2rem;
  font-weight: 800;
}

.pass-visual i {
  width: 70%;
  height: 2px;
  background: var(--line-strong);
}

.duelly-visual {
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  padding: 18px;
}

.duelly-visual span {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  color: var(--cyan);
  font-size: 1.6rem;
  font-weight: 800;
}

.duelly-visual strong {
  color: var(--amber);
}

.pitch {
  border-top: 1px solid var(--line);
  padding: clamp(34px, 6vw, 72px) 0;
}

.site-footer {
  justify-content: flex-start;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 24px 0 38px;
  color: var(--muted);
}

@media (max-width: 920px) {
  .hero,
  .section-head,
  .pitch {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .signal-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-strip div:nth-child(2) {
    border-right: 0;
  }

  .tool-list {
    grid-template-columns: 1fr;
  }

  .tool-card.is-featured {
    grid-column: auto;
  }

  .tool-card.is-featured .tool-link,
  .tool-link {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
    align-items: stretch;
  }

  .tool-card.is-featured .tool-number,
  .tool-number,
  .tool-card.is-featured .tool-copy,
  .tool-copy {
    grid-column: 1;
    grid-row: auto;
    padding-right: 0;
  }

  .tool-card.is-featured .tool-shot,
  .tool-shot {
    grid-column: 1;
    grid-row: auto;
    min-height: 240px;
  }

  .tool-card.is-featured .tool-cta,
  .tool-cta {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 5rem);
  }

  .hero-actions,
  .button,
  .tool-cta {
    width: 100%;
  }

  .button,
  .tool-cta {
    display: flex;
  }

  .signal-strip {
    grid-template-columns: 1fr;
  }

  .signal-strip div {
    min-height: 96px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-strip div:last-child {
    border-bottom: 0;
  }

  .tool-link {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
    padding: 16px;
  }

  .tool-number {
    grid-column: 1;
    width: auto;
  }

  .tool-copy {
    grid-column: 1;
    padding: 0;
  }

  .tool-copy h3 {
    max-width: 11ch;
  }

  .tool-shot {
    grid-column: 1;
    min-height: 210px;
  }

  .tool-cta {
    grid-column: 1;
    justify-self: stretch;
    margin-left: 0;
  }

  .site-footer {
    flex-wrap: wrap;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
