/* Shared player styles. Each promo sets --cp-accent, --cp-bg, --cp-font on .cp; everything is scoped under .cp. */
.cp {
  --cp-accent: #F7931A;
  --cp-accent-2: #F06A0A;
  --cp-accent-ink: #1A1B1E;
  --cp-bg: #1A1B1E;
  --cp-card: #ffffff;
  --cp-ink: #1A1B1E;
  --cp-muted: #5C5F66;
  --cp-good: #2F9E44;
  --cp-bad: #E03131;
  --cp-font: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--cp-bg);
  border-radius: 18px;
  font-family: var(--cp-font);
  color: #fff;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  outline: none;
}
.cp *, .cp *::before, .cp *::after { box-sizing: border-box; margin: 0; padding: 0; }
.cp img { display: block; }

.cp-stage { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; transform-origin: 0 0; }
.cp-scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; overflow: hidden; }
.cp-scene.on { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.cp-scene.on.leaving { opacity: 0; transition: opacity .6s ease; }
.cp-scene > .cp-bg { position: absolute; inset: -4%; }
.cp-scene.on > .cp-bg { animation: cp-kenburns 9s ease-out both; }

/* Film look */
.cp-vignette { position: absolute; inset: 0; pointer-events: none; z-index: 20; background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.5) 100%); }
.cp-grain { position: absolute; inset: -50%; pointer-events: none; opacity: .05; z-index: 21; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); animation: cp-grain 1.2s steps(6) infinite; }
.cp-bars::before, .cp-bars::after { content: ''; position: absolute; left: 0; right: 0; height: 30px; background: #000; z-index: 22; }
.cp-bars::before { top: 0; } .cp-bars::after { bottom: 0; }

/* Lower-third caption */
.cp-caption { position: absolute; left: 72px; bottom: 66px; max-width: 680px; z-index: 30; }
.cp-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cp-accent); }
.cp-kicker::before { content: ''; width: 28px; height: 3px; border-radius: 2px; background: var(--cp-accent); }
.cp-line { margin-top: 12px; font-size: 32px; line-height: 1.22; font-weight: 700; letter-spacing: -.01em; text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.cp-caption.show .cp-kicker { animation: cp-up .6s .2s both; }
.cp-caption.show .cp-line { animation: cp-up .8s .45s both; }

/* Controls */
.cp-controls { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.cp-btn { appearance: none; border: 0; cursor: pointer; background: rgba(255,255,255,.12); color: #fff; height: 22px; min-width: 22px; padding: 0 9px; border-radius: 999px; font: 700 11px/22px var(--cp-font); display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.cp-btn:hover { background: rgba(255,255,255,.22); }
.cp-btn:focus-visible, .cp-sound-pill:focus-visible { outline: 2px solid var(--cp-accent); outline-offset: 2px; }
.cp-btn[aria-pressed="true"] { background: var(--cp-accent); color: var(--cp-accent-ink); }
.cp-progress { flex: 1; display: flex; gap: 4px; align-items: center; }
.cp-dot { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.18); overflow: hidden; cursor: pointer; border: 0; padding: 0; }
.cp-dot > i { display: block; height: 100%; width: 0; background: var(--cp-accent); }
.cp-langs { display: inline-flex; gap: 4px; }

/* «Sound on» pill: browsers allow sound only after a click */
.cp-sound-pill { position: absolute; right: 18px; top: 44px; z-index: 41; display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.55); backdrop-filter: blur(6px); color: #fff; border-radius: 999px; padding: 9px 16px 9px 12px; font: 700 14px var(--cp-font); cursor: pointer; animation: cp-breathe 2.4s ease-in-out infinite; }
.cp-sound-pill svg { flex: none; }
.cp-sound-on .cp-sound-pill { display: none; }
.cp-render .cp-controls, .cp-render .cp-sound-pill { display: none !important; }
.cp-render .cp-bars::after { display: block; }

/* Shared pieces */
.cp-card { position: absolute; background: var(--cp-card); color: var(--cp-ink); border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.cp-chip { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.cp-big { font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.cp-word { display: inline-block; opacity: 0; }
.cp-scene.on .cp-word { animation: cp-word .6s cubic-bezier(.2,1.2,.4,1) forwards; }

@keyframes cp-kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes cp-grain { 0% { transform: translate(0,0); } 50% { transform: translate(-6%,4%); } 100% { transform: translate(4%,-6%); } }
@keyframes cp-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes cp-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes cp-word { from { opacity: 0; transform: translateY(30px) scale(.9); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes cp-breathe { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.25); } 50% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } }
@keyframes cp-fill { to { width: 100%; } }
@keyframes cp-draw { to { stroke-dashoffset: 0; } }
@keyframes cp-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes cp-inout { 0% { opacity: 0; transform: translateY(8px); } 20%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes cp-stamp { from { opacity: 0; transform: rotate(-10deg) scale(2.2); } to { opacity: 1; transform: rotate(-10deg) scale(1); } }
@keyframes cp-shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }
@keyframes cp-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes cp-ring { from { opacity: .6; transform: scale(1); } to { opacity: 0; transform: scale(2.6); } }
@keyframes cp-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .cp *, .cp *::before, .cp *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .cp-grain { display: none; }
}
/* ---------- S1 dawn on the site ---------- */
.s-dawn .cp-bg { background: linear-gradient(180deg, #121316 0%, #2A1A12 55%, #7A3410 78%, #F7931A 100%); }
.s-dawn .sun { position: absolute; left: 820px; top: 560px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, #FFD08A 0%, #F7931A 55%, rgba(247,147,26,0) 72%); }
.s-dawn.on .sun { animation: cp-sunrise 7s ease-out both; }
@keyframes cp-sunrise { from { transform: translateY(80px); opacity: .4; } to { transform: translateY(-70px); opacity: 1; } }
.s-dawn svg.city { position: absolute; left: 0; bottom: 0; width: 1280px; height: 720px; }
.s-dawn .draw { stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.s-dawn.on .draw { animation: cp-draw 4s .3s ease forwards; }
@keyframes cp-draw { to { stroke-dashoffset: 0; } }
.s-dawn .hook { transform-origin: 980px 150px; }
.s-dawn.on .hook { animation: cp-swing 4s ease-in-out infinite alternate; }
@keyframes cp-swing { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
.s-dawn .time { position: absolute; right: 72px; top: 70px; font-size: 64px; font-weight: 800; letter-spacing: -.02em; color: rgba(255,255,255,.9); font-variant-numeric: tabular-nums; }

/* ---------- S2 scattered papers ---------- */
.s-chaos .cp-bg { background: radial-gradient(circle at 50% 40%, #2B2D33 0%, #141518 70%); }
.s-chaos .paper { position: absolute; width: 230px; padding: 16px 18px; background: #FBF8F1; color: #333; border-radius: 6px; box-shadow: 0 18px 40px rgba(0,0,0,.5); font-weight: 700; font-size: 19px; }
.s-chaos .paper small { display: block; margin-top: 10px; height: 8px; border-radius: 4px; background: #E6E0D2; }
.s-chaos .paper small + small { width: 70%; }
.s-chaos .paper.tag { width: auto; background: #FFE066; font-size: 18px; }
.s-chaos .paper.chat { background: #DCF8C6; }
.s-chaos .paper.call { background: #FFE3E3; color: #C92A2A; }
.s-chaos.on .paper { animation: cp-throw .9s cubic-bezier(.2,1.2,.4,1) both, cp-jitter 2.4s 1.2s ease-in-out infinite; }
@keyframes cp-throw { from { opacity: 0; transform: translate(var(--fx), var(--fy)) rotate(0deg) scale(.7); } to { opacity: 1; transform: rotate(var(--r)); } }
@keyframes cp-jitter { 0%, 100% { transform: rotate(var(--r)); } 50% { transform: rotate(calc(var(--r) + 2deg)) translateY(-4px); } }

/* ---------- S3 logo reveal ---------- */
.s-reveal .cp-bg { background: radial-gradient(circle at 50% 45%, #3A2614 0%, #1A1B1E 60%); }
.s-reveal .lockup { position: absolute; left: 0; right: 0; top: 170px; display: flex; flex-direction: column; align-items: center; }
.s-reveal .mark { width: 170px; height: 170px; }
.s-reveal.on .mark { animation: cp-drop 1.1s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes cp-drop { 0% { opacity: 0; transform: translateY(-160px) rotate(-14deg); } 70% { opacity: 1; } 100% { transform: none; } }
.s-reveal .word { margin-top: 24px; font-size: 76px; font-weight: 800; letter-spacing: -.035em; }
.s-reveal .tag { margin-top: 6px; font-size: 22px; font-weight: 600; color: rgba(255,255,255,.7); }
.s-reveal.on .word { animation: cp-up .8s .7s both; }
.s-reveal.on .tag { animation: cp-up .8s 1s both; }
.s-reveal .rings { position: absolute; left: 640px; top: 255px; }
.s-reveal .rings i { position: absolute; left: -90px; top: -90px; width: 180px; height: 180px; border-radius: 50%; border: 2px solid var(--cp-orange); opacity: 0; }
.s-reveal.on .rings i { animation: cp-ring 2.4s .9s ease-out infinite; }
.s-reveal.on .rings i:nth-child(2) { animation-delay: 1.7s; }
@keyframes cp-ring { from { opacity: .6; transform: scale(1); } to { opacity: 0; transform: scale(2.6); } }

/* ---------- S4 request → quote ---------- */
.s-quote .cp-bg { background: linear-gradient(135deg, #1A1B1E 0%, #22242A 100%); }
.s-quote .mail { left: 110px; top: 130px; width: 380px; padding: 22px; }
.s-quote .mail .from { font-size: 14px; color: var(--cp-muted); font-weight: 600; }
.s-quote .mail .subj { margin-top: 8px; font-size: 20px; font-weight: 800; }
.s-quote .mail .body { margin-top: 14px; }
.s-quote .mail .body i { display: block; height: 9px; border-radius: 5px; background: #ECEDEF; margin-top: 9px; }
.s-quote .mail .body i:nth-child(2) { width: 85%; } .s-quote .mail .body i:nth-child(3) { width: 60%; }
.s-quote.on .mail { animation: cp-up .7s .2s both; }
.s-quote .arrow { position: absolute; left: 520px; top: 228px; width: 120px; height: 4px; background: rgba(255,255,255,.25); border-radius: 2px; }
.s-quote .arrow::after { content: ''; position: absolute; right: -2px; top: -7px; border-left: 14px solid rgba(255,255,255,.25); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.s-quote .arrow i { position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--cp-orange); border-radius: 2px; }
.s-quote.on .arrow i { animation: cp-fill 1s 1s ease forwards; }
@keyframes cp-fill { to { width: 100%; } }
.s-quote .quote { left: 670px; top: 90px; width: 500px; padding: 24px; }
.s-quote.on .quote { animation: cp-up .7s 1.6s both; }
.s-quote .quote .head { display: flex; justify-content: space-between; align-items: center; }
.s-quote .quote h4 { font-size: 20px; font-weight: 800; }
.s-quote .quote .chip { background: var(--cp-orange-soft); color: #B35400; font-size: 12px; padding: 5px 10px; }
.s-quote .quote .row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #EEF0F3; font-size: 16px; font-weight: 600; }
.s-quote .quote .row span:last-child { font-variant-numeric: tabular-nums; }
.s-quote.on .quote .row { animation: cp-up .5s both; }
.s-quote.on .quote .row:nth-of-type(1) { animation-delay: 2.1s; }
.s-quote.on .quote .row:nth-of-type(2) { animation-delay: 2.4s; }
.s-quote.on .quote .row:nth-of-type(3) { animation-delay: 2.7s; }
.s-quote .quote .total { display: flex; justify-content: space-between; margin-top: 14px; font-size: 22px; font-weight: 800; }
.s-quote.on .quote .total { animation: cp-up .6s 3.1s both; }

/* ---------- S5 phone on site ---------- */
.s-crew .cp-bg { background: linear-gradient(180deg, #2A1A12 0%, #1A1B1E 60%); }
.s-crew .phone { position: absolute; left: 820px; top: 70px; width: 290px; height: 600px; border-radius: 46px; background: #0d0d0f; padding: 12px; box-shadow: 0 40px 90px rgba(0,0,0,.6); }
.s-crew .phone .screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #F1F2F4; position: relative; }
.s-crew .phone img { width: 100%; display: block; }
.s-crew .phone .notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 34%; height: 22px; background: #0d0d0f; border-radius: 0 0 14px 14px; z-index: 2; }
.s-crew.on .phone { animation: cp-phone 1s .1s cubic-bezier(.2,1,.3,1) both; }
@keyframes cp-phone { from { opacity: 0; transform: translateY(120px) rotate(6deg); } to { opacity: 1; transform: rotate(3deg); } }
.s-crew .tap { position: absolute; left: 54px; top: 230px; width: 46px; height: 46px; border-radius: 50%; border: 3px solid #fff; opacity: 0; }
.s-crew.on .tap { animation: cp-tap 1.2s 1.6s ease-out 2; }
@keyframes cp-tap { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.8); } }
.s-crew .toast { left: 640px; top: 420px; padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 17px; }
.s-crew .toast .ok { width: 34px; height: 34px; border-radius: 50%; background: var(--cp-green); display: grid; place-items: center; }
.s-crew.on .toast { animation: cp-pop .6s 2.3s cubic-bezier(.2,1.4,.4,1) both; }
.s-crew .langs { position: absolute; left: 1138px; top: 120px; display: flex; flex-direction: column; gap: 10px; }
.s-crew .langs span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); color: #fff; }
.s-crew.on .langs span { animation: cp-pop .5s both; }
.s-crew .offline { left: 110px; top: 120px; padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 16px; background: #26282D; color: #fff; border: 1px solid rgba(255,255,255,.12); }
.s-crew.on .offline { animation: cp-up .7s 3.2s both; }

/* The English screenshot (also used for German) is a wider phone: the frame follows its shape. */
.cp-lang-en .s-crew .phone, .cp-lang-de .s-crew .phone { height: auto; top: 110px; }
.cp-lang-en .s-crew .phone .screen, .cp-lang-de .s-crew .phone .screen { height: auto; aspect-ratio: 720 / 1280; }

/* ---------- S6 diary and SAL ---------- */
.s-progress .cp-bg { background: linear-gradient(135deg, #1A1B1E 0%, #1F2A22 100%); }
.s-progress .diary { left: 110px; top: 110px; width: 470px; padding: 24px; }
.s-progress .diary h4 { font-size: 20px; font-weight: 800; }
.s-progress .diary li { list-style: none; display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid #EEF0F3; font-size: 16px; font-weight: 600; }
.s-progress .diary li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--cp-orange); flex: none; }
.s-progress.on .diary { animation: cp-up .7s .2s both; }
.s-progress.on .diary li { animation: cp-up .5s both; }
.s-progress.on .diary li:nth-child(1) { animation-delay: .7s; } .s-progress.on .diary li:nth-child(2) { animation-delay: 1s; } .s-progress.on .diary li:nth-child(3) { animation-delay: 1.3s; }
.s-progress .bar { margin-top: 18px; }
.s-progress .bar .lbl { display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; color: var(--cp-muted); }
.s-progress .bar .track { margin-top: 8px; height: 12px; border-radius: 6px; background: #EEF0F3; overflow: hidden; }
.s-progress .bar .track i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cp-orange), var(--cp-orange-2)); border-radius: 6px; }
.s-progress.on .bar .track i { animation: cp-progress 2s 1.6s ease forwards; }
@keyframes cp-progress { to { width: 75%; } }
.s-progress .sal { left: 780px; top: 80px; width: 380px; height: 470px; padding: 26px; background: #FBF8F1; transform: rotate(3deg); }
.s-progress .sal .t { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--cp-muted); text-transform: uppercase; }
.s-progress .sal .n { margin-top: 6px; font-size: 26px; font-weight: 800; }
.s-progress .sal i { display: block; height: 10px; border-radius: 5px; background: #E6E0D2; margin-top: 16px; }
.s-progress .sal i:nth-of-type(odd) { width: 80%; }
.s-progress.on .sal { animation: cp-sal .8s 2.4s cubic-bezier(.2,1,.3,1) both; }
@keyframes cp-sal { from { opacity: 0; transform: translateY(60px) rotate(8deg); } to { opacity: 1; transform: rotate(3deg); } }
.s-progress .stamp { position: absolute; right: 22px; bottom: 40px; border: 4px solid var(--cp-green); color: var(--cp-green); border-radius: 12px; padding: 8px 14px; font-weight: 800; font-size: 20px; transform: rotate(-10deg); background: rgba(255,255,255,.6); }
.s-progress.on .stamp { animation: cp-stamp .5s 3.4s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes cp-stamp { from { opacity: 0; transform: rotate(-10deg) scale(2.2); } to { opacity: 1; transform: rotate(-10deg) scale(1); } }

/* ---------- S7 deadlines ---------- */
.s-deadlines .cp-bg { background: radial-gradient(circle at 70% 30%, #33241A 0%, #1A1B1E 65%); }
.s-deadlines .docs { position: absolute; left: 110px; top: 110px; display: flex; gap: 22px; }
.s-deadlines .doc { position: relative; width: 320px; padding: 22px; background: #fff; color: var(--cp-ink); border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.s-deadlines .doc .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--cp-orange-soft); display: grid; place-items: center; }
.s-deadlines .doc h5 { margin-top: 14px; font-size: 19px; font-weight: 800; }
.s-deadlines .doc .who { margin-top: 4px; font-size: 14px; color: var(--cp-muted); font-weight: 600; }
.s-deadlines .doc .state { margin-top: 16px; position: relative; height: 32px; }
.s-deadlines .doc .state .cp-chip { position: absolute; left: 0; top: 0; }
.s-deadlines .warn { background: #FFE3E3; color: #C92A2A; }
.s-deadlines .sent { background: #E7F5FF; color: #1864AB; opacity: 0; }
.s-deadlines .okk { background: #EBFBEE; color: #237032; opacity: 0; }
.s-deadlines.on .doc { animation: cp-up .6s both; }
.s-deadlines.on .doc:nth-child(2) { animation-delay: .25s; } .s-deadlines.on .doc:nth-child(3) { animation-delay: .5s; }
.s-deadlines.on .warn { animation: cp-out .4s 2s forwards; }
.s-deadlines.on .sent { animation: cp-inout 1.6s 2.2s both; }
.s-deadlines.on .okk { animation: cp-pop .6s 3.8s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes cp-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes cp-inout { 0% { opacity: 0; transform: translateY(8px); } 20%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-8px); } }

/* ---------- S8 client area ---------- */
.s-client .cp-bg { background: linear-gradient(135deg, #1A1B1E 0%, #1E2433 100%); }
.s-client .browser { left: 150px; top: 80px; width: 980px; height: 440px; overflow: hidden; }
.s-client .browser .top { height: 42px; background: #EEF0F3; display: flex; align-items: center; gap: 8px; padding: 0 16px; }
.s-client .browser .top i { width: 12px; height: 12px; border-radius: 50%; background: #D0D3D9; }
.s-client .browser .top span { margin-left: 16px; background: #fff; border-radius: 8px; height: 24px; flex: 1; max-width: 420px; font-size: 12px; color: var(--cp-muted); display: flex; align-items: center; padding: 0 12px; font-weight: 600; }
.s-client .browser .content { padding: 26px 30px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.s-client .browser h4 { font-size: 22px; font-weight: 800; }
.s-client .browser .muted { color: var(--cp-muted); font-size: 14px; font-weight: 600; margin-top: 4px; }
.s-client .photos { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.s-client .photos i { height: 96px; border-radius: 12px; background: linear-gradient(135deg, #CED4DA, #ADB5BD); }
.s-client .photos i:nth-child(2) { background: linear-gradient(135deg, #FFD8A8, #F7931A); }
.s-client .photos i:nth-child(3) { background: linear-gradient(135deg, #B2F2BB, #69DB7C); }
.s-client .prog { margin-top: 18px; height: 10px; border-radius: 5px; background: #EEF0F3; overflow: hidden; }
.s-client .prog i { display: block; height: 100%; width: 75%; background: var(--cp-orange); border-radius: 5px; }
.s-client .qcard { border: 1px solid #EEF0F3; border-radius: 16px; padding: 20px; position: relative; }
.s-client .qcard .amt { margin-top: 10px; font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; }
.s-client .accept { margin-top: 18px; width: 100%; height: 50px; border-radius: 999px; background: var(--cp-green); color: #fff; font-weight: 800; font-size: 17px; display: grid; place-items: center; position: relative; overflow: hidden; }
.s-client .accept .done { position: absolute; inset: 0; display: grid; place-items: center; background: #237032; opacity: 0; }
.s-client.on .browser { animation: cp-up .8s .1s both; }
.s-client.on .accept { animation: cp-press .3s 2.6s both; }
.s-client.on .accept .done { animation: cp-fade .3s 2.8s forwards; }
@keyframes cp-press { 50% { transform: scale(.96); } }
@keyframes cp-fade { to { opacity: 1; } }
.s-client .cursor { position: absolute; left: 1100px; top: 620px; width: 26px; height: 26px; z-index: 5; }
.s-client.on .cursor { animation: cp-cursor 2.4s .4s ease-in-out both; }
@keyframes cp-cursor { to { transform: translate(-150px, -262px); } }

/* ---------- S9 closing ---------- */
.s-close .cp-bg { background: radial-gradient(circle at 50% 40%, #3A2614 0%, #1A1B1E 60%); }
.s-close .end { position: absolute; left: 0; right: 0; top: 150px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.s-close .row { display: flex; align-items: center; gap: 26px; }
.s-close .mark { width: 120px; height: 120px; }
.s-close .word { font-size: 84px; font-weight: 800; letter-spacing: -.035em; }
.s-close .by { margin-top: 10px; font-size: 20px; font-weight: 600; color: rgba(255,255,255,.65); }
.s-close .tag { margin-top: 30px; font-size: 30px; font-weight: 700; max-width: 900px; line-height: 1.25; }
.s-close .tag em { font-style: normal; color: var(--cp-orange); }
.s-close .cta { margin-top: 34px; display: inline-flex; align-items: center; gap: 12px; background: var(--cp-orange); color: var(--cp-charcoal); font-weight: 800; font-size: 22px; padding: 16px 30px; border-radius: 999px; text-decoration: none; }
.s-close .url { margin-top: 16px; font-size: 18px; font-weight: 700; color: rgba(255,255,255,.7); }
.s-close.on .row { animation: cp-pop .8s .1s cubic-bezier(.2,1.4,.4,1) both; }
.s-close.on .by { animation: cp-up .6s .5s both; }
.s-close.on .tag { animation: cp-up .7s .8s both; }
.s-close.on .cta { animation: cp-pop .6s 1.3s cubic-bezier(.2,1.4,.4,1) both; }
.s-close.on .url { animation: cp-up .6s 1.6s both; }


/* ================= Cantiere: brand ================= */
.cp-cantiere { --cp-accent: #F7931A; --cp-accent-2: #F06A0A; --cp-accent-ink: #1A1B1E; --cp-bg: #1A1B1E; --cp-orange: #F7931A; --cp-orange-2: #F06A0A; --cp-orange-soft: #FFF0DC; --cp-charcoal: #1A1B1E; --cp-green: #2F9E44; --cp-red: #E03131; --cp-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }

/* ---------- Hook: the question over the waking site ---------- */
.s-hook .cp-bg { background: linear-gradient(180deg, #0E0F12 0%, #2A1A12 60%, #7A3410 85%, #F7931A 100%); }
.s-hook svg.city { position: absolute; left: 0; bottom: 0; width: 1280px; height: 720px; opacity: .55; }
.s-hook .q { position: absolute; left: 72px; top: 120px; width: 1040px; font-size: 84px; }
.s-hook .q .l2 { color: var(--cp-accent); }
.s-hook .clock { position: absolute; right: 90px; top: 90px; width: 120px; height: 120px; border-radius: 50%; border: 6px solid rgba(255,255,255,.85); }
.s-hook .clock i { position: absolute; left: 50%; top: 50%; width: 6px; border-radius: 3px; background: #fff; transform-origin: 50% 100%; }
.s-hook .clock .h { height: 32px; margin: -32px 0 0 -3px; }
.s-hook .clock .m { height: 46px; margin: -46px 0 0 -3px; background: var(--cp-accent); }
.s-hook.on .clock .m { animation: cp-spin 2s linear infinite; }
.s-hook.on .clock .h { animation: cp-spin 24s linear infinite; }
.s-hook .buzz { position: absolute; right: 90px; top: 300px; display: flex; flex-direction: column; gap: 10px; }
.s-hook .buzz span { background: rgba(14,15,17,.85); border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: 17px; padding: 9px 16px; }
.s-hook.on .buzz span { animation: cp-pop .5s cubic-bezier(.2,1.4,.4,1) both, cp-shake .5s 2.4s 2; }

/* ---------- Cost: what the scatter costs ---------- */
.s-cost .cp-bg { background: radial-gradient(circle at 50% 35%, #3A1717 0%, #161618 65%); }
.s-cost .grid { position: absolute; left: 110px; top: 96px; width: 1060px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.s-cost .tile { position: relative; background: #fff; color: var(--cp-ink); border-radius: 20px; padding: 22px 20px 24px; min-height: 250px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.s-cost .tile .ic { width: 58px; height: 58px; border-radius: 16px; background: #FFE3E3; display: grid; place-items: center; }
.s-cost .tile h5 { margin-top: 18px; font-size: 21px; font-weight: 800; line-height: 1.2; }
.s-cost .tile p { margin-top: 8px; font-size: 15px; color: var(--cp-muted); font-weight: 600; line-height: 1.35; }
.s-cost .tile .x { position: absolute; right: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--cp-bad); display: grid; place-items: center; }
.s-cost.on .tile { animation: cp-up .6s both; }
.s-cost.on .tile:nth-child(2) { animation-delay: .35s; } .s-cost.on .tile:nth-child(3) { animation-delay: .7s; } .s-cost.on .tile:nth-child(4) { animation-delay: 1.05s; }
.s-cost.on .tile .x { animation: cp-pop .5s cubic-bezier(.2,1.6,.4,1) both; }
.s-cost.on .tile:nth-child(1) .x { animation-delay: 1.6s; } .s-cost.on .tile:nth-child(2) .x { animation-delay: 1.9s; } .s-cost.on .tile:nth-child(3) .x { animation-delay: 2.2s; } .s-cost.on .tile:nth-child(4) .x { animation-delay: 2.5s; }

/* ---------- Flow: from request to payment, one line ---------- */
.s-flow .cp-bg { background: linear-gradient(135deg, #1A1B1E 0%, #221A14 100%); }
.s-flow .line { position: absolute; left: 150px; right: 150px; top: 262px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.14); }
.s-flow .line i { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--cp-accent), #FFC15A); }
.s-flow.on .line i { animation: cp-fill 4.2s .4s linear forwards; }
.s-flow .nodes { position: absolute; left: 110px; right: 110px; top: 200px; display: flex; justify-content: space-between; }
.s-flow .node { width: 150px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.s-flow .node .c { width: 128px; height: 128px; border-radius: 34px; background: #26282D; border: 2px solid rgba(255,255,255,.14); display: grid; place-items: center; transition: none; }
.s-flow .node .c svg { stroke: rgba(255,255,255,.55); }
.s-flow .node b { margin-top: 16px; font-size: 19px; font-weight: 800; }
.s-flow .node small { margin-top: 4px; font-size: 14px; color: rgba(255,255,255,.6); font-weight: 600; }
.s-flow.on .node .c { animation: cp-light .5s both; }
.s-flow.on .node .c svg { animation: cp-light-ic .5s both; }
.s-flow.on .node:nth-child(1) .c, .s-flow.on .node:nth-child(1) .c svg { animation-delay: .4s; }
.s-flow.on .node:nth-child(2) .c, .s-flow.on .node:nth-child(2) .c svg { animation-delay: 1.2s; }
.s-flow.on .node:nth-child(3) .c, .s-flow.on .node:nth-child(3) .c svg { animation-delay: 2s; }
.s-flow.on .node:nth-child(4) .c, .s-flow.on .node:nth-child(4) .c svg { animation-delay: 2.8s; }
.s-flow.on .node:nth-child(5) .c, .s-flow.on .node:nth-child(5) .c svg { animation-delay: 3.6s; }
.s-flow.on .node:nth-child(6) .c, .s-flow.on .node:nth-child(6) .c svg { animation-delay: 4.4s; }
@keyframes cp-light { to { background: var(--cp-accent); border-color: var(--cp-accent); transform: translateY(-6px); box-shadow: 0 18px 40px rgba(247,147,26,.35); } }
@keyframes cp-light-ic { to { stroke: #1A1B1E; } }

/* ---------- Control: margins per job ---------- */
.s-kpi .cp-bg { background: linear-gradient(135deg, #1A1B1E 0%, #16211B 100%); }
.s-kpi .dash { left: 110px; top: 60px; width: 700px; height: 410px; padding: 26px 28px; }
.s-kpi .dash h4 { font-size: 20px; font-weight: 800; }
.s-kpi .dash .sub { margin-top: 2px; font-size: 14px; color: var(--cp-muted); font-weight: 600; }
.s-kpi .bars { position: absolute; left: 28px; right: 28px; bottom: 60px; height: 260px; display: flex; align-items: flex-end; gap: 26px; border-bottom: 2px solid #EEF0F3; }
.s-kpi .bar { flex: 1; position: relative; height: 100%; display: flex; align-items: flex-end; }
.s-kpi .bar i { display: block; width: 100%; height: 0; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, #69DB7C, var(--cp-good)); }
.s-kpi .bar.low i { background: linear-gradient(180deg, #FF8787, var(--cp-bad)); }
.s-kpi .bar span { position: absolute; left: 0; right: 0; bottom: -30px; text-align: center; font-size: 13px; font-weight: 700; color: var(--cp-muted); }
.s-kpi .bar em { position: absolute; left: 0; right: 0; text-align: center; font-style: normal; font-size: 15px; font-weight: 800; opacity: 0; }
.s-kpi .thr { position: absolute; left: 0; right: 0; border-top: 2px dashed #FA5252; z-index: 2; }
.s-kpi .thr b { position: absolute; left: -4px; top: -24px; background: #fff; padding: 0 4px; font-size: 12px; color: #E03131; font-weight: 800; }
.s-kpi.on .bar i { animation: cp-grow 1.2s cubic-bezier(.2,1,.3,1) forwards; }
.s-kpi.on .bar:nth-child(2) i { animation-delay: .15s; } .s-kpi.on .bar:nth-child(3) i { animation-delay: .3s; } .s-kpi.on .bar:nth-child(4) i { animation-delay: .45s; } .s-kpi.on .bar:nth-child(5) i { animation-delay: .6s; }
.s-kpi.on .bar em { animation: cp-up .4s 1.4s forwards; }
@keyframes cp-grow { to { height: var(--h); } }
.s-kpi .alert { left: 820px; top: 150px; width: 360px; padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; }
.s-kpi .alert .b { width: 42px; height: 42px; border-radius: 12px; background: #FFE3E3; display: grid; place-items: center; flex: none; }
.s-kpi .alert b { display: block; font-size: 17px; font-weight: 800; }
.s-kpi .alert small { display: block; margin-top: 4px; font-size: 14px; color: var(--cp-muted); font-weight: 600; line-height: 1.35; }
.s-kpi.on .alert { animation: cp-alert .7s 2.2s cubic-bezier(.2,1.3,.4,1) both; }
@keyframes cp-alert { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
.s-kpi .mini { position: absolute; left: 820px; display: flex; gap: 14px; }
.s-kpi .mini > div { width: 173px; background: #26282D; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 14px 16px; }
.s-kpi .mini small { display: block; font-size: 13px; color: rgba(255,255,255,.6); font-weight: 700; }
.s-kpi .mini b { display: block; margin-top: 4px; font-size: 24px; font-weight: 800; }
.s-kpi.on .mini { animation: cp-up .6s 1s both; }

/* ---------- Trust ---------- */
.s-trust .cp-bg { background: radial-gradient(circle at 50% 30%, #2C2118 0%, #1A1B1E 65%); }
.s-trust .head { position: absolute; left: 0; right: 0; top: 80px; text-align: center; font-size: 46px; }
.s-trust .head em { font-style: normal; color: var(--cp-accent); }
.s-trust.on .head { animation: cp-up .7s .1s both; }
.s-trust .grid { position: absolute; left: 110px; right: 110px; top: 210px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.s-trust .b { display: flex; gap: 16px; align-items: center; background: #26282D; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 26px 22px; min-height: 110px; }
.s-trust .b .ic { width: 50px; height: 50px; border-radius: 14px; background: rgba(247,147,26,.16); display: grid; place-items: center; flex: none; }
.s-trust .b span { font-size: 21px; font-weight: 700; line-height: 1.25; }
.s-trust.on .b { animation: cp-pop .5s cubic-bezier(.2,1.4,.4,1) both; }
.s-trust.on .b:nth-child(1) { animation-delay: .5s; } .s-trust.on .b:nth-child(2) { animation-delay: .7s; } .s-trust.on .b:nth-child(3) { animation-delay: .9s; }
.s-trust.on .b:nth-child(4) { animation-delay: 1.1s; } .s-trust.on .b:nth-child(5) { animation-delay: 1.3s; } .s-trust.on .b:nth-child(6) { animation-delay: 1.5s; }

/* ---------- Closing: offer and call to action ---------- */
.s-close .cta { animation: none; }
.s-close.on .cta { animation: cp-pop .6s 1.3s cubic-bezier(.2,1.4,.4,1) both, cp-pulse 1.6s 2.2s ease-in-out infinite; }
.s-close .steps { margin-top: 22px; display: flex; gap: 12px; justify-content: center; }
.s-close .steps span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff; font-size: 16px; }
.s-close.on .steps span { animation: cp-up .5s both; }
.s-close.on .steps span:nth-child(1) { animation-delay: 1.7s; } .s-close.on .steps span:nth-child(2) { animation-delay: 1.9s; } .s-close.on .steps span:nth-child(3) { animation-delay: 2.1s; }
.s-close .end { top: 110px; }
