:root {
  --help-ink: #171133;
  --help-muted: #655f7c;
  --help-purple: #6848e8;
  --help-lilac: #f2efff;
  --help-paper: #faf9ff;
  --help-line: #e8e3f4;
  --help-yellow: #ffce00;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  color: var(--help-ink);
  background: var(--help-paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; }
.help-shell { width: min(920px, calc(100% - 40px)); margin-inline: auto; }
.help-skip {
  position: fixed;
  z-index: 10;
  top: 10px;
  left: 10px;
  padding: 9px 13px;
  border-radius: 8px;
  color: var(--help-ink);
  background: var(--help-yellow);
  transform: translateY(-150%);
}
.help-skip:focus { transform: translateY(0); }
.help-header {
  position: sticky;
  z-index: 5;
  top: 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
  color: #fff;
  background: rgba(21, 13, 62, .97);
  backdrop-filter: blur(12px);
}
.help-header-inner {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.help-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.help-brand img { width: 112px; filter: brightness(0) invert(1); }
.help-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.help-nav a {
  padding: 7px 10px;
  border-radius: 8px;
  color: rgba(255,255,255,.9);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}
.help-nav a:hover, .help-nav a[aria-current="page"] { color: #231454; background: var(--help-yellow); }
.help-main { padding-top: clamp(30px, 7vw, 72px); padding-bottom: 60px; }
.help-hero {
  padding: clamp(25px, 6vw, 54px);
  border-radius: 26px;
  color: #fff;
  background: radial-gradient(circle at 88% 15%, rgba(157,138,255,.55), transparent 30%), linear-gradient(135deg, #24105f, #6848e8);
  box-shadow: 0 18px 42px rgba(45, 28, 115, .14);
}
.help-eyebrow {
  margin: 0 0 12px;
  color: #ffdf58;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.help-hero h1 { margin: 0; font-size: clamp(2.1rem, 7vw, 3.7rem); line-height: 1.08; letter-spacing: -.045em; }
.help-hero .help-intro { max-width: 680px; margin: 16px 0 0; color: rgba(255,255,255,.9); font-size: clamp(1rem, 2.5vw, 1.12rem); }
.language-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px;
  padding: 11px;
  border: 1px solid var(--help-line);
  border-radius: 16px;
  background: #fff;
}
.language-bar-label { align-self: center; margin: 0 7px 0 4px; color: var(--help-muted); font-size: .82rem; font-weight: 700; }
.language-button {
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--help-muted);
  background: transparent;
  font-size: .9rem;
  font-weight: 750;
  cursor: pointer;
  touch-action: manipulation;
}
.language-button:hover { border-color: #d9d0ff; color: var(--help-purple); background: #f8f6ff; }
.language-button[aria-pressed="true"] { color: #fff; background: var(--help-purple); }
.help-section-title { margin: 34px 0 14px; font-size: clamp(1.25rem, 4vw, 1.55rem); line-height: 1.25; letter-spacing: -.02em; }
.steps-list { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; counter-reset: help-step; }
.step-card, .faq-group, .help-note {
  border: 1px solid var(--help-line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(41, 27, 93, .045);
}
.step-card { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 15px; padding: clamp(17px, 4vw, 24px); counter-increment: help-step; }
.step-number {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 13px;
  color: var(--help-purple);
  background: var(--help-lilac);
  font-weight: 850;
}
.step-card h2 { margin: 1px 0 7px; font-size: clamp(1.05rem, 3vw, 1.2rem); line-height: 1.3; }
.step-card p { margin: 0; color: #514b69; }
.faq-groups { display: grid; gap: 18px; }
.faq-group { padding: clamp(16px, 4vw, 23px); }
.faq-group h2 { margin: 0 0 7px; font-size: 1.2rem; line-height: 1.3; }
.faq-item { border-top: 1px solid var(--help-line); }
.faq-item:first-of-type { margin-top: 11px; }
.faq-item summary {
  position: relative;
  min-height: 54px;
  padding: 16px 32px 14px 0;
  color: var(--help-ink);
  font-weight: 750;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  touch-action: manipulation;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; top: 15px; right: 2px; color: var(--help-purple); content: "+"; font-size: 1.35rem; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 0 15px; color: #514b69; }
.faq-answer p { margin: 0; }
.help-note { margin-top: 20px; padding: 18px 20px; border-left: 4px solid var(--help-yellow); color: #403957; background: #fffdf3; }
.help-note p { margin: 0; }
.help-footer { padding: 22px 12px 0; color: var(--help-muted); font-size: .88rem; text-align: center; }
.help-footer a { color: var(--help-purple); font-weight: 700; text-underline-offset: 3px; }

@media (max-width: 640px) {
  body { font-size: 15px; }
  .help-shell { width: min(100% - 24px, 520px); }
  .help-header-inner { min-height: 0; padding-block: 10px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .help-brand img { width: 96px; }
  .help-nav { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
  .help-nav a { min-width: 0; padding: 7px 5px; font-size: .8rem; line-height: 1.2; text-align: center; }
  .language-bar { width: 100%; }
  .help-main { padding-top: 19px; padding-bottom: 36px; }
  .help-hero { padding: 24px 20px; border-radius: 19px; }
  .help-hero h1 { font-size: clamp(2rem, 10vw, 2.7rem); }
  .language-bar { gap: 6px; margin: 12px 0 19px; padding: 9px; border-radius: 13px; }
  .language-bar-label { width: 100%; margin: 0 3px 1px; }
  .language-button { flex: 1 1 calc(50% - 6px); min-height: 42px; padding-inline: 7px; }
  .help-section-title { margin-top: 25px; }
  .steps-list { gap: 10px; }
  .step-card { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 16px 14px; border-radius: 14px; }
  .step-number { width: 36px; height: 36px; border-radius: 11px; }
  .faq-groups { gap: 12px; }
  .faq-group { padding: 15px; border-radius: 14px; }
  .faq-item summary { min-height: 50px; padding-top: 14px; padding-bottom: 13px; }
  .faq-item summary::after { top: 13px; }
  .help-note { padding: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
