:root {
  --faq-bg: #f8fafc;
  --faq-surface: #ffffff;
  --faq-text: #0f172a;
  --faq-muted: #475569;
  --faq-border: #dbeafe;
  --faq-accent: #2563eb;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body.faq-body {
  font-family: "Nunito", "Inter", system-ui, -apple-system, sans-serif;
  color: var(--faq-text);
  background: linear-gradient(180deg, #e0f2fe 0%, var(--faq-bg) 55%, #eef2ff 100%);
  min-height: 100dvh;
}

.faq-shell {
  width: min(100%, 48rem);
  margin: 0 auto;
  padding: 1rem 0.95rem 2rem;
}

.faq-top {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 0.95rem;
}

.faq-back {
  width: fit-content;
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}

.faq-title {
  margin: 0;
  font-size: clamp(1.35rem, 5.8vw, 1.9rem);
  line-height: 1.2;
}

.faq-lead {
  margin: 0;
  color: var(--faq-muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.faq-list {
  display: grid;
  gap: 0.62rem;
}

.faq-item {
  margin: 0;
  border: 1px solid var(--faq-border);
  background: var(--faq-surface);
  border-radius: 0.9rem;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.08);
  overflow: hidden;
}

.faq-q {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1.45;
  color: var(--faq-text);
  padding: 0.85rem 0.9rem;
  display: flex;
  gap: 0.7rem;
  justify-content: space-between;
  align-items: center;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q::after {
  content: "+";
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.faq-item[open] .faq-q::after {
  content: "-";
}

.faq-a {
  margin: 0;
  padding: 0 0.9rem 0.92rem;
  color: var(--faq-muted);
  font-size: 0.89rem;
  line-height: 1.58;
}

.faq-bottom {
  margin-top: 0.95rem;
  border-radius: 0.9rem;
  border: 1px solid var(--faq-border);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.08);
  padding: 0.9rem;
  display: grid;
  gap: 0.65rem;
}

.faq-bottom p {
  margin: 0;
  color: var(--faq-muted);
  font-size: 0.89rem;
}

.faq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.faq-btn {
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.52rem 0.95rem;
  font-size: 0.86rem;
  line-height: 1.2;
}

.faq-btn-primary {
  background: #2563eb;
  color: #ffffff;
}

.faq-btn-ghost {
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  background: #eff6ff;
}

.faq-footer {
  margin-top: 1.15rem;
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
}
