/* hero + value + why + process — owned by agent HERO */

/* =====================================================================
   HERO — copy left, live-label jar plate right
   ===================================================================== */
.hero { position: sticky; top: var(--hero-top, 0px); z-index: 0; background: var(--oat); padding: clamp(84px, 10vh, 104px) 0 clamp(16px, 3vh, 28px); }
/* the hero stays put and the rest of the page slides over it like a sheet
   (--hero-top < 0 when the hero is taller than the window: it pins once its bottom is reached) */
:where(main > .hero ~ section) { position: relative; z-index: 1; background-color: var(--oat); }
main > .hero + section { box-shadow: 0 -28px 60px -34px rgba(28, 20, 17, .45); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 12fr); gap: clamp(28px, 4vw, 72px); min-height: min(calc(100svh - 112px), 900px); }
.hero__copy { display: flex; flex-direction: column; justify-content: center; padding: 8px 0 4px; }
.hero__eyebrow { display: flex; align-items: center; gap: 12px; color: var(--brick); }
.hero__eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero__title { font-size: clamp(44px, 5.4vw, 84px); line-height: .9; margin: clamp(16px, 2.2vh, 24px) 0 clamp(18px, 2.6vh, 28px); color: var(--ink); }
.hero__title em { font-style: normal; color: var(--brick); }
.hero__title .hl-line { padding: .2em .06em .08em 0; margin: -.2em -.06em -.08em 0; }
.hero__sub { max-width: 32em; color: var(--ink-soft); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 3.4vh, 36px); }
.hero__ctas .btn--line { box-shadow: inset 0 0 0 1px rgba(28, 20, 17, .35); }
.hero__ctas .btn--line:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.hero__trust {
  list-style: none; margin: clamp(28px, 5vh, 56px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 18px;
}
.hero__trust li { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 500; line-height: 1.3; color: var(--ink); }
.hero__trust .ico-box { width: 34px; height: 34px; }

/* the photo stage */
.hero__stage { position: relative; display: flex; flex-direction: column; min-height: 440px; }
.hero__frame { position: relative; flex: 1; border-radius: var(--radius); overflow: hidden; background: #9C3420; isolation: isolate; }
.hero__frame canvas, .hero__leads { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__motes, .hero__leads, .hero__notes { pointer-events: none; }
.hero__motes { z-index: 1; mix-blend-mode: screen; }
.hero__jar { z-index: 2; }
.hero__leads { z-index: 3; overflow: visible; }
.hero__leads path { fill: none; stroke: var(--cream); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero__leads circle { fill: var(--cream); }
.hero__leads circle.ring { fill: none; stroke: var(--cream); stroke-width: 1; }
.hero__notes { position: absolute; inset: 0; z-index: 4; }
.hero__note {
  position: absolute; left: 0; top: 0; display: flex; align-items: baseline; gap: 8px; white-space: nowrap;
  font: 600 12px/1.2 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--cream);
  text-shadow: 0 1px 12px rgba(75, 14, 9, .55); will-change: transform;
}
.hero__note.is-wrap { white-space: normal; }
.hero__note b { font-weight: 700; font-size: 10px; letter-spacing: .1em; color: var(--gold); }
.hero__note.is-left { flex-direction: row-reverse; text-align: right; }
.hero__deadline {
  position: absolute; z-index: 5; top: 16px; left: 16px; background: var(--cream); color: var(--ink);
  box-shadow: 0 10px 30px -12px rgba(75, 14, 9, .5); padding: 9px 14px 9px 14px; gap: 9px;
}
.hero__deadline b { font-weight: 700; }
.hero__days { color: var(--ink-soft); }

/* try-it field, floating over the bottom of the plate */
.hero__try {
  position: absolute; z-index: 6; left: 16px; bottom: 16px; width: min(400px, calc(100% - 32px));
  padding: 14px 16px 12px 20px; border-radius: 14px; background: var(--paper); color: var(--ink);
  box-shadow: 0 24px 50px -24px rgba(75, 14, 9, .65), 0 0 0 1px rgba(28, 20, 17, .06);
}
.hero__try-k { display: block; font: 600 11px/1 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--brick); }
.hero__try-row { display: flex; align-items: center; gap: 10px; border-bottom: 1.5px solid rgba(28, 20, 17, .22); transition: border-color .4s var(--ease); }
.hero__try:focus-within .hero__try-row { border-color: var(--ink); }
.hero__try input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink);
  font: 600 22px/1 var(--font); padding: 10px 0 9px; letter-spacing: -.01em;
}
.hero__try input::placeholder { color: rgba(28, 20, 17, .38); font-weight: 500; }
.hero__try-go {
  display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; text-decoration: none;
  background: var(--ink); color: var(--cream); font-size: 15px; transition: background .4s var(--ease), transform .5s var(--ease);
}
.hero__try-go:hover { background: var(--brick); transform: translateX(3px); }
.hero__try-hint { display: block; margin-top: 8px; font-size: 12px; color: var(--ink-mute); }

/* JS-only initial state: hidden until the intro runs (core adds .is-ready after sections init) */
.js:not(.reduced):not(.is-ready) .hero [data-hero-in],
.js:not(.reduced):not(.is-ready) .hero__title,
.js:not(.reduced):not(.is-ready) .hero__stage { visibility: hidden; }

/* =====================================================================
   VALUE STRIP
   ===================================================================== */
.val { background: var(--brick); color: var(--cream); }
.val__list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.val__item { display: flex; align-items: center; gap: 18px; padding: clamp(26px, 3.4vw, 44px) clamp(14px, 2vw, 32px); border-left: 1px solid var(--line-light); }
.val__item:first-child { border-left: 0; padding-left: 0; }
.val__num { display: inline-flex; align-items: baseline; gap: .08em; font-size: clamp(54px, 5.6vw, 92px); line-height: .8; font-variant-numeric: tabular-nums; flex: none; }
.val__num small { font-size: .42em; letter-spacing: .01em; color: var(--gold); }
.val__num small:first-child { margin-right: .08em; }
.val__txt { font-size: 14px; line-height: 1.4; color: rgba(246, 238, 226, .82); }

/* =====================================================================
   WHY (#proc)
   ===================================================================== */
.why { background: var(--paper); padding: clamp(96px, 11vw, 168px) 0 clamp(96px, 10vw, 150px); }
.why__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.why__head { position: sticky; top: 100px; }
.why__title { font-size: clamp(52px, 5.8vw, 92px); margin: 18px 0 22px; }
.why__lead { max-width: 30em; }
.why__photo { margin-top: clamp(28px, 4vw, 44px); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--oat-2); }
.why__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }

.why__list { list-style: none; margin: 0; padding: 0; counter-reset: why; }
.why__item {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.15fr); grid-template-rows: auto auto; column-gap: clamp(16px, 2.2vw, 32px);
  align-items: start; padding: clamp(22px, 2.6vw, 32px) 0; border-top: 1px solid var(--line); position: relative;
}
.why__item:last-child { border-bottom: 1px solid var(--line); }
.why__item .ico-box { grid-row: 1 / 3; width: 56px; height: 56px; }
.why__n { grid-column: 2; font: 600 11px/1 var(--font); letter-spacing: .2em; color: var(--brick); margin-bottom: 10px; }
.why__item h3 { grid-column: 2; grid-row: 2; font-size: clamp(20px, 1.8vw, 26px); }
.why__item p { grid-column: 3; grid-row: 1 / 3; align-self: end; color: var(--ink-soft); font-size: 16px; line-height: 1.5; }
.why__item::after { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--brick); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.why__item:hover::after { transform: scaleX(1); }

/* comparison */
.cmp { margin-top: clamp(90px, 10vw, 150px); }
.cmp__title { font-size: clamp(44px, 5.4vw, 84px); max-width: 12em; margin-bottom: clamp(28px, 3.6vw, 48px); }
.cmp__title span { color: var(--brick); }
.cmp__table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.cmp__table th, .cmp__table td { text-align: left; vertical-align: middle; padding: 18px clamp(16px, 2.2vw, 32px); border-top: 1px solid var(--line); }
.cmp__table thead th, .cmp__table thead td { border-top: 0; padding-top: 24px; padding-bottom: 20px; vertical-align: bottom; }
.cmp__table thead td { width: 22%; }
.cmp__table tbody th { padding-left: 0; font: 600 12px/1.3 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); }
.cmp__table thead th { font: 700 clamp(18px, 1.6vw, 22px)/1.2 var(--font); letter-spacing: -.01em; }
.cmp__table thead small { display: block; margin-top: 6px; font: 500 12px/1.3 var(--font); letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.cmp__old { color: var(--ink-mute); }
.cmp__table td.cmp__old { font: 400 clamp(17px, 1.5vw, 21px)/1.3 var(--font); }
.cmp__old s {
  text-decoration: none; padding: 0 2px; margin: 0 -2px;
  background: linear-gradient(rgba(146, 40, 26, .6), rgba(146, 40, 26, .6)) no-repeat 0 56% / calc(var(--strike, 1) * 100%) 1.5px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.cmp__new { background: var(--brick); color: var(--cream); }
.cmp__table td.cmp__new { font: 600 clamp(18px, 1.7vw, 24px)/1.25 var(--font); letter-spacing: -.01em; border-top-color: var(--line-light); }
.cmp__table thead .cmp__new { border-radius: var(--radius) var(--radius) 0 0; }
.cmp__table tbody tr:last-child .cmp__new { border-radius: 0 0 var(--radius) var(--radius); }
.cmp__table tbody tr { transition: background .4s var(--ease); }
.cmp__table tbody tr:hover th, .cmp__table tbody tr:hover .cmp__old { color: var(--ink); }
.cmp__foot { display: flex; align-items: center; justify-content: flex-end; gap: 24px; flex-wrap: wrap; margin-top: 28px; }
.cmp__foot p { color: var(--ink-soft); }

/* =====================================================================
   PROCESS + DEADLINE
   ===================================================================== */
.how { background: var(--oat); padding: clamp(96px, 11vw, 168px) 0 clamp(80px, 9vw, 140px); }
.how__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 90px); align-items: end; }
.how__title { font-size: clamp(56px, 6.4vw, 104px); margin-top: 18px; }
.how__lead { margin-top: 24px; max-width: 28em; }
.how__lead b { color: var(--ink); font-weight: 600; }
.how__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; background: var(--oat-2); }
.how__photo img { width: 100%; height: 100%; object-fit: cover; }
.how__steps { list-style: none; margin: clamp(48px, 6vw, 84px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); }
.how__step { position: relative; padding-top: 22px; border-top: 1px solid var(--line); }
.how__step::before { content: ""; position: absolute; left: 0; top: -1px; width: 32px; height: 2px; background: var(--brick); }
.how__step .ico-box { width: 60px; height: 60px; margin-bottom: 22px; }
.how__n { display: block; font: 600 11px/1 var(--font); letter-spacing: .2em; color: var(--brick); margin-bottom: 10px; }
.how__step h3 { margin-bottom: 8px; }
.how__step p { color: var(--ink-soft); font-size: 15px; }

.dl {
  margin-top: clamp(56px, 7vw, 100px); border-radius: var(--radius); background: var(--brick); color: var(--cream);
  padding: clamp(28px, 3.6vw, 52px); display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: clamp(24px, 4vw, 64px);
  position: relative; overflow: hidden; isolation: isolate;
}
.dl::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 140% at 100% 0%, rgba(240, 68, 77, .22), transparent 55%); }
.dl__k { font: 600 12px/1.4 var(--font); letter-spacing: .18em; text-transform: uppercase; color: rgba(246, 238, 226, .78); max-width: 22em; }
.dl__big { font-size: clamp(88px, 11vw, 176px); line-height: .78; margin-top: 16px; }
.dl__cd { display: flex; gap: clamp(14px, 2.4vw, 36px); justify-content: center; padding-bottom: 8px; }
.dl__cd > span { display: flex; flex-direction: column; gap: 8px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(246, 238, 226, .7); }
.dl__cd b { position: relative; display: block; overflow: hidden; height: 1em; width: 1.12em; font: 800 clamp(40px, 4.4vw, 64px)/1 var(--font); font-stretch: 62%; color: var(--cream); font-variant-numeric: tabular-nums; }
.dl__cd b span { position: absolute; left: 0; top: 0; }
.dl__ctas { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; padding-bottom: 8px; }
.dl__link { font-size: 14px; color: rgba(246, 238, 226, .82); text-underline-offset: 4px; }
.dl__link:hover { color: var(--cream); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1180px) {
  .hero__note { font-size: 11px; letter-spacing: .12em; }
  .hero__note b { display: none; }
  .hero__trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
  .hero__trust li { flex-direction: row; align-items: center; }
  .hero__trust .ico-box { width: 30px; height: 30px; }
  .why__item { grid-template-columns: 56px minmax(0, 1fr); }
  .why__item p { grid-column: 2; grid-row: 3; margin-top: 6px; }
  .val__item { flex-direction: column; align-items: flex-start; gap: 12px; }
  .dl { grid-template-columns: 1fr auto; }
  .dl__ctas { grid-column: 1 / -1; flex-direction: row; align-items: center; }
}
@media (max-width: 900px) {
  .hero { padding-top: 84px; }
  .hero__grid { display: flex; flex-direction: column; gap: 0; min-height: 0; }
  .hero__copy { display: contents; }
  .hero__eyebrow { order: 1; }
  .hero__title { order: 2; max-width: none; }
  .hero__sub { order: 3; }
  .hero__ctas { order: 4; margin-bottom: 28px; }
  .hero__stage { order: 5; min-height: 0; }
  .hero__frame { flex: none; aspect-ratio: 4 / 4.3; }
  .hero__try { position: relative; left: auto; bottom: auto; width: auto; margin: -28px 12px 0; }
  .hero__trust { order: 6; margin-top: 28px; }
  .val__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .val__item { padding-left: 0; padding-right: 12px; border-left: 0; border-top: 1px solid var(--line-light); }
  .val__item:nth-child(-n+2) { border-top: 0; }
  .why__grid { grid-template-columns: 1fr; }
  .why__head { position: static; }
  .how__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .how__head { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero__title { font-size: clamp(36px, 11.4vw, 60px); }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__note { font-size: 10px; letter-spacing: .12em; }
  .hero__note b { display: none; }
  .hero__deadline { top: 12px; left: 12px; font-size: 12px; padding: 7px 11px; }
  .hero__try input { font-size: 20px; }
  .why__photo { aspect-ratio: 4 / 3.6; }
  .cmp__table, .cmp__table tbody, .cmp__table tr, .cmp__table th, .cmp__table td { display: block; width: auto; }
  .cmp__table thead { display: none; }
  .cmp__table tbody tr { padding: 16px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
  .cmp__table tbody th { grid-column: 1 / -1; padding: 0; border: 0; }
  .cmp__table td { border: 0; padding: 0; }
  .cmp__table td.cmp__new { padding: 10px 12px; border-radius: 10px !important; align-self: start; }
  .cmp__table td.cmp__old { padding: 10px 0; }
  .cmp__table td::before { content: attr(data-k); display: block; font: 600 10px/1.2 var(--font); letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: 4px; }
  .cmp__table tbody tr:not(:first-child) td::before { display: none; }
  .cmp__foot { justify-content: stretch; }
  .cmp__foot .btn { width: 100%; }
  .how__steps { grid-template-columns: 1fr; }
  .dl { grid-template-columns: 1fr; }
  .dl__cd { justify-content: flex-start; }
  .dl__ctas { flex-direction: column; align-items: stretch; }
  .dl__ctas .btn { width: 100%; }
  .dl__link { text-align: center; }
}

/* =====================================================================
   HERO guide link + VOICE OF EMPLOYEES (#proc, Up Barometr 2026)
   ===================================================================== */
.hero__guide { display: inline-flex; align-items: baseline; gap: 6px; margin-top: 16px; padding: 4px 0; border: 0; background: none; font-size: 14.5px; color: var(--ink-soft); text-align: left; }
.hero__guide b { font-weight: 600; color: var(--ink); background: linear-gradient(var(--brick), var(--brick)) no-repeat 0 100% / 100% 1.5px; padding-bottom: 2px; transition: background-size .5s var(--ease); }
.hero__guide span { color: var(--brick); transition: transform .5s var(--ease); display: inline-block; }
.hero__guide:hover b { background-size: 0 1.5px; background-position: 100% 100%; }
.hero__guide:hover span { transform: translateX(4px); }

.voc { margin: clamp(90px, 10vw, 150px) 0 0; padding: clamp(32px, 4vw, 56px); border-radius: var(--radius); background: var(--ink); color: var(--cream); }
.voc .t-eyebrow { color: var(--gold); }
.voc__t { margin-top: 16px; font-size: clamp(40px, 4.6vw, 72px); max-width: 13em; }
.voc__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); margin: clamp(32px, 4vw, 52px) 0 0; padding: 0; list-style: none; }
.voc__stats li { padding-top: 18px; border-top: 1px solid rgba(246, 238, 226, .24); }
.voc__n { display: block; font: 800 clamp(56px, 5.4vw, 88px)/.86 var(--font); font-stretch: 62%; color: var(--cream); font-variant-numeric: tabular-nums; white-space: nowrap; }
.voc__stats li:first-child .voc__n { color: var(--gold); }
.voc__stats span { display: block; margin-top: 14px; font-size: 15px; line-height: 1.45; color: rgba(246, 238, 226, .78); }
.voc__src { margin-top: clamp(26px, 3vw, 40px); font-size: 12.5px; color: rgba(246, 238, 226, .55); }
.voc__src a { color: rgba(246, 238, 226, .8); text-underline-offset: 3px; }
.voc__src a:hover { color: var(--cream); }
.voc + .cmp { margin-top: clamp(80px, 9vw, 130px); }
@media (max-width: 900px) {
  .voc__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .voc { padding: 26px 20px; margin-left: calc(var(--pad) * -.25); margin-right: calc(var(--pad) * -.25); }
  .voc__stats { gap: 22px 16px; }
  .voc__n { font-size: 52px; }
  .voc__stats span { font-size: 13.5px; }
}
