/* soft2betgr.com — single stylesheet, dark theme, mobile-first, no framework */

:root {
  --bg: #0a1020;
  --bg-raised: #101a30;
  --bg-card: #0e1729;
  --border: rgba(148, 170, 210, 0.14);
  --text: #d9e1ef;
  --muted: #96a3bc;
  --heading: #f2f6fc;
  --cyan: #03bdd7;
  --lime: #7dfc31;
  --grad: linear-gradient(92deg, var(--cyan), var(--lime));
  --radius: 12px;
  --content: 46rem;
  --wide: 70rem;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

/* ---------- accessibility ---------- */

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--lime);
  color: #06210a;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}

.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* ---------- header / nav ---------- */

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(10, 16, 32, 0.92);
}

.site-header .bar {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo { display: inline-flex; align-items: center; }

.logo img { display: block; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
}

.site-nav { display: none; }

.site-nav.open {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 50;
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.45);
}

.site-header { position: relative; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}

.site-nav a {
  display: block;
  padding: 0.7rem 1.5rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.site-nav a:hover { color: var(--lime); }

.site-nav a[aria-current="page"] { color: var(--lime); }

@media (min-width: 72rem) {
  .nav-toggle { display: none; }

  .site-header .logo { flex-shrink: 0; }

  .site-nav { display: block; position: static; }

  .site-nav ul {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.15rem;
    padding: 0;
  }

  .site-nav a {
    padding: 0.4rem 0.6rem;
    font-size: 0.9rem;
    white-space: nowrap;
    border-radius: 8px;
  }

  .site-nav a:hover { background: var(--bg-raised); }
}

/* ---------- hero ---------- */

.hero {
  background:
    radial-gradient(60rem 30rem at 85% -20%, rgba(3, 189, 215, 0.16), transparent 60%),
    radial-gradient(50rem 28rem at -10% 110%, rgba(125, 252, 49, 0.08), transparent 60%);
  border-bottom: 1px solid var(--border);
}

.hero .inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2.75rem 1.25rem 3rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 52rem) {
  .hero .inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    padding-top: 4rem;
    padding-bottom: 4.25rem;
  }
}

.kicker {
  margin: 0 0 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: fit-content;
}

h1 {
  margin: 0 0 1.1rem;
  color: var(--heading);
  font-size: clamp(1.85rem, 4.2vw, 2.7rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.lede {
  margin: 0;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* ---------- stats band (homepage) ---------- */

.stats {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 52rem) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}

.stats li {
  padding: 1.4rem 1rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.stats .num {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stats .label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- article content ---------- */

.content {
  max-width: var(--content);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3.5rem;
}

.content h2 {
  margin: 2.8rem 0 1rem;
  color: var(--heading);
  font-size: clamp(1.35rem, 2.6vw, 1.65rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.content h2::before {
  content: "";
  display: block;
  width: 2.6rem;
  height: 3px;
  border-radius: 2px;
  background: var(--grad);
  margin-bottom: 0.85rem;
}

.content h2:first-child { margin-top: 0; }

.content h3 {
  margin: 1.9rem 0 0.7rem;
  color: var(--heading);
  font-size: 1.13rem;
  line-height: 1.35;
}

.content p { margin: 0 0 1.1rem; }

.content ul,
.content ol { margin: 0 0 1.2rem; padding-left: 1.4rem; }

.content li { margin-bottom: 0.45rem; }

.content li::marker { color: var(--lime); font-weight: 700; }

.content a { color: var(--cyan); }

.content strong { color: var(--heading); }

/* ---------- in-content text links ---------- */

.inline-link {
  color: var(--cyan);
  font-weight: 700;
  text-decoration: none;
  padding-bottom: 2px;
  background-image: var(--grad);
  background-repeat: no-repeat;
  background-size: 100% 2px;
  background-position: 0 100%;
  transition: color 0.2s ease, background-size 0.2s ease;
}

.inline-link:hover,
.inline-link:focus-visible {
  color: var(--lime);
  background-size: 100% 3px;
}

/* ---------- in-content figures ---------- */

.figure {
  margin: 1.9rem 0 2.1rem;
}

.figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.figure figcaption {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

@media (min-width: 64rem) {
  .figure--wide {
    margin-left: -6.5rem;
    margin-right: -6.5rem;
  }
}

/* ---------- split band (text + image, full bleed) ---------- */

.split {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(45rem 22rem at 92% 8%, rgba(3, 189, 215, 0.09), transparent 60%),
    var(--bg-card);
}

.split--rev {
  background:
    radial-gradient(45rem 22rem at 8% 8%, rgba(125, 252, 49, 0.06), transparent 60%),
    var(--bg-card);
}

.split .inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2.8rem 1.25rem 3rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.split h2,
.band h2 {
  margin: 0 0 1rem;
  color: var(--heading);
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.split p { margin: 0 0 1.1rem; }

.split p:last-child { margin-bottom: 0; }

.split-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

@media (min-width: 56rem) {
  .split .inner {
    grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
    gap: 3.5rem;
    padding-top: 3.6rem;
    padding-bottom: 3.8rem;
  }

  .split--rev .split-media { order: -1; }
}

/* ---------- band (full-bleed narrow section) ---------- */

.band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(40rem 20rem at 0% 100%, rgba(125, 252, 49, 0.05), transparent 60%),
    radial-gradient(40rem 20rem at 100% 0%, rgba(3, 189, 215, 0.07), transparent 60%);
}

.band .inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 2.8rem 1.25rem 3.2rem;
}

.band p { margin: 0 0 1.1rem; }

/* ---------- card grid ---------- */

.card-grid {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 40rem) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

.card-grid li {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 1.15rem 1.25rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.97rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card-grid li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad);
  opacity: 0.65;
}

.card-grid li:hover {
  border-color: rgba(3, 189, 215, 0.4);
  transform: translateY(-2px);
}

.card-grid strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--heading);
}

/* ---------- numbered steps ---------- */

.steps {
  list-style: none;
  counter-reset: step;
  margin: 1.6rem 0;
  padding: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  margin: 0;
  padding: 0.15rem 0 1.6rem 3.4rem;
}

.steps li:last-child { padding-bottom: 0.2rem; }

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: #06210a;
  font-weight: 800;
  font-size: 1.05rem;
}

.steps li::after {
  content: "";
  position: absolute;
  left: 1.12rem;
  top: 2.7rem;
  bottom: 0.35rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(3, 189, 215, 0.4), rgba(148, 170, 210, 0.12));
}

.steps li:last-child::after { display: none; }

/* ---------- metrics ---------- */

.metrics {
  list-style: none;
  margin: 1.6rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

@media (min-width: 40rem) {
  .metrics { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 56rem) {
  .metrics--4 { grid-template-columns: repeat(4, 1fr); }
}

.metrics li {
  margin: 0;
  padding: 1.15rem 0.9rem 1.05rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.metrics .num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metrics .label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ---------- checklist ---------- */

.checklist {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
}

.checklist li {
  position: relative;
  margin-bottom: 0.7rem;
  padding-left: 2.15rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%237dfc31' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5 6.5 11.5 12.5 5'/%3E%3C/svg%3E") center / 0.85rem no-repeat,
    rgba(125, 252, 49, 0.1);
  border: 1px solid rgba(125, 252, 49, 0.35);
}

/* ---------- callout ---------- */

.callout {
  margin: 1.7rem 0;
  padding: 1.15rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--cyan);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.callout p { margin: 0; }

.callout p + p { margin-top: 0.8rem; }

/* ---------- tables ---------- */

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.55;
}

caption {
  text-align: left;
  padding: 0.85rem 1rem 0;
  font-weight: 700;
  color: var(--heading);
}

th, td {
  padding: 0.7rem 1rem;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--border);
}

thead th {
  border-top: 0;
  color: var(--heading);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--bg-raised);
  white-space: nowrap;
}

tbody tr:nth-child(even) { background: rgba(148, 170, 210, 0.04); }

/* ---------- awards strip (homepage) ---------- */

.awards {
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

.awards .inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2.2rem 1.25rem;
  text-align: center;
}

.awards h2 {
  margin: 0 0 1.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.awards ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.6rem 2.2rem;
}

.awards img {
  display: block;
  width: auto;
  height: 72px;
  opacity: 0.92;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: #070c18;
}

.site-footer .inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2.2rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.site-footer nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.3rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.site-footer a:hover { color: var(--lime); }

.site-footer .legal {
  width: 100%;
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
