/* Solutions: pinned stage, four studies. Source of truth: variant-a/variant-a.css (merged by variant-a/merge.mjs) */
/* Variant A: pinned solutions stage. Static (stacked) is the default; .va--pinned is added by JS.
   Visual language: big type, large clean cards on soft #f4f5fb or solid indigo #3f51d1 fields, little chrome. */

.va { background: #09090b; color: #fafafa; position: relative; overflow: hidden; }
main > section#solutions.va { padding: 0; }
.va::before, .va::after { content: none; }
.va__inner { width: min(100% - 2 * var(--gut, 24px), var(--container, 1280px)); margin: 0 auto; padding: 96px 0; }
.va__label { font: 500 16px/1.2 var(--font-text); letter-spacing: -0.005em; color: #8a8a94; margin: 0; }

.va__studies { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: 80px; }
.va-study { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.va-study__num { font: 400 13px/1 var(--font-mono); color: #71717a; margin: 0 0 14px; }
.va-study__copy h3 { font: 600 clamp(28px, 3.4vw, 44px)/1.04 var(--font-display); letter-spacing: -0.04em; margin: 0 0 16px; color: #fafafa; text-wrap: balance; }
.va-study__copy .va-study__line { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.5; color: #d4d4d8; margin: 0; max-width: 30rem; }
.va--pinned .va-study__copy h3 { font-size: clamp(36px, 3.9vw, 56px); margin-bottom: 20px; max-width: 11.5ch; }
.va--pinned .va-study__copy .va-study__line { font-size: clamp(17px, 1.45vw, 20px); }
.va__tabs { display: none; }

/* ---------- the field ---------- */
.va-panel { position: relative; border-radius: 24px; overflow: hidden; height: clamp(360px, 44vw, 470px); container-type: size; background: #f4f5fb; color: #09090b; }
.va-field--indigo { background: #3f51d1; }
.va-state { position: absolute; inset: 0; display: grid; place-items: center; }

/* 1 interview: a video call */
.i1-call { position: relative; margin: 0; width: min(84cqw, calc((100cqh - 14cqh) * 16 / 9)); aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #1c1f3a; box-shadow: 0 40px 80px -30px rgba(9, 9, 30, .6), 0 0 0 1px rgba(255,255,255,.12); }
.i1-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
.i1-rec { position: absolute; top: 16px; left: 16px; width: 10px; height: 10px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, .25); animation: i1blink 1.8s ease-in-out infinite; }
@keyframes i1blink { 50% { box-shadow: 0 0 0 7px rgba(239, 68, 68, 0); } }
.i1-ai { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 3px; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(255,255,255,.92); }
.i1-ai i { width: 3px; height: 30%; border-radius: 2px; background: #3f51d1; animation: i1lvl 1s ease-in-out infinite; }
.i1-ai i:nth-child(2) { animation-delay: -.2s; } .i1-ai i:nth-child(3) { animation-delay: -.5s; } .i1-ai i:nth-child(4) { animation-delay: -.7s; } .i1-ai i:nth-child(5) { animation-delay: -.35s; }
@keyframes i1lvl { 50% { height: 75%; } }

/* 2 brand: an iceberg, the tracker number above the water, the meaning below */
.va-s2 { place-items: start stretch; }
.ice { position: absolute; inset: 0; }
.ice-top { position: relative; z-index: 0; height: 100cqh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.ice-k { margin: 0; font-size: 12.5px; font-weight: 500; color: #71717a; }
.b-card { width: min(62cqw, 400px); box-sizing: border-box; background: #fff; border-radius: 18px; padding: 16px 22px 18px; box-shadow: 0 24px 50px -28px rgba(30, 40, 110, .3); }
.b-row { display: grid; grid-template-columns: 5.6em 1fr 5em; align-items: center; gap: 12px; margin-top: 10px; }
.b-row:first-child { margin-top: 0; }
.b-name { font-size: 14px; font-weight: 500; }
.b-track { position: relative; height: 10px; border-radius: 5px; background: #eef0f8; }
.b-bar, .b-was { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: 5px; background: #3f51d1; transform-origin: left; }
.b-was { background: repeating-linear-gradient(135deg, #f3c4c4 0 4px, #fbe9e9 4px 8px); }
.b-num { font: 600 16px/1 var(--font-display); letter-spacing: -.02em; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.b-num em { font: 500 11.5px/1 var(--font-mono); color: #dc2626; font-style: normal; margin-left: 2px; }

.ice-deep { position: relative; z-index: 2; margin: 24px 0 0; border-radius: 26px; padding: 14px 5cqw 18px; background: linear-gradient(180deg, #e4e8fb 0%, #c9d0f5 50%, #9eaaec 100%); box-shadow: 0 30px 60px -30px rgba(30, 40, 110, .45); }
.va--pinned .ice-deep { position: absolute; left: 4cqw; right: 4cqw; top: 0; bottom: 0; margin: auto 0; height: fit-content; background: none; box-shadow: none; }
.b-lens { position: absolute; z-index: 1; left: 0; top: 0; width: 0; height: 0; overflow: hidden; border-radius: 5px; background: linear-gradient(180deg, #e4e8fb 0%, #c9d0f5 50%, #9eaaec 100%); box-shadow: 0 30px 60px -30px rgba(30, 40, 110, .45); }
.b-lens-hatch { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, #f3c4c4 0 4px, #fbe9e9 4px 8px); }

.ice-k--deep { color: #3342b3; text-align: center; margin-bottom: 8px; }
.ice-k--deep b { color: #dc2626; font-weight: 600; }
.ice-layer { margin-top: 12px; }
.ice-layer:first-of-type { margin-top: 0; }
.ice-h { margin: 0 0 6px; font-size: 12.5px; font-weight: 500; color: #3342b3; }
.ice-l3 .ice-h, .ice-l2 .ice-h { color: #1e2a7a; }
.ice-bubbles { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.ice-say { margin: 0; background: #fff; color: #09090b; border-radius: 20px 20px 20px 6px; padding: 9px 14px; font-size: clamp(13px, 2.1cqw, 15px); line-height: 1.3; font-weight: 500; box-shadow: 0 12px 24px -16px rgba(30, 40, 110, .5); }
.ice-say--r { border-radius: 20px 20px 6px 20px; margin-left: auto; }
.ice-split { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; border-radius: 999px; padding: 8px 20px; background: linear-gradient(90deg, #fff 50%, #1e2a7a 50%); box-shadow: 0 14px 28px -18px rgba(20, 30, 100, .6); }
.ice-side { margin: 0; font-size: clamp(12.5px, 2cqw, 14.5px); font-weight: 600; line-height: 1.25; color: #09090b; letter-spacing: -.01em; }
.ice-side span { display: block; font-size: 11px; font-weight: 500; color: #71717a; margin-bottom: 2px; letter-spacing: 0; }
.ice-side--r { color: #fff; text-align: right; }
.ice-side--r span { color: #b9c1f3; }
.ice-face { width: 38px; height: 38px; display: block; filter: drop-shadow(0 4px 8px rgba(20, 30, 100, .35)); }
.ice-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.ice-pill { font-size: clamp(12.5px, 2cqw, 14px); font-weight: 500; padding: 8px 16px; border-radius: 999px; }
.ice-pill--core { background: #3f51d1; color: #fff; box-shadow: 0 10px 20px -12px rgba(63, 81, 209, .8); }
.ice-pill--absent { color: #1e2a7a; border: 1.5px dashed #1e2a7a; background: rgba(255,255,255,.25); }
.va:not(.va--pinned) .va-panel:has(.va-s2) { height: auto; }
.va:not(.va--pinned) .va-s2, .va:not(.va--pinned) .ice { position: relative; }
.va:not(.va--pinned) .ice-top { height: auto; padding: 32px 0 40px; }

/* 3 concept: two real concept boards, the winner explained in respondents' words */
.k-duel { position: absolute; inset: 0; }
.k-board { position: absolute; left: 50%; top: 47%; height: 70cqh; width: 52.5cqh; margin: -35cqh 0 0 -26.25cqh; border-radius: 18px; box-shadow: 0 40px 60px -28px rgba(6, 8, 50, .75), 0 12px 24px -12px rgba(6, 8, 50, .45); transform: scale(.9); }
.k-board img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.k-crown { position: absolute; top: -30px; left: 0; right: 0; margin: 0 auto; width: fit-content; background: #fff; color: #3f51d1; font-size: 12.5px; font-weight: 600; padding: 5px 13px; border-radius: 999px; box-shadow: 0 0 0 5px rgba(255,255,255,.22), 0 8px 20px -6px rgba(8,10,60,.5); }
.k-vote { position: absolute; left: 6%; right: 6%; top: calc(100% + 12px); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; }
.k-vote i { height: 6px; border-radius: 3px; background: rgba(255,255,255,.22); position: relative; overflow: hidden; }
.k-vote i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: 3px; background: #fff; }
.k-vote b { font: 600 16px/1 var(--font-display); color: #fff; font-variant-numeric: tabular-nums; }
.va:not(.va--pinned) .k-vote { display: none; }
.k-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.k-lines path { fill: none; stroke: rgba(255,255,255,.85); stroke-width: 1.3; stroke-linecap: round; stroke-dasharray: 2 4; }
.k-say { position: absolute; top: var(--y); margin: -1.4em 0 0; width: 25cqw; max-width: 230px; box-sizing: border-box; background: #fff; color: #1e2a7a; border-radius: 22px; padding: 10px 15px; font-size: clamp(12px, 2cqw, 14px); line-height: 1.3; font-weight: 500; letter-spacing: -.005em; box-shadow: 0 16px 30px -14px rgba(8, 10, 60, .55); }
.k-say::after { content: ""; position: absolute; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.k-say--l { left: 3.5cqw; }
.k-say--l::after { right: -10px; }
.k-say--r { right: 3.5cqw; }
.k-say--r::after { left: -10px; clip-path: polygon(100% 0, 0 50%, 100% 100%); }
.k-tn { position: absolute; left: 0; right: 0; bottom: 3.5cqh; margin: 0 auto; width: fit-content; font-size: 12px; font-weight: 500; color: #fff; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }

/* 4 diaries: board + insight */
.d-board { position: absolute; left: 0; right: 0; margin: 0 auto; top: 13cqh; width: 86cqw; box-sizing: border-box; background: #fff; border-radius: 20px; padding: 16px; box-shadow: 0 30px 60px -30px rgba(30, 40, 110, .25); }
.d-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.d-col { display: grid; gap: 8px; }
.d-day { margin: 0 0 2px; font: 400 11px/1 var(--font-mono); color: #a1a1aa; }
.d-tile { position: relative; aspect-ratio: 1; border-radius: 12px; background: var(--bg); overflow: hidden; }
.d-tile svg { position: absolute; left: 8%; right: 8%; top: 4%; width: 84%; height: auto; }
.d-tile span { position: absolute; left: 5px; bottom: 5px; max-width: calc(100% - 10px); overflow: hidden; text-overflow: ellipsis; font-size: 10px; line-height: 1; font-weight: 500; color: #27272a; background: rgba(255,255,255,.9); padding: 3px 6px; border-radius: 999px; white-space: nowrap; }
.d-tile--video::before { content: ""; position: absolute; top: 5px; right: 5px; width: 16px; height: 16px; border-radius: 50%; background: rgba(9,9,11,.7); }
.d-tile--video::after { content: ""; position: absolute; top: 9.5px; right: 9px; width: 0; height: 0; border-left: 6px solid #fff; border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent; }
.d-insight { position: absolute; left: 0; right: 0; margin: 0 auto; top: calc(100% - 10px); width: min(74cqw, 520px); box-sizing: border-box; background: #3f51d1; color: #fff; border-radius: 18px; padding: 18px 22px; box-shadow: 0 30px 60px -20px rgba(63, 81, 209, .55); }
.d-insight__k { margin: 0 0 6px; font-size: 12.5px; color: #c7cdf6; }
.d-insight__t { margin: 0; font: 600 clamp(18px, 3.4cqw, 24px)/1.2 var(--font-display); letter-spacing: -.025em; }

.va:not(.va--pinned) .only-pin { display: none; }

/* ---------- pinned mode ---------- */
.va--pinned .va__inner { height: 100vh; height: 100svh; padding: calc(var(--nav) + clamp(16px, 4vh, 44px)) 0 clamp(16px, 3.5vh, 36px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: 1fr auto; column-gap: clamp(40px, 5vw, 88px); box-sizing: border-box; }
.va--pinned .va__left { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.va--pinned .va__copies { position: relative; margin-top: clamp(16px, 3vh, 28px); min-height: clamp(220px, 40vh, 300px); }
.va--pinned .va-study__copy { position: absolute; inset: 0 0 auto 0; }
.va--pinned .va-study__num { display: none; }
.va--pinned .va__right { display: flex; align-items: center; min-width: 0; }
.va--pinned .va-panel { width: 100%; height: min(66vh, 520px); background: #3f51d1; }
.va--pinned .va__tabs { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; margin: 0; padding: 18px 0 0; }
.va__tab { font-size: 13px; color: #71717a; transition: color .3s; display: grid; gap: 10px; }
.va__tab.is-on { color: #fafafa; }
.va__tab-bar { height: 2px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; }
.va__tab-bar i { display: block; height: 100%; background: #fafafa; transform-origin: left; transform: scaleX(0); }

@media (max-width: 899px) {
  .va-study { grid-template-columns: 1fr; gap: 24px; }
  .va__inner { padding: 72px 0; }
  .va-panel { height: auto; container-type: inline-size; }
  .va-state { position: relative; padding: 28px 16px; gap: 14px; }
  .d-board, .d-insight { position: relative; left: auto; right: auto; top: auto; bottom: auto; translate: none; width: 100%; }
  .i1-call { width: 100%; }
  .k-duel, .k-board { position: relative; left: auto; top: auto; margin: 0 auto; }
  .k-board { width: 62%; height: auto; transform: none; }
  .k-board img { height: auto; }
  .k-say::after { display: none; }
  .k-lines { display: none; }
  .k-say { position: relative; top: auto; left: auto; right: auto; margin: 0; width: 100%; }
  .k-tn { position: relative; bottom: auto; }
  .d-grid { gap: 5px; } .d-col { gap: 5px; } .d-tile span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .i1-rec, .i1-ai i { animation: none; } }
