/* Dominó Blanco — website (Firebase Hosting). Warm ivory and wood, like the game. */
:root {
  color-scheme: light;
  --bg: #f7f2e7;
  --surface: #fffdf7;
  --text: #2a2118;
  --muted: #6b5d4c;
  --line: #e6dccb;
  --accent: #8a4b1f;
  --accent-ink: #fffdf7;
  --wood: linear-gradient(135deg, #7a4a26, #a86b3c 55%, #6b3e1e);
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #1b1612;
    --surface: #251e18;
    --text: #f1e9dc;
    --muted: #b8a993;
    --line: #3a3027;
    --accent: #e0a46b;
    --accent-ink: #1b1612;
  }
}
* { 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); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

header.site { background: var(--wood); color: #fff8ee; }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding-top: 14px; padding-bottom: 14px; }
header.site a.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 700; font-size: 19px; }
header.site a.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
header.site nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: 15px; }
header.site nav a { color: #fff8ee; text-decoration: none; opacity: .9; }
header.site nav a:hover { opacity: 1; text-decoration: underline; }

.hero { text-align: center; padding: 56px 0 36px; }
.hero img { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 8px 24px rgba(60,30,10,.25); }
.hero h1 { font-size: 40px; line-height: 1.15; margin: 20px 0 10px; letter-spacing: -0.5px; }
.hero p { color: var(--muted); font-size: 19px; margin: 0 auto; max-width: 560px; }
.soon { display: inline-block; margin-top: 22px; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 15px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; padding: 8px 0 40px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.card h2 { font-size: 17px; margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

main.doc { padding: 32px 0 48px; }
main.doc h1 { font-size: 32px; line-height: 1.2; margin: 0 0 4px; }
main.doc .updated { color: var(--muted); margin: 0 0 24px; font-size: 15px; }
main.doc h2 { font-size: 21px; margin: 32px 0 8px; }
main.doc h3 { font-size: 17px; margin: 20px 0 4px; }
main.doc ul { padding-left: 22px; }
main.doc li { margin: 4px 0; }
.summary { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; padding: 14px 18px; margin: 0 0 8px; }
.summary ul { margin: 6px 0 0; }

footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 28px; }
footer.site a { color: var(--muted); }

@media (max-width: 520px) {
  .hero h1 { font-size: 32px; }
  main.doc h1 { font-size: 27px; }
  header.site nav { gap: 12px; font-size: 14px; }
}
