/* FAQ page visual system.
   Extends the Vell Designs dark studio language while prioritizing scanability,
   answer readability and a calm information hierarchy. */

.faq-experiment {
  background: #0c0d15;
  color: #f7f5ff;
}

.faq-experiment main {
  overflow: hidden;
  background: #0c0d15;
}

.faq-experiment .site-nav {
  border-bottom-color: rgba(255,255,255,.1);
  background: rgba(14,16,27,.94);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.faq-experiment .site-nav.is-scrolled {
  background: rgba(10,11,18,.975);
  box-shadow: 0 14px 34px rgba(0,0,0,.3);
}

.faq-experiment .site-nav .navbar-item,
.faq-experiment .site-nav .navbar-burger {
  color: #f7f5ff;
}

.faq-experiment .site-nav a.navbar-item:not(.button):hover {
  background: rgba(255,255,255,.07);
  color: var(--studio-acid);
}

.faq-experiment .site-nav a.navbar-item[aria-current="page"]:not(.button) {
  color: var(--studio-acid);
  box-shadow: inset 0 -3px 0 var(--studio-acid);
}

.faq-experiment .site-nav .button.is-brand {
  border-color: var(--studio-acid);
  background: var(--studio-acid);
  color: #17151d;
  font-weight: 800;
}

.faq-experiment .site-nav .brand-symbol { color: var(--studio-cyan); }
.faq-experiment .site-nav .brand-name { color: #fff; }
.faq-experiment .site-nav .brand-studio { color: #b8b4c9; }

.faq-experiment .site-nav .brand-mark:hover .brand-symbol,
.faq-experiment .site-nav .brand-mark:focus-visible .brand-symbol,
.faq-experiment .site-nav .brand-mark:hover .brand-name,
.faq-experiment .site-nav .brand-mark:focus-visible .brand-name {
  color: var(--studio-acid);
}

.faq-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(5rem,9vw,8rem);
  padding-bottom: clamp(4.5rem,8vw,7rem);
  background:
    radial-gradient(circle at 84% 18%, rgba(92,225,230,.18), transparent 28rem),
    radial-gradient(circle at 10% 90%, rgba(109,93,252,.28), transparent 31rem),
    linear-gradient(180deg,#10141d 0%,#121827 52%,#20173e 100%);
  box-shadow: inset 0 -1px 0 rgba(142,126,255,.2);
}

.faq-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -5rem;
  top: 4rem;
  width: min(36rem,50vw);
  height: min(26rem,40vw);
  opacity: .34;
  background-image:
    linear-gradient(rgba(171,178,205,.1) 1px,transparent 1px),
    linear-gradient(90deg,rgba(171,178,205,.1) 1px,transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(145deg,rgba(0,0,0,.9),rgba(0,0,0,.18) 74%,transparent);
  mask-image: linear-gradient(145deg,rgba(0,0,0,.9),rgba(0,0,0,.18) 74%,transparent);
}

.faq-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 8%;
  bottom: -8rem;
  width: 16rem;
  height: 16rem;
  border: 1px solid rgba(92,225,230,.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 3.75rem rgba(92,225,230,.026),
    0 0 0 7.5rem rgba(109,93,252,.018);
}

.faq-hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(300px,.7fr);
  align-items: end;
  gap: clamp(2.5rem,6vw,6rem);
}

.faq-experiment .eyebrow { color: var(--studio-cyan); }

.faq-hero-title {
  max-width: 12ch;
  margin-top: .55rem;
  color: #fff !important;
  font-family: Georgia,"Times New Roman",serif;
  font-size: clamp(3.4rem,6.2vw,5.9rem) !important;
  line-height: .95;
  letter-spacing: -.044em;
}

.faq-hero .subtitle {
  max-width: 45rem;
  margin-top: 1.35rem;
  color: #d4d1df;
  font-size: clamp(1.08rem,1.7vw,1.3rem) !important;
  line-height: 1.65;
}

.faq-scope-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.4rem,3vw,2rem);
  border: 1px solid rgba(92,225,230,.3);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%,rgba(92,225,230,.12),transparent 15rem),
    linear-gradient(180deg,rgba(28,39,51,.88),rgba(18,23,34,.94));
  box-shadow: 0 24px 58px rgba(2,6,16,.28);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.faq-scope-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg,var(--studio-cyan),rgba(92,225,230,.15));
}

.faq-scope-label {
  margin-bottom: .8rem;
  color: var(--studio-acid);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.faq-scope-card p:last-child {
  margin: 0;
  color: #d9e7ea;
  line-height: 1.65;
}

.faq-scope-card strong { color: #fff; }

.faq-list {
  position: relative;
  isolation: isolate;
  padding-top: clamp(5rem,8vw,7rem);
  padding-bottom: clamp(5rem,8vw,7rem);
  background:
    radial-gradient(circle at 8% 16%,rgba(109,93,252,.14),transparent 25rem),
    radial-gradient(circle at 92% 82%,rgba(92,225,230,.09),transparent 29rem),
    linear-gradient(180deg,#20173e 0%,#18243b 48%,#12313a 100%);
  box-shadow: inset 0 1px 0 rgba(142,126,255,.2);
}

.faq-list::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -7rem;
  top: 24rem;
  width: 18rem;
  height: 24rem;
  border: 1px solid rgba(217,255,111,.09);
  border-radius: 5px;
  transform: rotate(-5deg);
}

.faq-section-heading {
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(280px,.75fr);
  gap: 1.5rem 4rem;
  align-items: end;
}

.faq-section-title {
  max-width: 12ch;
  margin-top: .45rem;
  color: #fff !important;
  font-family: Georgia,"Times New Roman",serif;
  font-size: clamp(2.8rem,5vw,4.8rem) !important;
  line-height: .98;
  letter-spacing: -.035em;
}

.faq-section-copy {
  max-width: 35rem;
  margin: 0;
  color: #c8d4df;
  font-size: 1.05rem;
  line-height: 1.7;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(1rem,2.2vw,1.5rem);
  margin-top: clamp(2.75rem,5vw,4.25rem);
}

.faq-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  padding: clamp(1.5rem,3vw,2rem);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background: linear-gradient(180deg,rgba(31,32,46,.94),rgba(18,20,30,.98));
  box-shadow: 0 24px 58px rgba(3,6,15,.25);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.faq-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg,var(--faq-accent,var(--studio-cyan)),transparent 80%);
}

.faq-card.is-cyan { --faq-accent: var(--studio-cyan); border-color: rgba(92,225,230,.28); }
.faq-card.is-violet { --faq-accent: var(--studio-violet); border-color: rgba(109,93,252,.31); }
.faq-card.is-coral { --faq-accent: var(--studio-coral); border-color: rgba(255,122,103,.28); }
.faq-card.is-acid { --faq-accent: var(--studio-acid); border-color: rgba(217,255,111,.24); }

.faq-index {
  color: #8f8a9e;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .13em;
}

.faq-card .title {
  max-width: 24ch;
  margin-top: 1.45rem;
  margin-bottom: .9rem;
  color: #fff !important;
  font-family: Georgia,"Times New Roman",serif;
  font-size: clamp(1.55rem,2.4vw,2.05rem) !important;
  line-height: 1.08;
  letter-spacing: -.022em;
}

.faq-card > p:last-child {
  margin: 0;
  color: #cbc9d7;
  line-height: 1.68;
}

.faq-cta {
  position: relative;
  padding-top: clamp(3rem,6vw,5rem);
  padding-bottom: clamp(4rem,7vw,6rem);
  background:
    radial-gradient(circle at 82% 18%,rgba(109,93,252,.17),transparent 24rem),
    linear-gradient(180deg,#12313a 0%,#171c2f 52%,#211740 100%);
  box-shadow: inset 0 1px 0 rgba(92,225,230,.14);
}

.faq-cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem,5vw,4.25rem);
  border-radius: 32px;
  background:
    radial-gradient(circle at 92% 8%,rgba(92,225,230,.3),transparent 20rem),
    var(--studio-acid);
  color: #17151d;
  box-shadow: 0 30px 80px rgba(0,0,0,.24);
}

.faq-cta-panel::after {
  content: "";
  position: absolute;
  right: -4.5rem;
  bottom: -6rem;
  width: 16rem;
  height: 21rem;
  border: 1px solid rgba(23,21,29,.12);
  border-radius: 6px;
  transform: rotate(7deg);
  pointer-events: none;
}

.faq-cta-panel .eyebrow { color: #504b25; }

.faq-cta-panel .title {
  max-width: 14ch;
  margin-top: .5rem;
  color: #17151d !important;
  font-family: Georgia,"Times New Roman",serif;
  font-size: clamp(2.7rem,5.4vw,4.7rem) !important;
  line-height: .97;
  letter-spacing: -.038em;
}

.faq-cta-panel > p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  font-size: 1.08rem;
  line-height: 1.65;
}

.faq-cta-panel .button {
  position: relative;
  z-index: 1;
  border-color: #17151d;
  background: #17151d;
  color: #fff;
  font-weight: 800;
}

.faq-cta-panel .button:hover {
  background: #2a2631;
  color: #fff;
}

.faq-experiment .site-footer {
  border-top-color: rgba(255,255,255,.16);
  background: linear-gradient(180deg,#0d0c14 0%,#08080d 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}

.faq-experiment .site-footer .footer-brand-name { color: #f7f5ff; }
.faq-experiment .site-footer .small-print { color: #aaa6b7; }
.faq-experiment .site-footer .footer-links a { color: #fff; }
.faq-experiment .site-footer .footer-links a:hover { color: var(--studio-acid); }

.faq-experiment .site-footer .button.is-brand {
  border-color: var(--studio-acid);
  background: var(--studio-acid);
  color: #17151d;
  font-weight: 800;
}

@media screen and (max-width:1023px) {
  .faq-experiment .site-nav {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .faq-experiment .site-nav .navbar-brand {
    background: rgba(10,11,18,.985);
  }

  .faq-experiment .site-nav a.navbar-item[aria-current="page"]:not(.button) {
    border-left-color: var(--studio-acid);
    box-shadow: none;
  }

  .faq-hero-grid,
  .faq-section-heading {
    grid-template-columns: 1fr;
  }

  .faq-scope-card,
  .faq-section-copy {
    max-width: 46rem;
  }
}

@media screen and (max-width:768px) {
  .faq-hero {
    padding-top: 3.75rem;
    padding-bottom: 4rem;
  }

  .faq-hero::before {
    right: -16rem;
    width: 32rem;
    height: 25rem;
    opacity: .25;
  }

  .faq-hero::after {
    right: -4rem;
    bottom: -5rem;
    width: 10rem;
    height: 10rem;
  }

  .faq-hero-grid { gap: 2rem; }

  .faq-hero-title {
    max-width: 11ch;
    font-size: clamp(3rem,14vw,4.2rem) !important;
  }

  .faq-list {
    padding-top: 4.25rem;
    padding-bottom: 4.25rem;
  }

  .faq-section-title {
    max-width: 12ch;
    font-size: clamp(2.65rem,12vw,3.8rem) !important;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    margin-top: 2.25rem;
  }

  .faq-card {
    min-height: 0;
    border-radius: 20px;
  }

  .faq-cta {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
  }

  .faq-cta-panel {
    padding: 1.65rem;
    border-radius: 24px;
  }

  .faq-cta-panel .title {
    font-size: clamp(2.55rem,12vw,3.7rem) !important;
  }

  .faq-cta-panel .button {
    width: 100%;
    justify-content: center;
  }

  .faq-experiment .site-footer .footer-shell {
    padding-inline: 1.25rem;
  }
}

@media screen and (max-width:360px) {
  .faq-hero-title { font-size: clamp(2.65rem,14vw,3.2rem) !important; }
  .faq-section-title,
  .faq-cta-panel .title { font-size: clamp(2.35rem,12vw,3rem) !important; }
}

@media (forced-colors:active) {
  .faq-hero::before,
  .faq-hero::after,
  .faq-list::before,
  .faq-cta-panel::after {
    display: none;
  }

  .faq-scope-card,
  .faq-card,
  .faq-cta-panel {
    border: 1px solid CanvasText;
    background: Canvas;
    color: CanvasText;
  }
}
