/* Tiltyard Games — one quiet column; heraldic azure and gold from the pennant mark. */
:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --ink: #121620;
  --muted: #586172;
  --line: #e1e5ec;
  --azure: #1f3f99;
  --gold: #e8a317;
  --display: ui-rounded, "SF Pro Rounded", "Nunito", "Avenir Next", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1016; --surface: #151a23; --ink: #e8ecf3; --muted: #9aa3b3; --line: #262d3a;
    --azure: #8fb0ff; --gold: #f0b429; color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--body); }
a { color: var(--azure); text-underline-offset: 2px; }
a:focus-visible { outline: 2px solid var(--azure); outline-offset: 2px; border-radius: 3px; }
.wrap { max-width: 760px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }

header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.brand svg { width: 30px; height: 30px; transform: rotate(-6deg); }
nav.site { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--ink); }

main { padding-block: 48px 64px; display: grid; gap: 48px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(34px, 7vw, 52px); font-weight: 800; }
h2 { font-size: 24px; font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0; max-width: 64ch; }
.lede { font-size: 20px; color: var(--muted); margin-top: 12px; }
section { display: grid; gap: 14px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.game { display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.game img { width: 112px; height: 112px; border-radius: 25px; display: block; }
.game > div { display: grid; gap: 8px; min-width: 0; }
.status { display: inline-block; justify-self: start; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--ink); background: color-mix(in srgb, var(--gold) 28%, transparent); border-radius: 99px; padding: 2px 10px; }
.links { display: flex; gap: 16px; flex-wrap: wrap; font-size: 15px; }

dl.contact { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 0; }
dl.contact dt { color: var(--muted); }
dl.contact dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }

.doc { display: grid; gap: 28px; }
.doc section { gap: 10px; }
.doc ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; max-width: 64ch; }
.doc .meta { color: var(--muted); font-size: 15px; margin-top: 8px; }

.faq { display: grid; gap: 22px; }
.faq div { display: grid; gap: 6px; }

footer.site { border-top: 1px solid var(--line); }
footer.site .wrap { padding-block: 24px 40px; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
footer.site nav { display: flex; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }

@media (max-width: 520px) {
  .game { grid-template-columns: 1fr; }
  .game img { width: 88px; height: 88px; border-radius: 20px; }
  dl.contact { grid-template-columns: 1fr; gap: 2px; }
  dl.contact dd { margin-bottom: 10px; }
}
