/* Shared styles for the generated content pages (scripts/build-pages.mjs, A360).
   Same tokens and faces as the home page so the pages read as one site. */
:root {
  --bg: #07090d; --surface: #0e1218; --surface-2: #12161e;
  --border: rgba(255,255,255,0.07); --border-hover: rgba(255,255,255,0.16);
  --text: #eef1f6; --muted: #a3acbb; --faint: #6b7588;
  --orange: #f5921e; --orange-hi: #ffb84d; --green: #59d629; --radius: 14px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Outfit", ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.65; font-size: 17px; }
h1, h2, h3 { font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif; font-weight: 700; letter-spacing: -0.02em; line-height: 1.16; margin: 0; text-wrap: balance; }
a { color: var(--orange-hi); }
a:hover { color: var(--orange); }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2px solid var(--orange-hi); outline-offset: 2px; border-radius: 4px; }

/* nav + footer (same markup as the hand-written pages) */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(7,9,13,0.78); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.nav-logo img { height: 40px; width: auto; display: block; }
.nav-links { display: flex; gap: 24px; align-items: center; font-size: 15px; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 11px; font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: transform .18s ease, background .18s ease; }
.btn-primary { background: linear-gradient(180deg, var(--orange-hi), var(--orange)); color: #1a1004; }
.btn-primary:hover { color: #1a1004; transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.06); border-color: var(--border-hover); color: var(--text); }
.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.mnav { display: none; position: relative; }
.mnav > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--border-hover); background: rgba(255,255,255,0.05); font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 14px; color: var(--text); }
.mnav > summary::-webkit-details-marker { display: none; }
.mnav > summary::after { content: "▾"; font-size: 12px; color: var(--muted); }
.mnav[open] > summary::after { content: "▴"; }
.mnav-panel { position: absolute; right: 0; top: calc(100% + 10px); min-width: 210px; display: grid; gap: 2px; padding: 8px; border-radius: 12px; background: rgba(10,13,18,0.98); border: 1px solid var(--border-hover); box-shadow: 0 18px 44px rgba(0,0,0,0.6); z-index: 30; }
.mnav-panel a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 15px; color: var(--muted); text-decoration: none; }
.mnav-panel a:hover { background: rgba(255,255,255,0.06); color: var(--text); }
@media (max-width: 900px) { .nav-links { display: none; } .mnav { display: block; } }

footer { border-top: 1px solid var(--border); padding: 40px 0 52px; margin-top: 40px; }
.foot { display: grid; gap: 22px; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot img { height: 34px; width: auto; }
.foot-links { display: flex; gap: 10px 22px; font-size: 14px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.foot-copy { color: var(--faint); font-size: 13px; }
.foot-copy a { color: var(--muted); }
.game-disclaimer { max-width: 1140px; margin: 18px auto 0; padding: 0 24px; color: var(--faint); font-size: 12.5px; }

/* page header */
.page-head { padding: 64px 0 28px; }
.crumbs { font-size: 13.5px; color: var(--faint); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.eyebrow { display: inline-block; font-family: "Space Grotesk", sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-hi); margin-bottom: 12px; }
.page-head h1 { font-size: clamp(32px, 5vw, 50px); max-width: 22ch; }
.page-head .lede { color: var(--muted); font-size: 19px; max-width: 64ch; margin: 16px 0 0; }
.updated { margin-top: 14px; font-size: 13px; color: var(--faint); }

/* article body */
.article { display: grid; gap: 26px; padding-bottom: 20px; }
.article > section { display: grid; gap: 14px; max-width: 78ch; }
.article > section.wide { max-width: none; }
.article h2 { font-size: clamp(24px, 3vw, 31px); margin-top: 22px; }
.article h3 { font-size: 20px; margin-top: 8px; }
.article p { margin: 0; color: #d6dbe4; }
.article ul, .article ol { margin: 0; padding-left: 1.25em; display: grid; gap: 7px; color: #d6dbe4; }
.article strong { color: var(--text); }
.answer { border-left: 3px solid var(--orange); padding: 4px 0 4px 18px; font-size: 18px; }
.answer p { color: var(--text); }
.note { font-size: 15px; color: var(--muted) !important; }
.callout { background: linear-gradient(180deg, var(--surface), var(--surface-2)); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; display: grid; gap: 10px; }
.callout h3 { margin: 0; font-size: 18px; }
.callout p { font-size: 16px; }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--border); }
thead th { font-family: "Space Grotesk", sans-serif; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { font-weight: 600; color: var(--text); }
td { color: #d6dbe4; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.full { color: var(--orange-hi); font-weight: 600; }
.yes { color: var(--green); font-weight: 700; }
.dim { color: var(--faint); }

/* cards + CTA */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: linear-gradient(180deg, var(--surface), var(--surface-2)); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; display: grid; gap: 8px; align-content: start; }
.card h3 { font-size: 18px; margin: 0; }
.card p { font-size: 15.5px; color: var(--muted); }
.card a.go { text-decoration: none; font-weight: 600; font-size: 15px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.cta-band { margin-top: 30px; padding: 30px; border-radius: var(--radius); border: 1px solid rgba(245,146,30,0.3); background: radial-gradient(120% 140% at 0% 0%, rgba(245,146,30,0.12), transparent 60%), var(--surface); display: grid; gap: 12px; }
.cta-band h2 { font-size: 26px; margin: 0; }
.cta-band p { color: var(--muted); margin: 0; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 78ch; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; padding: 15px 0; font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange-hi); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 0 16px; color: #d6dbe4; display: grid; gap: 10px; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .page-head { padding: 40px 0 20px; }
  .game-disclaimer { padding: 0 16px; }
  .cta-band { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
