/* #setup ---------------------------------------------------------- */

#setup .setup__top-cta { margin-top: 28px; }

#setup .need { margin-top: 44px; padding: 22px 26px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
#setup .need__label { margin: 0 0 14px; font: 600 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
#setup .need__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 24px; margin: 0; padding: 0; list-style: none; }
#setup .need__list li { display: flex; align-items: center; gap: 12px; font: 500 15px/1.35 var(--sans); color: var(--ink2); }
#setup .need__list svg { flex: none; width: 22px; height: 22px; color: var(--ink3); stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
#setup .need__note { margin: 14px 0 0; }
@media (max-width: 560px) { #setup .need__list { grid-template-columns: 1fr; } }

#setup .steps { position: relative; margin-top: 64px; }
#setup .steps__rail { position: absolute; top: 23px; left: 16.667%; right: 16.667%; height: 2px; }
#setup .steps__rail-track, #setup .steps__rail-fill { position: absolute; inset: 0; border-radius: 999px; }
#setup .steps__rail-track { background: var(--rule); }
#setup .steps__rail-fill { background: var(--ink2); transform: scale(0, 0); transform-origin: top left; will-change: transform; }
#setup .steps__list { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }

#setup .step { min-width: 0; padding: 22px 20px 26px; }
#setup .step__num { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 999px; background: var(--paper); border: 1.5px solid var(--rule); font: 500 16px/1 var(--serif); color: var(--ink2); }
#setup .step h3 { margin-bottom: 8px; }
#setup .step .body { font-size: 15px; }

#setup .step__art { position: relative; height: 170px; margin-bottom: 16px; border-radius: var(--r); background: var(--paper2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
#setup .step__art .art rect, #setup .step__art .art path { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* step 1 — pair */
#setup .scene-pair { width: 206px; background: var(--card); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
#setup .pair__title { margin: 0; padding: 9px 13px 7px; font: 600 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink3); border-bottom: 1px solid var(--rule); }
#setup .pair__row { display: flex; align-items: center; gap: 9px; padding: 9px 13px; font: 500 12.5px/1 var(--sans); color: var(--ink2); border-bottom: 1px solid var(--rule); }
#setup .pair__row:last-child { border-bottom: 0; }
#setup .pair__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink3); flex: none; }
#setup .pair__row--cb { color: var(--ink); font-weight: 600; transition: background-color .35s var(--ease-out) .2s; }
#setup .step.play .pair__row--cb { background: rgba(32, 28, 23, .07); }
#setup .pair__row--cb .pair__dot { background: var(--ink); }
#setup .pair__tag { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 3px 9px; border-radius: 999px; background: var(--ink); color: var(--paper); font: 600 12px/1 var(--sans); opacity: 0; transform: translate3d(4px, 0, 0); transition: opacity .4s var(--ease-out) .55s, transform .4s var(--ease-out) .55s; }
#setup .pair__tag svg { width: 9px; height: 9px; stroke: var(--paper); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
#setup .step.play .pair__tag { opacity: 1; transform: none; }

/* steps 2 & 3 — phone (brief / call) */
#setup .scene-app .art { width: auto; height: 140px; color: var(--ink2); }
#setup .step__art.phone4 .brief, #setup .step__art.phone4 .mic { opacity: 0; transform: translate3d(0, 4px, 0); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); }
#setup .step.play .step__art.phone4 .brief, #setup .step.play .step__art.phone4 .mic { opacity: 1; transform: none; }
#setup .step.play .step__art.phone4 .l1 { transition-delay: 0ms; }
#setup .step.play .step__art.phone4 .l2 { transition-delay: 90ms; }
#setup .step.play .step__art.phone4 .b1 { transition-delay: 220ms; }
#setup .step.play .step__art.phone4 .b2 { transition-delay: 280ms; }
#setup .step.play .step__art.phone4 .b3 { transition-delay: 340ms; }
#setup .step.play .step__art.phone4 .b4 { transition-delay: 400ms; }
#setup .step__art.phone4 .cta { fill: var(--terra); stroke: none; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.8); }
#setup .step.play .step__art.phone4 .cta { animation: ctaPress .65s var(--ease-out) .5s both; }

@keyframes ctaPress {
  0% { opacity: 0; transform: scale(.8); }
  55% { opacity: 1; transform: scale(1.06); }
  78% { transform: scale(.92); }
  100% { opacity: 1; transform: scale(1); }
}

@media (max-width: 900px) {
  #setup .steps__rail { top: 0; bottom: 0; left: 23px; right: auto; width: 2px; height: auto; }
  #setup .steps__list { grid-template-columns: 1fr; gap: 28px; }
  #setup .step { display: flex; align-items: flex-start; gap: 18px; padding: 0; background: transparent; border: 0; }
  #setup .step__num { flex: none; margin-bottom: 0; background: var(--card); }
  #setup .step__body { flex: 1; min-width: 0; padding: 4px 4px 28px 0; }
}

#setup .cta { position: relative; margin-top: 56px; padding: 28px 0 56px; text-align: center; }
#setup .cta__rings {
  position: absolute; top: 50%; left: 50%; width: min(560px, 100vw); height: min(560px, 100vw);
  transform: translate3d(-50%, -50%, 0); color: var(--terra); pointer-events: none;
  -webkit-mask-image: radial-gradient(circle closest-side, black 58%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, black 58%, transparent 100%);
}
#setup .cta__rings .r { fill: none; stroke: currentColor; stroke-width: 1; opacity: .16; }
#setup .cta__line { position: relative; max-width: 16em; margin-inline: auto; }
#setup .cta__actions { position: relative; margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  #setup .pair__tag,
  #setup .step__art.phone4 .brief, #setup .step__art.phone4 .mic { opacity: 1 !important; transform: none !important; }
  #setup .pair__row--cb { background: rgba(32, 28, 23, .07) !important; }
  #setup .step__art.phone4 .cta { animation: none !important; opacity: 1 !important; transform: scale(1) !important; }
  #setup .steps__rail-fill { transform: scale(1, 1) !important; }
  #setup .cta__rings .r { opacity: .22 !important; }
}

/* #faq --------------------------------------------------------------- */

#faq .faq__list { max-width: 760px; margin-top: 36px; border-top: 1px solid var(--rule); }
#faq .faq__item { border-bottom: 1px solid var(--rule); }
#faq .faq__item > summary.faq__q { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 2px; cursor: pointer; font: 500 18px/1.3 var(--serif); }
#faq .faq__item > summary.faq__q::-webkit-details-marker { display: none; }
#faq .faq__item > summary.faq__q:hover { color: var(--terra); }
#faq .faq__icon { position: relative; flex: none; width: 22px; height: 22px; }
#faq .faq__icon::before, #faq .faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 1.7px; background: var(--ink); transform: translate3d(-50%, -50%, 0); transition: transform .3s var(--ease-io), background-color .2s; }
#faq .faq__icon::after { transform: translate3d(-50%, -50%, 0) rotate(90deg); }
#faq .faq__item[open] .faq__icon::before { transform: translate3d(-50%, -50%, 0) rotate(45deg); }
#faq .faq__item[open] .faq__icon::after { transform: translate3d(-50%, -50%, 0) rotate(-45deg); }
#faq .faq__a { padding: 0 2px 22px; }
#faq .faq__a p { max-width: 58ch; }
#faq .faq__item[open] .faq__a { animation: faqIn .45s var(--ease-out) both; }

@keyframes faqIn { from { opacity: 0; transform: translate3d(0, -8px, 0); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  #faq .faq__item[open] .faq__a { animation: none; }
  #faq .faq__icon::before, #faq .faq__icon::after { transition: none; }
}

/* .footer -------------------------------------------------------------- */

.footer { position: relative; padding-block: 56px 36px; background: var(--night); color: var(--night-ink2); }
.footer .logo { color: var(--night-ink); }
.footer__top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 28px; }
.footer__desc { max-width: 30em; color: var(--night-ink2); flex: 1 1 260px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 22px; flex: none; }
.footer__links a { font: 500 14px/1 var(--sans); color: var(--night-ink2); text-decoration: none; transition: color .2s; }
.footer__links a:hover { color: var(--night-ink); }
.footer .rule { margin: 32px 0 20px; background: var(--night-rule); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.footer .fine { color: var(--night-ink2); }

@media (max-width: 640px) {
  .footer__top { flex-direction: column; }
  .footer__desc { flex: none; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
