@font-face { font-family: Lilita; src: url(fonts/Lilita.woff2) format("woff2"); font-display: swap }
@font-face { font-family: Jakarta; src: url(fonts/Jakarta.woff2) format("woff2"); font-weight: 200 800; font-display: swap }
/* The colours of the Ludo match in the app (packages/design-tokens). */
:root {
  --night: #22095f; --edge: #4d17a8; --mid: #6a20cf; --core: #8a34ec; --purple: #6d2ff0; --deep: #5a1fd6;
  --blue: #0a69f2; --yellow: #ffc20a; --green: #0bb42e; --red: #ee1620;
  --ink: #120a33; --soft: #4b4370; --base: #f5f0fe; --line: #e0d3fb; --cell: #2a2350;
  --side: max(clamp(20px, 5vw, 64px), calc(50% - 610px));
}
* { box-sizing: border-box }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
body { margin: 0; font: 500 17px/1.65 Jakarta, system-ui, sans-serif; color: var(--ink); background: var(--base) }
img { max-width: 100%; height: auto; display: block }
a { color: var(--deep); text-underline-offset: 3px }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px }
h1, h2, h3, p, dl, dd, figure { margin: 0 }
h1, h2 { font: 400 1em/1.04 Lilita, Jakarta, sans-serif; text-wrap: balance }
h3 { font-weight: 800; letter-spacing: -.015em; line-height: 1.25 }
.skip { position: absolute; left: -999px } .skip:focus { left: 16px; top: 12px; z-index: 9; background: #fff; padding: 8px 14px }
.todo { color: var(--soft) } .lead .todo { color: inherit }

.top { position: absolute; inset: 0 0 auto; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px var(--side); color: #fff }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: inherit; text-decoration: none }
.brand img { border-radius: 10px }

/* ── Coming soon ── */
.soon { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 48px 24px 96px; text-align: center; color: #fff; background: radial-gradient(60% 60% at 50% 44%, var(--core), var(--mid) 46%, transparent), linear-gradient(var(--edge), #3a1192) }
.soon .board { width: min(420px, 78vw); margin: 12px 0 } .soon h1 { font-size: clamp(54px, 9vw, 104px) } .soon p { font-size: 19px; color: #eadfff; max-width: 24em }

/* ── Documents ── */
.lead { position: relative; color: #fff; background: radial-gradient(50% 130% at 82% 20%, var(--core), transparent), var(--edge); padding: 132px var(--side) 68px }
.lead h1 { font-size: clamp(40px, 5.4vw, 68px) } .lead p { font-size: 19px; color: #eadfff; max-width: 38em; margin-top: 16px } .lead a { color: #fff; font-weight: 700 } .lead .date { font-size: 15px }
.lead::after { content: ""; position: absolute; inset: auto 0 0; height: 12px; background: linear-gradient(90deg, var(--red) 25%, var(--blue) 0 50%, var(--yellow) 0 75%, var(--green) 0) }
.sheet { display: grid; grid-template-columns: 232px minmax(0, 70ch); gap: 72px; padding: 76px var(--side) 104px } .sheet.one { grid-template-columns: minmax(0, 70ch) }
.toc { position: sticky; top: 28px; align-self: start; max-height: calc(100vh - 56px); overflow: auto; font-size: 15px; line-height: 1.4 } .sheet .toc ol { list-style: none; margin: 0; padding: 0 } .sheet .toc li { margin: 0 }
.toc a { display: block; padding: 7px 0 7px 26px; color: var(--soft); font-weight: 600; text-decoration: none; background: linear-gradient(#c9b4ff, #c9b4ff) 0 11px / 12px 12px no-repeat } .toc a:hover { color: var(--deep); background-image: linear-gradient(var(--red), var(--red)) }
.sheet h2 { font-family: Jakarta, sans-serif; font-weight: 800; letter-spacing: -.02em; font-size: 26px; line-height: 1.2; margin: 48px 0 12px; scroll-margin-top: 24px } .sheet article > :first-child { margin-top: 0 }
.sheet h3 { font-size: 18px; margin: 28px 0 6px } .sheet p, .sheet li { margin: 0 0 12px } .sheet ul, .sheet ol { padding-left: 22px; margin: 0 0 16px }
.sheet article { overflow-wrap: break-word } .sheet article li::marker { font-weight: 800; color: var(--purple) }
table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.55; margin: 8px 0 20px } th, td { text-align: left; vertical-align: top; padding: 14px 18px 14px 0; border-top: 1.5px solid var(--line) } th { font-weight: 800; width: 34% }
.now { background: #fff; border: 2px solid var(--red); border-radius: 24px; padding: 24px 28px; margin: 0 0 36px } .now > :last-child { margin-bottom: 0 }

footer { padding: 28px var(--side); font-size: 14px; background: var(--night); color: #d6c8f7 } body { position: relative } .home footer { position: absolute; inset: auto 0 0; text-align: center; background: none }

@media (max-width: 860px) {
  .sheet { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 52px } .toc { position: static; max-height: none } .lead { padding-top: 112px }
  th, td { display: block; width: auto; padding-right: 0 } th { padding-bottom: 0 } td { border: 0; padding-top: 2px }
}
