:root {
  color-scheme: dark;
  --bg: #000000;
  --surface: #0f0f10;
  --raised: #1a1a1d;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #fafafa;
  --muted: #a1a1aa;
  --faint: #6b6b73;
  --accent: #3ddc84;
  --felt: #106b3f;
  --felt-dark: #073722;
  --red: #ff6b6b;
  --radius: 20px;
  --display: 'Inter Tight', 'Inter', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}

.wrap {
  width: min(1120px, 100% - 40px);
  margin: 0 auto;
}

.narrow {
  width: min(760px, 100% - 40px);
}

.eyebrow,
.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Navigation */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}

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

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s;
}

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

.pill {
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text);
  white-space: nowrap;
}

/* Hero */

.hero {
  position: relative;
  padding: 96px 0 120px;
  background:
    radial-gradient(90% 70% at 75% 10%, rgba(16, 107, 63, 0.55) 0%, rgba(7, 55, 34, 0.25) 45%, transparent 75%),
    radial-gradient(60% 50% at 0% 100%, rgba(16, 107, 63, 0.18), transparent 70%);
  overflow: hidden;
}

/* The betting arc from the table felt. */
.hero::after {
  content: '';
  position: absolute;
  left: -20%;
  right: -20%;
  top: 62%;
  height: 1400px;
  border-radius: 50%;
  border-top: 1.5px solid rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(46px, 7vw, 84px);
  margin: 16px 0 24px;
}

.lead {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--muted);
  max-width: 34em;
  margin: 0;
}

.ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

.store {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 22px;
  min-height: 56px;
  border-radius: 14px;
  background: #fff;
  color: #000;
  line-height: 1.15;
}

.store-small {
  font-size: 12px;
  font-weight: 500;
}

.store-big {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ghost {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.15s;
}

.ghost:hover {
  background: var(--raised);
}

.proof {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 560px;
}

.proof li {
  border-left: 2px solid rgba(61, 220, 132, 0.5);
  padding-left: 14px;
}

.proof strong {
  display: block;
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -0.02em;
}

.proof span {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

/* Phones */

.phone {
  margin: 0;
  width: 300px;
  padding: 9px;
  border-radius: 52px;
  background: linear-gradient(160deg, #47474d, #1c1c1f 45%, #2a2a2e);
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.65),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.1);
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: 44px;
  /* Trim the capture's own corners. */
  clip-path: inset(0 round 44px);
}

.hero-phones {
  position: relative;
  height: 640px;
}

.hero-phones .phone {
  position: absolute;
}

.phone-front {
  right: 4%;
  top: 0;
  transform: rotate(4deg);
  z-index: 2;
}

.phone-back {
  right: 42%;
  top: 70px;
  transform: rotate(-7deg) scale(0.9);
  opacity: 0.85;
}

/* Sections */

section {
  padding: 120px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 72px;
}

.section-head h2 {
  font-size: clamp(34px, 5vw, 56px);
  margin-top: 14px;
}

.features {
  padding-top: 40px;
}

.feature {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
  padding: 56px 0;
}

.feature + .feature {
  border-top: 1px solid var(--border);
}

.feature.reverse .feature-copy {
  order: 2;
}

.feature .phone {
  width: 290px;
  transform: rotate(-2deg);
}

.feature.reverse .phone {
  transform: rotate(2deg);
}

.feature-copy {
  max-width: 520px;
}

.feature h3 {
  font-size: clamp(30px, 4vw, 44px);
  margin: 12px 0 18px;
}

.feature p {
  color: var(--muted);
  font-size: 18px;
  margin: 0;
}

.feature ul,
.plan ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.feature li,
.plan li {
  position: relative;
  padding-left: 30px;
}

.feature li::before,
.plan li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ddc84' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E")
      center / 11px no-repeat,
    rgba(61, 220, 132, 0.14);
}

/* Tiles */

.tiles-section {
  padding: 40px 0 0;
}

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

.tile {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
}

.tile:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.tile h4 {
  font-size: 21px;
  margin: 14px 0 8px;
}

.tile p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.suit {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  color: #111;
  font-size: 24px;
  line-height: 1;
}

.suit.red {
  color: #e0353b;
}

/* Pricing */

.plans {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.plan {
  position: relative;
  padding: 36px 32px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.plan h3 {
  font-size: 24px;
}

.price {
  font-family: var(--display);
  font-weight: 800;
  font-size: 48px;
  letter-spacing: -0.03em;
  margin: 12px 0 0;
  line-height: 1.1;
}

.price span {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 6px;
  letter-spacing: 0;
}

.alt {
  color: var(--muted);
  margin: 4px 0 0;
  font-size: 15px;
}

.plan.featured {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(16, 107, 63, 0.55), transparent 70%),
    var(--surface);
  border-color: rgba(61, 220, 132, 0.45);
  box-shadow: 0 30px 80px rgba(16, 107, 63, 0.25);
}

.badge {
  position: absolute;
  top: -13px;
  left: 32px;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #000;
}

.fine {
  text-align: center;
  color: var(--faint);
  font-size: 14px;
  margin: 28px auto 0;
  max-width: 640px;
}

/* FAQ */

.faq details {
  border-bottom: 1px solid var(--border);
  padding: 4px 0;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 40px 22px 0;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  position: relative;
}

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

.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq details p {
  margin: 0 0 24px;
  color: var(--muted);
}

/* Support */

.support {
  padding-top: 40px;
}

.support-card {
  text-align: center;
  padding: 56px 40px;
  border-radius: 28px;
  background:
    radial-gradient(100% 120% at 50% 0%, rgba(16, 107, 63, 0.45), transparent 70%),
    var(--surface);
  border: 1px solid var(--border);
}

.support-card h2 {
  font-size: clamp(32px, 4vw, 44px);
}

.support-card > p {
  color: var(--muted);
  margin: 12px 0 28px;
}

.button {
  display: inline-block;
  padding: 16px 26px;
  border-radius: 14px;
  background: #fff;
  color: #000;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.15s;
}

.button:hover {
  opacity: 0.9;
}

.support-notes {
  margin-top: 32px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
}

.support-notes p {
  margin: 0;
}

.support-notes strong {
  color: var(--text);
}

/* Footer */

.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 56px;
  margin-top: 80px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}

.footer nav {
  display: flex;
  gap: 24px;
}

.footer nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}

.footer nav a:hover {
  color: var(--text);
}

.footer p {
  margin: 0 0 0 auto;
  color: var(--faint);
  font-size: 14px;
}

/* Privacy and other text pages */

.doc {
  padding: 80px 0 40px;
}

.doc h1 {
  font-size: clamp(40px, 6vw, 60px);
  margin: 14px 0 10px;
}

.doc .updated {
  color: var(--faint);
  margin: 0 0 40px;
}

.doc h2 {
  font-size: 24px;
  margin: 44px 0 12px;
}

.doc p,
.doc li {
  color: #d4d4d8;
}

.doc a {
  color: var(--accent);
}

.doc .summary {
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.doc .summary ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

/* Responsive */

@media (max-width: 960px) {
  .hero {
    padding: 64px 0 40px;
  }

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

  .hero-phones {
    height: 560px;
    margin-top: 16px;
  }

  .phone-front {
    right: auto;
    left: 50%;
    transform: translateX(-30%) rotate(4deg);
  }

  .phone-back {
    right: auto;
    left: 50%;
    transform: translateX(-85%) rotate(-7deg) scale(0.88);
  }

  .feature {
    grid-template-columns: 1fr;
    gap: 40px;
    justify-items: center;
    text-align: left;
  }

  .feature.reverse .feature-copy {
    order: 0;
  }

  .tiles,
  .plans {
    grid-template-columns: 1fr;
  }

  .plans {
    max-width: 480px;
    margin: 0 auto;
  }

  section {
    padding: 80px 0;
  }
}

@media (max-width: 640px) {
  .nav-links,
  .pill {
    display: none;
  }

  .nav-inner {
    justify-content: center;
  }

  .proof {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-phones {
    height: 470px;
  }

  .phone {
    width: 230px;
    border-radius: 40px;
    padding: 7px;
  }

  .phone img {
    border-radius: 34px;
    clip-path: inset(0 round 34px);
  }

  .feature .phone {
    width: 250px;
  }

  .footer p {
    margin-left: 0;
  }
}

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

  .tile,
  .tile:hover {
    transition: none;
    transform: none;
  }
}

/* Guides on the home page */

.guides {
  padding-bottom: 40px;
}

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

.guide-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

.guide-card:hover {
  border-color: rgba(61, 220, 132, 0.45);
  transform: translateY(-2px);
}

.guide-card h3 {
  font-size: 23px;
  margin-top: 6px;
}

.guide-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  flex: 1;
}

.more {
  font-weight: 600;
  color: var(--accent);
  font-size: 15px;
}

/* Guide pages */

.crumbs {
  font-size: 14px;
  color: var(--faint);
  margin-bottom: 18px;
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.crumbs span {
  margin: 0 6px;
}

.guide .intro {
  font-size: 20px;
  line-height: 1.55;
  color: var(--text);
}

.guide h2 {
  font-size: clamp(26px, 3.5vw, 32px);
  margin: 56px 0 14px;
}

.guide ul,
.guide ol {
  padding-left: 22px;
}

.guide li {
  margin-bottom: 8px;
}

.note {
  font-size: 15px;
  color: var(--muted) !important;
}

.chart {
  margin: 28px 0;
}

.chart figcaption {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 10px;
}

.chart-scroll,
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.chart table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 3px;
  padding: 8px;
  font-size: 14px;
}

.chart th {
  font-family: var(--display);
  font-weight: 700;
  color: var(--accent);
  padding: 6px 4px;
}

.chart tbody th {
  color: var(--text);
  text-align: left;
  white-space: nowrap;
  padding-right: 10px;
}

.chart td {
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 0;
  border-radius: 6px;
}

.h { background: rgba(255, 122, 107, 0.2); color: #ff7a6b; }
.s { background: rgba(255, 197, 61, 0.2); color: #ffc53d; }
.d { background: rgba(61, 220, 132, 0.2); color: #3ddc84; }
.p { background: rgba(94, 168, 255, 0.2); color: #5ea8ff; }
.r { background: rgba(182, 156, 255, 0.2); color: #b69cff; }

.legend {
  list-style: none;
  padding: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14px;
  color: var(--muted);
}

.legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
}

.legend span {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  padding: 3px 4px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 12px;
}

.diffs li {
  color: var(--muted);
}

table.simple {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

table.simple th,
table.simple td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

table.simple th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

table.simple tr:last-child td {
  border-bottom: 0;
}

table.simple small {
  color: var(--faint);
}

table.index .num {
  font-family: var(--display);
  font-weight: 800;
  color: var(--accent);
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.values > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.values small {
  color: var(--muted);
}

.v {
  font-family: var(--display);
  font-weight: 800;
  font-size: 30px;
}

.v.plus { color: var(--accent); }
.v.zero { color: var(--muted); }
.v.minus { color: var(--red); }

.guide-faq {
  margin-top: 56px;
}

.guide-faq details {
  border-bottom: 1px solid var(--border);
}

.guide-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 36px 18px 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  position: relative;
}

.guide-faq summary::-webkit-details-marker {
  display: none;
}

.guide-faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 400;
  color: var(--muted);
}

.guide-faq details[open] summary::after {
  content: '–';
}

.guide-faq details p {
  margin: 0 0 20px;
}

.cta-card {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 64px 0 0;
  padding: 32px;
  border-radius: 24px;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(16, 107, 63, 0.5), transparent 70%),
    var(--surface);
  border: 1px solid rgba(61, 220, 132, 0.35);
}

.cta-card h2 {
  margin: 0 0 6px !important;
  font-size: 26px !important;
}

.cta-card p {
  margin: 0;
  color: var(--muted) !important;
}

.cta-card .button {
  flex-shrink: 0;
}

/* 404 */

.notfound {
  min-height: 80vh;
  display: grid;
  place-items: center;
  padding: 80px 0;
}

.notfound h1 {
  font-size: clamp(40px, 7vw, 72px);
  margin: 14px 0;
}

.notfound p {
  color: var(--muted);
  font-size: 19px;
}

@media (max-width: 960px) {
  .guide-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .chart table {
    border-spacing: 2px;
    padding: 4px;
    table-layout: fixed;
  }

  .chart th {
    font-size: 12px;
    padding: 4px 0;
  }

  .chart tbody th {
    width: 38px;
    padding-right: 4px;
    font-size: 12px;
  }

  .chart thead th:first-child {
    width: 38px;
  }

  .chart td {
    font-size: 10.5px;
    padding: 6px 0;
    border-radius: 4px;
  }

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

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

  .guide .intro {
    font-size: 18px;
  }
}
