/* Supporting content shares the core QXXB palette, typography, and control system. */
.support-section { position: relative; isolation: isolate; margin-top: 32px; padding-top: 24px; border-top: 1px solid #e3dbea; scroll-margin-top: 24px; }
.support-section::before { content: ""; position: absolute; z-index: -1; inset: 0 -28px -24px; background: linear-gradient(180deg, #f7f4fb, #faf8fc); pointer-events: none; }
.support-heading { margin-bottom: 28px; }
.support-heading .eyebrow { margin-bottom: 5px; }
.support-heading h2 { color: var(--ink); font-size: 1.75rem; font-weight: 600; line-height: 1.5; letter-spacing: -.015em; }
.support-heading > p { margin-top: 7px; color: var(--muted); font-size: .9375rem; line-height: 1.8; }
.support-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.25fr); gap: 48px; align-items: start; }
.how-panel, .faq-panel, .contact-band { scroll-margin-top: 24px; min-width: 0; }
.how-panel > h3, .faq-panel > h3 { margin-bottom: 17px; color: var(--ink); font-size: 1.125rem; font-weight: 600; }
.how-list { display: grid; gap: 23px; list-style: none; padding: 0; margin: 0; }
.how-list > li { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 12px; }
.how-index { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid #dfd2f4; border-radius: 50%; background: white; color: var(--purple); font-size: .875rem; font-weight: 600; }
.how-list h4 { margin: 3px 0 4px; color: var(--ink); font-size: .9375rem; font-weight: 600; line-height: 1.6; }
.how-list p { color: var(--muted); font-size: .875rem; line-height: 1.8; }
.support-back-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 17px; color: var(--purple); font-size: .875rem; font-weight: 600; }
.support-back-link:hover { color: var(--ink); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item > summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 64px; padding: 15px 0; color: var(--ink); font-size: .9375rem; font-weight: 500; line-height: 1.7; list-style: none; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary > span:first-child { min-width: 0; }
.faq-toggle { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 8px; background: #f0eafa; color: var(--purple); font: 400 1.25rem/1 Arial,sans-serif; }
.faq-toggle::before { content: "+"; }
.faq-item[open] .faq-toggle { background: var(--purple); color: white; }
.faq-item[open] .faq-toggle::before { content: "−"; }
.faq-item[open] > summary { color: var(--purple); font-weight: 600; padding-bottom: 10px; }
.faq-answer { padding: 0 0 17px; padding-inline-end: 42px; }
.faq-answer p { color: var(--muted); font-size: .875rem; line-height: 1.9; }
.contact-band { display: flex; align-items: center; gap: 18px; margin-top: 34px; padding: 24px; border: 1px solid #e4d6f7; border-radius: 16px; background: #f2ecfc; }
.contact-symbol { display: flex; align-items: center; justify-content: center; flex: 0 0 48px; width: 48px; height: 48px; background: white; color: var(--purple); border-radius: 14px; }
.contact-symbol svg { width: 27px; height: 27px; }
.contact-band-copy { min-width: 0; flex: 1; }
.contact-band h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.6; }
.contact-band p { margin-top: 4px; color: var(--muted); font-size: .875rem; line-height: 1.7; }
.support-contact-button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; flex: 0 0 auto; min-height: 46px; padding: 10px 18px; border: 1px solid #cdb8ec; border-radius: 10px; background: white; color: var(--purple); font-size: .875rem; font-weight: 600; }
.support-contact-button:hover { border-color: var(--purple); background: #faf7ff; }
.site-footer { margin-top: 20px; border-top: 1px solid #d8cde7; background: #eee8f6; }
.footer-inner { max-width: 1160px; margin: auto; padding: 38px 28px 20px; }
.footer-main { display: grid; grid-template-columns: minmax(0,1.7fr) repeat(3,minmax(0,1fr)); gap: 32px; padding-bottom: 26px; }
.footer-brand-block { min-width: 0; }
.footer-brand-block .brand { margin-bottom: 13px; }
.footer-brand-block p { max-width: 310px; color: var(--muted); font-size: .875rem; line-height: 1.9; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.footer-links h3 { margin: 3px 0 8px; color: var(--ink); font-size: .9375rem; font-weight: 600; line-height: 1.6; }
.footer-links a, .footer-links button { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; padding: 7px 0; text-align: start; background: transparent; color: var(--muted); font-size: .875rem; line-height: 1.7; overflow-wrap: anywhere; }
.footer-links a:hover, .footer-links button:hover { color: var(--purple); text-decoration: underline; text-underline-offset: 5px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-top: 18px; border-top: 1px solid #d8cde7; color: var(--muted); font-size: .8125rem; line-height: 1.8; }
.footer-signature { display: inline-flex; align-items: center; gap: 9px; }
.footer-signature i { display: block; width: 7px; height: 7px; border-radius: 2px; background: var(--orange); transform: rotate(45deg); }
.contact-dialog { width: min(600px,calc(100% - 32px)); }
.policy-dialog { width: min(560px,calc(100% - 32px)); }
.support-dialog-body { padding: 24px; }
.contact-intro { margin-bottom: 18px; color: var(--muted); font-size: .9375rem; }
.contact-field-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.contact-form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; }
.contact-form-note { color: var(--muted); font-size: .8125rem; line-height: 1.7; }
.contact-form .primary-button:disabled { opacity: 1; cursor: not-allowed; background: #eee7f8; color: #655776; box-shadow: none; }
.policy-body { padding: 28px; }
.policy-icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 12px; background: var(--purple-soft); color: var(--purple); }
.policy-icon svg { width: 25px; height: 25px; }
.policy-body h3 { margin-bottom: 10px; color: var(--ink); font-size: 1.125rem; font-weight: 600; }
.policy-body > p { color: var(--muted); font-size: .9375rem; line-height: 1.9; }
.policy-body .policy-status { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .8125rem; }
@media (max-width: 900px) {
  .support-layout { grid-template-columns: 1fr; gap: 30px; }
  .how-list { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
  .how-list > li { grid-template-columns: 1fr; gap: 8px; }
  .footer-main { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
  .footer-brand-block { grid-column: 1 / -1; }
  .footer-brand-block p { max-width: none; }
}
@media (max-width: 700px) {
  .support-section { margin-top: 28px; padding-top: 22px; }
  .support-section::before { inset-inline: -16px; bottom: -20px; }
  .support-heading { margin-bottom: 25px; }
  .support-heading h2 { font-size: 1.5rem; }
  .support-heading > p { font-size: .875rem; }
  .support-layout { gap: 28px; }
  .how-list { grid-template-columns: 1fr; gap: 20px; }
  .how-list > li { grid-template-columns: 32px minmax(0,1fr); gap: 12px; }
  .how-index { width: 32px; height: 32px; }
  .how-list p { font-size: .875rem; }
  .faq-item > summary { min-height: 62px; gap: 12px; font-size: .875rem; }
  .faq-answer { padding-inline-end: 0; }
  .contact-band { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 12px; margin-top: 28px; padding: 19px 16px; border-radius: 14px; }
  .contact-symbol { width: 42px; height: 42px; border-radius: 11px; }
  .contact-symbol svg { width: 24px; height: 24px; }
  .contact-band h3 { font-size: 1rem; }
  .contact-band p { font-size: .8125rem; }
  .support-contact-button { grid-column: 1 / -1; width: 100%; margin-top: 5px; }
  .site-footer { margin-top: 16px; }
  .footer-inner { padding: 28px 20px 22px; }
  .footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 20px; padding-bottom: 24px; }
  .footer-brand-block p { font-size: .875rem; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .contact-dialog, .policy-dialog { width: calc(100% - 20px); }
  .support-dialog-body { padding: 20px 16px; }
  .contact-field-pair { grid-template-columns: 1fr; gap: 0; }
  .contact-form-actions { flex-direction: column; align-items: stretch; text-align: center; gap: 10px; }
  .policy-body { padding: 24px 20px; }
}
@media (max-width: 370px) {
  .support-section::before { inset-inline: -12px; }
}
@media (prefers-reduced-motion: reduce) {
  .support-section, .site-footer { scroll-behavior: auto; }
}
