.hq-advisor {
  --guide-border: #7899cb45;
  --guide-muted: #b5c6df;
  --guide-text: #f0f5ff;
  position: relative;
  isolation: isolate;
  min-height: min(760px, 78vh);
  background:
    linear-gradient(115deg, #090f1c 16%, #101e32db 48%, #080f1c 90%),
    url('../hq-showcase-20261120/glass-studio.webp') center 44% / cover,
    #090f1c;
}

.hq-advisor-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(28px, 5.7vw, 88px);
  padding-block: clamp(38px, 7vw, 100px);
}

.hq-advisor-intro { padding-top: clamp(4px, 1.8vw, 27px); }
.hq-advisor-intro .hq-breadcrumb { margin-bottom: clamp(16px, 3vw, 38px); }

.hq-advisor-intro h1 {
  max-width: 14ch;
  margin: 0;
  color: var(--guide-text);
  font-size: clamp(2.05rem, 4.45vw, 4.3rem);
  font-weight: 735;
  letter-spacing: -.06em;
  line-height: 1.02;
  text-wrap: balance;
}

.hq-advisor-intro > p {
  max-width: 42ch;
  margin: 20px 0 0;
  color: var(--guide-muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.65;
}

.hq-advisor-logos {
  display: flex;
  flex-wrap: wrap;
  width: fit-content;
  gap: 8px;
  margin-top: 25px;
  padding: 9px 12px;
  border: 1px solid #7ea7d930;
  border-radius: 12px;
  background: #2036522f;
}

.hq-advisor-logos img {
  width: 31px;
  height: 31px;
  margin-inline: 3px;
}

.hq-advisor-method {
  max-width: 44ch;
  margin-top: 24px;
  color: #dce8fa;
  font-size: .91rem;
}

.hq-advisor-method summary {
  width: fit-content;
  cursor: pointer;
  min-height: 32px;
  color: #bfd9fe;
  text-underline-offset: 4px;
}

.hq-advisor-method summary:hover { text-decoration: underline; }
.hq-advisor-method p { margin: 5px 0 0; color: var(--guide-muted); }
.hq-advisor-fallback { color: var(--guide-muted); }

.hq-advisor-panel {
  position: relative;
  min-width: 0;
  padding: clamp(18px, 3.2vw, 39px);
  border: 1px solid #7ca6dd59;
  border-radius: clamp(17px, 2vw, 24px);
  background: radial-gradient(ellipse at 12% 1%, #2a426768, transparent 62%),
    linear-gradient(156deg, #16263cf7, #0c1628fa 72%);
  box-shadow: inset 0 1px #b0d2ff33, 0 24px 70px #03060d66;
}

.hq-advisor-progress {
  display: grid;
  grid-template-columns: auto minmax(35px, 1fr);
  align-items: center;
  gap: 14px;
  margin: 0 0 25px;
  color: #c2d4ed;
  font-size: .85rem;
  font-weight: 630;
}

.hq-advisor progress {
  display: block;
  accent-color: #8db7f8;
  width: 100%;
  height: 7px;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  appearance: none;
  background: #314660;
}

.hq-advisor progress::-webkit-progress-bar { background: #314660; }
.hq-advisor progress::-webkit-progress-value { border-radius: 20px; background: linear-gradient(90deg, #638fe1, #acd5ff); }
.hq-advisor progress::-moz-progress-bar { border-radius: 20px; background: linear-gradient(90deg, #638fe1, #acd5ff); }

.hq-advisor fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.hq-advisor legend,
.hq-advisor-result h2 {
  padding: 0;
  margin: 0;
  color: var(--guide-text);
  font-size: clamp(1.41rem, 2.5vw, 2.15rem);
  font-weight: 710;
  letter-spacing: -.037em;
  line-height: 1.16;
}

.hq-advisor legend:focus,
.hq-advisor-result h2:focus { outline: none; }

.hq-advisor fieldset > p { margin: 8px 0 17px; color: var(--guide-muted); font-size: .93rem; }
.hq-advisor-options { display: grid; gap: 9px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hq-advisor-options-single { grid-template-columns: minmax(0, 1fr); }

.hq-advisor-option {
  display: flex;
  align-items: start;
  gap: 10px;
  min-height: 72px;
  padding: 12px;
  cursor: pointer;
  border: 1px solid var(--guide-border);
  border-radius: 10px;
  background: linear-gradient(135deg, #243952ba, #142136c2);
  transition: border-color .18s, background-color .18s, box-shadow .18s;
}

.hq-advisor-option:hover { border-color: #b5c9f083; }
.hq-advisor-option:has(input:checked) {
  border-color: #99bfff;
  background: linear-gradient(130deg, #304c75, #192d4a);
  box-shadow: inset 0 1px #a8c6f338;
}

.hq-advisor-option:has(input:focus-visible) { outline: 2px solid #abcaff; outline-offset: 3px; }

.hq-advisor-option input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: #a4c7fe;
  cursor: pointer;
}

.hq-advisor-option strong { display: block; line-height: 1.22; color: #eff5ff; font-size: .94rem; }
.hq-advisor-option small { display: block; margin-top: 4px; color: var(--guide-muted); font-size: .81rem; line-height: 1.36; }
.hq-advisor-error { margin: 12px 0 0; color: #ffc1c0; font-size: .91rem; }

.hq-advisor-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin-top: 22px;
}

.hq-advisor-controls .nx-button { min-height: 44px; }
.hq-advisor-controls [data-advisor-next] { margin-left: auto; }

.hq-advisor-result {
  --result-accent: #91bdff;
  color: var(--guide-text);
}

.hq-advisor-result h2 {
  margin-bottom: 9px;
  font-size: clamp(1.85rem, 4vw, 3rem);
}

.hq-advisor-result-kind {
  width: fit-content;
  margin: 0 0 6px;
  color: color-mix(in srgb, var(--result-accent) 72%, #fff);
  font-size: .86rem;
  font-weight: 650;
}

.hq-advisor-result-status {
  display: inline-block;
  border: 1px solid color-mix(in srgb, var(--result-accent) 42%, #263850);
  border-radius: 6px;
  padding: 3px 8px;
  color: #e4ecfa;
  font-size: .84rem;
}

.hq-advisor-result p:not(.hq-advisor-result-kind), .hq-advisor-result dd {
  margin: 10px 0;
  color: var(--guide-muted);
  font-size: .96rem;
}

.hq-advisor-result-main h3, .hq-advisor-extra h3 {
  margin: 16px 0 2px;
  font-size: 1rem;
  color: var(--guide-text);
}

.hq-advisor-result-main > a { margin-top: 5px; }

.hq-advisor-coverage {
  margin: 15px 0;
  padding: 13px;
  border: 1px solid var(--guide-border);
  border-radius: 10px;
  background: #13233a88;
}

.hq-advisor-coverage:empty { display: none; }
.hq-advisor-coverage strong { display: block; margin-bottom: 7px; font-size: .93rem; }
.hq-advisor-coverage p:last-child { margin-bottom: 0; }

.hq-advisor-chips, .hq-advisor-related-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}

.hq-advisor-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.hq-advisor-chips li { padding: 2px 7px; border-radius: 6px; background: #243955; color: #dce9ff; font-size: .79rem; }
.hq-advisor-related-list { display: grid; gap: 7px; }

.hq-advisor-related-list a {
  display: grid;
  gap: 2px;
  padding: 9px 12px;
  border: 1px solid var(--guide-border);
  border-radius: 8px;
  background: #24395340;
  line-height: 1.36;
}

.hq-advisor-related-list a:hover { border-color: #86a7d5; }
.hq-advisor-related-list small { color: #aac4e8; font-size: .75rem; }
.hq-advisor-related-list span { color: var(--guide-muted); font-size: .84rem; }

.hq-advisor-answers {
  max-width: none;
  margin-top: 16px;
  padding-top: 8px;
  border-top: 1px solid var(--guide-border);
}

.hq-advisor-answers dl { display: grid; gap: 5px; margin: 6px 0 0; }
.hq-advisor-answers dl > div { display: grid; grid-template-columns: minmax(100px, .5fr) minmax(0, 1fr); gap: 8px; }
.hq-advisor-answers dt { font-weight: 620; }
.hq-advisor-result .hq-advisor-answers dd { margin: 0; font-size: inherit; }
.hq-advisor-result-controls { justify-content: flex-start; }

.hq-guide {
  background: radial-gradient(ellipse at 42% 0%, color-mix(in srgb, var(--product-color) 8%, transparent), transparent 65%), #0b1425;
}

.hq-guide .hq-section-title { margin-bottom: 22px; }
.hq-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }

.hq-guide-card {
  padding: clamp(15px, 2vw, 23px);
  border: 1px solid #799fcd40;
  border-radius: 12px;
  background: linear-gradient(151deg, #2337508e, #131e33f2);
  box-shadow: inset 0 1px color-mix(in srgb, var(--product-color) 25%, transparent);
}

.hq-guide-card h3 {
  margin: 0 0 9px;
  color: #f2f6ff;
  font-size: 1.05rem;
  font-weight: 680;
  line-height: 1.3;
}

.hq-guide-card p { margin: 0; color: #bfd0e7; line-height: 1.58; }

@media (max-width: 880px) {
  .hq-advisor-layout { grid-template-columns: minmax(0, 1fr); gap: 23px; max-width: 710px; }
  .hq-advisor-intro h1 { max-width: 20ch; }
  .hq-advisor-logos, .hq-advisor-method { margin-top: 16px; }
  .hq-guide-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 520px) {
  .hq-advisor-layout { padding-block: 24px 40px; }
  .hq-advisor-intro > p { margin-top: 12px; }
  .hq-advisor-logos { display: none; }
  .hq-advisor-options { grid-template-columns: minmax(0, 1fr); }
  .hq-advisor-option { min-height: 57px; }
  .hq-advisor-controls { gap: 7px; }
  .hq-advisor-progress { margin-bottom: 20px; }
}
