@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Work+Sans:wght@400;500;600;700&display=swap");

:root {
  --bg: #051217;
  --bg-2: #0b262f;
  --surface: #10313b;
  --surface-2: #153d49;
  --ink: #f4fbfe;
  --muted: #97b4bf;
  --line: rgba(244, 251, 254, 0.14);
  --line-strong: rgba(244, 251, 254, 0.28);
  --accent: #afe303;
  --accent-dark: #6d9d00;
  --loss: #ff4545;
  --draw: #f7c928;
  --win: #11e4a5;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Work Sans", "Segoe UI", sans-serif;
  background:
    radial-gradient(80% 50% at 50% -8%, rgba(175, 227, 3, 0.12), transparent 60%),
    linear-gradient(180deg, #071921 0%, var(--bg) 100%);
  color: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(0deg, transparent 24%, rgba(255, 255, 255, 0.2) 25%, transparent 26%),
    linear-gradient(90deg, transparent 24%, rgba(255, 255, 255, 0.2) 25%, transparent 26%);
  background-size: 28px 28px;
}

.wrap {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(3.4rem, 8vw, 6rem);
  line-height: 0.94;
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.95;
  font-weight: 600;
}

h3 {
  font-size: 2rem;
  line-height: 0.95;
  font-weight: 600;
}

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

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(244, 251, 254, 0.08);
  background: rgba(5, 18, 23, 0.78);
  backdrop-filter: blur(8px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.menu {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.menu a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.menu a:hover,
.menu a:focus-visible {
  color: var(--ink);
}

.btn {
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  padding: 12px 22px;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

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

.btn-primary {
  color: #031217;
  background: linear-gradient(180deg, #cbf556 0%, var(--accent) 100%);
  border: 1px solid rgba(175, 227, 3, 0.85);
  box-shadow: 0 8px 24px rgba(175, 227, 3, 0.2);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(244, 251, 254, 0.06);
  border: 1px solid var(--line);
}

.hero {
  padding: 84px 0 44px;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 28px;
  align-items: start;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lead {
  margin-top: 18px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.6;
  max-width: 58ch;
}

.hero-cta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-list {
  margin: 22px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.hero-list li {
  color: #cae0e8;
}

.hero-panel {
  background: linear-gradient(180deg, rgba(16, 49, 59, 0.85), rgba(11, 38, 47, 0.92));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.panel-title {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #cce0e8;
}

.rank-strip {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(5, 18, 23, 0.35);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.rank-strip div {
  padding: 12px;
  text-align: center;
}

.rank-strip div + div {
  border-left: 1px solid rgba(244, 251, 254, 0.08);
}

.rank-strip span {
  display: block;
  color: #9bb8c4;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rank-strip strong {
  display: block;
  margin-top: 4px;
  font-size: 1.6rem;
  font-weight: 700;
}

.steps-line {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.steps-line strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 3rem;
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.steps-line span {
  font-size: 1.25rem;
  color: #c3d7df;
}

.steps-line em {
  margin-left: auto;
  color: var(--win);
  font-style: normal;
  font-weight: 700;
}

.threshold-card {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 12px;
  background: rgba(5, 18, 23, 0.35);
}

.track {
  position: relative;
  height: 16px;
  background: #23344d;
  border-radius: 999px;
  overflow: visible;
}

.fill {
  height: 100%;
  border-radius: 999px;
}

.fill.win {
  width: 88%;
  background: var(--win);
}

.marker {
  position: absolute;
  top: -26px;
  width: 0;
  border-left: 2px solid var(--line-strong);
  color: #cddfe7;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
}

.marker small {
  display: block;
  margin-top: 34px;
  font-size: 1rem;
  color: #dcecf3;
}

.marker.draw {
  left: 32%;
}

.marker.win {
  left: 76%;
}

.form-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

.dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.dot.w {
  background: var(--win);
  color: #033229;
}

.dot.d {
  background: var(--draw);
  color: #3d2c00;
}

.dot.l {
  background: var(--loss);
  color: #fff;
}

.dot.e {
  border: 1px solid rgba(244, 251, 254, 0.28);
}

.section {
  padding: 56px 0 0;
}

.section-head {
  margin-bottom: 20px;
}

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

.feature-card {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 49, 59, 0.8), rgba(11, 38, 47, 0.85));
}

.feature-card p {
  margin-top: 10px;
  line-height: 1.55;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.steps li {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  background: rgba(16, 49, 59, 0.55);
}

.steps p {
  margin-top: 10px;
  line-height: 1.5;
}

.cta-panel {
  margin-top: 6px;
  border-radius: 20px;
  border: 1px solid rgba(175, 227, 3, 0.4);
  background: linear-gradient(135deg, rgba(175, 227, 3, 0.18), rgba(16, 49, 59, 0.82));
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.cta-panel p {
  margin-top: 10px;
  max-width: 58ch;
}

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

.card {
  display: block;
  border-radius: 16px;
  padding: 18px;
  background: rgba(16, 49, 59, 0.65);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 120ms ease, border-color 120ms ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(175, 227, 3, 0.58);
}

.card-title {
  margin: 0;
}

.card-copy {
  margin-top: 6px;
  line-height: 1.45;
}

.footer {
  padding: 44px 0;
}

.footer p {
  border-top: 1px solid rgba(244, 251, 254, 0.1);
  padding-top: 16px;
  font-size: 0.95rem;
}

/* Legal document pages */
.doc {
  margin-top: 16px;
  background: rgba(16, 49, 59, 0.72);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}

.doc p,
.doc li {
  color: #d8e8ee;
  line-height: 1.58;
}

.doc h2 {
  margin-top: 22px;
  margin-bottom: 8px;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
}

.doc ul,
.doc ol {
  padding-left: 20px;
}

.back-link {
  display: inline-block;
  margin: 42px 0 12px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

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

@media (max-width: 980px) {
  .menu {
    display: none;
  }

  .top-cta {
    padding: 10px 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .feature-grid,
  .steps,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}
