/* Homepage FAQ — nine questions, light colour per topic. Scoped to .home-faq so the
   site-wide details/summary rules (site.css) don't leak in. */
.home-faq{color-scheme:light;max-width:760px;margin-left:auto;margin-right:auto}
.home-faq h2{text-align:center;margin:0 0 28px;color:#0f172a}
.home-faq .hf-list{display:block}
.home-faq details.hf-card{--accent:#2f5bea;--ink:#1e3a8a;--tint:#eef4ff;--border:#c9d8ff;position:relative;overflow:hidden;background:linear-gradient(180deg,var(--tint) 0%,#fff 100%);border:1px solid var(--border);border-radius:16px;margin:12px 0;box-shadow:0 3px 12px rgba(30,40,90,.06);font-family:Inter,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
.home-faq details.hf-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:6px;background:var(--accent);border-radius:16px 0 0 16px}
.home-faq details.hf-card[open]{box-shadow:0 8px 22px rgba(30,40,90,.08)}
.home-faq details.hf-card>summary{display:block;list-style:none;cursor:pointer;position:relative;padding:14px 44px 14px 20px;font-size:inherit;font-weight:inherit;gap:0}
.home-faq details.hf-card>summary::-webkit-details-marker{display:none}
.home-faq details.hf-card>summary::after,.home-faq details.hf-card>summary:after{content:"";position:absolute;right:18px;top:20px;width:8px;height:8px;border-right:2px solid var(--accent);border-bottom:2px solid var(--accent);transform:rotate(45deg);opacity:.75;pointer-events:none;transition:transform .2s ease;font-size:0;color:transparent}
.home-faq details.hf-card[open]>summary::after,.home-faq details.hf-card[open]>summary:after{content:"";transform:rotate(225deg)}
.home-faq .hf-meta{display:flex;align-items:center;gap:8px;margin-bottom:8px;flex-wrap:wrap}
.home-faq .hf-num{width:22px;height:22px;border-radius:50%;background:var(--accent);color:#fff;font-size:11px;font-weight:800;display:inline-grid;place-items:center;flex:none}
.home-faq .hf-badge{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#fff;background:var(--accent);padding:3px 9px;border-radius:999px;line-height:1.3}
.home-faq .hf-q{display:block;font-size:16.5px;font-weight:650;color:var(--ink);line-height:1.4;letter-spacing:-.01em}
.home-faq details.hf-card p{margin:0;padding:0 20px 16px;line-height:1.65;color:#334155;font-size:15px}
.home-faq details.hf-plan1{--accent:#2f5bea;--ink:#1e3a8a;--tint:#eef4ff;--border:#c9d8ff}
.home-faq details.hf-plan2{--accent:#204181;--ink:#16315f;--tint:#e8eef7;--border:#c5d0e4}
.home-faq details.hf-beginner{--accent:#c96a0e;--ink:#92400e;--tint:#fff3e6;--border:#ffd9b0}
.home-faq details.hf-free{--accent:#047857;--ink:#065f46;--tint:#eaf8ef;--border:#bfe9cf}
.home-faq details.hf-ca{--accent:#0369a1;--ink:#0c4a6e;--tint:#e0f2fe;--border:#bae6fd}
.home-faq details.hf-practice{--accent:#0f7a6c;--ink:#115e59;--tint:#e6f6f3;--border:#b7e4da}
.home-faq details.hf-mains{--accent:#3730a3;--ink:#312e81;--tint:#eef2ff;--border:#c7d2fe}
.home-faq details.hf-help{--accent:#c22d52;--ink:#9f1239;--tint:#fdecef;--border:#f8c9d4}
.home-faq details.hf-profile{--accent:#7a4ff0;--ink:#1f2a6b;--tint:#f3eeff;--border:#c9b8ff;background:linear-gradient(135deg,#eef4ff 0%,#f3eeff 55%,#fff3e6 100%);border:1.5px solid #c9b8ff;border-radius:18px;box-shadow:0 8px 28px rgba(122,79,240,.16);margin:16px 0}
.home-faq details.hf-profile::before{background:linear-gradient(180deg,#2f5bea 0%,#7a4ff0 55%,#f08a24 100%);border-radius:18px 0 0 18px}
.home-faq details.hf-profile>summary{padding:16px 44px 14px 22px}
.home-faq details.hf-profile>summary::after{top:22px}
.home-faq details.hf-profile .hf-q{font-size:18px;font-weight:700;color:#1f2a6b}
.home-faq details.hf-profile p{padding:0 22px 14px;font-size:15.5px}
.home-faq details.hf-profile .hf-badge{background:linear-gradient(90deg,#2f5bea,#7a4ff0);font-size:12px;letter-spacing:.02em;text-transform:none;font-weight:600;padding:4px 10px}
.home-faq details.hf-profile .hf-num{background:linear-gradient(135deg,#2f5bea,#7a4ff0);width:24px;height:24px;font-size:12px}
.home-faq .hf-chips{display:flex;flex-wrap:wrap;gap:8px;padding:0 22px 16px}
.home-faq .hf-chips span{font-size:12.5px;background:#fff;border:1px solid #dccfff;color:#5b3bd0;padding:5px 10px;border-radius:999px;font-weight:500}
@media (max-width:480px){
  .home-faq h2{margin-bottom:22px}
  .home-faq .hf-q{font-size:15.5px}
  .home-faq details.hf-profile .hf-q{font-size:17px}
  .home-faq details.hf-card>summary{padding:13px 40px 13px 16px}
  .home-faq details.hf-profile>summary{padding:14px 40px 12px 18px}
  .home-faq details.hf-card p{padding:0 16px 14px;font-size:14.5px}
  .home-faq details.hf-profile p{padding:0 18px 12px;font-size:15px}
  .home-faq .hf-chips{padding:0 18px 14px}
}
