:root {
  --bg: #08080a;
  --surface: #16161a;
  --surface-2: #1e1e23;
  --hairline: rgba(255, 255, 255, 0.08);
  --label: #f5f5f7;
  --label-2: rgba(235, 235, 245, 0.66);
  --label-3: rgba(235, 235, 245, 0.4);
  --accent: #64d2ff;
  --accent-deep: #0a84ff;
  --accent-ink: #04121c;
  --green: #30d158;
  --red: #ff453a;
  --orange: #ff9f0a;
  --radius: 22px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--label);
  font-family: -apple-system, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* A soft light-blue glow at the top of the page. */
body::before {
  content: "";
  position: fixed;
  inset: -40vh -20vw auto;
  height: 90vh;
  background: radial-gradient(closest-side, rgba(10, 132, 255, 0.18), transparent);
  pointer-events: none;
  z-index: -1;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2,
h3 {
  font-family: -apple-system, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
}

/* Header */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  background: rgba(8, 8, 10, 0.72);
  border-bottom: 0.5px solid var(--hairline);
}

.nav .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 60px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--label);
}

.brand:hover {
  text-decoration: none;
}

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

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
}

.nav-links a {
  color: var(--label-2);
}

.nav-links a:hover {
  color: var(--label);
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  background: var(--accent);
  color: var(--accent-ink);
  transition: transform 0.2s cubic-bezier(0.32, 0.72, 0, 1), background 0.2s;
}

.button:hover {
  text-decoration: none;
  background: #8adcff;
}

.button:active {
  transform: scale(0.97);
}

.button.small {
  padding: 8px 16px;
  font-size: 14px;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--label);
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding: 88px 0 72px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(100, 210, 255, 0.1);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #a8e8ff, var(--accent) 40%, var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 19px;
  color: var(--label-2);
  margin: 22px 0 32px;
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-note {
  font-size: 13px;
  color: var(--label-3);
  margin-top: 14px;
}

/* A replica of the in-game build panel. */
.panel {
  justify-self: center;
  width: min(360px, 100%);
  padding: 16px;
  border-radius: 20px;
  background: rgba(18, 18, 22, 0.92);
  box-shadow: 0 0 0 1px var(--hairline), 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 120px rgba(10, 132, 255, 0.15);
  display: grid;
  gap: 10px;
  font-size: 13px;
  transform: rotate(-1.5deg);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.panel-head .live {
  color: var(--green);
}

.panel-gold {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #4f9dff;
}

.bar {
  flex: 1;
  display: flex;
  gap: 2px;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
}

.bar .ally {
  flex: 58;
  background: #4f9dff;
}

.bar .enemy {
  flex: 42;
  background: #ff5c52;
}

.skills {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(100, 210, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(100, 210, 255, 0.4) inset;
  color: var(--label-2);
  font-size: 11px;
}

.key {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 11px;
  color: var(--label);
  background: rgba(255, 255, 255, 0.1);
}

.key.next {
  background: var(--accent);
  color: var(--accent-ink);
}

.skills .levelup {
  margin-left: auto;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.buy {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(48, 209, 88, 0.12);
  box-shadow: 0 0 0 1px rgba(48, 209, 88, 0.4) inset;
}

.item {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  flex: none;
  display: block;
  object-fit: cover;
  background: #1e1e23;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.buy small {
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--green);
}

.buy strong {
  font-size: 15px;
}

.buy span {
  display: block;
  font-size: 11px;
  color: var(--label-2);
}

.options {
  display: grid;
  gap: 6px;
}

.option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 10px;
}

.option.best {
  background: rgba(100, 210, 255, 0.08);
}

.option div {
  flex: 1;
}

.option b {
  display: block;
  font-size: 13px;
}

.option span {
  font-size: 11px;
  color: var(--green);
}

/* White on a deep blue (4.6:1): the light accent is too pale behind white text. */
.option .badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 5px;
  background: #0071e3;
  color: #ffffff;
}

/* Sections */
section {
  padding: 72px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 42px);
}

.section-head p {
  color: var(--label-2);
  font-size: 18px;
  margin: 14px 0 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 0 0 0.5px var(--hairline) inset;
}

.card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.card h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.card p {
  margin: 0;
  color: var(--label-2);
  font-size: 15px;
}

.card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--label-2);
  font-size: 15px;
}

.card li + li {
  margin-top: 4px;
}

/* Tour: one feature per row, copy beside a mock of the screen. */
.spot {
  display: grid;
  grid-template-columns: 1fr minmax(0, 400px);
  gap: 56px;
  align-items: center;
  padding: 40px 0;
}

.spot + .spot {
  border-top: 0.5px solid var(--hairline);
}

.spot:nth-of-type(even) .ui {
  order: -1;
}

.spot .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.spot h3 {
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.spot-copy p {
  margin: 0;
  color: var(--label-2);
  font-size: 17px;
}

.spot-copy ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--label-2);
  font-size: 15px;
}

.spot-copy li + li {
  margin-top: 4px;
}

.ui {
  width: 100%;
  justify-self: center;
  padding: 16px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--hairline), 0 24px 60px rgba(0, 0, 0, 0.5);
  display: grid;
  gap: 10px;
  font-size: 13px;
}

.ui-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--label-3);
}

.pill {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(48, 209, 88, 0.16);
  color: var(--green);
}

.pill.bad {
  background: rgba(255, 69, 58, 0.16);
  color: var(--red);
}

.ui-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  background: var(--surface-2);
}

.ui-row.pick {
  box-shadow: 0 0 0 1px rgba(100, 210, 255, 0.45) inset;
}

.ui-row .grow {
  flex: 1;
  min-width: 0;
  display: grid;
}

.ui-row b {
  font-size: 15px;
}

.ui-row span {
  color: var(--label-2);
}

.champ,
.rune {
  flex: none;
  border-radius: 12px;
}

.rune {
  padding: 4px;
  border-radius: 50%;
  background: #0c0c0f;
}

.ui .stat {
  display: grid;
  justify-items: end;
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ui .stat.good {
  color: var(--green);
}

.ui .stat.bad {
  color: var(--red);
}

.stat small {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--label-3);
}

.note {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(100, 210, 255, 0.08);
  color: var(--label-2);
}

.note b {
  display: block;
  color: var(--label);
  margin-bottom: 2px;
}

.combo {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--label-3);
}

.combo small {
  margin-right: auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.button.fake {
  justify-self: stretch;
  text-align: center;
  pointer-events: none;
}

.chart {
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: var(--surface-2);
}

.chart .band {
  fill: rgba(255, 159, 10, 0.16);
  stroke: rgba(255, 159, 10, 0.5);
  stroke-dasharray: 3 3;
}

.chart .zero {
  stroke: var(--hairline);
  stroke-width: 1;
}

.chart .area-up {
  fill: rgba(100, 210, 255, 0.18);
}

.chart .area-down {
  fill: rgba(255, 69, 58, 0.18);
}

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

.chart .dot {
  fill: var(--orange);
  stroke: var(--surface-2);
  stroke-width: 2;
}

.map {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1;
}

.minimap {
  display: block;
  width: 100%;
  height: 100%;
  filter: saturate(0.6) brightness(0.7);
}

.map .d {
  position: absolute;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.55);
}

.d.early,
.legend .early::before {
  background: var(--accent);
}

.d.mid,
.legend .mid::before {
  background: var(--orange);
}

.d.late,
.legend .late::before {
  background: var(--red);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: var(--label-2);
}

.legend span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
}

.recall {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 0 4px;
  color: var(--label-2);
}

.recall b {
  font-size: 17px;
  color: var(--label);
  font-variant-numeric: tabular-nums;
}

.recall .vs {
  margin-left: auto;
  color: var(--label-3);
}

.arrow {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

.extras {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.extras span {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 0 0 0.5px var(--hairline) inset;
  color: var(--label-2);
  font-size: 14px;
}

/* How it works */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.step {
  counter-increment: step;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 0 0 0.5px var(--hairline) inset;
}

.step::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--accent);
}

.step h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.step p {
  margin: 0;
  color: var(--label-2);
  font-size: 15px;
}

/* Fair play */
.fair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px 28px;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(100, 210, 255, 0.1), rgba(100, 210, 255, 0.02));
  box-shadow: 0 0 0 0.5px rgba(100, 210, 255, 0.3) inset;
}

.fair p {
  margin: 0;
  color: var(--label-2);
  font-size: 15px;
}

.fair strong {
  color: var(--label);
}

/* FAQ */
details {
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 0 0 0.5px var(--hairline) inset;
  padding: 0 20px;
}

details + details {
  margin-top: 10px;
}

summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--label-3);
  font-size: 20px;
  line-height: 1;
}

details[open] summary::after {
  content: "–";
}

details p {
  margin: 0 0 18px;
  color: var(--label-2);
}

/* Download band */
.download {
  text-align: center;
  padding: 56px 24px;
  border-radius: 28px;
  background: radial-gradient(120% 140% at 50% 0%, rgba(10, 132, 255, 0.25), var(--surface) 60%);
  box-shadow: 0 0 0 0.5px var(--hairline) inset;
}

.download img {
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
}

.download h2 {
  font-size: clamp(30px, 4vw, 40px);
}

.download p {
  color: var(--label-2);
  margin: 12px auto 26px;
  max-width: 32em;
}

/* Footer */
footer {
  padding: 40px 0 56px;
  border-top: 0.5px solid var(--hairline);
  margin-top: 40px;
  font-size: 13px;
  color: var(--label-3);
}

footer .wrap {
  display: grid;
  gap: 14px;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

footer nav a {
  color: var(--label-2);
}

/* Privacy page */
.doc {
  max-width: 760px;
  padding: 64px 0 24px;
}

.doc h1 {
  font-size: clamp(34px, 5vw, 46px);
  margin-bottom: 8px;
}

.doc .updated {
  color: var(--label-3);
  margin: 0 0 32px;
}

.doc h2 {
  font-size: 22px;
  margin: 36px 0 10px;
}

.doc p,
.doc li {
  color: var(--label-2);
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 8px 0;
}

.doc th,
.doc td {
  text-align: left;
  padding: 10px 12px;
  border-top: 0.5px solid var(--hairline);
  vertical-align: top;
}

.doc th {
  color: var(--label-3);
  font-weight: 500;
  font-size: 13px;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 56px 0 40px;
  }

  .panel {
    transform: none;
  }

  .spot {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .spot:nth-of-type(even) .ui {
    order: 0;
  }

  .nav-links a:not(.button) {
    display: none;
  }

  section {
    padding: 48px 0;
  }
}

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

  .button {
    transition: none;
  }
}
