/* Which AI assistant should you start with? (/learn/which-ai-assistant/): one-question-at-a-time quiz, a result
   card, three "what an agent can do" cards and the free 30-minute session band. Behaviour: assets/js/which-ai.js. */
.wa-eyebrow { margin: 0 0 var(--pt-space-3); font-weight: 700; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; color: var(--pt-color-highlight); }
.wa-section { padding-block-start: var(--pt-space-5); }
.wa-app { max-width: 44rem; margin-inline: auto; }
.wa-noscript { background: var(--pt-color-surface); border: 1px solid var(--pt-color-border); border-radius: 16px; padding: var(--pt-space-5); }

/* Quiz */
.wa-quiz { background: var(--pt-color-surface); border: 1px solid var(--pt-color-border); border-radius: 20px; padding: var(--pt-space-5); box-shadow: 0 6px 24px rgba(18, 33, 58, .06); }
.wa-progress { height: 10px; background: var(--pt-color-border); border-radius: 5px; overflow: hidden; }
.wa-progress b { display: block; height: 100%; width: 0; background: var(--pt-color-accent); transition: width .35s; }
.wa-count { margin: 8px 0 var(--pt-space-4); color: var(--pt-color-text-muted); font-weight: 700; }
.wa-q { border: 0; margin: 0; padding: 0; min-width: 0; animation: wa-in .3s ease-out; }
.wa-q legend { display: flex; gap: 12px; align-items: center; font-size: 1.4rem; font-weight: 700; color: var(--pt-color-heading); margin-bottom: var(--pt-space-4); padding: 0; }
.wa-q__num { flex: none; width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center; background: var(--pt-color-accent); color: var(--pt-color-accent-contrast); font-size: 1.1rem; }
.wa-opts { display: grid; gap: 10px; }
.wa-opt { position: relative; display: block; cursor: pointer; }
.wa-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.wa-opt span { display: block; padding: 14px 18px; border: 2px solid var(--pt-color-border); border-radius: 14px; background: var(--pt-color-bg); font-size: 1.1rem; transition: border-color .15s, background .15s, transform .1s; }
.wa-opt:hover span { border-color: var(--pt-color-accent); background: var(--pt-color-tint); }
.wa-opt input:focus-visible + span { outline: 3px solid var(--pt-color-focus); outline-offset: 2px; }
.wa-opt input:checked + span { border-color: var(--pt-color-accent); background: var(--pt-color-tint); font-weight: 700; transform: scale(.99); }
.wa-nav { margin-top: var(--pt-space-4); min-height: 1px; }
@keyframes wa-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wa-q, .wa-match { animation: none; } .wa-progress b { transition: none; } }

/* Result */
.wa-result:focus { outline: none; }
.wa-match { background: var(--pt-color-surface); border: 2px solid var(--pt-color-accent); border-radius: 20px; padding: var(--pt-space-5); display: flex; flex-direction: column; gap: var(--pt-space-4); animation: wa-in .4s ease-out; scroll-margin-top: 80px; }
.wa-match__tag { margin: 0; display: inline-block; align-self: flex-start; background: var(--pt-color-highlight); color: var(--pt-color-highlight-contrast); font-weight: 700; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.wa-match__head { display: flex; gap: var(--pt-space-4); align-items: center; }
.wa-badge { flex: none; width: 4rem; height: 4rem; border-radius: 18px; display: grid; place-items: center; font-size: 2rem; font-weight: 700; color: #fff; background: var(--pt-color-accent); }
.wa-badge--chatgpt { background: #0F766E; }
.wa-badge--gemini { background: #1D4ED8; }
.wa-badge--copilot { background: #6D28D9; }
.wa-badge--claude { background: #B45309; }
.wa-badge--meta { background: #0369A1; }
.wa-match__name { margin: 0; font-size: 1.9rem; }
.wa-match__maker { margin: 0; color: var(--pt-color-text-muted); }
.wa-match__line { margin: 0; font-size: 1.15rem; }
.wa-h3 { margin: 0; font-size: 1.15rem; }
.wa-why { margin: 0; padding-left: 1.3rem; }
.wa-why li + li { margin-top: 4px; }
.wa-facts { margin: 0; display: grid; gap: 10px; }
.wa-facts div { background: var(--pt-color-surface-alt); border-radius: 12px; padding: 10px 14px; }
.wa-facts dt { font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--pt-color-highlight); }
.wa-facts dd { margin: 2px 0 0; }
.wa-label { margin: 0 0 4px; font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--pt-color-highlight); }
.wa-first { background: var(--pt-color-tint); border: 1.5px solid var(--pt-color-border-strong); border-radius: 14px; padding: var(--pt-space-4); }
.wa-first__text { margin: 0 0 var(--pt-space-3); font-size: 1.1rem; }
.wa-runner { margin: var(--pt-space-4) 0 0; background: var(--pt-color-surface); border: 1px solid var(--pt-color-border); border-radius: 14px; padding: var(--pt-space-4); }
.wa-again { margin: var(--pt-space-3) 0 0; display: flex; flex-wrap: wrap; gap: var(--pt-space-4); }
.wa-link-btn { background: none; border: 0; padding: 4px 0; font: inherit; color: var(--pt-color-link); text-decoration: underline; cursor: pointer; }
.wa-link-btn:hover { color: var(--pt-color-link-hover); }

/* What an agent can do */
.wa-agents__head { max-width: 44rem; margin: 0 auto var(--pt-space-5); text-align: center; }
.wa-agents__head h2 { margin-top: 0; }
.wa-cards { display: grid; gap: var(--pt-space-4); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.wa-card { background: var(--pt-color-surface); border: 1px solid var(--pt-color-border); border-radius: 18px; padding: var(--pt-space-5); display: flex; flex-direction: column; gap: var(--pt-space-3); }
.wa-card h3 { margin: 0; font-size: 1.25rem; }
.wa-card p { margin: 0; }
.wa-card__icon { width: 3rem; height: 3rem; border-radius: 14px; display: grid; place-items: center; background: var(--pt-color-tint); color: var(--pt-color-accent); }
.wa-card__icon svg { width: 1.6rem; height: 1.6rem; }
.wa-try { margin-top: auto !important; background: var(--pt-color-surface-alt); border-radius: 12px; padding: 10px 14px; font-style: italic; }
.wa-try span { display: block; font-style: normal; font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--pt-color-highlight); }
.wa-wow__title { max-width: 44rem; margin: var(--pt-space-8) auto var(--pt-space-3); font-size: 1.3rem; }
.wa-wow { max-width: 44rem; margin: 0 auto; padding-left: 1.3rem; }
.wa-wow li + li { margin-top: 10px; }
.wa-safe { max-width: 44rem; margin: var(--pt-space-5) auto 0; background: var(--pt-color-warning-surface); border-radius: 12px; padding: 12px 16px; }

/* Free session band + how we pick */
.wa-cta { text-align: center; }
.wa-cta .pt-button-row { justify-content: center; }
.wa-small { color: var(--pt-color-text-muted); font-size: .95rem; margin-top: var(--pt-space-3); }
.wa-details { background: var(--pt-color-surface); border: 1px solid var(--pt-color-border); border-radius: 14px; padding: var(--pt-space-4) var(--pt-space-5); }
.wa-details summary { cursor: pointer; font-weight: 700; font-size: 1.1rem; }
.wa-details p { margin: var(--pt-space-3) 0 0; }

/* Was this helpful? */
.wa-fb { margin: var(--pt-space-5) 0 0; background: var(--pt-color-surface); border: 1px solid var(--pt-color-border); border-radius: 20px; padding: var(--pt-space-5); }
.wa-fb__h { margin: 0; font-size: 1.5rem; }
.wa-fb__sub { margin: 4px 0 var(--pt-space-4); color: var(--pt-color-text-muted); }
.wa-fb__rates { display: flex; flex-wrap: wrap; gap: 12px; }
.wa-fb__rate { flex: 1 1 6.5rem; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 10px; border: 2px solid var(--pt-color-border); border-radius: 16px; background: var(--pt-color-bg); color: var(--pt-color-heading); font: inherit; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.wa-fb__rate:hover:not(:disabled) { border-color: var(--pt-color-accent); background: var(--pt-color-tint); transform: translateY(-2px); }
.wa-fb__rate:focus-visible { outline: 3px solid var(--pt-color-focus); outline-offset: 2px; }
.wa-fb__rate:disabled { opacity: .45; cursor: default; }
.wa-fb__rate.is-picked { opacity: 1; border-color: var(--pt-color-accent); background: var(--pt-color-tint); animation: wa-pop .35s ease-out; }
.wa-fb__msg { margin: var(--pt-space-3) 0 0; font-weight: 700; min-height: 1.4em; }
.wa-fb__more { margin-top: var(--pt-space-4); display: flex; flex-direction: column; gap: var(--pt-space-3); }
.wa-fb__more[hidden] { display: none; }
.wa-fb__lead { margin: 0; }
.wa-fb__field { margin: 0; }
.wa-fb__field .pt-input, .wa-fb__field .pt-select, .wa-fb__field .pt-textarea { width: 100%; box-sizing: border-box; }
.wa-fb__help { margin: 4px 0 0; color: var(--pt-color-text-muted); font-size: .95rem; }
.wa-fb__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wa-fb__more .pt-button { align-self: flex-start; }
.wa-fb__err { margin: 0; color: var(--pt-color-danger); font-weight: 700; }
.wa-fb__err:empty { display: none; }
@keyframes wa-pop { 0% { transform: scale(1); } 50% { transform: scale(1.08); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .wa-fb__rate, .wa-fb__rate.is-picked { transition: none; animation: none; } }

/* Free 30-minute session with Ron: the big next step right after the result */
.wa-session { margin-block: var(--pt-space-6) var(--pt-space-5); padding: clamp(22px, 5vw, 36px); border-radius: 20px; color: #fff; display: grid; gap: 10px; justify-items: start;
  background: radial-gradient(600px 260px at 95% -20%, rgba(56, 189, 248, .4), transparent 60%),
              linear-gradient(125deg, #0B1730 0%, #10265C 60%, #1D4ED8 140%);
  box-shadow: 0 22px 44px -26px rgba(11, 23, 48, .8); }
.wa-session p { margin: 0; }
.wa-session__eyebrow { font-weight: 700; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; color: #7DD3FC; }
.wa-session__h { margin: 0; color: #fff; font-size: clamp(1.6rem, 4.5vw, 2.2rem); line-height: 1.1; text-wrap: balance; }
.wa-session__line { color: #DCE7F7; font-size: 1.1rem; line-height: 1.5; max-width: 38rem; }
.wa-session__btn { margin-top: 8px; display: inline-flex; align-items: center; justify-content: center; min-height: 60px; padding: 16px 34px;
  background: #FACC15; color: #0B1730; font-weight: 800; font-size: clamp(1.2rem, 2.6vw, 1.4rem); text-decoration: none; border-radius: 999px;
  box-shadow: 0 16px 32px -14px rgba(0, 0, 0, .75), 0 0 0 4px rgba(250, 204, 21, .25); transition: transform .2s ease, background .2s ease; }
.wa-session__btn:hover { background: #FDE047; color: #0B1730; transform: translateY(-2px); }
.wa-session__btn:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.wa-session__small { color: #B9CBE6; font-size: .95rem; }
@media (max-width: 640px) { .wa-session__btn { justify-self: stretch; } }
@media (prefers-reduced-motion: reduce) { .wa-session__btn { transition: none; } .wa-session__btn:hover { transform: none; } }
.wa-badge--muse { background: #0369A1; }
.wa-badge--duet { background: #B45309; }
.wa-badge--grok { background: #1F2937; }

/* Side-by-side page (/learn/which-ai-assistant/compare/) */
.wa-cmp { display: grid; gap: var(--pt-space-4); grid-template-columns: 1fr; }
/* Five cards: 2 columns (the fifth spans both), then 3 across over 2 across on wide screens */
@media (min-width: 640px) { .wa-cmp { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wa-cmp > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .wa-cmp { grid-template-columns: repeat(6, minmax(0, 1fr)); } .wa-cmp > * { grid-column: span 2; } .wa-cmp > :nth-child(n+4) { grid-column: span 3; } .wa-cmp > :last-child:nth-child(odd) { grid-column: span 3; } }
.wa-cmp__card { min-width: 0; background: var(--pt-color-surface); border: 1px solid var(--pt-color-border); border-radius: 18px; padding: var(--pt-space-5); display: flex; flex-direction: column; gap: var(--pt-space-3); }
.wa-cmp__card p { margin: 0; }
.wa-cmp__maker { font-size: .85rem; color: var(--pt-color-text-muted, inherit); }
.wa-cmp__name { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 1.5rem; }
.wa-cmp__name .wa-badge { width: 40px; height: 40px; font-size: 1.1rem; flex: none; }
.wa-cmp__price { font-size: 1.25rem; font-weight: 700; }
.wa-cmp__scroll { overflow-x: auto; }
.wa-cmp__table { width: 100%; border-collapse: collapse; min-width: 600px; }
.wa-cmp__table caption { text-align: left; font-weight: 700; font-size: 1.2rem; margin-bottom: 8px; }
.wa-cmp__table th, .wa-cmp__table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--pt-color-border); vertical-align: top; }
.wa-cmp__table thead th { font-size: .9rem; }
.wa-compare-link { margin: var(--pt-space-3) 0 0; }
.wa-badge--dots { background: #047857; }
.wa-explain { margin-top: var(--pt-space-4); background: var(--pt-color-surface-alt); border-left: 4px solid var(--pt-color-highlight); border-radius: 12px; padding: 12px 16px; }
.wa-explain p { margin: 0; }
.wa-explain__title { font-weight: 700; margin-bottom: 4px !important; }
.wa-cmp__table { min-width: 560px; }
