/*
 * Recenzia marketing art direction — narrative product scenes.
 *
 * This layer deliberately replaces the repeated "icon + heading + paragraph"
 * pattern on high-visibility landing sections. It loads after marketing-v7.css
 * and stays namespaced so legacy page layouts remain stable.
 */

:root {
  --rz-art-ink: #0f1a2e;
  --rz-art-paper: #f7f3ea;
  --rz-art-cream: #fffaf0;
  --rz-art-green: #287a52;
  --rz-art-mint: #dcefe3;
  --rz-art-amber: #ffc23c;
  --rz-art-orange: #f28b32;
  --rz-art-blue: #2868d8;
  --rz-art-line: rgba(15, 26, 46, 0.12);
  --rz-art-shadow: 0 28px 70px -38px rgba(15, 26, 46, 0.45);
}

/* ========================================================================== */
/* STORY SCENE — contextual visual, never a generic feature icon             */
/* ========================================================================== */

.rz-story-scene {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: 24px;
  color: var(--rz-art-ink);
  background: var(--rz-art-paper);
  isolation: isolate;
}

.rz-story-scene__field {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.55;
  background-image: radial-gradient(circle at 1px 1px, rgba(15, 26, 46, 0.13) 1px, transparent 0);
  background-size: 19px 19px;
  mask-image: linear-gradient(135deg, #000, transparent 82%);
}

.rz-story-scene__media {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border-radius: 18px;
  box-shadow: 0 22px 45px -28px rgba(15, 26, 46, 0.65);
}

.rz-story-scene__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rz-story-scene__media > span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 26, 46, 0.78);
  backdrop-filter: blur(8px);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

/* E-commerce: a real product image and the review travelling to the PDP. */
.rz-story-scene--ecommerce {
  background: #e9edf1;
}

.rz-story-scene--ecommerce .rz-story-scene__media--product {
  top: 22px;
  left: 24px;
  width: 44%;
  height: calc(100% - 44px);
  transform: rotate(-1.2deg);
}

.rz-story-scene__review-paper {
  position: absolute;
  top: 39px;
  right: 22px;
  width: 52%;
  padding: 18px;
  border: 1px solid rgba(15, 26, 46, 0.1);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--rz-art-shadow);
  transform: rotate(1.7deg);
}

.rz-story-scene__route {
  display: block;
  margin-bottom: 24px;
  color: #687080;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.rz-story-scene__route b { color: var(--rz-art-orange); }
.rz-story-scene__stars,
.rz-story-scene__reply { color: #efa51d; letter-spacing: 0.04em; }
.rz-story-scene__review-paper strong,
.rz-story-scene__review-paper small { display: block; }
.rz-story-scene__review-paper strong { margin: 7px 0 14px; font-size: 15px; line-height: 1.35; }
.rz-story-scene__review-paper small { color: #747b88; font-size: 9px; }

.rz-story-scene__status {
  position: absolute;
  right: 30px;
  bottom: 22px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #1b6842;
  background: #dff2e6;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

/* Restaurant: table moment, receipt and usable QR request. */
.rz-story-scene--restaurant {
  background: #f2dfc4;
}

.rz-story-scene--restaurant .rz-story-scene__media--meal {
  inset: 18px auto 18px 18px;
  width: 56%;
}

.rz-story-scene__receipt {
  position: absolute;
  top: 25px;
  right: 22px;
  width: 39%;
  min-height: 190px;
  display: grid;
  justify-items: center;
  align-content: start;
  padding: 16px 14px 19px;
  color: var(--rz-art-ink);
  background: #fffdf7;
  box-shadow: 0 25px 48px -30px rgba(15, 26, 46, 0.7);
  transform: rotate(2.2deg);
  clip-path: polygon(0 0, 100% 0, 100% 96%, 95% 100%, 90% 96%, 85% 100%, 80% 96%, 75% 100%, 70% 96%, 65% 100%, 60% 96%, 55% 100%, 50% 96%, 45% 100%, 40% 96%, 35% 100%, 30% 96%, 25% 100%, 20% 96%, 15% 100%, 10% 96%, 5% 100%, 0 96%);
}

.rz-story-scene__receipt > span { font-size: 8px; font-weight: 800; letter-spacing: 0.17em; }
.rz-story-scene__receipt > strong { margin: 8px 0 11px; font-size: 13px; text-align: center; }
.rz-story-scene__receipt svg { width: 67px; height: 67px; }
.rz-story-scene__receipt small { margin-top: 7px; color: #777; font-size: 8px; }

.rz-story-scene__rating {
  position: absolute;
  left: 34px;
  bottom: 29px;
  padding: 8px 11px;
  border-radius: 12px;
  color: #fff;
  background: rgba(15, 26, 46, 0.82);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 800;
}

.rz-story-scene__rating b { margin-left: 5px; color: var(--rz-art-amber); font-size: 9px; letter-spacing: 0.02em; }

/* Salon: a tactile product photo plus the actual post-visit conversation. */
.rz-story-scene--salon { background: #e9e2dd; }
.rz-story-scene--salon .rz-story-scene__media--beauty {
  top: 17px;
  right: 17px;
  width: 51%;
  height: calc(100% - 34px);
}

.rz-story-scene__phone {
  position: absolute;
  top: 30px;
  left: 22px;
  width: 50%;
  min-height: 190px;
  padding: 15px;
  border: 6px solid var(--rz-art-ink);
  border-radius: 24px;
  background: #f8f5f1;
  box-shadow: var(--rz-art-shadow);
  transform: rotate(-2deg);
}

.rz-story-scene__phone-time { display: block; margin-bottom: 16px; font-size: 8px; font-weight: 800; text-align: center; }
.rz-story-scene__message {
  display: block;
  padding: 11px;
  border-radius: 12px 12px 12px 3px;
  background: #e2e6eb;
  font-size: 9px;
  line-height: 1.45;
}
.rz-story-scene__reply {
  display: block;
  width: max-content;
  margin: 10px 0 0 auto;
  padding: 8px 9px;
  border-radius: 12px 12px 3px 12px;
  background: #daf1df;
  font-size: 10px;
}

.rz-story-scene__staff {
  position: absolute;
  right: 26px;
  bottom: 25px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--rz-art-ink);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

/* Services: work order, before/after evidence and the resulting review. */
.rz-story-scene--services { background: #d9e3df; }
.rz-story-scene__work-order {
  position: absolute;
  inset: 20px auto 20px 21px;
  width: 49%;
  padding: 18px;
  border: 1px solid rgba(15, 26, 46, 0.13);
  border-radius: 4px;
  background: #fffdf7;
  box-shadow: 0 24px 45px -32px rgba(15, 26, 46, 0.7);
  transform: rotate(-1.6deg);
}
.rz-story-scene__doc-id { display: block; color: #687080; font-size: 8px; font-weight: 800; letter-spacing: 0.13em; }
.rz-story-scene__work-order strong { display: block; margin: 17px 0 20px; font-size: 15px; }
.rz-story-scene__doc-line { display: block; width: 70%; height: 5px; margin: 8px 0; border-radius: 99px; background: #e5e7e8; }
.rz-story-scene__doc-line--long { width: 94%; }
.rz-story-scene__doc-line--short { width: 51%; }
.rz-story-scene__doc-qr { position: absolute; left: 18px; bottom: 17px; padding: 6px 8px; border: 1px solid var(--rz-art-ink); font-size: 7px; font-weight: 800; letter-spacing: 0.08em; }

.rz-story-scene__before-after {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 43%;
  height: 93px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 5px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--rz-art-shadow);
  transform: rotate(1.5deg);
}
.rz-story-scene__before-after span { position: relative; border-radius: 11px; background: linear-gradient(135deg, #756f67, #c2b8aa); }
.rz-story-scene__before-after span + span { background: linear-gradient(135deg, #f2b24b, #f7e4b8); }
.rz-story-scene__before-after i { position: absolute; left: 6px; bottom: 6px; color: #fff; font-size: 7px; font-style: normal; font-weight: 800; letter-spacing: 0.1em; }

.rz-story-scene__service-review {
  position: absolute;
  right: 18px;
  bottom: 21px;
  width: 46%;
  padding: 13px;
  border-radius: 15px;
  background: var(--rz-art-ink);
  box-shadow: var(--rz-art-shadow);
}
.rz-story-scene__service-review span { color: var(--rz-art-amber); font-size: 9px; }
.rz-story-scene__service-review strong,
.rz-story-scene__service-review small { display: block; }
.rz-story-scene__service-review strong { margin: 6px 0 8px; color: #fff; font-size: 11px; }
.rz-story-scene__service-review small { color: #abb3c0; font-size: 8px; }

/* Healthcare: consent and audit trail are the graphic, not a medical cross. */
.rz-story-scene--medical { color: #fff; background: #132839; }
.rz-story-scene--medical .rz-story-scene__field { opacity: 0.22; background-image: linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px); background-size: 22px 22px; }
.rz-story-scene__privacy-card {
  position: absolute;
  inset: 22px auto 22px 22px;
  width: 58%;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 19px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(9px);
}
.rz-story-scene__privacy-kicker { display: block; color: #a7c1b2; font-size: 8px; font-weight: 800; letter-spacing: 0.13em; }
.rz-story-scene__privacy-card strong { display: block; max-width: 230px; margin: 20px 0; color: #fff; font-size: 16px; line-height: 1.35; }
.rz-story-scene__redacted { display: grid; gap: 7px; }
.rz-story-scene__redacted i { width: 88%; height: 5px; border-radius: 99px; background: rgba(255,255,255,0.16); }
.rz-story-scene__redacted i:nth-child(2) { width: 65%; }
.rz-story-scene__redacted i:nth-child(3) { width: 48%; }
.rz-story-scene__consent { position: absolute; left: 20px; bottom: 18px; color: #b8d5c3; font-size: 8px; font-weight: 700; }
.rz-story-scene__consent b { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 5px; border-radius: 50%; color: #132839; background: #87d3a5; }

.rz-story-scene__audit {
  position: absolute;
  top: 35px;
  right: 18px;
  width: 35%;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 8px;
  align-items: center;
}
.rz-story-scene__audit span { color: #7f9caf; font: 700 7px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; }
.rz-story-scene__audit strong { position: relative; color: #dbe7ee; font-size: 8px; line-height: 1.3; }
.rz-story-scene__audit strong::before { content: ""; position: absolute; left: -13px; top: 2px; width: 5px; height: 5px; border-radius: 50%; background: #87d3a5; box-shadow: 0 0 0 4px rgba(135,211,165,0.08); }
.rz-story-scene__compliance { position: absolute; right: 19px; bottom: 21px; padding: 6px 8px; border: 1px solid rgba(255,255,255,0.16); border-radius: 999px; color: #a7c1b2; font-size: 7px; font-weight: 800; letter-spacing: 0.1em; }

.rz-story-scene--compact { min-height: 154px; border-radius: 18px; }
.rz-story-scene--compact .rz-story-scene__media { border-radius: 13px; }
.rz-story-scene--compact .rz-story-scene__review-paper { top: 23px; padding: 12px; }
.rz-story-scene--compact .rz-story-scene__route { margin-bottom: 9px; }
.rz-story-scene--compact .rz-story-scene__review-paper strong { margin: 4px 0 7px; font-size: 11px; }
.rz-story-scene--compact .rz-story-scene__status { bottom: 12px; }
.rz-story-scene--compact .rz-story-scene__receipt { top: 12px; min-height: 128px; padding: 10px; }
.rz-story-scene--compact .rz-story-scene__receipt svg { width: 44px; height: 44px; }
.rz-story-scene--compact .rz-story-scene__phone { top: 15px; min-height: 125px; padding: 9px; border-width: 4px; border-radius: 16px; }
.rz-story-scene--compact .rz-story-scene__phone-time { margin-bottom: 7px; }
.rz-story-scene--compact .rz-story-scene__message { padding: 7px; font-size: 7px; }
.rz-story-scene--compact .rz-story-scene__reply { margin-top: 5px; padding: 5px; font-size: 7px; }
.rz-story-scene--compact .rz-story-scene__staff { bottom: 12px; }
.rz-story-scene--compact .rz-story-scene__work-order { inset: 11px auto 11px 12px; padding: 11px; }
.rz-story-scene--compact .rz-story-scene__work-order strong { margin: 8px 0; font-size: 10px; }
.rz-story-scene--compact .rz-story-scene__doc-line { margin: 5px 0; height: 3px; }
.rz-story-scene--compact .rz-story-scene__doc-qr { left: 11px; bottom: 9px; font-size: 5px; }
.rz-story-scene--compact .rz-story-scene__before-after { top: 12px; right: 11px; height: 58px; }
.rz-story-scene--compact .rz-story-scene__service-review { right: 10px; bottom: 11px; padding: 8px; }
.rz-story-scene--compact .rz-story-scene__privacy-card { inset: 12px auto 12px 12px; padding: 12px; }
.rz-story-scene--compact .rz-story-scene__privacy-card strong { margin: 9px 0; font-size: 11px; }
.rz-story-scene--compact .rz-story-scene__consent { left: 12px; bottom: 9px; font-size: 6px; }
.rz-story-scene--compact .rz-story-scene__audit { top: 20px; right: 9px; gap: 8px 5px; }
.rz-story-scene--compact .rz-story-scene__compliance { right: 10px; bottom: 10px; }

/* ========================================================================== */
/* /PRO-KOHO — visual portfolio, not a matrix of icon tiles                  */
/* ========================================================================== */

.rz-pro-koho .hero--compact {
  position: relative;
  padding: 72px 0 58px;
  overflow: hidden;
}

.rz-pro-koho .hero--compact::after {
  content: "01 — 05";
  position: absolute;
  right: clamp(24px, 6vw, 100px);
  bottom: 5px;
  color: rgba(15, 26, 46, 0.045);
  font-family: "Sora", sans-serif;
  font-size: clamp(76px, 13vw, 190px);
  font-weight: 800;
  letter-spacing: -0.09em;
  pointer-events: none;
}

.rz-pro-koho .pro-koho-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 0;
}

.rz-pro-koho .pro-koho-card,
.rz-pro-koho .pro-koho-card--featured {
  display: grid;
  gap: 0;
  padding: 0;
  border: 1px solid var(--rz-art-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}

.rz-pro-koho .pro-koho-card--featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(300px, 0.88fr) minmax(440px, 1.42fr);
  min-height: 354px;
}

.rz-pro-koho .pro-koho-card::after { display: none; }
.rz-pro-koho .pro-koho-card:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 26, 46, 0.28);
  box-shadow: 0 32px 65px -46px rgba(15, 26, 46, 0.7);
}

.rz-pro-koho .pro-koho-card__scene { padding: 10px; background: #f4f1ea; }
.rz-pro-koho .pro-koho-card--featured .pro-koho-card__scene { grid-column: 2; grid-row: 1; padding: 14px; }
.rz-pro-koho .pro-koho-card--featured .rz-story-scene { min-height: 326px; }

.rz-pro-koho .pro-koho-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 27px 28px 29px;
}

.rz-pro-koho .pro-koho-card--featured .pro-koho-card__body {
  grid-column: 1;
  grid-row: 1;
  justify-content: center;
  padding: 44px;
}

.rz-pro-koho .pro-koho-card__topline { margin-bottom: 28px; }
.rz-pro-koho .pro-koho-card__index { color: var(--rz-art-green); }
.rz-pro-koho .pro-koho-card__signal { display: inline-flex; align-items: center; gap: 7px; color: #6c7480; font-size: 9px; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
.rz-pro-koho .pro-koho-card__signal::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rz-art-amber); box-shadow: 0 0 0 4px rgba(255,194,60,0.15); }
.rz-pro-koho .pro-koho-card__label { font-size: clamp(23px, 2.5vw, 36px); letter-spacing: -0.035em; }
.rz-pro-koho .pro-koho-card__tagline { max-width: 530px; margin-top: 12px; font-size: 15px; }
.rz-pro-koho .pro-koho-card__cta { padding-top: 24px; }

/* ========================================================================== */
/* /ZAKAZNICI — scenario dossier                                             */
/* ========================================================================== */

.rz-customers .customer-lab {
  padding: 18px;
  border-radius: 30px;
  transform: rotate(0.7deg);
}

.rz-customers .customer-lab::after { content: "90"; font-size: 98px; bottom: -18px; }
.rz-customers .customer-lab__topline { padding: 5px 7px 0; margin-bottom: 13px; }
.rz-customers .customer-lab__scene { position: relative; z-index: 1; }
.rz-customers .customer-lab__scene .rz-story-scene { min-height: 318px; border: 1px solid rgba(255,255,255,0.1); }
.rz-customers .customer-lab__timeline {
  position: absolute;
  left: 33px;
  right: 33px;
  bottom: 34px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 11px 13px 9px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  color: #fff;
  background: rgba(15, 26, 46, 0.82);
  backdrop-filter: blur(10px);
}
.rz-customers .customer-lab__timeline::before { content: ""; position: absolute; left: 4%; right: 4%; top: 17px; height: 1px; background: rgba(255,255,255,0.28); }
.rz-customers .customer-lab__timeline span { position: relative; display: grid; gap: 8px; font-size: 8px; font-weight: 800; letter-spacing: 0.08em; }
.rz-customers .customer-lab__timeline span::before { content: ""; width: 11px; height: 11px; border: 3px solid var(--rz-art-ink); border-radius: 50%; background: var(--rz-art-amber); box-shadow: 0 0 0 1px rgba(255,255,255,0.3); }
.rz-customers .customer-lab__timeline span:not(:first-child) { justify-items: center; }
.rz-customers .customer-lab__timeline span:last-child { justify-items: end; }
.rz-customers .customer-lab > p { margin: 13px 7px 0; }

.rz-home.rz-customers .rz-customer-cases {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}
.rz-home.rz-customers .rz-customer-case {
  grid-column: span 6;
  gap: 18px;
  padding: 0 25px 26px;
  border-radius: 25px;
  box-shadow: none;
}
.rz-home.rz-customers .rz-customer-case:first-child { grid-column: span 7; }
.rz-home.rz-customers .rz-customer-case:nth-child(2) { grid-column: span 5; }
.rz-home.rz-customers .rz-customer-case:last-child:nth-child(odd) { grid-column: 4 / span 6; }
.rz-home.rz-customers .rz-customer-case::before { display: none; }
.rz-home.rz-customers .rz-customer-case__visual { margin: 0 -25px; padding: 9px; border-bottom: 1px solid var(--rz-art-line); background: #f3f0e9; }
.rz-home.rz-customers .rz-customer-case__head { padding-top: 4px; }
.rz-home.rz-customers .rz-customer-case__number {
  flex: 0 0 auto;
  color: rgba(15, 26, 46, 0.16);
  font-family: "Sora", sans-serif;
  font-size: 46px;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

/* ========================================================================== */
/* HOMEPAGE — application surfaces and editorial impact board                */
/* ========================================================================== */

.landing-home-template .rz-home .rz-cap-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.landing-home-template .rz-home .rz-cap-card {
  grid-column: span 6;
  min-height: 0;
  padding: 24px;
  border: 1px solid var(--rz-art-line);
  border-radius: 26px;
  background: #fff;
  box-shadow: none;
}

.landing-home-template .rz-home .rz-cap-card:nth-child(1),
.landing-home-template .rz-home .rz-cap-card:nth-child(4) { grid-column: span 5; }
.landing-home-template .rz-home .rz-cap-card:nth-child(2),
.landing-home-template .rz-home .rz-cap-card:nth-child(3) { grid-column: span 7; }

.landing-home-template .rz-home .rz-cap-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 26, 46, 0.25);
  box-shadow: 0 30px 55px -44px rgba(15, 26, 46, 0.7);
}

.landing-home-template .rz-home .rz-cap-card__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
}

.landing-home-template .rz-home .rz-cap-card__index {
  color: rgba(15, 26, 46, 0.17);
  font-family: "Sora", sans-serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.08em;
}

.landing-home-template .rz-home .rz-cap-card__title { font-size: 21px; }
.landing-home-template .rz-home .rz-cap-card__visual {
  position: relative;
  min-height: 205px;
  margin-bottom: 22px;
  overflow: hidden;
  border-radius: 19px;
  background: #eef0ed;
}

.landing-home-template .rz-home .rz-cap-card__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image: radial-gradient(circle at 1px 1px, rgba(15,26,46,0.14) 1px, transparent 0);
  background-size: 18px 18px;
  mask-image: linear-gradient(125deg, #000, transparent 80%);
}

.landing-home-template .rz-home .rz-cap-card__text { min-height: 0; font-size: 14px; }
.landing-home-template .rz-home .rz-cap-card__list { margin-top: 14px; }

.rz-cap-inbox,
.rz-cap-translation,
.rz-cap-moderation,
.rz-cap-widget {
  position: absolute;
  z-index: 1;
  inset: 18px;
  border: 1px solid rgba(15,26,46,0.1);
  border-radius: 17px;
  background: rgba(255,255,255,0.94);
  box-shadow: var(--rz-art-shadow);
}

.rz-cap-inbox { padding: 13px; transform: rotate(-0.7deg); }
.rz-cap-inbox__top,
.rz-cap-inbox__row { display: grid; align-items: center; }
.rz-cap-inbox__top { grid-template-columns: 1fr auto; padding: 0 3px 10px; border-bottom: 1px solid #e3e6e7; }
.rz-cap-inbox__top b { font-size: 11px; }
.rz-cap-inbox__top i { padding: 4px 7px; border-radius: 999px; color: #9b6512; background: #fff0c9; font-size: 7px; font-style: normal; font-weight: 800; }
.rz-cap-inbox__row { grid-template-columns: 27px 1fr auto; gap: 8px; min-height: 39px; border-bottom: 1px solid #eceeef; }
.rz-cap-inbox__row:last-child { border-bottom: 0; }
.rz-cap-inbox__row i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; color: #fff; background: var(--rz-art-green); font-size: 8px; font-style: normal; font-weight: 800; }
.rz-cap-inbox__row:nth-child(3) i { background: #3478df; }
.rz-cap-inbox__row:nth-child(4) i { background: #d94b45; }
.rz-cap-inbox__row b { font-size: 9px; }
.rz-cap-inbox__row em { color: #e9a126; font-size: 8px; font-style: normal; letter-spacing: -0.05em; }

.landing-home-template .rz-home .rz-cap-card__visual--translation { background: #e4ebf5; }
.rz-cap-translation { inset: 17px 24px; padding: 16px; transform: rotate(0.6deg); }
.rz-cap-translation__meta { display: flex; align-items: center; gap: 7px; }
.rz-cap-translation__meta b { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; color: #fff; background: var(--rz-art-blue); font-size: 8px; }
.rz-cap-translation__meta i { color: #6a7485; font-size: 8px; font-style: normal; font-weight: 700; }
.rz-cap-translation p { margin: 8px 0 0; color: var(--rz-art-ink); font-size: 10px; line-height: 1.4; }
.rz-cap-translation__rule { display: block; height: 1px; margin: 12px 0; background: #e0e3e8; }
.rz-cap-translation__meta:nth-of-type(2) b { color: var(--rz-art-ink); background: var(--rz-art-amber); }

.landing-home-template .rz-home .rz-cap-card__visual--moderation { background: #ebe8f0; }
.rz-cap-moderation { padding: 16px; background: var(--rz-art-ink); transform: rotate(-0.5deg); }
.rz-cap-moderation__review { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding-bottom: 13px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.rz-cap-moderation__review b { color: #fff; font-size: 10px; }
.rz-cap-moderation__review i { align-self: start; padding: 4px 7px; border-radius: 999px; color: #ffd779; background: rgba(255,194,60,0.12); font-size: 6px; font-style: normal; font-weight: 800; }
.rz-cap-moderation__signals { display: flex; flex-wrap: wrap; gap: 5px; margin: 15px 0; }
.rz-cap-moderation__signals i { padding: 5px 7px; border: 1px solid rgba(255,255,255,0.13); border-radius: 999px; color: #b9c0ce; font-size: 6px; font-style: normal; font-weight: 800; letter-spacing: 0.06em; }
.rz-cap-moderation__signals i:last-child { color: #ffd779; border-color: rgba(255,194,60,0.3); }
.rz-cap-moderation__draft { display: block; padding: 10px; border-radius: 10px; color: #c8d0dc; background: rgba(255,255,255,0.07); font-size: 8px; }
.rz-cap-moderation__draft b { float: right; color: var(--rz-art-amber); }

.landing-home-template .rz-home .rz-cap-card__visual--widget { background: #f1e5d8; }
.rz-cap-widget { inset: 14px; display: grid; grid-template-columns: 42% 1fr; gap: 0; overflow: hidden; }
.rz-cap-widget img { width: 100%; height: 100%; object-fit: cover; }
.rz-cap-widget > span { display: grid; align-content: center; gap: 9px; padding: 16px; }
.rz-cap-widget b { color: #e9a126; font-size: 9px; letter-spacing: 0.02em; }
.rz-cap-widget strong { font-size: 12px; }
.rz-cap-widget small { color: #777e88; font-size: 8px; }

/* Outcome cards use different compositions and tones so the page stops
   reading as another evenly distributed SaaS card grid. */
.landing-home-template .rz-impact-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.landing-home-template .rz-impact-card {
  position: relative;
  grid-column: span 6;
  min-height: 350px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 24px;
  padding: 31px;
  overflow: hidden;
  border: 1px solid var(--rz-art-line);
  border-radius: 28px;
  background: #fff;
}
.landing-home-template .rz-impact-card--sales,
.landing-home-template .rz-impact-card--workflow { grid-column: span 7; }
.landing-home-template .rz-impact-card--search,
.landing-home-template .rz-impact-card--trust { grid-column: span 5; }
.landing-home-template .rz-impact-card--workflow { color: #fff; background: var(--rz-art-ink); }
.landing-home-template .rz-impact-card--trust { background: #e4ede6; }
.landing-home-template .rz-impact-card--search { background: #e9eef7; }
.landing-home-template .rz-impact-card__copy { position: relative; z-index: 2; max-width: 540px; }
.landing-home-template .rz-impact-card__meta { display: flex; align-items: center; gap: 9px; margin-bottom: 15px; color: #69717d; font-size: 9px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.landing-home-template .rz-impact-card--workflow .rz-impact-card__meta { color: #aeb7c5; }
.landing-home-template .rz-impact-card__meta b { font-family: "Sora", sans-serif; font-size: 18px; letter-spacing: -0.06em; color: var(--rz-art-green); }
.landing-home-template .rz-impact-card--workflow .rz-impact-card__meta b { color: var(--rz-art-amber); }
.landing-home-template .rz-impact-card h3 { margin: 0 0 9px; font-size: clamp(24px, 3vw, 38px); letter-spacing: -0.04em; }
.landing-home-template .rz-impact-card p { margin: 0; color: #68707d; font-size: 14px; line-height: 1.6; }
.landing-home-template .rz-impact-card--workflow p { color: #b4bdca; }
.landing-home-template .rz-impact-card--workflow h3 { color: #fff; }

.rz-impact-product { position: relative; min-height: 164px; overflow: hidden; border-radius: 19px; background: #e5e8eb; }
.rz-impact-product img { position: absolute; inset: 0 auto 0 0; width: 48%; height: 100%; object-fit: cover; }
.rz-impact-product__rating { position: absolute; top: 22px; left: 44%; right: 18px; display: grid; grid-template-columns: auto 1fr; gap: 1px 8px; align-items: center; padding: 13px; border-radius: 14px; background: #fff; box-shadow: var(--rz-art-shadow); }
.rz-impact-product__rating b { grid-row: span 2; font-size: 23px; }
.rz-impact-product__rating i { color: #e8a326; font-size: 9px; font-style: normal; }
.rz-impact-product__rating small { color: #747c88; font-size: 8px; }
.rz-impact-product__choice { position: absolute; right: 18px; bottom: 17px; padding: 9px 14px; border-radius: 999px; color: var(--rz-art-ink); background: var(--rz-art-amber); font-size: 9px; font-weight: 800; }

.rz-impact-search { align-self: end; display: grid; gap: 11px; padding: 17px; border-radius: 18px; background: #fff; box-shadow: var(--rz-art-shadow); transform: rotate(-1deg); }
.rz-impact-search__query { padding: 9px 12px; border: 1px solid #dfe3e8; border-radius: 999px; color: #6f7783; font-size: 9px; }
.rz-impact-search__result { display: grid; gap: 5px; padding: 4px 4px 0; }
.rz-impact-search__result b { color: #2868d8; font-size: 11px; }
.rz-impact-search__result i { color: #e09a1d; font-size: 8px; font-style: normal; }
.rz-impact-search__result small { color: #5f7d64; font-size: 7px; }

.rz-impact-review { align-self: end; display: grid; grid-template-columns: 42% 1fr; min-height: 160px; overflow: hidden; border-radius: 19px; background: #fff; box-shadow: var(--rz-art-shadow); transform: rotate(1.3deg); }
.rz-impact-review img { width: 100%; height: 100%; object-fit: cover; }
.rz-impact-review span { display: grid; align-content: center; gap: 8px; padding: 16px; }
.rz-impact-review i { color: #e6a023; font-size: 9px; font-style: normal; }
.rz-impact-review strong { font-size: 12px; line-height: 1.4; }
.rz-impact-review small { color: #717a86; font-size: 8px; }

.rz-impact-queue { align-self: end; display: grid; overflow: hidden; border: 1px solid rgba(255,255,255,0.12); border-radius: 18px; background: rgba(255,255,255,0.055); }
.rz-impact-queue span { display: grid; grid-template-columns: 92px 1fr auto; gap: 10px; align-items: center; min-height: 48px; padding: 0 15px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.rz-impact-queue span:last-child { border-bottom: 0; }
.rz-impact-queue i { color: #8bd1a8; font-size: 7px; font-style: normal; font-weight: 800; letter-spacing: 0.05em; }
.rz-impact-queue b { color: #fff; font-size: 9px; }
.rz-impact-queue em { color: #98a3b3; font-size: 7px; font-style: normal; }

.landing-home-template .rz-home .features-grid--editorial {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--rz-art-line);
  border-bottom: 1px solid var(--rz-art-line);
}
.landing-home-template .rz-home .features-grid--editorial .feature {
  min-height: 335px;
  padding: 30px 30px 34px;
  border: 0;
  border-right: 1px solid var(--rz-art-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.landing-home-template .rz-home .features-grid--editorial .feature:last-child { border-right: 0; }
.landing-home-template .rz-home .features-grid--editorial .feature:hover { transform: none; box-shadow: none; }
.landing-home-template .rz-home .feature__number { display: block; margin-bottom: 54px; color: rgba(15,26,46,0.12); font-family: "Sora", sans-serif; font-size: 58px; font-weight: 800; line-height: 1; letter-spacing: -0.09em; }
.landing-home-template .rz-home .feature__signal { display: block; margin-bottom: 14px; color: var(--rz-art-green); font-size: 9px; font-weight: 800; letter-spacing: 0.13em; }
.landing-home-template .rz-home .features-grid--editorial .feature h3 { font-size: 20px; }

.landing-home-template .rz-home .assisted-launch__tag {
  flex: 0 0 auto;
  align-self: flex-start;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  color: var(--rz-art-amber);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

/* ========================================================================== */
/* CUSTOM SOURCES — product form + data sync instead of two generic icons    */
/* ========================================================================== */

.rz-home .integ-custom--sources {
  gap: 1px;
  padding: 1px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--rz-art-line);
  box-shadow: 0 26px 70px -58px rgba(15,26,46,0.64);
}

.rz-home .integ-custom--sources .integ-custom-card {
  display: grid;
  grid-template-columns: minmax(178px, 0.82fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-width: 0;
  min-height: 330px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.rz-home .integ-custom--sources .integ-custom-card:hover { box-shadow: none; transform: none; }

.rz-home .integ-custom-card__surface {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 20px;
}

.rz-home .integ-custom-card__surface--form { color: var(--rz-art-ink); background: #ebe9df; }
.rz-home .integ-custom-card__surface--data { color: #fff; background: var(--rz-art-ink); }
.rz-home .integ-custom-card__surface-head { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-bottom: 25px; }
.rz-home .integ-custom-card__surface-head b { font: 800 10px/1 "Sora", sans-serif; letter-spacing: 0.08em; }
.rz-home .integ-custom-card__surface-head i { padding: 5px 7px; border-radius: 999px; color: var(--rz-art-green); background: rgba(35,140,85,0.1); font-size: 6px; font-style: normal; font-weight: 800; letter-spacing: 0.08em; }
.rz-home .integ-custom-card__surface--data .integ-custom-card__surface-head i { color: var(--rz-art-amber); background: rgba(255,190,60,0.1); }

.rz-home .integ-custom-card__field {
  display: grid;
  gap: 7px;
  margin-bottom: 8px;
  padding: 12px;
  border: 1px solid rgba(15,26,46,0.09);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 30px -28px rgba(15,26,46,0.75);
}
.rz-home .integ-custom-card__field small { color: #707886; font-size: 7px; font-weight: 700; }
.rz-home .integ-custom-card__field b { color: #e6a027; font-size: 10px; letter-spacing: 0.08em; }
.rz-home .integ-custom-card__field--text i { display: block; width: 100%; height: 2px; border-radius: 999px; background: #e5e7e8; }
.rz-home .integ-custom-card__field--text i:last-child { width: 64%; }
.rz-home .integ-custom-card__submit { align-self: flex-end; margin-top: auto; padding: 8px 11px; border-radius: 9px; color: #fff; background: var(--rz-art-green); font-size: 7px; font-weight: 800; }

.rz-home .integ-custom-card__data-head,
.rz-home .integ-custom-card__data-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px 47px;
  gap: 7px;
  align-items: center;
  min-height: 35px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.rz-home .integ-custom-card__data-head b { color: #7f8b9b; font-size: 5px; letter-spacing: 0.08em; }
.rz-home .integ-custom-card__data-row i,
.rz-home .integ-custom-card__data-row b,
.rz-home .integ-custom-card__data-row em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 6px; font-style: normal; }
.rz-home .integ-custom-card__data-row i { color: #d9dee6; }
.rz-home .integ-custom-card__data-row b { color: #fff; }
.rz-home .integ-custom-card__data-row em { color: #83d2a4; font-weight: 800; }
.rz-home .integ-custom-card__data-row:nth-of-type(5) em { color: var(--rz-art-amber); }
.rz-home .integ-custom-card__sync { display: flex; align-items: center; gap: 7px; margin-top: auto; color: #9ca7b6; font-size: 6px; }
.rz-home .integ-custom-card__sync i { width: 6px; height: 6px; border-radius: 50%; background: #65c38b; box-shadow: 0 0 0 4px rgba(101,195,139,0.1); }

.rz-home .integ-custom--sources .integ-custom-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 29px 27px 27px;
}
.rz-home .integ-custom-card__kicker { margin-bottom: 20px; color: var(--rz-art-green); font-size: 7px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.rz-home .integ-custom--sources .integ-custom-card h3 { font-size: 22px; }
.rz-home .integ-custom--sources .integ-custom-card p { font-size: 13px; }
.rz-home .integ-custom--sources .integ-custom-card ul { display: grid; gap: 7px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rz-art-line); }
.rz-home .integ-custom--sources .integ-custom-card li { display: grid; grid-template-columns: 13px 1fr; gap: 7px; padding: 0; font-size: 11px; }
.rz-home .integ-custom--sources .integ-custom-card li::before { content: ""; width: 8px; height: 2px; margin-top: 7px; border-radius: 999px; background: var(--rz-art-amber); }

@media (max-width: 900px) {
  .rz-home .integ-custom--sources { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .rz-home .integ-custom--sources { border-radius: 21px; }
  .rz-home .integ-custom--sources .integ-custom-card { grid-template-columns: 1fr; min-height: 0; }
  .rz-home .integ-custom-card__surface { min-height: 265px; }
  .rz-home .integ-custom--sources .integ-custom-card__body { min-height: 280px; padding: 25px 23px 23px; }
}

/* ========================================================================== */
/* SHARED FEATURE INDEX — one editorial surface instead of icon-card grids   */
/* ========================================================================== */

.rz-home .features-grid:not(.features-grid--editorial) {
  counter-reset: rz-feature-index;
  gap: 1px;
  padding: 1px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--rz-art-line);
  box-shadow: 0 24px 70px -58px rgba(15,26,46,0.58);
}

.rz-home .features-grid:not(.features-grid--editorial) .feature {
  counter-increment: rz-feature-index;
  isolation: isolate;
  display: flex;
  min-width: 0;
  min-height: 238px;
  flex-direction: column;
  overflow: hidden;
  padding: 27px 27px 25px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.rz-home .features-grid:not(.features-grid--editorial) .feature:nth-child(4n + 2) { background: #f7f8f7; }
.rz-home .features-grid:not(.features-grid--editorial) .feature:nth-child(4n + 3) { background: #f1f5f2; }
.rz-home .features-grid:not(.features-grid--editorial) .feature:nth-child(4n) { background: #fbf7ee; }

.rz-home .features-grid:not(.features-grid--editorial) .feature::before {
  content: counter(rz-feature-index, decimal-leading-zero);
  display: block;
  margin-bottom: 38px;
  color: rgba(15,26,46,0.16);
  font-family: "Sora", sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.09em;
}

.rz-home .features-grid:not(.features-grid--editorial) .feature::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 3px;
  background: var(--rz-art-amber);
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 180ms ease;
}

.rz-home .features-grid:not(.features-grid--editorial) .feature:hover {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.rz-home .features-grid:not(.features-grid--editorial) .feature:hover::after { transform: scaleX(1); }
.rz-home .features-grid:not(.features-grid--editorial) .feature__icon { display: none; }
.rz-home .features-grid:not(.features-grid--editorial) .feature h3 { margin-top: auto; font-size: 18px; }
.rz-home .features-grid:not(.features-grid--editorial) .feature p { max-width: 34ch; }

@media (min-width: 1101px) {
  .rz-home .features-grid:not(.features-grid--editorial):not(.features-grid--quad) .feature:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
  .rz-home .features-grid:not(.features-grid--editorial):not(.features-grid--quad) .feature:last-child:nth-child(3n + 2) { grid-column: span 2; }
}

/* The retired /integrations source view still shares the system. If it is
   reactivated, its hero reads as a compact operations board, not four icons. */
.rz-integrations .rz-info-stack {
  counter-reset: rz-info-index;
  gap: 1px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 28px;
  background: var(--rz-art-ink);
  box-shadow: 0 35px 80px -48px rgba(15,26,46,0.82);
  transform: rotate(0.5deg);
}

.rz-integrations .rz-info-card {
  counter-increment: rz-info-index;
  min-height: 154px;
  padding: 19px;
  border-color: rgba(255,255,255,0.09);
  border-radius: 0;
  background: rgba(255,255,255,0.055);
  box-shadow: none;
}

.rz-integrations .rz-info-card::before {
  content: counter(rz-info-index, decimal-leading-zero);
  color: var(--rz-art-amber);
  font: 800 11px/1 "Sora", sans-serif;
  letter-spacing: -0.04em;
}

.rz-integrations .rz-info-card:hover { box-shadow: none; transform: none; }
.rz-integrations .rz-info-card__icon { display: none; }
.rz-integrations .rz-info-card h3 { color: #fff; }
.rz-integrations .rz-info-card p { color: #aeb7c5; }

/* ========================================================================== */
/* TOPIC / INTEGRATION HERO — layered review journey                         */
/* ========================================================================== */

.rz-topic .topic-flow__canvas--story {
  position: relative;
  display: block;
  min-height: 390px;
  margin-top: 4px;
}

.rz-topic .topic-story__source,
.rz-topic .topic-story__destination,
.rz-topic .topic-story__ticket {
  position: absolute;
  min-width: 0;
  border: 1px solid rgba(15,26,46,0.11);
  background: rgba(255,255,255,0.95);
  box-shadow: 0 24px 55px -40px rgba(15,26,46,0.72);
}

.rz-topic .topic-story__source {
  top: 4px;
  left: 0;
  width: 47%;
  min-height: 164px;
  padding: 17px;
  border-radius: 19px;
  transform: rotate(-1deg);
}

.rz-topic .topic-story__source::after {
  content: "";
  position: absolute;
  right: -65px;
  top: 74px;
  z-index: -1;
  width: 72px;
  height: 1px;
  background: var(--topic-accent);
}

.rz-topic .topic-story__source::before {
  content: "→";
  position: absolute;
  right: -68px;
  top: 61px;
  color: var(--topic-accent);
  font-size: 15px;
}

.rz-topic .topic-story__kicker {
  display: block;
  margin-bottom: 14px;
  color: #707885;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rz-topic .topic-story__provider {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
}

.rz-topic .topic-story__provider-logo,
.rz-topic .topic-story__source-tag {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: var(--topic-accent);
  background: var(--topic-soft);
}
.rz-topic .topic-story__provider-logo img { width: 35px; height: 35px; object-fit: contain; }
.rz-topic .topic-story__source-tag { font: 800 10px/1 "Sora", sans-serif; letter-spacing: 0.05em; }
.rz-topic .topic-story__provider > span:last-child { min-width: 0; display: grid; gap: 3px; }
.rz-topic .topic-story__provider strong { overflow-wrap: anywhere; font-size: 12px; }
.rz-topic .topic-story__provider small { color: #747c89; font-size: 8px; line-height: 1.35; }

.rz-topic .topic-story__event {
  display: grid;
  grid-template-columns: 7px 1fr auto;
  gap: 7px;
  align-items: center;
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px solid #e7e9eb;
}
.rz-topic .topic-story__event > i { width: 6px; height: 6px; border-radius: 50%; background: var(--topic-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--topic-accent) 12%, transparent); }
.rz-topic .topic-story__event b { font-size: 7px; }
.rz-topic .topic-story__event em { color: #818894; font-size: 6px; font-style: normal; }

.rz-topic .topic-story__destination {
  top: 26px;
  right: 0;
  width: 51%;
  min-height: 270px;
  padding: 16px;
  border-radius: 21px;
  background: color-mix(in srgb, var(--topic-soft) 58%, white);
  transform: rotate(1deg);
}

.rz-topic .topic-story__browser {
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid rgba(15,26,46,0.1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 35px -28px rgba(15,26,46,0.55);
}
.rz-topic .topic-story__browser-bar { display: grid; grid-template-columns: 6px 6px 6px 1fr; gap: 4px; align-items: center; min-height: 25px; padding: 0 8px; border-bottom: 1px solid #eceeef; background: #f7f5ef; }
.rz-topic .topic-story__browser-bar i { width: 5px; height: 5px; border-radius: 50%; background: #ef675f; }
.rz-topic .topic-story__browser-bar i:nth-child(2) { background: #f4b940; }
.rz-topic .topic-story__browser-bar i:nth-child(3) { background: #43b66e; }
.rz-topic .topic-story__browser-bar b { margin-left: 5px; color: #89909b; font-size: 6px; font-weight: 700; }
.rz-topic .topic-story__published-review { display: grid; grid-template-columns: 58px 1fr; gap: 10px; align-items: center; padding: 10px; }
.rz-topic .topic-story__published-review > img { width: 58px; height: 58px; border-radius: 11px; object-fit: cover; }
.rz-topic .topic-story__published-review > span { display: grid; gap: 4px; min-width: 0; }
.rz-topic .topic-story__published-review i { color: #e4a025; font-size: 7px; font-style: normal; }
.rz-topic .topic-story__published-review strong { font-size: 8px; line-height: 1.35; }
.rz-topic .topic-story__published-review small { color: #808794; font-size: 6px; }
.rz-topic .topic-story__destination > strong { display: block; overflow-wrap: anywhere; font-size: 11px; }
.rz-topic .topic-story__destination > small { display: block; margin-top: 4px; color: #747c89; font-size: 7px; line-height: 1.35; }

.rz-topic .topic-story__ticket {
  left: 10%;
  bottom: 0;
  z-index: 3;
  width: 65%;
  min-height: 200px;
  padding: 15px;
  border-color: color-mix(in srgb, var(--topic-accent) 25%, rgba(15,26,46,0.1));
  border-radius: 19px;
  transform: rotate(-0.8deg);
}
.rz-topic .topic-story__ticket-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid #e8eaec; }
.rz-topic .topic-story__ticket-top > span { display: inline-flex; align-items: center; gap: 5px; color: #66707d; font-size: 6px; font-weight: 800; letter-spacing: 0.07em; }
.rz-topic .topic-story__ticket-top img { width: 18px; height: 18px; }
.rz-topic .topic-story__ticket-top > i { padding: 4px 6px; border-radius: 999px; color: var(--topic-accent); background: var(--topic-soft); font-size: 5.5px; font-style: normal; font-weight: 800; }
.rz-topic .topic-story__author { display: grid; grid-template-columns: 26px 1fr auto; gap: 7px; align-items: center; margin: 12px 0 9px; }
.rz-topic .topic-story__author > b { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: #fff; background: var(--rz-art-green); font-size: 7px; }
.rz-topic .topic-story__author > strong { font-size: 8px; }
.rz-topic .topic-story__author > em { color: #e4a025; font-size: 7px; font-style: normal; }
.rz-topic .topic-story__ticket p { margin: 0; color: #4f5866; font-size: 8px; line-height: 1.45; }
.rz-topic .topic-story__signals { display: flex; flex-wrap: wrap; gap: 4px; margin: 11px 0; }
.rz-topic .topic-story__signals i { padding: 4px 6px; border: 1px solid #e1e4e6; border-radius: 999px; color: #68717e; font-size: 5px; font-style: normal; font-weight: 800; letter-spacing: 0.05em; }
.rz-topic .topic-story__action { display: block; padding: 8px 9px; border-radius: 9px; color: #fff; background: var(--rz-art-ink); font-size: 7px; font-weight: 700; }
.rz-topic .topic-story__action b { float: right; color: var(--rz-art-amber); }

.rz-topic .topic-flow--soon .topic-story__ticket,
.rz-topic .topic-flow--soon .topic-story__source,
.rz-topic .topic-flow--soon .topic-story__destination { filter: saturate(0.35); }
.rz-topic .topic-flow--soon .topic-story__action { color: #9aa3b1; background: #e9ebed; }
.rz-topic .topic-flow--soon .topic-story__source::after { background: repeating-linear-gradient(90deg, rgba(90,98,117,0.35) 0 4px, transparent 4px 8px); }

@media (max-width: 600px) {
  .rz-topic .topic-flow__canvas--story { display: grid; gap: 11px; min-height: 0; }
  .rz-topic .topic-story__source,
  .rz-topic .topic-story__destination,
  .rz-topic .topic-story__ticket {
    position: relative;
    inset: auto;
    width: auto;
    min-height: 0;
    transform: none;
  }
  .rz-topic .topic-story__source { order: 1; }
  .rz-topic .topic-story__ticket { order: 2; }
  .rz-topic .topic-story__destination { order: 3; }
  .rz-topic .topic-story__source::before,
  .rz-topic .topic-story__source::after { display: none; }
  .rz-topic .topic-story__destination { padding: 14px; }
  .rz-topic .topic-story__ticket { padding: 14px; }
  .rz-topic .topic-story__published-review { grid-template-columns: 72px 1fr; }
  .rz-topic .topic-story__published-review > img { width: 72px; height: 72px; }
  .rz-topic .topic-story__published-review strong,
  .rz-topic .topic-story__ticket p { font-size: 10px; }
}

@media (max-width: 900px) {
  .rz-pro-koho .pro-koho-card--featured { grid-template-columns: 1fr; }
  .rz-pro-koho .pro-koho-card--featured .pro-koho-card__scene,
  .rz-pro-koho .pro-koho-card--featured .pro-koho-card__body { grid-column: 1; grid-row: auto; }
  .rz-pro-koho .pro-koho-card--featured .pro-koho-card__scene { order: -1; }
  .rz-home.rz-customers .rz-customer-case,
  .rz-home.rz-customers .rz-customer-case:first-child,
  .rz-home.rz-customers .rz-customer-case:nth-child(2),
  .rz-home.rz-customers .rz-customer-case:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .landing-home-template .rz-home .rz-cap-card,
  .landing-home-template .rz-home .rz-cap-card:nth-child(1),
  .landing-home-template .rz-home .rz-cap-card:nth-child(2),
  .landing-home-template .rz-home .rz-cap-card:nth-child(3),
  .landing-home-template .rz-home .rz-cap-card:nth-child(4),
  .landing-home-template .rz-impact-card,
  .landing-home-template .rz-impact-card--sales,
  .landing-home-template .rz-impact-card--workflow,
  .landing-home-template .rz-impact-card--search,
  .landing-home-template .rz-impact-card--trust { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .rz-story-scene { min-height: 220px; border-radius: 19px; }
  .rz-story-scene__review-paper { padding: 13px; }
  .rz-story-scene__route { margin-bottom: 11px; }
  .rz-story-scene__phone { left: 14px; width: 55%; }
  .rz-story-scene__receipt { right: 13px; width: 44%; }
  .rz-story-scene__privacy-card { left: 12px; width: 64%; }
  .rz-story-scene__audit { right: 8px; width: 31%; }
  .rz-pro-koho .hero--compact { padding: 48px 0 30px; }
  .rz-pro-koho .pro-koho-grid { grid-template-columns: 1fr; }
  .rz-pro-koho .pro-koho-card--featured { grid-column: auto; min-height: 0; }
  .rz-pro-koho .pro-koho-card--featured .rz-story-scene { min-height: 220px; }
  .rz-pro-koho .pro-koho-card--featured .pro-koho-card__body { padding: 28px; }
  .rz-pro-koho .pro-koho-card__body { padding: 24px; }
  .rz-customers .customer-lab__scene .rz-story-scene { min-height: 255px; }
  .rz-customers .customer-lab__timeline { left: 25px; right: 25px; bottom: 31px; }
  .rz-home.rz-customers .rz-customer-case { padding: 0 20px 22px; }
  .rz-home.rz-customers .rz-customer-case__visual { margin: 0 -20px; }
  .landing-home-template .rz-home .rz-cap-card { padding: 19px; border-radius: 22px; }
  .landing-home-template .rz-home .rz-cap-card__visual { min-height: 185px; }
  .landing-home-template .rz-impact-card { min-height: 0; padding: 24px; border-radius: 23px; }
  .landing-home-template .rz-home .features-grid--editorial { grid-template-columns: 1fr; }
  .landing-home-template .rz-home .features-grid--editorial .feature { min-height: 0; padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--rz-art-line); }
  .landing-home-template .rz-home .features-grid--editorial .feature:last-child { border-bottom: 0; }
  .landing-home-template .rz-home .feature__number { margin-bottom: 27px; }
  .rz-impact-queue span { grid-template-columns: 82px 1fr; }
  .rz-impact-queue em { display: none; }
  .rz-home .features-grid:not(.features-grid--editorial) { border-radius: 21px; }
  .rz-home .features-grid:not(.features-grid--editorial) .feature { min-height: 188px; padding: 23px 22px 22px; }
  .rz-home .features-grid:not(.features-grid--editorial) .feature::before { margin-bottom: 28px; font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .rz-pro-koho .pro-koho-card { transition: none; }
  .rz-pro-koho .pro-koho-card:hover { transform: none; }
  .rz-home .features-grid:not(.features-grid--editorial) .feature::after { transition: none; }
}
