:root {
  --background: #f9fbff;
  --foreground: #111827;
  --card: #ffffff;
  --card-foreground: #111827;
  --primary: #1d4ed8;
  --primary-dark: #1e40af;
  --muted: #eff6ff;
  --border: #e5e7eb;
  --shadow-soft: 0 10px 15px rgba(15, 23, 42, 0.1);
  --radius-lg: 0.75rem;
  --radius-xl: 9999px;
  --transition-fast: 150ms ease-in-out;
  --transition-med: 300ms ease;
  --max-width: 64rem;
  --page-padding-x: 1rem;
}

/* Reset-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--background);
  color: var(--foreground);
}

/* Layout */
.page {
  min-height: 100vh;
  background: linear-gradient(to bottom right, #eff6ff, #dbeafe);
}

/* Hero */
.hero {
  position: relative;
  height: 12rem; /* similar to h-48 */
  background: linear-gradient(to bottom right, #2563eb, #1e3a8a);
  overflow: hidden;
}

.hero-blur {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: var(--radius-xl);
  mix-blend-mode: multiply;
  filter: blur(60px);
  opacity: 0.35;
}

.hero-blur-left {
  top: -4rem;
  left: -4rem;
  background: #60a5fa;
}

.hero-blur-right {
  bottom: -4rem;
  right: -4rem;
  background: #3b82f6;
}

.hero-inner {
  position: relative;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-padding-x);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-inner h1 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 700;
  color: #ffffff;
}

/* Content */
.content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem var(--page-padding-x) 4rem;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Card */
.card {
  background: var(--card);
  color: var(--card-foreground);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: box-shadow var(--transition-med);
}

.card:hover {
  box-shadow: 0 20px 25px rgba(15, 23, 42, 0.15);
}

/* Card header (button) */
.card-header {
  width: 100%;
  border: none;
  background: transparent;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast);
}

.card-header:hover {
  background: #eff6ff;
}

.card-title-wrap {
  flex: 1;
}

.card-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
}

/* Chevron */
.chevron {
  margin-left: 1rem;
  display: inline-block;
  transition: transform 300ms ease;
}

/* When expanded */
.card-header.expanded .chevron {
  transform: rotate(180deg);
}

/* Card body */
.card-body {
  border-top: 1px solid var(--border);
  padding: 1rem 2rem 2rem;
  color: #4b5563;
  line-height: 1.6;
}

/* Collapsing behavior */
.scandal-content {
  display: none;
}

.scandal-content.open {
  display: block;
}

/* Small screens tweaks */
@media (max-width: 640px) {
  .card-header {
    padding: 1.5rem;
  }

  .card-body {
    padding: 1rem 1.5rem 1.5rem;
  }

  .hero {
    height: 11rem;
  }
}
