/* A local product-selection workbench; no external assets or automatic motion. */
.product-advisor {
  --advisor-ink: #172c28;
  --advisor-muted: #465c55;
  --advisor-line: #d7e1db;
  --advisor-accent: #28665e;
  --advisor-light: #f1f7f3;
  background: #eef3ef;
  color: var(--advisor-ink);
  scroll-margin-top: 90px;
  overflow-wrap: break-word;
}

/* The hidden state must survive layout rules in this and the shared styles. */
.product-advisor [hidden] { display: none !important; }
.advisor-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: clamp(20px, 5vw, 72px); align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.advisor-heading h2 { max-width: 20ch; margin: 0; font-size: clamp(2.1rem, 4vw, 3.65rem); line-height: 1.08; letter-spacing: -.045em; font-weight: 385; hyphens: auto; }
.advisor-heading .lead { margin: 0; max-width: 54ch; color: var(--advisor-muted); }
.advisor-heading .eyebrow { color: #3a5e59; margin-bottom: 15px; }

.advisor-console, .advisor-fallback { background: #fff; border: 1px solid #cbd8d0; border-radius: 22px; overflow: hidden; box-shadow: 0 20px 36px -28px #183a3260; }
.advisor-console-head { padding: 17px clamp(18px, 2.8vw, 36px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--advisor-line); background: #f8faf8; }
.advisor-console-head > p { margin: 0; font-size: .79rem; font-weight: 650; line-height: 1.4; }
.advisor-console-head > p:first-child { display: flex; align-items: center; gap: 10px; }
.advisor-console-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: #28665e; box-shadow: 0 0 0 4px #dfeae4; }
.advisor-progress { color: var(--advisor-muted); font-variant-numeric: tabular-nums; }
.advisor-console-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .94fr); align-items: stretch; }
.advisor-console-grid > * { min-width: 0; padding: clamp(22px, 3.45vw, 42px); }
.advisor-inputs h3, .advisor-fallback h3 { margin: 0 0 10px; font-size: clamp(1.45rem, 2.35vw, 2rem); line-height: 1.2; letter-spacing: -.027em; font-weight: 500; }
.advisor-intro { color: var(--advisor-muted); font-size: .94rem; margin: 0 0 24px; line-height: 1.55; }
.advisor-question { display: grid; gap: 11px; padding: 18px 0; margin: 0; min-width: 0; border: 0; border-top: 1px solid var(--advisor-line); color: var(--advisor-ink); }
.advisor-question legend { color: var(--advisor-ink); font-weight: 600; font-size: .93rem; line-height: 1.45; min-width: 0; padding: 0; margin-bottom: 11px; }
.advisor-operative { padding-top: 0; border-top: 0; }
.advisor-questions .advisor-question { border-top: 0; padding: 0 0 19px; }
.advisor-number { display: inline-grid; place-items: center; min-width: 1.85rem; min-height: 1.7rem; vertical-align: middle; margin-right: 5px; color: #29594f; background: #e7efe9; border-radius: 5px; font-size: .7rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.advisor-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.advisor-choices-three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.advisor-choices label { display: flex; align-items: center; gap: 9px; min-height: 48px; min-width: 0; padding: 10px 14px; background: #f7faf7; border: 1px solid #65867a; border-radius: 8px; font-weight: 600; color: var(--advisor-ink); cursor: pointer; transition: background-color .17s ease, border-color .17s ease; }
.advisor-volume-choices label { gap: 7px; padding: 9px 11px; font-size: .86rem; line-height: 1.4; }
.advisor-choices label > span { min-width: 0; }
.advisor-choices label:hover { background: #e9f1eb; }
.advisor-choices label:has(input:checked) { border-color: var(--advisor-accent); background: #e4eee7; box-shadow: inset 0 0 0 1px var(--advisor-accent); }
.advisor-choices input { width: 18px; height: 18px; margin: 0; accent-color: var(--advisor-accent); flex: none; }
.advisor-choices label:has(input:focus-visible), .advisor-reset:focus-visible { outline: 3px solid #2b6a60; outline-offset: 3px; }
.advisor-reset { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 0; border: 0; background: transparent; color: #365d54; text-align: left; font-size: .8rem; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

.advisor-result { display: flex; flex-direction: column; align-items: stretch; color: var(--advisor-light); background: radial-gradient(ellipse at 12% 0%, #25483f 0%, transparent 65%), linear-gradient(145deg, #1b3530, #142222 72%); }
.advisor-result-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: #b4ddd3; text-transform: uppercase; letter-spacing: .13em; font-size: .69rem; font-weight: 700; }
.advisor-result-kicker > span { width: 8px; height: 8px; flex: none; border: 1px solid #b4ddd3; border-radius: 50%; }
.product-advisor[data-advisor-state="recommendation"] .advisor-result-kicker > span { background: #b4ddd3; box-shadow: 0 0 0 4px #b4ddd324; }
.advisor-result h3 { color: #f1f7f3; font-weight: 470; font-size: clamp(1.45rem, 2.65vw, 2.1rem); line-height: 1.2; letter-spacing: -.03em; margin: 0 0 20px; }
.advisor-product-spectrum { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 7px; margin: 0 0 17px; }
.advisor-product-spectrum > span { display: grid; place-items: center; min-height: 38px; padding: 6px 3px; border: 1px solid #90bcb060; border-radius: 6px; color: #c6ded6; font-size: clamp(.64rem, 1vw, .75rem); font-weight: 680; letter-spacing: .06em; }
.advisor-product-spectrum > span:nth-child(2) { border-color: #c6a5d060; color: #ddc7e9; }
.advisor-product-spectrum > span:nth-child(3) { border-color: #9ec7dc60; color: #c7deeb; }
.product-advisor:is([data-advisor-state="recommendation"], [data-advisor-state="consultation"]) .advisor-product-spectrum { display: none; }
.advisor-status { color: #e5f0e9; font-size: 1rem; line-height: 1.55; margin: 0 0 14px; }
.advisor-module-list { display: grid; gap: 8px; }
.advisor-module { --module-accent: #a9dfd3; display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: start; gap: 11px; min-width: 0; padding: 13px; border: 1px solid #8eb6a94a; border-radius: 10px; background: #29463f; color: #e6f1e9; }
.advisor-module-clara { --module-accent: #e1c2eb; background: #343440; border-color: #d5b5df4a; }
.advisor-module-vincent { --module-accent: #acd1e6; background: #283b42; border-color: #acc8dd4a; }
.advisor-module-symbol { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid currentColor; border-radius: 9px; color: var(--module-accent); }
.advisor-module-symbol svg { display: block; width: 26px; height: 26px; }
.advisor-module-copy { min-width: 0; }
.advisor-module-copy h4 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 1.04rem; font-weight: 650; line-height: 1.4; }
.advisor-module-copy h4 a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration: underline; text-underline-offset: 3px; gap: 5px; }
.advisor-module-copy h4 > span { color: var(--module-accent); font-size: .72rem; font-weight: 650; }
.advisor-module-copy p { margin: 0 0 5px; color: #d2e1d9; font-size: .83rem; line-height: 1.55; }
.advisor-module-copy p + p { color: #c0d9cf; font-size: .76rem; }
.advisor-module-clara .advisor-module-copy p + p { color: #decde6; }
.advisor-module-vincent .advisor-module-copy p + p { color: #c1d9e7; }
.advisor-module-demo { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; gap: 5px; color: var(--module-accent); text-decoration: underline; text-underline-offset: 4px; font-size: .78rem; font-weight: 650; }
.advisor-module-demo:hover, .advisor-module-copy h4 a:hover { color: #fff; }
.product-advisor a:focus-visible, .experience-advisor-link:focus-visible { outline: 3px solid #2b6a60; outline-offset: 3px; border-radius: 3px; }
.advisor-result a:focus-visible, .advisor-module a:focus-visible, .experience-advisor-link:focus-visible { outline-color: #e4fff0; }
.advisor-result .advisor-demo { color: #173b32; background: #e7f4e9; border-color: #e7f4e9; margin: 4px 0 12px; width: 100%; }
.advisor-result .advisor-demo:hover { color: #142e25; background: #fff; border-color: #fff; }
.advisor-demo-context { display: none; margin: 0 0 16px; color: #c6d9d1; font-size: .8rem; line-height: 1.55; }
.product-advisor[data-advisor-state="recommendation"] .advisor-demo-context { display: block; }
.advisor-result-note { margin: auto 0 0; padding-top: 24px; color: #c6d9d1; font-size: .82rem; line-height: 1.6; }
.product-advisor[data-advisor-state="recommendation"] .advisor-module:not([hidden]) { animation: advisor-reveal .22s ease-out both; }
@keyframes advisor-reveal { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.advisor-fallback { padding: clamp(22px,3.45vw,42px); }
.advisor-fallback > p { margin: 0 0 18px; color: var(--advisor-muted); max-width: 76ch; }
.advisor-fallback > p:last-child { margin: 20px 0 0; }
.advisor-fallback-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
.advisor-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 24px 0 0; }
.advisor-footer-note { display: flex; align-items: start; gap: 12px; min-width: 0; max-width: 68ch; color: var(--advisor-muted); }
.advisor-footer-note svg { flex: none; width: 21px; height: 21px; color: #28665e; }
.advisor-footer-note p { margin: 0; font-size: .81rem; line-height: 1.55; }
.advisor-contact-link { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; gap: 6px; color: #275e54; font-size: .87rem; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.advisor-contact-link:hover { color: #163e35; }

/* Hero shortcut; no layout shift, no sticky overlay. */
.experience-advisor-link { display: inline-flex; align-items: center; justify-content: flex-start; min-height: 44px; max-width: 100%; gap: 8px; color: #d4eee4; font-size: .86rem; font-weight: 650; text-decoration: underline; text-underline-offset: 5px; line-height: 1.4; margin-top: 8px; }
.experience-advisor-link:hover { color: #fff; }
.experience-advisor-link span { flex: none; }

@media (max-width: 64rem) {
  .advisor-heading { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .advisor-fallback-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .advisor-footer { flex-wrap: wrap; gap: 8px 20px; }
  .advisor-choices-three { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .advisor-choices-three label:last-child { grid-column: 1 / -1; }
}

@media (max-width: 47.99rem) {
  .advisor-heading, .advisor-console-grid, .advisor-fallback-grid { grid-template-columns: minmax(0,1fr); }
  .advisor-heading { gap: 15px; }
  .advisor-console, .advisor-fallback { border-radius: 16px; }
  .advisor-console-head { padding: 14px 18px; }
  .advisor-console-grid > *, .advisor-fallback { padding: 21px 18px; }
  .advisor-footer { flex-direction: column; align-items: start; }
  .experience-advisor-link { margin-top: 10px; }
}

@media (max-width: 23rem) {
  .advisor-module { grid-template-columns: minmax(0, 1fr); }
  .advisor-console-head { flex-direction: column; align-items: start; }
  .advisor-choices label { padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-advisor *, .experience-advisor-link { animation: none !important; transition: none !important; }
}

@media print {
  .product-advisor, .advisor-console, .advisor-fallback, .advisor-console-head, .advisor-result, .advisor-module { background: #fff; box-shadow: none; color: #000; }
  .product-advisor * { color: #000 !important; }
  .advisor-console-grid, .advisor-fallback-grid { display: block; }
  .advisor-module { break-inside: avoid; margin-bottom: 8px; }
  .advisor-inputs, .experience-advisor-link { display: none; }
}
