/* Jinx website. Colors match the app (src/theme/theme.ts). */
:root {
  --bg: #faf6f1;
  --surface: #ffffff;
  --text: #1a1620;
  --text-2: #5c5666;
  --border: #e8e1d9;
  --accent: #b0407f;
  --like: #2a84b5;
  --sky: #86b3d3;
  --match: #ded9f3;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0c11;
    --surface: #1a1720;
    --text: #f5f1f7;
    --text-2: #b4aebd;
    --border: #2c2833;
    --accent: #e07cb4;
    --like: #7cc6e6;
    --sky: #4f7d9c;
    --match: #3a3456;
  }
}

* { 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, sans-serif;
}
a { color: var(--accent); }
h1, h2, h3, .brand { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2rem, 6vw, 2.75rem); margin: 0 0 0.5rem; }
h2 { font-size: 1.4rem; margin: 2.25rem 0 0.5rem; }
h3 { font-size: 1.1rem; margin: 1.5rem 0 0.25rem; }
p, ul { margin: 0 0 1rem; }
li { margin-bottom: 0.35rem; }

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

header.site { border-bottom: 1px solid var(--border); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 1.35rem; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav a { color: var(--text-2); text-decoration: none; margin-left: 16px; font-size: 0.95rem; }
nav a:hover { color: var(--accent); }

main { padding: 40px 0 56px; }
.muted { color: var(--text-2); }
.small { font-size: 0.9rem; }

/* Home */
.hero { text-align: center; padding: 24px 0 8px; }
.hero img { width: 120px; height: 120px; border-radius: 27px; box-shadow: 0 8px 24px rgba(26, 22, 32, 0.15); }
.hero h1 { margin-top: 24px; }
.tagline { font-size: 1.2rem; color: var(--text-2); max-width: 30em; margin: 0 auto 24px; }
.badge {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 600;
}
.badge.soon { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.steps { display: grid; gap: 16px; margin: 48px 0 8px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 20px; }
.step .n {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--match); color: var(--text); font-weight: 700; margin-bottom: 8px;
}
.step h3 { margin-top: 0; }
.step p { margin: 0; color: var(--text-2); font-size: 0.97rem; }

/* Legal pages */
.doc h1 { font-size: 2rem; }
.doc .updated { color: var(--text-2); margin-bottom: 2rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 20px; margin: 16px 0; }
table { width: 100%; border-collapse: collapse; margin: 0 0 1rem; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--border); }
th { font-weight: 600; }
.table-scroll { overflow-x: auto; }

footer.site { border-top: 1px solid var(--border); padding: 24px 0 40px; color: var(--text-2); font-size: 0.9rem; }
footer.site a { color: var(--text-2); margin-right: 16px; }
