/* MyDancingBook — the HOLDING site's stylesheet (web 0.18.7). The round-3 look (docs/design/website/round-3/, his
   answers 2026-11-02) cut down: Midnight only (his rule: the website has only the Midnight theme), the serif display
   face, the wide footer with the approved line and no wordmark, no price, no tabs. A sparse page leads with the large
   CENTRED medallion and carries the text logo top left (his balance rule); the other pages carry the medallion top
   left (desktop) and the text logo on the phone. No script, no inline style (the site's CSP: style-src 'self'). */

@font-face { font-family: "MDB Serif"; src: local("Noto Serif Bold"), local("NotoSerif-Bold"); font-weight: 700; font-style: normal; }
@font-face { font-family: "MDB Serif"; src: local("Noto Serif Bold Italic"), local("NotoSerif-BoldItalic"); font-weight: 700; font-style: italic; }

:root {
  --font: system-ui, -apple-system, "Segoe UI", "Noto Sans", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "MDB Serif", Georgia, "Times New Roman", serif;
  --bg: #1e1e2e;
  --surface: #252538;
  --surface-2: #2a2a3e;
  --line: rgba(255, 255, 255, 0.08);
  --text: #e0e0e0;
  --muted: #a0a0a0;
  --strong: #ffffff;
  --accent: #7c3aed;
  --accent-text: #a78bfa;
  --gutter: 32px;
  --hdr: 112px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
h1, h2, h3 { color: var(--strong); margin: 0; font-family: var(--font-display); font-weight: 700; text-wrap: balance; }
p, li { text-wrap: pretty; }
em { font-style: italic; color: var(--accent-text); }
.muted { color: var(--muted); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 16px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---- header: one row, the brand at the left edge ---- */
.site-header { position: relative; z-index: 2; }
.site-header .bar { display: flex; align-items: center; height: var(--hdr); padding: 0 32px; }
.brand { display: block; }
.brand:hover { text-decoration: none; }
.brand-medal img { width: 88px; height: 88px; }
.brand-text img { width: auto; height: 44px; }
.home .brand-medal, .page .brand-text { display: none; }

/* ---- the holding home page: the large centred medallion, the name, one line, one paragraph ---- */
.holding { position: relative; isolation: isolate; overflow: hidden; margin-top: calc(-1 * var(--hdr));
  padding: calc(var(--hdr) + 24px) var(--gutter) 72px; text-align: center;
  background:
    radial-gradient(38% 46% at 50% 30%, rgba(124, 58, 237, 0.26), transparent 72%),
    radial-gradient(30% 50% at 0% 40%, rgba(99, 210, 230, 0.07), transparent 72%),
    radial-gradient(30% 50% at 100% 40%, rgba(124, 58, 237, 0.12), transparent 72%); }
.holding-inner { max-width: 760px; margin: 0 auto; }
.hero-medal { width: 280px; height: 280px; margin: 0 auto 36px; }
.holding h1 { font-size: 72px; line-height: 1.04; letter-spacing: -0.02em; }
.tagline { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1.25; color: var(--strong);
  letter-spacing: -0.01em; margin: 18px auto 0; max-width: 34ch; text-wrap: balance; }
.holding .lead { font-size: 19px; line-height: 1.65; color: var(--muted); max-width: 40em; margin: 28px auto 0; }
.platforms { margin-top: 44px; }
.platforms-label { font-size: 13px; font-weight: 650; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 14px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li { padding: 7px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--text); font-size: 15px; font-weight: 600; }

/* ---- the other pages (privacy, terms, 404): a readable column ---- */
.page { background: radial-gradient(40% 520px at 0% 0%, rgba(124, 58, 237, 0.16), transparent 72%),
  radial-gradient(34% 420px at 100% 0%, rgba(99, 210, 230, 0.06), transparent 72%), var(--bg); background-repeat: no-repeat; }
.page main { width: 100%; max-width: 820px; margin: 0 auto; padding: 24px var(--gutter) 96px; }
.page main h1 { font-size: 52px; line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 14px; }
.page main h2 { font-size: 26px; line-height: 1.2; margin: 48px 0 14px; }
.page main .lead { font-size: 19px; color: var(--muted); }
.page main strong { color: var(--strong); font-weight: 650; }
.page main ul { padding-left: 22px; margin: 0 0 1.2em; }
.page main li { margin-bottom: 6px; }
.page main section { margin: 0; }
.page main .hole { color: var(--muted); font-style: italic; }
/* a list of ONE link (the 404 page once the hidden pages' links are gone) reads as a button, not a lone bullet */
.page main li:only-child:has(> a:only-child) { list-style: none; margin-left: -22px; }
.page main li:only-child > a:only-child { display: inline-flex; align-items: center; height: 48px; padding: 0 26px; margin-top: 12px;
  border-radius: 999px; background: var(--accent); color: #fff; font-weight: 650; font-size: 15px; }
.page main li:only-child > a:only-child:hover { background: #8b5cf6; text-decoration: none; }
.page main dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; margin: 28px 0 32px; }
.page main dt { color: var(--muted); font-weight: 600; }
.page main dd { margin: 0; color: var(--text); }
table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); }
th { color: var(--strong); font-weight: 650; }
.table-scroll { overflow-x: auto; }

/* ---- footer: the approved line, no wordmark ---- */
.site-footer { position: relative; isolation: isolate; overflow: hidden; padding: 72px 0 64px; font-size: 15px;
  background: radial-gradient(40% 46% at 10% 34%, rgba(124, 58, 237, 0.22), transparent 70%),
    radial-gradient(34% 40% at 94% 34%, rgba(99, 210, 230, 0.08), transparent 72%),
    linear-gradient(var(--bg), #16162a 260px, #141426); }
.foot-wide { max-width: 1680px; margin: 0 auto; padding: 0 48px; }
.foot-line { font-family: var(--font-display); font-weight: 700; color: var(--strong); font-size: 56px; line-height: 1.06;
  letter-spacing: -0.02em; margin: 0; max-width: 24ch; text-wrap: balance; }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.07); color: var(--muted); }
.foot-company { margin: 0; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.footer-links a { color: var(--text); font-weight: 600; }
.footer-links a:hover { color: var(--accent-text); }

/* ---- phone widths ---- */
@media (max-width: 900px) {
  :root { --gutter: 20px; --hdr: 68px; }
  body { font-size: 16px; }
  .site-header .bar { padding: 0 20px; }
  .page .brand-medal { display: none; }
  .page .brand-text { display: block; }
  .brand-text img { height: 34px; }
  .holding { padding-bottom: 48px; }
  .hero-medal { width: 200px; height: 200px; margin-bottom: 28px; }
  .holding h1 { font-size: 40px; }
  .tagline { font-size: 23px; }
  .holding .lead { font-size: 17px; margin-top: 22px; }
  .platforms { margin-top: 36px; }
  .chips li { font-size: 14px; padding: 6px 15px; }
  .page main { padding-top: 16px; padding-bottom: 72px; }
  .page main h1 { font-size: 38px; }
  .page main h2 { font-size: 23px; margin-top: 40px; }
  table { font-size: 14px; }
  .page main dl { grid-template-columns: 1fr; gap: 2px; }
  .page main dd { margin-bottom: 12px; }
  th, td { padding-right: 10px; }
  .site-footer { padding: 56px 0 48px; }
  .foot-wide { padding: 0 20px; }
  .foot-line { font-size: 36px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; margin-top: 40px; }
  .footer-links { gap: 10px 22px; }
}
@media (max-width: 380px) { .holding h1 { font-size: 38px; } }
