/* ==========================================================================
   FAQ accordions (pricing, support, product pages) and the Support page.
   Loaded last, so it replaces the older .wms-faq rules everywhere.
   ========================================================================== */

/* ---- Accordion item ---- */
.wms-faq.wms-faq {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--showcase-surface, #fff);
  border: 1px solid rgba(19, 34, 42, 0.09);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(16, 32, 40, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.wms-faq + .wms-faq { margin-top: 12px; }
.wms-faq.wms-faq:hover { border-color: rgba(26, 127, 83, 0.28); }
.wms-faq.wms-faq[open] {
  border-color: rgba(26, 127, 83, 0.32);
  box-shadow: 0 2px 4px rgba(16, 32, 40, 0.04), 0 14px 32px -14px rgba(16, 32, 40, 0.18);
}

.wms-faq > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px 18px 22px;
  list-style: none;
  cursor: pointer;
  color: var(--showcase-fg, #13222a);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.005em;
  border-radius: 15px;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.wms-faq > summary::-webkit-details-marker,
.wms-faq > summary::marker { display: none; content: ""; }
.wms-faq > summary:hover { background: rgba(26, 127, 83, 0.035); }
.wms-faq[open] > summary { color: var(--showcase-accent-hover, #146843); }
.wms-faq > summary:focus-visible { outline: 2px solid var(--color-focus, #0891b2); outline-offset: -2px; }

/* Plus that turns into a close mark. */
.wms-faq > summary::after {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--showcase-mint, #e7f5ee) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a7f53' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform 0.25s ease, background-color 0.2s ease;
}
.wms-faq[open] > summary::after {
  transform: rotate(45deg);
  background-color: rgba(26, 127, 83, 0.16);
}

/* Answer */
.wms-faq > :not(summary) {
  margin: 0;
  padding: 0 64px 0 22px;
  color: var(--showcase-muted, #55646a);
  font-size: 0.97rem;
  line-height: 1.7;
}
.wms-faq > summary + * { padding-top: 2px; }
.wms-faq > :last-child:not(summary) { padding-bottom: 20px; }
.wms-faq a { color: var(--showcase-accent, #1a7f53); font-weight: 600; text-underline-offset: 3px; }

/* Smooth open and close where the browser can animate to auto height. */
@supports (interpolate-size: allow-keywords) {
  .wms-faq { interpolate-size: allow-keywords; }
  .wms-faq::details-content {
    height: 0;
    overflow: clip;
    transition: height 0.28s ease, content-visibility 0.28s allow-discrete;
  }
  .wms-faq[open]::details-content { height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .wms-faq, .wms-faq > summary, .wms-faq > summary::after, .wms-faq::details-content { transition: none; }
}

.wms-faq-list { display: grid; gap: 12px; max-width: 860px; }
.wms-faq-list .wms-faq + .wms-faq { margin-top: 0; }

@media (max-width: 600px) {
  .wms-faq > summary { padding: 16px 16px 16px 18px; font-size: 0.98rem; }
  .wms-faq > :not(summary) { padding: 0 18px; }
  .wms-faq > :last-child:not(summary) { padding-bottom: 18px; }
  .wms-faq > summary::after { width: 28px; height: 28px; }
}

/* ---- FAQ section: heading and help card beside the questions ---- */
.wms-faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr);
  gap: 48px;
  align-items: start;
  margin: 88px auto 0;
  max-width: 1100px;
}
.wms-faq-intro { position: sticky; top: 120px; }
.wms-faq-intro h2 {
  margin: 10px 0 12px;
  font-family: var(--showcase-display);
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--showcase-fg, #13222a);
}
.wms-faq-intro > p { margin: 0; color: var(--showcase-muted, #55646a); font-size: 1.02rem; line-height: 1.65; }
.wms-faq-section .wms-faq-list { max-width: none; }

.wms-help-card {
  margin-top: 28px;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(150deg, #14232b 0%, #1d3a36 100%);
  color: #dfe9e6;
  box-shadow: 0 18px 40px -20px rgba(16, 32, 40, 0.55);
}
.wms-help-card strong { display: block; margin-bottom: 6px; color: #fff; font-size: 1.05rem; }
.wms-help-card p { margin: 0 0 16px; font-size: 0.93rem; line-height: 1.6; color: #bfd0cb; }
.wms-help-card .wms-help-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.wms-help-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.wms-help-card a:hover { transform: translateY(-1px); }
.wms-help-card .is-primary { background: #45ad74; color: #fff; }
.wms-help-card .is-primary:hover { background: #3c9c67; }
.wms-help-card .is-quiet { background: rgba(255, 255, 255, 0.1); color: #fff; }
.wms-help-card .is-quiet:hover { background: rgba(255, 255, 255, 0.16); }
.wms-help-card .wms-icon svg, .wms-help-card svg { width: 16px; height: 16px; }

@media (max-width: 900px) {
  .wms-faq-section { grid-template-columns: 1fr; gap: 28px; margin-top: 64px; }
  .wms-faq-intro { position: static; }
}

/* ---- Support page ---- */
.wms-support-page { padding-bottom: 96px; }
.wms-support-hero { max-width: 760px; margin: 0 auto; text-align: center; }
.wms-support-hero h1 {
  margin: 12px 0 14px;
  font-family: var(--showcase-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--showcase-fg, #13222a);
}
.wms-support-hero p { margin: 0 auto; max-width: 620px; color: var(--showcase-muted, #55646a); font-size: 1.08rem; line-height: 1.65; }

.wms-support-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 44px auto 0;
  padding: 0;
  list-style: none;
}
.wms-support-quick a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(19, 34, 42, 0.08);
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 32, 40, 0.05);
  color: var(--showcase-fg, #13222a);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.wms-support-quick a:hover { transform: translateY(-3px); border-color: rgba(26, 127, 83, 0.3); box-shadow: 0 16px 34px -18px rgba(16, 32, 40, 0.3); }
.wms-support-quick-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: var(--showcase-mint, #e7f5ee);
  color: var(--showcase-accent, #1a7f53);
}
.wms-support-quick-icon svg { width: 20px; height: 20px; }
.wms-support-quick strong { font-size: 1.05rem; }
.wms-support-quick span:last-child { color: var(--showcase-muted, #55646a); font-size: 0.93rem; line-height: 1.55; }

.wms-support-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 40px auto 0;
  padding: 0;
  list-style: none;
}
.wms-support-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(19, 34, 42, 0.1);
  background: #fff;
  color: var(--showcase-fg, #13222a);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.wms-support-nav a:hover { border-color: rgba(26, 127, 83, 0.35); background: var(--showcase-mint, #e7f5ee); }
.wms-support-nav img, .wms-support-nav svg { width: 18px; height: 18px; }

.wms-support-group {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.6fr);
  gap: 40px;
  max-width: 1100px;
  margin: 72px auto 0;
  scroll-margin-top: 140px;
}
.wms-support-group-head { position: sticky; top: 120px; align-self: start; }
.wms-support-group-head .wms-support-group-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(19, 34, 42, 0.08);
  box-shadow: 0 1px 2px rgba(16, 32, 40, 0.05);
}
.wms-support-group-head .wms-support-group-icon img,
.wms-support-group-head .wms-support-group-icon svg { width: 26px; height: 26px; }
.wms-support-group-head .wms-support-group-icon .wms-icon svg { color: var(--showcase-accent, #1a7f53); }
.wms-support-group-head h2 {
  margin: 16px 0 8px;
  font-family: var(--showcase-display);
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--showcase-fg, #13222a);
}
.wms-support-group-head p { margin: 0; color: var(--showcase-muted, #55646a); font-size: 0.97rem; line-height: 1.6; }
.wms-support-group-head .wms-text-link { display: inline-flex; margin-top: 14px; font-size: 0.93rem; }
.wms-support-group .wms-faq-list { max-width: none; }

.wms-support-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  max-width: 1100px;
  margin: 88px auto 0;
  padding: 36px 40px;
  border-radius: 24px;
  background: radial-gradient(120% 140% at 100% 0%, rgba(69, 173, 116, 0.28) 0%, transparent 55%), linear-gradient(150deg, #14232b 0%, #1b302f 100%);
  color: #dfe9e6;
  box-shadow: 0 30px 60px -30px rgba(16, 32, 40, 0.6);
}
.wms-support-contact h2 { margin: 0 0 10px; color: #fff; font-family: var(--showcase-display); font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -0.015em; }
.wms-support-contact p { margin: 0; color: #bfd0cb; line-height: 1.65; }
.wms-support-contact ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; color: #bfd0cb; font-size: 0.93rem; }
.wms-support-contact li { display: flex; gap: 8px; align-items: flex-start; }
.wms-support-contact li svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: #7fd3a5; }
.wms-support-contact-action { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.wms-support-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 14px;
  background: #fff;
  color: var(--showcase-fg, #13222a);
  font-weight: 650;
  text-decoration: none;
  word-break: break-all;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.5);
  transition: transform 0.15s ease;
}
.wms-support-email:hover { transform: translateY(-2px); }
.wms-support-email svg { flex: none; width: 18px; height: 18px; color: var(--showcase-accent, #1a7f53); }
.wms-support-contact small { color: #9fb5ae; font-size: 0.85rem; }

@media (max-width: 900px) {
  .wms-support-quick { grid-template-columns: 1fr; }
  .wms-support-group { grid-template-columns: 1fr; gap: 20px; margin-top: 56px; }
  .wms-support-group-head { position: static; }
  .wms-support-contact { grid-template-columns: 1fr; padding: 28px 22px; margin-top: 64px; }
}

.wms-home-faq .wms-faq-section { margin-top: 0; }

/* ---- "Every plan includes": four cards, then two by two, then one column ---- */
.wms-plan-includes ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wms-plan-includes li {
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: 18px;
  border-color: rgba(19, 34, 42, 0.08);
  box-shadow: 0 1px 2px rgba(16, 32, 40, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.wms-plan-includes li:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(16, 32, 40, 0.3); }
.wms-plan-includes li > .wms-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--showcase-mint, #e7f5ee);
}
.wms-plan-includes li strong { font-size: 1rem; color: var(--showcase-fg, #13222a); }
.wms-plan-includes li span { line-height: 1.55; }
@media (max-width: 1000px) { .wms-plan-includes ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .wms-plan-includes ul { grid-template-columns: 1fr; } }
.wms-plan-includes li > .wms-icon svg { width: 20px; height: 20px; }
@media (max-width: 600px) {
  .wms-support-quick { gap: 10px; margin-top: 32px; }
  .wms-support-quick a { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: center; padding: 16px; }
  .wms-support-quick-icon { grid-row: span 2; margin: 0; }
}
