:root {
  --bg: #ffffff;
  --surface: #f8fafc;
  --surface-2: #f1f5f9;
  --text: #0b1220;
  --muted: #425268;
  --border: #e2e8f0;
  --primary: #1d4ed8;
  --primary-700: #1e40af;
  --ring: rgba(29, 78, 216, 0.34);
  --radius: 14px;
  --radius-sm: 12px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --shadow-sm: 0 8px 18px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 14px 34px rgba(15, 23, 42, 0.08);
  --logo-size: 44px;
  --container-max: 1160px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    "Apple Color Emoji",
    "Segoe UI Emoji";
  line-height: 1.5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.lead-strong {
  font-weight: 800;
}

a {
  color: var(--primary);
  text-decoration: none;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
  margin: 0 auto;
}

img {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 10px 12px;
  background: var(--text);
  color: white;
  border-radius: 10px;
  transform: translateY(-140%);
  transition: transform 160ms ease;
  z-index: 999;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
  .site-header {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  padding: 6px 10px;
  margin: -6px -10px;
  border-radius: 14px;
}

.brand:hover {
  text-decoration: none;
  background: rgba(248, 250, 252, 0.9);
}

.brand:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px var(--ring);
  border-radius: 12px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f172a, #334155);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.brand-logo {
  width: var(--logo-size);
  height: var(--logo-size);
  border-radius: 14px;
  border: 2px solid rgba(29, 78, 216, 0.22);
  background: linear-gradient(180deg, #ffffff, var(--surface));
  object-fit: cover;
  box-shadow:
    0 12px 26px rgba(15, 23, 42, 0.16),
    0 0 0 1px rgba(15, 23, 42, 0.06);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 10px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:hover {
  background: var(--surface);
}

.nav-toggle:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px var(--ring);
  border-color: var(--primary);
}

.nav-toggle-icon {
  width: 18px;
  height: 14px;
  display: grid;
  gap: 3px;
}

.nav-toggle-icon span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.9;
}

.top-nav {
  min-width: 0;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  -webkit-tap-highlight-color: transparent;
}

.nav-list a:hover {
  text-decoration: none;
  background: var(--surface);
  border-color: rgba(15, 23, 42, 0.08);
}

.nav-list a:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px var(--ring);
  border-color: var(--primary);
}

:where(section[id], article[id]) {
  scroll-margin-top: clamp(72px, 10vh, 92px);
}

.brand-title {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 13px;
}


.site-main {
  padding-bottom: 32px;
}

.hero {
  background: linear-gradient(180deg, var(--surface), var(--bg));
  border-bottom: 1px solid var(--border);
}

.hero.hero--image {
  --hero-img-pos: 70% 52%;
  --hero-img-fit: cover;
  --hero-overlay-opacity: 0.62;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, var(--surface), var(--bg));
  border-bottom-color: rgba(226, 232, 240, 0.5);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #f3f5f7;
}

.hero__img {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: var(--hero-img-fit);
  object-position: var(--hero-img-pos);
  max-inline-size: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: var(--hero-overlay-opacity);
  background-image:
    radial-gradient(120% 120% at 12% 10%, rgba(29, 78, 216, 0.12) 0%, rgba(2, 6, 23, 0) 56%),
    radial-gradient(140% 120% at 92% 22%, rgba(14, 165, 233, 0.08) 0%, rgba(2, 6, 23, 0) 52%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.34) 0%, rgba(2, 6, 23, 0.18) 34%, rgba(2, 6, 23, 0.07) 56%, rgba(2, 6, 23, 0) 78%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.08) 0%, rgba(2, 6, 23, 0.22) 100%);
}

.hero.hero--image .hero-kicker,
.hero.hero--image .h1,
.hero.hero--image .lead,
.hero.hero--image .lead-strong {
  color: #ffffff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.42),
    0 10px 28px rgba(0, 0, 0, 0.26);
}

.hero.hero--image .lead {
  opacity: 0.94;
}

.hero.hero--image .h1 {
  letter-spacing: -0.8px;
  font-weight: 780;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
  margin: 0 0 3px;
  opacity: 0.96;
}

.hero.hero--image .lead {
  max-width: 56ch;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.22;
}

.hero.hero--image .hero-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  margin-top: -6px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px) saturate(1.08);
  backdrop-filter: blur(8px) saturate(1.08);
  font-weight: 740;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: clamp(12px, 1.15vw, 14px);
  align-self: center;
  opacity: 0.9;
}

.js .hero.hero--image .hero-kicker,
.js .hero.hero--image .h1,
.js .hero.hero--image .lead {
  opacity: 0;
  filter: blur(8px);
}

.js .hero.hero--image .h1 {
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 980ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 60ms;
}

.js .hero.hero--image .lead {
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 980ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 120ms;
}

.js .hero.hero--image .hero-kicker {
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 980ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0ms;
}

.js.is-ready .hero.hero--image .hero-kicker,
.js.is-ready .hero.hero--image .h1,
.js.is-ready .hero.hero--image .lead {
  opacity: 1;
  filter: blur(0);
}

@media (min-width: 1024px) {
  .hero.hero--image {
    --hero-img-pos: center;
    --hero-img-fit: contain;
  }

  .hero.hero--image .hero-inner {
    min-height: clamp(220px, 34vh, 420px);
    justify-content: flex-end;
    align-items: center;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .hero.hero--image .hero-copy {
    padding: 10px 14px;
    position: static;
    left: auto;
    bottom: auto;
    margin: 0 auto;
    text-align: center;
  }

  .hero.hero--image .h1 {
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.02;
    margin: 0;
    letter-spacing: -0.4px;
  }

  .hero.hero--image .lead {
    font-size: 14px;
    margin-top: 6px;
  }
}

@media (max-width: 1024px) and (min-width: 641px) and (orientation: portrait) {
  .hero.hero--image {
    --hero-img-pos: 70% 44%;
    --hero-img-fit: cover;
    --hero-overlay-opacity: 0.6;
  }
}

@media (max-width: 1024px) and (min-width: 641px) and (orientation: landscape) {
  .hero.hero--image {
    --hero-img-pos: 68% 46%;
    --hero-img-fit: cover;
    --hero-overlay-opacity: 0.58;
  }
}

@media (max-height: 460px) and (orientation: landscape) {
  .hero.hero--image {
    --hero-img-pos: 66% 50%;
    --hero-img-fit: cover;
    --hero-overlay-opacity: 0.56;
  }

  .hero.hero--image .hero-inner {
    min-height: clamp(180px, 70vh, 300px);
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 32px 0;
}

.hero.hero--image .hero-inner {
  min-height: clamp(280px, 44vh, 560px);
  padding-top: clamp(6px, 2.2vh, 18px);
  padding-bottom: clamp(6px, 2.8vh, 20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 2;
  align-items: stretch;
}

.hero-copy {
  padding: 10px 0;
}

.hero.hero--image .hero-copy {
  width: min(52ch, 100%);
  padding: 4px 14px;
  border-radius: 18px;
  background-image:
    linear-gradient(90deg, rgba(29, 78, 216, 0.62) 0, rgba(29, 78, 216, 0.2) 3px, rgba(2, 6, 23, 0) 3px),
    linear-gradient(135deg, rgba(2, 6, 23, 0.56) 0%, rgba(2, 6, 23, 0.24) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  backdrop-filter: blur(10px) saturate(1.1);
  position: absolute;
  left: 0;
  bottom: 0;
}

@media (max-width: 640px) {
  .hero.hero--image {
    --hero-img-pos: 72% 40%;
    --hero-img-fit: cover;
    --hero-overlay-opacity: 0.56;
  }

  .hero.hero--image .hero-inner {
    min-height: clamp(200px, 38vh, 380px);
    padding-top: clamp(6px, 2.4vh, 16px);
    padding-bottom: clamp(6px, 2.4vh, 16px);
    align-items: center;
  }

  .hero.hero--image .hero-kicker {
    align-self: center;
    margin-top: -10px;
  }

  .hero.hero--image .hero-copy {
    position: static;
    width: 100%;
    max-width: 52ch;
    text-align: center;
    margin: 0 auto;
    padding: 4px 12px;
    background-image:
      linear-gradient(90deg, rgba(29, 78, 216, 0.34) 0, rgba(29, 78, 216, 0.12) 3px, rgba(2, 6, 23, 0) 3px),
      linear-gradient(135deg, rgba(2, 6, 23, 0.44) 0%, rgba(2, 6, 23, 0.18) 100%);
    box-shadow:
      0 14px 44px rgba(0, 0, 0, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }

  .hero.hero--image .h1 {
    margin-bottom: 2px;
  }
}

@media (max-width: 640px) and (orientation: portrait) {
  .hero.hero--image {
    --hero-img-pos: center;
  }

  .hero.hero--image .hero-inner {
    min-height: clamp(220px, 46vh, 420px);
    padding-top: max(6px, env(safe-area-inset-top));
    padding-bottom: 0;
  }

  .hero.hero--image .hero-copy {
    margin-top: auto;
    margin-bottom: 0;
    transform: translateY(6px);
  }

  .hero.hero--image .hero-kicker {
    margin-top: 0;
    padding: 6px 9px;
    letter-spacing: 0.1em;
    font-size: clamp(9px, 2.6vw, 10px);
  }

  .hero.hero--image .h1 {
    font-size: clamp(15px, 4.6vw, 19px);
    line-height: 0.98;
    font-weight: 720;
    letter-spacing: -0.2px;
    margin: 0;
  }

  .hero.hero--image .lead {
    font-size: 11px;
    margin-top: 2px;
  }
}

@media (max-width: 480px) {
  .hero.hero--image {
    --hero-img-pos: center;
    --hero-img-fit: contain;
    --hero-overlay-opacity: 0.52;
  }

  .hero.hero--image .hero-inner {
    min-height: clamp(220px, 48vh, 420px);
  }

  .hero.hero--image .hero-copy {
    padding: 4px 12px;
    background-image:
      linear-gradient(90deg, rgba(29, 78, 216, 0.32) 0, rgba(29, 78, 216, 0.1) 3px, rgba(2, 6, 23, 0) 3px),
      linear-gradient(135deg, rgba(2, 6, 23, 0.38) 0%, rgba(2, 6, 23, 0.14) 100%);
    box-shadow:
      0 12px 40px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(9px) saturate(1.08);
    backdrop-filter: blur(9px) saturate(1.08);
  }

  .hero.hero--image .lead {
    line-height: 1.18;
  }

  .btn.btn-doc {
    font-size: 13px;
    padding: 10px 10px;
  }
}

@media (max-width: 480px) and (orientation: portrait) {
  .hero.hero--image {
    --hero-img-pos: center;
    --hero-img-fit: contain;
    --hero-overlay-opacity: 0.5;
  }

  .hero.hero--image .hero-inner {
    min-height: clamp(240px, 50vh, 440px);
    padding-bottom: 0;
  }

  .hero.hero--image .hero-copy {
    margin-bottom: 0;
    transform: translateY(6px);
  }

  .hero.hero--image .h1 {
    font-size: clamp(14px, 5vw, 18px);
  }

  .hero.hero--image .lead {
    font-size: 11px;
  }
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-size: 13px;
}

.h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4.2vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.4px;
  text-wrap: balance;
}

.h2 {
  margin: 0;
  font-size: clamp(20px, 2.6vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.2px;
  text-wrap: balance;
}

.h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.2px;
  text-wrap: balance;
}

.lead {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}


.section {
  padding: 28px 0 0;
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.muted {
  margin: 0;
  color: var(--muted);
}

.legal-content {
  max-width: 78ch;
}

.js .legal-section {
  display: none;
}

.js .legal-section.is-open {
  display: block;
}

.legal-dl {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.legal-dl dt {
  font-weight: 800;
  color: var(--text);
}

.legal-dl dd {
  margin: 0;
  color: var(--text);
}

.legal-list {
  margin: 8px 0 0;
  padding: 0 0 0 18px;
  display: grid;
  gap: 6px;
  color: var(--text);
}

.notice {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 12px 12px;
  margin: 0 0 16px;
}

.notice--info {
  background: rgba(29, 78, 216, 0.04);
  border-color: rgba(29, 78, 216, 0.18);
}

.lists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.link-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 640px) {
  .link-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

.link-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: white;
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
  transition:
    transform 120ms ease,
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
  -webkit-tap-highlight-color: transparent;
}

.link-card:hover {
  text-decoration: none;
  transform: translateY(-1px);
  border-color: rgba(29, 78, 216, 0.24);
  background: linear-gradient(180deg, #ffffff, rgba(29, 78, 216, 0.03));
  box-shadow: var(--shadow-md);
}

.link-card:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.link-card:focus-visible {
  outline: 0;
  border-color: var(--primary);
  box-shadow:
    0 0 0 4px var(--ring),
    var(--shadow-md);
}

.link-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: linear-gradient(180deg, #ffffff, var(--surface));
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  color: var(--primary);
}

.link-card__icon svg {
  width: 22px;
  height: 22px;
}

.link-card__content {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.link-card__title {
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.2px;
  text-wrap: balance;
}

.link-card__desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.list-panel {
  display: none;
  gap: 10px;
  margin-top: 8px;
}

.list-panel.is-open {
  display: grid;
}

.summary-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: white;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.summary-head {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.list-symbol {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: white;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.list-symbol.logo--featured {
  width: 84px;
  height: 84px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: linear-gradient(180deg, #ffffff, var(--surface));
  box-shadow:
    0 14px 30px rgba(15, 23, 42, 0.14),
    0 0 0 1px rgba(15, 23, 42, 0.05);
}

.list-symbol-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.list-symbol.logo--featured .list-symbol-img {
  filter: contrast(1.08) saturate(1.04);
}

@media (max-width: 640px) {
  .list-symbol.logo--featured {
    width: 72px;
    height: 72px;
    padding: 9px;
  }
}

.list-title {
  display: grid;
  gap: 6px;
  min-width: 0;
  overflow-wrap: anywhere;
}



.political-label {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
}

.list-name {
  font-weight: 800;
  font-size: 16px;
  line-height: 1.25;
}

.slug-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: rgba(15, 23, 42, 0.82);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2px;
}

.summary-body {
  padding: 14px 16px 16px;
  display: grid;
  gap: 12px;
}

.summary-meta {
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.summary-meta a {
  font-weight: 700;
}

.card-actions {
  display: grid;
  gap: 10px;
}

.primary-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.primary-actions .btn {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: white;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.1;
  cursor: pointer;
  transition:
    transform 80ms ease,
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn:hover {
  background: var(--surface);
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px var(--ring);
  border-color: var(--primary);
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-700);
  border-color: var(--primary-700);
}

.btn-ghost {
  background: transparent;
}

.btn-outline {
  border-color: rgba(29, 78, 216, 0.3);
}

.btn-outline:hover {
  border-color: rgba(29, 78, 216, 0.5);
}

.btn-doc {
  background:
    radial-gradient(120% 150% at 12% 18%, rgba(29, 78, 216, 0.14) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.96) 100%);
  border-color: rgba(29, 78, 216, 0.26);
  box-shadow:
    0 10px 22px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  font-weight: 800;
  letter-spacing: 0.2px;
}

.btn-doc:hover {
  background:
    radial-gradient(120% 150% at 12% 18%, rgba(29, 78, 216, 0.18) 0%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 245, 249, 0.98) 100%);
  border-color: rgba(29, 78, 216, 0.42);
  box-shadow:
    0 12px 26px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.btn-disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-disabled:hover,
.btn[aria-disabled="true"]:hover {
  background: white;
  text-decoration: none;
}

.list-panel {
  padding-top: 6px;
}

.candidate-grid {
  list-style: decimal;
  padding: 0 0 0 20px;
  margin: 0;
  display: grid;
  gap: 10px;
}

.candidate-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  background: var(--bg);
  overflow-wrap: anywhere;
}

.candidate-item a {
  display: block;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
}

.candidate-item a:hover {
  color: var(--primary-700);
  text-decoration: underline;
}

.candidate-item a:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px var(--ring);
}

.candidate-name {
  font-weight: 800;
  margin: 0 0 10px;
}


.site-footer {
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(241, 245, 249, 0.96));
  margin-top: 28px;
}

.footer-inner {
  padding: 44px 0 22px;
  display: grid;
  gap: 22px;
}

.footer-top {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 12px;
  margin: -10px -12px;
  border-radius: 16px;
  color: var(--text);
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    0 14px 30px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.footer-brand-link:hover {
  text-decoration: none;
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow:
    0 18px 36px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.footer-brand-link:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px var(--ring);
  border-color: var(--primary);
}

.footer-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 2px solid rgba(29, 78, 216, 0.18);
  background: linear-gradient(180deg, #ffffff, var(--surface));
  object-fit: cover;
  flex: 0 0 auto;
  box-shadow:
    0 14px 30px rgba(15, 23, 42, 0.14),
    0 0 0 1px rgba(15, 23, 42, 0.06);
}

.footer-brand-text {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.footer-brand-title {
  font-weight: 850;
  letter-spacing: 0.2px;
  line-height: 1.2;
}

.footer-brand-subtitle {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
}

.footer-brand-note {
  margin: 0;
  font-size: 13px;
  max-width: 46ch;
}

.footer-block {
  display: grid;
  gap: 10px;
}

.footer-title {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-contact-list li {
  display: grid;
  gap: 4px;
  align-content: start;
  justify-items: start;
}

.footer-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-contact-list a {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 12px;
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.6);
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.footer-contact-list a:hover {
  text-decoration: none;
  transform: translateY(-1px);
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.92);
}

.footer-contact-list a:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px var(--ring);
  border-color: var(--primary);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social-block {
  display: grid;
  gap: 8px;
  align-content: start;
}

.social-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.6);
  color: var(--text);
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link:hover {
  text-decoration: none;
  transform: translateY(-1px);
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.92);
}

.social-link:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px var(--ring);
  border-color: var(--primary);
}

.footer-nav {
  display: block;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 12px;
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.6);
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.footer-links a:hover {
  text-decoration: none;
  transform: translateY(-1px);
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.92);
}

.footer-links a:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px var(--ring);
  border-color: var(--primary);
}

.footer-text {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  max-width: 70ch;
}

.footer-mini {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  justify-self: end;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 14px;
  padding-top: 18px;
  margin-top: 16px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

@media (max-width: 640px) {
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-mini {
    justify-self: start;
  }
}

.disclosure-card {
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.disclosure-card > summary {
  padding: 14px 16px;
  cursor: pointer;
  color: var(--text);
  font-weight: 800;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 6px;
  align-items: center;
}

.disclosure-card > summary::-webkit-details-marker {
  display: none;
}

.disclosure-card > summary::marker {
  content: "";
}

.disclosure-card > summary::before {
  content: "Clicca per leggere l’informativa";
  grid-column: 1 / -1;
  grid-row: 2;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}

.disclosure-card > summary::after {
  content: "+";
  grid-column: 2;
  grid-row: 1;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-700);
  font-weight: 900;
}

.disclosure-card[open] > summary {
  border-bottom: 1px solid var(--border);
}

.disclosure-card[open] > summary::after {
  content: "–";
}

.disclosure-card > summary:hover {
  background: rgba(255, 255, 255, 0.9);
}

.disclosure-card > summary:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 4px var(--ring);
}

.disclosure-body {
  padding: 14px 16px 16px;
  display: grid;
  gap: 10px;
}

.disclosure-body p {
  margin: 0;
}

@media (max-width: 1024px) {
}

@media (max-width: 860px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .js .nav-toggle {
    display: inline-flex;
  }

  .js .top-nav {
    display: none;
  }

  .js .site-header[data-nav-open="true"] .top-nav {
    display: block;
  }

  .top-nav {
    width: 100%;
  }

  .js .top-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
  }

  .nav-list {
    justify-content: flex-start;
  }

  .js .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .js .nav-list a {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  :root {
    --logo-size: 40px;
  }
}

@media (max-width: 420px) {
  .primary-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
