/* All About Play company site. Single dark look by design. */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img { max-width: 100%; }
/* Layout: a calm company letterhead. Left-aligned headline, with the registered-company
   card sharing the first screen so legal name and address are seen before any scroll. */
:root {
  /* single dark look, by choice */
  color-scheme: dark;
  --bg: #0F0B1A; --surface: #181229; --ink: #F3F0FA; --muted: #A8A0C0; --line: #2C2445;
  --accent: #A98BFF; --accent-ink: #150E2B; --accent-soft: #241B40; --spark: #F5B82E;
  --note-bg: #33290B; --note-ink: #F6DE9A;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --body: "Figtree", -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; line-height: 1.1; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1080px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); }


/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none; }
.brand img { display: block; flex: none; height: auto; }
.brand-mark { width: 54px; }
.brand-word { width: 120px; }
.brand-play { width: 111px; margin-left: -2px; }
@media (max-width: 420px) { .brand-mark { width: 44px; } .brand-word { width: 96px; } .brand-play { width: 90px; } }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { padding: 7px 12px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }

/* hero */
.hero { background:
  radial-gradient(55% 90% at 88% 0%, color-mix(in srgb, var(--accent) 17%, transparent), transparent 70%),
  radial-gradient(40% 70% at 0% 100%, color-mix(in srgb, var(--spark) 16%, transparent), transparent 70%); }
.hero .wrap { display: flex; flex-direction: column; justify-content: center; min-height: 74vh; padding-block: 72px; }
.hero h1 { font-size: clamp(44px, 9.4vw, 124px); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.hero h1 em { font-style: normal; color: var(--accent); background: linear-gradient(var(--spark), var(--spark)) 0 94% / 100% .12em no-repeat; padding-bottom: .04em; }
.hero .lede { font-size: clamp(18px, 1.7vw, 23px); color: var(--muted); max-width: 62ch; margin-top: 28px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 1.5px solid var(--accent); }
.btn { transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn.solid { background: var(--accent); color: var(--accent-ink); box-shadow: 0 12px 26px -12px var(--accent); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }
.btn.line { color: var(--accent); }

/* company card (letterhead) */
.letterhead { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; position: relative; }
.letterhead::before { content: ""; position: absolute; top: -9px; right: 24px; width: 18px; height: 18px; background: var(--spark); border-radius: 4px; transform: rotate(45deg); }
.letterhead { box-shadow: 0 30px 60px -34px color-mix(in srgb, var(--accent) 55%, transparent); }
.letterhead::after { content: ""; position: absolute; bottom: -12px; left: 28px; width: 24px; height: 24px; border-radius: 50%; border: 5px solid var(--accent); background: var(--bg); }
.letterhead h2 { font-size: 13px; font-family: var(--body); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.facts { display: grid; gap: 14px; margin-top: 16px; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { font-weight: 600; user-select: all; }
.facts address { font-style: normal; }

/* sections */
.band { border-top: 1px solid var(--line); }
.band .wrap { padding-block: 64px; }
.band h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; letter-spacing: -.02em; margin-top: 10px; max-width: 22ch; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 36px; }
.two { gap: 24px; }
.two > div { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.ico svg { width: 28px; height: 28px; }
.two h3 { font-size: 24px; font-weight: 700; }
.two p { color: var(--muted); margin-top: 10px; max-width: 44ch; }
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin-top: 28px; }
.rules > div { padding-block: 22px; border-bottom: 1px solid var(--line); }
.rules h3 { font-size: 19px; font-weight: 700; display: flex; gap: 12px; align-items: baseline; }
.rules h3::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 2px; background: var(--spark); transform: rotate(45deg) translateY(-1px); }
.rules p { padding-left: 22px; }
.rules p { color: var(--muted); margin-top: 6px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 32px; }
.contact-grid h3 { font-family: var(--body); font-size: 13px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.contact-grid p, .contact-grid address { margin-top: 8px; font-style: normal; }
.sel { user-select: all; font-weight: 600; }
.closing { background: var(--accent); color: var(--accent-ink); border-top: 0; }
.closing .eyebrow, .closing .contact-grid h3 { color: var(--accent-ink); opacity: .78; }
.closing a { color: var(--accent-ink); }

/* footer */
footer { border-top: 1px solid var(--line); background: var(--surface); font-size: 14.5px; }
footer .wrap { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-block: 32px; }
footer address { font-style: normal; color: var(--muted); }
footer strong { color: var(--ink); }
.flinks { display: flex; gap: 6px 20px; flex-wrap: wrap; align-content: start; max-width: 360px; }
.flinks a { color: var(--ink); text-decoration: none; font-weight: 600; }
.flinks a:hover { color: var(--accent); }
.fside { display: flex; flex-direction: column; gap: 20px; align-items: flex-end; }
.flogo { display: block; width: 132px; height: auto; padding: 12px; border-radius: 20px; background: #FFFFFF; }
@media (max-width: 820px) { .fside { align-items: flex-start; } }

/* document pages */
.doc .wrap { padding-block: 56px 72px; }
.doc h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; letter-spacing: -.025em; margin-top: 10px; }
.meta { display: flex; gap: 8px 28px; flex-wrap: wrap; margin-top: 18px; color: var(--muted); font-size: 15px; }
.meta b { color: var(--ink); font-weight: 600; }
.glance { background: var(--accent-soft); border-radius: 14px; padding: 24px; margin-top: 32px; }
.glance h2 { font-size: 20px; font-weight: 700; }
.glance ul { margin-top: 12px; padding-left: 20px; display: grid; gap: 6px; max-width: 70ch; }
.cols { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; margin-top: 44px; }
.toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); align-self: start; font-size: 14.5px; }
.toc ol { padding-left: 20px; display: grid; gap: 6px; margin-top: 10px; color: var(--muted); }
.toc b { font-size: 13px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.text { display: grid; gap: 34px; min-width: 0; max-width: 68ch; }
.text h2 { font-size: 23px; font-weight: 700; }
.text.plain { margin-top: 40px; }
.text h3 { font-family: var(--body); font-size: 17px; font-weight: 700; margin-top: 20px; line-height: 1.4; }
.text p, .text ul, .text ol { margin-top: 10px; }
.text ul, .text ol { padding-left: 20px; display: grid; gap: 4px; }
.tbl { overflow-x: auto; margin-top: 12px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 460px; }
th, td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; }
.steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 14px; display: grid; place-items: center; }

@media (max-width: 820px) {
  .hero .wrap { min-height: 62vh; padding-block: 48px; }
  .two, .rules, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .two { gap: 28px; } .contact-grid { gap: 24px; }
  .cols { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .toc { position: static; }
  .band .wrap { padding-block: 48px; }
}
.doc .back { display: inline-block; margin-bottom: 18px; font-weight: 600; text-decoration: none; }
.notfound .wrap { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding-block: 72px; }
.notfound h1 { font-size: clamp(40px, 7vw, 84px); font-weight: 800; letter-spacing: -.03em; }
