/* Coplost Enterprises — help center (help-center.php)
   Greenhouse + foil desk; gx tokens bridged in a67-theme.css */

.page-help.sig-help {
  --sig-chlor: var(--gx-chlor, #2f9e6b);
  --sig-pollen: var(--gx-pollen, #e8a317);
  --sig-foil-chrome: linear-gradient(145deg, #e8e2d4 0%, #f7f4ec 35%, #c9b896 70%, #efe9dc 100%);
  --sig-max: min(74rem, calc(100% - 2rem));
}

.page-help.sig-help.a67-body {
  margin: 0;
  background: transparent;
}

.page-help .a67-root-bare,
.page-help .a67-main {
  padding: 0;
  overflow: visible;
}

.a67-body:has(.gx-dial).page-help .sig-world {
  padding-bottom: clamp(5.5rem, 14vh, 7rem);
}

.sig-world {
  position: relative;
  isolation: isolate;
  width: var(--sig-max);
  max-width: 100%;
  margin-inline: auto;
  min-height: 100vh;
  padding: clamp(0.85rem, 2vw, 1.25rem) clamp(1rem, 3vw, 1.75rem) clamp(3rem, 8vh, 4.5rem);
  overflow-x: clip;
}

/* Sky — .sig-sky colours overridden in a67-theme.css */
.sig-sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.sig-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(52px);
  opacity: 0.42;
  animation: sig-drift 16s ease-in-out infinite alternate;
}

.sig-glow-a {
  width: min(42vw, 26rem);
  height: min(42vw, 26rem);
  top: -10%;
  right: -8%;
  background: rgba(232, 163, 23, 0.22);
}

.sig-glow-b {
  width: min(36vw, 22rem);
  height: min(36vw, 22rem);
  bottom: 8%;
  left: -10%;
  background: rgba(47, 158, 107, 0.2);
  animation-delay: -5s;
}

.sig-foil {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image:
    linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.42) 50%, transparent 60%),
    linear-gradient(rgba(13, 31, 24, 0.028) 1px, transparent 1px);
  background-size: 100% 100%, 52px 52px;
  mask-image: radial-gradient(ellipse 72% 58% at 42% 18%, #000 12%, transparent 78%);
}

/* Topbar */
.sig-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.35rem;
  animation: sig-rise 0.5s var(--sig-ease, ease) both;
}

.sig-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
}

.sig-mark-seal {
  width: 2.45rem;
  height: 2.45rem;
  display: grid;
  place-items: center;
  font-family: var(--sig-sans);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: 0.55rem 1.1rem 0.55rem 1.1rem;
  transition: transform 0.35s var(--sig-spring, ease);
}

.sig-mark:hover .sig-mark-seal {
  transform: translateY(-2px) rotate(-6deg);
}

.sig-mark-name {
  font-family: var(--sig-display);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sig-top-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
}

.sig-top-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--sig-slate);
  text-decoration: none;
  transition: color 0.2s;
}

.sig-top-nav a:hover {
  color: var(--sig-ink);
}

.sig-top-cta {
  padding: 0.48rem 0.95rem !important;
  border-radius: 999px;
  background: var(--gx-void, #07140f) !important;
  color: #f3f8f5 !important;
  font-weight: 700 !important;
}

.sig-top-cta:hover {
  background: var(--sig-chlor) !important;
}

/* Hero */
.sig-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.25rem 2rem;
  align-items: end;
  margin-bottom: 1.35rem;
  animation: sig-rise 0.5s var(--sig-ease, ease) 0.04s both;
}

.sig-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sig-slate);
}

.sig-hero h1 {
  margin: 0;
  font-family: var(--sig-display);
  font-size: clamp(2.2rem, 5.5vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.sig-lede {
  margin: 0.65rem 0 0;
  max-width: 36rem;
  color: var(--sig-slate);
  font-size: 1rem;
  line-height: 1.55;
}

/* Search */
.sig-search {
  min-width: 0;
}

.sig-search-shell {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--sig-line);
  box-shadow: 0 12px 32px rgba(7, 20, 15, 0.06);
  backdrop-filter: blur(12px);
  transition: border-color 0.2s, box-shadow 0.25s;
}

.sig-search-shell:focus-within {
  border-color: rgba(47, 158, 107, 0.45);
  box-shadow:
    0 0 0 3px rgba(47, 158, 107, 0.12),
    0 16px 36px rgba(7, 20, 15, 0.08);
}

.sig-search-ico {
  color: var(--sig-slate);
  flex-shrink: 0;
}

.sig-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--sig-ink);
  outline: none;
}

.sig-search input::placeholder {
  color: var(--sig-slate);
  opacity: 0.85;
}

.sig-kbd {
  display: grid;
  place-items: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.35rem;
  border-radius: 0.4rem;
  background: var(--sig-fog);
  border: 1px solid var(--sig-line);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--sig-slate);
}

.sig-search-meta {
  margin: 0.5rem 0 0 0.15rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sig-slate);
}

/* Topic chips */
.sig-satellites {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  animation: sig-rise 0.5s var(--sig-ease, ease) 0.08s both;
}

.sig-sat {
  appearance: none;
  border: 1px solid var(--sig-line);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 1rem;
  padding: 0.8rem 0.85rem;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition:
    transform 0.25s var(--sig-spring, ease),
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.25s;
}

.sig-sat em {
  display: block;
  font-style: normal;
  font-family: var(--sig-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.sig-sat span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sig-slate);
  line-height: 1.35;
}

.sig-sat:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(7, 20, 15, 0.06);
}

.sig-sat.is-on {
  background: var(--gx-void, #07140f);
  border-color: var(--gx-void, #07140f);
  color: #f3f8f5;
  box-shadow: 0 12px 28px rgba(7, 20, 15, 0.14);
}

.sig-sat.is-on span {
  color: rgba(243, 248, 245, 0.78);
}

.sig-sat.tone-rose.is-on,
.sig-sat.tone-teal.is-on {
  background: var(--sig-chlor);
  border-color: var(--sig-chlor);
}

.sig-sat.tone-amber.is-on {
  background: var(--sig-pollen);
  border-color: var(--sig-pollen);
  color: var(--gx-void, #07140f);
}

.sig-sat.tone-amber.is-on span {
  color: rgba(7, 20, 15, 0.72);
}

.sig-sat.tone-sky.is-on {
  background: var(--gx-steel, #2d6a5c);
  border-color: var(--gx-steel, #2d6a5c);
}

/* Main */
.sig-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 18.5rem);
  gap: 1.1rem;
  align-items: start;
}

.sig-conduit {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

/* FAQ cards */
.sig-card {
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--sig-line);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.3s, transform 0.25s;
  animation: sig-rise 0.45s var(--sig-ease, ease) both;
  animation-delay: calc(0.06s + var(--i, 0) * 28ms);
}

.sig-card.is-hidden {
  display: none;
}

.sig-card.is-open {
  border-color: rgba(47, 158, 107, 0.35);
  box-shadow: 0 14px 32px rgba(7, 20, 15, 0.08);
}

.sig-card-head {
  width: 100%;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) 1.5rem;
  gap: 0.65rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.sig-card-head:hover .sig-card-q {
  color: var(--sig-chlor);
}

.sig-card-ix {
  font-family: var(--sig-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--sig-slate);
  opacity: 0.85;
}

.sig-card.tone-rose .sig-card-ix,
.sig-card.tone-teal .sig-card-ix { color: var(--sig-chlor); opacity: 1; }
.sig-card.tone-amber .sig-card-ix { color: #9a6700; }
.sig-card.tone-sky .sig-card-ix { color: var(--gx-steel, #2d6a5c); }

.sig-card-meta {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.sig-card-topic {
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sig-slate);
}

.sig-card-q {
  font-family: var(--sig-display);
  font-weight: 650;
  font-size: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
  transition: color 0.2s;
}

.sig-card-chevron {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--sig-fog);
  position: relative;
  transition: background 0.2s, transform 0.3s var(--sig-spring, ease);
}

.sig-card-chevron::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 44%;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--sig-ink);
  border-bottom: 2px solid var(--sig-ink);
  transform: translate(-50%, -50%) rotate(45deg);
  transition: border-color 0.2s;
}

.sig-card.is-open .sig-card-chevron {
  background: var(--gx-void, #07140f);
  transform: rotate(180deg);
}

.sig-card.is-open .sig-card-chevron::before {
  border-color: #f3f8f5;
  top: 52%;
}

.sig-card-body[hidden] {
  display: none !important;
}

.sig-card-answer {
  padding: 0 1rem 1rem 3.5rem;
  color: var(--sig-slate);
  font-size: 0.93rem;
  line-height: 1.6;
}

.sig-card-answer a {
  color: var(--sig-ink);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: var(--sig-chlor);
  text-underline-offset: 0.16em;
}

.sig-card-answer a:hover {
  color: var(--sig-chlor);
}

.sig-empty {
  margin: 0;
  padding: 1.75rem 1.25rem;
  text-align: center;
  border-radius: 1.1rem;
  border: 1px dashed var(--sig-line);
  color: var(--sig-slate);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.65);
}

/* Support panel */
.sig-beacon {
  position: sticky;
  top: 1rem;
  padding: 1.25rem 1.15rem 1.35rem;
  border-radius: 1.25rem;
  background:
    radial-gradient(380px 160px at 100% 0%, rgba(47, 158, 107, 0.2), transparent 55%),
    linear-gradient(165deg, #07140f 0%, #0f2a20 100%);
  color: #f3f8f5;
  animation: sig-rise 0.5s var(--sig-ease, ease) 0.1s both;
}

.sig-beacon-status {
  margin: 0 0 0.65rem;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 248, 245, 0.75);
}

.sig-beacon-status::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: var(--sig-chlor);
  vertical-align: 0.05em;
  box-shadow: 0 0 0 0 rgba(47, 158, 107, 0.5);
  animation: sig-ping 1.8s ease-out infinite;
}

.sig-beacon h2 {
  margin: 0;
  font-family: var(--sig-display);
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.sig-beacon-copy {
  margin: 0.5rem 0 0;
  color: rgba(243, 248, 245, 0.82);
  font-size: 0.9rem;
  line-height: 1.5;
}

.sig-beacon-facts {
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.sig-beacon-facts div {
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sig-beacon-facts dt {
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(243, 248, 245, 0.72);
}

.sig-beacon-facts dd {
  margin: 0.2rem 0 0;
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.4;
  word-break: break-word;
}

.sig-beacon-facts a {
  color: #b8e6cf;
  text-decoration: none;
}

.sig-beacon-facts a:hover {
  text-decoration: underline;
}

.sig-beacon-btn {
  display: block;
  width: 100%;
  margin-top: 1.1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform 0.25s, filter 0.2s;
}

.sig-beacon-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.sig-beacon-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(243, 248, 245, 0.72);
  text-decoration: none;
}

.sig-beacon-link:hover {
  color: #b8e6cf;
}

@keyframes sig-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes sig-ping {
  0% { box-shadow: 0 0 0 0 rgba(47, 158, 107, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(47, 158, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 158, 107, 0); }
}

@keyframes sig-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-3%, 5%) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .sig-topbar,
  .sig-hero,
  .sig-satellites,
  .sig-sat,
  .sig-card,
  .sig-beacon,
  .sig-glow,
  .sig-beacon-status::before {
    animation: none !important;
  }
}

@media (max-width: 900px) {
  .sig-hero {
    grid-template-columns: 1fr;
  }

  .sig-main {
    grid-template-columns: 1fr;
  }

  .sig-beacon {
    position: static;
  }
}

@media (max-width: 640px) {
  .sig-card-answer {
    padding-left: 1rem;
  }

  .sig-card-head {
    grid-template-columns: 2rem minmax(0, 1fr) 1.35rem;
    padding: 0.85rem 0.85rem;
  }

  .sig-top-nav a:not(.sig-top-cta) {
    font-size: 0.82rem;
  }
}