/* Boxart website: the same colors and fonts as the app (src/theme). */
:root {
  --background: #F5F6FA;
  --surface: #FFFFFF;
  --text: #15131F;
  --text-muted: #6B6B76;
  --tint: #4A63FF;
  --on-tint: #FFFFFF;
  --link: #4A63FF;
  --border: rgba(21, 19, 31, 0.08);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #15131F;
    --surface: #201D2E;
    --text: #F5F6FA;
    --text-muted: #9A98A8;
    --link: #8C9BFF; /* lighter so links stay readable on dark */
    --border: rgba(245, 246, 250, 0.08);
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 20px 16px 64px;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 20px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: "Bricolage Grotesque", "Figtree", sans-serif;
  font-weight: 700;
  font-size: 20px;
}

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

h1, h2, h3 {
  font-family: "Bricolage Grotesque", "Figtree", sans-serif;
  line-height: 1.25;
}

h1 { font-size: 30px; margin: 28px 0 4px; }
h2 { font-size: 20px; margin: 36px 0 8px; }
h3 { font-size: 17px; margin: 24px 0 4px; }

p, li { overflow-wrap: anywhere; }
ul { padding-left: 22px; }
li { margin: 4px 0; }

a { color: var(--link); }

.muted { color: var(--text-muted); }
.updated { color: var(--text-muted); font-size: 14px; margin: 0 0 24px; }

.card {
  background: var(--surface);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 16px 0;
}

.summary li { margin: 6px 0; }

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

th, td {
  text-align: left;
  vertical-align: top;
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
}

th { font-weight: 700; }

.table-scroll { overflow-x: auto; }

.button {
  display: inline-block;
  background: var(--tint);
  color: var(--on-tint);
  text-decoration: none;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 12px;
}

.center { text-align: center; }

.hero {
  text-align: center;
  padding: 40px 0 8px;
}

.hero img { width: 88px; height: 88px; border-radius: 22px; }

.hero h1 { font-size: 34px; margin-top: 20px; }

.site-footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
}

.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 8px; }
.site-footer a { color: var(--text-muted); }

.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
