h1{
  font-size: 48px;
}

h2{
  font-size: 32px;
}

.text{
  font-size: 20px;
}

.faq-backdrop {
  --bg: #fff;
  --accent: #0ABCB1;
  --accent-2: #2FCA84;
  --fg: #111;
  --muted: #555;
  background:
    radial-gradient(900px 400px at 10% -10%, color-mix(in oklab, var(--accent) 14%, transparent), transparent),
    radial-gradient(700px 300px at 110% 10%, color-mix(in oklab, var(--accent-2) 10%, transparent), transparent),
    var(--bg);
}

.faq { 
  display: grid;
  gap: 14px;
}

.faq-item {
  width: min(900px, 100%);
  margin: 0 auto;
  border-radius: 12px;
  position: relative;
  background: rgba(255,255,255,0.88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 2px solid transparent;
  background-clip: padding-box, border-box;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.12s ease;
}

.faq-item:hover { transform: translateY(-1px); }
.faq-item:active { transform: translateY(0); }

.faq-item.open {
  box-shadow: 0 6px 16px rgba(0,0,0,0.07);
  border-color: color-mix(in oklab, var(--accent) 22%, transparent);
}

.faq-item:has(.question-wrapper[aria-expanded="true"]) {
  box-shadow: 0 6px 16px rgba(0,0,0,0.07);
  border-color: color-mix(in oklab, var(--accent) 22%, transparent);
}

.question-wrapper {
  appearance: none;
  border: 0;
  background: transparent;
  width: 100%;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border-radius: 12px;
  font-size: 20px;
  gap: 10px;
  color: var(--fg);
  transition: background 120ms ease, transform 80ms ease, scale 100ms ease;
}

.question-wrapper:hover {
  background: rgba(255,255,255,0.6);
  scale: 1.01;
}

.question-wrapper:active {
  transform: translateY(1px);
}

.question-wrapper:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  background: rgba(255,255,255,0.75);
}

.question {
  margin: 0;
  color: var(--fg);
  font-weight: 650;
  line-height: 1.35;
}

.arrow {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  stroke-width: 6;
  fill: none;
  transition: transform 0.2s ease;
}

.faq-item.open .arrow { transform: rotate(180deg); }
.question-wrapper[aria-expanded="true"] .arrow { transform: rotate(180deg); }

.answer {
  max-height: 0;
  text-align: left;
  overflow: hidden;
  opacity: 0;
  transition: max-height 300ms ease, opacity 200ms ease;
}

.faq-item.open .answer {
  max-height: 600px;
  opacity: 1;
}

.faq-item:has(.question-wrapper[aria-expanded="true"]) .answer {
  max-height: 600px;
  opacity: 1;
}

.answer p {
  margin: 0;
  padding: 14px 20px 20px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.cta-wrapper{
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.button{
  width: fit-content;
  align-self: center;
}

@media (max-width: 450px) {
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .text { font-size: 18px; }
  .question-wrapper { font-size: 16px; padding: 14px 16px; }
  .answer p { padding: 12px 16px 16px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item, .question-wrapper, .arrow, .answer {
    transition: none !important;
  }
}

@media (hover: none) {
  .question-wrapper:hover { background: transparent; scale: 1; }
}
