/* /help: search hero + topic chips (Walter/Verva help centers), popular cards, grouped accordions (GPTZero FAQ) */
.help-hero { padding-bottom: 36px; }
.help-hero h1 { max-width: none; }
.hsearch { position: relative; max-width: 640px; margin: 28px auto 0; display: flex; align-items: center; background: #fff; border: 1px solid #ddd6f0; border-radius: 16px; box-shadow: 0 24px 50px -30px rgba(76, 29, 149, .45), 0 1px 2px rgba(15, 20, 25, .04); transition: border-color .2s, box-shadow .2s; }
.hsearch:focus-within { border-color: #a78bfa; box-shadow: 0 24px 50px -30px rgba(76, 29, 149, .55), 0 0 0 4px rgba(124, 58, 237, .14); }
.hsearch svg { position: absolute; left: 18px; width: 20px; height: 20px; color: #8b84a3; pointer-events: none; }
.hsearch input { flex: 1; min-width: 0; height: 58px; border: 0; background: transparent; padding: 0 52px 0 50px; font: 17px var(--font); color: var(--fg); border-radius: 16px; }
.hsearch input:focus { outline: none; }
.hsearch input::-webkit-search-cancel-button { cursor: pointer; }
.hsearch kbd { position: absolute; right: 14px; font: 600 12px var(--mono); color: #8b84a3; border: 1px solid #e3def0; border-bottom-width: 2px; border-radius: 6px; padding: 2px 7px; background: #faf9fd; }
.hsearch input:not(:placeholder-shown) ~ kbd { display: none; }
.hchips { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; max-width: 860px; margin: 22px auto 0; }
.hchips button { font: 600 14px var(--font); color: #4a4f5a; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.hchips button:hover { border-color: #cfc3f5; color: var(--fg); }
.hchips button[aria-pressed="true"] { background: #0b0d10; border-color: #0b0d10; color: #fff; }
.hchips button .n { margin-left: 6px; font: 500 12px var(--mono); opacity: .6; }
.hcount { min-height: 1.4em; margin-top: 16px; color: var(--muted); font-size: 14.5px; }

/* topic colours */
.c-start { --c: #0d6a45; --cs: #e2f4ea; }
.c-humanizer { --c: #7c3aed; --cs: #f3e8ff; }
.c-detector { --c: #0b6e78; --cs: #e6f6f7; }
.c-watermarks { --c: #db2777; --cs: #fdeef6; }
.c-images { --c: #2563eb; --cs: #eaf1ff; }
.c-claude { --c: #c2410c; --cs: #fbefe9; }
.c-billing { --c: #b45309; --cs: #fff3dc; }
.c-privacy { --c: #334155; --cs: #eef2f6; }

/* Popular */
.help-pop { padding-block: 8px 24px; }
.pop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1000px; margin: 0 auto; }
.pop-card { display: grid; gap: 10px; align-content: start; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.pop-card:hover { transform: translateY(-3px); border-color: #ddd3f7; box-shadow: 0 20px 40px -28px rgba(76, 29, 149, .45); }
.pop-card b { font-size: 16.5px; letter-spacing: -0.01em; line-height: 1.35; }
.pc-cat { justify-self: start; font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--c); background: var(--cs); border-radius: 999px; padding: 4px 9px; }
.searching .help-pop, .filtered .help-pop { display: none; }

/* Groups */
.help-body { padding-block: 40px 40px; }
.help-wrap { max-width: 860px; }
.hgroup { padding-top: 34px; scroll-margin-top: 90px; }
.hgroup[hidden] { display: none; }
.hg-head { display: flex; align-items: center; gap: 12px; padding-bottom: 6px; }
.hg-head h2 { font-size: 24px; letter-spacing: -0.025em; text-align: left; margin: 0; }
.hg-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--cs); color: var(--c); flex: none; }
.hg-ic svg { width: 19px; height: 19px; fill: currentColor; }
.hg-n { margin-left: auto; font: 500 12.5px var(--mono); color: var(--faint); }
.hgroup .acc { margin-top: 10px; }
.hgroup details { scroll-margin-top: 96px; }
.hgroup details[hidden] { display: none; }
.hgroup summary mark { background: #fde68a; color: inherit; border-radius: 3px; padding: 0 1px; box-shadow: none; }
.hgroup details.flash { animation: flash 1.8s ease; }
@keyframes flash { 0%, 40% { background: #f5f0ff; } 100% { background: transparent; } }
.art-tools { display: flex; gap: 10px; align-items: center; margin-top: 2px; }
.art-tools .copy-btn { font-size: 12.5px; padding: 6px 9px; }
.hempty { text-align: center; padding: 40px 20px; border: 1px dashed var(--line); border-radius: 18px; display: grid; gap: 6px; }
.hempty b { font-size: 18px; }
.hempty p { color: var(--muted); }

/* Still looking */
.help-more h2 { text-align: center; font-size: clamp(24px, 3vw, 32px); }
.more3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1000px; margin: 26px auto 0; }
.more-card { display: grid; gap: 6px; align-content: start; text-decoration: none; border: 1px solid var(--line); border-radius: 18px; padding: 20px; background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.more-card:hover { transform: translateY(-3px); border-color: #ddd3f7; box-shadow: 0 20px 40px -28px rgba(76, 29, 149, .45); }
.more-card b { font-size: 17px; }
.more-card > span:last-child { color: var(--muted); font-size: 14.5px; }
.mc-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--cs); color: var(--c); margin-bottom: 4px; }
.mc-ic svg { width: 18px; height: 18px; fill: currentColor; }
.help-more + .cta-band { padding-top: 24px; }

.hfab { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; font: 600 14.5px var(--font); color: #fff; background: #0b0d10; border: 0; border-radius: 999px; padding: 12px 16px; box-shadow: 0 16px 30px -12px rgba(11, 13, 16, .55); cursor: pointer; animation: fabin .25s ease; }
.hfab svg { width: 18px; height: 18px; }
.hfab:hover { background: #23262d; }
@keyframes fabin { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 860px) {
  .pop-grid, .more3 { grid-template-columns: minmax(0, 1fr); }
  .pop-grid { gap: 10px; }
  .pop-card { padding: 14px 16px; }
}
@media (max-width: 760px) {
  .hchips { gap: 6px; }
  .hchips button { padding: 7px 11px; font-size: 13.5px; }
  .pop-card:nth-child(n+4) { display: none; }
  .hsearch input { height: 54px; font-size: 16px; }
  .hsearch kbd { display: none; }
  .hg-head h2 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { .hgroup details.flash { animation: none; } }
