/* Thicket Pulse — help center */

.tp-help {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem) 6rem;
}

.tp-help__mast {
  position: relative;
  margin-bottom: 1.75rem;
  padding: 1.6rem 1.5rem 1.7rem;
  border-radius: var(--tp-radius);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(31, 74, 56, 0.96), rgba(21, 36, 28, 0.92));
  color: #eef6f0;
  box-shadow: var(--tp-shadow);
}

.tp-help__mast::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 140%;
  background: radial-gradient(circle, rgba(46, 184, 176, 0.28), transparent 55%);
  pointer-events: none;
}

.tp-help__mast > * { position: relative; z-index: 1; }

.tp-help__mast .tp-kicker { color: var(--tp-vein); }

.tp-help__mast h1 {
  margin: 0.35rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.tp-help__mast p {
  margin: 0 0 1.15rem;
  max-width: 46ch;
  color: rgba(238, 246, 240, 0.82);
  line-height: 1.5;
}

.tp-help__scan {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.tp-help__scan-field {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.3s ease;
}

.tp-help__scan-field.is-live {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(46, 184, 176, 0.55);
  box-shadow: 0 0 0 4px rgba(46, 184, 176, 0.12);
}

.tp-help__scan-field input {
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  outline: none;
}

.tp-help__scan-field input::placeholder { color: rgba(238, 246, 240, 0.55); }

.tp-help__scan-clear {
  appearance: none;
  border: 0;
  min-height: 3rem;
  padding: 0 1rem;
  border-radius: 999px;
  background: var(--tp-flare);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: transform 0.3s var(--tp-snap);
}

.tp-help__scan-clear:hover { transform: translateY(-2px); }

.tp-help__lanes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.tp-help__lane {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1.5px solid var(--tp-line);
  background: var(--tp-panel);
  color: var(--tp-mute);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform 0.3s var(--tp-snap), background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.3s ease;
}

.tp-help__lane:hover {
  transform: translateY(-2px);
  color: var(--tp-ink);
  border-color: rgba(46, 184, 176, 0.4);
}

.tp-help__lane.is-active {
  background: var(--tp-pine);
  color: #f5fff7;
  border-color: var(--tp-pine);
  box-shadow: 0 10px 20px rgba(31, 74, 56, 0.2);
}

.tp-help__lane-code {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.68rem;
}

.tp-help__lane.is-active .tp-help__lane-code {
  background: rgba(255, 255, 255, 0.18);
}

.tp-help__meta {
  margin: 0 0 1rem;
  color: var(--tp-mute);
  font-size: 0.88rem;
}

.tp-help__meta strong {
  color: var(--tp-pine);
  font-family: var(--font-display);
}

.tp-help__empty {
  margin: 0 0 1rem;
  padding: 1rem;
  border-radius: var(--tp-radius-sm);
  background: rgba(255, 92, 43, 0.08);
  border: 1px dashed rgba(255, 92, 43, 0.35);
  color: var(--tp-ink);
}

.tp-help__stream {
  display: grid;
  gap: 0.65rem;
}

.tp-faq {
  border-radius: var(--tp-radius-sm);
  background: var(--tp-panel);
  border: 1px solid var(--tp-line);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.35s ease, transform 0.3s var(--tp-snap);
}

.tp-faq[open],
.tp-faq.is-open {
  border-color: rgba(46, 184, 176, 0.4);
  box-shadow: 0 14px 28px rgba(21, 36, 28, 0.07);
  transform: translateY(-2px);
}

.tp-faq summary {
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.95rem 1rem;
  cursor: pointer;
}

.tp-faq summary::-webkit-details-marker { display: none; }

.tp-faq__code {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  background: var(--tp-meadow);
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 0.75rem;
  color: var(--tp-pine);
}

.tp-faq__q {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.tp-faq__chev {
  width: 0.65rem;
  height: 0.65rem;
  border-right: 2px solid var(--tp-mute);
  border-bottom: 2px solid var(--tp-mute);
  transform: rotate(45deg);
  transition: transform 0.3s var(--tp-snap), border-color 0.25s ease;
}

.tp-faq[open] .tp-faq__chev,
.tp-faq.is-open .tp-faq__chev {
  transform: rotate(225deg);
  border-color: var(--tp-flare);
}

.tp-faq__body {
  padding: 0 1rem 1.05rem 3.55rem;
  color: var(--tp-mute);
  line-height: 1.55;
  font-size: 0.92rem;
}

.tp-faq__body a {
  color: var(--tp-pine);
  font-weight: 600;
}

.tp-help__hints {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
}

.tp-help__hint {
  padding: 1rem 1.05rem;
  border-radius: var(--tp-radius-sm);
  background: var(--tp-meadow);
  border: 1px solid var(--tp-line);
  transition: transform 0.3s var(--tp-snap), border-color 0.25s ease;
}

.tp-help__hint:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 92, 43, 0.35);
}

.tp-help__hint strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
  color: var(--tp-flare);
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.tp-help__hint p {
  margin: 0;
  color: var(--tp-mute);
  font-size: 0.88rem;
}

.tp-help__policies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin-bottom: 1rem;
}

.tp-help__policies a {
  color: var(--tp-mute);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 650;
  transition: color 0.2s ease;
}

.tp-help__policies a:hover { color: var(--tp-flare); }

.tp-help__foot {
  color: var(--tp-mute);
  font-size: 0.8rem;
}

.tp-help-beacon {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 70;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  max-width: min(34rem, calc(100vw - 2rem));
  padding: 0.9rem 1rem;
  border-radius: var(--tp-radius);
  background: var(--tp-panel);
  border: 1px solid var(--tp-line);
  box-shadow: 0 18px 40px rgba(21, 36, 28, 0.14);
}

.tp-help-beacon__copy p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--tp-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-display);
  font-weight: 700;
}

.tp-help-beacon__copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.tp-help-beacon__copy span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: var(--tp-mute);
  line-height: 1.35;
}

.tp-help-beacon__actions {
  display: flex;
  gap: 0.45rem;
  margin-left: auto;
}

.tp-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 720px) {
  .tp-help__hints { grid-template-columns: 1fr; }
  .tp-help-beacon {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 5.5rem;
  }
  .tp-faq__body { padding-left: 1rem; }
}
