/* Product Shot homepage: FAQ, closing sign-up band and footer.
   Uses base.css primitives (.ps-wrap, .ps-h2, .ps-label, .ps-btn, .ps-signup). */

/* ---------- FAQ ---------- */
.ps-faq {
  background: var(--plurel-canvas);
  border-top: 1px solid var(--plurel-ink);
  padding-block: var(--ps-section);
}
.ps-faq__inner { display: grid; gap: clamp(36px, 6vw, 64px); }
.ps-faq__head .ps-h2 { margin-top: 16px; max-width: 16ch; }

@media (min-width: 960px) {
  .ps-faq__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
  .ps-faq__head { position: sticky; top: 120px; }
}

.ps-faq__list { border-top: 1px solid var(--plurel-ink); interpolate-size: allow-keywords; }
.ps-faq__item { border-bottom: 1px solid var(--plurel-ink); }

.ps-faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 76px; padding: 20px 0; cursor: pointer; list-style: none;
  font: 700 clamp(1.0625rem, 1.55vw, 1.25rem)/1.3 var(--plurel-body); text-wrap: pretty;
  -webkit-tap-highlight-color: transparent;
}
.ps-faq__q::-webkit-details-marker { display: none; }
.ps-faq__q::marker { content: ""; }
.ps-faq__q:focus-visible { outline-offset: 2px; }

/* A plus in an ink ring; it turns 45 degrees into a cross when open. */
.ps-faq__icon {
  position: relative; flex: none; width: 40px; height: 40px;
  border: 1px solid var(--plurel-ink); border-radius: 50%; background: var(--plurel-paper);
  transition: transform .35s var(--ps-ease), background-color .2s var(--ps-ease);
}
.ps-faq__icon::before, .ps-faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px;
  background: var(--plurel-ink); border-radius: 1px;
}
.ps-faq__icon::after { transform: rotate(90deg); }
.ps-faq__item[open] .ps-faq__icon { transform: rotate(45deg); background: var(--ps-orange); }
@media (hover: hover) {
  .ps-faq__q:hover .ps-faq__icon { background: var(--ps-yellow); }
  .ps-faq__item[open] .ps-faq__q:hover .ps-faq__icon { background: var(--ps-orange); }
}

.ps-faq__a { padding: 0 64px 28px 0; }
.ps-faq__a p { max-width: 68ch; color: var(--plurel-muted); font-size: 1.0625rem; line-height: 1.6; text-wrap: pretty; }
.ps-faq__a strong { color: var(--plurel-ink); font-weight: 700; }
.ps-faq__a a { color: var(--plurel-ink); font-weight: 700; text-decoration-thickness: 1px; }

/* Smooth open and close where ::details-content is supported. Elsewhere the
   rule is dropped and <details> opens instantly, which is the safe default. */
.ps-faq__item::details-content {
  block-size: 0; overflow-y: clip;
  transition: block-size .4s var(--ps-ease), content-visibility .4s allow-discrete;
}
.ps-faq__item[open]::details-content { block-size: auto; }
.ps-faq__a { opacity: 0; transform: translateY(-6px); transition: opacity .3s var(--ps-ease), transform .4s var(--ps-ease); }
.ps-faq__item[open] .ps-faq__a { opacity: 1; transform: none; }

.ps-faq .ps-faq__more { margin-top: 36px; font-size: 1.0625rem; line-height: 1.5; }
.ps-faq__more a { font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; overflow-wrap: anywhere; }

@media (max-width: 600px) {
  .ps-faq__q { gap: 16px; min-height: 72px; }
  .ps-faq__icon { width: 36px; height: 36px; }
  .ps-faq__a { padding-right: 0; }
}

/* ---------- Closing band ----------
   Orange with ink text (about 6.7:1) and the yellow pill (ink on yellow,
   about 18:1). Blue with ink text measures about 5.7:1, so orange wins. */
.ps-close {
  background: var(--ps-orange); color: var(--plurel-ink);
  border-block: 1px solid var(--plurel-ink);
  padding-block: var(--ps-section); text-align: center;
}
.ps-close__inner { display: flex; flex-direction: column; align-items: center; }
.ps-close__label {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px;
  border: 1px solid var(--plurel-ink); border-radius: 999px; background: var(--ps-yellow);
}
.ps-close .ps-close__title {
  margin-top: clamp(24px, 3vw, 36px); max-width: 13ch;
  font: 400 clamp(2.5rem, 8.4vw, 7rem)/.94 var(--plurel-label); letter-spacing: -.02em;
  text-transform: uppercase; text-wrap: balance;
}
.ps-close .ps-close__lede { margin-top: clamp(20px, 2.4vw, 32px); max-width: 38ch; }
.ps-close .ps-signup { margin-top: clamp(32px, 4vw, 48px); max-width: 520px; }
.ps-close .ps-btn { background: var(--ps-yellow); }
.ps-close .ps-input { border-color: var(--plurel-ink); }
/* base.css's .ps p { margin: 0 } outranks .ps-note's margin-top, so restate it. */
.ps-close .ps-signup .ps-note { margin-top: 20px; text-wrap: balance; }
.ps-close :focus-visible { outline-color: var(--plurel-ink); }
/* The done state (a paper pill with a yellow check disc) is in signup.css. */

/* Sign-up error state, shared by both forms on the page (home.js sets it). */
.ps-signup .ps-note.is-error { font-weight: 700; }
.ps-signup .ps-note.is-error::before {
  content: "!"; display: inline-grid; place-items: center; width: 1.3em; height: 1.3em; margin-right: 8px;
  border-radius: 50%; background: var(--plurel-ink); color: var(--plurel-paper);
  font-size: .8125rem; vertical-align: .05em;
}
.ps-input[aria-invalid="true"] { box-shadow: inset 0 0 0 1px var(--plurel-ink); }

/* ---------- Footer ---------- */
.ps-footer { background: var(--plurel-canvas); padding-block: clamp(56px, 8vw, 96px) 28px; font-size: .9375rem; }
.ps-footer__top { display: grid; gap: 40px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ps-footer__brand { grid-column: 1 / -1; }
@media (min-width: 720px) {
  .ps-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .ps-footer__top { grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); }
  .ps-footer__brand { grid-column: auto; }
}

.ps-footer__logo { display: inline-block; border-radius: 6px; }
.ps-footer__logo img { width: auto; height: 60px; }
.ps-footer .ps-footer__brand p { margin-top: 16px; max-width: 24ch; font-size: 1.0625rem; line-height: 1.4; }

.ps-footer__group h2 { color: var(--plurel-ink); }
.ps-footer__group ul { list-style: none; margin: 12px 0 0; padding: 0; }
.ps-footer__group a {
  display: inline-block; padding-block: 7px; color: var(--plurel-muted);
  text-decoration: none; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.ps-footer__group a:hover { color: var(--plurel-ink); text-decoration-line: underline; }

.ps-footer__fine {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
  margin-top: clamp(48px, 6vw, 72px); padding-top: 20px; border-top: 1px solid var(--plurel-ink);
  font-size: .8125rem; color: var(--plurel-muted);
}
@media (max-width: 719px) {
  .ps-footer__group--row { grid-column: 1 / -1; }
  .ps-footer__group--row ul { display: flex; flex-wrap: wrap; gap: 0 28px; }
}

.ps-footer__fine a { padding-block: 6px; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ps-footer__fine a:hover { color: var(--plurel-ink); }

@media (prefers-reduced-motion: reduce) {
  .ps-faq__item::details-content { transition: none; }
  .ps-faq__a, .ps-faq__icon { transition: none; }
}

.ps-close .ps-stores { margin-top: 28px; }
.ps-close .ps-input:focus { box-shadow: inset 0 0 0 1px var(--plurel-ink), 0 0 0 3px var(--ps-orange), 0 0 0 5px var(--plurel-ink); }
.ps-footer__marks { margin-top: 20px; max-width: 80ch; font-size: .75rem; line-height: 1.5; color: var(--plurel-muted); }

/* Back to top: a small outlined pill, like the site's other buttons. */
.ps-footer__fine .ps-top {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px 0 14px;
  border: 1px solid var(--plurel-ink); border-radius: 999px; background: var(--plurel-paper); color: var(--plurel-ink);
  box-shadow: -3px 4px 0 var(--plurel-ink); font: 700 .6875rem/1 var(--plurel-body); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  transition: transform .12s var(--ps-ease), box-shadow .12s var(--ps-ease), background-color .12s var(--ps-ease);
}
@media (hover: hover) { .ps-footer__fine .ps-top:hover { background: var(--ps-yellow); transform: translate(-1px, 2px); box-shadow: -2px 2px 0 var(--plurel-ink); } }
.ps-footer__fine .ps-top:active { transform: translate(-3px, 4px); box-shadow: 0 0 0 var(--plurel-ink); }

/* Ask AI column: its copy actions are buttons that read as footer links. */
.ps-footer__copy {
  appearance: none; -webkit-appearance: none; border: 0; background: none; margin: 0; padding: 6px 0; cursor: pointer;
  font: inherit; color: var(--plurel-muted); text-align: left;
}
.ps-footer__copy:hover { color: var(--plurel-ink); text-decoration: underline; }
.ps-footer__copy.is-done { color: var(--plurel-ink); font-weight: 700; }
