/* Gita public help surfaces. Keep this separate from the signed-in app shell. */
*, *::before, *::after { box-sizing: border-box; }

.help-page .legal-hero { padding-bottom: 2.6rem; }
.help-page .legal-hero p { max-width: 700px; }
.help-shell {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
.help-toc {
  position: sticky;
  top: 76px;
  padding: 1rem;
  border: 1px solid var(--rdm-border);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  
}
.help-toc h2 {
  margin: 0 0 .65rem;
  color: var(--gita-text);
  font-size: .72rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.help-toc a {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .46rem .55rem;
  border-radius: 8px;
  color: var(--rdm-text-muted);
  font-size: .8rem;
  text-decoration: none;
  transition: background .16s ease, color .16s ease;
}
.help-toc a:hover, .help-toc a:focus-visible { color: var(--gita-text); background: var(--gita-card-elev); }
.help-toc i { width: 15px; text-align: center; color: var(--rdm-rose-light); }
.help-content { min-width: 0; }
.help-section { scroll-margin-top: 88px; margin: 0 0 2.2rem; }
.help-section > h2 {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 .9rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--rdm-border);
  color: var(--gita-text);
  font-size: 1.2rem;
  letter-spacing: -.02em;
}
.help-section > h2 i { color: var(--rdm-rose-light); font-size: .95rem; }
.help-lead { margin: 0 0 1rem; color: var(--rdm-text-muted); font-size: .92rem; }
.help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.help-card {
  min-width: 0;
  padding: 1.05rem 1.15rem;
  border: 1px solid var(--rdm-border);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
}
.help-card h3 { display: flex; align-items: center; gap: .5rem; margin: 0 0 .45rem; color: var(--gita-text); font-size: .94rem; }
.help-card h3 i { color: var(--rdm-gold); font-size: .85rem; }
.help-card p, .help-card li { color: var(--rdm-text-muted); font-size: .86rem; line-height: 1.65; }
.help-card p { margin: 0; }
.help-card ul, .help-card ol { margin: .25rem 0 0; padding-left: 1.2rem; }
.help-card li { margin: .3rem 0; }
.help-card strong { color: var(--gita-text); }
.help-card a, .help-content a { color: var(--rdm-rose-light); }
.help-callout {
  margin-bottom: .9rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(245,158,11,.22);
  border-radius: 13px;
  background: rgba(245,158,11,.07);
  color: #fcd34d;
  font-size: .86rem;
  line-height: 1.65;
}
.help-callout i { margin-right: .45rem; }
.help-steps { display: grid; gap: .65rem; counter-reset: help-step; }
.help-step { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: .75rem; align-items: start; }
.help-step::before {
  counter-increment: help-step;
  content: counter(help-step);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--rdm-rose), #9333ea);
  font-size: .78rem;
  font-weight: 800;
}
.help-step h3 { margin: .05rem 0 .18rem; color: var(--gita-text); font-size: .9rem; }
.help-step p { margin: 0; color: var(--rdm-text-muted); font-size: .84rem; line-height: 1.6; }
.help-faq { display: grid; gap: .55rem; }
.help-faq details { border: 1px solid var(--rdm-border); border-radius: 11px; background: rgba(255,255,255,.025); }
.help-faq summary { cursor: pointer; padding: .85rem 1rem; color: var(--gita-text); font-size: .88rem; font-weight: 700; list-style: none; }
.help-faq summary::-webkit-details-marker { display: none; }
.help-faq summary::after { content: '+'; float: right; color: var(--rdm-text-muted); font-size: 1.05rem; font-weight: 400; }
.help-faq details[open] summary::after { content: '−'; }
.help-faq .faq-answer { padding: 0 1rem 1rem; color: var(--rdm-text-muted); font-size: .84rem; line-height: 1.65; }
.help-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .85rem; }
.help-action {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .58rem .85rem;
  border: 1px solid var(--rdm-border);
  border-radius: 10px;
  color: var(--gita-text) !important;
  background: rgba(255,255,255,.055);
  font-size: .8rem;
  text-decoration: none;
}
.help-action.primary { border-color: rgba(220,38,38,.35); background: rgba(220,38,38,.13); color: #ff9a9f !important; }
.help-action:hover, .help-action:focus-visible { background: rgba(255,255,255,.1); }
.help-contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .75rem; }
.help-contact-card { padding: 1rem; border: 1px solid var(--rdm-border); border-radius: 12px; background: rgba(255,255,255,.035); }
.help-contact-card i { color: var(--rdm-rose-light); font-size: 1.05rem; }
.help-contact-card h3 { margin: .55rem 0 .25rem; color: var(--gita-text); font-size: .9rem; }
.help-contact-card p { margin: 0; color: var(--rdm-text-muted); font-size: .82rem; line-height: 1.6; }
.help-meta { margin: 0 0 1.25rem; color: var(--rdm-text-faint); font-size: .76rem; text-align: center; }
@media (max-width: 780px) {
  .help-shell { width: min(100% - 1.8rem, 680px); grid-template-columns: 1fr; gap: 1rem; padding-top: 1.2rem; }
  .help-toc { position: static; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .15rem .35rem; }
  .help-toc h2 { grid-column: 1 / -1; }
  .help-grid, .help-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .help-shell { width: min(100% - 1.2rem, 680px); }
  .help-toc { grid-template-columns: 1fr; }
  .help-card { padding: .95rem; }
}
