/* TapProbe — test-log stylesheet */

:root {
  --tp-paper: #ffffff;
  --tp-paper-tint: #f7f7f5;
  --tp-ink: #111111;
  --tp-ink-mid: #45474a;
  --tp-ink-soft: #5c5f63;
  --tp-line: #e2e2de;
  --tp-line-ink: #111111;
  --tp-accent: #0e7c86;
  --tp-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", "Menlo", monospace;
  --tp-sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --tp-gap: 24px;
  --tp-bar: 62px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--tp-paper);
  color: var(--tp-ink);
  font-family: var(--tp-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.62;
}

h1, h2, h3, h4 {
  font-family: var(--tp-mono);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--tp-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover { text-decoration-thickness: 2px; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol { margin: 0 0 1em; padding-left: 1.1em; }
ul:last-child, ol:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 2px solid var(--tp-accent);
  outline-offset: 3px;
}

.tp-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--tp-paper);
  color: var(--tp-ink);
  font-family: var(--tp-mono);
  font-size: 13px;
  padding: 10px 16px;
  border: 1px solid var(--tp-line-ink);
  z-index: 60;
}
.tp-skip:focus { left: 8px; top: 8px; }

.tp-hidden { display: none !important; }

.tp-quiet {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.tp-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- shell ---------- */

.tp-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

[id] { scroll-margin-top: calc(var(--tp-bar) + 16px); }

.tp-band {
  padding-block: clamp(44px, 6.5vw, 84px);
  border-top: 1px solid var(--tp-line);
}

.tp-band--tint { background: var(--tp-paper-tint); }
.tp-band--open { border-top: 0; }

.tp-band__head { margin-bottom: clamp(28px, 4vw, 44px); }

.tp-band__kicker {
  font-family: var(--tp-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tp-accent);
  margin: 0 0 14px;
}

.tp-band__title {
  font-size: clamp(24px, 3.4vw, 38px);
  max-width: 26ch;
}

.tp-band__lede {
  margin-top: 16px;
  max-width: 74ch;
  color: var(--tp-ink-mid);
  font-size: 17px;
}

.tp-rule {
  height: 1px;
  background: var(--tp-line);
  border: 0;
  margin: 0;
}

/* ---------- masthead ---------- */

.tp-masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--tp-paper);
  border-bottom: 1px solid var(--tp-line-ink);
}

.tp-masthead__inner {
  min-height: var(--tp-bar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tp-masthead__brand {
  font-family: var(--tp-mono);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tp-ink);
  text-decoration: none;
  white-space: nowrap;
}

.tp-masthead__brand span { color: var(--tp-accent); }
.tp-masthead__brand:hover { text-decoration: none; }

.tp-masthead__nav { display: none; }

.tp-masthead__list {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tp-masthead__link {
  font-family: var(--tp-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tp-ink);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.tp-masthead__link:hover,
.tp-masthead__link:focus-visible {
  color: var(--tp-accent);
  border-bottom-color: var(--tp-accent);
  text-decoration: none;
}

.tp-masthead__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--tp-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--tp-paper);
  color: var(--tp-ink);
  border: 1px solid var(--tp-line-ink);
  padding: 8px 12px;
  cursor: pointer;
}

.tp-masthead__toggle svg { width: 16px; height: 16px; }
.tp-masthead__toggle .tp-x { display: none; }
.tp-masthead__toggle[aria-expanded="true"] .tp-x { display: block; }
.tp-masthead__toggle[aria-expanded="true"] .tp-burger { display: none; }

.tp-drawer {
  border-top: 1px solid var(--tp-line);
  background: var(--tp-paper);
  max-height: calc(100vh - var(--tp-bar));
  overflow-y: auto;
}

.tp-drawer[hidden] { display: none; }

.tp-drawer__list {
  list-style: none;
  margin: 0;
  padding: 8px 0 20px;
}

.tp-drawer__list li { border-bottom: 1px solid var(--tp-line); }

.tp-drawer__link {
  display: block;
  padding: 13px 2px;
  font-family: var(--tp-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tp-ink);
  text-decoration: none;
}

.tp-drawer__link:hover { color: var(--tp-accent); }

@media (min-width: 1120px) {
  .tp-masthead__nav { display: block; }
  .tp-masthead__toggle { display: none; }
  .tp-drawer { display: none; }
}

/* ---------- buttons ---------- */

.tp-cue {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--tp-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 13px 20px;
  border: 1px solid var(--tp-line-ink);
  text-decoration: none;
  cursor: pointer;
  background: var(--tp-paper);
  color: var(--tp-ink);
}

.tp-cue svg { width: 15px; height: 15px; flex: none; }

.tp-cue--solid {
  background: var(--tp-accent);
  border-color: var(--tp-accent);
  color: #ffffff;
}

.tp-cue--solid:hover { background: var(--tp-paper); color: var(--tp-accent); }
.tp-cue--line:hover { border-color: var(--tp-accent); color: var(--tp-accent); }
.tp-cue:hover { text-decoration: none; }

/* ---------- hero ---------- */

.tp-lede {
  padding-block: clamp(40px, 6vw, 76px) clamp(36px, 5vw, 64px);
  text-align: center;
}

.tp-lede__tag {
  display: inline-block;
  font-family: var(--tp-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tp-accent);
  border: 1px solid var(--tp-accent);
  padding: 6px 12px;
  margin-bottom: 26px;
}

.tp-lede__title {
  font-size: clamp(30px, 5.6vw, 60px);
  max-width: 19ch;
  margin-inline: auto;
}

.tp-lede__title em {
  font-style: normal;
  color: var(--tp-accent);
}

.tp-lede__strap {
  margin: 22px auto 0;
  max-width: 66ch;
  font-size: 18px;
  color: var(--tp-ink-mid);
}

.tp-lede__cues {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}

.tp-lede__strip {
  margin-top: clamp(34px, 5vw, 54px);
  border: 1px solid var(--tp-line);
  padding: 18px;
}

.tp-lede__label {
  font-family: var(--tp-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tp-ink-soft);
  margin: 0 0 14px;
}

.tp-lede__icons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.tp-lede__icons img {
  width: 100%;
  height: auto;
  border: 1px solid var(--tp-line);
}

.tp-readout {
  list-style: none;
  margin: clamp(30px, 4vw, 44px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--tp-line-ink);
  border-left: 1px solid var(--tp-line);
}

.tp-readout li {
  border-right: 1px solid var(--tp-line);
  border-bottom: 1px solid var(--tp-line);
  padding: 18px 14px;
  text-align: left;
}

.tp-readout__num {
  display: block;
  font-family: var(--tp-mono);
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 700;
  color: var(--tp-accent);
  line-height: 1.1;
}

.tp-readout__cap {
  display: block;
  font-size: 13px;
  color: var(--tp-ink-soft);
  margin-top: 6px;
}

@media (min-width: 700px) {
  .tp-lede__icons { grid-template-columns: repeat(8, 1fr); }
  .tp-readout { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- protocol ---------- */

.tp-protocol__grid {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
}

.tp-protocol__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--tp-line-ink);
}

.tp-protocol__step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--tp-line);
}

.tp-protocol__no {
  font-family: var(--tp-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--tp-accent);
  padding-top: 2px;
}

.tp-protocol__name {
  font-size: 16px;
  margin-bottom: 6px;
}

.tp-protocol__text {
  color: var(--tp-ink-mid);
  font-size: 15px;
}

@media (min-width: 900px) {
  .tp-protocol__step {
    grid-template-columns: 64px minmax(0, 0.85fr) minmax(0, 1.6fr);
    gap: clamp(20px, 3vw, 40px);
    align-items: start;
    padding: 22px 0;
  }

  .tp-protocol__step > div { display: contents; }
  .tp-protocol__name { margin-bottom: 0; padding-top: 1px; }
}

/* ---------- catalogue entries ---------- */

.tp-catalogue__list {
  display: grid;
  gap: clamp(20px, 3vw, 30px);
}

.tp-entry {
  display: grid;
  border: 1px solid var(--tp-line-ink);
  background: var(--tp-paper);
}

.tp-entry__body { padding: clamp(20px, 3vw, 30px); }

.tp-entry__top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--tp-line);
}

.tp-entry__no {
  font-family: var(--tp-mono);
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 700;
  line-height: 1;
  color: var(--tp-ink);
  flex: none;
  font-variant-numeric: tabular-nums;
}

.tp-entry__ident { flex: 1 1 auto; min-width: 0; }

.tp-entry__slug {
  font-family: var(--tp-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--tp-accent);
  margin: 0 0 6px;
}

.tp-entry__name {
  font-size: clamp(18px, 2.4vw, 23px);
  margin-bottom: 6px;
}

.tp-entry__maker {
  font-size: 14px;
  color: var(--tp-ink-soft);
  margin: 0;
}

.tp-entry__badge {
  flex: none;
  width: 56px;
  height: 56px;
  border: 1px solid var(--tp-line);
}

.tp-entry__specs {
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--tp-line);
  border-left: 1px solid var(--tp-line);
}

.tp-entry__spec {
  border-right: 1px solid var(--tp-line);
  border-bottom: 1px solid var(--tp-line);
  padding: 11px 12px;
}

.tp-entry__specs dt {
  font-family: var(--tp-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--tp-ink-soft);
}

.tp-entry__specs dd {
  margin: 4px 0 0;
  font-family: var(--tp-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--tp-ink);
  font-variant-numeric: tabular-nums;
}

.tp-entry__specs dd.tp-entry__score { color: var(--tp-accent); }

.tp-entry__note {
  margin: 18px 0 0;
  color: var(--tp-ink-mid);
  font-size: 15.5px;
}

.tp-entry__marks {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.tp-entry__marks li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--tp-ink-mid);
  margin-bottom: 7px;
}

.tp-entry__marks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 1px;
  background: var(--tp-accent);
}

.tp-entry__go { margin-top: 20px; }

.tp-entry__plate {
  position: relative;
  margin: 0;
  border-top: 1px solid var(--tp-line);
  background: var(--tp-paper-tint);
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.tp-entry__plate img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.tp-entry__cap {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--tp-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tp-ink-soft);
  background: var(--tp-paper);
  border-right: 1px solid var(--tp-line);
  border-bottom: 1px solid var(--tp-line);
  padding: 5px 9px;
}

.tp-stamp {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--tp-paper);
  border-top: 1px solid var(--tp-line-ink);
  border-right: 1px solid var(--tp-line-ink);
  padding: 9px 13px 10px;
  text-align: left;
}

.tp-stamp__head {
  font-family: var(--tp-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tp-ink-soft);
  display: block;
  margin-bottom: 5px;
}

.tp-stamp__row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tp-stamp__val {
  font-family: var(--tp-mono);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  color: var(--tp-ink);
  font-variant-numeric: tabular-nums;
}

.tp-stamp__count {
  display: block;
  font-size: 11.5px;
  color: var(--tp-ink-soft);
  margin-top: 5px;
}

.tp-rate { display: inline-flex; line-height: 0; }

.tp-rate__stars {
  position: relative;
  display: inline-flex;
  line-height: 0;
}

.tp-rate__row { display: flex; gap: 2px; }
.tp-rate__row svg { width: 13px; height: 13px; flex: none; }
.tp-rate__row--base { color: #c8c8c2; }

.tp-rate__row--on {
  position: absolute;
  inset: 0;
  width: var(--tp-fill, 0%);
  overflow: hidden;
  color: var(--tp-accent);
}

@media (min-width: 900px) {
  .tp-entry { grid-template-columns: 1fr 42%; }
  .tp-entry__plate { border-top: 0; border-left: 1px solid var(--tp-line); aspect-ratio: auto; }
  .tp-entry__plate img { max-height: min(100%, 400px); }
  .tp-entry--flip { grid-template-columns: 42% 1fr; }
  .tp-entry--flip .tp-entry__body { order: 2; }
  .tp-entry--flip .tp-entry__plate {
    order: 1;
    border-left: 0;
    border-right: 1px solid var(--tp-line);
  }
  .tp-entry--flip .tp-entry__cap { left: auto; right: 0; border-right: 0; border-left: 1px solid var(--tp-line); }
  .tp-entry--flip .tp-stamp { left: auto; right: 0; border-right: 0; border-left: 1px solid var(--tp-line-ink); }
  .tp-entry__specs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- scoring table ---------- */

.tp-gauge__wrap { overflow-x: auto; }

.tp-gauge__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 560px;
}

.tp-gauge__table caption {
  text-align: left;
  font-family: var(--tp-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tp-ink-soft);
  padding-bottom: 12px;
}

.tp-gauge__table th,
.tp-gauge__table td {
  text-align: left;
  padding: 15px 14px;
  border-bottom: 1px solid var(--tp-line);
  vertical-align: top;
}

.tp-gauge__table thead th {
  font-family: var(--tp-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--tp-ink);
  border-bottom: 1px solid var(--tp-line-ink);
}

.tp-gauge__table tbody th {
  font-family: var(--tp-mono);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.tp-gauge__w {
  font-family: var(--tp-mono);
  font-weight: 700;
  color: var(--tp-accent);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.tp-gauge__note {
  margin-top: 20px;
  font-size: 14.5px;
  color: var(--tp-ink-soft);
  max-width: 76ch;
}

/* ---------- log ---------- */

.tp-log__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--tp-line-ink);
}

.tp-log__row {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-areas:
    "date date"
    "icon body"
    "flag flag";
  gap: 10px 14px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--tp-line);
}

.tp-log__date { grid-area: date; }
.tp-log__icon { grid-area: icon; }
.tp-log__body { grid-area: body; }
.tp-log__row .tp-flag { grid-area: flag; justify-self: start; }

.tp-log__icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--tp-line);
}

.tp-log__date {
  font-family: var(--tp-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--tp-ink-soft);
  font-variant-numeric: tabular-nums;
  display: block;
}

.tp-log__name {
  font-family: var(--tp-mono);
  font-size: 15px;
  font-weight: 700;
  margin: 3px 0 0;
}

.tp-log__what {
  font-size: 14px;
  color: var(--tp-ink-mid);
  margin: 4px 0 0;
}

.tp-flag {
  display: inline-block;
  font-family: var(--tp-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  border: 1px solid var(--tp-accent);
  color: var(--tp-accent);
  padding: 4px 8px;
  white-space: nowrap;
}

.tp-flag--ink { border-color: var(--tp-line-ink); color: var(--tp-ink); }

@media (min-width: 760px) {
  .tp-log__row {
    grid-template-columns: 108px 44px 1fr max-content;
    grid-template-areas: "date icon body flag";
  }
  .tp-log__row .tp-flag { justify-self: end; }
}

/* ---------- reviews ---------- */

.tp-voices__grid {
  display: grid;
  gap: 20px;
}

.tp-voices__item {
  border: 1px solid var(--tp-line);
  padding: 24px;
  margin: 0;
  background: var(--tp-paper);
}

.tp-voices__quote {
  font-size: 16px;
  color: var(--tp-ink);
  margin: 16px 0 0;
}

.tp-voices__by {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--tp-line);
  font-style: normal;
}

.tp-voices__mark {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--tp-line-ink);
  font-family: var(--tp-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tp-voices__who {
  font-family: var(--tp-mono);
  font-size: 13.5px;
  font-weight: 700;
}

.tp-voices__role {
  font-size: 13px;
  color: var(--tp-ink-soft);
}

@media (min-width: 860px) {
  .tp-voices__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- subscribe ---------- */

.tp-signup__box {
  border: 1px solid var(--tp-line-ink);
  padding: clamp(22px, 3.4vw, 34px);
  background: var(--tp-paper);
}

.tp-signup__title {
  font-size: 16px;
  margin-bottom: 12px;
}

.tp-signup__form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.tp-field { display: grid; gap: 7px; }

.tp-field__label {
  font-family: var(--tp-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--tp-ink);
}

.tp-field__input {
  font-family: var(--tp-sans);
  font-size: 15px;
  color: var(--tp-ink);
  background: var(--tp-paper);
  border: 1px solid var(--tp-line-ink);
  padding: 12px 13px;
  width: 100%;
}

.tp-field__input::placeholder { color: #8b8d8f; }
.tp-field__input:focus-visible { outline: 2px solid var(--tp-accent); outline-offset: 1px; }

.tp-consent-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14px;
  color: var(--tp-ink-mid);
}

.tp-consent-row input {
  margin: 3px 0 0;
  width: 17px;
  height: 17px;
  flex: none;
  accent-color: var(--tp-accent);
}

.tp-signup__small {
  font-size: 13.5px;
  color: var(--tp-ink-soft);
  margin: 0;
}

.tp-signup__ok {
  margin-top: 18px;
  border: 1px solid var(--tp-accent);
  padding: 14px 16px;
  font-size: 14.5px;
  color: var(--tp-ink);
}

.tp-signup__ok[hidden] { display: none; }

@media (min-width: 800px) {
  .tp-signup__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .tp-signup__box { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 4vw, 46px); }
}

/* ---------- faq ---------- */

.tp-queries__list {
  border-top: 1px solid var(--tp-line-ink);
  width: 100%;
}

.tp-queries__item { border-bottom: 1px solid var(--tp-line); }

.tp-queries__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: none;
  border: 0;
  padding: 20px 2px;
  text-align: left;
  cursor: pointer;
  font-family: var(--tp-mono);
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 700;
  color: var(--tp-ink);
}

.tp-queries__btn:hover { color: var(--tp-accent); }

.tp-queries__sign {
  flex: none;
  width: 22px;
  height: 22px;
  position: relative;
  border: 1px solid var(--tp-line-ink);
}

.tp-queries__sign::before,
.tp-queries__sign::after {
  content: "";
  position: absolute;
  background: var(--tp-ink);
}

.tp-queries__sign::before { left: 4px; right: 4px; top: 50%; height: 1px; transform: translateY(-50%); }
.tp-queries__sign::after { top: 4px; bottom: 4px; left: 50%; width: 1px; transform: translateX(-50%); }

.tp-queries__btn[aria-expanded="true"] .tp-queries__sign::after { display: none; }

.tp-queries__panel {
  padding: 0 2px 22px;
  max-width: 82ch;
  color: var(--tp-ink-mid);
  font-size: 15.5px;
}

.tp-queries__panel[hidden] { display: none; }

/* ---------- genres ---------- */

.tp-genres__grid {
  display: grid;
  gap: 18px;
}

.tp-genres__cell {
  border: 1px solid var(--tp-line);
  padding: 22px;
  background: var(--tp-paper);
}

.tp-genres__ico {
  width: 26px;
  height: 26px;
  color: var(--tp-accent);
  margin-bottom: 14px;
}

.tp-genres__name {
  font-size: 15px;
  margin-bottom: 8px;
}

.tp-genres__text {
  font-size: 14.5px;
  color: var(--tp-ink-mid);
  margin: 0 0 12px;
}

.tp-genres__ref {
  font-family: var(--tp-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--tp-ink-soft);
  margin: 0;
}

@media (min-width: 700px) { .tp-genres__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tp-genres__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- about ---------- */

.tp-dossier__grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}

.tp-dossier__text { font-size: 16px; color: var(--tp-ink-mid); }
.tp-dossier__text p { max-width: 72ch; }

.tp-dossier__file {
  border: 1px solid var(--tp-line-ink);
  background: var(--tp-paper);
  align-self: start;
}

.tp-dossier__facts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tp-dossier__facts li {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--tp-line);
  font-size: 14.5px;
}

.tp-dossier__facts li:last-child { border-bottom: 0; }

.tp-dossier__facts dfn,
.tp-dossier__key {
  font-family: var(--tp-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tp-ink-soft);
  font-style: normal;
  padding-top: 3px;
  flex: none;
}

.tp-dossier__val { text-align: right; color: var(--tp-ink); }

@media (min-width: 900px) {
  .tp-dossier__grid { grid-template-columns: 1.1fr 0.9fr; }
}

/* ---------- editorial model ---------- */

.tp-model__grid {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

.tp-model__text { font-size: 16px; color: var(--tp-ink-mid); }
.tp-model__text p { max-width: 72ch; }

.tp-model__pledge {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--tp-line-ink);
}

.tp-model__pledge li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 13px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--tp-line);
  font-size: 15px;
}

.tp-model__pledge li:last-child { border-bottom: 0; }
.tp-model__pledge svg { width: 18px; height: 18px; color: var(--tp-accent); margin-top: 3px; }

.tp-model__pledge b {
  font-family: var(--tp-mono);
  font-size: 13px;
  display: block;
  margin-bottom: 3px;
}

.tp-model__pledge span { color: var(--tp-ink-mid); font-size: 14.5px; }

@media (min-width: 900px) {
  .tp-model__grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- footer ---------- */

.tp-colophon {
  border-top: 1px solid var(--tp-line-ink);
  padding-block: clamp(36px, 5vw, 56px) 28px;
  background: var(--tp-paper);
}

.tp-colophon__grid {
  display: grid;
  gap: 30px;
}

.tp-colophon__brand {
  font-family: var(--tp-mono);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tp-ink);
  text-decoration: none;
  display: inline-block;
}

.tp-colophon__brand span { color: var(--tp-accent); }
.tp-colophon__brand:hover { text-decoration: none; }

.tp-colophon__about {
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--tp-ink-soft);
  max-width: 46ch;
}

.tp-colophon__head {
  font-family: var(--tp-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--tp-ink);
  margin: 0 0 14px;
}

.tp-colophon__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14.5px;
}

.tp-colophon__list li { margin-bottom: 9px; }
.tp-colophon__list a { color: var(--tp-ink); text-decoration: none; }
.tp-colophon__list a:hover { color: var(--tp-accent); text-decoration: underline; }

.tp-colophon__mail a { color: var(--tp-accent); }

.tp-colophon__base {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--tp-line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--tp-ink-soft);
}

.tp-colophon__base p { margin: 0; max-width: 78ch; }

@media (min-width: 800px) {
  .tp-colophon__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

/* ---------- top button + cookie bar ---------- */

.tp-topjump {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--tp-paper);
  border: 1px solid var(--tp-line-ink);
  color: var(--tp-ink);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.tp-topjump.is-on { opacity: 1; visibility: visible; }
.tp-topjump:hover { color: var(--tp-accent); border-color: var(--tp-accent); }
.tp-topjump svg { width: 17px; height: 17px; }

.tp-cookiebar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  background: var(--tp-paper);
  border-top: 1px solid var(--tp-line-ink);
  padding: 16px 0;
}

.tp-cookiebar[hidden] { display: none; }

.tp-cookiebar__inner {
  display: grid;
  gap: 14px;
  align-items: center;
}

.tp-cookiebar__text {
  font-size: 14px;
  color: var(--tp-ink-mid);
  margin: 0;
  max-width: 82ch;
}

.tp-cookiebar__cues { display: flex; flex-wrap: wrap; gap: 10px; }

@media (min-width: 900px) {
  .tp-cookiebar__inner { grid-template-columns: 1fr auto; }
}

/* ---------- legal pages ---------- */

.tp-legal { padding-block: clamp(36px, 5vw, 62px); }

.tp-legal__title { font-size: clamp(26px, 3.6vw, 40px); }

.tp-legal__stamp {
  font-family: var(--tp-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tp-ink-soft);
  margin: 16px 0 0;
}

.tp-legal__body { margin-top: clamp(26px, 4vw, 40px); }

.tp-legal__body h2 {
  font-size: 18px;
  margin: 34px 0 12px;
  padding-top: 18px;
  border-top: 1px solid var(--tp-line);
}

.tp-legal__body h3 { font-size: 15px; margin: 22px 0 8px; }

.tp-legal__body p,
.tp-legal__body li {
  color: var(--tp-ink-mid);
  font-size: 15.5px;
  max-width: 84ch;
}

.tp-legal__body li { margin-bottom: 8px; }

.tp-legal__back { margin-top: 34px; }

.tp-legal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  margin: 16px 0;
}

.tp-legal__table th,
.tp-legal__table td {
  border: 1px solid var(--tp-line);
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
  color: var(--tp-ink-mid);
}

.tp-legal__table th {
  font-family: var(--tp-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--tp-ink);
}

.tp-legal__wrap { overflow-x: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
