/* Pending page (owner, 28 Oct): the brand gradient, the white mark and a quiet loader; no text. Gradient and mark from
   the owner (29 Oct, stages/03-design/references/brand). The colour gradient underneath shows while the image loads.
   Only transform and opacity animate; reduced motion holds still. */
html, body { margin: 0; height: 100%; }
body {
  min-height: 100vh;
  min-height: 100dvh;
  background-color: #4f37ae;
  background-image: url("/assets/brand/bg.jpg"), linear-gradient(30deg, #5136b0 0%, #4a48bd 50%, #2b93d6 100%);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.pending { min-height: 100vh; min-height: 100dvh; display: grid; place-content: center; justify-items: center; gap: 2rem; }
.mark { width: clamp(72px, 20vw, 112px); height: auto; animation: rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
.loader { display: flex; gap: 0.625rem; }
.loader span {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  opacity: 0.35;
  transform: scale(0.8);
  animation: pulse 1.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
.loader span:nth-child(2) { animation-delay: 0.16s; }
.loader span:nth-child(3) { animation-delay: 0.32s; }
@keyframes pulse {
  0%, 80%, 100% { opacity: 0.35; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .mark { animation: none; }
  .loader span { animation: none; opacity: 0.8; transform: none; }
}

/* Welcome message under the loader (owner for the taskforce, 30 Oct 2026). System type for an Apple-like feel: a short
   bold title with tight tracking, one calm paragraph, a quieter thank-you line. White on the brand gradient; the text
   sits in the middle band, where contrast is highest. It rises in after the mark; reduced motion holds still. */
.welcome {
  max-width: 36rem;
  margin-top: 0.5rem;
  padding: 0 1.5rem;
  text-align: center;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}
.welcome h1 {
  margin: 0 0 0.875rem;
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.welcome p {
  margin: 0 auto;
  max-width: 32rem;
  font-size: clamp(1.0625rem, 2.6vw, 1.25rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: rgba(255, 255, 255, 0.92);
  text-wrap: balance;
}
.welcome .thanks {
  margin-top: 1.25rem;
  font-size: clamp(0.9375rem, 2.2vw, 1.0625rem);
  color: rgba(255, 255, 255, 0.8);
}
@media (prefers-reduced-motion: reduce) {
  .welcome { animation: none; }
}

/* Tabs for today (owner for the taskforce, 30 Oct 2026): Intro · Information Centre (the official press releases) ·
   Registration. A floating glass tab bar at the bottom (thumb reach on a phone, calm on a desktop), a small language
   switch at the top right, and a reading card for the press releases. No script: each tab is its own page. */
body { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif; color: #fff; }
.has-tabbar .pending { box-sizing: border-box; padding: 64px 0 112px; }
body.page { background: #4f37ae; }
body.page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: #4f37ae;
  background-image: url("/assets/brand/bg.jpg"), linear-gradient(30deg, #5136b0 0%, #4a48bd 50%, #2b93d6 100%);
  background-size: cover;
  background-position: center top;
}
.langs {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  right: 16px;
  z-index: 10;
  display: flex;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(44, 24, 118, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}
.langs a {
  min-width: 40px;
  padding: 7px 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
}
.langs a[aria-current] { background: #fff; color: #4f37ae; }
.tabbar {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 10;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(44, 24, 118, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 32px rgba(23, 12, 74, 0.35);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
}
.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 84px;
  padding: 8px 14px 7px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.tab:hover { background: rgba(255, 255, 255, 0.14); }
.tab[aria-current="page"] { background: #fff; color: #4f37ae; }
.tab:focus-visible, .langs a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (min-width: 640px) {
  .tab { flex-direction: row; gap: 8px; padding: 10px 18px; font-size: 15px; }
}
.welcome .when { font-weight: 600; color: #fff; margin-bottom: 0.75rem; }

/* Reading page (press releases). */
.reading { box-sizing: border-box; max-width: 760px; margin: 0 auto; padding: 84px 16px 128px; }
.reading-head { text-align: center; margin-bottom: 28px; }
.reading-head .mark-sm { width: 56px; height: auto; }
.reading-head h1 { margin: 14px 0 8px; font-size: clamp(1.75rem, 6vw, 2.5rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
.reading-head p { margin: 0 auto; max-width: 34rem; color: rgba(255, 255, 255, 0.88); font-size: clamp(1rem, 2.4vw, 1.125rem); line-height: 1.5; text-wrap: balance; }
.pr {
  margin-top: 20px;
  padding: 28px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.97);
  color: #1d1d1f;
  box-shadow: 0 18px 44px rgba(23, 12, 74, 0.25);
}
@media (min-width: 640px) { .pr { padding: 40px 48px; } }
.pr h2 { margin: 6px 0 18px; font-size: clamp(1.375rem, 4vw, 1.75rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; text-wrap: balance; }
.pr h3 { margin: 26px 0 8px; font-size: 1.125rem; font-weight: 650; letter-spacing: -0.01em; }
.pr p { margin: 0 0 14px; font-size: 1.0625rem; line-height: 1.62; text-wrap: pretty; }
.pr a { color: #4f37ae; }
.pr-meta { display: flex; align-items: center; gap: 10px; margin: 0 !important; color: #6e6e73; font-size: 0.9375rem !important; }
.pr-kicker { margin: 10px 0 0 !important; color: #4f37ae; font-size: 0.8125rem !important; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.chip { padding: 3px 10px; border-radius: 999px; background: #efeaff; color: #4f37ae; font-size: 0.8125rem; font-weight: 600; }
@media (prefers-color-scheme: dark) {
  .pr { background: rgba(28, 28, 30, 0.96); color: #f5f5f7; }
  .pr-meta { color: #a1a1a6; }
  .pr a, .pr-kicker { color: #c9b8ff; }
  .chip { background: rgba(201, 184, 255, 0.16); color: #d9ccff; }
}
@media (prefers-reduced-motion: reduce) { .tab { transition: none; } }

/* The introduction on the Intro tab (taskforce concept, 30 Oct): sections and lists inside the reading card. */
.intro h2 { margin: 34px 0 12px; font-size: clamp(1.25rem, 3.6vw, 1.5rem); }
.intro h3 { margin: 22px 0 8px; }
.intro ul, .intro ol { margin: 0 0 16px; padding-left: 1.4em; }
.intro li { margin: 0 0 8px; font-size: 1.0625rem; line-height: 1.6; text-wrap: pretty; }
.intro li::marker { color: #4f37ae; font-weight: 600; }
@media (prefers-color-scheme: dark) { .intro li::marker { color: #c9b8ff; } }
