:root {
  --bg: #eaf4f1;
  --surface: #ffffff;
  --ink: #14233b;
  --ink-soft: #46556b;
  --line: #c4d8d2;
  --flamingo: #e8456f;
  --flamingo-soft: #fde3ea;
  --teal: #0b7f7c;
  --teal-soft: #d3efec;
  --sun: #f3c240;
  --sun-soft: #fdf1c9;
  --radius: 10px;
  --measure: 66ch;
}

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

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

body {
  position: relative;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  line-height: 1.65;
}

/* Atardecer de Vice City: cielo, sol y palmeras detrás del encabezado */
body::before, body::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: clamp(380px, 46vw, 520px);
  z-index: -1;
  pointer-events: none;
}
body::before {
  background:
    linear-gradient(180deg, transparent 78%, var(--bg) 100%),
    linear-gradient(180deg, #9a92cc 0%, #c48bc0 38%, #f4a0a4 70%, #ffbf80 100%);
}
body::after {
  background:
    url("palms-left.svg") -110px bottom / auto 100% no-repeat,
    url("palms-right.svg") right top / auto 100% no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}
@media (max-width: 1240px) {
  body::after { opacity: 0.3; }
}

h1, h2, h3, .wordmark, .badge, .nav a, .btn {
  font-family: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--flamingo); }
a:focus-visible, .card:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: min(100% - 32px, 980px); margin-inline: auto; }

/* Header */
.site-header { background: transparent; }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 8px 24px; padding-block: 14px;
}
.wordmark {
  font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
}
.wordmark span {
  background: var(--ink); color: #fff;
  padding: 0 8px; margin-left: 2px; border-radius: 6px;
}
.nav { display: flex; gap: 20px; }
.nav a { color: var(--ink); font-weight: 600; font-size: 1rem; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* Hero */
.hero { padding-block: clamp(40px, 8vw, 88px) clamp(32px, 5vw, 56px); }
.hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 1.02; letter-spacing: -0.035em; font-weight: 800;
  margin: 0 0 20px; max-width: 14ch;
}
.hero .lede { font-size: 1.25rem; max-width: 52ch; color: var(--ink); margin: 0; }

/* Featured answer */
.featured {
  display: block; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 2px solid var(--ink);
  border-radius: var(--radius); padding: clamp(20px, 4vw, 32px);
  box-shadow: 8px 8px 0 var(--flamingo);
  margin-block: 8px 56px;
}
.featured:hover { color: var(--ink); transform: translate(-2px, -2px); box-shadow: 10px 10px 0 var(--flamingo); }
.featured h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1.15; margin: 14px 0 10px; letter-spacing: -0.02em; }
.featured p { margin: 0; max-width: 56ch; }
.featured .more { display: inline-block; margin-top: 14px; font-weight: 600; font-family: "Bricolage Grotesque", sans-serif; color: var(--teal); }

/* Badges */
.badge {
  display: inline-block; font-size: 0.85rem; font-weight: 700;
  padding: 3px 12px; border-radius: 999px; border: 2px solid var(--ink);
  line-height: 1.4;
}
.badge-confirmed { background: var(--teal-soft); }
.badge-unconfirmed { background: var(--flamingo-soft); }
.badge-rumor { background: var(--sun-soft); }

/* Sections */
.section { padding-block: 0 56px; }
.section h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); letter-spacing: -0.02em; margin: 0 0 20px; line-height: 1.15; }

.card-list { display: grid; gap: 16px; padding: 0; margin: 0; list-style: none; }
.card {
  display: block; background: var(--surface); border: 2px solid var(--line);
  border-radius: var(--radius); padding: 18px 22px; text-decoration: none; color: var(--ink);
}
.card:hover { border-color: var(--ink); color: var(--ink); }
.card h3 { font-size: 1.25rem; margin: 10px 0 6px; line-height: 1.25; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--ink-soft); font-size: 1rem; }

/* Legend */
.legend { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.legend > div { background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.legend p { margin: 10px 0 0; font-size: 1rem; color: var(--ink-soft); }

/* Article */
.article { padding-block: clamp(32px, 6vw, 64px) 56px; }
.crumbs { font-family: "Bricolage Grotesque", sans-serif; font-size: 0.95rem; margin: 0 0 20px; color: var(--ink); }
.crumbs a { color: var(--ink); }
.article h1 {
  font-size: clamp(2rem, 5.5vw, 3.2rem); line-height: 1.06; letter-spacing: -0.03em;
  font-weight: 800; margin: 0 0 24px; max-width: 20ch;
}
.verdict {
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 20px 24px; margin-bottom: 8px; max-width: var(--measure);
}
.verdict p { margin: 10px 0 0; font-size: 1.2rem; line-height: 1.5; }
.checked { font-family: "Bricolage Grotesque", sans-serif; font-size: 0.95rem; color: var(--ink-soft); margin: 10px 0 32px; }
.prose { max-width: var(--measure); }
.prose h2 { font-size: 1.6rem; letter-spacing: -0.02em; line-height: 1.2; margin: 44px 0 12px; }
.prose p, .prose ul { margin: 0 0 18px; }
.prose li { margin-bottom: 8px; }

.facts { margin: 0 0 8px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.facts div { display: grid; grid-template-columns: minmax(130px, 34%) 1fr; gap: 16px; padding: 12px 20px; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 1rem; }
.facts dd { margin: 0; font-size: 1rem; }

.sources { font-size: 1rem; }
.sources li { overflow-wrap: anywhere; }

.next { margin-top: 48px; padding-top: 24px; border-top: 2px solid var(--ink); }
.next h2 { font-size: 1.25rem; margin: 0 0 12px; }

/* Footer */
.site-footer { border-top: 2px solid var(--ink); padding-block: 28px; font-size: 0.95rem; color: var(--ink-soft); }
.site-footer p { margin: 0 0 8px; max-width: 70ch; }

@media (max-width: 560px) {
  body { font-size: 1.0625rem; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .featured { box-shadow: 5px 5px 0 var(--flamingo); }
}

@media (prefers-reduced-motion: reduce) {
  .featured:hover { transform: none; }
}
