/* Bloxkeep's website: solid colours as in the app (its Dark theme, and a light one for light systems), the app's yellow
   on the one main action (Download), as on the app's Play. The landing page is black whatever the system's colours, its
   clips and pictures being of the app's dark look. The app's own font, Be Vietnam Pro (OFL, fonts/OFL.txt), cut down to
   Latin and Vietnamese. */
@font-face { font-family: "Be Vietnam Pro"; font-weight: 400; font-display: swap; src: url(fonts/BeVietnamPro-Regular.woff) format("woff"); }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 500; font-display: swap; src: url(fonts/BeVietnamPro-Medium.woff) format("woff"); }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 600; font-display: swap; src: url(fonts/BeVietnamPro-SemiBold.woff) format("woff"); }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 700 800; font-display: swap; src: url(fonts/BeVietnamPro-Bold.woff) format("woff"); }
:root {
  --bg: #f6f7f9;
  --band: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef0f4;
  --line: #dfe3ea;
  --text: #14171f;
  --muted: #4b5263;
  --link: #1d6fd6;
  --accent: #f5c933;
  --accent-hover: #e8b91c;
  --accent-ink: #1a1504;
  --note: #1d6fd6;
  --tip: #16a34a;
  --important: #7c3aed;
  --warning: #b45309;
  --caution: #dc2626;
  --shadow: 0 1px 2px rgba(20, 23, 31, .06), 0 8px 24px rgba(20, 23, 31, .08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0c11;
    --band: #10131a;
    --surface: #141924;
    --surface-2: #1a2030;
    --line: #252c3b;
    --text: #eef0f5;
    --muted: #b0b6c3;
    --link: #6cb0ff;
    --accent: #f5c933;
    --accent-hover: #ffd84d;
    --accent-ink: #1a1504;
    --note: #6cb0ff;
    --tip: #34d399;
    --important: #b794f6;
    --warning: #f59e0b;
    --caution: #f87171;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; font-weight: 700; }
h2 { font-size: 2rem; margin: 0 0 .75rem; letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
code { font: .88em ui-monospace, "Cascadia Mono", Consolas, monospace; background: var(--surface-2); padding: .1em .35em; border-radius: 4px; }
kbd { font: .85em ui-monospace, Consolas, monospace; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; padding: 0 .35em; background: var(--surface); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 820px; }

/* Header and footer */
.top { position: sticky; top: 0; z-index: 10; background: var(--band); border-bottom: 1px solid var(--line); }
/* The bar spans the whole window: the name at the left edge, the links at the right, as an app's title bar sits */
.wrap.top-in { max-width: none; padding: 0 clamp(20px, 2.5vw, 36px); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { flex: none; display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.15rem; }
.brand:hover { text-decoration: none; }
.top nav { display: flex; align-items: center; gap: 22px; }
.top nav a { color: var(--muted); font-weight: 500; font-size: .95rem; white-space: nowrap; }
.top nav a:hover { color: var(--text); text-decoration: none; }
.top nav .lang { color: var(--text); }
.top nav .btn, .top nav .btn:hover { color: var(--accent-ink); }
.top nav .nav-discord { display: inline-flex; align-items: center; gap: 7px; }
.foot { border-top: 1px solid var(--line); background: var(--band); color: var(--muted); font-size: .92rem; padding: 48px 0 28px; }
.foot p { margin: .4rem 0; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; margin-bottom: 32px; }
.foot-brand p { margin: 12px 0 18px; max-width: 36ch; }
.foot-head { font-weight: 700; color: var(--text); margin: 0 0 10px !important; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.foot ul a { color: var(--muted); }
.foot ul a:hover { color: var(--text); }
.foot-legal { font-size: .85rem; }
.foot-legal:first-of-type { border-top: 1px solid var(--line); padding-top: 20px; }

/* Discord's own blurple, only on the way into Bloxkeep's server */
.btn.discord-btn { gap: 8px; background: #5865f2; border-color: #5865f2; color: #fff; }
.btn.discord-btn:hover { background: #4752c4; border-color: #4752c4; }

::selection { background: #1d6fd6; color: #fff; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; padding: .6rem 1.1rem; border-radius: 8px; font-weight: 600;
  background: var(--surface); color: var(--text); border: 1px solid var(--line);
}
.btn:hover { text-decoration: none; background: var(--surface-2); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.big { padding: .85rem 1.5rem; font-size: 1.05rem; }
.btn.small { padding: .35rem .85rem; font-size: .9rem; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.75rem 0 .75rem; }
.meta, .small { color: var(--muted); font-size: .92rem; }
.meta a { font-weight: 600; }

/* Landing page: black, one big headline, the app's own clips. */
body.home {
  --bg: #000; --band: #000; --surface: #0e0f12; --surface-2: #17181c; --line: #23252b; --text: #f4f5f7; --muted: #a3a7b1;
  --link: #f5c933; --accent: #f5c933; --accent-hover: #ffd84d; --accent-ink: #1a1504;
  --shadow: none;
  color-scheme: dark;
}
body.home .top { background: rgba(0, 0, 0, .86); backdrop-filter: blur(12px); border-bottom-color: #16171a; }
body.home .foot { background: #000; border-top-color: #16171a; }
body.home ::selection { background: #f5c933; color: #1a1504; }
.band { padding: 96px 0; }
.intro { color: var(--muted); font-size: 1.1rem; max-width: 720px; margin: -.25rem 0 2.25rem; }
.more { font-weight: 600; }
h2 { letter-spacing: -.025em; }
body.home h2 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem); margin-bottom: 1rem; }
.btn.ghost { background: transparent; border-color: #34373f; color: var(--text); }
.btn.ghost:hover { background: #121317; border-color: #4a4e58; }
.btn.primary.big { padding: .95rem 1.8rem; font-size: 1.08rem; border-radius: 12px; }
.btn.ghost.big { padding: .95rem 1.6rem; border-radius: 12px; }
.btn:active { transform: scale(.98); }

.hero { padding: 88px 0 40px; }
.hero-text { text-align: center; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-size: .92rem; font-weight: 500; background: var(--surface); }
.badge:hover { text-decoration: none; border-color: #3a3d45; }
.hero h1 { font-size: clamp(2.4rem, 1.2rem + 4.6vw, 5.2rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; margin: 26px auto 22px; max-width: 15ch; text-wrap: balance; }
.lead { font-size: 1.25rem; color: var(--muted); margin: 0 auto; max-width: 600px; text-wrap: pretty; }
.hero .cta { justify-content: center; margin-top: 2.25rem; }
/* The app at work, as big as the window lets it be (up to 1240 px), never taller than the window under the top bar. */
.stage { margin: 56px auto 0; width: min(100%, calc((100vh - 120px) * 1.6)); max-width: 1240px; }
.frame { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid #25272d; background: #0b0c0f; }
.wrap:has(> .stage) { max-width: 1280px; }

/* Real numbers in a row: big figures, small words under them. */
.stats { padding: 40px 0 8px; }
.stat-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
.stat-row li { text-align: center; padding: 6px 12px; }
.stat-row li + li { border-left: 1px solid var(--line); }
.stat-row b { display: block; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-row span { color: var(--muted); font-size: .98rem; }

.proof figure { margin: 0; }
.proof figcaption { color: var(--muted); font-size: .92rem; margin-top: 14px; }

/* The clips: two to a row, each a short loop of the app above its words. */
.clips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 32px; }
.clip h3 { font-size: 1.35rem; margin: 22px 0 8px; letter-spacing: -.01em; }
.clip p { margin: 0 0 10px; color: var(--muted); }
.clip-media { border-radius: 14px; overflow: hidden; border: 1px solid #25272d; background: #0b0c0f; aspect-ratio: 16 / 10; }
.clip-media video, .clip-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }

/* The rest of what it does: small tiles, each leading to its guide page. */
.tiles { list-style: none; margin: 8px 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tiles a { display: block; height: 100%; padding: 22px 22px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--text); }
.tiles a:hover { text-decoration: none; border-color: #3a3d45; background: #131418; }
.tiles h3 { margin: 0 0 6px; font-size: 1.08rem; }
.tiles p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }

/* The questions' tabs: pills, the chosen one filled. */
.pills { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin: .5rem 0 1rem; }
.pills button { font: inherit; font-weight: 600; font-size: .96rem; padding: 8px 20px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.pills button:hover { color: var(--text); }
.pills button[aria-selected="true"] { background: var(--text); color: #000; }
.faq[hidden] { display: none; }

/* Download, last: one big panel. */
.get { padding: 24px 0 112px; }
.get-in { max-width: 980px; margin: 0 auto; text-align: center; padding: 72px 48px; border-radius: 28px; background: #0e0f12; border: 1px solid var(--line); }
.get-in img { display: block; margin: 0 auto 18px; }
.get .cta { justify-content: center; }
.get .steps { max-width: 640px; margin: 2rem auto 1rem; }

/* Start in three steps: three cards, a real picture on top of each, the step's number on the picture's edge. */
.steps3 { list-style: none; padding: 0; margin: 2rem 0 1.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps3 li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.steps3 img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.steps3 li > div { position: relative; padding: 30px 22px 22px; }
.steps3-n { position: absolute; top: -20px; left: 20px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 1.1rem; border: 3px solid var(--surface); }
.steps3 h3 { margin: 0 0 6px; font-size: 1.2rem; }
.steps3 p { margin: 0; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 1.5rem 0 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }

.steps { list-style: none; padding: 0; margin: 1.25rem 0 0; text-align: left; display: grid; gap: 10px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px 12px 44px; position: relative; color: var(--muted); }
.steps li::before { content: "✓"; position: absolute; left: 16px; top: 12px; color: var(--accent); font-weight: 700; }

/* The newest version's highlights */
.news-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.news-head h2 { margin: 0; }
.news-date { margin: 0; color: var(--muted); }
.news-list { list-style: none; padding: 0; margin: 2rem 0 1.75rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; }
.news-list li { border-top: 2px solid var(--text); padding-top: 14px; }
.news-list h3 { margin: 0 0 .5rem; font-size: 1.12rem; }
.news-list p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Bloxkeep's Discord server: Discord's blurple, and its channels as Discord lists them */
.community { background: #5865f2; color: #fff; border-radius: 24px; padding: 64px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.discord-mark { display: block; margin-bottom: 20px; }
.community h2 { font-size: 2.5rem; margin-bottom: 1rem; letter-spacing: -.02em; }
.community-lead { font-size: 1.2rem; margin: 0 0 1.75rem; max-width: 34ch; }
.community-note { font-size: .92rem; margin: 1rem 0 0; max-width: 46ch; }
.btn.on-blurple { background: #fff; border-color: #fff; color: #4752c4; }
.btn.on-blurple:hover { background: #eceeff; border-color: #eceeff; }
.server { background: #2b2d31; color: #949ba4; border-radius: 12px; padding: 14px 8px 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, .2), 0 18px 40px rgba(0, 0, 0, .28); font-size: .95rem; }
.server-name { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; padding: 0 12px 14px; border-bottom: 1px solid #1e1f22; color: #f2f3f5; font-weight: 700; }
.server-group { margin: 14px 12px 4px; font-size: .8rem; font-weight: 700; color: #949ba4; }
.server ul { list-style: none; margin: 0; padding: 0; }
.server li { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 6px; padding: 5px 12px; border-radius: 6px; line-height: 1.4; }
.server li:hover { background: #35373c; }
.server li b { color: #dbdee1; font-weight: 600; }
.server li span:last-child { grid-column: 2; font-size: .86rem; }
.server .hash { color: #80848e; font-size: 1.2rem; line-height: 1.1; grid-row: span 2; }
.server-cmd { display: grid; gap: 2px; margin: 14px 4px 4px; padding: 12px 14px; background: #383a40; border-radius: 8px; color: #dbdee1; }
.server-cmd .who { font-size: .8rem; font-weight: 700; color: #b5bac1; }
.server-cmd code { background: none; padding: 0; color: #c9cdfb; font-weight: 600; font-size: .95rem; }

.faq { margin: 1.5rem 0 2rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.5rem; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* Guide pages: the topics beside the page, this topic's sections under it */
.guide-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 32px; padding-bottom: 72px; }
.side { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; font-size: .93rem; padding-right: 4px; }
.side-title { font-weight: 700; margin: 0 0 10px; }
.side-title a { color: var(--text); }
.side ul { list-style: none; margin: 0; padding: 0; }
.side li a { display: block; padding: 5px 10px; border-radius: 6px; color: var(--muted); }
.side li a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.side li a[aria-current] { background: var(--surface-2); color: var(--text); font-weight: 600; box-shadow: inset 3px 0 0 var(--accent); }
.side .parts { margin: 2px 0 8px 12px; border-left: 1px solid var(--line); }
.side .parts a { padding: 3px 10px; font-size: .88rem; }

.doc { max-width: 860px; min-width: 0; }
.wrap.doc { padding-top: 32px; padding-bottom: 72px; }
.doc h1 { font-size: 2.4rem; margin: .4rem 0 1rem; letter-spacing: -.015em; }
.doc h2 { font-size: 1.6rem; margin: 3rem 0 1rem; padding-bottom: .4rem; border-bottom: 1px solid var(--line); }
.doc h3 { margin: 2rem 0 .6rem; }
.doc img { display: block; margin: 1.25rem 0; border-radius: 10px; border: 1px solid var(--line); }
.doc li { margin: .3rem 0; }
.doc details { margin: 1rem 0; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px; }
.doc summary { cursor: pointer; font-weight: 600; }
.crumbs { color: var(--muted); font-size: .9rem; margin: 0; }
.guide .crumbs { display: none; }
.table-wrap { overflow-x: auto; margin: 1.25rem 0; border: 1px solid var(--line); border-radius: 10px; }
table { border-collapse: collapse; min-width: 100%; font-size: .95rem; }
th, td { border-bottom: 1px solid var(--line); padding: .65rem .85rem; text-align: left; vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { background: var(--surface-2); font-size: .85rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
td { background: var(--surface); }
td:first-child { font-weight: 600; }
td + td { color: var(--muted); }
td + td strong { color: var(--text); }

/* The guide's front page: its table of topics as a grid of cards */
.guide-index .table-wrap { overflow: visible; border: 0; }
.guide-index table, .guide-index tbody { display: block; border: 0; }
.guide-index thead { display: none; }
.guide-index tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.guide-index td { display: block; width: auto !important; border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-weight: 400; }
.guide-index td a { color: var(--text); font-weight: 600; }
.guide-index td img { margin: 0 0 10px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; border: 1px solid var(--line); }
.guide-index .doc { max-width: 1180px; }

/* GitHub's alerts (> [!TIP] …) */
.alert { border: 1px solid var(--line); border-left: 4px solid var(--note); background: var(--surface); border-radius: 0 10px 10px 0; padding: 12px 18px; margin: 1.25rem 0; }
.alert p { margin: .3rem 0; }
.alert-title { font-weight: 700; }
.alert-note { border-left-color: var(--note); } .alert-note .alert-title { color: var(--note); }
.alert-tip { border-left-color: var(--tip); } .alert-tip .alert-title { color: var(--tip); }
.alert-important { border-left-color: var(--important); } .alert-important .alert-title { color: var(--important); }
.alert-warning { border-left-color: var(--warning); } .alert-warning .alert-title { color: var(--warning); }
.alert-caution { border-left-color: var(--caution); } .alert-caution .alert-title { color: var(--caution); }

/* What's new: every version */
.news-page .intro { margin-bottom: 1.25rem; }
.versions { display: flex; flex-wrap: wrap; gap: 6px; }
.versions a { border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; font-size: .88rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.versions a:hover { color: var(--text); border-color: var(--muted); text-decoration: none; }
.release h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-variant-numeric: tabular-nums; }
.release h2 time { font-size: 1rem; font-weight: 400; color: var(--muted); }
.hls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; margin: 1.25rem 0 1.5rem; }
.hl { border-top: 2px solid var(--text); padding-top: 10px; }
.hl h3 { margin: 0 0 .3rem; font-size: 1.08rem; }
.hl p { margin: 0; color: var(--muted); font-size: .96rem; }
.release > h3 { font-size: 1rem; margin: 1.5rem 0 .3rem; }
.release li { color: var(--muted); }

@media (max-width: 960px) {
  .guide-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 16px; }
  /* On a narrow screen the topics are one row to swipe through, above the page. */
  .side { position: static; max-height: none; overflow-x: auto; margin: 0 -20px 16px; padding: 0 20px 10px; border-bottom: 1px solid var(--line); }
  .side-title, .side .parts { display: none; }
  .side > ul { display: flex; gap: 6px; width: max-content; }
  .side li a { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
  .side li a[aria-current] { box-shadow: none; border-color: var(--accent); }
  .guide .crumbs { display: block; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .band { padding: 56px 0; }
  .hero { padding: 48px 0 56px; }
  .lead { font-size: 1.12rem; }
  .stage { margin-top: 36px; }
  .clips { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .stat-row li + li { border-left: 0; }
  .get-in { padding: 48px 24px; }
  .news-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .community { padding: 40px 24px; grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .community h2 { font-size: 1.9rem; }
  .hls { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  h2 { font-size: 1.6rem; }
  .cards, .steps3 { grid-template-columns: minmax(0, 1fr); }
  .steps3 { gap: 20px; }
  .guide-index tr { grid-template-columns: minmax(0, 1fr); }
  .doc h1 { font-size: 1.8rem; }
  .top nav { gap: 14px; }
  .top nav .nav-github { display: none; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .side { margin: 0 -16px 16px; padding: 0 16px 10px; }
  .brand span { display: none; }
  .cta .btn { flex: 1 1 100%; }
}
@media (max-width: 640px) {
  .top nav .nav-news { display: none; }
  .news-list, .tiles { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .top nav { gap: 12px; }
  .top nav .nav-discord span { display: none; }
  .foot .brand span { display: inline; }
}
