:root {
  color-scheme: light dark;
  --bg: #f7f4ec;
  --surface: #ffffff;
  --text: #1b2a23;
  --muted: #5b6a62;
  --accent: #0e6b4f;
  --rule: #e0dacb;
  --felt: #0e4d3a;
  --felt-deep: #0a3b2c;
  --gold: #f2c14e;
  --on-felt: #f4efe2;
  --on-felt-muted: #b9cbc2;
  --card: #fffdf7;
  --card-red: #c0281e;
  --card-black: #1d1d1d;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1a15;
    --surface: #13261f;
    --text: #ece7da;
    --muted: #a2b1a8;
    --accent: #f2c14e;
    --rule: #25392f;
    --felt-deep: #082b20;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a { color: var(--accent); text-underline-offset: .15em; }

h1, h2, h3 { line-height: 1.2; text-wrap: balance; }
h1 { font-size: 2rem; margin: 0 0 .25rem; }
h2 { font-size: 1.15rem; margin: 2rem 0 .4rem; }
h3 { font-size: 1.05rem; margin: 0 0 .3rem; }
p, li { margin: .5rem 0; }
ul, ol { padding-left: 1.3rem; }

.meta { color: var(--muted); font-size: .92rem; }

/* Text pages (privacy, support, report an ad) */

main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

header.site {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 0;
  color: var(--muted);
  font-size: .92rem;
}
header.site .brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}
header.site .brand img { width: 28px; height: 28px; border-radius: 7px; }
.lang a { color: inherit; }
.lang a[aria-current] { color: var(--text); font-weight: 600; text-decoration: none; }

/* Home page */

.home header.site,
.home main { max-width: 60rem; }

.hero {
  background:
    radial-gradient(120% 90% at 30% 0%, #15664d 0%, transparent 60%),
    linear-gradient(180deg, var(--felt) 0%, var(--felt-deep) 100%);
  color: var(--on-felt);
}
.hero header.site { color: var(--on-felt-muted); }
.hero header.site .lang a[aria-current] { color: var(--on-felt); }

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2.5rem;
  max-width: 60rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}
.hero-icon { width: 88px; height: 88px; border-radius: 20px; box-shadow: 0 6px 20px rgb(0 0 0 / .25); }
.hero h1 { font-size: clamp(2.4rem, 7vw, 3.6rem); font-weight: 900; color: var(--gold); margin: 1rem 0 .2rem; letter-spacing: -.01em; }
.hero .tagline { font-size: 1.3rem; line-height: 1.4; margin: 0 0 .75rem; font-weight: 600; }
.hero .lede { color: var(--on-felt-muted); margin: 0 0 1.5rem; max-width: 30rem; }
.hero .facts {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}
.hero .facts li {
  margin: 0;
  padding: .3rem .75rem;
  border: 1px solid rgb(255 255 255 / .22);
  border-radius: 999px;
  font-size: .9rem;
}
.hero .status { margin: 0; font-weight: 600; }
.hero .status span { color: var(--on-felt-muted); font-weight: 400; }

.phone {
  width: 260px;
  border: 8px solid #101614;
  border-radius: 34px;
  overflow: hidden;
  background: #101614;
  box-shadow: 0 24px 50px rgb(0 0 0 / .35);
}
.phone img { display: block; width: 100%; height: auto; border-radius: 26px; }

.home main { padding-top: 1rem; }
.home section { padding: 2.5rem 0 0; }
.home section > h2 { font-size: 1.6rem; margin: 0 0 1rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps > li,
.modes > div {
  margin: 0;
  padding: 1.1rem 1.25rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
}
.steps > li { counter-increment: step; }
.steps > li h3::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  margin-right: .5rem;
  border-radius: 50%;
  background: var(--felt);
  color: var(--gold);
  font-size: .9rem;
  vertical-align: .1em;
}
.steps p { margin: .4rem 0 0; }
.example { color: var(--muted); font-size: .95rem; }

.modes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1rem;
}
.modes p { margin: .3rem 0 0; }

/* A playing card in running text, like 8♥ */
.c {
  display: inline-block;
  min-width: 2.1em;
  padding: 0 .3em;
  border: 1px solid #d8d2c2;
  border-radius: .3em;
  background: var(--card);
  color: var(--card-black);
  font-weight: 700;
  font-size: .92em;
  line-height: 1.45;
  text-align: center;
  white-space: nowrap;
}
.c.r { color: var(--card-red); }

.ladder { font-weight: 700; white-space: nowrap; }

footer.site {
  max-width: 60rem;
  margin: 3.5rem auto 0;
  padding: 1.5rem 1.25rem 3rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: .92rem;
}
footer.site p { margin: .3rem 0; }

@media (max-width: 720px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2.5rem; }
  .phone { width: 230px; margin: 0 auto; }
}
