/* Self-contained stylesheet for /help — same convention as legal.css (each page type owns its
   own complete stylesheet rather than layering on styles.css; tokens are duplicated, not
   shared, across these files). */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Show/hide toggle target for help.js — inline style="display:..." is blocked by the strict
   CSP (no style-src 'unsafe-inline'), so visibility must go through this class instead of
   element.style.display. */
.hidden { display: none !important; }

:root {
  --navy:        #1B2A4A;
  --navy-dark:   #17273A;
  --navy-surface:#223454;
  --gold:        #D4A34A;
  --gold-hi:     #F1C45E;
  --gold-border: rgba(212,163,74,0.18);
  --text-primary:#F5F7FA;
  --text-secondary:#B8C2D1;
}

body {
  background: var(--navy-dark);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  padding: 40px 24px 80px;
}

.container { max-width: 720px; margin: 0 auto; }
.header { margin-bottom: 40px; }

.logo-row { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; text-decoration: none; }

.logo { width: 40px; height: 40px; }
.logo svg { display: block; width: 100%; height: 100%; }

.logo .s {
  fill: none;
  stroke: var(--gold);
  stroke-width: 34;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo .f { fill: var(--gold); stroke: none; }

.logo-text { font-weight: 700; font-size: 18px; color: var(--gold); }

h1 { font-size: 32px; font-weight: 700; margin-bottom: 12px; color: var(--text-primary); }

.help-intro {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  max-width: 560px;
}

.help-search-input {
  display: block;
  margin-top: 24px;
  width: 100%;
  max-width: 360px;
  padding: 0.65rem 1rem;
  background: var(--navy-surface);
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
}

.help-search-input::placeholder { color: var(--text-secondary); }
.help-search-input:focus { outline: none; border-color: var(--gold); }

hr { border: none; border-top: 1px solid var(--gold-border); margin: 32px 0; }

.help-section { margin-bottom: 40px; }
.help-section:last-of-type { margin-bottom: 0; }

.help-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}

.help-article {
  background: var(--navy-surface);
  border: 1px solid var(--gold-border);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.help-article:last-child { margin-bottom: 0; }

.help-article h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.help-article p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.help-article p:last-child { margin-bottom: 0; }

.help-search-empty {
  color: var(--text-secondary);
  font-size: 14px;
  text-align: center;
  padding: 1rem 0 2rem;
}

.help-footer {
  color: var(--text-secondary);
  font-size: 13px;
  opacity: 0.7;
}

.help-footer a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.help-footer a:hover { color: var(--text-primary); }
