/* PixMatic's new editorial direction: warm paper, ink outlines, and lively product motion. */
:root {
  --bg-0: #faf6ed;
  --bg-1: #f3ead9;
  --bg-2: #fffef9;
  --bg-3: #f7e9cf;
  --border: rgba(27, 35, 30, .16);
  --text: #202620;
  --muted: #656057;
  --dim: #898276;
  --gold: #fcb017;
  --gold-2: #ffc64f;
  --gold-3: #b56b00;
  --amber: #ef8955;
  --accent-deep: #995900;
  --orange: #fcb017;
  --orange-pale: #fff0ce;
  --orange-deep: #59340d;
  --ink: #202620;
  --lilac: #d9cdf5;
  --paper: #faf6ed;
}

html { scroll-behavior: smooth; background: var(--paper); }
body {
  color: var(--ink);
  background:
    radial-gradient(ellipse at 4% 19%, rgba(255, 225, 170, .52), transparent 26rem),
    radial-gradient(ellipse at 94% 4%, rgba(249, 226, 183, .35), transparent 28rem),
    var(--paper);
  font-family: 'Alexandria', 'Cairo', sans-serif;
  line-height: 1.65;
}
body[dir="rtl"], body[dir="rtl"] button, body[dir="rtl"] input,
body[dir="rtl"] select, body[dir="rtl"] textarea {
  font-family: 'Cairo', 'Alexandria', sans-serif !important;
  letter-spacing: 0 !important;
}

/* A compact outlined nav, inspired by Wispr's floating capsule. */
nav {
  position: sticky;
  top: 10px;
  z-index: 50;
  padding: 10px 20px 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}
.nav-inner {
  width: min(1240px, 100%);
  height: 68px;
  margin: 0 auto;
  padding: 8px 12px 8px 20px;
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  background: rgba(255, 254, 249, .94);
  box-shadow: 0 8px 22px rgba(33, 39, 33, .08);
  backdrop-filter: blur(14px);
}
.logo img { filter: none !important; }
.nav-links { gap: clamp(14px, 2vw, 28px); }
.nav-links a {
  color: var(--muted);
  font-size: 13px;
  transition: color .2s ease, transform .2s ease;
}
.nav-links a:hover { color: var(--accent-deep); transform: translateY(-1px); }
.nav-cta { gap: 8px; }
.lang-switch {
  padding: 9px 13px;
  border: 1.5px solid var(--border);
  color: var(--ink);
  background: transparent;
}
.lang-switch:hover { color: var(--accent-deep); border-color: var(--accent-deep); }

.btn {
  border: 1.5px solid var(--ink);
  border-radius: 13px;
  color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn-gold {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn-gold:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
  background: #ffc84f;
}
.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
  background: rgba(255, 255, 255, .35);
  backdrop-filter: none;
}
.btn-ghost:hover { background: #fff0ce; border-color: var(--accent-deep); }

/* Split hero with the existing live batch preview as the visual anchor. */
.hero {
  min-height: 0;
  padding: clamp(72px, 8vw, 118px) 0 clamp(74px, 9vw, 132px);
  overflow: clip;
  background: transparent;
}
.hero-bg {
  inset: 5% -12% auto;
  height: 88%;
  background:
    radial-gradient(ellipse 45% 42% at 76% 56%, rgba(255, 221, 155, .7), transparent 72%),
    radial-gradient(ellipse 35% 36% at 19% 8%, rgba(246, 218, 171, .32), transparent 70%);
  pointer-events: none;
}
.lens-flare, .grain, #particles { display: none !important; }
.hero-content {
  width: min(1320px, 100%);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  column-gap: clamp(34px, 6vw, 92px);
  row-gap: 0;
  padding-top: 22px;
  text-align: start;
}
.hero-eyebrow {
  justify-self: start;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 22px;
  padding: 7px 12px;
  border: 1px solid #c78312;
  border-radius: 9px;
  color: var(--accent-deep);
  background: #fff0ce;
  font-size: 11px;
  letter-spacing: .04em;
  animation: paper-in .7s cubic-bezier(.2,.8,.2,1) both;
}
.hero-eyebrow .badge-num {
  color: var(--ink);
  background: var(--orange);
}
h1.hero-title {
  max-width: 690px;
  margin: 0 0 24px;
  color: var(--ink);
  font-family: 'Instrument Serif', 'Alexandria', serif;
  font-size: clamp(58px, 7.2vw, 100px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .98;
  animation: paper-in .8s .08s cubic-bezier(.2,.8,.2,1) both;
}
.hero-title .block { display: block; }
.hero-title .serif {
  color: var(--accent-deep);
  background: none;
  -webkit-text-fill-color: currentColor;
  text-shadow: none;
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
}
body[dir="rtl"] h1.hero-title {
  max-width: 760px;
  font-family: 'Cairo', sans-serif !important;
  font-size: clamp(42px, 5.2vw, 72px) !important;
  font-weight: 800;
  letter-spacing: 0 !important;
  line-height: 1.36 !important;
}
body[dir="rtl"] .hero-title .serif {
  color: #995900 !important;
  font-family: 'Cairo', sans-serif !important;
  font-style: normal;
  font-weight: 900;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
}
.hero-sub {
  max-width: 540px;
  margin: 0 0 26px;
  color: #5e5a52;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.85;
  animation: paper-in .8s .16s cubic-bezier(.2,.8,.2,1) both;
}
body[dir="rtl"] .hero-sub { margin-inline: 0; color: #5e5a52 !important; font-size: 17px !important; }
.hero-cta {
  justify-content: flex-start;
  gap: 13px;
  margin: 0 0 18px;
  animation: paper-in .8s .24s cubic-bezier(.2,.8,.2,1) both;
}
.hero-cta .btn-lg { padding: 14px 22px; font-size: 14px; }
.hero-showcase {
  grid-column: 2;
  grid-row: 1 / span 5;
  width: 100%;
  max-width: 690px;
  margin: 0;
  isolation: isolate;
  animation: preview-arrive 1s .18s cubic-bezier(.18,.85,.3,1) both;
}
.hero-showcase::before, .hero-showcase::after {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 10px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  color: var(--ink);
  background: #fffef9;
  box-shadow: 4px 4px 0 var(--ink);
  font: 700 11px/1.2 'Inter', sans-serif;
  letter-spacing: .06em;
}
.hero-showcase::before {
  content: 'LIVE BATCH  ·  20 VISUALS';
  top: 8%;
  inset-inline-start: -4%;
  transform: rotate(-4deg);
  animation: float-card 5s ease-in-out infinite;
}
.hero-showcase::after {
  content: 'CSV  →  PSD  →  EXPORT';
  bottom: 7%;
  inset-inline-end: -3%;
  transform: rotate(3deg);
  background: #f4d17d;
  animation: float-card 5.6s .5s ease-in-out infinite;
}
body[dir="rtl"] .hero-showcase::before { content: 'تشغيل مباشر  ·  ٢٠ تصميم'; font-family: 'Cairo', sans-serif; letter-spacing: 0; }
body[dir="rtl"] .hero-showcase::after { content: 'CSV  ←  PSD  ←  تصدير'; font-family: 'Cairo', sans-serif; letter-spacing: 0; }
.showcase-frame {
  aspect-ratio: 1.22 / 1;
  min-height: 420px;
  padding: 9px;
  border: 1.5px solid var(--ink);
  border-radius: 26px;
  background: var(--orange);
  box-shadow: 12px 12px 0 #8b5200, 0 30px 65px rgba(153, 89, 0, .2);
}
.showcase-inner {
  grid-template-columns: 165px 1fr;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 19px;
  background: #211f1b;
}
.showcase-sidebar {
  padding: 18px 12px;
  color: #f9f6ec;
  background: #2b2822;
  border-inline-end: 1px solid rgba(255,255,255,.11);
}
.sc-title { color: #cfc4ae; font-size: 9px; }
.sc-item { color: #d4cbbc; border-radius: 8px; }
.sc-item.active { color: #f6d987; background: rgba(240, 191, 91, .16); }
.sc-progress-label { color: #d4cbbc; }
.sc-progress-label b { color: #f6d987; }
.sc-progress-bar { background: rgba(255,255,255,.14); }
.sc-progress-fill { background: linear-gradient(90deg, #f4cf73, #fcb017); box-shadow: none; }
.showcase-canvas {
  align-content: center;
  padding: clamp(15px, 2.2vw, 28px);
  gap: clamp(7px, 1.2vw, 13px);
  background:
    radial-gradient(ellipse at 50% 4%, rgba(235, 207, 143, .14), transparent 62%),
    #f8eedb;
}
.showcase-canvas {
  display: block;
  position: relative;
  min-width: 0;
  padding: 12px;
  overflow: hidden;
}
.showcase-canvas > .sc-thumb { display: none !important; }
.flow-motion {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 330px;
  overflow: hidden;
  isolation: isolate;
  border: 1.25px solid rgba(32, 38, 32, .14);
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(252, 176, 23, .15), transparent 38%),
    linear-gradient(145deg, #fffaf0, #f4ead6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
  direction: ltr;
}
.flow-route {
  position: absolute;
  top: 50%;
  height: 2px;
  z-index: 0;
  background: repeating-linear-gradient(90deg, rgba(181,107,0,.34) 0 5px, transparent 5px 11px);
}
.flow-route::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px rgba(252,176,23,.65);
  animation: route-glide 2.2s ease-in-out infinite;
}
.flow-route-in { left: 14%; right: 56%; }
.flow-route-out { left: 56%; right: 13%; }
.flow-route-out::after { animation-direction: reverse; }
.flow-sheet {
  --sheet-offset: 0px;
  position: absolute;
  left: 7%;
  top: 50%;
  z-index: 2;
  width: clamp(50px, 6vw, 68px);
  height: clamp(68px, 8vw, 88px);
  padding: 7px 6px 6px;
  border: 1px solid rgba(32,38,32,.18);
  border-radius: 8px;
  background: #fffefa;
  box-shadow: 0 8px 18px rgba(67,49,20,.14);
  opacity: 0;
  animation: sheet-to-plugin 5.2s linear infinite;
}
.flow-sheet-one { --sheet-offset: -12px; animation-delay: 0s; }
.flow-sheet-two { --sheet-offset: 0px; animation-delay: .46s; }
.flow-sheet-three { --sheet-offset: 12px; animation-delay: .92s; }
.sheet-type {
  display: block;
  margin: 0 0 5px;
  color: #8a5100;
  font: 800 8px/1 'Inter', sans-serif;
  letter-spacing: .1em;
}
.sheet-cells { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.sheet-cells i {
  height: 7px;
  border-radius: 1px;
  background: #eee5d2;
}
.sheet-cells i:nth-child(3n+1) { background: #f1d28c; }
.sheet-cells i:nth-child(-n+3) { background: #c77e13; opacity: .65; }
.flow-engine {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: clamp(62px, 8.5vw, 82px);
  height: clamp(62px, 8.5vw, 82px);
  border: 1.5px solid var(--ink);
  border-radius: 25px;
  background: var(--orange);
  box-shadow: 4px 5px 0 #8b5200, 0 12px 28px rgba(153,89,0,.2);
  transform: translate(-50%, -50%);
  animation: engine-process 5.2s ease-in-out infinite;
}
.flow-engine img { width: 42px; height: 39px; object-fit: contain; }
.engine-orbit {
  position: absolute;
  inset: -9px;
  border: 1px dashed rgba(181,107,0,.48);
  border-radius: 30px;
  animation: orbit-turn 12s linear infinite;
}
.engine-label {
  position: absolute;
  top: calc(100% + 13px);
  color: #746249;
  font: 800 7px/1 'Inter', sans-serif;
  letter-spacing: .17em;
  white-space: nowrap;
}
.flow-output {
  --output-tilt: 0deg;
  --output-offset: 0px;
  position: absolute;
  left: 49%;
  top: calc(50% + var(--output-offset));
  z-index: 2;
  width: clamp(55px, 7.8vw, 78px);
  height: clamp(77px, 10.8vw, 103px);
  padding: 4px 4px 12px;
  border: 1px solid rgba(32,38,32,.18);
  border-radius: 7px;
  background: #fffefa;
  box-shadow: 0 8px 18px rgba(67,49,20,.15);
  opacity: 0;
  animation: design-from-plugin 5.2s cubic-bezier(.2,.7,.3,1) infinite;
}
.flow-output-one { --output-tilt: -12deg; --output-offset: -17px; animation-delay: 1.15s; }
.flow-output-two { --output-tilt: 3deg; --output-offset: 0px; animation-delay: 1.55s; }
.flow-output-three { --output-tilt: 11deg; --output-offset: 17px; animation-delay: 1.95s; }
.design-art {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  padding: 7px 5px;
  border-radius: 4px;
}
.design-art small { position: relative; z-index: 1; font: 700 5px/1.2 'Inter', sans-serif; letter-spacing: .09em; }
.design-art b { position: relative; z-index: 1; font: 900 10px/.92 'Inter', sans-serif; letter-spacing: -.04em; }
.design-art i { position: absolute; display: block; border-radius: 50%; }
.design-art-one { color: #4a3520; align-items: center; background: #f4dba9; }
.design-art-one i { width: 27px; height: 27px; right: -5px; top: 23%; background: #dc9840; box-shadow: -14px 20px 0 -5px #f6efda; }
.design-art-two { color: #f9f2e3; background: #51453b; }
.design-art-two i { width: 34px; height: 34px; right: -10px; bottom: -12px; background: #a35c2b; }
.design-art-three { color: #53360f; background: #f5c16a; }
.design-art-three i { width: 27px; height: 27px; right: -7px; top: -8px; background: #fff0cf; }
.flow-output > span {
  position: absolute;
  right: 5px;
  bottom: 3px;
  color: #857968;
  font: 800 6px/1 'Inter', sans-serif;
  letter-spacing: .08em;
}
.flow-label {
  position: absolute;
  bottom: 13%;
  z-index: 4;
  color: #887a63;
  font: 800 8px/1 'Inter', sans-serif;
  letter-spacing: .13em;
  white-space: nowrap;
}
.flow-label-in { left: 6%; }
.flow-label-out { right: 5%; }
.flow-spark {
  position: absolute;
  z-index: 3;
  color: #bd7606;
  opacity: 0;
  animation: sparkle 2.1s ease-in-out infinite;
}
.flow-spark-one { left: 65%; top: 32%; font-size: 15px; }
.flow-spark-two { left: 72%; top: 63%; font-size: 12px; animation-delay: .7s; }
@keyframes sheet-to-plugin {
  0%, 3% { left: 7%; opacity: 0; transform: translate(-8px, calc(-50% + var(--sheet-offset))) scale(.86) rotate(-5deg); }
  9%, 16% { opacity: 1; transform: translate(0, calc(-50% + var(--sheet-offset))) scale(1) rotate(0); }
  42% { left: 39%; opacity: 1; transform: translate(0, calc(-50% + var(--sheet-offset))) scale(.78) rotate(4deg); }
  48%, 100% { left: 42%; opacity: 0; transform: translate(8px, calc(-50% + var(--sheet-offset))) scale(.62) rotate(8deg); }
}
@keyframes design-from-plugin {
  0%, 22% { left: 48%; opacity: 0; transform: translate(-50%, -50%) scale(.55) rotate(0); }
  31% { opacity: 1; transform: translate(-50%, -50%) scale(.84) rotate(var(--output-tilt)); }
  62%, 78% { left: 76%; opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(var(--output-tilt)); }
  89%, 100% { left: 78%; opacity: 0; transform: translate(-50%, -50%) scale(.9) rotate(var(--output-tilt)); }
}
@keyframes engine-process {
  0%, 34%, 67%, 100% { box-shadow: 4px 5px 0 #8b5200, 0 12px 28px rgba(153,89,0,.2); }
  44%, 55% { box-shadow: 4px 5px 0 #8b5200, 0 0 0 9px rgba(252,176,23,.14), 0 16px 36px rgba(153,89,0,.34); }
}
@keyframes route-glide {
  0% { left: 0; opacity: .2; }
  55% { opacity: .95; }
  100% { left: calc(100% - 8px); opacity: .2; }
}
@keyframes orbit-turn { to { transform: rotate(1turn); } }
@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(.55) rotate(-18deg); }
  45%, 62% { opacity: .85; transform: scale(1) rotate(8deg); }
}
.sc-thumb {
  border: 1px solid rgba(43, 36, 29, .14);
  border-radius: 9px;
  background: #fbfaf4;
  box-shadow: 0 5px 12px rgba(43, 36, 29, .09);
}
.sc-thumb::after { border-radius: 6px; }
.sc-thumb:nth-child(4n+1)::after { background: linear-gradient(145deg, #d9bd79, #9a7042); }
.sc-thumb:nth-child(4n+2)::after { background: linear-gradient(145deg, #dfaa83, #704b39); }
.sc-thumb:nth-child(4n+3)::after { background: linear-gradient(145deg, #f0c878, #ac6812); }
.sc-thumb:nth-child(4n)::after { background: linear-gradient(145deg, #a9b8ce, #546378); }
.sc-thumb.done::before {
  top: 5px; inset-inline-end: 5px; inset-inline-start: auto;
  width: 15px; height: 15px;
  background-color: var(--orange);
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
}
.sc-thumb.processing { border: 2px solid var(--gold); animation: soft-pulse 1.6s ease-in-out infinite; }
.sc-thumb.processing::before {
  background: linear-gradient(105deg, transparent 20%, rgba(238, 199, 112, .42), transparent 78%);
  animation: shimmer 1.5s infinite;
}

/* Real workflow file-types instead of borrowed customer logos. */
.formats-strip {
  margin: 0 3vw;
  padding: 26px 0 30px;
  border-radius: 28px;
  color: #f9f8ef;
  background: #28241d;
  overflow: hidden;
}
.formats-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.formats-caption { color: #d5cfc2; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.formats-list { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.formats-list span {
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 9px;
  color: #fffdf4;
  font: 700 11px/1 'JetBrains Mono', monospace;
  letter-spacing: .04em;
}
.formats-list span:first-child { color: #f3d17b; border-color: rgba(243,209,123,.5); }

/* Bright, calm feature grid with a small physical-card lift on hover. */
section { padding: clamp(76px, 9vw, 126px) 0; }
.section-head {
  max-width: 760px;
  margin-inline: 0 auto;
  margin-bottom: clamp(38px, 5vw, 64px);
  text-align: start;
}
.section-tag {
  padding: 7px 12px;
  border: 1px solid #d39a36;
  border-radius: 9px;
  color: #995900;
  background: #fff0ce;
  font-size: 10px;
  letter-spacing: .05em;
}
h2.section-title {
  color: var(--ink);
  font-family: 'Instrument Serif', 'Alexandria', serif;
  font-size: clamp(46px, 6.1vw, 78px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.02;
}
h2.section-title .italic { color: var(--accent-deep); }
body[dir="rtl"] h2.section-title {
  font-family: 'Cairo', sans-serif !important;
  font-size: clamp(30px, 4vw, 52px) !important;
  font-weight: 800;
  letter-spacing: 0 !important;
  line-height: 1.48 !important;
}
body[dir="rtl"] h2.section-title .italic { font-family: inherit; font-style: normal; color: #995900; }
.section-sub { max-width: 650px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.features-wrap { padding-top: 74px; background: transparent; }
.features-glow, .pricing-glow { display: none; }
.features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  overflow: visible;
  border: 0;
  background: transparent;
}
.feature-card {
  min-height: 245px;
  padding: 30px;
  border: 1.4px solid var(--ink);
  border-radius: 20px;
  background: #fffef9;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .24s ease, box-shadow .24s ease, background-color .24s ease;
}
.feature-card:hover {
  transform: translate(-2px, -3px);
  box-shadow: 7px 8px 0 var(--ink);
  background: #fff7e8;
}
.feature-card::before { display: none; }
.feature-icon-wrap {
  width: 48px; height: 48px;
  margin-bottom: 26px;
  border: 1px solid #e2b658;
  border-radius: 14px;
  color: var(--accent-deep);
  background: #fff0ce;
}
.feature-title { color: var(--ink); font-size: 19px; }
.feature-desc { color: var(--muted); font-size: 14px; line-height: 1.8; }

/* The three steps sit on one deep amber canvas, like a product story chapter. */
.how-wrap {
  margin: 0 3vw;
  padding: clamp(70px, 8vw, 112px) 0;
  border-radius: 38px;
  color: #f7f6ed;
  background: var(--orange-deep);
}
.how-wrap .section-tag { color: #f2d989; border-color: rgba(242,217,137,.55); background: rgba(242,217,137,.1); }
.how-wrap .section-title, .how-wrap .section-sub { color: #f7f6ed; }
.how-wrap .section-title .italic { color: #f1cf79; }
.how-wrap .step {
  min-height: 290px;
  padding: 30px 26px;
  border: 1.2px solid rgba(255,255,255,.22);
  border-radius: 20px;
  color: var(--ink);
  background: #faf2e4;
  box-shadow: 5px 5px 0 #8b5200;
  text-align: start;
  backdrop-filter: none;
}
.how-wrap .step:hover { border-color: var(--ink); transform: translateY(-5px) rotate(-.3deg); }
.step-num {
  color: #995900;
  background: none;
  -webkit-text-fill-color: currentColor;
  font-size: 66px;
  text-shadow: none;
}
.step h3 { font-size: 20px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.8; }

/* Pricing remains easy to compare, while FAQ uses a quieter reading surface. */
.pricing-wrap { overflow: clip; background: transparent; }
.pricing-grid { gap: 14px; }
.price-card {
  min-height: 440px;
  padding: 30px 22px;
  border: 1.4px solid var(--ink);
  border-radius: 20px;
  background: #fffef9;
  box-shadow: 4px 4px 0 var(--ink);
  backdrop-filter: none;
}
.price-card:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: 6px 8px 0 var(--ink); }
.price-card.featured {
  border-color: var(--ink);
  color: #fffdf4;
  background: var(--orange-deep);
  box-shadow: 6px 7px 0 var(--ink);
  transform: translateY(-3px);
}
.price-card.featured::before { display: none; }
.badge {
  top: -14px;
  padding: 7px 12px;
  border: 1px solid var(--ink);
  border-radius: 9px;
  color: var(--ink);
  background: #fcb017;
  box-shadow: 3px 3px 0 var(--ink);
  letter-spacing: .02em;
}
.price-name { color: var(--accent-deep); }
.featured .price-name, .featured .price-tagline, .featured .price-unit,
.featured .price-billing, .featured .price-features li { color: #f2dfb9; }
.price-tagline { min-height: 48px; color: var(--muted); }
.price-num {
  color: var(--ink);
  background: none;
  -webkit-text-fill-color: currentColor;
  font-size: 42px;
}
.price-card.featured .price-num { color: #fff4ce; background: none; -webkit-text-fill-color: currentColor; }
.price-features li { color: #514b3e; font-size: 13px; line-height: 1.65; }
.price-features li svg { color: #b56b00; }
.featured .price-features li svg { color: #f1cf79; }
.price-card .btn { margin-top: auto; white-space: normal; text-align: center; }
.featured .btn-gold { color: var(--ink); background: #fcb017; }
.faq-list { max-width: 900px; gap: 12px; }
.faq-item {
  border: 1px solid #d2c7b3;
  border-radius: 14px;
  background: rgba(255,254,249,.85);
  backdrop-filter: none;
}
.faq-item[open] { border-color: var(--accent-deep); background: #fffef9; }
.faq-item summary { padding: 20px 22px; color: var(--ink); font-size: 15px; }
.faq-item summary::after {
  width: 18px; height: 18px;
  filter: brightness(.4) sepia(.5) saturate(2) hue-rotate(350deg);
}
.faq-answer { padding: 0 22px 20px; color: var(--muted); font-size: 14px; }

.final-cta {
  margin: 0 3vw 70px;
  padding: clamp(70px, 9vw, 126px) 0;
  border-radius: 38px;
  color: #f7f6ed;
  background: #28241d;
}
.final-cta-bg {
  opacity: .75;
  background:
    radial-gradient(ellipse at 12% 95%, rgba(252, 176, 23, .3), transparent 46%),
    radial-gradient(ellipse at 88% 0%, rgba(228, 169, 52, .2), transparent 42%);
  filter: none;
}
.final-cta h2 { color: #f8f7ef; font-family: 'Instrument Serif', Georgia, serif; font-weight: 500; }
.final-cta h2 .italic {
  color: #fcb017;
  background: none;
  -webkit-text-fill-color: currentColor;
}
body[dir="rtl"] .final-cta h2 { font-family: 'Cairo', sans-serif; font-size: clamp(32px, 5vw, 62px); font-weight: 800; line-height: 1.4; }
body[dir="rtl"] .final-cta h2 .italic { font-family: inherit; font-style: normal; }
.final-cta p { color: #d5cfc2; font-size: 16px; line-height: 1.8; }
.final-cta .btn { position: relative; }
footer {
  padding: 66px 0 30px;
  border-top: 1px solid #ded3bf;
  color: var(--ink);
  background: #f3ead9;
}
.footer-col h4 { color: var(--accent-deep); }
.footer-col a { color: #5e5a52; }
.footer-col a:hover { color: #986514; }
.footer-brand p { color: var(--muted); }
.footer-bottom { border-color: #ded3bf; color: #898276; }
.footer-social a { border-color: #cfc4ae; color: var(--accent-deep); }
.footer-social a:hover { color: var(--ink); border-color: var(--ink); background: #d9cdf5; }

@keyframes paper-in {
  from { opacity: 0; transform: translateY(22px); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes preview-arrive {
  from { opacity: 0; transform: translateY(28px) rotate(1.4deg) scale(.97); }
  to { opacity: 1; transform: translateY(0) rotate(0) scale(1); }
}
@keyframes float-card {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -9px; }
}
@keyframes soft-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230,169,52,.4); }
  50% { box-shadow: 0 0 0 5px rgba(230,169,52,0); }
}

@media (max-width: 1050px) {
  .nav-links { gap: 13px; }
  .nav-links a { font-size: 12px; }
  .hero-content { column-gap: 34px; }
  .showcase-frame { min-height: 360px; }
  .showcase-inner { grid-template-columns: 138px 1fr; }
  .showcase-sidebar { padding: 14px 8px; }
  .sc-item { padding: 8px 6px; font-size: 10px; }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}
@media (max-width: 900px) {
  nav { top: 7px; padding: 7px 12px 0; }
  .nav-inner { height: 62px; padding: 7px 10px 7px 14px; }
  .hero { padding-top: 70px; }
  .hero-content { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 28px; }
  h1.hero-title { font-size: clamp(48px, 6vw, 66px); }
  body[dir="rtl"] h1.hero-title { font-size: clamp(36px, 4.8vw, 52px) !important; }
  .showcase-frame { min-height: 300px; }
  .showcase-inner { grid-template-columns: 1fr; }
  .showcase-sidebar { display: none; }
  .showcase-canvas { grid-template-columns: repeat(4, 1fr); }
  .flow-motion { min-height: 270px; }
  .formats-inner { align-items: flex-start; flex-direction: column; gap: 15px; }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid { gap: 14px; }
  .how-wrap .step { padding: 26px 20px; }
}
@media (max-width: 640px) {
  nav { top: 4px; padding: 5px 9px 0; }
  .nav-inner { height: 58px; border-radius: 15px; }
  .logo img { height: 27px !important; max-width: 126px !important; }
  .nav-cta { gap: 5px; }
  .lang-switch { padding: 6px 9px; font-size: 11px; }
  #navGuestGroup { gap: 5px !important; }
  #navSignInBtn { padding: 7px 10px !important; font-size: 11px !important; }
  #navBuyBtn { padding: 7px 11px !important; font-size: 11px !important; }
  .nav-links { display: none; }
  .hero { padding: 56px 0 66px; }
  .hero-content { display: flex; flex-direction: column; align-items: stretch; gap: 0; text-align: start; }
  .hero-eyebrow { align-self: flex-start; margin-bottom: 16px; font-size: 9px; }
  h1.hero-title { margin-bottom: 15px; font-size: clamp(43px, 12vw, 64px); line-height: .98; }
  body[dir="rtl"] h1.hero-title { font-size: clamp(32px, 9vw, 48px) !important; line-height: 1.45 !important; }
  .hero-sub, body[dir="rtl"] .hero-sub { margin: 0 0 18px; font-size: 14px !important; line-height: 1.8 !important; }
  .hero-cta { flex-direction: row; align-items: center; justify-content: flex-start; width: 100%; max-width: none; gap: 9px; margin-bottom: 25px; }
  .hero-cta .btn { width: auto; padding: 12px 14px; font-size: 12px; }
  .hero-showcase { width: calc(100% - 8px); margin: 8px 4px 12px; }
  .hero-showcase::before { top: -11px; inset-inline-start: -3px; padding: 8px 10px; font-size: 9px; }
  .hero-showcase::after { bottom: -10px; inset-inline-end: -2px; padding: 8px 10px; font-size: 9px; }
  .showcase-frame { min-height: 245px; aspect-ratio: 1.12 / 1; padding: 6px; border-radius: 18px; box-shadow: 7px 7px 0 #8b5200; }
  .showcase-inner { border-radius: 13px; }
  .showcase-canvas { grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 13px; }
  .flow-motion { min-height: 215px; border-radius: 15px; }
  .flow-label { bottom: 10%; font-size: 7px; letter-spacing: .08em; }
  .formats-strip { margin: 0 12px; padding: 23px 0; border-radius: 20px; }
  .formats-caption { font-size: 10px; }
  .formats-list { gap: 7px; }
  .formats-list span { padding: 7px 9px; font-size: 9px; }
  section { padding: 72px 0; }
  .features-wrap { padding-top: 66px; }
  .section-head { margin-bottom: 30px; }
  h2.section-title { font-size: clamp(39px, 11vw, 55px); line-height: 1.02; }
  body[dir="rtl"] h2.section-title { font-size: clamp(27px, 7.4vw, 36px) !important; line-height: 1.5 !important; }
  .section-sub { font-size: 14px; }
  .features-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { min-height: 0; padding: 23px; border-radius: 17px; }
  .feature-icon-wrap { width: 42px; height: 42px; margin-bottom: 18px; }
  .feature-title { font-size: 17px; }
  .feature-desc { font-size: 13px; }
  .how-wrap { margin: 0 10px; padding: 65px 0; border-radius: 24px; }
  .steps-grid { grid-template-columns: 1fr; gap: 13px; }
  .how-wrap .step { min-height: 0; padding: 23px; }
  .step-num { font-size: 52px; margin-bottom: 8px; }
  .step h3 { font-size: 18px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 21px; }
  .price-card { min-height: 0; padding: 27px 22px; border-radius: 17px; }
  .price-card.featured { transform: none; }
  .price-num { font-size: 39px; }
  .faq-item summary { padding: 17px; font-size: 13px; }
  .faq-answer { padding: 0 17px 17px; font-size: 13px; }
  .final-cta { margin: 0 10px 48px; padding: 68px 0; border-radius: 24px; }
  .final-cta h2 { font-size: clamp(42px, 11vw, 58px); line-height: 1.04; }
  body[dir="rtl"] .final-cta h2 { font-size: clamp(30px, 8vw, 40px); }
  .final-cta p { font-size: 14px; }
  footer { padding: 50px 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col a { overflow-wrap: anywhere; font-size: 12px; }
  .footer-bottom { padding-top: 24px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .flow-sheet { left: 21% !important; opacity: 1 !important; animation: none !important; transform: translateY(calc(-50% + var(--sheet-offset))) scale(.82) !important; }
  .flow-engine { animation: none !important; }
  .flow-output { left: 76% !important; opacity: 1 !important; animation: none !important; transform: translate(-50%,-50%) rotate(var(--output-tilt)) !important; }
  .flow-route::after, .flow-spark { display: none !important; }
  .engine-orbit { animation: none !important; }
}

/* The product story now lives in the open hero, with the mark floating below the copy. */
.hero {
  min-height: clamp(700px, calc(100svh - 54px), 960px);
  padding: clamp(52px, 7vh, 82px) 0 0;
  overflow: hidden;
}
.hero-content {
  width: min(1320px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-items: start;
  row-gap: 0;
  column-gap: 0;
  padding-top: 0;
  text-align: center;
}
.hero-eyebrow { justify-self: center; margin-bottom: 18px; }
h1.hero-title { max-width: 1120px; margin-inline: auto; text-align: center; }
.hero-sub { max-width: 720px; margin-inline: auto; text-align: center; }
.hero-cta { justify-content: center; }
.hero-showcase {
  grid-column: 1 / -1;
  grid-row: auto;
  width: 100vw;
  max-width: none;
  margin: clamp(8px, 2vh, 22px) calc(50% - 50vw) 0;
  overflow: visible;
  isolation: isolate;
}
.hero-showcase::before, .hero-showcase::after { display: none; }
.flow-motion {
  width: 100%;
  height: clamp(280px, 37vw, 410px);
  min-height: 280px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  direction: ltr;
}
.flow-stream {
  position: absolute;
  inset: 0 -3%;
  width: 106%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.flow-stream-base, .flow-stream-glow {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.flow-stream-base { stroke: rgba(104, 84, 50, .2); stroke-width: 1.4; stroke-dasharray: 2 11; }
.flow-stream-glow {
  stroke: rgba(181, 107, 0, .48);
  stroke-width: 2;
  stroke-dasharray: 1 20;
  animation: stream-drift 1.5s linear infinite;
}
.flow-stream-out { animation-direction: reverse; }
.flow-sheet {
  left: -15%;
  top: 18%;
  width: clamp(58px, 6.4vw, 86px);
  height: clamp(78px, 9vw, 112px);
  padding: 9px 8px 8px;
  border: 1px solid rgba(32,38,32,.18);
  border-radius: 9px;
  background: #fffefa;
  box-shadow: 0 8px 22px rgba(67,49,20,.13);
  animation: sheet-cross-scene 7s cubic-bezier(.45,.05,.4,1) infinite;
}
.flow-sheet-one { --sheet-offset: -20px; animation-delay: 0s; }
.flow-sheet-two { --sheet-offset: 0px; animation-delay: -1.15s; }
.flow-sheet-three { --sheet-offset: 20px; animation-delay: -2.3s; }
.sheet-type { margin-bottom: 8px; font-size: clamp(8px,.8vw,11px); }
.sheet-cells { gap: 3px; }
.sheet-cells i { height: clamp(8px,.8vw,11px); }
.flow-engine {
  left: 50%;
  top: 69%;
  width: 132px;
  height: 128px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  transform: translate(-50%, -50%);
  animation: mark-arrive 7s ease-in-out infinite;
}
.flow-engine::before {
  content: '';
  position: absolute;
  inset: -22px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252,176,23,.13), rgba(252,176,23,0) 68%);
}
.flow-engine img {
  width: 102px;
  height: 92px;
  filter: drop-shadow(0 7px 12px rgba(98,64,12,.12));
}
.engine-orbit {
  inset: 9px;
  border: 1px solid rgba(181,107,0,.19);
  border-radius: 50%;
}
.engine-label { top: auto; bottom: -8px; color: #84745c; font-size: 8px; letter-spacing: .22em; }
.flow-output {
  left: 49%;
  top: 79%;
  width: clamp(68px, 8vw, 105px);
  height: clamp(94px, 11vw, 145px);
  padding: 5px 5px 16px;
  border-color: rgba(32,38,32,.16);
  border-radius: 8px;
  box-shadow: 0 11px 22px rgba(67,49,20,.17);
  animation: design-leaves-scene 6.4s cubic-bezier(.25,.65,.3,1) infinite;
}
.flow-output-one { --output-tilt: -9deg; --output-offset: -16px; animation-delay: -3.2s; }
.flow-output-two { --output-tilt: -3deg; --output-offset: -8px; animation-delay: -2.4s; }
.flow-output-three { --output-tilt: 4deg; --output-offset: 0px; animation-delay: -1.6s; }
.flow-output-four { --output-tilt: 10deg; --output-offset: 8px; animation-delay: -.8s; }
.flow-output-five { --output-tilt: 15deg; --output-offset: 16px; animation-delay: 0s; }
.design-art { padding: 10px 8px; }
.design-art small { font-size: clamp(5px,.55vw,7px); }
.design-art b { font-size: clamp(10px,1.05vw,15px); }
.design-art-four { color: #f8edda; background: #735138; }
.design-art-four i { width: 44px; height: 44px; right: -13px; top: 18%; background: #d89a51; box-shadow: -18px 28px 0 -7px #eed6ad; }
.design-art-five { color: #342a20; background: #e7d9c4; }
.design-art-five i { width: 39px; height: 49px; right: 6px; bottom: -20px; border-radius: 40% 40% 25% 25%; background: #c28a4a; }
.flow-output > span { bottom: 4px; font-size: 6px; }
.flow-label {
  bottom: auto;
  color: #8d7e67;
  font-size: 8px;
  letter-spacing: .16em;
}
.flow-label-in { left: 7%; top: 71%; }
.flow-label-out { right: 7%; top: 25%; }
.flow-spark { color: #bd7606; }
@keyframes sheet-cross-scene {
  0%, 5% { left: -15%; top: 18%; opacity: 0; transform: rotate(-11deg) scale(.82); }
  11% { opacity: 1; }
  27% { left: 12%; top: 29%; opacity: 1; transform: rotate(4deg) scale(1); }
  48% { left: 28%; top: 49%; opacity: 1; transform: rotate(-2deg) scale(.96); }
  61% { left: 42%; top: 64%; opacity: 1; transform: rotate(5deg) scale(.84); }
  68% { left: 48%; top: 69%; opacity: .95; transform: rotate(8deg) scale(.72); }
  74%, 100% { left: 49%; top: 69%; opacity: 0; transform: rotate(12deg) scale(.42); }
}
@keyframes design-leaves-scene {
  0%, 19% { left: 49%; top: 69%; opacity: 0; transform: translate(-50%,-50%) scale(.45) rotate(0); }
  27% { left: 56%; top: 66%; opacity: 1; transform: translate(-50%,-50%) scale(.7) rotate(var(--output-tilt)); }
  47% { left: 72%; top: 56%; opacity: 1; transform: translate(-50%,-50%) scale(.88) rotate(var(--output-tilt)); }
  68% { left: 91%; top: 41%; opacity: 1; transform: translate(-50%,-50%) scale(1) rotate(var(--output-tilt)); }
  83% { left: 105%; top: 31%; opacity: .85; transform: translate(-50%,-50%) scale(.94) rotate(var(--output-tilt)); }
  90%, 100% { left: 112%; top: 26%; opacity: 0; transform: translate(-50%,-50%) scale(.82) rotate(var(--output-tilt)); }
}
@keyframes stream-drift { to { stroke-dashoffset: -42; } }
@keyframes mark-arrive {
  0%, 35%, 69%, 100% { filter: none; }
  43%, 56% { filter: drop-shadow(0 0 18px rgba(252,176,23,.32)); }
}
@media (max-width: 900px) {
  .hero { min-height: clamp(700px, calc(100svh - 54px), 900px); }
  .hero-content { grid-template-columns: minmax(0,1fr); gap: 0; }
  .hero-showcase { width: 100vw; max-width: none; margin: 4px calc(50% - 50vw) 0; }
  .flow-motion { height: clamp(245px, 34vw, 320px); min-height: 245px; }
  .flow-engine { width: 118px; height: 116px; }
  .flow-engine img { width: 94px; height: 85px; }
}
@media (max-width: 640px) {
  .hero { min-height: 700px; padding: 60px 0 0; }
  .hero-content { align-items: center; text-align: center; }
  .hero-eyebrow { margin-bottom: 14px; }
  h1.hero-title { max-width: 540px; margin: 0 auto 14px; font-size: clamp(39px, 10vw, 54px); line-height: 1.12; }
  body[dir="rtl"] h1.hero-title { font-size: clamp(32px, 8vw, 42px) !important; line-height: 1.38 !important; }
  .hero-sub, body[dir="rtl"] .hero-sub { margin: 0 auto 17px; font-size: 14px !important; line-height: 1.8 !important; }
  .hero-cta { justify-content: center; margin-bottom: 12px; gap: 8px; }
  .hero-cta .btn { padding: 11px 12px; font-size: 11px; }
  .hero-showcase { margin-top: 6px; }
  .flow-motion { height: 250px; min-height: 240px; }
  .flow-sheet { width: 57px; height: 78px; }
  .flow-engine { top: 69%; width: 92px; height: 92px; }
  .flow-engine img { width: 75px; height: 68px; }
  .engine-orbit { inset: 2px; }
  .engine-label { bottom: -14px; font-size: 7px; }
  .flow-output { width: 61px; height: 86px; padding: 4px 4px 13px; }
  .design-art { padding: 6px 4px; }
  .design-art small { font-size: 4px; }
  .design-art b { font-size: 9px; }
  .flow-label { font-size: 6px; letter-spacing: .1em; }
  .flow-label-in { left: 4%; top: 72%; }
  .flow-label-out { right: 4%; top: 24%; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-sheet { left: 8% !important; top: 42% !important; opacity: .8 !important; animation: none !important; transform: translateY(var(--sheet-offset)) scale(.8) !important; }
  .flow-sheet-two { left: 16% !important; }
  .flow-sheet-three { left: 24% !important; }
  .flow-engine { animation: none !important; }
  .flow-output { left: 75% !important; top: calc(52% + var(--output-offset)) !important; opacity: .92 !important; animation: none !important; transform: translate(-50%,-50%) rotate(var(--output-tilt)) !important; }
  .flow-output-two { top: calc(54% + var(--output-offset)) !important; }
  .flow-output-four { top: calc(56% + var(--output-offset)) !important; }
  .flow-stream-glow { animation: none !important; }
}

/* A denser, gentler production stream: staggered sheets enter, then a varied run of designs exits. */
.flow-motion::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 68%, rgba(252,176,23,.13), transparent 17%),
    radial-gradient(ellipse at 78% 42%, rgba(236,199,139,.1), transparent 24%);
  animation: flow-atmosphere 5.2s ease-in-out infinite;
}
.flow-stream-glow { stroke-dasharray: 2 26; animation-duration: 2.6s; }
.flow-sheet { animation-duration: 6.2s; animation-timing-function: cubic-bezier(.42,0,.58,1); }
.flow-sheet-one { animation-delay: 0s; }
.flow-sheet-two { animation-delay: -.92s; }
.flow-sheet-three { animation-delay: -1.84s; }
.flow-sheet-four { --sheet-offset: 10px; animation-delay: -2.76s; }
.flow-engine { animation-duration: 6.2s; }
.flow-output { animation-duration: 6.2s; animation-timing-function: cubic-bezier(.42,0,.58,1); }
.flow-output-one { animation-delay: -5.4s; }
.flow-output-two { --output-tilt: -5deg; --output-offset: -12px; animation-delay: -4.8s; }
.flow-output-three { --output-tilt: 2deg; --output-offset: -4px; animation-delay: -4.2s; }
.flow-output-four { --output-tilt: 9deg; --output-offset: 5px; animation-delay: -3.6s; }
.flow-output-five { --output-tilt: 14deg; --output-offset: 13px; animation-delay: -3s; }
.flow-output-six { --output-tilt: -13deg; --output-offset: 19px; animation-delay: -2.4s; }
.flow-output-seven { --output-tilt: -7deg; --output-offset: -18px; animation-delay: -1.8s; }
.flow-output-eight { --output-tilt: 6deg; --output-offset: -9px; animation-delay: -1.2s; }
.flow-output-nine { --output-tilt: 12deg; --output-offset: 9px; animation-delay: -.6s; }
.flow-output-ten { --output-tilt: -2deg; --output-offset: 0px; animation-delay: 0s; }
.design-art-six { color: #f8eee2; background: #83566a; }
.design-art-six i { width: 52px; height: 52px; right: -16px; top: 22%; background: #dcab9c; box-shadow: -21px 32px 0 -8px #f2d8b1; }
.design-art-seven { color: #f6efe0; background: #43485b; }
.design-art-seven i { width: 36px; height: 50px; right: 3px; bottom: -12px; border-radius: 18px 18px 7px 7px; background: #d38f43; }
.design-art-eight { color: #644017; background: #f3cf81; }
.design-art-eight i { width: 42px; height: 42px; right: -10px; top: -10px; background: #fff6dc; box-shadow: -18px 37px 0 -10px #d5802f; }
.design-art-nine { color: #fcf3df; background: #676056; }
.design-art-nine i { width: 35px; height: 48px; right: 8px; bottom: -15px; border-radius: 40% 40% 18% 18%; background: #ca8350; }
.design-art-ten { color: #51405c; background: #e1d5e7; }
.design-art-ten i { width: 43px; height: 43px; right: -12px; top: 19%; background: #be98bd; box-shadow: -20px 28px 0 -8px #f6efcf; }
.flow-glint {
  position: absolute;
  z-index: 1;
  color: #b87912;
  font-size: clamp(9px,1.2vw,15px);
  pointer-events: none;
  opacity: 0;
  animation: glint-trail 3.8s ease-in-out infinite;
}
.flow-glint-one { left: 63%; top: 58%; animation-delay: -.3s; }
.flow-glint-two { left: 71%; top: 51%; animation-delay: -1.1s; }
.flow-glint-three { left: 81%; top: 43%; animation-delay: -1.9s; }
.flow-glint-four { left: 91%; top: 34%; animation-delay: -2.7s; }
@keyframes sheet-cross-scene {
  0%, 5% { left: -15%; top: 18%; opacity: 0; transform: rotate(-11deg) scale(.82); }
  11% { opacity: 1; }
  27% { left: 12%; top: 29%; opacity: 1; transform: rotate(4deg) scale(1); }
  48% { left: 28%; top: 49%; opacity: 1; transform: rotate(-2deg) scale(.96); }
  61% { left: 42%; top: 64%; opacity: 1; transform: rotate(5deg) scale(.84); }
  68% { left: 48%; top: 69%; opacity: .95; transform: rotate(8deg) scale(.72); }
  74%, 100% { left: 49%; top: 69%; opacity: 0; transform: rotate(12deg) scale(.42); }
}
@keyframes design-leaves-scene {
  0%, 19% { left: 49%; top: 69%; opacity: 0; transform: translate(-50%,-50%) scale(.45) rotate(0); }
  27% { left: 56%; top: 66%; opacity: 1; transform: translate(-50%,-50%) scale(.7) rotate(var(--output-tilt)); }
  47% { left: 72%; top: 56%; opacity: 1; transform: translate(-50%,-50%) scale(.88) rotate(var(--output-tilt)); }
  68% { left: 91%; top: 41%; opacity: 1; transform: translate(-50%,-50%) scale(1) rotate(var(--output-tilt)); }
  83% { left: 105%; top: 31%; opacity: .85; transform: translate(-50%,-50%) scale(.94) rotate(var(--output-tilt)); }
  90%, 100% { left: 112%; top: 26%; opacity: 0; transform: translate(-50%,-50%) scale(.82) rotate(var(--output-tilt)); }
}
@keyframes stream-drift { to { stroke-dashoffset: -56; } }
@keyframes flow-atmosphere {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}
@keyframes glint-trail {
  0%, 100% { opacity: 0; transform: translateY(7px) scale(.6) rotate(-15deg); }
  35%, 58% { opacity: .8; transform: translateY(0) scale(1) rotate(10deg); }
}
@media (prefers-reduced-motion: reduce) {
  .flow-sheet { animation-delay: 0s !important; }
  .flow-output { animation-delay: 0s !important; }
  .flow-glint { display: none !important; }
  .flow-motion::before { animation: none !important; opacity: .7; }
}

/* Unbranded product-ad templates replace the abstract poster cards in the stream. */
.flow-output {
  width: clamp(84px, 9.3vw, 130px);
  height: clamp(118px, 14vw, 185px);
  padding: 5px 5px 15px;
  border: 1px solid rgba(30,27,27,.22);
  border-radius: 8px;
  background: #fffdf9;
}
.design-art {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-rows: auto minmax(26px,1fr) auto auto 16px;
  gap: 2px;
  padding: 5px;
  overflow: hidden;
  border-radius: 4px;
  text-align: left;
}
.ad-phone { --ad-ink: #30262a; --ad-accent: #d97c96; color: var(--ad-ink); background: linear-gradient(145deg,#f5d8df,#fffaf7 66%,#e8d9ee); }
.ad-blender { --ad-ink: #393039; --ad-accent: #8e7fa5; color: var(--ad-ink); background: linear-gradient(145deg,#e5dced,#fffdf8 70%,#f4d9bd); }
.ad-market { --ad-ink: #40301f; --ad-accent: #df9d39; color: var(--ad-ink); background: linear-gradient(145deg,#f6dfae,#fffaf0 72%,#f0c3a3); }
.ad-shirt { --ad-ink: #3b2c30; --ad-accent: #bd7186; color: var(--ad-ink); background: linear-gradient(145deg,#f3d3d8,#fff8f3 72%,#edc68f); }
.ad-lamp { --ad-ink: #2e3038; --ad-accent: #9185a3; color: var(--ad-ink); background: linear-gradient(145deg,#dedcf0,#fffdf8 68%,#f1d9bd); }
.ad-audio { --ad-ink: #282630; --ad-accent: #cc8447; color: #f9f0e7; background: linear-gradient(145deg,#44404e,#766b7c 72%,#d3a26d); }
.ad-sneaker { --ad-ink: #342936; --ad-accent: #b8819b; color: var(--ad-ink); background: linear-gradient(145deg,#e3d9ec,#fffaf6 72%,#ebc9a9); }
.ad-grocery { --ad-ink: #382c25; --ad-accent: #d58a39; color: var(--ad-ink); background: linear-gradient(145deg,#f4d9ad,#fff9ee 70%,#e7b88e); }
.ad-catalog { --ad-ink: #30262a; --ad-accent: #db805a; color: var(--ad-ink); background: linear-gradient(145deg,#f4d5c6,#fffaf6 72%,#e4d8ec); }
.ad-perfume { --ad-ink: #342d36; --ad-accent: #9d789b; color: var(--ad-ink); background: linear-gradient(145deg,#e7d9e7,#fffaf4 68%,#e9c8a9); }
.ad-category { align-self: start; padding-right: 23px; font: 800 4px/1 'Inter',sans-serif; letter-spacing: .1em; white-space: nowrap; }
.ad-offer {
  position: absolute;
  z-index: 3;
  top: 3px;
  right: 3px;
  padding: 2px 3px;
  border-radius: 2px;
  color: #fffdf9;
  background: #25211f;
  font: 800 3.5px/1 'Inter',sans-serif;
  letter-spacing: .04em;
}
.ad-title { align-self: end; overflow: hidden; font: 900 7px/.98 'Inter',sans-serif !important; letter-spacing: -.02em; white-space: nowrap; text-overflow: ellipsis; }
.ad-spec { overflow: hidden; font: 600 4px/1 'Inter',sans-serif; letter-spacing: .02em; white-space: nowrap; text-overflow: ellipsis; }
.ad-price { display: flex; align-items: center; justify-content: space-between; gap: 2px; padding: 3px 4px; color: #fff; background: #171615; font: 900 7px/1 'Inter',sans-serif; white-space: nowrap; }
.ad-price small { font: 700 4px/1 'Inter',sans-serif; }
.flow-output > span { bottom: 4px; right: 5px; font-size: 5px; }
.flow-sheet {
  display: grid;
  grid-template-columns: 26px 1fr;
  grid-template-rows: 28px auto;
  align-content: start;
  column-gap: 5px;
  row-gap: 4px;
}
.excel-file-mark {
  position: relative;
  display: grid;
  place-items: center;
  grid-row: 1 / span 2;
  width: 26px;
  height: 30px;
  overflow: hidden;
  color: #fff;
  border-radius: 3px;
  background: linear-gradient(90deg,#107c41 0 43%,#21a366 43% 100%);
  box-shadow: 0 2px 5px rgba(16,91,54,.2);
}
.excel-file-mark::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 7px;
  height: 7px;
  background: linear-gradient(135deg,#d8f1e1 0 49%,#15834b 51%);
}
.excel-file-mark::after {
  content: '';
  position: absolute;
  top: 7px;
  right: 3px;
  bottom: 4px;
  width: 9px;
  opacity: .78;
  background: repeating-linear-gradient(to bottom,transparent 0 4px,rgba(255,255,255,.7) 4px 5px),repeating-linear-gradient(to right,transparent 0 4px,rgba(255,255,255,.55) 4px 5px);
}
.excel-file-mark b { z-index: 1; margin-left: -12px; font: 900 12px/1 'Inter',sans-serif; }
.excel-file-mark i { display: none; }
.sheet-type { grid-column: 2; align-self: end; margin: 0 0 2px; color: #347450; font-size: clamp(7px,.72vw,9px); letter-spacing: .04em; }
.sheet-cells { grid-column: 2; grid-row: 2; align-self: start; gap: 2px; }
.sheet-cells i { height: 5px; }
@media (max-width: 900px) {
  .flow-output { width: clamp(78px, 10vw, 98px); height: clamp(110px, 14vw, 138px); }
}
@media (max-width: 640px) {
  .flow-output { width: 72px; height: 102px; padding: 4px 4px 14px; }
  .design-art { grid-template-rows: auto minmax(22px,1fr) auto auto 13px; gap: 1px; padding: 3px; }
  .ad-category { font-size: 3px; }
  .ad-offer { top: 2px; right: 2px; font-size: 3px; }
  .ad-title { font-size: 6px !important; }
  .ad-spec { font-size: 3px; }
  .ad-price { padding: 2px; font-size: 6px; }
  .ad-price small { font-size: 3px; }
}

/* Keep the spreadsheet mark and its label neatly inside each incoming file. */
.flow-sheet {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  overflow: hidden;
}
.excel-file-mark {
  flex: none;
  width: clamp(30px,3.2vw,42px);
  height: clamp(33px,3.7vw,46px);
}
.excel-file-mark b {
  position: absolute;
  left: 3px;
  top: 50%;
  margin: 0;
  font-size: clamp(10px,.9vw,13px);
  transform: translateY(-50%);
}
.sheet-type {
  display: block;
  grid-column: auto;
  grid-row: auto;
  align-self: center;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  color: #347450;
  font-size: clamp(6px,.62vw,8px);
  line-height: 1;
  letter-spacing: .04em;
  text-align: center;
  text-overflow: clip;
  white-space: nowrap;
}
.sheet-cells {
  grid-column: auto;
  grid-row: auto;
  grid-template-columns: repeat(3,minmax(0,1fr));
  width: 100%;
  gap: 2px;
}
.sheet-cells i { height: clamp(3px,.45vw,6px); }

/* Keep each pass moving at a steady pace through its keyframes. */
.flow-sheet,
.flow-output,
.flow-route::after,
.flow-stream-glow {
  animation-timing-function: linear !important;
}
.flow-sheet,
.flow-output {
  will-change: transform, opacity;
}
.flow-label-out {
  top: auto;
  right: 7%;
  bottom: 7%;
}
@media (max-width: 640px) {
  .flow-label-out {
    top: auto;
    right: 4%;
    bottom: 8%;
  }
}

/* Real, unbranded catalog photography replaces the former CSS-drawn products. */
.product-render {
  min-height: 0;
  overflow: hidden;
  border-radius: 3px;
  background: #efe9df;
  box-shadow: inset 0 0 0 1px rgba(47, 39, 31, .06);
}
.product-render::before,
.product-render::after,
.product-render > i,
.product-render > b { display: none !important; }
.product-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.photo-phone { object-position: 50% 52%; }
.photo-blender { object-position: 50% 53%; }
.photo-market { object-position: 50% 50%; }
.photo-shirt { object-position: 50% 48%; }
.photo-lamp { object-position: 50% 49%; }
.photo-headphones { object-position: 50% 48%; }
.photo-sneakers { object-position: 50% 70%; }
.photo-skincare { object-position: 50% 50%; }
.photo-perfume { object-position: 50% 48%; }
.product-render.render-catalog {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 3px;
  padding: 3px;
  border: 0;
  border-radius: 3px;
  background: #f7f1e8;
  box-shadow: none;
}
.render-catalog > img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  border-radius: 2px;
}

/* Transparent, hand-built product packshots with proper ad hierarchy. */
.flow-output {
  width: clamp(104px, 10.4vw, 144px);
  height: clamp(148px, 15.3vw, 202px);
  padding: 6px 6px 17px;
  border-color: rgba(35, 30, 27, .18);
  border-radius: 10px;
  background: rgba(255, 253, 249, .96);
  box-shadow: 0 14px 28px rgba(63, 46, 28, .16), 0 2px 5px rgba(63, 46, 28, .08);
}
.design-art {
  position: relative;
  isolation: isolate;
  grid-template-rows: auto minmax(0, 1fr) auto auto 20px;
  gap: 3px;
  padding: 7px;
  border-radius: 6px;
}
.ad-phone { background: linear-gradient(150deg, #f4d2d9, #fffaf4 62%, #e7c0bf); }
.ad-blender { background: linear-gradient(150deg, #d9e9df, #fffdf8 63%, #e9d9c2); }
.ad-market { background: linear-gradient(150deg, #f4d899, #fff9ec 63%, #f3c5a1); }
.ad-shirt { background: linear-gradient(150deg, #edced0, #fffaf6 63%, #e9ceb0); }
.ad-lamp { background: linear-gradient(150deg, #e5d8c2, #fffaf2 65%, #d8d8e6); }
.ad-audio { background: linear-gradient(145deg, #34313a, #625b68 62%, #987556); }
.ad-sneaker { background: linear-gradient(150deg, #e1ddec, #fffdf8 63%, #ead4c3); }
.ad-grocery { background: linear-gradient(150deg, #eed7b2, #fffaf2 63%, #d8e0c6); }
.ad-catalog { background: linear-gradient(150deg, #f2d3c4, #fffaf4 64%, #e5d8ed); }
.ad-perfume { background: linear-gradient(150deg, #e7d9e8, #fffaf3 64%, #e6cda8); }
.ad-category {
  max-width: calc(100% - 28px);
  overflow: hidden;
  padding-top: 1px;
  color: color-mix(in srgb, var(--ad-ink, #342d2b) 70%, transparent);
  font-size: clamp(5px, .48vw, 6.5px);
  letter-spacing: .11em;
  line-height: 1.15;
  text-overflow: ellipsis;
}
.ad-offer {
  top: 5px;
  right: 5px;
  padding: 3px 4px;
  border-radius: 3px;
  font-size: clamp(4px, .4vw, 5.5px);
  box-shadow: 0 2px 4px rgba(0,0,0,.12);
}
.product-render {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.design-art .product-render::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: 51%;
  left: 50%;
  display: block !important;
  width: 68%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--ad-accent) 23%, white) 0%, color-mix(in srgb, var(--ad-accent) 11%, white) 58%, transparent 72%);
  transform: translate(-50%, -50%);
}
.product-photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 5px 3px rgba(42, 33, 29, .2));
}
.ad-audio .product-photo { filter: drop-shadow(0 6px 4px rgba(0, 0, 0, .3)); }
.ad-title {
  align-self: end;
  display: -webkit-box;
  overflow: hidden;
  color: var(--ad-ink, #292421);
  font: 900 clamp(7.5px, .75vw, 10px)/1.02 'Inter', sans-serif !important;
  letter-spacing: -.025em;
  white-space: normal;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ad-audio .ad-category, .ad-audio .ad-title, .ad-audio .ad-spec { color: #fff8ed; }
.ad-spec {
  overflow: hidden;
  color: color-mix(in srgb, var(--ad-ink, #342d2b) 72%, transparent);
  font: 650 clamp(4.5px, .47vw, 6.2px)/1.1 'Inter', sans-serif;
  letter-spacing: .04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ad-price {
  min-width: 0;
  overflow: hidden;
  padding: 4px 5px;
  border-radius: 3px;
  font-size: clamp(7.5px, .78vw, 10px);
  letter-spacing: -.015em;
  box-shadow: 0 2px 4px rgba(31, 25, 22, .12);
}
.ad-price small { font-size: clamp(4.5px, .43vw, 5.8px); }
.product-render.render-catalog {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  height: 100%;
  padding: 3px;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.render-catalog > img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  filter: drop-shadow(0 2px 2px rgba(44, 34, 26, .18));
}
.flow-output > span { bottom: 5px; right: 7px; font-size: 5.5px; letter-spacing: .12em; }
@media (max-width: 900px) {
  .flow-output { width: clamp(92px, 11vw, 116px); height: clamp(132px, 15.5vw, 162px); }
}
@media (max-width: 640px) {
  .flow-output { width: 78px; height: 110px; padding: 4px 4px 14px; }
  .design-art { grid-template-rows: auto minmax(0,1fr) auto auto 15px; gap: 1px; padding: 4px; }
  .ad-category { font-size: 3.6px; }
  .ad-offer { top: 3px; right: 3px; padding: 2px 3px; font-size: 3.4px; }
  .ad-title { font-size: 6.6px !important; }
  .ad-spec { font-size: 3.5px; }
  .ad-price { padding: 3px; font-size: 6.7px; }
  .ad-price small { font-size: 3.8px; }
  .flow-output > span { font-size: 4.6px; }
}

/* Campaign-card direction: editorial product photography fades into a designed name-and-price panel. */
.flow-output {
  width: clamp(132px, 13vw, 172px);
  height: clamp(184px, 18.2vw, 242px);
  padding: 5px 5px 16px;
  border: 0;
  border-radius: 11px;
  background: rgba(255, 253, 248, .96);
  box-shadow: 0 13px 28px rgba(58, 43, 24, .19), 0 2px 6px rgba(58,43,24,.1);
}
.design-art {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: 7px;
  background: var(--ad-paper, #f3eee5);
  text-align: left;
}
.ad-phone { --ad-ink:#30242a; --ad-accent:#c87579; --ad-paper:#f3dedc; }
.ad-blender { --ad-ink:#25382f; --ad-accent:#67856e; --ad-paper:#e1e9dc; }
.ad-market { --ad-ink:#44301c; --ad-accent:#d08532; --ad-paper:#f6e4bb; }
.ad-shirt { --ad-ink:#3a2d2c; --ad-accent:#ac6d62; --ad-paper:#eddad0; }
.ad-lamp { --ad-ink:#332d26; --ad-accent:#a5743d; --ad-paper:#e8ddc8; }
.ad-audio { --ad-ink:#27252c; --ad-accent:#c49361; --ad-paper:#e9e2d6; }
.ad-sneaker { --ad-ink:#312d35; --ad-accent:#786f87; --ad-paper:#e3dfeb; }
.ad-grocery { --ad-ink:#3b2b27; --ad-accent:#bf8557; --ad-paper:#e8d9c9; }
.ad-catalog { --ad-ink:#332822; --ad-accent:#c78255; --ad-paper:#f0ded0; }
.ad-perfume { --ad-ink:#382d39; --ad-accent:#96728d; --ad-paper:#e7dce7; }
.product-render {
  position: absolute;
  inset: 0 0 19%;
  display: block;
  min-height: 0;
  overflow: hidden;
  border-radius: 0;
  background: var(--ad-paper);
  box-shadow: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 68%, rgba(0,0,0,.78) 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 68%, rgba(0,0,0,.78) 82%, transparent 100%);
}
.product-render::before,
.product-render::after { display: none !important; }
.product-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
}
.photo-phone { object-position: 50% 54%; }
.photo-blender { object-position: 50% 53%; }
.photo-market { object-position: 50% 50%; }
.photo-shirt { object-position: 50% 47%; mix-blend-mode: multiply; }
.photo-lamp { object-position: 49% 49%; mix-blend-mode: multiply; }
.photo-headphones { object-position: 50% 49%; mix-blend-mode: multiply; }
.photo-sneakers { object-position: 50% 57%; mix-blend-mode: multiply; }
.photo-skincare { object-position: 50% 50%; mix-blend-mode: multiply; }
.photo-perfume { object-position: 50% 49%; }
.ad-category {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  max-width: 56%;
  overflow: hidden;
  padding: 4px 5px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 20px;
  color: var(--ad-ink);
  background: rgba(255, 252, 245, .8);
  box-shadow: 0 2px 7px rgba(38, 30, 23, .08);
  font: 800 clamp(5px, .48vw, 6.7px)/1 'Inter', sans-serif;
  letter-spacing: .11em;
  text-overflow: ellipsis;
  white-space: nowrap;
  backdrop-filter: blur(7px);
}
.ad-offer {
  position: absolute;
  z-index: 2;
  top: 7px;
  right: 7px;
  padding: 5px 6px;
  border-radius: 4px;
  color: #fffdf8;
  background: var(--ad-ink);
  box-shadow: 0 3px 8px rgba(31, 25, 22, .18);
  font: 850 clamp(5px, .47vw, 6.5px)/1 'Inter', sans-serif;
  letter-spacing: .06em;
}
.ad-title {
  position: absolute;
  z-index: 1;
  right: 9px;
  bottom: 42px;
  left: 9px;
  display: -webkit-box;
  overflow: hidden;
  color: var(--ad-ink);
  font: 900 clamp(9px, .88vw, 12px)/1.02 'Inter', sans-serif !important;
  letter-spacing: -.025em;
  text-overflow: ellipsis;
  white-space: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ad-spec {
  position: absolute;
  z-index: 1;
  bottom: 15px;
  left: 9px;
  max-width: 51%;
  overflow: hidden;
  color: color-mix(in srgb, var(--ad-ink) 74%, transparent);
  font: 700 clamp(4.8px, .47vw, 6.4px)/1.05 'Inter', sans-serif;
  letter-spacing: .035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ad-price {
  position: absolute;
  z-index: 1;
  right: 8px;
  bottom: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 45%;
  max-width: 51%;
  min-height: 25px;
  overflow: hidden;
  padding: 5px 6px;
  border-radius: 4px;
  color: #fff;
  background: var(--ad-ink);
  box-shadow: 0 3px 7px rgba(31, 25, 22, .13);
  font: 900 clamp(8px, .8vw, 11px)/1 'Inter', sans-serif;
  letter-spacing: -.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ad-price small { margin-left: 3px; font: 750 clamp(4px, .4vw, 5.5px)/1 'Inter', sans-serif; }
.product-render.render-catalog {
  position: absolute;
  inset: 0 0 19%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 2px;
  width: 100%;
  height: auto;
  padding: 22px 7px 6px;
  border: 0;
  border-radius: 0;
  background: var(--ad-paper);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 74%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 74%, transparent 100%);
}
.render-catalog > img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  border-radius: 2px;
  mix-blend-mode: multiply;
}
.flow-output > span { bottom: 4px; right: 8px; color: #796d5b; font-size: 5.5px; letter-spacing: .12em; }
.flow-output { animation-duration: 12s !important; }
.flow-output-one { animation-delay: -10.8s !important; }
.flow-output-two { animation-delay: -9.6s !important; }
.flow-output-three { animation-delay: -8.4s !important; }
.flow-output-four { animation-delay: -7.2s !important; }
.flow-output-five { animation-delay: -6s !important; }
.flow-output-six { animation-delay: -4.8s !important; }
.flow-output-seven { animation-delay: -3.6s !important; }
.flow-output-eight { animation-delay: -2.4s !important; }
.flow-output-nine { animation-delay: -1.2s !important; }
.flow-output-ten { animation-delay: 0s !important; }
@media (max-width: 900px) {
  .flow-output { width: 130px; height: 184px; }
}
@media (max-width: 640px) {
  .flow-output { width: 105px; height: 148px; padding: 4px 4px 14px; }
  .ad-category { top: 5px; left: 5px; padding: 3px 4px; font-size: 4.1px; }
  .ad-offer { top: 5px; right: 5px; padding: 4px 5px; font-size: 4px; }
  .ad-title { right: 6px; bottom: 33px; left: 6px; font-size: 7.8px !important; }
  .ad-spec { bottom: 13px; left: 6px; font-size: 4px; }
  .ad-price { right: 5px; bottom: 7px; min-width: 46%; min-height: 19px; padding: 4px; font-size: 7px; }
  .ad-price small { font-size: 3.4px; }
  .product-render.render-catalog { padding: 18px 5px 4px; }
}

/* Full campaign artwork: editorial photograph up top, deliberate offer and pricing below. */
.design-art { background: var(--ad-paper, #f3eee5); }
.product-render {
  inset: 0 0 34%;
  overflow: hidden;
  border-radius: 0;
  background: #ece6dc;
  -webkit-mask-image: none;
  mask-image: none;
}
.product-render::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: block !important;
  height: 15px;
  background: linear-gradient(to bottom, transparent, var(--ad-paper));
  pointer-events: none;
}
.product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  mix-blend-mode: normal;
}
.photo-phone { object-position: 50% 54%; }
.photo-blender { object-position: 50% 53%; }
.photo-market { object-position: 50% 50%; }
.photo-shirt { object-position: 50% 47%; }
.photo-lamp { object-position: 49% 49%; }
.photo-headphones { object-position: 50% 49%; }
.photo-sneakers { object-position: 50% 57%; }
.photo-skincare { object-position: 50% 50%; }
.photo-perfume { object-position: 50% 49%; }
.ad-category {
  top: 8px;
  left: 8px;
  max-width: 56%;
  padding: 5px 6px;
  border: 0;
  border-radius: 4px;
  color: #fffdf7;
  background: rgba(38, 34, 31, .83);
  box-shadow: 0 3px 9px rgba(0,0,0,.13);
  font-size: clamp(5px, .48vw, 6.7px);
  backdrop-filter: blur(5px);
}
.ad-offer {
  top: 7px;
  right: 7px;
  padding: 5px 6px;
  border-radius: 4px;
  color: #fff;
  background: var(--ad-accent, #bd8051);
  font-size: clamp(5px, .47vw, 6.5px);
}
.ad-title {
  right: 9px;
  bottom: 43px;
  left: 9px;
  color: var(--ad-ink, #302923);
  font-size: clamp(9px, .9vw, 12px) !important;
}
.ad-spec {
  bottom: 31px;
  left: 9px;
  max-width: 48%;
  color: color-mix(in srgb, var(--ad-ink) 72%, transparent);
  font-size: clamp(4.8px, .47vw, 6.4px);
}
.ad-price {
  right: 8px;
  bottom: 7px;
  min-width: 44%;
  max-width: 52%;
  min-height: 23px;
  padding: 5px 6px;
  color: #fff;
  background: var(--ad-ink, #302923);
  font-size: clamp(8px, .8vw, 11px);
}
.ad-price small { font-size: clamp(4px, .4vw, 5.5px); }
.product-render.render-catalog {
  inset: 0 0 34%;
  grid-template-columns: repeat(2,minmax(0,1fr));
  grid-template-rows: repeat(2,minmax(0,1fr));
  gap: 2px;
  padding: 22px 7px 8px;
  overflow: hidden;
  background: var(--ad-paper);
  -webkit-mask-image: none;
  mask-image: none;
}
.render-catalog > img {
  width: 100%;
  height: 100%;
  border-radius: 3px;
  object-fit: cover;
  mix-blend-mode: normal;
}
@media (max-width: 900px) {
  .flow-output { width: 130px; height: 184px; }
}
@media (max-width: 640px) {
  .flow-output { width: 105px; height: 148px; }
  .ad-category { top: 5px; left: 5px; padding: 4px 5px; font-size: 4px; }
  .ad-offer { top: 5px; right: 5px; padding: 4px 5px; font-size: 4px; }
  .ad-title { right: 6px; bottom: 34px; left: 6px; font-size: 7.8px !important; }
  .ad-spec { bottom: 25px; left: 6px; font-size: 4px; }
  .ad-price { right: 5px; bottom: 6px; min-width: 45%; min-height: 19px; padding: 4px; font-size: 7px; }
  .ad-price small { font-size: 3.4px; }
  .product-render.render-catalog { padding: 19px 5px 5px; }
}
@keyframes design-leaves-scene {
  0%, 19% { left: 49%; top: 69%; opacity: 0; transform: translate(-50%,-50%) scale(.42) rotate(0); }
  23% { left: 55%; top: 68%; opacity: .42; transform: translate(-50%,-50%) scale(.68) rotate(var(--output-tilt)); }
  27% { left: 61%; top: 65%; opacity: 1; transform: translate(-50%,-50%) scale(.94) rotate(var(--output-tilt)); }
  47% { left: 74%; top: 56%; opacity: 1; transform: translate(-50%,-50%) scale(1) rotate(var(--output-tilt)); }
  68% { left: 92%; top: 41%; opacity: 1; transform: translate(-50%,-50%) scale(1) rotate(var(--output-tilt)); }
  83% { left: 105%; top: 31%; opacity: .85; transform: translate(-50%,-50%) scale(.97) rotate(var(--output-tilt)); }
  90%, 100% { left: 112%; top: 26%; opacity: 0; transform: translate(-50%,-50%) scale(.91) rotate(var(--output-tilt)); }
}
/* Keep the finished ad sheets orderly and large enough to read while they stream out. */
.flow-output {
  width: clamp(138px, 13vw, 168px);
  height: clamp(190px, 17.8vw, 228px);
}
.ad-price { background: var(--ad-accent, #bd8051); }
.flow-output-one { --output-tilt: -2deg; --output-offset: -7px; }
.flow-output-two { --output-tilt: -1deg; --output-offset: -4px; }
.flow-output-three { --output-tilt: 0deg; --output-offset: 0px; }
.flow-output-four { --output-tilt: 1deg; --output-offset: 4px; }
.flow-output-five { --output-tilt: 2deg; --output-offset: 7px; }
.flow-output-six { --output-tilt: -2deg; --output-offset: 8px; }
.flow-output-seven { --output-tilt: -1deg; --output-offset: -8px; }
.flow-output-eight { --output-tilt: 0deg; --output-offset: -4px; }
.flow-output-nine { --output-tilt: 1deg; --output-offset: 5px; }
.flow-output-ten { --output-tilt: 2deg; --output-offset: 0px; }
@media (max-width: 900px) {
  .flow-output { width: 128px; height: 180px; }
}
@media (max-width: 640px) {
  .flow-output { width: 105px; height: 148px; }
}
.ad-audio .ad-title, .ad-audio .ad-spec { color: var(--ad-ink); }
.photo-shirt, .photo-sneakers { filter: contrast(1.08) saturate(1.04); }

/* Simple sample ads: plain color, one recognizable product illustration, invented name and price. */
.flow-output {
  width: clamp(130px, 12vw, 154px);
  height: clamp(174px, 16.5vw, 210px);
  padding: 5px;
  border: 1px solid rgba(45, 39, 32, .12);
  border-radius: 10px;
  background: #fffdf8;
  box-shadow: 0 12px 24px rgba(48,39,27,.16);
}
.design-art {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--art-bg, #f1e9df) !important;
  text-align: center;
}
.ad-phone { --art-bg:#f1dcda; --ad-ink:#33262b; --ad-accent:#c9787b; }
.ad-blender { --art-bg:#e2eee3; --ad-ink:#24382d; --ad-accent:#68896f; }
.ad-fridge { --art-bg:#e1edf2; --ad-ink:#263841; --ad-accent:#648da4; }
.ad-washer { --art-bg:#e9e4ef; --ad-ink:#332c3b; --ad-accent:#81719b; }
.ad-tshirt { --art-bg:#f0e2d2; --ad-ink:#3b3028; --ad-accent:#b38054; }
.ad-cup { --art-bg:#f3e8cd; --ad-ink:#403326; --ad-accent:#aa7950; }
.ad-headphones { --art-bg:#e3e5ed; --ad-ink:#292a31; --ad-accent:#777e9b; }
.ad-sneaker { --art-bg:#e8ecdf; --ad-ink:#30392f; --ad-accent:#73836c; }
.ad-skincare { --art-bg:#f2e3e3; --ad-ink:#3d2f30; --ad-accent:#b7787b; }
.ad-perfume { --art-bg:#ebe1ed; --ad-ink:#392d3d; --ad-accent:#927493; }
.product-render {
  position: absolute;
  inset: 5% 10% 28%;
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}
.product-render::before, .product-render::after { display: none !important; }
.product-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 7px 6px rgba(42, 37, 31, .14));
}
.design-art > .ad-title {
  position: absolute !important;
  right: 7px !important;
  bottom: 34px !important;
  left: 7px !important;
  display: block !important;
  overflow: hidden !important;
  color: var(--ad-ink) !important;
  font: 850 clamp(9px, .88vw, 12px)/1.1 'Inter', sans-serif !important;
  letter-spacing: -.025em !important;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap !important;
}
.design-art > .ad-price {
  position: absolute !important;
  right: 20%;
  bottom: 7px !important;
  left: 20%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: none;
  min-height: 21px;
  overflow: hidden;
  padding: 5px 7px;
  border-radius: 4px;
  color: #fff;
  background: var(--ad-ink);
  box-shadow: none;
  font: 850 clamp(8px, .78vw, 10px)/1 'Inter', sans-serif;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.design-art > .ad-price small {
  margin-left: 4px;
  font: 700 clamp(4.8px, .45vw, 6px)/1 'Inter', sans-serif;
}
.flow-output > span { display: none !important; }
@media (max-width: 900px) {
  .flow-output { width: 126px; height: 170px; }
}
@media (max-width: 640px) {
  .flow-output { width: 104px; height: 140px; padding: 4px; }
  .design-art > .ad-title { bottom: 28px !important; font-size: 7.4px !important; }
  .design-art > .ad-price { bottom: 6px !important; min-height: 18px; padding: 4px; font-size: 6.8px; }
  .design-art > .ad-price small { font-size: 3.8px; }
}
