/* ==========================================================================
   Version 8. Version 6 with the changes from the review: opening words that stack and play once, customer logos
   rolling along the bottom of the home page, a learning picture that builds up, the brands page's product picture
   drawn like the browser extension, a legal introduction, and the case study's chart redrawn.
   This file sits on top of site.css, ui.css, v5.css and v6.css.
   ========================================================================== */
.v8 { --dock: 0px; --xt: #3B1590; }

/* ---------- The opening words: three lines, one under the other, and they stay ---------- */
.opening--stack { display: grid; place-items: center; }
.opening--stack .op-stack { display: grid; justify-items: center; gap: clamp(10px, 2.2vh, 26px); padding: 0 7vw; transition: transform 1.25s cubic-bezier(.3, .7, .2, 1); will-change: transform; }
.opening--stack p { grid-area: auto; padding: 0; font-size: clamp(1.6rem, 3.9vw, 3.5rem); line-height: 1.08; opacity: 0; transform: translateY(26px); filter: none; transition: opacity 1s ease, transform 1.25s cubic-bezier(.2, .7, .2, 1), color 1s ease; }
.opening--stack.is-1 .op-1, .opening--stack.is-2 .op-2 { opacity: 1; transform: none; filter: none; }
.opening--stack.is-2 .op-1 { opacity: .5; transform: none; filter: none; }
.opening--stack.is-3 .op-1 { opacity: .34; transform: none; filter: none; }
.opening--stack.is-3 .op-2 { opacity: .5; transform: none; filter: none; }
.opening--stack .op-3 { margin-top: clamp(4px, 1.4vh, 16px); font-size: clamp(3.2rem, 10.5vw, 9.5rem); line-height: .96; transform: translateY(26px) scale(.9); transition: opacity 1s ease, transform 1.7s cubic-bezier(.2, .7, .2, 1); }
.opening--stack.is-3 .op-3 { opacity: 1; transform: none; }
@media (max-height: 560px) { .opening--stack p { font-size: clamp(1.3rem, 3.4vw, 2.4rem); } .opening--stack .op-3 { font-size: clamp(2.6rem, 9vw, 5.6rem); } }

/* ---------- Home: customer logos roll along the bottom of the window, for the whole page ---------- */
.v8.home-epic { --dock: 58px; }
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; height: var(--dock); padding-bottom: env(safe-area-inset-bottom, 0px); box-sizing: content-box; border-top: 1px solid rgba(233, 239, 236, .14); background: rgba(7, 16, 15, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #E9EFEC; }
.dock-label { flex: none; margin: 0; padding: 0 clamp(18px, 2.6vw, 34px) 0 max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); font-size: .86rem; line-height: 1.25; color: rgba(233, 239, 236, .78); white-space: nowrap; }
.dock-label b { font-family: var(--display); font-variation-settings: var(--fvs); font-weight: 700; font-size: 1.22rem; letter-spacing: -.02em; color: #F4F1E7; vertical-align: -.05em; margin: 0 1px; }
.dock-roll { flex: 1; min-width: 0; display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); }
.dock-roll ul { flex: none; display: flex; align-items: center; gap: clamp(36px, 4.4vw, 62px); margin: 0; padding: 0 clamp(36px, 4.4vw, 62px) 0 0; list-style: none; }
.dock-roll li { flex: none; display: flex; align-items: center; }
.dock-roll img { display: block; width: calc(var(--w) * .86px); height: auto; filter: brightness(0) invert(1); opacity: .74; }
@media (prefers-reduced-motion: no-preference) { .dock-roll ul { animation: dockroll 64s linear infinite; } }
@keyframes dockroll { to { transform: translateX(-100%); } }
@media (max-width: 899px) {
  .v8.home-epic { --dock: 50px; }
  .dock-label { padding: 0 12px 0 16px; font-size: .64rem; line-height: 1.3; letter-spacing: .01em; white-space: normal; width: 7.2rem; box-sizing: content-box; }
  .dock-label b { font-size: .9rem; }
  .dock-roll { -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 24px), transparent); }
  .dock-roll ul { gap: 30px; padding-right: 30px; } .dock-roll img { width: calc(var(--w) * .66px); }
  .dock-roll ul { animation-duration: 52s; }
}
/* the pinned story leaves room for the bar, and so does the end of the page */
.v8.home-epic .saga { --stage-h: calc(100vh - var(--hh) - var(--dock)); }
@supports (height: 100svh) { .v8.home-epic .saga { --stage-h: calc(100svh - var(--hh) - var(--dock)); } }
.v8.home-epic .site-footer { padding-bottom: calc(var(--dock) + env(safe-area-inset-bottom, 0px) + 12px); }
@media print { .dock { display: none; } }

/* ---------- Statements light sooner and quicker ---------- */
.v8 .statement.is-live span { transition: opacity .28s ease; }

/* ---------- The extension picture takes the extension's own violet ---------- */
.v8 .ext-bar { background: var(--xt); }
.v8 .ext-vs button[aria-pressed="true"] { color: var(--xt); background: #FFF; }
.v8 .ext-nav .is-on { box-shadow: inset 0 -2px 0 var(--xt); color: var(--xt); }

/* ---------- Home: what customers say ---------- */
.v8 .h-said .head { margin-bottom: clamp(28px, 4vw, 48px); }
.v8 .h-said .quote-card blockquote { color: var(--ink); }
.v8 .h-said .quote-card { background: var(--paper); }
.v8 .h-use { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.v8 .h-use .platforms { margin-bottom: 0; }

/* ---------- The learning picture: the model builds up, round by round ---------- */
.v8 .learn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px) minmax(0, 1fr); grid-template-areas: "s1 stage s2" "s4 stage s3" "rounds rounds rounds" "stats stats stats"; gap: clamp(16px, 2vw, 26px) clamp(20px, 3vw, 44px); align-items: center; }
.v8 .learn-steps { display: contents; list-style: none; }
.v8 .learn-step { position: relative; margin: 0; padding: 20px 22px 22px; border-radius: 22px 22px 22px 6px; border: 1px solid rgba(233, 239, 236, .14); background: rgba(244, 241, 231, .03); transition: border-color .45s ease, background-color .45s ease, transform .45s ease; }
.v8 .learn-step:nth-child(1) { grid-area: s1; align-self: end; } .v8 .learn-step:nth-child(2) { grid-area: s2; align-self: end; }
.v8 .learn-step:nth-child(3) { grid-area: s3; align-self: start; } .v8 .learn-step:nth-child(4) { grid-area: s4; align-self: start; }
.v8 .learn-step > span { display: block; margin-bottom: 10px; font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; color: rgba(233, 239, 236, .5); transition: color .45s ease; }
.v8 .learn-step h3 { margin: 0 0 6px; font-size: 1.22rem; line-height: 1.15; color: #F4F1E7; }
.v8 .learn-step p { margin: 0; font-size: .95rem; line-height: 1.5; color: rgba(233, 239, 236, .68); }
.v8 .learn.is-live .learn-step { opacity: .62; }
.v8 .learn.is-live .learn-step.is-on { opacity: 1; border-color: rgba(205, 141, 255, .7); background: rgba(205, 141, 255, .1); }
.v8 .learn.is-live .learn-step.is-on > span { color: var(--lilac-soft); }
.v8 .learn-stage { grid-area: stage; position: relative; width: 100%; max-width: 540px; aspect-ratio: 1; margin: 0 auto; }
.v8 .learn-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.v8 .learn-core { position: absolute; left: 50%; top: 50%; width: 27.3%; aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; align-content: center; justify-items: center; gap: 3px; text-align: center; pointer-events: none; }
.v8 .learn-kicker { margin: 0; font-family: var(--mono); font-size: clamp(.46rem, 1.05vw, .58rem); letter-spacing: .14em; text-transform: uppercase; color: rgba(233, 239, 236, .62); white-space: nowrap; }
.v8 .learn-num { margin: 0; line-height: 1; }
.v8 .learn-num b { font-family: var(--display); font-variation-settings: var(--fvs); font-weight: 700; font-size: clamp(1.45rem, 3.5vw, 2.5rem); letter-spacing: -.04em; color: #F4F1E7; font-variant-numeric: tabular-nums; transition: color .6s ease; }
.v8 .learn.is-learned .learn-num b { color: #6ECE80; }
.v8 .learn-rounds { grid-area: rounds; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 4px 0 0; }
.v8 .learn-rounds span { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(233, 239, 236, .16); font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(233, 239, 236, .46); transition: color .5s ease, border-color .5s ease, background-color .5s ease; }
.v8 .learn:not(.is-live) .learn-rounds span, .v8 .learn-rounds span.is-on { color: #F4F1E7; border-color: rgba(205, 141, 255, .6); background: rgba(205, 141, 255, .12); }
.v8 .learn-stats { grid-area: stats; justify-self: center; width: min(100%, 46rem); margin-top: clamp(14px, 2vw, 26px); padding: clamp(20px, 2.6vw, 30px) clamp(20px, 3vw, 38px); border-radius: 26px 26px 26px 6px; background: rgba(244, 241, 231, .05); box-shadow: inset 0 0 0 1px rgba(244, 241, 231, .12); text-align: center; }
.v8 .learn-stats .eyebrow { margin: 0 0 14px; }
.v8 .learn-pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(14px, 3vw, 40px); align-items: center; }
.v8 .learn-pair > i { width: 44px; height: 2px; background: linear-gradient(90deg, rgba(233, 239, 236, .2), #6ECE80); position: relative; }
.v8 .learn-pair > i::after { content: ""; position: absolute; right: -1px; top: -4px; width: 9px; height: 9px; border-top: 2px solid #6ECE80; border-right: 2px solid #6ECE80; transform: rotate(45deg); }
.v8 .learn-stat { display: grid; gap: 4px; justify-items: center; transition: opacity .6s ease; }
.v8 .learn-stat b { font-family: var(--display); font-variation-settings: var(--fvs); font-weight: 700; font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1; letter-spacing: -.04em; color: #F4F1E7; }
.v8 .learn-stat.is-up b { color: #6ECE80; }
.v8 .learn-stat span { font-size: .95rem; line-height: 1.35; color: rgba(233, 239, 236, .74); max-width: 15em; }
.v8 .learn.is-live .learn-stat { opacity: .42; } .v8 .learn.is-live .learn-stat.is-on { opacity: 1; }
.v8 .learn-stats .src { margin: 16px 0 0; color: rgba(233, 239, 236, .56); }
@media (max-width: 1100px) {
  .v8 .learn { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "stage stage" "rounds rounds" "stats stats" "s1 s2" "s4 s3"; }
  .v8 .learn-stage { max-width: 500px; }
  .v8 .learn-step:nth-child(n) { align-self: stretch; }
}
@media (max-width: 640px) {
  .v8 .learn { grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage" "rounds" "stats" "s1" "s2" "s3" "s4"; gap: 12px; }
  .v8 .learn-rounds span { padding: 5px 9px; font-size: .56rem; letter-spacing: .08em; }
  .v8 .learn-pair { gap: 10px; } .v8 .learn-pair > i { width: 22px; }
  .v8 .learn-stat span { font-size: .84rem; }
  .v8 .learn-step { padding: 16px 18px 18px; }
}

/* ---------- Brands: the product picture, drawn like the browser extension ---------- */
.v8 .b-breakdown .head { margin-bottom: clamp(32px, 4.4vw, 56px); }
.v8 .xt { max-width: 1140px; margin: 0 auto; border-radius: 22px; overflow: hidden; background: #F8F6F2; color: #17121F; font-family: var(--body); box-shadow: 0 0 0 1px rgba(59, 21, 144, .12), 0 60px 110px -60px rgba(59, 21, 144, .6), 0 24px 50px -30px rgba(23, 18, 31, .3); }
.v8 .xt p { margin: 0; max-width: none; }
.v8 .xt-bar { display: flex; align-items: center; gap: 16px; padding: 13px clamp(16px, 2.2vw, 26px); background: var(--xt); color: #FFF; }
.v8 .xt-logo { display: inline-flex; color: #FFF; } .v8 .xt-logo .logo { display: block; width: 84px; height: auto; }
.v8 .xt-bar-right { margin-left: auto; display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); font-size: .82rem; color: rgba(255, 255, 255, .92); }
.v8 .xt-bar-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.v8 .xt-bar-item svg { width: 17px; height: 17px; flex: none; } .v8 .xt-bar-item .xt-caret { width: 11px; height: 11px; margin-left: 1px; }
.v8 .xt-bar-vs { padding-left: clamp(12px, 2vw, 26px); border-left: 1px solid rgba(255, 255, 255, .22); }
.v8 .xt-me { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .16); font-size: .66rem; font-weight: 600; letter-spacing: .04em; }
.v8 .xt-who { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0 16px; align-items: center; padding: 18px clamp(16px, 2.2vw, 26px) 0; background: #FFF; box-shadow: 0 1px 0 rgba(23, 18, 31, .08); }
.v8 .xt-who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.v8 .xt-who b { display: block; font-size: 1.06rem; font-weight: 700; letter-spacing: -.005em; }
.v8 .xt-who div p { margin-top: 2px; font-size: .88rem; line-height: 1.45; color: rgba(23, 18, 31, .72); }
.v8 .xt-heart { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--xt); color: var(--xt); }
.v8 .xt-heart svg { width: 18px; height: 18px; }
.v8 .xt-tabs { grid-column: 1 / -1; display: flex; gap: clamp(16px, 2.4vw, 30px); margin-top: 14px !important; font-size: .84rem; color: rgba(23, 18, 31, .6); overflow: hidden; }
.v8 .xt-tabs span { padding-bottom: 11px; white-space: nowrap; } .v8 .xt-tabs .is-on { color: #17121F; font-weight: 600; box-shadow: inset 0 -2px 0 var(--xt); }
.v8 .xt-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.5vw, 18px); padding: clamp(14px, 2vw, 24px) clamp(14px, 2.2vw, 26px) clamp(18px, 2.4vw, 28px); }
.v8 .xt-card { min-width: 0; padding: 18px clamp(16px, 1.8vw, 22px) 20px; border-radius: 16px; background: #FFF; box-shadow: 0 1px 0 rgba(23, 18, 31, .05), 0 14px 30px -24px rgba(23, 18, 31, .4); }
.v8 .xt-score { grid-column: span 7; } .v8 .xt-values { grid-column: span 5; } .v8 .xt-aud { grid-column: span 5; } .v8 .xt-perf { grid-column: span 3; } .v8 .xt-pers { grid-column: span 4; }
.v8 .xt-h { display: flex; align-items: center; gap: 8px; margin-bottom: 14px !important; font-size: 1.08rem; font-weight: 700; line-height: 1.2; letter-spacing: -.005em; color: #17121F; }
.v8 .xt-h > svg { width: 20px; height: 20px; flex: none; color: #17121F; }
.v8 .xt-info { display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; border: 1px solid rgba(23, 18, 31, .34); font: 600 .58rem/1 var(--body); font-style: normal; color: rgba(23, 18, 31, .5); }
.v8 .xt-for { margin-left: auto; font-size: .8rem; font-weight: 400; color: rgba(23, 18, 31, .64); white-space: nowrap; }
.v8 .xt-for b { font-size: 1.15rem; font-weight: 700; color: var(--xt); margin-right: 2px; }
.v8 .xt-label { margin-bottom: 10px !important; font-size: .62rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: rgba(23, 18, 31, .56); }
/* score */
.v8 .xt-score-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(16px, 2.4vw, 34px); align-items: center; }
.v8 .xt-gauge { text-align: center; } .v8 .xt-gauge svg { display: block; width: 100%; max-width: 230px; margin: 0 auto; }
.v8 .xt-band { display: inline-block; margin-top: 6px !important; padding: 5px 12px; border-radius: 999px; background: rgba(255, 194, 66, .26); font-size: .76rem; font-weight: 600; color: #6B4A00; }
.v8 .xt-subs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.v8 .xt-subs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; align-items: baseline; }
.v8 .xt-subs li > span { font-size: .9rem; font-weight: 600; } .v8 .xt-subs li > b { font-size: 1.05rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.v8 .xt-subs i { grid-column: 1 / -1; display: block; height: 8px; border-radius: 5px; background: #EFEBF6; overflow: hidden; }
.v8 .xt-subs u { display: block; height: 100%; border-radius: 5px; text-decoration: none; background: #6ECE80; } .v8 .xt-subs u.is-mid { background: #FFC242; } .v8 .xt-subs u.is-low { background: #FF7873; }
.v8 .xt-subs li p { grid-column: 1 / -1; font-size: .78rem; line-height: 1.4; color: rgba(23, 18, 31, .62); }
.v8 .xt-insights { list-style: none; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(23, 18, 31, .09); display: grid; gap: 9px; }
.v8 .xt-insights li { display: flex; align-items: center; gap: 10px; font-size: .88rem; line-height: 1.35; color: #17121F; }
.v8 .xt-insights li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: rgba(110, 206, 128, .24) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.5 12.5l3 3 6-6.5' fill='none' stroke='%231F6B36' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.v8 .xt-insights li.is-watch::before { background: rgba(255, 194, 66, .3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7v6' stroke='%23946400' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='16.6' r='1.3' fill='%23946400'/%3E%3C/svg%3E") center / 100% no-repeat; }
/* values */
.v8 .xt-values-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 8px; align-items: center; }
.v8 .xt-top5 { padding: 14px 16px 16px; border-radius: 12px; background: #F6F3F0; }
.v8 .xt-top5 p { margin-bottom: 9px; font-size: .84rem; font-weight: 700; }
.v8 .xt-top5 ol { list-style: none; counter-reset: x5; margin: 0; padding: 0; display: grid; gap: 8px; }
.v8 .xt-top5 li { counter-increment: x5; font-size: .84rem; line-height: 1.2; color: var(--xt); text-decoration: underline; text-decoration-color: rgba(59, 21, 144, .4); text-underline-offset: 2px; white-space: nowrap; }
.v8 .xt-top5 li::before { content: counter(x5, decimal-leading-zero); display: inline-block; width: 2em; color: #B26BF2; text-decoration: none; }
.v8 .xt-values figure { margin: 0; min-width: 0; } .v8 .xt-wheel, .v8 .xt-rose { display: block; width: 100%; height: auto; }
.v8 .xt-values figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 14px; font-size: .72rem; color: rgba(23, 18, 31, .76); }
.v8 .xt-values figcaption span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.v8 .xt-values .k-me { width: 9px; height: 9px; border-radius: 50%; background: #B26BF2; } .v8 .xt-values .k-brand { width: 14px; height: 0; border-top: 1.6px dashed var(--xt); }
/* audience */
.v8 .xt-aud-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px 22px; }
.v8 .xt-places { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid rgba(23, 18, 31, .09); }
.v8 .xt-donut-box { position: relative; width: min(100%, 150px); }
.v8 .xt-donut { display: block; width: 100%; height: auto; }
.v8 .xt-donut-box p { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 2px; font-size: .64rem; line-height: 1.2; color: rgba(23, 18, 31, .64); }
.v8 .xt-donut-box p b { font-size: .92rem; font-weight: 700; color: #17121F; margin-right: 3px; }
.v8 .xt-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.v8 .xt-rows li { display: grid; grid-template-columns: 3.1em minmax(0, 1fr) 2.4em; gap: 8px; align-items: center; font-size: .74rem; color: rgba(23, 18, 31, .66); }
.v8 .xt-rows i { display: block; height: 8px; } .v8 .xt-rows u { display: block; height: 100%; min-width: 8px; border-radius: 5px; background: var(--xt); text-decoration: none; }
.v8 .xt-rows b { font-weight: 600; color: #17121F; font-variant-numeric: tabular-nums; }
.v8 .xt-places .xt-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 22px; }
/* performance */
.v8 .xt-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.v8 .xt-tiles div { padding: 12px 0 13px; border-top: 1px solid rgba(23, 18, 31, .09); }
.v8 .xt-tiles div:nth-child(-n + 2) { border-top: 0; padding-top: 2px; }
.v8 .xt-tiles div:nth-child(odd) { padding-right: 12px; } .v8 .xt-tiles div:nth-child(even) { padding-left: 14px; border-left: 1px solid rgba(23, 18, 31, .09); }
.v8 .xt-tiles b { display: block; font-size: 1.5rem; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.v8 .xt-tiles span { display: block; margin-top: 3px; font-size: .72rem; line-height: 1.3; color: rgba(23, 18, 31, .62); }
.v8 .xt-pers .xt-rose { max-width: 330px; margin: -4px auto 0; }
.v8 .b-breakdown .breakdown-note { margin-top: clamp(28px, 4vw, 44px); }
.v8 .b-breakdown .breakdown-links .btn-line { border-color: var(--line-2); color: var(--ink); }
@media (max-width: 1040px) {
  .v8 .xt-score, .v8 .xt-values, .v8 .xt-aud { grid-column: span 12; } .v8 .xt-perf { grid-column: span 5; } .v8 .xt-pers { grid-column: span 7; }
  .v8 .xt-values-grid { grid-template-columns: minmax(0, .6fr) minmax(0, 1fr); max-width: 560px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .v8 .xt { border-radius: 18px; }
  .v8 .xt-bar-item:not(.xt-bar-vs) { display: none; } .v8 .xt-bar-vs { border-left: 0; padding-left: 0; } .v8 .xt-logo .logo { width: 70px; }
  .v8 .xt-who { grid-template-columns: auto minmax(0, 1fr); } .v8 .xt-heart { display: none; } .v8 .xt-who img { width: 44px; height: 44px; }
  .v8 .xt-tabs { gap: 14px; font-size: .76rem; }
  .v8 .xt-perf, .v8 .xt-pers { grid-column: span 12; }
  .v8 .xt-score-grid { grid-template-columns: minmax(0, 1fr); } .v8 .xt-gauge svg { max-width: 200px; }
  .v8 .xt-values-grid { grid-template-columns: minmax(0, 1fr); } .v8 .xt-top5 ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v8 .xt-aud-grid { grid-template-columns: minmax(0, 1fr); } .v8 .xt-places .xt-rows { grid-template-columns: minmax(0, 1fr); }
  .v8 .xt-donut-box { width: 140px; }
  .v8 .xt-for { font-size: .74rem; }
}

/* ---------- Brands: two ways in, each with its picture ---------- */
.v8 .ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.v8 .way { display: grid; grid-template-rows: auto 1fr; gap: clamp(20px, 2.6vw, 30px); background: var(--white); }
.v8 .way-text h3 { margin: 0 0 10px; } .v8 .way-text p:last-child { margin-bottom: 0; }
.v8 .way-ui { align-self: end; padding: clamp(14px, 1.8vw, 20px); border-radius: 18px 18px 18px 5px; background: var(--lilac-wash); }
.v8 .ui .way-input { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; padding: 9px 10px; border-radius: 12px; background: #FFF; box-shadow: inset 0 0 0 1px rgba(1, 50, 47, .14); font-size: 12px; line-height: 1.2; }
.v8 .way-input span { padding: 5px 9px; border-radius: 999px; background: #F1EEE6; color: #01322F; white-space: nowrap; }
.v8 .way-input b { margin-left: auto; padding: 6px 13px; border-radius: 999px; background: #01322F; color: #FBF9F8; font-weight: 500; }
.v8 .way-input em { font-style: normal; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(1, 50, 47, .6); margin: 0 4px 0 4px; }
.v8 .way-input--brand span:first-of-type { background: #01322F; color: #FBF9F8; }
.v8 .way-ui .ui-mini-list .ui-meta { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 860px) { .v8 .ways { grid-template-columns: minmax(0, 1fr); } }
.v8 .b-assistant { background: var(--white) !important; }

/* ---------- Case study ---------- */
.v8 .page-case .vhero .story-logo--light, .v8.page-case .vhero .story-logo--light { margin-bottom: 26px; height: 50px; }
.v8 .case-sum .head { margin-bottom: 0; }
.v8 .case-sum .case-numbers { margin-top: clamp(28px, 4vw, 52px); }
.v8 .case-sum .case-numbers > div:first-child .stat-num { color: var(--lilac-ink); }
.v8 .case-sum .case-numbers > div:first-child .stat-num::after { display: none; }
.v8 .case-sum .src { margin-top: 22px; }
.v8 .case-sum .case-quote { border-top-color: var(--line); }
.v8 .case-sum .case-quote blockquote { color: var(--ink); }
.v8 .case-sum .case-quote .person b { color: var(--ink); } .v8 .case-sum .case-quote .person span span { color: var(--ink-3); }
.v8 .case-story { padding-top: var(--sec); }

/* ---------- About: Trudy stands with her team, in the same grey as the photographs ---------- */
.v8 .member--trudy img { padding: 20% 13% 16%; background: radial-gradient(120% 90% at 30% 20%, #E4E6E4 0%, #C3C7C5 58%, #A9AEAC 100%); filter: grayscale(1) contrast(1.05); }
.v8 .member--trudy:hover img { filter: none; background: var(--lilac-wash); }
.v8 .member--trudy p { color: var(--ink-3); font-weight: 400; letter-spacing: 0; }
.v8 .meet { align-items: start; }
.v8 .meet .lede { margin-bottom: 1em; }
@media (min-width: 861px) { .v8 .meet .trudy { position: sticky; top: 120px; padding-top: 20px; } }

/* ---------- Blind test ---------- */
.v8.page-blind .vhero-facts { margin-bottom: 2px; }
.v8.page-blind .vhero-facts b { margin-right: 6px; color: var(--lilac-soft); }

/* ---------- Legal: an introduction with a face ---------- */
.v8 .legal-intro { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; max-width: 66rem; }
.v8 .legal-trudy { margin: 0; padding: clamp(28px, 4vw, 54px); border-radius: 30px 30px 30px 8px; background: var(--lilac-wash); }
.v8 .legal-trudy img { display: block; width: 100%; max-width: 250px; height: auto; margin: 0 auto; }
.v8 .legal-intro h2 { font-size: clamp(2.1rem, 4.3vw, 3.7rem); line-height: 1.03; letter-spacing: -.028em; margin: 0 0 .45em; }
.v8 .legal-intro p:not(.eyebrow):not(.lede) { color: var(--ink-2); max-width: 36em; }
.v8 .legal-docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin-top: clamp(40px, 6vw, 80px); }
.v8 .legal-doc { display: grid; align-content: start; gap: 8px; text-decoration: none; color: var(--ink); background: var(--paper); transition: transform .25s ease, box-shadow .25s ease; }
.v8 .legal-doc:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(12, 20, 19, .4); }
.v8 .legal-n { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; color: var(--lilac-ink); }
.v8 .legal-doc h3 { margin: 4px 0 0; } .v8 .legal-doc p { margin: 0 0 8px; color: var(--ink-2); }
.v8 .legal-foot { display: grid; gap: 8px; margin-top: clamp(32px, 4vw, 52px); }
.v8 .legal-foot .says a { color: inherit; }
@media (max-width: 860px) { .v8 .legal-intro { grid-template-columns: minmax(0, 1fr); } .v8 .legal-trudy { max-width: 240px; padding: 26px; } .v8 .legal-docs { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer: the small print, with a wink ---------- */
.v8 .footer-legal i { font-style: italic; opacity: .78; margin: 0 4px 0 2px; }
.v8 .footer-legal-lead { font-weight: 600; }
.v8 .footer-bottom [data-replay-opening] { opacity: .8; }

/* extension picture: fit and balance */
.v8 .xt-values { display: flex; flex-direction: column; }
.v8 .xt-values-grid { flex: 1; grid-template-columns: max-content minmax(0, 1fr); gap: 14px; }
.v8 .xt-rows li { grid-template-columns: 3.7em minmax(0, 1fr) 2.4em; } .v8 .xt-rows li > span { white-space: nowrap; }
.v8 .xt-perf .xt-h { font-size: 1rem; white-space: nowrap; } .v8 .xt-perf .xt-info { display: none; }
.v8 .xt-pers { display: flex; flex-direction: column; } .v8 .xt-pers .xt-rose { margin: auto; }
.v8 .learn.is-live .learn-step { opacity: .8; }
.v8 .learn-key { grid-area: key; display: flex; justify-content: center; gap: 18px; margin: 0; font-size: .8rem; color: rgba(233, 239, 236, .66); }
.v8 .learn-key span { display: inline-flex; align-items: center; gap: 7px; }
.v8 .learn-key i { width: 9px; height: 9px; border-radius: 50%; } .v8 .learn-key .k-sold { background: #6ECE80; } .v8 .learn-key .k-not { box-shadow: inset 0 0 0 1.4px rgba(233, 239, 236, .7); } .v8 .learn-key .k-base { width: 6px; height: 6px; background: #D6AAFF; }
.v8 .learn { grid-template-areas: "s1 stage s2" "s4 stage s3" "rounds rounds rounds" "key key key" "stats stats stats"; }
@media (max-width: 1100px) { .v8 .learn { grid-template-areas: "stage stage" "rounds rounds" "key key" "stats stats" "s1 s2" "s4 s3"; } }
@media (max-width: 640px) { .v8 .learn { grid-template-areas: "stage" "rounds" "key" "stats" "s1" "s2" "s3" "s4"; } .v8 .learn-key { flex-wrap: wrap; gap: 6px 14px; font-size: .74rem; } }

/* the redrawn Storyblocks chart: shorter wording on a phone, where its type is drawn larger */
.v8 .chart-svg .t-short { display: none; }
@media (max-width: 600px) { .v8 .chart-svg .t-long { display: none; } .v8 .chart-svg .t-short { display: inline; } .v8 .chart .chart-svg text { font-size: 21px; } }


/* ---------- Home on a phone: the first screen is whole. The crowd fills it and the words sit inside the crowd ---------- */
@media (max-width: 899px) {
  .v8.home-epic .saga.is-live .step--hero { min-height: var(--stage-h); padding: 0; align-items: end; }
  .v8.home-epic .saga.is-live .step--hero .step-body { padding: 0 0 clamp(22px, 4.6vh, 50px); text-align: center; }
  .v8.home-epic .step--hero .eyebrow { margin-bottom: 10px; font-size: .58rem; letter-spacing: .1em; }
  .v8.home-epic .saga .step--hero .lede { margin: 0 auto; max-width: 21em; font-size: 1rem; line-height: 1.45; }
  .v8.home-epic .step--hero .hero-stat--epic { width: fit-content; max-width: 100%; margin: 16px auto 0; text-align: left; }
  .v8.home-epic .epic-facts { flex-direction: row; justify-content: center; gap: 3px 14px; margin-top: 14px; font-size: .56rem; letter-spacing: .08em; }
  .v8.home-epic .epic-facts b { font-size: 1rem; margin-right: 5px; }
  .v8.home-epic .step--hero .scroll-cue { display: none; }
  .v8.home-epic .saga.is-live .saga-stage[data-state="cloud"]::before { opacity: 0; }
  .v8.home-epic .saga-stage[data-state="cloud"] .stage-note { opacity: 0; }
}
@media (max-width: 899px) and (max-height: 640px) { .v8.home-epic .epic-facts { display: none; } .v8.home-epic .saga h1 { font-size: clamp(2.4rem, 11vw, 4rem); } }
@media (max-width: 899px) {
  /* the number in its own glass box, as on a wide screen, with room above it for Trudy */
  .v8.home-epic .step--hero .hero-stat--epic { margin-top: 30px; padding: 11px 20px 12px 16px; gap: 4px 14px; border-top: 0; border-radius: 22px 22px 22px 6px; background: rgba(244, 241, 231, .07); box-shadow: inset 0 0 0 1px rgba(244, 241, 231, .16), 0 24px 60px -30px rgba(205, 141, 255, .5); }
  .v8.home-epic .hero-stat--epic > b { font-size: 2.9rem; color: var(--lilac-soft); }
  .v8.home-epic .hero-stat--epic strong { font-size: 1.06rem; margin: 0; max-width: 9.5em; }
  .v8 .stat-trudy { width: 40px; right: 14px; bottom: calc(100% - 7px); }
  .v8.home-epic .epic-facts li:nth-child(2) { order: 3; }
}

/* with the tape gone, the hint under the crowd would sit on the first screen's facts: it stays off there */
.v8.home-epic .saga-stage[data-state="cloud"] .stage-note { opacity: 0; }
/* the learning picture without scripts: the number in a plain ring, no empty square around it */
.v8 .learn:not(.is-live):not(.is-drawn) .learn-stage { max-width: 220px; }
.v8 .learn:not(.is-live):not(.is-drawn) .learn-core { width: 78%; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(205, 141, 255, .7), 0 0 90px rgba(205, 141, 255, .3); }
.v8 .learn:not(.is-live):not(.is-drawn) .learn-num b { color: #6ECE80; font-size: 2.3rem; }

/* ---------- Fixes from the review ---------- */
/* brands, "Two ways in": the cards keep to the width of the screen */
.v8 .way { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.v8 .way > *, .v8 .way-ui .ui-card { min-width: 0; }
/* the extension picture's values card at narrower widths (these come after the rule that balances it on a wide screen) */
@media (max-width: 1040px) { .v8 .xt-values-grid { grid-template-columns: minmax(0, .6fr) minmax(0, 1fr); } }
@media (max-width: 640px) {
  .v8 .xt-values-grid { grid-template-columns: minmax(0, 1fr); }
  .v8 .xt-tabs { -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent); mask-image: linear-gradient(90deg, #000 80%, transparent); }
}
/* home, first screen on a wide window: the scroll hint only where there is room above the logo bar */
@media (min-width: 900px) and (max-height: 990px) { .v8.home-epic .step--hero .scroll-cue { display: none; } }
@media (min-width: 900px) and (max-height: 900px) { .v8.home-epic .epic-facts { margin-top: 12px; } }
@media (min-width: 900px) and (min-height: 781px) and (max-height: 880px) { .v8.home-epic .saga h1:not(.h1--plain) { font-size: clamp(3.8rem, 7.2vw, 6.6rem); } .v8.home-epic .hero-stat--epic { margin-top: 18px; padding: 13px 26px 13px 22px; } }
@media (max-width: 899px) { .v8.home-epic .epic-facts { font-size: .62rem; } }
/* the learning picture: the figure not yet reached stays readable; under 1100px the step in play is named under the picture */
.v8 .learn.is-live .learn-stat { opacity: .6; }
.v8 .learn-now { display: none; }
@media (max-width: 1100px) {
  .v8 .learn { grid-template-areas: "stage stage" "now now" "rounds rounds" "key key" "stats stats" "s1 s2" "s4 s3"; }
  .v8 .learn.is-live .learn-now { grid-area: now; display: flex; justify-content: center; align-items: baseline; gap: 10px; margin: -4px 0 2px; font-family: var(--display); font-variation-settings: var(--fvs); font-weight: 700; font-size: 1.12rem; line-height: 1.2; color: #F4F1E7; text-align: center; }
  .v8 .learn-now b { font-family: var(--mono); font-weight: 400; font-size: .66rem; letter-spacing: .16em; color: var(--lilac-soft); }
}
@media (max-width: 640px) { .v8 .learn { grid-template-areas: "stage" "now" "rounds" "key" "stats" "s1" "s2" "s3" "s4"; } }
/* the Storyblocks chart on a phone: the many dots drawn larger and brighter */
@media (max-width: 600px) { .v8 .chart-svg .sc-dim { fill-opacity: .58; } .v8 .chart-svg .sc-dim circle { r: 4.3px; } }
/* nothing a keyboard reaches hides under the logo bar */
html:has(.dock) { scroll-padding-bottom: 84px; }
/* footer */
.v8 .footer-who { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.v8 .footer-legal-links { display: inline-flex; flex-wrap: wrap; gap: 2px 16px; }
@media (max-width: 520px) { .v8 .way-ui .ui-mini-action { display: none; } }

/* About, who Trudy is: the last line stands a little apart */
.v8 .meet .meet-real { margin-top: 1.2em; font-family: var(--display); font-variation-settings: var(--fvs); font-weight: 600; font-size: 1.2rem; color: var(--ink) !important; }

/* the note that stands in for an email link inside a preview frame */
.mail-note { position: fixed; left: 50%; bottom: calc(var(--dock, 0px) + 22px); z-index: 120; max-width: min(92vw, 34rem); padding: 12px 18px; border-radius: 16px 16px 16px 5px; background: #0C1413; color: #F4F1E7; font-size: .92rem; line-height: 1.4; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(244, 241, 231, .14); opacity: 0; transform: translate(-50%, 12px); transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
.mail-note.is-on { opacity: 1; transform: translate(-50%, 0); }
/* About: the way to the manifesto is a button */
.v8 .belief-cta { margin-top: 22px; }

/* ---------- About: each office with its map and its local time ---------- */
.v8 .offices--maps .office { display: grid; grid-template-columns: minmax(0, 1fr) clamp(150px, 15vw, 210px); gap: 18px 22px; align-items: center; padding: 18px 0; }
.v8 .office-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 10px !important; font-size: .88rem !important; }
.v8 .office-time { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); white-space: nowrap; }
.v8 .office-time[hidden] { display: none; }
.v8 .office-time i { width: 9px; height: 9px; border-radius: 50%; background: #5B6FD6; box-shadow: 0 0 0 3px rgba(91, 111, 214, .18); }
.v8 .office-time.is-day i { background: #F3AE4A; box-shadow: 0 0 0 3px rgba(243, 174, 74, .22); }
.v8 .office-time b { font-family: var(--mono); font-weight: 500; font-size: .92rem; letter-spacing: .02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.v8 .office-map { position: relative; display: block; overflow: hidden; border-radius: 18px 18px 18px 5px; box-shadow: 0 0 0 1px rgba(59, 21, 144, .16), 0 16px 34px -22px rgba(59, 21, 144, .5); aspect-ratio: 18 / 11; }
.v8 .office-map img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.v8 .office-map:hover img { transform: scale(1.06); }
.v8 .office-pin { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #7A2FC4; box-shadow: 0 0 0 3px #FFF, 0 0 0 9px rgba(122, 47, 196, .22); }
.v8 .office-map small { position: absolute; right: 6px; bottom: 5px; padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, .82); font-size: .56rem; line-height: 1.5; color: #3A2F55; }
@media (prefers-reduced-motion: no-preference) { .v8 .office-pin { animation: officepin 2.6s ease-in-out infinite; } }
@keyframes officepin { 50% { box-shadow: 0 0 0 3px #FFF, 0 0 0 14px rgba(122, 47, 196, .1); } }
@media (max-width: 520px) { .v8 .offices--maps .office { grid-template-columns: minmax(0, 1fr); } .v8 .office-map { max-width: 320px; } }

/* the "Cookie settings" link in the footer stays hidden until the cookie banner code is running (live site only) */
.v8 .footer-bottom a[hidden] { display: none; }
