/* 07-faq: editorial pass (2026-10-17, BRAND-SWAP-NOTES.md "FAQ hierarchy").
   Three levels: section title (thmanyah serif display Bold, the page's headline voice) > question (serif display Medium, numbered,
   hairline-ruled) > answer (thmanyah sans Regular, quiet grey, bounded measure). Desktop >= 1100px: two columns, title + lead held
   (sticky) on the start side (right in RTL), list on the end side. Narrower: one column, start-aligned.
   Numbering is a CSS counter and the glyph is the old svg minus its circle, so the markup and the item count (7-12) stay free.
   Motion: max-height (answer, as before), opacity, transform (glyph bar, open rule). No background/blur materials. */
[data-section="07-faq"] {
  --faq-coral: var(--orange);                      /* #f26b6c on #0a0d12: 6.1:1 */
  --faq-ink: #fff;
  --faq-q: rgba(237, 231, 219, .80);               /* cream-tinted closed question: 12:1 */
  --faq-a: rgba(255, 255, 255, .62);               /* answer: 7.4:1 */
  --faq-mute: rgba(255, 255, 255, .34);            /* numbers, lead rule */
  --faq-rule: rgba(255, 255, 255, .12);            /* hairlines */
  --faq-qsize: 24px; --faq-qlh: 38px;
  background: #0a0d12; overflow: clip;
  display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 56px; justify-items: stretch;
  padding: 128px max(32px, calc((100% - 1240px) / 2)) 136px;
}
/* ---- level 1: head ---- */
[data-section="07-faq"] .faq__head { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 760px; text-align: start; }
[data-section="07-faq"] .faq__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(40px, 3.7vw, 60px); line-height: 1.22; letter-spacing: 0; color: var(--faq-ink); margin: 0; text-wrap: balance; }
[data-section="07-faq"] .faq__lead { font: 400 19px/32px var(--f-ui); color: rgba(255, 255, 255, .55); margin: 0; max-width: 34ch; text-wrap: pretty; }
/* ---- level 2: list + question rows ---- */
[data-section="07-faq"] .faq__list { width: 100%; max-width: 820px; display: flex; flex-direction: column; counter-reset: faq; border-bottom: 1px solid var(--faq-rule); }
[data-section="07-faq"] .faq__item { position: relative; counter-increment: faq; border-top: 1px solid var(--faq-rule); background: transparent; }
/* open rule: a coral hairline draws over the item's top rule from the start side */
[data-section="07-faq"] .faq__item::after { content: ""; position: absolute; inset-inline: 0; top: -1px; height: 1px; background: var(--faq-coral); display: none; /* owner 2026-10-18: no coral border on FAQ rows */
  transform: scaleX(0); transform-origin: left center; transition: transform .6s var(--e-out); pointer-events: none; }
:root[dir="rtl"] [data-section="07-faq"] .faq__item::after { transform-origin: right center; }
[data-section="07-faq"] .faq__item.is-open::after { transform: scaleX(1); }
[data-section="07-faq"] .faq__btn { width: 100%; display: flex; gap: 20px; align-items: flex-start; cursor: pointer; background: none; border: 0; padding: 28px 0 30px; text-align: start; font: inherit; color: inherit; }
[data-section="07-faq"] .faq__btn:focus-visible { outline: 2px solid var(--faq-coral); outline-offset: 6px; border-radius: 4px; }
/* number: Western digits, Inter tabular, on the question's first line */
[data-section="07-faq"] .faq__btn::before { content: counter(faq, decimal-leading-zero); flex: none; width: 44px; font: 500 14px/var(--faq-qlh) Inter, sans-serif;
  font-variant-numeric: tabular-nums; letter-spacing: .06em; color: var(--faq-mute); text-align: start; transition: color .3s; }
[data-section="07-faq"] .faq__body { flex: 1 1 0%; min-width: 0; text-align: start; display: flex; flex-direction: column; overflow: hidden; }
[data-section="07-faq"] .faq__q { font-family: var(--f-display); font-weight: 500; font-size: var(--faq-qsize); line-height: var(--faq-qlh); letter-spacing: 0; color: var(--faq-q); margin: 0; transition: color .25s; text-wrap: pretty; }
[data-section="07-faq"] .faq__btn:hover .faq__q, [data-section="07-faq"] .is-open .faq__q { color: var(--faq-ink); }
[data-section="07-faq"] .is-open .faq__btn::before, [data-section="07-faq"] .faq__btn:hover::before { color: var(--faq-coral); }
/* glyph: a quiet plus at the row's end (left in RTL); the circle is dropped, the bar turns to make a minus */
[data-section="07-faq"] .faq__icon { order: 1; width: 28px; height: 28px; margin-top: calc((var(--faq-qlh) - 28px) / 2); margin-inline-end: -4px; flex: none; position: relative; display: flex; align-items: center; justify-content: center; }
[data-section="07-faq"] .faq__icon svg { width: 28px; height: 28px; }
[data-section="07-faq"] .faq__icon circle { display: none; }
[data-section="07-faq"] .faq__icon path { stroke: rgba(255, 255, 255, .55); transition: stroke .3s; }
[data-section="07-faq"] .faq__vbar { transform-origin: 12px 12px; transform: rotate(0) scaleY(1); transition: transform .5s var(--e-spring), stroke .3s !important; }
[data-section="07-faq"] .faq__btn:hover .faq__icon path { stroke: #fff; }
[data-section="07-faq"] .is-open .faq__icon path { stroke: var(--faq-coral); }
[data-section="07-faq"] .is-open .faq__vbar { transform: rotate(90deg) scaleY(0); }
/* ---- level 3: answer ---- */
[data-section="07-faq"] .faq__a { display: block; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--e-spring-soft), opacity .35s; }
[data-section="07-faq"] .is-open .faq__a { opacity: 1; }
/* margin-top stays under the js +16 allowance (max-height = p height + 16) */
[data-section="07-faq"] .faq__a p { font: 400 17px/31px var(--f-ui); color: var(--faq-a); margin: 14px 0 0; max-width: 62ch; text-wrap: pretty; }

/* ---- desktop: two columns, head on the start side, held while the list scrolls ---- */
@media (min-width: 1100px) {
  [data-section="07-faq"] { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(64px, 7vw, 120px); align-items: start; }
  [data-section="07-faq"] .faq__head { position: sticky; top: 140px; padding-top: 22px; }
  [data-section="07-faq"] .faq__list { justify-self: end; }
}
@media (max-width: 1099px) { [data-section="07-faq"] .faq__head, [data-section="07-faq"] .faq__list { justify-self: center; width: 100%; max-width: 820px; } }
@media (max-width: 768px) {
  [data-section="07-faq"] { --faq-qsize: 21px; --faq-qlh: 34px; /* phone type pass: was 19/31 */ padding: 80px 16px 88px; row-gap: 40px; }
  [data-section="07-faq"] .faq__head { gap: 18px; }
  [data-section="07-faq"] .faq__title { font-size: clamp(40px, 10.5vw, 48px); line-height: 1.22; } /* was 32/1.28 */
  [data-section="07-faq"] .faq__lead { font-size: 18px; line-height: 30px; }   /* was 17/28 */
  [data-section="07-faq"] .faq__btn { gap: 12px; padding: 22px 0 24px; }
  [data-section="07-faq"] .faq__btn::before { width: 30px; font-size: 13px; } /* was 12 */
  [data-section="07-faq"] .faq__icon, [data-section="07-faq"] .faq__icon svg { width: 24px; height: 24px; }
  [data-section="07-faq"] .faq__icon { margin-top: calc((var(--faq-qlh) - 24px) / 2); }
  [data-section="07-faq"] .faq__a p { font-size: 17px; line-height: 29px; margin-top: 10px; } /* was 16/28 */
}
html[data-motion="reduce"] [data-section="07-faq"] *, html.reduce-motion [data-section="07-faq"] * { transition: none !important; }
@media (prefers-reduced-motion: reduce) { [data-section="07-faq"] *, [data-section="07-faq"] *::after { transition: none !important; } }
[data-section="07-faq"].faq--instant *, [data-section="07-faq"].faq--instant *::after { transition: none !important; }

/* mobile component design (mcd-faq-footer 2026-10-18, NOTES-mcd-faq-footer.md): phone-only rows, inside the <= 768 family but
   gated at 540px so 541-768 (incl. 550) stays pixel-identical. Numbers are a desktop editorial device: the gutter goes, the
   question gets the width. Revert: cp backups/pre-mcd-faq-footer/css/sections/07-faq.css css/sections/ */
@media (max-width: 540px) {
  [data-section="07-faq"] { --faq-qsize: 20px; --faq-qlh: 30px; padding: 64px 16px 72px; row-gap: 40px; }
  [data-section="07-faq"] .faq__head { gap: 12px; }
  [data-section="07-faq"] .faq__title { font-size: clamp(34px, 9.5vw, 40px); line-height: 1.2; }
  [data-section="07-faq"] .faq__lead { font-size: 17px; line-height: 29px; max-width: 290px; }
  [data-section="07-faq"] .faq__btn { gap: 12px; padding: 18px 0 20px; }
  [data-section="07-faq"] .faq__btn::before { display: none; }
  [data-section="07-faq"] .faq__q { font-weight: 500; text-wrap: balance; }
  [data-section="07-faq"] .faq__a p { font-size: 16px; line-height: 27px; margin-top: 12px; max-width: 290px; } /* 12 < the js +16 allowance */
}

/* card sub-text lines 2026-10-18 (NOTES-card-subtext-lines.md): phones only. The closed questions sit in a 100vw - 64px box and the
   longest two fill 97% of it at 360, so at 350 two of nine wrapped. The size now follows the box (20px from a 364px screen up,
   19px at 350) so all nine stay 1 line on every phone. Revert: delete this block. */
@media (max-width: 540px) {
  [data-section="07-faq"] { --faq-qsize: min(20px, calc((100vw - 64px) / 15)); }
}
