/* playgild.com — BRAND.md palette. No scripts, no third-party requests. */
@font-face {
  font-family: "Cinzel";
  src: url("/fonts/Cinzel-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #1A1611;
  --panel: #211E19;
  --gold: #D4AF37;
  --gold-hi: #F6DC7D;
  --gold-deep: #A87E1F;
  --cream: #F4EBD8;
  --lead: #6E7178;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { background: var(--ink); }

body {
  margin: 0;
  padding: 0 20px 64px;
  background: var(--ink);
  color: var(--cream);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main { max-width: 640px; margin: 0 auto; }

header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 40px 0 28px;
}

header img { width: 44px; height: 44px; border-radius: 10px; }

.wordmark {
  font-family: "Cinzel", "Times New Roman", serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
}

h1 {
  font-family: "Cinzel", "Times New Roman", serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin: 0 0 6px;
}

h2 {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 40px 0 10px;
}

p { margin: 0 0 16px; }

.tagline { font-size: 20px; color: var(--cream); margin-bottom: 28px; }

/* Example ladder: the app's board tiles (Theme.tile / goldWash / tileEdge),
   changed letter gold, split-flap seam across the middle. */
.ladder {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 32px;
}
.rung { display: flex; gap: 6px; }
.tile {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #2A251D;
  border: 2px solid #3D362A;
  color: var(--cream);
  font: 700 22px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
.tile::after {
  content: "";
  position: absolute;
  left: 3px; right: 3px; top: 50%;
  height: 1px;
  background: rgba(0, 0, 0, 0.35);
}
.tile.changed {
  background: #2E2712;
  border-color: var(--gold-deep);
  color: var(--gold);
}

ul { padding-left: 20px; margin: 0 0 16px; }
li { margin-bottom: 10px; }
li b { color: var(--gold-hi); font-weight: 600; }

a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }

.meta { color: var(--lead); font-size: 14px; }

.badge {
  display: inline-block;
  margin: 8px 0 24px;
  padding: 12px 22px;
  border: 1px solid var(--gold);
  border-radius: 10px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.badge:hover { background: var(--panel); }

footer {
  max-width: 640px;
  margin: 64px auto 0;
  padding-top: 20px;
  border-top: 1px solid #2E2921;
  color: var(--lead);
  font-size: 14px;
}
footer a { color: var(--lead); }
