/* AMP Consulting — final visual pass.
   Approved copy and typography stay untouched; this layer only adds layout,
   imagery, infographics and interaction polish. */

:root {
  --fd-radius: 22px;
  --fd-shadow: 0 26px 70px -42px var(--theme-shadow-dark);
}

/* The accounting brand needs order: the running strip is deliberately level. */
.marquee {
  border-bottom: 1px solid color-mix(in srgb, var(--theme-highlight) 22%, transparent);
  border-top: 1px solid color-mix(in srgb, var(--theme-highlight) 22%, transparent);
  margin: 0;
  padding: 18px 0;
  transform: none !important;
  width: 100%;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

/* The facts band shares the hero's inner vertical axes. */
@media (min-width: 981px) {
  .trust-band {
    max-width: none;
    width: 100%;
  }
}

.trust-band > div {
  justify-content: center;
}

.trust-intro,
.trust-stat {
  gap: 10px;
}

.trust-intro p {
  font-size: 13px;
  line-height: 1.45;
}

.trust-stat strong {
  font-size: clamp(38px, 3.5vw, 50px);
  font-variant-numeric: tabular-nums;
  line-height: .96;
  transform-origin: left center;
}

.trust-stat span {
  color: var(--theme-text-soft);
  font-size: 14px;
  line-height: 1.35;
  max-width: 180px;
}

.trust-stat strong.is-counting {
  animation: trust-count-in .72s var(--ease) both;
}

.trust-stat strong.has-counted {
  color: var(--theme-text);
}

@keyframes trust-count-in {
  0% { opacity: .35; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Visual answers inside the four problem cards. */

.problems-section h2 {
  font-size: clamp(40px, 4.15vw, 54px);
  line-height: 1.04;
}

.problem-section-cta {
  align-items: center;
  border-top: 1px solid var(--theme-border);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-top: 38px;
  padding-top: 28px;
}

.problem-section-cta p {
  color: var(--theme-text-soft);
  display: grid;
  font-size: 14px;
  gap: 2px;
}

.problem-section-cta > a {
  align-items: center;
  background: var(--theme-text);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 850;
  gap: 14px;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px 12px 20px;
  transition: background-color .25s ease, transform .3s var(--ease);
}

.problem-section-cta > a > span {
  align-items: center;
  background: var(--theme-highlight);
  border-radius: 50%;
  color: var(--theme-text);
  display: inline-flex;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.problem-section-cta > a:hover {
  background: var(--theme-accent-deep);
  transform: translateY(-2px);
}

/* A concrete product moment replaces the feeling of another wireframe grid. */

@keyframes fd-live { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--theme-accent) 15%, transparent); } }

/* The original three approved benefits remain, now presented as a concise legend. */

/* Human detail on the photo, without changing the accepted copy. */

@keyframes fd-chip { 50% { transform: translateY(-5px); } }

/* Existing CTA wording, shown again at the natural mid-page decision point. */

.final-floating-cta {
  align-items: center;
  background: var(--theme-highlight);
  border-radius: 999px;
  color: var(--theme-text);
  display: inline-flex;
  font-size: 12px;
  font-weight: 850;
  gap: 12px;
  justify-content: center;
  padding: 13px 17px;
  position: relative;
  transition: box-shadow .3s ease, transform .3s var(--ease);
  z-index: 2;
}

.final-floating-cta:hover { box-shadow: 0 14px 36px -18px var(--theme-highlight); transform: translateY(-3px); }

/* Connected process and a small switching micro-win. */
.steps-grid { position: relative; }
.steps-grid article { transition: border-color .3s ease, box-shadow .35s ease, transform .4s var(--ease); }
.steps-grid article:hover { border-color: var(--theme-accent); box-shadow: var(--fd-shadow); transform: translateY(-6px); }
.steps-grid article::after {
  background: var(--theme-accent);
  border: 3px solid var(--theme-page);
  border-radius: 50%;
  content: "";
  height: 12px;
  position: absolute;
  right: 18px;
  top: 19px;
  transition: box-shadow .3s ease, transform .3s ease;
  width: 12px;
}

.steps-grid article:hover::after { box-shadow: 0 0 0 7px color-mix(in srgb, var(--theme-accent) 14%, transparent); transform: scale(1.1); }
.start-section.is-switching .steps-grid article::after { animation: fd-step-pulse .55s calc(var(--step-delay) + 40ms) var(--ease); }
@keyframes fd-step-pulse { 45% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--theme-accent) 14%, transparent); transform: scale(1.25); } }

/* More lived-in testimonials, while keeping every approved sentence intact. */

@keyframes fd-ring { to { transform: rotate(360deg); } }

/* The team photography gains depth and tactile hover states. */
.team-card { position: relative; }
.team-image-wrap { box-shadow: 0 20px 70px -52px var(--theme-shadow-dark); isolation: isolate; }
.team-image-wrap::before {
  background: linear-gradient(145deg, transparent 55%, color-mix(in srgb, var(--theme-highlight) 24%, transparent));
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity .35s ease;
  z-index: 2;
}
.team-card:hover .team-image-wrap::before { opacity: 1; }

/* Editorial cards get a visual lead-in, so the section is no longer six text blocks. */
.articles-grid > a { overflow: hidden; padding: 0; }

.articles-grid > a > span,
.articles-grid > a > h3,
.articles-grid > a > p,
.articles-grid > a > b { margin-left: 24px; margin-right: 24px; }
.articles-grid > a > span { margin-top: 22px; }
.articles-grid > a > b { margin-bottom: 24px; }

/* A respectful, non-obstructive extra CTA after the hero. */
.final-floating-cta {
  bottom: 22px;
  box-shadow: 0 18px 44px -20px var(--theme-shadow-dark);
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 22px;
  transform: translateY(18px);
  transition: opacity .3s ease, transform .4s var(--ease);
  z-index: 45;
}
.final-floating-cta { display: none; }
.final-floating-cta.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.final-floating-cta span { align-items: center; background: var(--theme-text); border-radius: 50%; color: #fff; display: inline-flex; height: 28px; justify-content: center; width: 28px; }

@media (max-width: 980px) {

  

  
  
  .final-floating-cta { display: inline-flex; }
}

@media (max-width: 680px) {
  .marquee { padding: 14px 0; }

  .problem-section-cta { align-items: stretch; flex-direction: column; gap: 18px; }
  .problem-section-cta > a { width: 100%; }

  

  

  .roles-photo-chip-b { display: none; }

  

  .final-floating-cta { bottom: 14px; left: 14px; right: 14px; }
}

/* SaldeoSMART interaction patterns translated into the AMP brand language. */
:root {
  --amp-data-primary: var(--theme-accent-deep);
  --amp-data-secondary: var(--theme-accent);
  --amp-data-highlight: var(--theme-highlight);
  --amp-data-muted: color-mix(in srgb, var(--theme-accent) 30%, var(--theme-surface));
  --amp-data-canvas: color-mix(in srgb, var(--theme-surface) 91%, var(--theme-accent-soft));
}

.mini-chart i:nth-child(3n+1) {
  background: var(--amp-data-highlight);
  border-color: color-mix(in srgb, var(--amp-data-highlight) 72%, var(--theme-surface));
}

.mini-chart i:nth-child(3n+2) {
  background: var(--amp-data-muted);
  border-color: color-mix(in srgb, var(--amp-data-secondary) 28%, transparent);
}

.mini-chart i:nth-child(3n),
.mini-chart i.is-hot {
  background: var(--amp-data-primary);
  border-color: var(--amp-data-primary);
}

.mini-chart i {
  animation: amp-data-live 3.8s ease-in-out infinite alternate;
  transform-origin: bottom;
}

.mini-chart i:nth-child(2) { animation-delay: -.55s; }

.mini-chart i:nth-child(3) { animation-delay: -1.1s; }

.mini-chart i:nth-child(4) { animation-delay: -1.65s; }

.mini-chart i:nth-child(5) { animation-delay: -2.2s; }

.mini-chart i:nth-child(6) { animation-delay: -2.75s; }

@keyframes amp-data-live {
  0%, 100% { filter: saturate(.92); transform: scaleY(.78); }
  42% { filter: saturate(1); transform: scaleY(1); }
  72% { filter: saturate(.96); transform: scaleY(.9); }
}

@keyframes amp-ring-live {
  0%, 72%, 100% { filter: drop-shadow(0 0 0 transparent); transform: scale(1); }
  82% { filter: drop-shadow(0 5px 7px color-mix(in srgb, var(--theme-accent) 24%, transparent)); transform: scale(1.055); }
}

@keyframes amp-status-pulse {
  0%, 58%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--theme-highlight) 42%, transparent); transform: scale(1); }
  72% { box-shadow: 0 0 0 8px transparent; transform: scale(1.08); }
}

@keyframes amp-screen-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Problem section: one typographic system and a strict, collision-free card grid. */
.problems-section .split-heading {
  align-items: end;
  gap: clamp(42px, 7vw, 110px);
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr);
}

.problems-section .split-heading > p {
  color: var(--theme-text-soft);
  font-size: 17px;
  line-height: 1.62;
  max-width: 440px;
  padding-bottom: 6px;
}

.problems-section .eyebrow {
  font-size: 12px;
  letter-spacing: .13em;
}

.problems-section .section-heading h2 {
  color: var(--theme-text);
  font-family: var(--sans);
  font-size: clamp(48px, 4.55vw, 62px);
  font-weight: 700;
  letter-spacing: -.052em;
  line-height: .98;
  max-width: 790px;
}

.problem-heading-main { display: block; }

@media (max-width: 900px) {
  .problems-section .split-heading {
    align-items: start;
    gap: 28px;
    grid-template-columns: 1fr;
  }

  .problems-section .split-heading > p { max-width: 620px; }

}

@media (max-width: 680px) {
  .problems-section .section-heading h2 {
    font-size: clamp(42px, 12vw, 56px);
    line-height: .98;
  }

  .problems-section .split-heading > p { font-size: 16px; }

  

  

  

}

/* Selected homepage solution: compact interactive problem-to-benefit focus. */
.problem-focus {
  background: var(--theme-text);
  border: 1px solid var(--theme-border);
  border-radius: 22px;
  display: grid;
  grid-template-columns: clamp(300px, 27%, 340px) minmax(0, 1fr);
  margin: 56px 0 0;
  max-width: none;
  overflow: hidden;
  width: 100%;
}

.problem-focus-tabs {
  border-right: 1px solid rgba(255,255,255,.16);
  display: grid;
  padding: 8px;
}

.problem-focus-tab {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 12px;
  color: rgba(255,255,255,.84);
  cursor: pointer;
  display: grid;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  gap: 12px;
  grid-template-columns: 48px minmax(0, 1fr);
  line-height: 1.38;
  padding: 12px;
  text-align: left;
  transition: background-color .2s ease, box-shadow .2s ease, color .2s ease;
}

.problem-focus-tab:hover { background: rgba(255,255,255,.08); color: #fff; }

.problem-focus-tab[aria-selected="true"] {
  background: var(--theme-accent-soft);
  box-shadow: none;
  color: var(--theme-text);
  transform: none;
}

.problem-focus-signal {
  align-items: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 11px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  height: 40px;
  justify-content: center;
  min-width: 48px;
  padding: 0 7px;
}

.problem-focus-signal.is-icon {
  font-size: 19px;
  min-width: 40px;
  padding: 0;
}

.problem-focus-signal.is-icon svg {
  fill: none;
  height: 22px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 22px;
}

.problem-focus-tab[aria-selected="true"] .problem-focus-signal { background: var(--theme-highlight); border-color: var(--theme-highlight); color: var(--theme-text); }

.problem-focus-result {
  align-content: stretch;
  background: var(--theme-surface);
  color: var(--theme-text);
  display: grid;
  min-height: 312px;
  padding: clamp(30px, 3.5vw, 40px);
  position: relative;
}

.problem-focus-result::after {
  animation: problem-status-pulse 2.8s ease-in-out infinite;
  background: var(--theme-highlight);
  border: 4px solid var(--theme-surface);
  border-radius: 50%;
  content: "";
  height: 17px;
  position: absolute;
  right: 25px;
  top: 24px;
  width: 17px;
}

.problem-focus-result-inner {
  display: grid;
  gap: 12px;
  grid-template-areas:
    "tag tag"
    "title title"
    "copy copy"
    "visual person";
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto minmax(54px, 1fr);
  max-width: 100%;
  min-height: 232px;
}

.problem-focus-result-inner.is-changing { animation: problem-result-in .28s cubic-bezier(.23, 1, .32, 1) both; }

.problem-focus-us {
  background: var(--theme-accent-soft);
  border: 1px solid color-mix(in srgb, var(--theme-accent) 24%, var(--theme-border));
  border-radius: 999px;
  color: var(--theme-text);
  font-size: 13px;
  font-weight: 800;
  justify-self: start;
  letter-spacing: .09em;
  padding: 8px 12px;
  text-transform: uppercase;
  grid-area: tag;
}

.problem-focus-result-inner > strong {
  color: var(--theme-text);
  font-family: var(--sans);
  font-size: clamp(29px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: 1.06;
  grid-area: title;
}

.problem-focus-result p {
  color: var(--theme-text-soft);
  font-size: 15.5px;
  line-height: 1.52;
  margin: 0;
  max-width: 440px;
  grid-area: copy;
}

.problem-focus-visual {
  align-self: end;
  display: flex;
  grid-area: visual;
  margin-top: 12px;
  width: 76px;
}

.problem-focus-bars {
  align-items: end;
  display: flex;
  gap: 4px;
  height: 38px;
}

.problem-focus-bars i {
  animation: problem-bar-live 3.6s ease-in-out infinite alternate;
  background: var(--theme-accent-deep);
  border-radius: 4px 4px 2px 2px;
  display: block;
  height: var(--h);
  transform-origin: bottom;
  width: 6px;
}

.problem-focus-bars i:nth-child(3n + 1) { background: var(--theme-highlight); }
.problem-focus-bars i:nth-child(3n + 2) { background: color-mix(in srgb, var(--theme-accent) 30%, var(--theme-surface)); animation-delay: -.8s; }
.problem-focus-bars i:nth-child(3n) { animation-delay: -1.6s; }

.problem-focus-ring {
  animation: problem-ring-live 4.2s ease-in-out infinite;
  background: conic-gradient(var(--theme-accent-deep) 0 72%, var(--theme-highlight) 72% 84%, color-mix(in srgb, var(--theme-accent) 28%, var(--theme-surface)) 84%);
  border-radius: 50%;
  color: var(--theme-text);
  height: 46px;
  position: relative;
  width: 46px;
}

.problem-focus-ring::before {
  background: var(--theme-surface);
  border-radius: 50%;
  content: "";
  inset: 7px;
  position: absolute;
}

.problem-focus-person {
  align-items: center;
  align-self: end;
  display: flex;
  gap: 11px;
  grid-area: person;
  justify-self: end;
  margin-top: 12px;
  position: static;
}

.problem-focus-person img {
  border: 2px solid var(--theme-highlight);
  border-radius: 50%;
  box-shadow: 0 9px 22px -15px var(--theme-shadow-dark);
  height: 42px;
  object-fit: cover;
  object-position: 50% 18%;
  width: 42px;
}

.problem-focus-person > span { display: grid; gap: 2px; }

.problem-focus-person strong {
  color: var(--theme-text);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.problem-focus-person small {
  color: var(--theme-muted);
  font-size: 12.5px;
  line-height: 1.25;
  max-width: 180px;
}

.problem-focus-ring::after {
  content: "✓";
  font-size: 15px;
  font-weight: 800;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

@keyframes problem-result-in {
  from { opacity: .12; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes problem-bar-live {
  0%, 100% { transform: scaleY(.72); }
  48% { transform: scaleY(1); }
  74% { transform: scaleY(.86); }
}

@keyframes problem-ring-live {
  0%, 72%, 100% { transform: scale(1); }
  82% { transform: scale(1.07); }
}

@keyframes problem-status-pulse {
  0%, 58%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--theme-highlight) 36%, transparent); }
  72% { box-shadow: 0 0 0 11px transparent; }
}

@media (max-width: 900px) {
  .problem-focus { grid-template-columns: 1fr; max-width: none; width: 100%; }
  .problem-focus-tabs { border-bottom: 1px solid rgba(255,255,255,.16); border-right: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .problem-focus { border-radius: 18px; margin-top: 38px; }
  .problem-focus-tabs { grid-template-columns: 1fr; }
  .problem-focus-tab { font-size: 15px; padding: 11px; }
  .problem-focus-result { min-height: 310px; padding: 34px 22px; }
  .problem-focus-result-inner > strong { font-size: clamp(30px, 10vw, 40px); }
  .problem-focus-result p { font-size: 16px; }
  .problem-focus-result-inner {
    grid-template-areas: "tag" "title" "copy" "visual" "person";
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .problem-focus-person { justify-self: start; margin-top: 8px; }
}

/* Selected promise direction: compact editorial split, aligned to the section above. */
.outcomes-section.outcomes-editorial-section {
  background: transparent;
  border-radius: 0;
  color: var(--theme-text);
  margin: 0 auto;
  max-width: 1236px;
  padding-block: clamp(62px, 5.5vw, 76px);
  padding-inline: 28px;
  width: var(--container);
}

.outcomes-editorial {
  align-items: center;
  background: color-mix(in srgb, var(--theme-accent-soft) 82%, var(--theme-surface));
  border: 1px solid var(--theme-border);
  border-radius: 26px;
  box-shadow: var(--fd-shadow);
  display: grid;
  gap: clamp(34px, 4vw, 52px);
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr);
  margin: 0;
  max-width: none;
  overflow: hidden;
  padding: clamp(34px, 3.6vw, 48px);
  width: 100%;
}

.outcomes-editorial-copy { min-width: 0; }

.outcomes-editorial-copy .eyebrow {
  color: var(--theme-text);
  font-size: 12px;
  letter-spacing: .13em;
  margin-bottom: 20px;
}

.outcomes-editorial-copy h2 {
  color: var(--theme-text);
  font-family: var(--sans);
  font-size: clamp(46px, 4.1vw, 58px);
  font-weight: 700;
  letter-spacing: -.052em;
  line-height: .98;
  margin: 0;
}

.outcomes-editorial-copy h2 em {
  display: inline-block;
  font-family: var(--font-accent);
  font-weight: 400;
  letter-spacing: -.035em;
}

.outcomes-editorial-copy > p {
  color: var(--theme-muted);
  font-size: 16px;
  line-height: 1.55;
  margin: 18px 0 20px;
  max-width: 520px;
}

.outcomes-editorial-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.outcomes-editorial-benefits li {
  align-items: center;
  color: var(--theme-text);
  display: flex;
  font-size: 13px;
  font-weight: 400;
  gap: 10px;
}

.outcomes-editorial-benefits li strong {
  font-weight: 700;
}

.outcomes-editorial-benefits span {
  align-items: center;
  background: var(--theme-surface);
  border-radius: 50%;
  color: var(--theme-text);
  display: inline-flex;
  flex: 0 0 auto;
  height: 23px;
  justify-content: center;
  width: 23px;
}

.outcomes-editorial-product {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 0;
  min-width: 0;
  position: relative;
  width: 100%;
}

.outcomes-editorial-product::before {
  background: var(--theme-highlight);
  border-radius: 999px;
  content: "";
  height: 8px;
  left: 7%;
  position: absolute;
  right: 7%;
  top: 18%;
}

.outcomes-editorial-screen {
  background: var(--theme-surface);
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 18px;
  box-shadow: 0 34px 64px -42px rgba(0, 0, 0, .8);
  overflow: hidden;
  padding: 10px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.outcomes-editorial-screen img {
  animation: amp-screen-float 6s ease-in-out infinite;
  display: block;
  height: auto;
  width: 100%;
}

.outcomes-editorial-product figcaption {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 14px;
  bottom: 10px;
  box-shadow: var(--fd-shadow);
  color: var(--theme-text);
  left: -12px;
  padding: 11px 14px;
  position: absolute;
  z-index: 2;
}

.outcomes-editorial-product figcaption strong { display: block; font-size: 13px; }

.outcomes-editorial-product figcaption span {
  color: var(--theme-muted);
  display: block;
  font-size: 10px;
  margin-top: 3px;
}

@media (max-width: 980px) {
  .outcomes-editorial { gap: 42px; grid-template-columns: 1fr; }
  .outcomes-editorial-copy > p { max-width: 620px; }
  .outcomes-editorial-product { margin-inline: auto; max-width: 760px; width: 100%; }
}

@media (max-width: 680px) {
  .outcomes-section.outcomes-editorial-section { margin-inline: auto; padding: 52px 18px 62px; width: var(--container); }
  .outcomes-editorial { border-radius: 20px; padding: 28px 22px 34px; width: 100%; }
  .outcomes-editorial-copy .eyebrow { margin-bottom: 18px; }
  .outcomes-editorial-copy h2 { font-size: clamp(39px, 11vw, 50px); line-height: .98; }
  .outcomes-editorial-copy > p { font-size: 16px; }
  .outcomes-editorial-benefits { align-items: flex-start; flex-direction: column; }
  .outcomes-editorial-screen { border-radius: 16px; padding: 8px; }
  .outcomes-editorial-product figcaption { bottom: -18px; left: 10px; }
}

/* Selected roles direction: interactive AMP/client perspective with embedded CTA. */
.roles-section.roles-switch-section {
  padding-block: clamp(76px, 7vw, 94px);
}

.roles-switch-layout {
  background: var(--theme-text);
  border: 1px solid var(--theme-border);
  border-radius: 26px;
  box-shadow: var(--fd-shadow);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(390px, 42%) minmax(0, 58%);
  min-height: 440px;
  overflow: hidden;
  width: 100%;
}

.roles-switch-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(34px, 3.4vw, 44px);
}

.roles-switch-copy .eyebrow {
  color: var(--theme-highlight);
  font-size: 12px;
  letter-spacing: .13em;
  margin-bottom: 22px;
}

.roles-switch-copy h2 {
  color: #fff;
  font-family: var(--sans);
  font-size: clamp(38px, 3.55vw, 50px);
  font-weight: 700;
  letter-spacing: -.052em;
  line-height: .98;
  margin: 0;
}

.roles-switch-copy h2 em {
  display: inline-block;
  font-family: var(--font-accent);
  font-weight: 400;
  letter-spacing: -.035em;
}

.roles-switch-copy > p {
  color: rgba(255,255,255,.7);
  font-size: 14px;
  line-height: 1.5;
  margin: 15px 0 20px;
}

.roles-perspective {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 5px;
}

.roles-perspective button {
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 12px;
  transition: background-color .22s ease, color .22s ease, transform .22s ease;
}

.roles-perspective button:hover { transform: translateY(-1px); }
.roles-perspective button[aria-selected="true"] { background: var(--theme-surface); color: var(--theme-text); }

.roles-perspective-panel {
  min-height: 118px;
  padding-top: 17px;
}

.roles-perspective-panel h3 {
  color: #fff;
  font-family: var(--sans);
  font-size: 21px;
  letter-spacing: -.035em;
  margin: 0 0 11px;
}

.roles-perspective-panel ul {
  display: grid;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.roles-perspective-panel li {
  align-items: center;
  color: rgba(255,255,255,.82);
  display: flex;
  font-size: 13px;
  gap: 9px;
  line-height: 1.35;
}

.roles-perspective-panel li span {
  color: var(--theme-highlight);
  font-weight: 800;
}

.roles-switch-action {
  align-items: center;
  display: flex;
  gap: 15px;
  margin-top: auto;
  padding-top: 16px;
}

.roles-switch-cta {
  align-items: center;
  background: var(--theme-highlight);
  border-radius: 14px;
  color: var(--theme-text);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 22px;
  justify-content: space-between;
  padding: 12px 13px 12px 16px;
  text-decoration: none;
  transition: background-color .22s ease, transform .25s var(--ease);
}

.roles-switch-cta:hover { background: color-mix(in srgb, var(--theme-highlight) 82%, #fff); transform: translateY(-2px); }

.roles-switch-cta span {
  align-items: center;
  background: var(--theme-text);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.roles-switch-action small { color: rgba(255,255,255,.62); font-size: 10px; }

.roles-switch-photo {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.roles-switch-photo::after {
  background: linear-gradient(90deg, rgba(18,63,67,.3), transparent 42%);
  content: "";
  inset: 0;
  opacity: 1;
  pointer-events: none;
  position: absolute;
  transition: opacity .4s ease;
  z-index: 1;
}

.roles-team-visual,
.roles-saldeo-visual {
  inset: 0;
  position: absolute;
  transition: opacity .42s ease, transform .65s var(--ease);
}

.roles-team-visual { opacity: 1; transform: scale(1); }

.roles-team-visual img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .75s var(--ease);
  width: 100%;
}

.roles-switch-layout:hover .roles-team-visual img { transform: scale(1.018); }

.roles-saldeo-visual {
  background: color-mix(in srgb, var(--theme-accent-soft) 72%, var(--theme-surface));
  opacity: 0;
  overflow: hidden;
  padding: clamp(22px, 2.8vw, 36px);
  transform: scale(.985);
}

.roles-switch-photo[data-role-visual="client"]::after { opacity: 0; }
.roles-switch-photo[data-role-visual="client"] .roles-team-visual { opacity: 0; transform: scale(1.025); }
.roles-switch-photo[data-role-visual="client"] .roles-saldeo-visual { opacity: 1; transform: scale(1); }

.roles-saldeo-screen {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 15px;
  box-shadow: 0 28px 58px -35px rgba(8,38,41,.65);
  overflow: hidden;
  position: absolute;
}

.roles-saldeo-screen img { display: block; height: 100%; object-fit: cover; width: 100%; }

.roles-saldeo-main {
  bottom: 9%;
  height: 72%;
  left: 7%;
  width: 67%;
}

.roles-saldeo-main img { object-fit: contain; padding: 12px; }

.roles-saldeo-results {
  height: 41%;
  right: 5%;
  top: 8%;
  width: 43%;
}

.roles-saldeo-results img { object-position: left top; }

.roles-saldeo-ksef {
  bottom: 10%;
  height: 33%;
  right: 7%;
  width: 36%;
}

.roles-saldeo-ksef img { object-fit: contain; padding: 9px; }

.roles-saldeo-status {
  align-items: center;
  background: var(--theme-text);
  border-radius: 999px;
  bottom: 7%;
  color: #fff;
  display: flex;
  font-size: 12px;
  font-weight: 700;
  gap: 8px;
  left: 8%;
  padding: 9px 13px 9px 9px;
  position: absolute;
  z-index: 3;
}

.roles-saldeo-status i {
  align-items: center;
  background: var(--theme-highlight);
  border-radius: 50%;
  color: var(--theme-text);
  display: inline-flex;
  font-style: normal;
  height: 23px;
  justify-content: center;
  width: 23px;
}

.roles-switch-photo figcaption {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 14px;
  bottom: 22px;
  box-shadow: var(--fd-shadow);
  color: var(--theme-text);
  padding: 12px 15px;
  position: absolute;
  right: 22px;
  z-index: 2;
}

.roles-switch-photo figcaption strong { display: block; font-size: 12px; }
.roles-switch-photo figcaption span { color: var(--theme-muted); display: block; font-size: 9px; margin-top: 3px; }

@media (max-width: 980px) {
  .roles-switch-layout { grid-template-columns: 1fr; }
  .roles-switch-copy { padding: 40px; }
  .roles-switch-photo { min-height: 440px; }
}

@media (max-width: 680px) {
  .roles-section.roles-switch-section { padding-block: 64px; }
  .roles-switch-layout { border-radius: 20px; }
  .roles-switch-copy { padding: 30px 22px; }
  .roles-switch-copy h2 { font-size: clamp(38px, 10.8vw, 48px); }
  .roles-switch-action { align-items: flex-start; flex-direction: column; }
  .roles-switch-photo { min-height: 310px; }
  .roles-switch-photo figcaption { bottom: 14px; right: 14px; }
  .roles-saldeo-visual { padding: 18px; }
  .roles-saldeo-main { bottom: 10%; height: 67%; left: 4%; width: 72%; }
  .roles-saldeo-results { height: 39%; right: 3%; top: 7%; width: 45%; }
  .roles-saldeo-ksef { bottom: 10%; right: 4%; width: 38%; }
  .roles-saldeo-status { bottom: 5%; font-size: 11px; left: 5%; }
}

@media (prefers-reduced-motion: reduce) {
  .mini-chart i,
.problem-focus-bars i,
.problem-focus-ring,
.problem-focus-result::after,
.start-section.is-switching .steps-grid article::after { animation: none !important; }
  
  .outcomes-editorial-screen img { animation: none !important; }
  .roles-team-visual,
  .roles-saldeo-visual,
  .roles-team-visual img { transition: none !important; }
}

/* Human + app — reusable proof component */
.human-app-heading {
  align-items: end;
  display: grid;
  gap: clamp(32px, 6vw, 96px);
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
}

.human-app-heading .eyebrow {
  color: var(--theme-accent);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .12em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.human-app-heading h2 {
  color: var(--theme-text);
  font-family: var(--serif);
  font-size: clamp(40px, 4.4vw, 62px);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: .98;
  margin: 0;
}

.human-app-heading h2 em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.035em;
}

.human-app-heading > p {
  color: var(--theme-muted);
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 4px;
}

.human-app-component {
  background: var(--theme-surface);
  border: 1px solid color-mix(in srgb, var(--theme-accent) 26%, transparent);
  border-radius: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  margin-top: clamp(42px, 5vw, 68px);
  overflow: hidden;
}

.human-app-visual {
  background: var(--theme-text);
  display: grid;
  grid-template-columns: minmax(190px, .8fr) minmax(290px, 1.2fr);
  min-height: 610px;
  overflow: hidden;
  position: relative;
}

.human-app-visual::before {
  background: radial-gradient(circle, rgba(232, 194, 82, .22), rgba(232, 194, 82, 0) 68%);
  content: "";
  height: 360px;
  left: -150px;
  pointer-events: none;
  position: absolute;
  top: -160px;
  width: 360px;
}

.human-app-person {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.human-app-person::after {
  background: linear-gradient(180deg, transparent 54%, rgba(18, 54, 58, .92) 100%);
  bottom: 0;
  content: "";
  inset-inline: 0;
  position: absolute;
  top: 0;
}

.human-app-person img {
  height: 100%;
  object-fit: cover;
  object-position: 52% 16%;
  width: 100%;
}

.human-app-person figcaption {
  bottom: 28px;
  color: #fff;
  display: grid;
  gap: 4px;
  left: 26px;
  position: absolute;
  right: 20px;
  z-index: 1;
}

.human-app-person figcaption strong {
  font-size: 18px;
  line-height: 1.2;
}

.human-app-person figcaption span {
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  line-height: 1.35;
}

.human-app-screen {
  align-self: center;
  background: #f7f6f1;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  box-shadow: 0 30px 70px -35px rgba(0, 0, 0, .75);
  margin: 30px 28px 30px -22px;
  min-width: 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.human-app-window-bar {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid rgba(18, 54, 58, .12);
  color: var(--theme-text);
  display: flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 18px;
}

.human-app-window-bar i,
.human-app-window-bar i::before,
.human-app-window-bar i::after {
  background: color-mix(in srgb, var(--theme-accent) 56%, #fff);
  border-radius: 50%;
  height: 6px;
  width: 6px;
}

.human-app-window-bar i {
  box-shadow: -11px 0 0 color-mix(in srgb, var(--theme-highlight) 72%, #fff), -22px 0 0 color-mix(in srgb, var(--theme-text) 34%, #fff);
  display: block;
}

.human-app-window-bar i::before,
.human-app-window-bar i::after {
  content: none;
}

.human-app-screen-body {
  align-items: center;
  background: #eef2f0;
  display: flex;
  min-height: 300px;
  padding: 20px 14px;
}

.human-app-screen-body img {
  display: block;
  height: auto;
  width: 100%;
}

.human-app-screen-body-rich {
  align-content: center;
  display: grid;
  gap: 12px;
  padding: 16px;
}

.human-app-screen-body-rich > .human-app-documents {
  filter: saturate(.9);
}

.human-app-data-preview {
  background: #fff;
  border: 1px solid rgba(18, 54, 58, .12);
  border-radius: 12px;
  display: grid;
  gap: 10px;
  overflow: hidden;
  padding: 11px;
}

.human-app-data-preview > div {
  align-items: end;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.human-app-data-preview span {
  color: var(--theme-accent-deep);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.human-app-data-preview strong {
  color: var(--theme-text);
  font-size: 14px;
  line-height: 1.25;
  text-align: right;
}

.human-app-data-preview > img {
  border-radius: 7px;
  height: 108px;
  object-fit: cover;
  object-position: top;
  width: 100%;
}

.human-app-screen figcaption {
  align-items: center;
  background: #fff;
  border-top: 1px solid rgba(18, 54, 58, .12);
  display: flex;
  gap: 12px;
  padding: 17px 18px 18px;
}

.human-app-screen figcaption > span {
  align-items: center;
  background: var(--theme-highlight);
  border-radius: 50%;
  color: var(--theme-text);
  display: inline-flex;
  flex: 0 0 28px;
  font-size: 16px;
  font-weight: 900;
  height: 28px;
  justify-content: center;
}

.human-app-screen figcaption div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.human-app-screen figcaption strong {
  color: var(--theme-text);
  font-size: 15px;
  line-height: 1.25;
}

.human-app-screen figcaption small {
  color: var(--theme-muted);
  font-size: 14px;
  line-height: 1.35;
}

.human-app-copy {
  color: var(--theme-text);
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(38px, 4vw, 58px);
}

.human-app-copy h3 {
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.04;
  margin: 0 0 30px;
}

.human-app-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid color-mix(in srgb, var(--theme-accent) 24%, transparent);
}

.human-app-benefits > li {
  align-items: start;
  border-bottom: 1px solid color-mix(in srgb, var(--theme-accent) 24%, transparent);
  display: grid;
  gap: 15px;
  grid-template-columns: 34px 1fr;
  padding: 18px 0;
}

.human-app-benefits > li > span {
  align-items: center;
  background: var(--theme-accent-soft);
  border-radius: 50%;
  color: var(--theme-accent-deep);
  display: inline-flex;
  font-size: 14px;
  font-weight: 850;
  height: 32px;
  justify-content: center;
}

.human-app-benefits p {
  color: var(--theme-text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  margin: 4px 0 0;
}

.human-app-contact {
  align-items: center;
  align-self: flex-start;
  background: var(--theme-text);
  border: 2px solid var(--theme-text);
  border-radius: 999px;
  color: var(--theme-surface);
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  gap: 24px;
  line-height: 1.5;
  margin-top: 28px;
  min-height: 48px;
  padding: 12px 24px;
  text-decoration: none;
  transition: transform 160ms ease-out;
}

.human-app-contact:active { transform: scale(.97); }

@media (hover: hover) and (pointer: fine) {
  .human-app-contact:hover { background: var(--theme-surface); color: var(--theme-text); }
}
@media (prefers-reduced-motion: reduce) {
  .human-app-contact { transition: none; }
  .human-app-contact:active { transform: none; }
}

@media (max-width: 980px) {
  .human-app-heading,
  .human-app-component {
    grid-template-columns: 1fr;
  }

  .human-app-heading {
    gap: 24px;
  }

  .human-app-heading > p {
    max-width: 680px;
  }

  .human-app-visual {
    min-height: 540px;
  }

  .human-app-copy { min-height: 0; }
}

@media (max-width: 620px) {
  .human-app-heading h2 {
    font-size: 38px;
  }

  .human-app-component {
    border-radius: 20px;
  }

  .human-app-visual {
    display: block;
    min-height: 620px;
  }

  .human-app-visual-rich { min-height: 790px; }

  .human-app-person {
    height: 410px;
  }

  .human-app-visual-rich .human-app-person { height: 470px; }

  .human-app-person figcaption {
    bottom: 92px;
  }

  .human-app-visual-rich .human-app-person figcaption { bottom: 210px; }

  .human-app-screen {
    bottom: 18px;
    left: 18px;
    margin: 0;
    position: absolute;
    right: 18px;
  }

  .human-app-screen-body {
    min-height: 0;
    padding: 12px 10px;
  }

  .human-app-screen-body-rich { gap: 10px; }

  .human-app-data-preview > img { height: 86px; }

  .human-app-screen figcaption {
    padding: 14px;
  }

  .human-app-screen figcaption small {
    display: none;
  }

  .human-app-copy {
    min-height: 0;
    padding: 32px 22px 24px;
  }

  .human-app-copy h3 {
    margin-bottom: 24px;
  }

}

/* The start-company FAQ follows an editorial section, so it owns the gap above. */
body[data-page="zakladam"] .faq-section.faq-compact {
  padding-top: var(--home-section-space);
}
