/* ---- FAQ hub page (fq-) ----
   Page-specific styles only. Shared blocks (svc-*, faq-list, faq-item,
   sec-head, svc-related…) live in css/styles.css. */

/* Hero */
.fq-hero .svc-hero-copy h1 { max-width: 13ch; }
.fq-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr); align-items: end; }
.fq-hero-topics-wrap { margin-top: 16px; }
.fq-hero-kicker { margin: 0 0 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.fq-hero-topics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--text);
  box-shadow: 12px 12px 0 color-mix(in srgb, var(--text) 8%, transparent);
}
.fq-hero-topics a { display: block; padding: 14px 16px 13px; background: var(--surface); color: var(--text); text-decoration: none; }
.fq-hero-topics a:hover { background: color-mix(in srgb, var(--accent) 30%, var(--bg)); }
.fq-hero-topics small { display: block; font-size: 10px; font-weight: 650; letter-spacing: 0.1em; color: var(--faint); }
.fq-hero-topics b { display: block; margin-top: 6px; font-size: var(--fz-14-5); font-weight: 650; letter-spacing: -0.015em; line-height: 1.2; }
.fq-hero-topics em { display: block; margin-top: 3px; font-style: normal; font-size: var(--fz-13); color: var(--muted); }

/* Layout: sticky side + groups */
.fq-body { border-top: 1px solid var(--line); }
.fq-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.fq-side { position: sticky; top: 104px; }

.fq-search label { display: block; margin-bottom: 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.fq-search-in { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border: 1px solid var(--text); background: var(--surface); }
.fq-search-in:focus-within { box-shadow: 4px 4px 0 var(--accent); }
.fq-search-in svg { flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; color: var(--muted); }
.fq-search-in input { flex: 1; min-width: 0; height: 100%; border: 0; border-radius: 0; background: transparent; font: inherit; font-size: var(--fz-15); color: var(--text); outline: none; }
.fq-search-in input::placeholder { color: var(--faint); }
.fq-search-in input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.fq-count { margin: 10px 0 0; font-size: var(--fz-13); color: var(--muted); }

.fq-nav { margin-top: 28px; border-top: 1px solid var(--text); }
.fq-nav ol { list-style: none; margin: 0; padding: 0; counter-reset: fqn; }
.fq-nav li { counter-increment: fqn; border-bottom: 1px solid var(--line); }
.fq-nav a { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 0 12px; align-items: start; padding: 12px 0; font-size: var(--fz-14-5); font-weight: 600; line-height: 1.3; color: var(--muted); text-decoration: none; }
.fq-nav a::before { content: counter(fqn, decimal-leading-zero); grid-row: 1 / 3; justify-self: start; margin-top: 3px; padding: 1px 3px; font-size: 10px; font-weight: 650; letter-spacing: 0.08em; color: var(--faint); }
.fq-nav a span { grid-column: 2; font-size: var(--fz-13); font-weight: 400; color: var(--faint); }
.fq-nav a:hover { color: var(--text); }
.fq-nav li.is-on a { color: var(--text); }
.fq-nav li.is-on a::before { background: var(--accent); color: var(--accent-ink); }
.fq-nav li.is-off { display: none; }
.fq-side-note { margin: 18px 0 0; font-size: var(--fz-13-5); line-height: 1.5; color: var(--muted); }
.fq-side-note a { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Groups */
.fq-group { scroll-margin-top: 96px; }
.fq-group + .fq-group { margin-top: clamp(48px, 6vw, 72px); }
.fq-group-head { max-width: none; margin-bottom: 8px; }
.fq-group-head h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.03em; margin-bottom: 10px; }
.fq-group-head .sec-lede { font-size: var(--fz-15); }
.fq-group .faq-item summary { font-size: var(--fz-17); }
.fq-group .faq-item p { max-width: 66ch; }
.fq-group .faq-item p a { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.fq-group .faq-item p a:hover { color: var(--muted); }
.fq-empty { margin: 0; padding: 32px 28px; border: 1px dashed var(--faint); font-size: var(--fz-15-5); line-height: 1.5; color: var(--muted); }
.fq-empty span { color: var(--text); font-weight: 600; }
.fq-empty a { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Still have a question? band */
.fq-cta { padding: clamp(48px, 6vw, 84px) 0; border-top: 1px solid var(--deep); background: var(--deep); color: var(--deep-text); --cta: var(--deep-accent); --cta-hover: var(--deep-accent-hover); --cta-ink: var(--deep-accent-ink); }
.fq-cta-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px clamp(32px, 5vw, 72px); align-items: center; }
.fq-cta .section-label { color: color-mix(in srgb, var(--deep-text) 60%, transparent); }
.fq-cta h2 { max-width: 22ch; font-size: clamp(28px, 3.4vw, 46px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; }
.fq-cta p:not(.section-label) { margin-top: 14px; max-width: 52ch; font-size: var(--fz-15-5); line-height: 1.5; color: color-mix(in srgb, var(--deep-text) 72%, transparent); }
.fq-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fq-cta .btn-outline { border-color: var(--deep-text); color: var(--deep-text); }
.fq-cta .btn-outline:hover { background: var(--deep-text); color: var(--deep); }

@media (max-width: 1100px) {
  .fq-layout { grid-template-columns: 240px minmax(0, 1fr); }
  .fq-cta-in { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .fq-hero .svc-hero-copy h1 { max-width: none; }
  .fq-hero-grid { grid-template-columns: 1fr; }
  .fq-hero-topics-wrap { display: none; } /* the chip nav below covers it */
  .fq-layout { grid-template-columns: 1fr; gap: 32px; }
  .fq-side { position: static; }
  .fq-nav { margin-top: 20px; border-top: 0; }
  .fq-nav ol { display: flex; flex-wrap: wrap; gap: 8px; }
  .fq-nav li { border-bottom: 0; }
  .fq-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); font-size: var(--fz-13-5); }
  .fq-nav a::before { margin-top: 0; }
  .fq-nav a span { display: none; }
  .fq-nav li.is-on a { border-color: var(--text); }
  .fq-side-note { display: none; }
}
@media (max-width: 640px) {
  .fq-hero-topics { grid-template-columns: 1fr; box-shadow: 8px 8px 0 color-mix(in srgb, var(--text) 8%, transparent); }
  .fq-group .faq-item summary { font-size: var(--fz-16); }
  .fq-empty { padding: 24px 18px; }
}
