/* Shared by the static public pages (untuk-penyelenggara.html, 404.html). Same-origin file because the CSP forbids inline <style>.
   Brand colours come from docs/brand/README.md; system fonts keep these pages free of font downloads. */
:root {
  --ink: #2e1065;
  --bg: #faf8ff;
  --card: #ffffff;
  --text: #1f1537;
  --muted: #5b5073;
  --line: #e4def2;
  --accent: #be185d;
  --cta-bg: #4c1d95;
  --cta-text: #ffffff;
  --hero-from: #0f766e;
  --hero-mid: #4c1d95;
  --hero-to: #be185d;
  --dot: #fde047;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f3eeff;
    --bg: #150d28;
    --card: #1f1538;
    --text: #efeaff;
    --muted: #b9acd6;
    --line: #35294f;
    --accent: #f472b6;
    --cta-bg: #fde047;
    --cta-text: #2e1065;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }
header.top { padding: 14px 0; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { font-weight: 800; letter-spacing: 0.08em; color: var(--ink); text-decoration: none; font-size: 20px; }
.hero {
  background: linear-gradient(135deg, var(--hero-from), var(--hero-mid) 55%, var(--hero-to));
  color: #fff;
  padding: 40px 0 44px;
}
.hero h1 { margin: 0 0 12px; font-size: clamp(28px, 7vw, 40px); line-height: 1.15; }
.hero p { margin: 0 0 22px; font-size: 18px; max-width: 34em; }
.btn {
  display: inline-block;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--cta-bg);
  color: var(--cta-text);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
}
.hero .btn { background: var(--dot); color: #2e1065; }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--dot); outline-offset: 2px; }
main section { padding: 28px 0 4px; }
h2 { margin: 0 0 10px; font-size: 22px; line-height: 1.25; color: var(--ink); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.card p { margin: 0; color: var(--muted); }
ul.plain { margin: 0; padding-left: 20px; color: var(--muted); }
ol.steps { margin: 0; padding-left: 22px; }
ol.steps li { margin-bottom: 6px; }
.note { border-left: 4px solid var(--accent); padding: 4px 0 4px 14px; color: var(--muted); margin: 0; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-bottom: 8px; }
summary { cursor: pointer; font-weight: 600; min-height: 24px; }
details p { margin: 8px 0 0; color: var(--muted); }
.closing { text-align: center; padding: 36px 0 44px; }
.closing h2 { font-size: 26px; }
footer { border-top: 1px solid var(--line); padding: 18px 0 28px; color: var(--muted); font-size: 14px; }
footer a { margin-right: 14px; }
.center { text-align: center; padding: 72px 16px; }
.center h1 { font-size: 34px; margin: 0 0 8px; color: var(--ink); }
.center p { color: var(--muted); margin: 0 0 20px; }
