/* dgxaz.com — one stylesheet. White background, black text, minimal.
   System fonts, no framework, no external requests. Type scale 14/16/18/24/36. */
:root { --ink:#000; --paper:#fff; --rule:#e6e6e6; --mute:#555; --max:960px; }
* { box-sizing:border-box; }
html { background:var(--paper); color:var(--ink); font:16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; -webkit-text-size-adjust:100%; }
body { margin:0; min-height:100dvh; display:flex; flex-direction:column; }
a { color:var(--ink); text-decoration:underline; text-underline-offset:3px; }
a:hover { text-decoration-thickness:2px; }
h1,h2,h3 { font-weight:600; letter-spacing:-0.01em; line-height:1.2; margin:0 0 12px; }
h1 { font-size:36px; } h2 { font-size:24px; margin-top:40px; } h3 { font-size:18px; margin-top:24px; }
p, li { max-width:62ch; } p { margin:0 0 16px; }
small, .mute { color:var(--mute); font-size:14px; }

/* Header: logo top-left on desktop with Apps / Games / Movies on the same row,
   right side, in small gray capitals. On a phone the logo is centered and the
   three sit behind a hamburger (no script: a hidden checkbox opens the menu). */
.hdr { position:relative; }
.hdr .in { max-width:var(--max); margin:0 auto; padding:16px 20px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.logo { display:inline-flex; align-items:center; text-decoration:none; }
.logo img { height:36px; width:auto; display:block; }
@media (max-width:640px) { .logo img { height:32px; } }
.nav { display:flex; gap:32px; align-items:center; }
.nav a { color:#6b6b6b; text-decoration:none; text-transform:uppercase; font-size:12px; font-weight:500; letter-spacing:.14em; }
.nav a:hover, .nav a:focus-visible { color:var(--ink); text-decoration:none; outline:none; }
.menu-toggle { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.menu-button { display:none; }
.account { border:1px solid var(--ink); border-radius:6px; padding:6px 12px; text-decoration:none; font-size:14px; }
@media (max-width:640px) {
  .hdr .in { justify-content:center; }
  .menu-button { position:absolute; right:12px; top:50%; width:44px; height:44px; margin-top:-22px; display:flex; align-items:center; justify-content:center; cursor:pointer; }
  .menu-button span, .menu-button span::before, .menu-button span::after { display:block; width:22px; height:2px; background:#6b6b6b; transition:transform .2s ease, background .2s ease; }
  .menu-button span { position:relative; }
  .menu-button span::before, .menu-button span::after { content:""; position:absolute; left:0; }
  .menu-button span::before { top:-7px; } .menu-button span::after { top:7px; }
  .menu-toggle:focus-visible + .menu-button { outline:2px solid var(--ink); outline-offset:2px; }
  .menu-toggle:checked + .menu-button span { background:transparent; }
  .menu-toggle:checked + .menu-button span::before { transform:translateY(7px) rotate(45deg); background:var(--ink); }
  .menu-toggle:checked + .menu-button span::after { transform:translateY(-7px) rotate(-45deg); background:var(--ink); }
  .nav { display:none; position:absolute; top:100%; left:0; right:0; z-index:10; flex-direction:column; gap:0; padding:8px 20px 20px; background:var(--paper); }
  .menu-toggle:checked ~ .nav { display:flex; }
  .nav a { padding:12px 0; font-size:13px; }
}

main { flex:1; }
.wrap { max-width:var(--max); margin:0 auto; padding:40px 20px 64px; }
.lede { font-size:18px; max-width:52ch; }
.grid { display:grid; grid-template-columns:repeat(2, 1fr); gap:24px; margin-top:24px; }
@media (max-width:640px) { .grid { grid-template-columns:1fr; } }
.card { border:1px solid var(--rule); border-radius:8px; padding:20px; }
.card h3 { margin-top:0; }
table { border-collapse:collapse; width:100%; max-width:720px; font-size:15px; }
th, td { text-align:left; padding:10px 12px 10px 0; border-bottom:1px solid var(--rule); vertical-align:top; }
th { font-weight:600; }
.btn { display:inline-block; border:1px solid var(--ink); border-radius:6px; padding:10px 16px; text-decoration:none; font-weight:600; background:var(--paper); color:var(--ink); cursor:pointer; font:inherit; }
.btn.fill { background:var(--ink); color:var(--paper); }
.btn:hover { text-decoration:none; opacity:.85; }
label { display:block; font-size:14px; margin:14px 0 6px; }
input[type=text], input[type=email], input[type=url], textarea, select { width:100%; max-width:480px; border:1px solid #bbb; border-radius:6px; padding:10px 12px; font:inherit; background:#fff; color:var(--ink); }
input:focus, textarea:focus { outline:2px solid var(--ink); outline-offset:1px; border-color:var(--ink); }
.hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.err { color:#8a1c1c; font-size:14px; min-height:18px; margin-top:8px; }
.ftr .in { max-width:var(--max); margin:0 auto; padding:20px; font-size:12px; color:#8c8c8c; display:flex; flex-wrap:wrap; gap:8px 24px; }
.list { display:grid; gap:24px; margin-top:8px; max-width:720px; }
.item { border-top:1px solid var(--rule); padding-top:20px; }
.item h2 { margin-top:0; font-size:24px; }
.item p { margin-bottom:8px; }
.ftr a { color:#8c8c8c; }
@media print { .hdr, .ftr, .btn { display:none; } }

/* The intro (home page only): the wordmark fades in over three seconds in
   the middle of a white screen, then travels to its place in the header —
   top-left on desktop, centered on a phone — and the header takes over.
   Plays once per session; not at all when the visitor prefers reduced motion. */
#intro { position:fixed; inset:0; background:var(--paper); z-index:100; display:flex; align-items:center; justify-content:center; }
#intro img { width:min(60vw, 520px); height:auto; opacity:0; transform-origin:top left; will-change:transform, opacity; }
#intro.in img { animation:dg-fade 3s ease-out forwards; }
@keyframes dg-fade { from { opacity:0; } to { opacity:1; } }
#intro.move { background:transparent; pointer-events:none; }
#intro.move img { transition:transform .9s cubic-bezier(.65,0,.35,1); }
body.intro .hdr .logo img { visibility:hidden; }
/* The rest of the page waits until the logo has landed, then fades up. */
.hdr .nav, .hdr .menu-button, .ftr, main { transition:opacity .4s ease-out; }
body.intro .hdr .nav, body.intro .hdr .menu-button, body.intro .ftr, body.intro main { opacity:0; }
