/* ============================================================
   NextLevel.ai — structural fixes from Andrii's 30 Oct 2026 transcript
   (story visuals, industry solution visuals, HR steps, rotator, live bg).
   Uses existing tokens only.
   ============================================================ */

/* Story visuals: lighter frame, animated loop fills the frame. */
.v3r-story__visual {
  background: #f6f3fe !important;
}
.v3r-story__loop {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.v3r-section--dark .v3r-story,
.v3s-section--story .v3r-story {
  background: #fff;
}
/* uifix1 (Quinn C3): reverse story cards on this white surface use the ink
   colours of a normal story card (was white text on white). */
.v3r-section--dark .v3r-story--reverse,
.v3s-section--story .v3r-story--reverse {
  color: var(--v3r-ink, #1c1c1f);
}
.v3r-section--dark .v3r-story--reverse .v3r-story__copy > p:not(.v3r-card-label),
.v3s-section--story .v3r-story--reverse .v3r-story__copy > p:not(.v3r-card-label) {
  color: var(--v3r-muted, #5e5e6b);
}

/* SVG diagrams in story rows: never wider than the text column, site style.
   uifix1 (Quinn C2): two columns on desktop only; below 64rem the card stacks
   like every other story card, with an even inset around the framed diagram. */
@media (min-width: 64rem) {
  .v3r-story:has(.v3s-diagram-link) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    padding-right: 60px !important;
  }
}
@media (max-width: 63.99rem) {
  .v3r-story:has(.v3s-diagram-link) {
    padding-right: 48px !important;
    padding-bottom: 48px !important;
  }
  .v3r-story:has(.v3s-diagram-link) .v3r-story__copy {
    padding-right: 0;
  }
}
@media (max-width: 48rem) {
  .v3r-story:has(.v3s-diagram-link) {
    padding-right: 24px !important;
    padding-bottom: 24px !important;
  }
}
.v3r-story:has(.v3s-diagram-link) .v3r-story__visual {
  border: 1px solid rgba(117, 64, 242, 0.14) !important;
  border-radius: 22px !important;
  box-shadow: none !important;
}
.v3s-diagram-link img {
  max-height: 420px;
  width: 100%;
  object-fit: contain;
}

/* Industry "AI solutions for X" rows: animated visual instead of "+" box. */
.v3s-alt-row__visual {
  overflow: hidden;
  border: 1px solid rgba(117, 64, 242, 0.14);
  border-radius: 22px;
  background: #f6f3fe;
}
.v3s-alt-row__loop {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* HR "Who benefits": numbered steps (same pattern as "Six controlled steps"). */
.v3s-split-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.v3s-split-steps > li > h3 {
  margin-top: 14px !important;
}
.v3s-split-steps__icon {
  margin-top: 22px;
}
.v3s-split-steps .v3s-bullet-list {
  margin-top: 14px;
}
@media (max-width: 900px) {
  .v3s-split-steps { grid-template-columns: 1fr !important; }
}

/* Personal assistant "Who benefits": rotating carousel with live visual. */
.v3s-rotator {
  margin-top: 40px;
}
.v3s-rotator__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.v3s-rotator__tabs button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(117, 64, 242, 0.22);
  border-radius: 999px;
  background: #fff;
  color: #1c1c1f;
  font-weight: 600;
  cursor: pointer;
}
.v3s-rotator__tabs button span {
  color: #7540f2;
  font-size: 12px;
  font-weight: 750;
}
.v3s-rotator__tabs button[aria-selected="true"] {
  border-color: #582cd3;
  background: #582cd3;
  color: #fff;
}
.v3s-rotator__tabs button[aria-selected="true"] span {
  color: #ece8ff;
}
.v3s-rotator__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
  border: 1px solid rgba(117, 64, 242, 0.12);
  border-radius: 28px;
  padding: 32px;
  background: #fff;
}
.v3s-rotator__visual {
  overflow: hidden;
  border-radius: 20px;
  background: #f6f3fe;
}
.v3s-rotator__visual video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.v3s-rotator__panels article h3 {
  margin-top: 8px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}
.v3s-rotator__panels article > p:not(.v3r-card-label) {
  margin-top: 10px;
  color: var(--fg-2, #4a4a52);
}
.v3s-rotator__panels .v3s-bullet-list {
  margin-top: 14px;
}
@media (max-width: 900px) {
  .v3s-rotator__stage { grid-template-columns: 1fr; padding: 20px; }
}

/* Receptionist "A calmer front desk": live abstract background. */
.v3r-audiences-block--live {
  position: relative;
  isolation: isolate;
}
.v3r-live-bg {
  position: absolute;
  inset: -40px -20px;
  z-index: -1;
  overflow: hidden;
  border-radius: 32px;
  pointer-events: none;
}
.v3r-live-bg span {
  position: absolute;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.32;
  animation: nl-live-drift 18s ease-in-out infinite alternate;
}
.v3r-live-bg span:nth-child(1) { left: -8%; top: -10%; background: #c0b4fe; }
.v3r-live-bg span:nth-child(2) { right: -6%; top: 20%; background: #efe1d4; animation-duration: 22s; }
.v3r-live-bg span:nth-child(3) { left: 30%; bottom: -30%; background: #dad5ff; animation-duration: 26s; }
@keyframes nl-live-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(6%, 8%, 0) scale(1.15); }
}
@media (prefers-reduced-motion: reduce) {
  .v3r-live-bg span { animation: none; }
}

/* Long card descriptions rendered as checkmark lists. */
.v3s-bullet-list--body {
  margin-top: 12px;
}

/* Story visual top bar: light instead of near-black. */
.v3r-story__visual-bar {
  background: #ece8ff !important;
}

/* Audience cards with icon ("Everybody Wins"-type sections). */
.v3s-audience--icon > :first-child {
  margin-bottom: 14px;
}

/* /authors/: compact profile hub — single column, site-standard type. */
.hub-article-layout--single {
  display: block !important;
  max-width: 860px;
  margin-inline: auto;
}
.hub-page--compact .content-prose {
  font-size: 16px;
  line-height: 1.65;
}
.hub-page--compact .content-prose h2 {
  font-family: var(--nl-heading-family, "Schibsted Grotesk", Manrope, sans-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.hub-page--compact .content-prose h3 {
  font-size: 19px;
  line-height: 1.3;
}
/* uifix1 (Quinn H3): profile cards and prose H3s use the site heading family. */
.hub-page--compact h3,
.hub-page--compact .content-prose h3 {
  font-family: var(--nl-heading-family, "Schibsted Grotesk", Manrope, sans-serif);
  font-weight: 650;
  letter-spacing: -0.01em;
}
.hub-page--compact .content-prose ol {
  padding-left: 1.25rem;
  list-style: decimal;
}
.hub-page--compact .content-prose ol > li + li {
  margin-top: 0.5rem;
}
.hub-page--compact .content-prose img {
  max-width: 120px;
  height: auto;
}

/* Channel/benefit card text: regular weight, titles smaller than body emphasis. */
.v3r-audience li,
.v3r-capability li,
.v3s-bullet-list li {
  font-weight: 400;
}

/* Phase 2 (Nora copy r1, 30 Oct 2026) ------------------------------------ */
/* Story sections whose jargon diagram was removed: copy only, one column. */
.v3r-story.v3s-story--no-visual,
.v3r-story.v3r-story--reverse.v3s-story--no-visual {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  padding: clamp(32px, 4vw, 56px);
}
.v3s-story--no-visual .v3r-story__copy {
  max-width: 820px;
}
.v3s-story--no-visual .v3r-story__copy ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 28px;
}
/* Banking operating path: sub line under the H2 (Nora). */
.v3r-heading.v3s-heading--stack {
  display: block;
  max-width: 860px;
}
.v3r-heading.v3s-heading--stack > p {
  margin-top: 14px;
  max-width: 640px;
}
/* Index cards now carry checkmark bullets like the other card types. */
.v3s-index-grid .v3s-bullet-list {
  margin-top: 12px;
}

/* uifix1 (Quinn H1): bullets inside the featured purple card in 4-card rows. */
.v3r-usecase--accent .v3s-bullet-list li {
  color: rgba(255, 255, 255, 0.88);
}
.v3r-usecase--accent .v3s-bullet-list li svg {
  stroke: #fff;
}

/* Bullets inside the dark (last) capability card must stay readable. */
.v3r-capability--dark .v3s-bullet-list li {
  color: rgba(255, 255, 255, 0.84);
}
.v3r-capability--dark .v3s-bullet-list li svg {
  stroke: #cfc4ff;
}
/* Split cards (e.g. messenger "What changes for your business"): card titles
   sit below the 36px section H2 in the hierarchy, short titles, no empty gap. */
.v3s-split-grid article {
  min-height: 0;
}
.v3s-split-grid article h3 {
  max-width: none;
  margin: 0.6rem 0 0;
  font-family: var(--nl-heading-family, "Schibsted Grotesk", Manrope, sans-serif);
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.v3s-split-grid article > p:not(.v3r-card-label) {
  margin-top: 0.6rem;
}
.v3s-split-grid article ul {
  margin-top: 0;
  padding-top: 1.25rem;
}
/* Portrait hero media (mobile chatbot): keep pills next to the phone frame. */
.v3r-product-scene.v3s-product-scene--portrait {
  width: min(100%, 580px);
  margin-inline: auto;
  justify-self: center;
}

/* Heading audit (phase 2): section H2s must not exceed 2 lines at 1440px.
   Story rows: the label + H2 span the whole card above text and visual
   (CSS-only; markup and copy unchanged). Desktop two-column layout only. */
@media (min-width: 64rem) {
  .v3s-story.v3r-story:not(.v3s-story--no-visual) {
    grid-template-rows: auto auto auto 1fr;
    row-gap: 0;
    align-items: start;
  }
  .v3s-story:not(.v3s-story--no-visual) .v3r-story__copy {
    display: contents;
  }
  .v3s-story:not(.v3s-story--no-visual) .v3r-story__copy > .v3r-card-label {
    grid-column: 1 / -1;
    grid-row: 1;
    padding-top: 0;
  }
  .v3s-story:not(.v3s-story--no-visual) .v3r-story__copy > .v3s-story__title {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 1000px;
    padding-right: 60px;
    margin-bottom: 26px;
  }
  .v3s-story:not(.v3s-story--no-visual) .v3r-story__copy > p {
    grid-column: 1;
    grid-row: 3;
  }
  .v3s-story:not(.v3s-story--no-visual) .v3r-story__copy > ul {
    grid-column: 1;
    grid-row: 4;
  }
  .v3s-story:not(.v3s-story--no-visual) > .v3r-story__visual {
    grid-column: 2;
    grid-row: 3 / span 2;
  }
  .v3s-story.v3r-story--reverse:not(.v3s-story--no-visual) .v3r-story__copy > p,
  .v3s-story.v3r-story--reverse:not(.v3s-story--no-visual) .v3r-story__copy > ul {
    grid-column: 2;
  }
  .v3s-story.v3r-story--reverse:not(.v3s-story--no-visual) > .v3r-story__visual {
    grid-column: 1;
  }
  .v3s-story.v3r-story--reverse:not(.v3s-story--no-visual) .v3r-story__copy > .v3r-card-label,
  .v3s-story.v3r-story--reverse:not(.v3s-story--no-visual) .v3r-story__copy > .v3s-story__title {
    padding-left: 60px;
  }
}
/* Security/compliance strips: heading on its own row, labels below. */
.v3s-trust__inner,
.v3r-trust > .v3r-container {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 18px !important;
}
.v3r-trust > .v3r-container ul {
  justify-content: flex-start;
}

/* ============================================================
   uifix2 (30 Oct 2026, Theo) — Quinn UI/UX 854566a7 MEDIUM, user-approved.
   Palette colours only (c91fcf14): #7040de, #582cd3, #5e5e6b, #1c1c1f,
   #dad5ff, #ffffff.
   ============================================================ */

/* ---- Contrast >= 4.5:1 (all widths) ---- */
.agent-contact .eyebrow,
.agent-contact__head .eyebrow {
  color: #7040de !important;
}
.nl-lead-form__submit {
  background: linear-gradient(135deg, #7040de, #582cd3) !important;
}
.nl-lead-form__field small {
  color: #5e5e6b !important;
}
html:root body .roi-field__help,
html:root body .v3r-plan-note {
  color: #5e5e6b !important;
}
#pricing .text-ink-500 {
  color: #5e5e6b !important;
}
#pricing .text-cream-300 {
  color: #dad5ff !important;
}
.comp-label,
.p-tier-card--featured .p-tier-name {
  color: #7040de !important;
}
[data-pricing-root],
.comp-section,
.comp-cta-section,
.wiz-shell {
  --nl-purple-500: #7040de;
}
.p-popular-tag,
.p-tier-btn--primary,
.p-tier-card--featured .p-tier-btn {
  background-color: #7040de !important;
  border-color: #7040de !important;
}
.p-promo__off {
  color: #1c1c1f !important;
}
.home-v3 .aud-seg {
  color: #ffffff !important;
}
.home-v3 .aud-seg.is-active {
  color: #1c1c1f !important;
}
.comp-cta,
.comp-doc-cta {
  background: #7040de !important;
}
.comp-fw-header--gray {
  color: #5e5e6b !important;
}
.profile-avatar {
  background: linear-gradient(145deg, #582cd3, #7040de) !important;
}
html:root body .wiz-next,
.is-embedded-light .wiz-next {
  background: linear-gradient(120deg, #582cd3, #7040de) !important;
}
a.bg-gradient-to-r.from-purple-700.to-purple-500 {
  background-image: linear-gradient(to right, #582cd3, #7040de) !important;
}
.roi-range-field p,
.roi-plan-hints > span,
.roi-currency-note,
.roi-sensitivity p,
.roi-sensitivity__grid span,
.roi-breadcrumbs,
.roi-breadcrumbs a,
.roi-breadcrumbs span {
  color: #5e5e6b !important;
}
.roi-pricing-note .btn-secondary {
  color: #7040de !important;
}

/* ---- Phone readability: no content text < 14px; labels/badges >= 12px;
       hero buttons >= 14px (390px) ---- */
@media (max-width: 640px) {
  /* hero + home */
  html:root body .home-v3 .hero-cta-main,
  html:root body .home-v3 .hero-ghost,
  html:root body .hero-cta-main,
  html:root body .hero-ghost,
  html:root body .home-v3 .qcs-btn,
  html:root body .home-v3 .hero-sound,
  html:root body .home-v3 .hero-rating-text,
  html:root body .home-v3 .aud-seg,
  html:root body .home-v3 .sm2-chan-s {
    font-size: 14px !important;
  }
  html:root body .home-v3 .hero-label,
  html:root body .home-v3 .sm2-why-t,
  html:root body .home-v3 .qcs-stat-l,
  html:root body .home-v3 .sm2-shot-bar em,
  html:root body .home-v3 .quiz-embed-bar em {
    font-size: 12px !important;
  }
  /* pricing calculator (home, about) */
  html:root body #pricing .text-xs,
  html:root body #pricing ul.text-\[11px\],
  html:root body #pricing a.text-\[11px\],
  html:root body #pricing .details-label,
  html:root body #pricing .block.text-\[11px\] {
    font-size: 14px !important;
  }
  html:root body #pricing .text-\[8px\],
  html:root body #pricing .text-\[10px\],
  html:root body #pricing span.text-\[11px\],
  html:root body #pricing p.text-\[10px\],
  html:root body #pricing .tier-choose,
  html:root body #pricing .tier-choose-label {
    font-size: 12px !important;
  }
  /* lead form + contact */
  html:root body .nl-lead-form__field small,
  html:root body .nl-lead-form__note,
  html:root body .nl-lead-form__consent,
  html:root body .nl-lead-form__consent span,
  html:root body .agent-contact__meeting-benefits span,
  html:root body .agent-contact__external-note {
    font-size: 14px !important;
  }
  /* trust reviews */
  html:root body .tpr-sub,
  html:root body .tpr-grid time,
  html:root body .tpr-partner,
  html:root body .tpr-more a {
    font-size: 14px !important;
  }
  /* V3 solution / product pages */
  html:root body .v3r-stats dt,
  html:root body .v3s-item-link,
  html:root body .v3r-plan-note,
  html:root body .v3r-pilot__price,
  html:root body .v3r-pilot a,
  html:root body .v3r-sip-note,
  html:root body .v3r-plan__promo em,
  html:root body .v3r-plan__promo em strong,
  html:root body .v3r-plan__price span,
  html:root body .v3r-plan .v3r-button,
  html:root body .v3r-offer li,
  html:root body .v3r-trust__copy span,
  html:root body .v3-quiz__fallback,
  html:root body .v3-quiz__fallback a,
  html:root body .v3-quiz__trust,
  html:root body .v3r-page table td,
  html:root body .v3r-page table th,
  html:root body .v3r-page figcaption,
  html:root body .v3r-page figcaption strong,
  html:root body .v3s-case__metric span,
  html:root body .v3s-diagram-link span,
  html:root body .v3c-comparison__row span,
  html:root body .v3c-comparison__row strong,
  html:root body .v3c-calculator__note,
  html:root body .v3c-calculator dt,
  html:root body .v3c-calculator dd,
  html:root body .v3c-calculator small,
  html:root body .v3c-calculator__tiers strong,
  html:root body .v3c-presets button,
  html:root body .nh-more {
    font-size: 14px !important;
  }
  html:root body .v3r-plan__badge,
  html:root body .v3r-plan__promo > span,
  html:root body .v3r-video-window__bar strong,
  html:root body .v3c-journey__visual-tag,
  html:root body .v3c-journey__meta strong,
  html:root body .v3c-advantage-index__title small,
  html:root body .v3r-page table thead th {
    font-size: 12px !important;
  }
  /* header CTA, footer, breadcrumbs */
  html:root body .v3r-mobile-nav__footer .v3r-cta-label--short,
  html:root body .v3r-footer a,
  html:root body .v3r-footer button,
  html:root body footer li a,
  html:root body footer button,
  html:root body .v3-cs-crumbs a,
  html:root body .v3-cs-crumbs span,
  html:root body nav[aria-label="Breadcrumb"] a,
  html:root body nav[aria-label="Breadcrumb"] span {
    font-size: 14px !important;
  }
  /* compliance, pricing page, about */
  html:root body .comp-cert-meta-value,
  html:root body .comp-roadmap-desc,
  html:root body .comp-fw-note,
  html:root body .comp-control-card p,
  html:root body .comp-criterion span,
  html:root body .p-th-name,
  html:root body .p-pill,
  html:root body .p-tier-btn,
  html:root body .p-tier-desc li,
  html:root body .p-roi-link,
  html:root body .p-promo__txt,
  html:root body [data-pricing-root] table td,
  html:root body .ab-team-stat-sub,
  html:root body .ab-stat-label,
  html:root body .ab-ind-stat,
  html:root body .ab-testi-role,
  html:root body .ab-feat-card p,
  html:root body .ab-usecase-card p,
  html:root body .ab-eng-card p,
  html:root body .ab-channel-card p {
    font-size: 14px !important;
  }
  html:root body .comp-label,
  html:root body .comp-cert-meta-label,
  html:root body .comp-cert-badge,
  html:root body .p-popular-tag,
  html:root body .p-promo__off,
  html:root body .ab-eyebrow {
    font-size: 12px !important;
  }
  /* knowledge hubs, glossary, tools, authors, resources, search */
  html:root body .glossary-related,
  html:root body .glossary-related a,
  html:root body .glossary-term-card__aliases,
  html:root body .glossary-term-card__copy,
  html:root body .content-action,
  html:root body .glossary-index__status,
  html:root body .tool-shell__status,
  html:root body .tool-card__no-link,
  html:root body .tool-card dd,
  html:root body .topic-list li,
  html:root body .profile-stats dd,
  html:root body .content-meta__evidence span,
  html:root body .author-card__identity div > span,
  html:root body .author-card > p,
  html:root body .review-block p,
  html:root body #content-search-help,
  html:root body .content-search-page label,
  html:root body .hub-page figcaption {
    font-size: 14px !important;
  }
  html:root body .glossary-term-card__meta span,
  html:root body .tool-card dt,
  html:root body .author-card__identity p,
  html:root body .author-card__identity p {
    font-size: 12px !important;
  }
  /* ROI calculator */
  html:root body .roi-field > span,
  html:root body .roi-field__help,
  html:root body .roi-range-field__head label,
  html:root body .roi-range-field > p,
  html:root body .roi-input-group__head p,
  html:root body .roi-factor-grid p,
  html:root body .roi-pilot-grid p,
  html:root body .roi-formula-grid p,
  html:root body .roi-formula-grid code,
  html:root body .roi-use-case-grid p,
  html:root body .roi-use-case-grid a,
  html:root body .roi-plan-hints button,
  html:root body .roi-hero__checks li,
  html:root body .roi-supporting-results dt,
  html:root body .roi-supporting-results dd,
  html:root body .roi-scope-card li,
  html:root body .roi-currency-note,
  html:root body .roi-results-disclaimer,
  html:root body .roi-mode-tabs button,
  html:root body .roi-utility-button {
    font-size: 14px !important;
  }
  html:root body .roi-mode-label,
  html:root body .roi-result-status,
  html:root body .roi-number-wrap span,
  html:root body .roi-input-group__head span,
  html:root body .roi-breakdown__bars span,
  html:root body .roi-breakdown__bars strong,
  html:root body .roi-sensitivity__grid span,
  html:root body .roi-sensitivity__grid small {
    font-size: 12px !important;
  }
  /* uifix2 r2: remaining content text */
  html:root body .v3r-micro-proof li,
  html:root body .v3r-offer > div > p,
  html:root body .v3r-offer p,
  html:root body .quiz-embed-fallback,
  html:root body .quiz-embed-fallback a,
  html:root body #pricing ul.space-y-1 span,
  html:root body [data-pricing-root] table tbody th,
  html:root body .v3r-page table tbody th,
  html:root body .content-meta__facts dd,
  html:root body .content-meta__facts dd a,
  html:root body .content-meta__facts dd time,
  html:root body .tool-shell__filters label span,
  html:root body .roi-hero__panel > p,
  html:root body .roi-hero__metric span,
  html:root body .roi-hero__metric small,
  html:root body .roi-hero__mini-grid span,
  html:root body .roi-hero__mini-grid strong,
  html:root body .roi-primary-result span,
  html:root body .roi-primary-result p,
  html:root body .roi-breakdown__head span,
  html:root body .roi-breakdown__head button,
  html:root body .roi-currency span,
  html:root body .roi-range-field__head output,
  html:root body .roi-results-panel__head span,
  html:root body .roi-result-grid span,
  html:root body .roi-number-wrap span {
    font-size: 14px !important;
  }
  html:root body .hero-rating-g2-logo,
  html:root body .content-type-badge,
  html:root body .content-type-badge span,
  html:root body .tool-card__topline span,
  html:root body .content-meta__facts dt,
  html:root body .roi-hero__panel-head span,
  html:root body .roi-formula-grid article > span,
  html:root body .roi-use-case-grid article > span,
  html:root body .v3c-calculator dt,
  html:root body .v3c-calculator__tiers span,
  html:root body .review-block dt,
  html:root body .author-card dl dt,
  html:root body .v3c-journey__tabs span,
  html:root body .v3c-journey__meta span,
  html:root body .v3c-journey__signal span,
  html:root body .v3c-control dt,
  html:root body .roi-sensitivity span {
    font-size: 12px !important;
  }
  html:root body .v3c-journey__copy dl dt {
    font-size: 12px !important;
  }
  html:root body .review-block dd,
  html:root body .author-card dl dd,
  html:root body .roi-pilot-footer a,
  html:root body .roi-pilot-footer p,
  html:root body .roi-method-note p,
  html:root body .roi-method-note strong,
  html:root body .roi-pricing-note p,
  html:root body .roi-sensitivity > p,
  html:root body .roi-sensitivity div > p,
  html:root body .roi-sensitivity__grid span,
  html:root body .roi-sensitivity__grid small,
  html:root body .roi-breakdown__bars span,
  html:root body .roi-breakdown__bars strong,
  html:root body .v3c-journey__copy dl dd,
  html:root body .v3c-journey__tabs strong,
  html:root body .v3c-result span {
    font-size: 14px !important;
  }
}


/* ---- Tap targets >= 44px ---- */
.tpr-more a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
@media (max-width: 640px) {
  html:root body .v3r-footer li a,
  html:root body .v3r-footer__links-mobile a,
  html:root body .v3r-footer nav a,
  html:root body footer li a,
  html:root body footer .flex > a.hover\:text-white,
  html:root body .v3-cs-crumbs a,
  html:root body .v3-cs-rail__toc a,
  html:root body .v3-cs-next__all a {
    display: inline-flex !important;
    align-items: center;
    min-height: 44px !important;
  }
  html:root body .foot-bottom a {
    display: inline-flex !important;
    align-items: center;
    min-height: 44px !important;
  }
  html:root body footer a.rounded-full {
    display: inline-grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
  }
}

/* ---- Card rows: no orphan card at tablet / 1024px ---- */
/* Two columns at tablet; an odd last card is centred at one-column width. */
@media (min-width: 641px) and (max-width: 1023px) {
  .tpr-grid > :last-child:nth-child(odd),
  .home-v3 .sm2-why > :last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
    justify-self: center;
    width: calc(50% - 8px);
  }
  .home-v3 .sm2-why {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .grid.sm\:grid-cols-2.lg\:grid-cols-3 > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 12px);
  }
}
@media (min-width: 641px) and (max-width: 1023px) {
  .hub-page .content-card-grid > :last-child:nth-child(odd),
  .profile-shell .content-card-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 12px);
  }
}
@media (min-width: 600px) and (max-width: 960px) {
  .tp-grid > :last-child:nth-child(odd),
  .nh-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 12px);
  }
}
@media (min-width: 961px) and (max-width: 1180px) {
  .nh-grid:has(> :nth-child(4):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 48rem) and (max-width: 63.99rem) {
  .v3s-audiences > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 12px);
  }
  .v3s-index-grid > article,
  .v3s-page .v3r-usecase-grid.v3s-index-grid > article {
    flex-basis: calc(50% - 12px) !important;
  }
}
@media (min-width: 541px) and (max-width: 1024px) {
  .comp-controls-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 10px);
  }
}
@media (min-width: 1025px) {
  .comp-controls-grid > :last-child:nth-child(3n + 1) {
    grid-column: 2;
  }
}
@media (min-width: 1024px) {
  .grid.sm\:grid-cols-2.lg\:grid-cols-3 > :last-child:nth-child(3n + 1) {
    grid-column: 2;
  }
}
@media (min-width: 641px) {
  .glossary-index__grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 0.45rem);
  }
  #pricing .tier-panel .grid:has(> :nth-child(4):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 721px) and (max-width: 1050px) {
  .roi-use-case-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 9px);
  }
}
@media (min-width: 64rem) {
  .v3s-workflow--dense:has(> li:nth-child(8):last-child) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---- uifix3 (30 Oct 2026, Theo): Quinn 88dc58cc M3, M4 and should-fix rows / focus ---- */
/* M4: visible hover on the compliance CTAs and the pricing primary buttons (#7040de -> #582cd3, white text) */
.comp-cta:hover,
.comp-cta:focus-visible,
.comp-doc-cta:hover,
.comp-doc-cta:focus-visible {
  background: #582cd3 !important;
}
.p-tier-btn--primary:hover,
.p-tier-btn--primary:focus-visible,
.p-tier-card--featured .p-tier-btn:hover,
.p-tier-card--featured .p-tier-btn:focus-visible {
  background-color: #582cd3 !important;
  border-color: #582cd3 !important;
  color: #ffffff !important;
}
/* M3: phone text floor, both homepage tabs and trust lists: content 14px, labels/badges 12px */
@media (max-width: 640px) {
  html:root body .home-v3 .why-us-desc,
  html:root body .home-v3 div:has(> .integ-logo-card) + p,
  html:root body .home-v3 div:has(> .integ-logo-card) + p strong,
  html:root body .v3r-trust li,
  html:root body .v3s-trust li {
    font-size: 14px !important;
  }
  html:root body .home-v3 .hero-stat-l,
  html:root body .home-v3 .quiz-embed-label,
  html:root body .home-v3 .qfp-status,
  html:root body .home-v3 .qfp-roadmap-label,
  html:root body .home-v3 .qfp-chip,
  html:root body .home-v3 .qfp-more,
  html:root body .home-v3 .qfp-more a,
  html:root body .home-v3 .testimonial-industry,
  html:root body .home-v3 .integ-logo-text,
  html:root body .home-v3 .platform-tag,
  html:root body .home-v3 .platform-cta,
  html:root body .home-v3 .eyebrow-chip,
  html:root body .home-v3 .ent-ind__tag {
    font-size: 12px !important;
  }
}
/* M2 (360px): the single-column home pricing card may shrink below its min-content width */
@media (max-width: 400px) {
  html:root body.aud-smb div:has(> article.plan-card.rounded-card),
  html:root body.aud-ent div:has(> article.plan-card.rounded-card) {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  html:root body .home-v3 article.plan-card {
    min-width: 0;
  }
}
/* Tablet rows: 3 stats in one row; odd last disclosure spans the row; odd last industry card centred */
@media (min-width: 641px) and (max-width: 48rem) {
  .v3r-stats:has(> :nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .v3r-stats:has(> :nth-child(3):last-child) > div:nth-child(3) {
    border-top: 0;
    border-left: 1px solid var(--v3r-line);
  }
}
@media (min-width: 961px) {
  .v3s-disclosures > details:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    border-right: 0;
  }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .ent-ind__grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 10px);
  }
}
/* Dashboard deck keyboard focus: a ring drawn above the overlapping screenshots */
.home-v3 .qfa-deck:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}
.home-v3 .qfa-deck:focus-visible::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 3px solid #7040de;
  border-radius: 16px;
  z-index: 5;
  pointer-events: none;
}

/* R4 (Andrii 30 Oct / 2 Nov): animated mock-UI illustrations (SolutionAnim) ---- */
.v3s-alt-row__visual.v3s-alt-row__visual--anim {
  min-height: 0;
  padding: clamp(16px, 2.6vw, 32px);
  background: linear-gradient(135deg, #f3efff 0%, #eef3ff 100%);
}
.v3r-story__visual.v3s-story__visual--anim {
  display: flex;
  align-items: center;
  padding: clamp(16px, 2.6vw, 32px);
  border-color: rgba(117, 64, 242, 0.14);
  background: linear-gradient(135deg, #f3efff 0%, #eef3ff 100%);
  box-shadow: none;
}
.v3s-rotator__visual.v3s-rotator__visual--anim {
  padding: clamp(16px, 2.4vw, 28px);
  background: linear-gradient(135deg, #f3efff 0%, #eef3ff 100%);
}
.v3s-rotator__visual--anim > [hidden] { display: none; }
/* HR "Who benefits": three cards, icon header + checkmarks + small animated exchange. */
.v3s-benefit-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.v3s-benefit-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(117, 64, 242, 0.12);
  border-radius: 20px;
  background: #fff;
}
.v3s-benefit-card__head { display: flex; align-items: center; gap: 12px; }
.v3s-benefit-card__head > .v3r-card-label { margin: 0 !important; padding: 0 !important; line-height: 1.2; }
.v3s-benefit-card h3 {
  margin: 16px 0 0;
  font-family: var(--nl-heading-family, "Schibsted Grotesk", Manrope, sans-serif);
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.v3s-benefit-card .v3s-bullet-list { margin: 14px 0 22px; }
.v3s-benefit-card__anim { margin-top: auto; }
@media (max-width: 900px) {
  .v3s-benefit-cards { grid-template-columns: 1fr; }
  .v3s-benefit-card { padding: 22px; }
}
/* Booking "A clearer schedule for everyone": cards on a soft panel with icon headers. */
.v3s-split-grid.v3s-split-grid--panel {
  padding: clamp(14px, 2.4vw, 28px);
  border-radius: 28px;
  background: linear-gradient(135deg, #f3efff 0%, #eef3ff 100%);
}
.v3s-split-grid--panel article { border-color: rgba(117, 64, 242, 0.12); border-radius: 20px; }
.v3s-split-grid--panel .v3s-split-grid__icon { margin-bottom: 14px; }
