/* Tavli support site. The app's own palette: walnut ground, ink, one felt
   green, Commissioner throughout. Same skeleton as the Networth site. */

:root {
  --bg: #EBE6DC;
  --card: #F4F1EA;
  --ink: #33291F;
  --ink-2: #7F7266;
  --hairline: #D9D2C5;
  --accent: #59704F;
  --accent-ink: #46593E;
  --radius: 18px;
  --maxw: 760px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Commissioner", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; color: var(--ink); }
h1 { font-size: 30px; margin: 0 0 6px; }
h2 { font-size: 20px; margin: 32px 0 10px; }
h3 { font-size: 17px; margin: 22px 0 6px; }
p { margin: 0 0 14px; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(140%) blur(12px); background: rgba(235,230,220,0.88); border-bottom: 1px solid var(--hairline); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }

.doc { padding: 40px 24px 56px; }
.lede, .updated { color: var(--ink-2); margin: 0 0 22px; }
.back { display: inline-block; color: var(--ink-2); font-size: 14px; margin-bottom: 18px; }
.card { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 22px 24px; margin: 22px 0; }
.card h2 { margin-top: 0; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); padding-bottom: 12px; border-bottom: 1px solid var(--hairline); }
.card h3:first-of-type { margin-top: 14px; }
.card p:last-child { margin-bottom: 0; }
.callout { background: var(--card); border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; padding: 14px 18px; margin: 20px 0 26px; }

footer { border-top: 1px solid var(--hairline); padding: 22px 0 36px; }
.copy { color: var(--ink-2); font-size: 14px; margin: 0; }

/* Press kit: the screenshot gallery, the facts table and the app preview. */
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin: 18px 0 26px; }
.shots figure { margin: 0; }
.shots a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--hairline); background: #000; }
.shots img { width: 100%; height: auto; }
.shots figcaption { color: var(--ink-2); font-size: 13px; line-height: 1.4; margin-top: 7px; }
.shots.wide { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.facts { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: 15px; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 11px 0; border-bottom: 1px solid var(--hairline); }
.facts th { font-weight: 600; width: 34%; padding-right: 18px; }
@media (max-width: 520px) {
  .facts th, .facts td { display: block; width: auto; border-bottom: none; padding: 0; }
  .facts th { padding-top: 14px; }
  .facts td { padding-bottom: 14px; border-bottom: 1px solid var(--hairline); }
}

.preview { width: 100%; border-radius: var(--radius); border: 1px solid var(--hairline); background: #000; display: block; }
.dl { color: var(--ink-2); font-size: 14px; margin: 8px 0 26px; }
