.home-account-faq {
  --closing-ink: #2f241c;
  --closing-muted: #635246;
  --closing-accent: #8c431b;
  --closing-line: #d7bd98;
  --closing-panel: #f4e9d8;
  --closing-card: #fffbf3;
  --closing-active: #fcf1df;
  max-width: 1216px;
  margin-inline: auto;
  padding: clamp(36px, 6vw, 76px) clamp(16px, 4vw, 48px) clamp(48px, 7vw, 96px);
  color: var(--closing-ink);
}

:root[data-theme="dark"] .home-account-faq {
  --closing-ink: #f6e5cf;
  --closing-muted: #deccb7;
  --closing-accent: #ffbf87;
  --closing-line: #806344;
  --closing-panel: #30241b;
  --closing-card: #29211a;
  --closing-active: #35271d;
}

.home-account-faq h2 {
  margin: 0;
  color: var(--closing-ink);
  font-family: var(--font-display, Georgia, serif);
  font-weight: 600;
  line-height: 1;
}

.home-account-faq h2 em {
  color: var(--closing-accent);
  font-weight: inherit;
}

.home-account {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.07fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(22px, 4vw, 52px);
  border: 1px solid var(--closing-line);
  border-radius: 22px;
  background: var(--closing-panel);
}

.home-account h2 {
  max-inline-size: 17ch;
  font-size: clamp(2.4rem, 4.6vw, 4.15rem);
}

.home-section-intro {
  margin: 14px 0 0;
  color: var(--closing-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.home-account-benefits {
  display: grid;
  gap: 10px;
  margin: 23px 0 26px;
  padding: 0;
  list-style: none;
}

.home-account-benefits li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 600;
}

.home-account-icon {
  display: grid;
  flex: 0 0 35px;
  height: 35px;
  place-items: center;
  border: 1px solid var(--closing-line);
  border-radius: 50%;
  color: var(--closing-accent);
}

.home-account-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 10px 19px;
  border: 1px solid #9f501c;
  border-radius: 7px;
  background: linear-gradient(180deg, #fac178, #eba04e);
  color: #301a0e;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}

.home-account-button:hover {
  background: #ffd093;
  color: #301a0e;
}

.home-account-button span,
.home-faq-learn span {
  display: inline-block;
  transition: transform 200ms ease;
}

.home-account-button:hover span,
.home-faq-learn:hover span { transform: translateX(3px); }

.home-account-signin {
  margin: 6px 0 0;
  color: var(--closing-muted);
}

.home-account-signin a,
.home-faq-learn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--closing-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .22em;
}

.home-account-art {
  display: block;
  width: 100%;
  height: auto;
  max-width: 520px;
  justify-self: center;
}

.home-account-art text { font-family: var(--font-body, system-ui, sans-serif); }
.home-account-art g[dominant-baseline] text { font-family: Georgia, "Apple Symbols", "Segoe UI Symbol", serif; }

.home-account-star { transition: opacity 240ms ease; }
.home-account:hover .home-account-star { opacity: .58; }

.home-faq {
  max-width: 740px;
  margin-inline: auto;
  text-align: center;
}

.home-faq-header {
  position: relative;
  padding-top: clamp(40px, 6vw, 72px);
}

.home-faq-header::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: clamp(24px, 4vw, 46px);
  background: var(--closing-line);
  content: "";
}

.home-faq-eyebrow {
  margin: 0 0 8px;
  color: var(--closing-accent);
  font-size: .8rem;
  font-weight: 650;
  letter-spacing: .13em;
}

.home-faq h2 { font-size: clamp(2.6rem, 5vw, 4rem); }

.home-faq-list {
  display: grid;
  gap: 10px;
  margin-top: 25px;
  text-align: left;
}

.home-faq-list details {
  border: 1px solid var(--closing-line);
  border-radius: 10px;
  background-color: var(--closing-card);
  transition: background-color 200ms ease, border-color 200ms ease;
}

.home-faq-list details:is([open], :hover) {
  border-color: var(--closing-accent);
  background-color: var(--closing-active);
}

.home-faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding: 13px clamp(14px, 3vw, 22px);
  border-radius: inherit;
  color: var(--closing-ink);
  font-size: 1.075rem;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.home-faq-list summary::-webkit-details-marker { display: none; }

.home-faq-toggle {
  position: relative;
  flex: 0 0 28px;
  height: 28px;
  border: 1px solid var(--closing-line);
  border-radius: 50%;
  color: var(--closing-accent);
}

.home-faq-toggle::before,
.home-faq-toggle::after {
  position: absolute;
  inset: 0;
  width: 11px;
  height: 1.5px;
  margin: auto;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.home-faq-toggle::after {
  transform: rotate(90deg);
  transition: transform 220ms ease, opacity 220ms ease;
}

.home-faq-list details[open] .home-faq-toggle::after {
  opacity: 0;
  transform: rotate(0deg);
}

.home-faq-answer {
  padding: 0 clamp(14px, 3vw, 22px) 17px;
  color: var(--closing-muted);
  line-height: 1.65;
}

.home-faq-answer p { margin: 0; }

@supports selector(details::details-content) and (interpolate-size: allow-keywords) {
  .home-faq-list details::details-content {
    interpolate-size: allow-keywords;
    block-size: 0;
    overflow: clip;
    opacity: 0;
    transition: block-size 240ms ease, opacity 200ms ease, content-visibility 240ms allow-discrete;
  }

  .home-faq-list details[open]::details-content {
    block-size: auto;
    opacity: 1;
  }
}

.home-faq-learn { gap: 8px; margin-top: 12px; }

@media (max-width: 760px) {
  .home-account { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .home-account-faq *,
  .home-account-faq *::before,
  .home-account-faq *::after { transition: none; }
  .home-faq-list details::details-content { transition: none; }
}
