/* Styles specific to about (about/index.html). Loaded after the shared CSS, so it can override it. */

a { color: var(--accent-light); }

a:focus-visible {
  outline: 3px solid var(--accent-light);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Genio blob decoration ── */
.blob-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blob { position: absolute; }

.blob-purple {
  top: -15vh; right: -5vw;
  width: 55vw; height: 55vw;
  background: radial-gradient(ellipse at 40% 40%, rgba(124,92,245,0.28) 0%, transparent 60%);
  border-radius: 50%;
}

.blob-pink {
  bottom: -10vh; right: 5vw;
  width: 45vw; height: 55vw;
  background: radial-gradient(ellipse at 55% 45%, rgba(236,30,140,0.22) 0%, transparent 65%);
  border-radius: 30% 70% 70% 30% / 40% 40% 60% 60%;
}

header, main, footer { position: relative; z-index: 1; }

/* ── Header ── */
header {
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-brand { display: flex; align-items: center; gap: 0.75rem; }

.genio-mark {
  width: 2.25rem; height: 2.25rem;
  flex-shrink: 0;
  color: var(--accent-light);
}

.header-title strong { display: block; font-size: 0.95rem; }
.header-meta { font-size: 0.75rem; color: var(--text-muted); }
.genio-credit { color: var(--accent-light); font-weight: 700; }

/* ── Main ── */
main {
  flex: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  width: 100%;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 2rem;
}

.back-link:hover { color: var(--accent-light); }
.back-link:focus-visible {
  outline: 3px solid var(--accent-light);
  outline-offset: 3px;
  border-radius: 2px;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warning);
  margin-bottom: 0.75rem;
}

h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.intro {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 60ch;
  margin-bottom: 2.5rem;
}

/* ── Notice callout ── */
.notice {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--warning);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin-bottom: 2.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.notice strong { color: var(--text); }

/* ── Room sections ── */
.room-section {
  margin-bottom: 2.5rem;
}

.room-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.room-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  color: var(--accent-light);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  white-space: nowrap;
  flex-shrink: 0;
}

h2 {
  font-size: 1.1rem;
  font-weight: 700;
}

.room-sim {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.room-sim strong { color: var(--text); }

.violation-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.violation-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
}

.criterion-tag {
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: color-mix(in srgb, var(--warning) 15%, transparent);
  color: var(--warning);
  border: 1px solid color-mix(in srgb, var(--warning) 35%, transparent);
  white-space: nowrap;
  line-height: 1.8;
}

.violation-text strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
}

.violation-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ── Divider ── */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 1.25rem 2rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

footer a { color: var(--text-muted); }

/* ── Skip link ── */
.skip-link {
  position: absolute;
  top: -3rem; left: 1rem;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 999px 999px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.1s;
  z-index: 100;
}

.skip-link:focus { top: 0; }

@media (max-width: 480px) {
  main { padding: 2rem 1.25rem 3rem; }
  .blob-purple { width: 90vw; height: 90vw; }
  .blob-pink { width: 80vw; height: 90vw; }
  .violation-list li { grid-template-columns: 1fr; }
}
