:root{
  --bg: rgb(49, 41, 35);
  --panel: rgba(0,0,0,.08);
  --text: #858072;
  --muted: rgba(246, 246, 243, 0.75);
  --line: rgba(246, 245, 243, 0.12);

  /* navbar height used for scroll offset */
  --nav-h: 58px;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  line-height: 1.45;
}

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 20px 40px;
}

.hero {
  margin-bottom: 22px;
}

.kicker {
  margin: 0 0 6px;
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 28px;
}

.lead {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

.card {
  padding: 26px 26px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}

/* Scroll offset for anchored sections */
.card[id] {
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

.title {
  margin: 0 0 18px;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: .6px;
}

.section {
  padding: 14px 0;
}

.heading {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 900;
}

.text {
  margin: 0;
  font-size: 22px;
  color: var(--muted);
}

.divider {
  height: 1px;
  background: var(--line);
}

.list {
  margin: 0;
  padding-left: 22px;
  font-size: 22px;
  color: var(--muted);
}

.list li {
  margin: 6px 0;
}

.footer {
  margin-top: 18px;
  opacity: .9;
}

.tag {
  display: inline-block;
  padding: 10px 12px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
  font-size: 16px;
}

/* --- Navbar / jump links --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;

  display: flex;
  gap: 10px;
  flex-wrap: wrap;

  margin: 0 0 18px;
  padding: 12px;

  background: rgba(49, 41, 35, 0.92);
  backdrop-filter: blur(6px);

  border: 1px solid var(--line);
  border-radius: 14px;
}

.nav__link {
  display: inline-block;
  padding: 10px 12px;

  border: 1px dashed var(--line);
  border-radius: 12px;

  color: var(--muted);
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .2px;

  background: rgba(0,0,0,.06);
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--text);
  border-style: solid;
  outline: none;
}

@media (max-width: 560px) {
  :root { --nav-h: 52px; }

  .page { padding-top: 36px; }
  .kicker { font-size: 22px; }
  .lead { font-size: 18px; }
  .title { font-size: 26px; }
  .heading { font-size: 20px; }
  .text, .list { font-size: 16px; }

  .nav__link { font-size: 14px; padding: 8px 10px; }
}

/* --- Missing classes used by the User Test Plan section --- */

.subheading {
  margin: 14px 0 8px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .2px;
}

.caption {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--muted);
}

.meta {
  margin: 10px 0 0;
  font-size: 20px;
  color: var(--muted);
}

.label {
  font-weight: 900;
  color: var(--text);
}

.spacer {
  height: 14px;
}

/* Inline code-ish look for screen names like eventsScreen */
.mono {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0,0,0,.12);
  color: var(--text);
  font-size: 0.95em;
}

/* Tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0,0,0,.06);
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.table th,
.table td {
  padding: 12px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
  font-size: 18px;
  color: var(--muted);
}

.table th {
  color: var(--text);
  font-weight: 900;
  letter-spacing: .2px;
  background: rgba(0,0,0,.10);
}

.table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 560px) {
  .subheading { font-size: 16px; }
  .caption { font-size: 14px; }
  .meta { font-size: 16px; }
  .table th, .table td { font-size: 14px; }
  .table { min-width: 560px; }
}

/* --- Reflection layout helpers (pretty + 2-column contributions) --- */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 12px;
}

.panel {
  padding: 16px 16px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0,0,0,.06);
}

/* Make the list inside panels feel tighter */
.panel .list {
  padding-left: 18px;
}

.panel .list li {
  margin: 10px 0;
}

/* Mobile: stack columns */
@media (max-width: 760px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.page-header {
  margin: 24px 0 16px;
  text-align: center;
}

.page-header__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0;
}