/* Tokens + reset — Red Lantern House List */
:root {
  --rl-lavender: #ebe8ef;
  --rl-lavender-deep: #ddd8e4;
  --rl-plum: #6b3a5c;
  --rl-plum-deep: #4a2740;
  --rl-brass: #b8956c;
  --rl-brass-soft: #d4b896;
  --rl-ink: #1a161c;
  --rl-muted: #5c5560;
  --rl-white: #faf9fb;
  --rl-rule: #c8c2d0;
  --rl-space-xs: 0.4rem;
  --rl-space-sm: 0.75rem;
  --rl-space-md: 1.25rem;
  --rl-space-lg: 2.25rem;
  --rl-space-xl: 3.5rem;
  --rl-max: 72rem;
  --rl-font-display: "Libre Baskerville", "Georgia", serif;
  --rl-font-body: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --rl-font-mono: "IBM Plex Mono", "Courier New", monospace;
  --rl-radius-pill: 999px;
  --rl-radius-none: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--rl-font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--rl-ink);
  background-color: var(--rl-lavender);
  background-image: repeating-linear-gradient(
    -32deg,
    transparent,
    transparent 11px,
    rgba(107, 58, 92, 0.035) 11px,
    rgba(107, 58, 92, 0.035) 12px
  );
  padding-top: 2.4rem;
  padding-bottom: 4.5rem;
}

img { max-width: 100%; height: auto; display: block; }
a {
  color: var(--rl-plum);
  text-decoration: none;
  font-weight: 600;
}
a:hover, a:focus-visible { text-decoration: underline; }

h1, h2, h3, .rl-display {
  font-family: var(--rl-font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--rl-plum-deep);
  margin: 0 0 var(--rl-space-md);
}

.rl-wrap {
  width: min(100% - 2rem, var(--rl-max));
  margin-inline: auto;
}

.rl-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--rl-muted);
  font-family: var(--rl-font-body);
}

.rl-divider {
  display: flex;
  justify-content: center;
  margin: var(--rl-space-xl) 0;
}
.rl-divider::before {
  content: "";
  width: 3.5rem;
  height: 3px;
  background: var(--rl-brass);
}

.rl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: var(--rl-radius-pill);
  background: var(--rl-brass);
  color: var(--rl-ink);
  font-weight: 700;
  font-size: 0.92rem;
  border: 2px dashed transparent;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--rl-font-body);
}
.rl-btn:hover, .rl-btn:focus-visible {
  background: var(--rl-plum);
  color: var(--rl-white);
  text-decoration: none;
}
.rl-btn--ghost {
  background: transparent;
  border: 2px dashed var(--rl-plum);
  color: var(--rl-plum);
}
.rl-btn--ghost:hover {
  background: var(--rl-plum);
  color: var(--rl-white);
}

.rl-badge {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.22rem 0.45rem;
  border: 1px dashed var(--rl-plum);
  color: var(--rl-plum);
  background: transparent;
  border-radius: var(--rl-radius-none);
}

.rl-score {
  font-family: var(--rl-font-mono);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--rl-plum-deep);
}

.rl-notice {
  font-size: 0.85rem;
  color: var(--rl-muted);
  border: 1px dashed var(--rl-rule);
  padding: var(--rl-space-sm) var(--rl-space-md);
  background: rgba(255, 255, 255, 0.45);
}

.rl-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.rl-prose p { margin: 0 0 var(--rl-space-md); }
.rl-prose ul { padding-left: 1.2rem; }
.rl-prose li { margin-bottom: 0.4rem; }

.rl-grid-swiss {
  display: grid;
  gap: var(--rl-space-lg);
}
@media (min-width: 768px) {
  .rl-grid-swiss--2 { grid-template-columns: 1fr 1fr; }
  .rl-grid-swiss--3 { grid-template-columns: 1fr 1fr 1fr; }
  .rl-grid-swiss--aside { grid-template-columns: 2fr 1fr; }
}
