/* ==========================================================================
   Merorme — support page
   ========================================================================== */

.support-hero {
  background:
    radial-gradient(ellipse at 82% 30%, rgb(114 200 210 / .35), transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgb(137 188 168 / .25), transparent 60%),
    #18201D;
}
.support-hero::after { display: none; }
.support-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}
.support-mero { width: clamp(150px, 18vw, 240px); }
.faq-search {
  position: relative;
  display: block;
  margin-top: 30px;
  max-width: 34rem;
}
.faq-search svg {
  position: absolute;
  left: 18px;
  top: 50%;
  width: 22px;
  height: 22px;
  translate: 0 -50%;
  color: #18201D;
  pointer-events: none;
}
.faq-search input {
  width: 100%;
  min-height: 56px;
  padding: 14px 18px 14px 52px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: #FFFEFA;
  color: #18201D;
  font: 500 1.0625rem/1.2 var(--sans);
  box-shadow: 0 12px 30px -16px rgb(0 0 0 / .6);
}
.faq-search input::placeholder { color: #65706A; }
.faq-search input:focus-visible { outline: 3px solid #FF9A78; outline-offset: 3px; }
.faq-count { min-height: 1.4em; margin-top: 12px; color: #DCE7E2; font-size: var(--fs-small); }

.faq-layout {
  display: grid;
  grid-template-columns: 236px minmax(0, 46rem);
  gap: clamp(32px, 5vw, 84px);
  justify-content: center;
  padding-block: clamp(40px, 6vw, 84px);
}
.faq-nav { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.faq-nav ol { list-style: none; margin: 0; padding: 0; display: grid; border-left: 1px solid var(--rule); }
.faq-nav a {
  display: block;
  margin-left: -1px;
  padding: 7px 12px;
  border-left: 2px solid transparent;
  color: var(--text-2);
  text-decoration: none;
  font-size: .9375rem;
}
.faq-nav a:hover { color: var(--text); border-left-color: var(--moss); }

.faq-group + .faq-group { margin-top: 44px; }
.faq-group h2 {
  margin-bottom: 14px;
  font: 700 clamp(1.4rem, 1.15rem + 1vw, 1.9rem)/1.15 var(--display);
  letter-spacing: -.025em;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.faq details {
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--rule);
  transition: border-color .25s;
}
.faq details + details { margin-top: 10px; }
.faq details[open] { border-color: color-mix(in srgb, var(--moss) 45%, var(--rule)); }
.faq summary {
  position: relative;
  display: block;
  padding: 18px 56px 18px 22px;
  border-radius: 20px;
  cursor: pointer;
  font: 650 1.0625rem/1.4 var(--sans);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 22px;
  height: 22px;
  translate: 0 -50%;
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 10px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 10px no-repeat,
    var(--well);
  transition: rotate .3s var(--ease);
}
.faq details[open] > summary::after {
  rotate: 45deg;
}
.faq summary:hover { color: var(--moss); }
.faq summary:focus-visible { outline-offset: -3px; }
.faq-a { padding: 0 22px 20px; color: var(--text-2); }
.faq-a p + p, .faq-a ul + p, .faq-a p + ul { margin-top: 10px; }
.faq-a ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.faq-a a { color: var(--text); font-weight: 600; text-underline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .faq details::details-content { transition: content-visibility .3s allow-discrete, height .3s var(--ease); height: 0; overflow: clip; }
  .faq details[open]::details-content { height: auto; }
  @supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }
}
.faq-empty {
  padding: 22px;
  border-radius: 20px;
  border: 1px dashed var(--rule);
  color: var(--text-2);
}
[data-faq-hidden] { display: none; }

.contact-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 48px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--rule);
}
.contact-card h2 { font: 700 1.5rem/1.2 var(--display); letter-spacing: -.02em; margin-bottom: 8px; scroll-margin-top: calc(var(--header-h) + 20px); }
.contact-card p + p { margin-top: 10px; }
.contact-mero { width: 104px; }
.placeholder-note { color: var(--text-2); font-size: var(--fs-small); }

@media (max-width: 899.98px) {
  .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .faq-nav { position: static; }
  .faq-nav ol { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
  .faq-nav a { margin: 0; padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; font-size: .875rem; font-weight: 600; }
  .faq-nav li:last-child { display: none; }
}
@media (max-width: 599.98px) {
  .support-hero-inner { grid-template-columns: 1fr; }
  .support-mero { display: none; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-mero { width: 84px; }
}
