/* Help center — Seed Vault Desk (unique layout) */

.page-help.a39-help-desk .page-main { padding: 0; }

.a39-help {
  --a39-desk-glow: #52B788;
  --a39-desk-bloom: #95D5B2;
  --a39-desk-cream: #FFF8EF;
  --a39-desk-ease: cubic-bezier(0.22, 1, 0.36, 1);
  background: var(--a39-desk-cream);
}

/* ── Hero ── */
.a39-help-hero {
  position: relative;
  overflow: hidden;
  padding: 3rem 0 2.5rem;
  background: linear-gradient(145deg, var(--a39-moss-dark) 0%, var(--a39-moss) 48%, #24543f 100%) !important;
  color: #fff;
}
.a39-help-hero__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background:
    radial-gradient(circle at 15% 20%, rgba(149, 213, 178, 0.35), transparent 42%),
    radial-gradient(circle at 85% 70%, rgba(184, 134, 11, 0.2), transparent 38%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Ccircle cx='6' cy='6' r='1' fill='%23ffffff' fill-opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none;
}
.a39-help-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: end;
}
.a39-help-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--a39-desk-bloom);
}
.a39-help-hero__kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--a39-desk-glow);
  box-shadow: 0 0 0 4px rgba(82, 183, 136, 0.3);
}
.a39-help-hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--a39-font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.a39-help-hero h1 em {
  font-style: normal;
  color: var(--a39-copper-light);
}
.a39-help-hero__lede {
  margin: 0 0 1.25rem;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.94) !important;
  font-size: 1.02rem;
  line-height: 1.65;
}
.a39-help-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.a39-help-hero__stats span {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.88);
}
.a39-help-hero__stats strong {
  color: #fff;
  font-weight: 700;
}

.a39-help-search label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.a39-help-search__field {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(8, 28, 21, 0.22);
}
.a39-help-search__field svg {
  width: 20px;
  height: 20px;
  color: var(--a39-moss);
  flex-shrink: 0;
}
.a39-help-search__field input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.95rem;
  color: var(--a39-ink);
  outline: none;
}
.a39-help-search__field input::placeholder { color: var(--a39-muted); }
.a39-help-search__hint {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
}
.a39-help-search__chip {
  border: 0;
  padding: 0.15rem 0.55rem;
  margin: 0 0.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.a39-help-search__chip:hover { background: rgba(255, 255, 255, 0.22); }

/* ── Body layout ── */
.a39-help-body {
  padding: 2rem 0 4rem;
}

.a39-help-rail {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(27, 67, 50, 0.1);
}
.a39-help-rail__indicator {
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--a39-moss), var(--a39-desk-glow));
  transition: transform 0.35s var(--a39-desk-ease), width 0.35s var(--a39-desk-ease);
  pointer-events: none;
}
.a39-help-rail__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--a39-muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.25s, background 0.25s, opacity 0.25s;
}
.a39-help-rail__btn:hover { color: var(--a39-moss); background: rgba(255, 255, 255, 0.7); }
.a39-help-rail__btn.is-active {
  color: var(--a39-moss);
  background: #fff;
  border-color: rgba(27, 67, 50, 0.1);
  box-shadow: 0 8px 24px rgba(26, 46, 46, 0.08);
}
.a39-help-rail__btn.is-dimmed { opacity: 0.35; }
.a39-help-rail__glyph {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(27, 67, 50, 0.08);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--a39-moss);
}
.a39-help-rail__btn.is-active .a39-help-rail__glyph {
  background: var(--a39-moss);
  color: #fff;
}

.a39-help-stage {
  position: relative;
  min-height: 320px;
}
.a39-help-empty {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: #fff3e0;
  border: 1px solid #ffcc80;
  color: #e65100;
  font-size: 0.92rem;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s, transform 0.3s;
}
.a39-help-empty.is-visible {
  opacity: 1;
  transform: none;
}
.a39-help-empty a { color: #bf360c; font-weight: 600; }

.a39-help-panel {
  display: none;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 1.5rem;
  align-items: start;
  animation: a39HelpPanelIn 0.45s var(--a39-desk-ease);
}
.a39-help-panel.is-active { display: grid; }
@keyframes a39HelpPanelIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.a39-help-spotlight {
  position: sticky;
  top: 6.5rem;
  padding: 1.5rem;
  border-radius: 22px;
  background: linear-gradient(160deg, #fff 0%, rgba(149, 213, 178, 0.15) 100%);
  border: 1px solid rgba(27, 67, 50, 0.1);
  box-shadow: 0 16px 40px rgba(26, 46, 46, 0.08);
}
.a39-help-panel[data-accent="copper"] .a39-help-spotlight {
  background: linear-gradient(160deg, #fff 0%, rgba(184, 134, 11, 0.12) 100%);
}
.a39-help-panel[data-accent="bloom"] .a39-help-spotlight {
  background: linear-gradient(160deg, #fff 0%, rgba(82, 183, 136, 0.18) 100%);
}
.a39-help-panel[data-accent="soil"] .a39-help-spotlight {
  background: linear-gradient(160deg, #fff 0%, rgba(61, 64, 91, 0.08) 100%);
}
.a39-help-spotlight__tag {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--a39-copper);
}
.a39-help-spotlight h2 {
  margin: 0 0 0.65rem;
  font-family: var(--a39-font-display);
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--a39-ink);
}
.a39-help-spotlight p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--a39-muted);
  line-height: 1.6;
}
.a39-help-spotlight__links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.a39-help-spotlight__links a {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(27, 67, 50, 0.06);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--a39-moss);
}
.a39-help-spotlight__links a:hover { background: var(--a39-moss); color: #fff; }

.a39-help-faq {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.a39-help-faq__item {
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(27, 67, 50, 0.08);
  box-shadow: 0 8px 24px rgba(26, 46, 46, 0.05);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.a39-help-faq__item[open] {
  border-color: rgba(27, 67, 50, 0.16);
  box-shadow: 0 14px 32px rgba(26, 46, 46, 0.1);
}
.a39-help-faq__item.is-match {
  border-color: var(--a39-desk-glow);
  box-shadow: 0 0 0 2px rgba(82, 183, 136, 0.2);
}
.a39-help-faq__item[hidden] { display: none; }
.a39-help-faq__item summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--a39-ink);
}
.a39-help-faq__item summary::-webkit-details-marker { display: none; }
.a39-help-faq__num {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--a39-copper);
}
.a39-help-faq__toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(27, 67, 50, 0.06);
  position: relative;
  transition: transform 0.3s var(--a39-desk-ease), background 0.3s;
}
.a39-help-faq__toggle::before,
.a39-help-faq__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  background: var(--a39-moss);
  transform: translate(-50%, -50%);
}
.a39-help-faq__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.3s var(--a39-desk-ease);
}
.a39-help-faq__item[open] .a39-help-faq__toggle {
  background: var(--a39-moss);
  transform: rotate(180deg);
}
.a39-help-faq__item[open] .a39-help-faq__toggle::before,
.a39-help-faq__item[open] .a39-help-faq__toggle::after { background: #fff; }
.a39-help-faq__item[open] .a39-help-faq__toggle::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }
.a39-help-faq__a {
  padding: 0 1.15rem 1.15rem 3.35rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--a39-muted);
}
.a39-help-faq__a a { font-weight: 600; }

/* ── Action tiles ── */
.a39-help-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.a39-help-action {
  padding: 1.35rem 1.25rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(27, 67, 50, 0.08);
  box-shadow: 0 12px 28px rgba(26, 46, 46, 0.06);
  transition: transform 0.3s var(--a39-desk-ease), box-shadow 0.3s;
}
.a39-help-action:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(26, 46, 46, 0.1);
}
.a39-help-action--contact {
  background: linear-gradient(145deg, #fff, rgba(149, 213, 178, 0.12));
}
.a39-help-action--pay {
  background: linear-gradient(145deg, #fff, rgba(184, 134, 11, 0.1));
}
.a39-help-action--policy {
  background: linear-gradient(145deg, #fff, rgba(27, 67, 50, 0.06));
}
.a39-help-action__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0.75rem;
  border-radius: 12px;
  background: rgba(27, 67, 50, 0.08);
  color: var(--a39-moss);
}
.a39-help-action__icon svg { width: 22px; height: 22px; }
.a39-help-action h3 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--a39-ink);
}
.a39-help-action p {
  margin: 0 0 0.45rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--a39-muted);
}
.a39-help-action__meta {
  font-size: 0.82rem !important;
  color: var(--a39-ink) !important;
  opacity: 0.75;
}
.a39-help-action__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.a39-help-action__links a {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(27, 67, 50, 0.06);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--a39-moss);
}
.a39-help-action__links a:hover { background: var(--a39-moss); color: #fff; }

@media (max-width: 900px) {
  .a39-help-hero__inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .a39-help-panel.is-active { grid-template-columns: 1fr; }
  .a39-help-spotlight { position: static; }
  .a39-help-actions { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .a39-help-hero { padding: 2.25rem 0 2rem; }
  .a39-help-rail { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.85rem; -webkit-overflow-scrolling: touch; }
  .a39-help-rail__btn { flex-shrink: 0; }
  .a39-help-faq__a { padding-left: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  .a39-help-panel.is-active { animation: none; }
  .a39-help-rail__indicator { transition: none; }
}
