:root {
  color-scheme: light;
  --c-paper: #F5F2EA; --c-surface: #FFFFFF;
  --c-ink: #1C1D2B; --c-ink-2: #45444F;
  --c-line: #DAD3C4;
  --write-accent: #2D55B4; --write-accent-tint: #E2E9F8;
  --listen-accent: #006D77; --listen-accent-tint: #DCECEE;
  --c-focus: var(--write-accent);
  --font-text: "Segoe UI Variable Text", "Segoe UI", "Microsoft JhengHei UI", system-ui, sans-serif;
  --fs-lg: 16px;  --lh-lg: 24px;   --fs-xl: 20px;  --lh-xl: 26px;   --fs-2xl: 26px; --lh-2xl: 32px;
  --sp-2: 8px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px;
  --r-md: 8px;
  --focus-width: 2px; --focus-offset: 2px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--c-paper); color: var(--c-ink); font-family: var(--font-text); font-size: var(--fs-lg); line-height: var(--lh-lg); }
.pixel { image-rendering: pixelated; }
.hub { display: flex; flex-direction: column; gap: var(--sp-5); min-height: 100vh; min-height: 100dvh; padding: var(--sp-5) var(--sp-4); }
.hub__head { display: flex; flex-direction: column; align-items: center; gap: var(--sp-4); }
.hub__head img, .tile img { display: block; }
.hub__org { margin: 0; font-size: var(--fs-2xl); line-height: var(--lh-2xl); font-weight: 600; text-align: center; overflow-wrap: anywhere; }
.intro { display: flex; flex-direction: column; align-items: center; gap: var(--sp-4); text-align: center; }
.intro__heading { margin: 0; font-size: var(--fs-2xl); line-height: var(--lh-2xl); font-weight: 600; }
.intro__body { margin: 0; max-width: 60ch; color: var(--c-ink-2); font-size: var(--fs-xl); line-height: var(--lh-xl); }
.hub__tiles { display: grid; grid-template-columns: 1fr; gap: var(--sp-4); }
.tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-4); min-height: 200px; padding: var(--sp-6) var(--sp-5); background: var(--c-surface); color: inherit; text-align: center; text-decoration: none; border: 1px solid var(--c-line); border-top: 6px solid var(--c-ink-2); border-radius: var(--r-md); }
.tile--motes { border-top-color: var(--write-accent); }
.tile--listen { border-top-color: var(--listen-accent); }
a.tile { min-height: 280px; }
a.tile--motes:hover { background: var(--write-accent-tint); border-color: var(--write-accent); }
a.tile--listen:hover { background: var(--listen-accent-tint); border-color: var(--listen-accent); }
a.tile:focus-visible { outline: var(--focus-width) solid var(--c-focus); outline-offset: var(--focus-offset); }
a.tile--listen:focus-visible { outline-color: var(--listen-accent); }
.tile__mascot { width: 96px; height: 96px; }
.tile__name { width: auto; height: 28px; }
.tile__line { margin: 0; max-width: 32ch; color: var(--c-ink-2); font-size: var(--fs-xl); line-height: var(--lh-xl); }
.org-page .hub__tiles, .hub > nav.hub__tiles { flex: 1; }
.signin { display: flex; flex-direction: column; align-items: center; gap: var(--sp-4); text-align: center; }
.signin__note { margin: 0; color: var(--c-ink-2); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: var(--sp-2) var(--sp-6); background: var(--write-accent); color: var(--c-surface); font-weight: 600; text-decoration: none; border-radius: var(--r-md); }
.button:hover { background: var(--c-ink); }
.button:focus-visible { outline: var(--focus-width) solid var(--c-focus); outline-offset: var(--focus-offset); }
.bookmark { margin: 0; text-align: center; color: var(--c-ink-2); }
@media (min-width: 720px) {
  .hub { padding: var(--sp-6) var(--sp-7); gap: var(--sp-6); }
  .hub__tiles { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .tile__mascot { width: 128px; height: 128px; }
  .tile__name { height: 42px; }
}
