:root {
  --faq-ink: #07111f;
  --faq-body: #475569;
  --faq-line: #e6ebf1;
  --faq-cyan: #16b8d9;
  --faq-cyan-deep: #0789a2;
  --faq-cyan-hover: #0ea5c2;
  --faq-mint: #6ee7d8;
  --faq-blue: #2563eb;
  --faq-teal: #0f766e;
  --faq-gold: #9a6a04;
  --faq-max: 1220px;
}

body.faq-page {
  margin: 0;
  background: #ffffff;
  color: var(--faq-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.faq-page h1,
.faq-page h2,
.faq-page p,
.faq-page a,
.faq-page summary,
.faq-page nav,
.faq-page span,
.faq-page div {
  font-family: inherit;
}
.faq-page a { color: var(--faq-cyan-deep); }
.faq-page a:hover { color: var(--faq-cyan-hover); }
.faq-page html { scroll-behavior: smooth; }
.faq-page * { box-sizing: border-box; }
.faq-shell { width: min(var(--faq-max), calc(100% - 52px)); margin: 0 auto; }

/* ---------- hero ---------- */
.faq-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 74px;
  background:
    radial-gradient(900px 520px at 12% 2%, rgba(22,184,217,.16), transparent 62%),
    radial-gradient(760px 460px at 88% 18%, rgba(110,231,216,.14), transparent 60%),
    #ffffff;
}
.faq-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
  align-items: center;
}
.faq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(22,184,217,.08);
  color: var(--faq-cyan-deep);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.faq-eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--faq-cyan);
  animation: faq-pulse 2.2s ease-in-out infinite;
}
@keyframes faq-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22,184,217,.55); opacity: 1; }
  55% { box-shadow: 0 0 0 5px rgba(22,184,217,0); opacity: .75; }
}
.faq-hero h1 {
  margin: 22px 0 0;
  max-width: 15ch;
  font-size: clamp(2.9rem, 5.6vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 900;
  text-wrap: balance;
}
.faq-hero__lede {
  margin: 24px 0 0;
  max-width: 64ch;
  color: var(--faq-body);
  font-size: 1.16rem;
  line-height: 1.6;
  text-wrap: pretty;
}
.faq-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.faq-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 17px;
  border: 1px solid var(--faq-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--faq-ink);
  text-decoration: none;
  font-size: .84rem;
  font-weight: 750;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.faq-jump a:hover,
.faq-jump a:focus-visible {
  border-color: rgba(22,184,217,.42);
  background: #f3fafb;
  color: var(--faq-cyan-deep);
  outline: none;
}
.faq-hero__card {
  padding: 26px;
  border-radius: 28px;
  border: 1px solid var(--faq-line);
  background: linear-gradient(135deg, #07111f, #10243d);
  box-shadow: 0 26px 60px rgba(15,23,42,.16);
  animation: faq-float 8s ease-in-out infinite;
}
@keyframes faq-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.faq-hero__card p:first-child {
  margin: 0;
  color: var(--faq-mint);
  font-size: .69rem;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.faq-hero__card h2 {
  margin: 12px 0 0;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 850;
  letter-spacing: -.03em;
  line-height: 1.25;
}
.faq-hero__card p:last-child {
  margin: 14px 0 0;
  color: rgba(226,242,247,.72);
  font-size: .88rem;
  line-height: 1.6;
}

/* ---------- body layout ---------- */
.faq-main { padding: 64px 0 88px; border-top: 1px solid var(--faq-line); }
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 64px;
  align-items: start;
}
.faq-section { scroll-margin-top: 110px; padding: 52px 0; border-top: 1px solid var(--faq-line); }
.faq-section:first-child { padding-top: 0; border-top: 0; }
.faq-section:last-child { padding-bottom: 0; }
.faq-section__head { padding: 0 0 26px; }
.faq-section__number {
  margin: 0 0 12px;
  color: var(--faq-cyan-deep);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.faq-section--studio .faq-section__number { color: var(--faq-blue); }
.faq-section--companion .faq-section__number { color: var(--faq-teal); }
.faq-section--services .faq-section__number { color: var(--faq-gold); }
.faq-section h2 {
  margin: 0;
  font-size: clamp(1.85rem, 2.8vw, 2.5rem);
  line-height: 1.06;
  letter-spacing: -.04em;
  font-weight: 900;
}
.faq-section__intro {
  margin: 14px 0 0;
  max-width: 66ch;
  color: var(--faq-body);
  font-size: 1rem;
  line-height: 1.62;
  text-wrap: pretty;
}

/* ---------- accordion ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--faq-line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 2px 14px rgba(15,23,42,.04);
  overflow: clip;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] {
  border-color: rgba(22,184,217,.38);
  box-shadow: 0 14px 40px rgba(15,23,42,.07);
}
.faq-item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 22px 66px 22px 24px;
  font-size: 1.06rem;
  font-weight: 750;
  line-height: 1.45;
  letter-spacing: -.015em;
  color: var(--faq-ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__plus {
  position: absolute;
  top: 19px;
  right: 20px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(22,184,217,.09);
  color: var(--faq-cyan-deep);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1;
  transition: transform .22s ease, background .22s ease, color .22s ease;
}
.faq-item[open] .faq-item__plus {
  transform: rotate(45deg);
  background: var(--faq-cyan);
  color: #ffffff;
}
.faq-answer {
  padding: 0 24px 24px;
  max-width: 74ch;
  color: var(--faq-body);
  font-size: .97rem;
  line-height: 1.72;
}
.faq-answer p { margin: 0 0 12px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { color: var(--faq-cyan-deep); text-underline-offset: 3px; }
.faq-answer a:hover { color: var(--faq-cyan-hover); }

/* ---------- aside ---------- */
.faq-aside { position: sticky; top: 104px; display: grid; gap: 14px; }
.faq-aside__panel {
  padding: 24px;
  border: 1px solid var(--faq-line);
  border-radius: 24px;
  background: #fbfdfe;
  box-shadow: 0 8px 30px rgba(15,23,42,.05);
}
.faq-aside__label {
  margin: 0 0 10px;
  color: var(--faq-cyan-deep);
  font-size: .69rem;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.faq-aside__panel h2 {
  margin: 0;
  font-size: 1.19rem;
  line-height: 1.25;
  letter-spacing: -.03em;
  font-weight: 850;
}
.faq-aside__panel > p {
  margin: 12px 0 0;
  color: var(--faq-body);
  font-size: .88rem;
  line-height: 1.6;
}
.faq-aside nav { display: grid; gap: 2px; margin-top: 16px; }
.faq-aside nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--faq-ink);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 650;
  transition: background .18s ease, color .18s ease;
}
.faq-aside nav a span:last-child { color: #94a3b8; font-size: .75rem; }
.faq-aside nav a:hover,
.faq-aside nav a:focus-visible {
  background: rgba(22,184,217,.08);
  color: var(--faq-cyan-deep);
  outline: none;
}
.faq-cta {
  padding: 22px;
  border: 1px solid rgba(22,184,217,.2);
  border-radius: 24px;
  background: rgba(22,184,217,.07);
}
.faq-cta p:first-child {
  margin: 0;
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -.02em;
}
.faq-cta p:nth-child(2) {
  margin: 8px 0 16px;
  color: var(--faq-body);
  font-size: .88rem;
  line-height: 1.6;
}
.faq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--faq-cyan);
  color: #ffffff;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(22,184,217,.3);
  transition: background .18s ease;
}
.faq-btn:hover, .faq-btn:focus-visible { background: var(--faq-cyan-hover); color: #ffffff; outline: none; }

/* ---------- closing panel ---------- */
.faq-close { padding: 0 0 96px; }
.faq-close__panel {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5vw, 60px);
  border-radius: 34px;
  background: linear-gradient(135deg, #07111f, #10243d);
  box-shadow: 0 30px 70px rgba(15,23,42,.18);
}
.faq-close__glow {
  position: absolute;
  top: -140px;
  right: -90px;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(22,184,217,.35), transparent 65%);
  pointer-events: none;
}
.faq-close__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.faq-close__kicker {
  margin: 0;
  color: var(--faq-mint);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.faq-close h2 {
  margin: 18px 0 0;
  max-width: 20ch;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 900;
  color: #ffffff;
  text-wrap: balance;
}
.faq-close__lede {
  margin: 18px 0 0;
  max-width: 60ch;
  color: rgba(226,242,247,.72);
  font-size: 1.03rem;
  line-height: 1.65;
}
.faq-close__links { display: grid; gap: 10px; }
.faq-close__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #ffffff;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 800;
  transition: background .18s ease;
}
.faq-close__links a:hover,
.faq-close__links a:focus-visible { background: rgba(255,255,255,.12); color: #ffffff; outline: none; }
.faq-close__links a:first-child {
  border-color: transparent;
  background: var(--faq-cyan);
  box-shadow: 0 10px 26px rgba(22,184,217,.34);
}
.faq-close__links a:first-child:hover { background: var(--faq-cyan-hover); }
.faq-close__links a span:last-child { opacity: .6; }
.faq-close__links a:first-child span:last-child { opacity: .85; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .faq-hero__grid,
  .faq-layout,
  .faq-close__grid { grid-template-columns: 1fr; gap: 36px; }
  .faq-aside { position: static; }
  .faq-hero__card { animation: none; }
}
@media (max-width: 620px) {
  .faq-shell { width: calc(100% - 32px); }
  .faq-hero { padding: 48px 0 56px; }
  .faq-main { padding: 44px 0 64px; }
  .faq-item summary { padding: 20px 58px 20px 18px; font-size: 1rem; }
  .faq-item__plus { right: 16px; }
  .faq-answer { padding: 0 18px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-eyebrow__dot,
  .faq-hero__card { animation: none; }
}
