/* Requirements page. Layers on style.css, reuses its tokens. */

.req-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 32px;
}
.req-jump {
  font-size: 14px;
  font-weight: 500;
  color: var(--dim);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
}
.req-jump:hover { color: var(--purple); border-color: #ecd6ff; text-decoration: none; }

.req-sec { max-width: 720px; margin-top: 44px; scroll-margin-top: 20px; }
.req-sec h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.req-sec > .lede { color: var(--dim); font-size: 14.5px; margin-bottom: 18px; }

.req-item { padding: 20px 0; border-bottom: 1px solid var(--border); }
.req-item:last-child { border-bottom: none; }
.req-item h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.req-item p { color: var(--dim); font-size: 14.5px; margin-bottom: 10px; }
.req-item p:last-child { margin-bottom: 0; }
.req-item b { color: var(--ink); font-weight: 600; }

.req-list { list-style: none; margin: 0 0 10px; }
.req-list li {
  color: var(--dim);
  font-size: 14.5px;
  padding: 5px 0 5px 20px;
  position: relative;
}
.req-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border);
}
.req-list li b { color: var(--ink); font-weight: 600; }

.req-check { list-style: none; margin: 0; }
.req-check li {
  font-size: 14.5px;
  padding: 5px 0 5px 26px;
  position: relative;
  color: var(--ink);
}
.req-check li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 5px;
  color: var(--purple);
  font-weight: 700;
}

.path {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 13.5px;
  color: var(--ink);
  white-space: nowrap;
}

/* tl;dr card */
.req-tldr {
  background: var(--purple-tint);
  border: 1px solid #ecd6ff;
  border-radius: var(--radius-card);
  padding: 16px 20px 18px;
  max-width: 720px;
  margin: 0 0 28px;
}
.req-tldr-head { font-size: 15px; font-weight: 700; color: var(--purple); margin-bottom: 8px; }
.req-tldr .req-check li { color: var(--ink); }

/* do / don't rules */
.req-rules {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.req-rule { padding: 14px 18px; border-bottom: 1px solid var(--border); }
.req-rule:last-child { border-bottom: none; }
.req-rule .t { font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 2px; }
.req-rule .d { color: var(--dim); font-size: 14.5px; }

/* rejection notes */
.req-notes { border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; }
.req-note { padding: 14px 18px; border-bottom: 1px solid var(--border); }
.req-note:last-child { border-bottom: none; }
.req-note .said { font-weight: 600; font-size: 14.5px; color: var(--ink); margin-bottom: 3px; }
.req-note .means { color: var(--dim); font-size: 14.5px; }

@media (max-width: 560px) {
  .req-sec { margin-top: 34px; }
  .req-sec h2 { font-size: 20px; }
}
