/* YAPPT Rewards — front-end styles (Listeo theme friendly) */
:root {
  --yp-rw-red: #f91942;
  --yp-rw-ink: #14161a;
  --yp-rw-muted: #6b7280;
  --yp-rw-line: #e8eaef;
  --yp-rw-bg: #f8f9fb;
  --yp-rw-green: #0f9d58;
}

.yp-btn,
a.yp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--yp-rw-red);
  color: #fff !important;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 6px 18px rgba(249, 25, 66, .22);
}
.yp-btn:hover { transform: translateY(-1px); background: #e0153b; box-shadow: 0 10px 24px rgba(249, 25, 66, .28); }
.yp-btn-ghost,
a.yp-btn-ghost { background: #fff; color: var(--yp-rw-ink) !important; border: 1px solid var(--yp-rw-line); box-shadow: none; }
.yp-btn-ghost:hover { background: #fff; border-color: #d6d9e0; }

.yp-rw-wrap { max-width: 940px; margin: 0 auto; }
.yp-rw-guest {
  max-width: 640px; margin: 0 auto; padding: 40px 34px; border: 1px solid var(--yp-rw-line);
  border-radius: 20px; background: #fff; text-align: center;
}
.yp-rw-guest h3 { margin: 0 0 10px; font-size: 24px; color: var(--yp-rw-ink); }
.yp-rw-guest p { color: var(--yp-rw-muted); }

/* ---------- Member card ---------- */
.yp-rw-card {
  position: relative;
  border-radius: 22px;
  padding: 26px 28px 22px;
  color: #fff;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 55%),
    linear-gradient(135deg, #1b1d22 0%, #2b2f38 52%, #14161a 100%);
  box-shadow: 0 24px 60px rgba(17, 19, 24, .28);
  overflow: hidden;
}
.yp-rw-card:after {
  content: ""; position: absolute; inset: auto -60px -90px auto; width: 260px; height: 260px;
  border-radius: 50%; background: radial-gradient(circle, rgba(249,25,66,.55) 0%, rgba(249,25,66,0) 70%);
}
.yp-rw-card-top { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.yp-rw-brand { font-weight: 800; letter-spacing: .16em; font-size: 13px; text-transform: uppercase; }
.yp-rw-brand em { font-style: normal; color: var(--yp-rw-red); }
.yp-rw-tier {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22);
}
.yp-rw-card-mid { display: flex; gap: 26px; align-items: center; margin: 22px 0 18px; position: relative; z-index: 2; flex-wrap: wrap; }
.yp-rw-qr { background: #fff; padding: 12px; border-radius: 16px; line-height: 0; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.yp-rw-qr img, .yp-rw-qr canvas { display: block; }
.yp-rw-card-info { display: flex; flex-direction: column; gap: 4px; min-width: 200px; }
.yp-rw-card-info strong { font-size: 20px; }
.yp-rw-card-info span { font-size: 13px; color: rgba(255,255,255,.74); }
.yp-rw-card-info small { font-size: 12px; color: rgba(255,255,255,.62); max-width: 330px; line-height: 1.5; margin-top: 6px; }
.yp-rw-card-info .yp-rw-code {
  display: inline-block; margin-top: 4px; padding: 5px 10px; border-radius: 8px;
  background: rgba(255,255,255,.12); letter-spacing: .18em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px; color: #fff;
}
.yp-rw-card-foot {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; position: relative; z-index: 2;
  border-top: 1px solid rgba(255,255,255,.14); padding-top: 16px;
}
.yp-rw-card-foot div { display: flex; flex-direction: column; }
.yp-rw-card-foot b { font-size: 18px; }
.yp-rw-card-foot span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.6); }

/* ---------- Panels ---------- */
.yp-rw-panel {
  background: #fff; border: 1px solid var(--yp-rw-line); border-radius: 18px;
  padding: 24px 26px; margin-top: 20px;
}
.yp-rw-panel h3 { margin: 0 0 16px; font-size: 17px; color: var(--yp-rw-ink); }
.yp-rw-stamps { display: flex; flex-wrap: wrap; gap: 10px; }
.yp-rw-stamp {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px dashed #d7dae1; color: #aab0bb; font-weight: 700; font-size: 13px; background: #fbfbfd;
}
.yp-rw-stamp.is-on { background: var(--yp-rw-red); border: 1.5px solid var(--yp-rw-red); color: #fff; box-shadow: 0 6px 14px rgba(249,25,66,.28); }
.yp-rw-bar { height: 8px; border-radius: 999px; background: #eef0f4; margin: 18px 0 10px; overflow: hidden; }
.yp-rw-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #f91942, #ff6a7f); transition: width .4s ease; }
.yp-rw-hint { margin: 0; font-size: 13.5px; color: var(--yp-rw-muted); }
.yp-rw-hint b { color: var(--yp-rw-ink); }
.yp-rw-empty { margin: 0; color: var(--yp-rw-muted); font-size: 14px; }

.yp-rw-vouchers { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.yp-rw-vouchers li {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding: 14px 16px; border: 1px dashed #f7b8c3; border-radius: 14px;
  background: linear-gradient(90deg, #fff5f7, #fff);
}
.yp-rw-vouchers b { color: var(--yp-rw-ink); font-size: 14px; }
.yp-rw-vouchers small { color: var(--yp-rw-muted); font-size: 12px; }
.yp-rw-vcode { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; font-size: 13px; color: var(--yp-rw-red); background: #fff; border: 1px solid #f7b8c3; padding: 4px 10px; border-radius: 8px; }

.yp-rw-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.yp-rw-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #98a0ad; padding: 0 10px 10px 0; border-bottom: 1px solid var(--yp-rw-line); }
.yp-rw-table td { padding: 12px 10px 12px 0; border-bottom: 1px solid #f1f3f7; color: #3d434e; }
.yp-rw-table tr:last-child td { border-bottom: 0; }
.yp-rw-table .is-green { color: var(--yp-rw-green); font-weight: 600; }

/* ---------- Steps ---------- */
.yp-rw-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: none; }
.yp-rw-steps li { display: flex; gap: 14px; align-items: flex-start; }
.yp-rw-step-n {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: #fff1f4; color: var(--yp-rw-red); font-weight: 800; font-size: 14px;
}
.yp-rw-steps strong { display: block; color: var(--yp-rw-ink); font-size: 15px; margin-bottom: 3px; }
.yp-rw-steps p { margin: 0; color: var(--yp-rw-muted); font-size: 13.5px; line-height: 1.55; }

/* ---------- Join ---------- */
.yp-rw-join { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
.yp-rw-join-form h3 { margin: 0 0 8px; font-size: 24px; color: var(--yp-rw-ink); }
.yp-rw-join-form p { color: var(--yp-rw-muted); margin: 0 0 18px; }
.yp-rw-join-form form { display: grid; gap: 12px; margin-bottom: 12px; }
.yp-rw-join-form input {
  width: 100%; padding: 14px 16px; border: 1px solid var(--yp-rw-line); border-radius: 12px;
  font-size: 15px; background: #fff; outline: none;
}
.yp-rw-join-form input:focus { border-color: var(--yp-rw-red); box-shadow: 0 0 0 3px rgba(249,25,66,.12); }
.yp-rw-join-form small { color: #98a0ad; font-size: 12px; }
.yp-rw-join-msg { font-size: 14px; color: var(--yp-rw-green); font-weight: 600; }
.yp-rw-join-msg:empty { display: none; }

/* ---------- Scanner ---------- */
.yp-rw-scan { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.yp-rw-scan-head h3 { margin: 0 0 4px; font-size: 18px; color: var(--yp-rw-ink); }
.yp-rw-scan-head p { margin: 0 0 14px; color: var(--yp-rw-muted); font-size: 13.5px; }
.yp-rw-cam {
  position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #0d0f12;
  display: grid; place-items: center;
}
.yp-rw-cam video { width: 100%; height: 100%; object-fit: cover; display: none; }
.yp-rw-cam.is-live video { display: block; }
.yp-rw-cam.is-live .yp-rw-cam-msg { display: none; }
.yp-rw-cam-target {
  position: absolute; width: 58%; aspect-ratio: 1; border-radius: 18px;
  border: 2px solid rgba(255,255,255,.85); box-shadow: 0 0 0 9999px rgba(0,0,0,.32);
  pointer-events: none;
}
.yp-rw-cam-msg { color: #cfd4dd; font-size: 13.5px; padding: 0 20px; text-align: center; }
.yp-rw-scan-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.yp-rw-manual { margin-top: 18px; }
.yp-rw-manual label, .yp-rw-store label, .yp-rw-bill label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .09em; color: #98a0ad; margin: 0 0 7px; font-weight: 700; }
.yp-rw-manual-row { display: flex; gap: 10px; }
.yp-rw-manual-row input {
  flex: 1; padding: 12px 14px; border: 1px solid var(--yp-rw-line); border-radius: 12px; font-size: 15px;
  letter-spacing: .12em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; outline: none; background: #fff;
}
.yp-rw-manual-row input:focus { border-color: var(--yp-rw-red); box-shadow: 0 0 0 3px rgba(249,25,66,.12); }
.yp-rw-store { margin-top: 16px; }
.yp-rw-store select { width: 100%; padding: 12px 14px; border: 1px solid var(--yp-rw-line); border-radius: 12px; background: #fff; font-size: 14px; }

.yp-rw-result { background: #fff; border: 1px solid var(--yp-rw-line); border-radius: 18px; padding: 22px; min-height: 220px; }
.yp-rw-result.is-empty { display: grid; place-items: center; }
.yp-rw-result-empty { color: #98a0ad; font-size: 13.5px; text-align: center; max-width: 260px; }
.yp-rw-result.is-error { border-color: #f7c2cb; background: #fff7f8; color: #b0233a; }
.yp-rw-member-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--yp-rw-line); }
.yp-rw-avatar {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 46px;
  background: #fff1f4; color: var(--yp-rw-red); font-weight: 800;
}
.yp-rw-member-head strong { display: block; color: var(--yp-rw-ink); font-size: 16px; }
.yp-rw-member-head span { display: block; font-size: 12.5px; color: var(--yp-rw-muted); }
.yp-rw-member-head .yp-rw-code { display: inline-block; margin-top: 3px; font-size: 11.5px; letter-spacing: .14em; color: #6b7280; background: var(--yp-rw-bg); padding: 3px 8px; border-radius: 6px; font-family: ui-monospace, Menlo, monospace; }
.yp-rw-badge { margin-left: auto; background: var(--yp-rw-red); color: #fff; font-size: 12px; font-weight: 800; padding: 7px 12px; border-radius: 999px; white-space: nowrap; }
.yp-rw-member-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 16px 0; text-align: center; }
.yp-rw-member-stats b { display: block; font-size: 19px; color: var(--yp-rw-ink); }
.yp-rw-member-stats span { font-size: 10.5px; text-transform: uppercase; letter-spacing: .09em; color: #98a0ad; }
.yp-rw-bill { border-top: 1px solid var(--yp-rw-line); padding-top: 16px; }
.yp-rw-bill .yp-rw-manual-row input { letter-spacing: 0; font-family: inherit; }
.yp-rw-inline { display: block; margin-top: 10px; }
.yp-rw-inline input { width: 100%; padding: 11px 14px; border: 1px solid var(--yp-rw-line); border-radius: 12px; font-size: 13.5px; background: #fff; }
.yp-rw-outcome { margin-top: 16px; border-radius: 14px; padding: 16px; background: var(--yp-rw-bg); border: 1px solid var(--yp-rw-line); font-size: 14px; }
.yp-rw-outcome h4 { margin: 0 0 8px; font-size: 15px; color: var(--yp-rw-ink); }
.yp-rw-outcome .yp-rw-big { font-size: 26px; font-weight: 800; color: var(--yp-rw-green); }
.yp-rw-outcome ul { margin: 8px 0 0; padding-left: 18px; color: #3d434e; }
.yp-rw-outcome .yp-rw-rewardwin { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #fff1f4; color: #b0233a; font-weight: 600; }
.yp-rw-voucher-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.yp-rw-voucher-list button {
  border: 1px solid #f7b8c3; background: #fff; color: var(--yp-rw-red); border-radius: 999px;
  padding: 8px 14px; font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.yp-rw-voucher-list button:hover { background: #fff1f4; }

/* ---------- Store QR ---------- */
.yp-rw-storeqr { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.yp-rw-storeqr-code { background: #fff; border: 1px solid var(--yp-rw-line); border-radius: 16px; padding: 12px; line-height: 0; }
.yp-rw-storeqr-txt strong { display: block; color: var(--yp-rw-ink); margin-bottom: 4px; }
.yp-rw-storeqr-txt span { display: block; color: var(--yp-rw-muted); font-size: 13.5px; max-width: 420px; line-height: 1.55; }
.yp-rw-storeqr-txt code { display: inline-block; margin-top: 8px; font-size: 11.5px; color: #6b7280; background: var(--yp-rw-bg); padding: 5px 9px; border-radius: 6px; word-break: break-all; }

/* ---------- Store stats ---------- */
.yp-rw-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.yp-rw-stat { background: #fff; border: 1px solid var(--yp-rw-line); border-radius: 16px; padding: 18px; text-align: center; }
.yp-rw-stat b { display: block; font-size: 22px; color: var(--yp-rw-ink); }
.yp-rw-stat span { font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: #98a0ad; }

/* ---------- Booking button / sticky bar ---------- */
.yp-rw-bookbtn,
a.yp-rw-bookbtn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px;
  background: var(--yp-rw-red); color: #fff !important; font-weight: 700; font-size: 15px;
  text-decoration: none !important; box-shadow: 0 10px 26px rgba(249,25,66,.28); transition: transform .15s ease;
}
.yp-rw-bookbtn:hover { transform: translateY(-1px); }
.yp-bk-ico { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.24); display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.yp-rw-inline-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 24px; padding: 18px 20px; border: 1px solid var(--yp-rw-line); border-radius: 16px; background: var(--yp-rw-bg); }
.yp-rw-inline-note { font-size: 13px; color: var(--yp-rw-muted); }
.yp-rw-stickybar {
  position: fixed; left: 22px; bottom: 22px; z-index: 9999;
  display: flex; align-items: center; gap: 16px;
  padding: 10px 12px 10px 18px;
  background: rgba(20,22,26,.96); border-radius: 999px; box-shadow: 0 18px 44px rgba(0,0,0,.28);
  backdrop-filter: blur(8px);
}
.yp-rw-bar-txt { display: flex; flex-direction: column; min-width: 0; }
.yp-rw-bar-txt strong { color: #fff; font-size: 13px; white-space: nowrap; }
.yp-rw-bar-txt span { color: rgba(255,255,255,.62); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yp-rw-bar-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.yp-rw-bar-btn,
a.yp-rw-bar-btn {
  padding: 11px 20px; border-radius: 999px; background: var(--yp-rw-red); color: #fff !important;
  font-size: 13.5px; font-weight: 700; text-decoration: none !important; white-space: nowrap;
}
.yp-rw-bar-ghost,
a.yp-rw-bar-ghost { background: transparent; border: 1px solid rgba(255,255,255,.3); }
body.single-listing { padding-bottom: 90px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .yp-rw-scan, .yp-rw-join { grid-template-columns: 1fr; gap: 24px; }
  .yp-rw-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .yp-rw-card { padding: 20px; border-radius: 18px; }
  .yp-rw-card-mid { gap: 18px; }
  .yp-rw-card-foot { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
  .yp-rw-panel { padding: 20px; }
  .yp-rw-panel h3 { font-size: 16px; }
  .yp-rw-stamp { width: 36px; height: 36px; font-size: 12px; }
  .yp-rw-table { font-size: 12.5px; display: block; overflow-x: auto; white-space: nowrap; }
  .yp-rw-member-stats b { font-size: 16px; }
  .yp-rw-manual-row { flex-direction: column; }
  .yp-rw-stickybar { left: 10px; right: 10px; bottom: 10px; max-width: none; flex-direction: row; align-items: center; border-radius: 20px; padding: 10px 12px; gap: 10px; }
  .yp-rw-bar-actions { justify-content: stretch; }
  .yp-rw-bar-btn, a.yp-rw-bar-btn { flex: 1; text-align: center; }
  .yp-rw-bar-txt span { display: none; }
  .yp-rw-bar-txt strong { font-size: 12px; }
  body.single-listing { padding-bottom: 130px; }
}

/* =========================================================
   Landing pages (Rewards / For Business / Scanner wrappers)
   ========================================================= */
.yp-page { max-width: 1180px; margin: 0 auto; }
.yp-page * { box-sizing: border-box; }

.yp-hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding: 8px 0 46px;
}
.yp-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: #fff1f4; color: #f91942; font-size: 12px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 18px;
}
.yp-hero h1 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.1; margin: 0 0 16px; color: #14161a; letter-spacing: -.02em; text-align: left; }
.yp-hero h1 em { font-style: normal; color: #f91942; }
.yp-hero p.yp-lead { font-size: 16.5px; line-height: 1.65; color: #5c6470; margin: 0 0 26px; max-width: 540px; }
.yp-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.yp-hero-note { margin: 16px 0 0; font-size: 12.5px; color: #98a0ad; }
.yp-hero-visual { position: relative; }

.yp-minicard {
  position: relative; border-radius: 22px; padding: 24px; color: #fff; overflow: hidden;
  background: radial-gradient(120% 130% at 100% 0%, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 55%),
              linear-gradient(135deg, #1b1d22 0%, #2b2f38 55%, #14161a 100%);
  box-shadow: 0 26px 60px rgba(17,19,24,.3);
}
.yp-minicard:after { content: ""; position: absolute; right: -70px; bottom: -90px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(249,25,66,.5), rgba(249,25,66,0)); }
.yp-minicard-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; }
.yp-minicard-top em { font-style: normal; color: #f91942; }
.yp-minicard-tier { font-size: 10.5px; letter-spacing: .12em; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); }
.yp-minicard-body { display: flex; gap: 20px; align-items: center; margin: 22px 0; position: relative; z-index: 2; }
.yp-miniqr {
  width: 116px; height: 116px; border-radius: 14px; background: #fff; flex: 0 0 116px;
  display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.22);
}
.yp-miniqr span { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; width: 84px; }
.yp-miniqr span i { display: block; width: 100%; padding-top: 100%; background: #14161a; border-radius: 1px; }
.yp-miniqr span i.off { background: transparent; }
.yp-minicard-info strong { display: block; font-size: 17px; margin-bottom: 2px; }
.yp-minicard-info span { display: block; font-size: 12px; color: rgba(255,255,255,.68); }
.yp-minicard-info b { display: inline-block; margin-top: 10px; font-size: 12px; letter-spacing: .16em; padding: 5px 10px; border-radius: 7px; background: rgba(255,255,255,.12); font-family: ui-monospace, Menlo, monospace; }
.yp-minicard-foot { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 14px; position: relative; z-index: 2; }
.yp-minicard-foot b { display: block; font-size: 17px; }
.yp-minicard-foot span { font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.58); }
.yp-float-badge {
  position: absolute; right: -10px; top: -14px; background: #fff; border-radius: 14px; padding: 10px 14px;
  box-shadow: 0 14px 34px rgba(17,19,24,.16); font-size: 12px; font-weight: 700; color: #14161a;
  display: flex; align-items: center; gap: 8px;
}
.yp-float-badge i { width: 8px; height: 8px; border-radius: 50%; background: #0f9d58; display: block; }

.yp-statsstrip {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: #e8eaef;
  border: 1px solid #e8eaef; border-radius: 18px; overflow: hidden; margin: 10px 0 54px;
}
.yp-statsstrip div { background: #fff; padding: 22px 18px; text-align: center; }
.yp-statsstrip b { display: block; font-size: 24px; color: #14161a; letter-spacing: -.01em; }
.yp-statsstrip span { font-size: 11.5px; text-transform: uppercase; letter-spacing: .09em; color: #98a0ad; }

.yp-section { padding: 44px 0; }
.yp-section-head { max-width: 640px; margin-bottom: 30px; }
.yp-section-head h2 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 10px; color: #14161a; letter-spacing: -.01em; text-align: left; }
.yp-section-head p { margin: 0; color: #5c6470; font-size: 15.5px; line-height: 1.65; }
.yp-eyebrow { display: block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #f91942; margin-bottom: 10px; }

.yp-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.yp-card {
  background: #fff; border: 1px solid #e8eaef; border-radius: 18px; padding: 26px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.yp-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(17,19,24,.08); border-color: #dfe3ea; }
.yp-card h3 { margin: 0 0 8px; font-size: 17px; color: #14161a; }
.yp-card p { margin: 0; color: #5c6470; font-size: 14px; line-height: 1.6; }
.yp-card .yp-ico {
  width: 44px; height: 44px; border-radius: 12px; background: #fff1f4; color: #f91942;
  display: grid; place-items: center; font-size: 19px; font-weight: 800; margin-bottom: 16px;
}
.yp-card ul { margin: 12px 0 0; padding-left: 18px; color: #5c6470; font-size: 13.5px; line-height: 1.7; }

.yp-tiers { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: stretch; }
.yp-tier {
  background: #fff; border: 1px solid #e8eaef; border-radius: 20px; padding: 28px; display: flex; flex-direction: column;
}
.yp-tier.is-featured { border-color: #f91942; box-shadow: 0 22px 50px rgba(249,25,66,.14); position: relative; }
.yp-tier-flag {
  position: absolute; top: -13px; left: 28px; background: #f91942; color: #fff; font-size: 11px;
  font-weight: 800; letter-spacing: .09em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}
.yp-tier h3 { margin: 0 0 4px; font-size: 18px; color: #14161a; }
.yp-tier .yp-price { font-size: 34px; font-weight: 800; color: #14161a; letter-spacing: -.02em; margin: 10px 0 2px; }
.yp-tier .yp-price span { font-size: 13px; font-weight: 600; color: #98a0ad; letter-spacing: 0; }
.yp-tier p.yp-tier-sub { color: #6b7280; font-size: 13px; margin: 0 0 18px; }
.yp-tier ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.yp-tier li { position: relative; padding-left: 24px; font-size: 13.5px; color: #3d434e; line-height: 1.5; }
.yp-tier li:before { content: "✓"; position: absolute; left: 0; top: 0; color: #0f9d58; font-weight: 800; }
.yp-tier .yp-btn { margin-top: auto; }

.yp-steps4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; counter-reset: ypstep; }
.yp-step { background: #fff; border: 1px solid #e8eaef; border-radius: 18px; padding: 24px; position: relative; }
.yp-step b.yp-step-num {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #f91942; color: #fff;
  font-size: 14px; margin-bottom: 14px;
}
.yp-step h3 { margin: 0 0 6px; font-size: 15.5px; color: #14161a; }
.yp-step p { margin: 0; font-size: 13.5px; color: #5c6470; line-height: 1.6; }
.yp-step .yp-step-qr { margin-top: 14px; display: flex; align-items: center; gap: 10px; font-size: 12px; color: #98a0ad; }
.yp-step .yp-step-qr i { width: 34px; height: 34px; border-radius: 8px; border: 1px dashed #cfd4dd; display: block; }

.yp-faq { display: grid; gap: 12px; max-width: 860px; }
.yp-faq details { background: #fff; border: 1px solid #e8eaef; border-radius: 14px; padding: 18px 22px; }
.yp-faq summary { cursor: pointer; font-weight: 700; color: #14161a; font-size: 15px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.yp-faq summary::-webkit-details-marker { display: none; }
.yp-faq summary:after { content: "+"; color: #f91942; font-weight: 800; font-size: 18px; line-height: 1; }
.yp-faq details[open] summary:after { content: "–"; }
.yp-faq p { margin: 12px 0 0; color: #5c6470; font-size: 14px; line-height: 1.65; }

.yp-cta {
  background: radial-gradient(120% 160% at 100% 0%, rgba(249,25,66,.18), rgba(249,25,66,0) 60%), #14161a;
  border-radius: 24px; padding: 44px; display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap; margin: 30px 0 10px;
}
.yp-cta h2 { color: #fff; margin: 0 0 8px; font-size: clamp(22px,2.6vw,30px); letter-spacing: -.01em; }
.yp-cta p { color: rgba(255,255,255,.66); margin: 0; font-size: 14.5px; max-width: 520px; }
.yp-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.yp-cta .yp-btn-ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.28); }

.yp-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.yp-split ul.yp-checks { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 14px; }
.yp-split ul.yp-checks li { position: relative; padding-left: 30px; color: #3d434e; font-size: 14.5px; line-height: 1.55; }
.yp-split ul.yp-checks li:before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%;
  background: #e8f7ef; color: #0f9d58; font-size: 12px; font-weight: 800; display: grid; place-items: center;
}
.yp-terminal {
  background: #fff; border: 1px solid #e8eaef; border-radius: 20px; padding: 26px; box-shadow: 0 22px 50px rgba(17,19,24,.08);
}
.yp-terminal h4 { margin: 0 0 16px; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: #98a0ad; }
.yp-terminal-row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed #eceef2; font-size: 14px; color: #3d434e; }
.yp-terminal-row:last-of-type { border-bottom: 0; }
.yp-terminal-row b { color: #14161a; }
.yp-terminal-row.is-save b { color: #0f9d58; }
.yp-terminal-total { margin-top: 14px; background: #f8f9fb; border-radius: 12px; padding: 14px 16px; display: flex; justify-content: space-between; font-weight: 800; color: #14161a; }
.yp-terminal-tag { display: inline-block; margin-top: 14px; font-size: 12px; color: #0f9d58; background: #e8f7ef; padding: 6px 12px; border-radius: 999px; font-weight: 700; }

@media (max-width: 991px) {
  .yp-hero, .yp-split { grid-template-columns: 1fr; gap: 32px; }
  .yp-grid, .yp-tiers, .yp-steps4 { grid-template-columns: repeat(2,1fr); }
  .yp-statsstrip { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .yp-grid, .yp-tiers, .yp-steps4 { grid-template-columns: 1fr; }
  .yp-cta { padding: 30px 24px; }
  .yp-hero { padding-bottom: 32px; }
  .yp-float-badge { display: none; }
  .yp-minicard-body { gap: 14px; }
  .yp-miniqr { width: 96px; height: 96px; flex: 0 0 96px; }
}
