@charset "UTF-8";
/* ============================================================
   PaySpot ME — Uplata pazara (market / daily-takings deposit) page
   Used ONLY by usluga-uplata-pazara-cg/-en.html.

   Self-contained + namespaced under .up so it never collides with
   the legacy css/style.css. The shared header/footer keep
   css/site-chrome.css + js/site.js; this file styles the page body
   that lives inside the fixed-scroll .root.

   Design: the PaySpot "ink vault" language — near-black surfaces,
   brand red, the diamond mark — shared with css/transfer.css,
   css/payments.css and css/credit.css so the service pages read as
   one family. Sibling of .mt / .pp / .cr.

   Signature here is the live "Nalog za uplatu pazara": the day's
   euro denominations count themselves in, the takings tally up,
   then the slip is booked to the business account — a green seal
   locks in a confirmation code. It is a B2B counterpart to the
   self-clearing bill statement on the Platni promet page.
   No fees are invented — the source page quotes none.
   Type roles: Space Grotesk (display/figures), Poppins (body, matches
   the site), Space Mono (codes + money data).
   ============================================================ */

.up {
  /* ---- tokens (mirror the brand system) ---- */
  --red: #e10000;
  --red-600: #c20000;
  --red-700: #a30000;
  --red-300: #ff6a62;
  --red-soft: #ffecec;

  --ink: #0e0f14;
  --ink-1: #14151a;
  --ink-2: #1a1c24;
  --panel: #15161d;
  --text: #1f2330;
  --muted: #626875;
  --muted-2: #8a909c;
  --line: #e9ebf0;
  --line-2: #f0f2f6;

  --green: #18e08a;

  --paper: #ffffff;
  --soft: #eef0f4;

  --radius-xl: 30px;
  --radius: 20px;
  --radius-sm: 12px;
  --pill: 999px;

  --shadow-md: 0 16px 40px rgba(16, 18, 27, 0.1);
  --shadow-lg: 0 34px 80px rgba(16, 18, 27, 0.18);
  --shadow-red: 0 18px 40px rgba(225, 0, 0, 0.3);

  --grad-red: linear-gradient(120deg, #ff3b30 0%, #e10000 55%, #b00000 100%);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --disp: "Space Grotesk", "Poppins", system-ui, sans-serif;
  --body: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --mono: "Space Mono", "SFMono-Regular", ui-monospace, Menlo, monospace;

  --mark-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 240'%3E%3Cpath fill='%23ffffff' fill-opacity='.06' d='M94 16L16 94L76 94L94 76ZM106 16L184 94L124 94L106 76ZM184 106L136 154L106 124L124 106ZM16 106L140 230L170 200L76 106Z'/%3E%3C/svg%3E");
  --mark-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 240'%3E%3Cpath fill='%23e6eaf1' d='M94 16L16 94L76 94L94 76ZM106 16L184 94L124 94L106 76ZM184 106L136 154L106 124L124 106ZM16 106L140 230L170 200L76 106Z'/%3E%3C/svg%3E");

  font-family: var(--body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
}

.up *,
.up *::before,
.up *::after {
  box-sizing: border-box;
}
.up h1,
.up h2,
.up h3,
.up h4,
.up p {
  margin: 0;
}
/* The reset above (.up p = spec 0,1,1) out-specifies single-class paragraph
   margins, so they silently collapse to 0. Re-assert with the .up prefix —
   margin only, so color/variant rules are untouched. */
.up .up-lead {
  margin-top: 22px;
}
.up .up-sub {
  margin-top: 14px;
}
.up .up-flow-cap {
  margin-top: 14px;
}
.up .up-flow-note {
  margin-top: 20px;
}
.up a {
  color: inherit;
  text-decoration: none;
}
.up ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.up img {
  display: block;
  max-width: 100%;
}
.up :focus-visible {
  outline: 3px solid rgba(225, 0, 0, 0.5);
  outline-offset: 3px;
  border-radius: 6px;
}

.up-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* shared eyebrow — uppercase red micro-label with a leading bar */
.up-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}
.up-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
}
.up-eyebrow--light {
  color: var(--red-300);
}
.up-eyebrow--light::before {
  background: var(--red-300);
}
.up-eyebrow--center {
  justify-content: center;
}

/* section heading block */
.up-head {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}
.up-head .up-eyebrow {
  margin-bottom: 16px;
}
.up-title {
  font-family: var(--disp);
  font-size: clamp(27px, 3.6vw, 40px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.up-title .hl {
  color: var(--red);
}
.up-title--light {
  color: #fff;
}
.up-sub {
  margin-top: 14px;
  font-size: 16.5px;
  color: var(--muted);
}
.up-sub--light {
  color: rgba(255, 255, 255, 0.66);
}

/* buttons */
.up-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  padding: 15px 28px;
  border-radius: var(--pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
/* scoped under .up so the color wins over `.up a { color: inherit }` */
.up .up-btn-primary {
  background: var(--grad-red);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.up .up-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(225, 0, 0, 0.4);
}
.up .up-btn-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.up .up-btn-light:hover {
  background: #fff;
  color: var(--ink);
  transform: translateY(-3px);
}
.up .up-btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.up .up-btn-ghost:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-3px);
}

/* ============================================================
   HERO  —  copy + live deposit slip on an ink stage
   ============================================================ */
.up-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--ink);
  background-image: radial-gradient(
      1000px 640px at 84% 14%,
      rgba(225, 0, 0, 0.16),
      transparent 60%
    ),
    linear-gradient(180deg, #15161d 0%, #0e0f14 60%, #101117 100%);
  color: #fff;
  /* clears the fixed header (top bar ~42 + nav ~84) and breathes */
  padding: clamp(132px, 15vh, 176px) 0 clamp(64px, 8vh, 104px);
}
/* diamond watermark on the stage */
.up-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -140px;
  width: 520px;
  height: 620px;
  background: var(--mark-white) center / contain no-repeat;
  pointer-events: none;
}
/* closing red hairline beam */
.up-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(760px, 86%);
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(225, 0, 0, 0.75),
    transparent
  );
}
.up-hero .up-wrap {
  position: relative;
  z-index: 2;
}
.up-hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 54px;
  align-items: center;
}
.up-hero-copy .up-eyebrow {
  margin-bottom: 20px;
}
.up-hero h1 {
  font-family: var(--disp);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
/* the key phrase in a solid red stamp — a marker swipe, not the
   gradient-text default */
.up-hero h1 .hl {
  display: inline-block;
  white-space: nowrap;
  background: var(--grad-red);
  color: #fff;
  padding: 0.02em 0.26em 0.1em;
  border-radius: 0.16em;
  box-shadow: 0 14px 36px rgba(225, 0, 0, 0.36);
}
/* the source <h3> tagline, set as a mono kicker under the title */
.up-tag {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.7);
}
.up-tag::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--red-300);
  transform: rotate(45deg);
  flex: 0 0 auto;
}
.up-lead {
  margin-top: 22px;
  max-width: 564px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.74);
  border-left: 3px solid var(--red);
  padding-left: 18px;
}
.up-lead b {
  color: #fff;
  font-weight: 600;
}
.up-lead a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 106, 98, 0.7);
}

/* three proofs (faster · easier · safer) as a hairline-divided row */
.up-why {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}
.up-why-item {
  padding: 20px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.up-why-item:first-child {
  border-left: 0;
}
.up-why-item b {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  font-family: var(--disp);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
}
.up-why-item b::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.34em;
  background: var(--red-300);
  transform: rotate(45deg);
  flex: 0 0 auto;
}
.up-why-item span {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.58);
}

/* ----- the live "Pazar → Račun" flow (takings journey to the account) -----
   The signature: the day's cash takings travel down a rail — Dnevni pazar →
   PaySpot ME lokacija → Poslovni račun — a glowing pulse runs each leg, the
   destination account credits up, then a green seal books it. The visual IS
   the value proposition (takings landing in the account, no waiting). */
.up-flow {
  position: relative;
  max-width: 440px;
  margin-left: auto;
  border-radius: 26px;
  padding: 28px clamp(22px, 2.3vw, 30px) 26px;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.085),
    rgba(255, 255, 255, 0.02) 62%
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}
/* top hairline beam */
.up-flow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 106, 98, 0.6),
    transparent
  );
}
.up-flow-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.up-flow-brand {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.66);
}
.up-flow-brand b {
  color: #fff;
}
.up-flow-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-300);
}
.up-flow-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-300);
  box-shadow: 0 0 0 0 rgba(255, 106, 98, 0.55);
  animation: up-pulse 1.8s var(--ease) infinite;
}
.up-flow-cap {
  margin-top: 14px;
  padding-bottom: 4px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* the rail — three nodes joined by animated connectors */
.up-rail {
  margin-top: 14px;
}
.up-node {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  opacity: 0.38;
  transition: opacity 0.5s var(--ease);
}
.up-node.on {
  opacity: 1;
}
.up-node-mark {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--red-300);
  background: rgba(225, 0, 0, 0.12);
  border: 1px solid rgba(255, 106, 98, 0.26);
  transform: rotate(45deg);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease),
    border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.up-node-mark svg {
  width: 20px;
  height: 20px;
  transform: rotate(-45deg);
}
.up-node.on .up-node-mark {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 10px 24px rgba(225, 0, 0, 0.34);
}
/* the destination node turns green the moment the account is credited */
.up-node--acct.on .up-node-mark {
  color: #0a0b0f;
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 10px 24px rgba(24, 224, 138, 0.3);
}
.up-node-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.up-node-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}
.up-node-val {
  font-family: var(--mono);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.62);
}

/* the destination node is a small panel — the takings' final home */
.up-node--acct {
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: opacity 0.5s var(--ease), background-color 0.5s var(--ease),
    border-color 0.5s var(--ease);
}
.up-node--acct.on {
  background: rgba(24, 224, 138, 0.06);
  border-color: rgba(24, 224, 138, 0.3);
}
.up-acct-num {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.45);
}
.up-acct-bal {
  font-family: var(--disp);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
}

/* connector segment — a base rail that fills + a pulse that travels it */
.up-conn {
  position: relative;
  height: 22px;
}
.up-conn::before {
  content: "";
  position: absolute;
  left: 22px;
  top: -8px;
  bottom: -8px;
  width: 2px;
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.24) 0 6px,
    transparent 6px 12px
  );
  background-size: 2px 12px;
}
.up-conn-fill {
  position: absolute;
  left: 22px;
  top: -8px;
  width: 2px;
  height: 0;
  background: linear-gradient(180deg, var(--red-300), var(--red));
  transition: height 0.55s var(--ease);
}
.up-conn.flow .up-conn-fill {
  height: calc(100% + 16px);
}
.up-conn-dot {
  position: absolute;
  left: 23px;
  top: -8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px 2px rgba(255, 106, 98, 0.85);
  transform: translate(-50%, -50%);
  opacity: 0;
}
.up-conn.flow .up-conn-dot {
  animation: up-travel 0.62s var(--ease) forwards;
}

/* "Uplaćeno na račun" seal — appears once the account is credited */
.up-flow-seal {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(24, 224, 138, 0.1);
  border: 1px solid rgba(24, 224, 138, 0.28);
  /* space is always reserved; the seal only fades in — no translate — so
     nothing below it shifts */
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.up-flow-seal.show {
  opacity: 1;
}
.up-flow-seal-badge {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #0a0b0f;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(24, 224, 138, 0.16);
}
.up-flow-seal.show .up-flow-seal-badge {
  animation: up-pop 0.5s var(--ease);
}
.up-flow-seal-badge svg {
  width: 20px;
  height: 20px;
}
.up-flow-seal-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.up-flow-seal-text strong {
  font-family: var(--disp);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}
.up-flow-conf {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.6);
}
.up-flow-conf .cv {
  color: var(--red-300);
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* footer note */
.up-flow-note {
  margin-top: 20px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.42);
}
.up-flow-note svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   BENEFITS — "Zašto uplata pazara"
   light slate canvas, ink-vault tiles + one red feature tile
   ============================================================ */
.up-ben {
  position: relative;
  background: var(--soft);
  background-image: var(--mark-light), var(--mark-light);
  background-repeat: no-repeat;
  background-position: right -150px top -90px, left -170px bottom -120px;
  background-size: 380px auto, 340px auto;
  padding: clamp(70px, 9vw, 110px) 0;
}
.up-ben-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.up-ben-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 24px 26px;
  border-radius: var(--radius);
  background-color: var(--ink-1);
  background-image: radial-gradient(
    220px 160px at 120% -20%,
    rgba(225, 0, 0, 0.22),
    transparent 70%
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
  color: #fff;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.3s var(--ease);
}
.up-ben-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 106, 98, 0.4);
  box-shadow: 0 28px 56px rgba(8, 9, 14, 0.4);
}
.up-ben-ico {
  width: 54px;
  height: 54px;
  margin: 2px 0 22px 6px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: var(--red-300);
  background: rgba(225, 0, 0, 0.14);
  border: 1px solid rgba(255, 106, 98, 0.3);
  transform: rotate(45deg);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.up-ben-ico svg {
  width: 24px;
  height: 24px;
  transform: rotate(-45deg);
}
.up-ben-card:hover .up-ben-ico {
  background-color: var(--red);
  border-color: var(--red);
  color: #fff;
}
.up-ben-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}
.up-ben-card p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.58);
}
/* the closing red feature tile — "focus on your business" */
.up-ben-card--feature {
  background-color: var(--red-600);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 240'%3E%3Cpath fill='%23ffffff' fill-opacity='.14' d='M94 16L16 94L76 94L94 76ZM106 16L184 94L124 94L106 76ZM184 106L136 154L106 124L124 106ZM16 106L140 230L170 200L76 106Z'/%3E%3C/svg%3E"),
    var(--grad-red);
  background-repeat: no-repeat;
  background-position: right -40px bottom -60px, 0 0;
  background-size: 180px auto, auto;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-red);
}
.up-ben-card--feature .up-ben-ico {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}
.up-ben-card--feature:hover .up-ben-ico {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.55);
}
.up-ben-card--feature p {
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================================
   HOW IT WORKS — numbered steps on an ink stage
   ============================================================ */
.up-how {
  position: relative;
  overflow: hidden;
  background-color: var(--ink);
  background-image: radial-gradient(
      900px 540px at 12% 0%,
      rgba(225, 0, 0, 0.14),
      transparent 60%
    ),
    var(--mark-white);
  background-repeat: no-repeat;
  background-position: 0 0, right -120px bottom -150px;
  background-size: auto, 420px auto;
  color: #fff;
  padding: clamp(70px, 9vw, 110px) 0;
}
.up-how .up-title {
  color: #fff;
}
.up-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
/* dashed flight-line behind the step icons */
.up-steps::before {
  content: "";
  position: absolute;
  top: 52px;
  left: 12%;
  right: 12%;
  height: 2px;
  background-image: linear-gradient(
    90deg,
    var(--red-300) 0 14px,
    transparent 14px 26px
  );
  background-size: 26px 2px;
  opacity: 0.5;
  z-index: 0;
}
.up-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 24px 28px;
  border-radius: var(--radius);
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.07),
    rgba(255, 255, 255, 0.02) 70%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.34);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.3s var(--ease), opacity 0.6s var(--ease);
}
.up-step:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 106, 98, 0.4);
}
.up-step-ico {
  width: 54px;
  height: 54px;
  margin: 0 0 22px 6px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--grad-red);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transform: rotate(45deg);
  box-shadow: 0 12px 26px rgba(225, 0, 0, 0.34);
}
.up-step-ico svg {
  width: 24px;
  height: 24px;
  transform: rotate(-45deg);
}
.up-step-n {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red-300);
}
.up-step h3 {
  margin-top: 6px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}
.up-step p {
  margin-top: 9px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
}

/* ============================================================
   CONTROL — statement card (ink) + business card (light)
   carries the source's long paragraphs verbatim
   ============================================================ */
.up-ctrl {
  background: var(--soft);
  background-image: var(--mark-light);
  background-repeat: no-repeat;
  background-position: left -170px top -110px;
  background-size: 380px auto;
  padding: clamp(66px, 8vw, 100px) 0;
}
.up-ctrl-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 24px;
  align-items: stretch;
}
/* dark "everyday cash, simplified" statement card */
.up-ctrl-dark {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 3.4vw, 46px);
  border-radius: var(--radius-xl);
  background-color: var(--ink-1);
  background-image: radial-gradient(
      600px 320px at 110% -10%,
      rgba(225, 0, 0, 0.22),
      transparent 60%
    ),
    var(--mark-white);
  background-repeat: no-repeat;
  background-position: 0 0, right -100px bottom -120px;
  background-size: auto, 320px auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}
.up-ctrl-dark .up-eyebrow {
  margin-bottom: 16px;
}
.up-ctrl-dark h3 {
  font-family: var(--disp);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.up-ctrl-dark p {
  margin-top: 16px;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 52ch;
}
.up-ctrl-dark p b {
  color: #fff;
  font-weight: 600;
}
/* proof chips at the foot of the dark card */
.up-ctrl-chips {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.up-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  padding: 9px 14px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.up-chip svg {
  width: 15px;
  height: 15px;
  color: var(--red-300);
}

/* light "take control" card */
.up-ctrl-light {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 3.4vw, 44px);
  border-radius: var(--radius-xl);
  background: var(--paper);
  background-image: var(--mark-light);
  background-repeat: no-repeat;
  background-position: right -70px top -80px;
  background-size: 230px auto;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}
.up-ctrl-mark {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: var(--red-soft);
  border: 1px solid #ffd6d2;
  margin-bottom: 22px;
}
.up-ctrl-mark svg {
  width: 28px;
  height: 28px;
}
.up-ctrl-light .up-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.up-ctrl-light h3 {
  margin-top: 10px;
  font-family: var(--disp);
  font-size: clamp(20px, 2.3vw, 26px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.up-ctrl-light p {
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
}
.up-ctrl-light p b {
  color: var(--ink);
  font-weight: 600;
}
.up-reg {
  margin-top: auto;
  padding-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--muted-2);
  border-top: 1px solid var(--line);
}
.up-reg::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--red);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

/* ============================================================
   LOCATIONS + CTA BAND
   ============================================================ */
.up-band {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 160% at 0% 0%, #2a0d12, #0e0f14 60%);
}
.up-band::before {
  content: "";
  position: absolute;
  top: -130px;
  right: -70px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(225, 0, 0, 0.5), transparent 65%);
  filter: blur(54px);
}
.up-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--mark-white) left -120px center / 320px auto no-repeat;
  pointer-events: none;
}
.up-band .up-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-top: clamp(56px, 7vw, 76px);
  padding-bottom: clamp(56px, 7vw, 76px);
}
.up-band-copy {
  max-width: 580px;
}
.up-band-copy .up-eyebrow {
  margin-bottom: 14px;
}
.up-band h2 {
  font-family: var(--disp);
  color: #fff;
  font-size: clamp(25px, 3.2vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.up-band p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
}
.up-band-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   REVEAL  (driven by site.js [data-reveal] -> .in)
   ============================================================ */
.up [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
}
.up [data-reveal].in {
  opacity: 1;
  transform: none;
}
/* containers that aren't the hover-cards get the simple transition */
.up-head[data-reveal],
.up-hero-copy[data-reveal],
.up-flow[data-reveal],
.up-ctrl-dark[data-reveal],
.up-ctrl-light[data-reveal],
.up-band-copy[data-reveal],
.up-band-actions[data-reveal] {
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
/* staggered grid entrances — restated so hover transform/shadow survive
   (the bare reveal rule would otherwise drop them) */
.up-ben-grid > [data-reveal],
.up-steps > [data-reveal] {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.3s var(--ease), opacity 0.6s var(--ease);
}
.up-ben-grid > [data-reveal]:nth-child(2),
.up-steps > [data-reveal]:nth-child(2) {
  transition-delay: 70ms;
}
.up-ben-grid > [data-reveal]:nth-child(3),
.up-steps > [data-reveal]:nth-child(3) {
  transition-delay: 140ms;
}
.up-ben-grid > [data-reveal]:nth-child(4),
.up-steps > [data-reveal]:nth-child(4) {
  transition-delay: 210ms;
}

/* the pulse travelling a connector segment, top → bottom, once */
@keyframes up-travel {
  0% {
    top: -8px;
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  82% {
    opacity: 1;
  }
  100% {
    top: calc(100% + 8px);
    opacity: 0;
  }
}
@keyframes up-pop {
  0% {
    transform: scale(0.5);
  }
  60% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes up-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 106, 98, 0.5);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(255, 106, 98, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 106, 98, 0);
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .up-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .up-flow {
    max-width: 520px;
    margin: 0 auto;
  }
  .up-ben-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .up-ctrl-grid {
    grid-template-columns: 1fr;
  }
  .up-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .up-steps::before {
    display: none;
  }
}

@media (max-width: 560px) {
  .up-wrap {
    padding: 0 18px;
  }
  /* the hero "stamp" highlight is white-space:nowrap to stay one line; on
     narrow screens the phrase is wider than the viewport, so let it break
     into per-line stamp fragments (box-decoration-break keeps the red box +
     padding on each line) instead of overflowing the screen */
  .up-hero h1 .hl {
    white-space: normal;
    display: inline;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }
  .up-why {
    grid-template-columns: 1fr;
  }
  /* shrink the title floor so the red stamp + its padding never runs past
     the viewport edge on the narrowest phones (~320px) */
  .up-hero h1 {
    font-size: clamp(26px, 8.2vw, 42px);
    letter-spacing: -0.02em;
    /* looser leading so the red stamp on the next line doesn't paint over
       the white descenders above it (the "p" in pazara) */
    line-height: 1.22;
  }
  .up-hero h1 .hl {
    /* more vertical padding gives the stamp's own descenders (the "j" in
       čekanja) room inside the red box */
    padding: 0.06em 0.2em 0.16em;
  }
  .up-why-item {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .up-why-item:first-child {
    border-top: 0;
  }
  .up-ben-grid {
    grid-template-columns: 1fr;
  }
  .up-steps {
    grid-template-columns: 1fr;
  }
  .up-flow {
    padding: 24px 18px 22px;
  }
  .up-band .up-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .up * {
    transition-duration: 0.001ms !important;
    animation: none !important;
  }
  .up [data-reveal] {
    opacity: 1;
    transform: none;
  }
  /* the flow is shown in its final credited state (JS adds the classes;
     fills snap instead of animating, the travelling pulse stays hidden) */
  .up-conn.flow .up-conn-fill {
    height: calc(100% + 16px);
  }
  .up-conn-dot {
    opacity: 0;
  }
}
