/* topics.css | the Topics family (S5, 19 Oct 2026). Loaded after styles.css, kit.css, learn.css and guides.css.
   Source: instiv2-tools/topics/topics.css, copied to public/instiv2/topics/ by build-topics.mjs. Tokens only, no hex
   text colours; light and dark follow the learn tokens (--page, --page-2, --page-text, --page-muted, --page-line). */
.tp-wrap { margin-top: clamp(8px, 2vw, 20px); }
.tp-start { padding-bottom: 18px; }
.tp-start-a { display: grid; gap: 6px; min-height: 44px; color: var(--page-text); text-decoration: none; }
.tp-start-a b { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.2; letter-spacing: -0.01em; }
.tp-why { font-size: 16px; line-height: 1.55; color: var(--page-muted); }
.tp-go-l { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-weight: 600; }
.tp-start-a:hover b, .tp-start-a:focus-visible b { text-decoration: underline; text-underline-offset: 3px; }
.tp-sec { margin-top: clamp(28px, 4vw, 48px); }
.tp-terms { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin: 0; }
.tp-terms > div { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--page-line); background: var(--page-2); }
.tp-terms dt { margin: 0 0 6px; font-weight: 700; }
.tp-terms dt a { color: var(--page-text); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--c) 55%, transparent); text-underline-offset: 3px; }
.tp-terms dd { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--page-muted); }
.tp-search { margin: clamp(32px, 5vw, 56px) 0 8px; }
.tp-form { display: flex; gap: 10px; align-items: center; min-height: 60px; padding: 6px 6px 6px 18px; border: 1px solid var(--page-line); border-radius: 999px; background: var(--page-2); }
.tp-form > svg { flex: none; color: var(--page-faint); }
.tp-form:focus-within { border-color: var(--focus, #7FB2FF); box-shadow: 0 0 0 1px var(--focus, #7FB2FF); }
.tp-q { flex: 1; min-width: 0; min-height: 44px; border: 0; background: transparent; font: inherit; font-size: 17px; color: var(--page-text); outline: none; }
.tp-go { flex: none; min-height: 44px; }
@media (max-width: 480px) {
  .tp-terms { grid-template-columns: 1fr; }
  .tp-form { padding-left: 14px; }
}
