/* jokrpokr.com. Same palette as the app (src/theme/tokens.ts). */
:root {
  --bg: #000000;
  --surface: #1c1c1e;
  --surface-raised: #2c2c2e;
  --border: #2e2e32;
  --text: #ffffff;
  --muted: #8e8e93;
  --faint: #48484a;
  --accent: #f5a623;
  --red: #f2453d;
  color-scheme: dark;
}

* { 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, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* Header */
header.site {
  border-bottom: 1px solid var(--border);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); font-weight: 600; font-size: 19px; letter-spacing: -0.3px;
}
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
nav.site { display: flex; gap: 18px; font-size: 15px; }
nav.site a { color: var(--muted); }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--text); text-decoration: none; }

/* Landing */
.hero { padding: 72px 0 40px; text-align: center; }
.hero .icon { width: 96px; height: 96px; border-radius: 22px; }
.hero h1 {
  font-size: clamp(48px, 12vw, 88px); font-weight: 200; letter-spacing: -2px;
  margin: 24px 0 8px; line-height: 1;
}
.hero p.lede { color: var(--muted); font-size: 20px; margin: 0 auto; max-width: 30ch; }

.suits { display: flex; justify-content: center; gap: 14px; margin: 36px 0 0; }
.card {
  width: 64px; height: 90px; border-radius: 10px; background: #fafafa; color: #1c1c1e;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 26px; line-height: 1; box-shadow: 0 6px 24px rgba(0,0,0,.5);
}
.card.red { color: var(--red); }
.card span { font-size: 22px; margin-top: 4px; }
.card:nth-child(1) { transform: rotate(-8deg) translateY(6px); }
.card:nth-child(3) { transform: rotate(8deg) translateY(6px); }

.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 40px 0 0; }
.badge {
  display: inline-block; padding: 12px 20px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-size: 15px;
}

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; padding: 48px 0; }
.feature { background: var(--surface); border-radius: 20px; padding: 22px; }
.feature h3 { margin: 0 0 6px; font-size: 18px; font-weight: 500; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }

.note {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 18px; color: var(--muted); font-size: 15px; margin: 0 0 48px;
}

/* Documents */
.doc { padding: 48px 0 64px; }
.doc h1 { font-size: 36px; font-weight: 500; letter-spacing: -0.5px; margin: 0 0 4px; }
.doc .updated { color: var(--muted); font-size: 15px; margin: 0 0 32px; }
.doc h2 { font-size: 21px; font-weight: 500; margin: 40px 0 8px; }
.doc h3 { font-size: 17px; font-weight: 600; margin: 24px 0 4px; }
.doc p, .doc li { color: #d1d1d6; }
.doc ul { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc strong { color: var(--text); font-weight: 600; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.doc th { color: var(--muted); font-weight: 500; }
.doc td { color: #d1d1d6; }

.panel { background: var(--surface); border-radius: 20px; padding: 22px; margin: 16px 0; }
.panel h2 { margin-top: 0; }
.button {
  display: inline-block; background: var(--text); color: #000; font-weight: 600;
  padding: 12px 22px; border-radius: 999px; font-size: 16px;
}
.button:hover { text-decoration: none; opacity: .9; }

/* Footer */
footer.site { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--text); }

@media (max-width: 520px) {
  nav.site { gap: 14px; font-size: 14px; }
  nav.site .optional { display: none; }
  .hero { padding-top: 48px; }
}
