/* ── Section — light gray background ────────────────────── */
.smyk-faq {
  padding-block: var(--smyk-section-py);
  background: #f5f5f7;
  color: #222222;
}
.smyk-faq__wrap {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

/* ── Header ─────────────────────────────────────────────── */
.smyk-faq__header {
  text-align: left;
  margin-bottom: clamp(14px, 2vw, 22px);
}
.smyk-faq__heading {
  font-family: var(--smyk-font, inherit);
  font-size: clamp(1.85rem, 3.6vw, 45px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #222222;
  margin: 0 0 12px;
}
.smyk-faq__subtitle {
  font-size: clamp(14px, 1.1vw, 17px);
  color: #475569;
  line-height: 1.55;
  margin: 0;
  max-width: 56ch;
}

/* ── FAQ list ───────────────────────────────────────────── */
.smyk-faq__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Each FAQ item — pill row on white card */
.smyk-faq__item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.smyk-faq__item:hover {
  border-color: #cbd5e1;
}
.smyk-faq__item[open] {
  border-color: #222222;
  box-shadow: 0 6px 18px -10px rgba(15, 23, 42, 0.12);
}

/* Trigger — the row with question + chevron */
.smyk-faq__item-trigger {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  font-family: var(--smyk-font, inherit);
}
.smyk-faq__item-trigger::-webkit-details-marker { display: none; }
.smyk-faq__item-trigger::marker { display: none; content: ''; }

.smyk-faq__item-q {
  flex: 1;
  font-size: 0.98rem;
  font-weight: 700;
  color: #222222;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

/* Plus/minus toggle (Fix Prompt #9) — vertical stroke hides when open */
.smyk-faq__item-toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #6B7280;
  transition: color .15s ease;
}
.smyk-faq__item-toggle svg { display: block; overflow: visible; }
.smyk-faq__icon-v {
  transform-origin: 12px 12px;
  transition: transform .25s ease-out, opacity .25s ease-out;
}
.smyk-faq__item[open] .smyk-faq__icon-v {
  transform: rotate(90deg) scale(0);
  opacity: 0;
}
.smyk-faq__item[open] .smyk-faq__item-toggle { color: #e41d56; }

/* Body — collapses below the trigger */
.smyk-faq__item-body {
  padding: 0 20px 16px;
}
.smyk-faq__item-a {
  font-size: 16px;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

/* Focus ring for keyboard users */
.smyk-faq__item-trigger:focus-visible {
  outline: 2px solid #222222;
  outline-offset: -2px;
  border-radius: 10px;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 560px) {
  .smyk-faq__heading { font-size: clamp(1.55rem, 6vw, 1.9rem); }
  .smyk-faq__item-trigger { padding: 14px 16px; gap: 12px; }
  .smyk-faq__item-q { font-size: 0.92rem; }
  .smyk-faq__item-body { padding: 0 16px 16px; }
  .smyk-faq__item-a { font-size: 0.9rem; }
}
