:root {
  --bg: #090d13;
  --bg-soft: #0f1621;
  --panel: rgba(18, 27, 40, 0.78);
  --panel-solid: #121b28;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f7fb;
  --muted: #aab6c6;
  --accent: #51d6c7;
  --accent-2: #86f0cf;
  --danger: #f4b37a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(81, 214, 199, 0.13), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(116, 140, 255, 0.08), transparent 30rem),
    linear-gradient(180deg, #080c12 0%, #0a0f16 58%, #080c12 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

a {
  color: inherit;
}

img,
svg {
  max-width: 100%;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(9, 13, 19, 0.76);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(81, 214, 199, 0.45);
  background: linear-gradient(145deg, rgba(81, 214, 199, 0.2), rgba(81, 214, 199, 0.05));
  box-shadow: inset 0 0 26px rgba(81, 214, 199, 0.08);
}

.brand-mark span {
  font-size: 18px;
  transform: translateY(-1px);
}

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

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--panel-solid);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 11px;
  font: inherit;
  cursor: pointer;
}

.hero {
  padding: 108px 0 82px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  align-items: center;
  gap: 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(81, 214, 199, 0.9);
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 24px;
  max-width: 780px;
  font-size: clamp(3.1rem, 7vw, 6.4rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.hero-copy {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

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

.button-primary {
  color: #05100f;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(81, 214, 199, 0.16);
}

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

.hero-card {
  position: relative;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(81, 214, 199, 0.2);
  background: linear-gradient(155deg, rgba(18, 27, 40, 0.95), rgba(10, 16, 24, 0.9));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: rgba(81, 214, 199, 0.09);
  filter: blur(8px);
}

.status-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--accent-2);
  background: rgba(81, 214, 199, 0.08);
  border: 1px solid rgba(81, 214, 199, 0.18);
  font-size: 0.78rem;
  font-weight: 800;
}

.match-card {
  display: grid;
  gap: 12px;
}

.match-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.match-row strong {
  display: block;
}

.match-row span,
.small,
.muted {
  color: var(--muted);
}

section {
  padding: 80px 0;
}

.section-head {
  max-width: 710px;
  margin-bottom: 42px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

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

.card {
  padding: 25px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.15);
}

.card-number {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 28px;
  border-radius: 11px;
  color: #07110f;
  background: var(--accent);
  font-weight: 900;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.flow {
  display: grid;
  gap: 12px;
}

.flow-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.flow-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(81, 214, 199, 0.2);
  color: var(--accent-2);
  background: rgba(81, 214, 199, 0.06);
  font-weight: 900;
}

.feature-band {
  padding: 34px;
  border-radius: 28px;
  border: 1px solid rgba(81, 214, 199, 0.2);
  background: linear-gradient(135deg, rgba(81, 214, 199, 0.08), rgba(255, 255, 255, 0.02));
}

.feature-band p {
  color: var(--muted);
}

.notice {
  padding: 18px 20px;
  border-left: 3px solid var(--danger);
  background: rgba(244, 179, 122, 0.06);
  color: #e7d4c1;
  border-radius: 0 14px 14px 0;
}

.legal-page {
  padding: 84px 0 100px;
}

.legal-shell {
  display: grid;
  grid-template-columns: minmax(0, 760px) 240px;
  justify-content: space-between;
  gap: 70px;
}

.legal-content {
  color: #d6deea;
}

.legal-content h1 {
  font-size: clamp(2.7rem, 6vw, 4.8rem);
}

.legal-content h2 {
  margin-top: 52px;
  font-size: 1.55rem;
}

.legal-content p,
.legal-content li {
  color: #bac5d3;
}

.legal-content li + li {
  margin-top: 8px;
}

.legal-meta {
  position: sticky;
  top: 98px;
  align-self: start;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}

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

.footer-links a {
  text-decoration: none;
}

.riot-notice {
  max-width: 760px;
  margin-top: 24px;
  font-size: 0.82rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .hero-grid,
  .legal-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 78px;
  }

  .hero-card {
    max-width: 610px;
  }

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

  .legal-meta {
    position: static;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 14px;
    right: 14px;
    top: 64px;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    border: 1px solid var(--line);
    background: #0d141e;
    border-radius: 15px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 10px 8px;
  }

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

  section {
    padding: 62px 0;
  }

  .hero-actions,
  .footer-grid {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
