/* Gateboard site — Solari Heritage palette, mirrors the app's tokens. */
:root {
  --board: #1c1a17; --tile: #262421; --tile-light: #3a3732; --seam: #141312;
  --recess: #171512; --cream: #f2e8d5; --dim: #cfc6b3; --amber: #ffb300;
  --amber-text: #ffc233; --ok: #86b27a; --bad: #ffb4ab;
  --mono: "B612 Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--board); color: var(--cream); font-family: var(--mono);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
header.site { padding: 28px 0; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font-weight: 700; letter-spacing: 0.08em; }
.brand svg { display: block; }
nav a { color: var(--dim); text-decoration: none; margin-left: 20px; font-size: 13px; letter-spacing: 0.08em; }
nav a:hover { color: var(--amber); }
main { padding-bottom: 64px; }
h1, h2, h3 { line-height: 1.25; }
.hero { text-align: center; padding: 56px 0 40px; }
.flapline { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; margin-bottom: 28px; }
.flap {
  position: relative; background: var(--tile); color: var(--cream);
  border-radius: 6px; padding: 10px 4px; min-width: 34px; font-size: 28px;
  font-weight: 700; box-shadow: inset 0 1px 0 var(--tile-light);
  animation: settle 0.5s cubic-bezier(0.2, 0.9, 0.3, 1) backwards;
}
.flap::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 2px; background: var(--seam); transform: translateY(-1px);
}
@keyframes settle { from { transform: rotateX(80deg); opacity: 0; } }
.flap:nth-child(1) { animation-delay: 0.05s } .flap:nth-child(2) { animation-delay: 0.1s }
.flap:nth-child(3) { animation-delay: 0.15s } .flap:nth-child(4) { animation-delay: 0.2s }
.flap:nth-child(5) { animation-delay: 0.25s } .flap:nth-child(6) { animation-delay: 0.3s }
.flap:nth-child(7) { animation-delay: 0.35s } .flap:nth-child(8) { animation-delay: 0.4s }
.flap:nth-child(9) { animation-delay: 0.45s }
@media (prefers-reduced-motion: reduce) { .flap { animation: none; } }
.hero h1 { font-size: clamp(26px, 5vw, 40px); margin-bottom: 14px; }
.hero p.sub { color: var(--dim); max-width: 480px; margin: 0 auto 28px; }
.cta {
  display: inline-block; background: var(--amber); color: #241a00;
  text-decoration: none; font-weight: 700; letter-spacing: 0.08em;
  padding: 14px 26px; border-radius: 8px; font-size: 14px;
}
.cta.ghost { background: transparent; color: var(--amber); border: 1px solid var(--amber); margin-left: 10px; }
.board-note { color: var(--dim); font-size: 12px; margin-top: 14px; }
section.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 40px 0; }
.card {
  background: var(--tile); border-radius: 8px; padding: 20px;
  box-shadow: inset 0 1px 0 var(--tile-light);
}
.card h3 { font-size: 13px; letter-spacing: 0.1em; color: var(--amber); margin-bottom: 8px; }
.card p { color: var(--dim); font-size: 14px; }
.doc h1 { margin: 40px 0 8px; font-size: 26px; }
.doc .updated { color: var(--dim); font-size: 12px; margin-bottom: 28px; }
.doc h2 { font-size: 15px; letter-spacing: 0.08em; color: var(--amber); margin: 30px 0 8px; }
.doc p, .doc li { color: var(--cream); font-size: 15px; }
.doc ul { padding-left: 22px; margin: 8px 0; }
.doc a { color: var(--amber-text); }
.doc .tile-note { background: var(--tile); border-radius: 8px; padding: 16px 20px; margin: 20px 0; box-shadow: inset 0 1px 0 var(--tile-light); color: var(--dim); font-size: 14px; }
footer.site { border-top: 1px solid var(--seam); padding: 26px 0 40px; color: var(--dim); font-size: 12px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
footer.site a { color: var(--dim); text-decoration: none; margin-right: 14px; }
footer.site a:hover { color: var(--amber); }
