:root {
  --ink: #1c1426;
  --muted: #5d5470;
  --bg: #ffffff;
  --soft: #faf5ff;
  --line: #e9ddf7;
  --accent: #7c3aed;
  --accent-2: #c026d3;
  --max: 1080px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Satire ribbon */
.ribbon {
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 16px;
  transition: color 0.3s ease;
}
.ribbon.is-fading { color: transparent; }

/* Header: centered menu, no logo */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 14px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 28px;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--accent); }

/* Hero */
.hero { background: var(--soft); padding: 56px 0; text-align: center; }
.badge {
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 999px;
  padding: 2px 12px;
  font-size: 13px;
  font-weight: 600;
}
.hero h1 { font-size: clamp(28px, 5vw, 46px); line-height: 1.15; margin: 16px auto; max-width: 820px; }
.lead { font-size: 19px; max-width: 720px; margin: 0 auto 12px; }
.disclaimer { color: var(--muted); font-size: 15px; }

.buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  background: var(--accent);
  color: #fff;
}
.btn.secondary { background: transparent; color: var(--accent); border: 1px solid var(--accent); }

/* Sections */
section { padding: 56px 0; }
.kicker { color: var(--accent-2); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700; margin: 0; }
section h2 { font-size: 32px; margin: 4px 0 8px; }
.section-desc { color: var(--muted); max-width: 680px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 28px; }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.card .meta { color: var(--accent); font-size: 13px; font-weight: 600; margin: 0; }
.card h3 { font-size: 20px; line-height: 1.3; margin: 6px 0 8px; }
.card p { margin: 0 0 8px; }
.card .time { color: var(--muted); font-size: 13px; }

.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.standards { list-style: none; padding: 0; }
.standards li { border-left: 3px solid var(--accent); padding-left: 14px; margin-bottom: 16px; }
.placeholder-art {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background: linear-gradient(135deg, #f3e8ff, #ede9fe);
  display: grid;
  place-items: center;
  text-align: center;
  color: #5b21b6;
  font-weight: 800;
  padding: 24px;
}

.cta { background: var(--soft); text-align: center; }
.cta p { max-width: 680px; margin: 0 auto; }

/* Topic pages */
.page { padding: 48px 0; }
.page h1 { font-size: 36px; margin-top: 0; }
.topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.topic h2 { font-size: 22px; margin: 0 0 10px; }
.topic img { border-radius: 10px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; text-align: center; color: var(--muted); font-size: 15px; }
.site-footer ul { list-style: none; padding: 0; margin: 10px 0 0; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 720px) {
  .about-grid { grid-template-columns: 1fr; }
  section { padding: 40px 0; }
}

/* News dropdown */
.site-nav .has-dropdown { position: relative; }
.dropdown-toggle {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.dropdown-toggle:hover,
.dropdown-toggle.is-active,
.dropdown-toggle[aria-expanded="true"] { color: var(--accent); }
.caret { display: inline-block; font-size: 0.8em; margin-left: 2px; transition: transform 0.2s ease; }
.dropdown-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }
.site-nav .dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  min-width: 170px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(28, 20, 38, 0.12);
  text-align: left;
}
.site-nav .dropdown.is-open { display: block; }
.site-nav .dropdown a { display: block; padding: 8px 18px; }
.site-nav .dropdown a:hover { background: var(--soft); }

/* Topic listing pages */
.page .cards { margin-top: 20px; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.subhead { font-size: 26px; margin: 48px 0 16px; }
.topic h3 { font-size: 22px; margin: 0 0 10px; }
.empty { color: var(--muted); font-style: italic; margin-top: 20px; }
