:root {
  --vr-red: #d8232a;
  --vr-red-dark: #b91c22;
  --vr-text: #111;
  --vr-muted: #555;
  --vr-border: #ddd;
  --vr-white: #fff;
  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  background: var(--vr-white);
}

body {
  margin: 0;
  color: var(--vr-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
}

a {
  color: inherit;
}

/* —— Article 404 layout (default for all pages except /about) —— */

.layout-article-404 {
  background: var(--vr-white);
  min-height: 100vh;
}

.vr-chrome {
  border-bottom: 1px solid var(--vr-border);
}

.vr-utility {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  font-size: 0.875rem;
}

.vr-utility-left,
.vr-utility-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.vr-utility-right {
  justify-content: flex-end;
}

.vr-inert,
.vr-inert-link,
.vr-inert-button {
  color: var(--vr-text);
  text-decoration: none;
  cursor: default;
  pointer-events: none;
  user-select: none;
}

.vr-inert-button {
  font: inherit;
  background: none;
  border: 0;
  padding: 0;
}

.vr-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--vr-text);
  justify-self: center;
}

.vr-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--vr-red);
  flex-shrink: 0;
}

.vr-logo-svg {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
}

.vr-logo-letters {
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
  fill: var(--vr-text);
}

.vr-logo-text {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.vr-topics {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  background: var(--vr-red);
  color: var(--vr-white);
  font-size: 0.9rem;
}

.vr-topics-label {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-right: 0.35rem;
}

.vr-topics .vr-inert-link {
  color: var(--vr-white);
}

.vr-topics-more::after {
  content: " ▾";
  font-size: 0.75em;
}

.article-404-main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  text-align: center;
}

.article-404-code {
  margin: 0 0 1.5rem;
  font-size: clamp(5rem, 18vw, 8rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--vr-text);
}

.article-404-body {
  font-size: 1.05rem;
  line-height: 1.55;
}

.article-404-body p {
  margin: 0 0 0.85rem;
}

.article-404-body p:last-child {
  margin-bottom: 0;
}

.article-404-body a {
  color: var(--vr-red);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.layout-article-404 .verified-reports-suggest {
  margin: 2rem auto 0;
  max-width: 36rem;
  text-align: left;
}

.layout-article-404 .verified-reports-suggest__toggle {
  color: var(--vr-white);
  min-height: 0.75rem;
  min-width: 0.75rem;
}

/* —— About layout —— */

.layout-about {
  background: #f6f6f6;
  min-height: 100vh;
}

.about-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--vr-white);
  border-bottom: 1px solid var(--vr-border);
}

.about-brand {
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--vr-text);
}

.about-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.95rem;
}

.about-nav a {
  text-decoration: none;
  color: var(--vr-muted);
}

.about-nav a:hover,
.about-nav a[aria-current="page"] {
  color: var(--vr-text);
  text-decoration: underline;
}

.about-main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  line-height: 1.6;
}

.about-main p {
  margin: 0 0 1rem;
}

/* —— Stealth SEO accordion —— */

.verified-reports-suggest {
  margin: 1.5rem 0 0;
  padding: 0;
  border: 0;
  font-size: 0.75rem;
  line-height: 1.4;
}

.verified-reports-suggest__toggle {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.verified-reports-suggest__toggle::-webkit-details-marker {
  display: none;
}

.verified-reports-suggest__chevron {
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transform-origin: 35% 65%;
  transition: transform 0.15s ease;
}

.verified-reports-suggest[open] .verified-reports-suggest__chevron {
  transform: rotate(45deg);
}

.verified-reports-suggest p {
  margin: 0.5rem 0 0;
  color: var(--vr-text);
}

.layout-about .verified-reports-suggest__toggle {
  color: #f6f6f6;
}

.site-footer {
  margin: 0;
  padding: 2rem 1.5rem 2.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--vr-muted);
}

.site-footer p {
  margin: 0;
}

.admin-preview-banner {
  margin: 0;
  padding: 0.4rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  background: #6b4f1d;
  color: #fff;
}

@media (max-width: 640px) {
  .vr-utility {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .vr-utility-left {
    display: none;
  }

  .vr-utility-right {
    justify-content: center;
  }

  .vr-topics {
    gap: 0.5rem 0.85rem;
    font-size: 0.82rem;
  }
}
