/* FAQ — six rows of dark glass. The cursor lights a row; opening it switches its light on. Prefix fq- */
.fq-grid{display:grid;grid-template-columns:minmax(0,.4fr) minmax(0,.6fr);column-gap:56px;align-items:start}
.fq-head{position:sticky;top:112px}
.fq-more{margin-top:28px;font-size:16px;line-height:26px;color:var(--dim)}
.fq-more .link{margin-left:6px}
.fq-more .link:is(:hover,.is-hover){text-shadow:0 0 18px rgb(var(--L) / .5)}
.fq-more .link:active{opacity:.7}

.fq-list{display:grid;gap:12px}
.fq-row{interpolate-size:allow-keywords;border-radius:20px;
  background:linear-gradient(180deg,oklch(1 0 0 / .095) 0%,oklch(1 0 0 / .04) 46%,oklch(1 0 0 / .028) 100%);
  box-shadow:inset 0 1px 0 oklch(1 0 0 / .24),inset 0 0 0 1px oklch(1 0 0 / .065),inset 0 -40px 60px -40px rgb(0 0 0 / .5),0 40px 80px -40px #000}
/* keep both the lights-on fade (base) and the tile's own hover transitions */
.js .fq-row[data-lit]{transition:opacity 1.1s var(--ease-out) calc(var(--i,0) * 90ms),filter 1.3s var(--ease-out) calc(var(--i,0) * 90ms),transform .7s var(--ease-out),box-shadow .5s var(--ease-out)}

/* the question */
.fq-q{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:84px;padding:20px 22px 20px 30px;cursor:pointer;list-style:none;border-radius:inherit;-webkit-tap-highlight-color:transparent}
.fq-q::-webkit-details-marker{display:none}
.fq-q:focus-visible{outline:2px solid rgb(var(--L));outline-offset:-4px;border-radius:17px}
.fq-t{font-size:21px;line-height:28px;font-weight:500;letter-spacing:-.02em;color:var(--text);opacity:.8;text-wrap:balance;
  transition:opacity .4s var(--ease-out),text-shadow .6s var(--ease-out)}

/* the lit top edge: a seam of light that grows on hover and stays on while the row is open */
.fq-q::before{content:"";position:absolute;left:22px;right:22px;top:0;height:1px;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgb(var(--L) / .95) 22%,rgb(var(--L) / .95) 78%,transparent);
  box-shadow:0 0 12px rgb(var(--L) / .8),0 0 36px 3px rgb(var(--L) / .42);
  opacity:0;scale:.3 1;transition:opacity .35s var(--ease-in),scale .35s var(--ease-in)}
.fq-q::after{content:"";position:absolute;left:0;right:0;top:0;height:120px;pointer-events:none;z-index:-1;
  background:radial-gradient(62% 100% at 50% 0%,rgb(var(--L) / .15),rgb(var(--L) / .045) 55%,transparent 100%);
  opacity:0;transition:opacity .35s var(--ease-in)}

/* plus → × */
.fq-plus{position:relative;flex:none;width:40px;height:40px;border-radius:50%;color:var(--dim);
  background:linear-gradient(180deg,oklch(1 0 0 / .1),oklch(1 0 0 / .03));
  box-shadow:inset 0 1px 0 oklch(1 0 0 / .2),inset 0 0 0 1px oklch(1 0 0 / .08),0 10px 20px -12px #000;
  transition:rotate .7s var(--ease-out),color .4s var(--ease-out),box-shadow .5s var(--ease-out)}
.fq-plus::before,.fq-plus::after{content:"";position:absolute;left:50%;top:50%;width:14px;height:1.5px;translate:-50% -50%;border-radius:2px;background:currentColor;
  transition:box-shadow .5s var(--ease-out),background-color .4s var(--ease-out)}
.fq-plus::after{rotate:90deg}

/* hover: the cursor light is on the tile already; inside, the question brightens, the seam starts to show, the plus turns */
.fq-row:is(:hover,.is-hover) .fq-t,.fq-q:focus-visible .fq-t{opacity:1;text-shadow:0 0 30px rgb(var(--L) / .38)}
.fq-row:is(:hover,.is-hover) .fq-q::before{opacity:.75;scale:.55 1;transition:opacity .5s var(--ease-out),scale .8s var(--ease-out)}
.fq-row:is(:hover,.is-hover) .fq-plus{rotate:90deg;color:var(--text);box-shadow:inset 0 1px 0 oklch(1 0 0 / .42),inset 0 0 0 1px oklch(1 0 0 / .18),0 0 22px -4px rgb(var(--L) / .4),0 10px 20px -12px #000}
.fq-row:is(:hover,.is-hover) .fq-plus::before,.fq-row:is(:hover,.is-hover) .fq-plus::after{box-shadow:0 0 8px rgb(var(--L) / .8)}
/* press */
.fq-row:has(.fq-q:active){transform:perspective(1100px) scale(.992);transition-duration:.12s}
.fq-q:active .fq-plus{scale:.9}
.fq-row:has(.fq-q:focus-visible)::before,.fq-row:has(.fq-q:focus-visible)::after{opacity:1}

/* open: the light stays on */
.fq-row[open]{box-shadow:inset 0 1px 0 oklch(1 0 0 / .36),inset 0 0 0 1px oklch(1 0 0 / .075),inset 0 -40px 60px -40px rgb(0 0 0 / .55),0 50px 90px -40px #000,0 -18px 60px -34px rgb(var(--L) / .4)}
.fq-row[open] .fq-t{opacity:1;text-shadow:0 0 30px rgb(var(--L) / .38)}
.fq-row[open] .fq-q::before{opacity:1;scale:1 1;transition:opacity .6s var(--ease-out),scale .9s var(--ease-out)}
.fq-row[open] .fq-q::after{opacity:1;transition:opacity .9s var(--ease-out)}
.fq-row[open] .fq-plus{rotate:135deg;color:var(--flame);box-shadow:inset 0 1px 0 oklch(1 0 0 / .34),inset 0 0 0 1px rgb(var(--F) / .3),0 0 24px -4px rgb(var(--F) / .55),0 10px 20px -12px #000}
.fq-row[open] .fq-plus::before,.fq-row[open] .fq-plus::after{box-shadow:0 0 6px rgb(var(--F) / .95),0 0 16px rgb(var(--F) / .55)}

/* the answer: opens smoothly where the browser can, and lights up from dim to bright */
.fq-a{padding:0 96px 30px 30px}
.fq-a p{max-width:54ch;font-size:17px;line-height:28px;color:var(--text);text-wrap:pretty}
.fq-row[open] .fq-a p{animation:fq-light 1s var(--ease-out) .08s both}
@keyframes fq-light{from{opacity:.16;filter:blur(3px) brightness(.6)}to{opacity:1;filter:none}}
.fq-link{padding-bottom:2px;background:linear-gradient(currentColor,currentColor) left bottom / 100% 1px no-repeat;transition:text-shadow .3s var(--ease-out),opacity .2s}
.fq-link:is(:hover,.is-hover){text-shadow:0 0 18px rgb(var(--L) / .7)}
.fq-link:active{opacity:.7}
@supports (interpolate-size:allow-keywords){
  .fq-row::details-content{block-size:0;overflow:clip;transition:block-size .36s var(--ease-io),content-visibility .36s allow-discrete}
  .fq-row[open]::details-content{block-size:auto;transition:block-size .7s var(--ease-out),content-visibility .7s allow-discrete}
}

@media (max-width:960px){
  .fq-grid{grid-template-columns:minmax(0,1fr);row-gap:36px}
  .fq-head{position:static}
  .fq-more{margin-top:16px}
  .fq-list{gap:10px}
  .fq-row{border-radius:18px}
  .fq-q{min-height:72px;gap:16px;padding:16px 16px 16px 20px}
  .fq-q:focus-visible{border-radius:15px}
  .fq-t{font-size:18px;line-height:25px}
  .fq-plus{width:36px;height:36px}
  .fq-a{padding:0 20px 24px 20px}
  .fq-a p{font-size:16px;line-height:26px}
}
@media (prefers-reduced-motion:reduce){
  .fq-row[open] .fq-a p{animation:none}
  .fq-row::details-content{transition:none!important}
}
