/* RightWin QR Portal 3.0 – print-shop palette: process cyan, magenta, yellow and a deep indigo "key" ink */

.rwqr, .rwqr-home {
  --ink: #1C1A4A;
  --ink-2: #2E2B6B;
  --c: #009FE3;
  --m: #E5097F;
  --m-deep: #C4066B;
  --y: #FFCC00;
  --paper: #FFFFFF;
  --soft: #F3F5FB;
  --line: #E1E4F0;
  --muted: #5D5B85;
  --ok-bg: #E6F6FD;
  --err-bg: #FDE7F1;
  --err: #8A0B4B;
  --display: "Bricolage Grotesque", "Hind Madurai", system-ui, sans-serif;
  --body: "Hind Madurai", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Tamil", sans-serif;
  font-family: var(--body);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.rwqr *, .rwqr-home * { box-sizing: border-box; }
.rwqr a { color: var(--ink); text-decoration-color: var(--m); text-underline-offset: 3px; }
.rwqr a:hover { color: var(--m-deep); }
.rwqr h2, .rwqr h3, .rwqr-h { font-family: var(--display); color: var(--ink); letter-spacing: -0.01em; line-height: 1.15; font-weight: 700; text-transform: none; }
.rwqr-h { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; margin: 0 0 6px; }
.rwqr-muted { color: var(--muted); }
.rwqr-small { font-size: 0.875rem; }
.rwqr-center { text-align: center; }
.rwqr-hint { font-size: 0.875rem; color: var(--muted); margin: 6px 0 0; }
.rwqr-warn { color: var(--err); }
.rwqr-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.rwqr [hidden] { display: none !important; }

/* ---------- Break out of narrow theme content columns ---------- */
body:has(.rwqr-home), body:has(.rwqr-wide) { overflow-x: clip; }
.rwqr-wide {
  width: min(1160px, calc(100vw - 40px)) !important;
  max-width: none !important;
  margin-left: calc(50% - min(580px, 50vw - 20px)) !important;
  margin-right: 0 !important;
}
.rwqr-home { max-width: none !important; }
/* Our blocks carry their own headings; hide the duplicate theme page title */
body:has(.rwqr-home, .rwqr-wide) :is(.wp-block-post-title, .entry-title, .page-title) { display: none; }
body:has(.rwqr-home) main > .wp-block-group:first-child, body:has(.rwqr-home) .wp-block-post-content { margin-top: 0 !important; padding-top: 0 !important; }

/* ---------- Cards and notices ---------- */
.rwqr-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  margin: 16px 0;
}
.rwqr-note { border-radius: 12px; padding: 12px 16px; margin: 12px 0; border-left: 5px solid; }
.rwqr-note-success { background: var(--ok-bg); border-color: var(--c); }
.rwqr-note-error { background: var(--err-bg); border-color: var(--m); color: var(--err); }
.rwqr-note a { color: inherit; font-weight: 600; }

/* ---------- Buttons ---------- */
.rwqr .rwqr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font: 600 1rem/1.2 var(--body);
  padding: 11px 20px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  margin: 0;
}
.rwqr .rwqr-btn:hover { background: var(--soft); color: var(--ink); }
.rwqr-btn:focus-visible, .rwqr input:focus-visible, .rwqr select:focus-visible, .rwqr textarea:focus-visible, .rwqr summary:focus-visible {
  outline: 3px solid var(--y); outline-offset: 2px;
}
.rwqr .rwqr-btn-primary { background: var(--ink); color: #fff !important; }
.rwqr .rwqr-btn-primary:hover { background: var(--ink-2); color: #fff; }
.rwqr .rwqr-btn-ghost { border-color: transparent; background: transparent; }
.rwqr .rwqr-btn-ghost:hover { background: var(--soft); }
.rwqr .rwqr-btn-danger { color: var(--err) !important; }
.rwqr .rwqr-btn-wa { background: #1FA855; border-color: #1FA855; color: #fff !important; }
.rwqr .rwqr-btn-wa:hover { background: #178a45; border-color: #178a45; }
.rwqr .rwqr-btn-sm { padding: 6px 14px; font-size: 0.875rem; border-width: 1.5px; }
.rwqr .rwqr-btn-lg { padding: 14px 28px; font-size: 1.0625rem; }
.rwqr .rwqr-btn-block { width: 100%; margin-top: 14px; }
.rwqr .rwqr-btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- Forms ---------- */
.rwqr-form label { display: block; font-weight: 600; margin: 14px 0 6px; }
.rwqr-form input[type=text], .rwqr-form input[type=email], .rwqr-form input[type=url], .rwqr-form input[type=tel],
.rwqr-form input[type=password], .rwqr-form input[type=number], .rwqr-form input[type=datetime-local],
.rwqr-form select, .rwqr-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  color: var(--ink);
  min-height: 46px;
}
.rwqr-form input:focus, .rwqr-form select:focus, .rwqr-form textarea:focus { border-color: var(--c); outline: none; box-shadow: 0 0 0 3px rgba(0,159,227,.18); }
.rwqr-form input[type=file] { width: 100%; padding: 10px; border: 1.5px dashed var(--line); border-radius: 12px; background: var(--soft); }
.rwqr-form input[type=color] { width: 64px; height: 44px; padding: 3px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.rwqr-form input[type=range] { width: 100%; accent-color: var(--m); }
.rwqr-check { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 400 !important; margin: 8px 0 !important; }
.rwqr-check > span { flex: 1; }
.rwqr-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); flex: none; }
.rwqr-linkish { display: inline !important; margin: 0 !important; font-weight: 600 !important; text-decoration: underline; text-decoration-color: var(--m); text-underline-offset: 3px; cursor: pointer; }
.rwqr-consent { background: var(--soft); border-radius: 12px; padding: 6px 14px; margin-top: 16px; }

/* ---------- Login / register ---------- */
.rwqr-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 24px 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.rwqr-auth-intro {
  background: var(--ink); color: #fff; padding: 40px 36px;
  background-image: linear-gradient(90deg, var(--c) 0 33.3%, var(--m) 33.3% 66.6%, var(--y) 66.6%);
  background-size: 100% 8px; background-repeat: no-repeat;
}
.rwqr-auth-intro h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; margin: 28px 0 12px; }
.rwqr-auth-intro p { color: #D9D8F0; margin: 0 0 20px; max-width: 40ch; }
.rwqr-auth-logo { width: 240px; height: auto; display: block; }
.rwqr-auth-points { list-style: none; margin: 0; padding: 0; }
.rwqr-auth-points li { position: relative; padding: 8px 0 8px 32px; color: #fff; font-weight: 600; }
.rwqr-auth-points li::before { content: ""; position: absolute; left: 0; top: 12px; width: 16px; height: 16px; border-radius: 5px; border: 4px solid var(--c); }
.rwqr-auth-points li:nth-child(2)::before { border-color: var(--m); }
.rwqr-auth-points li:nth-child(3)::before { border-color: var(--y); }
.rwqr-auth-card { padding: 32px 36px; }
.rwqr-tab-input { position: absolute; opacity: 0; pointer-events: none; }
.rwqr-tabs { display: flex; gap: 6px; background: var(--soft); padding: 5px; border-radius: 999px; margin-bottom: 8px; }
.rwqr-tabs label { flex: 1; text-align: center; padding: 9px 12px; border-radius: 999px; font-weight: 600; cursor: pointer; color: var(--muted); }
#rwqr-tab-login:checked ~ .rwqr-tabs label[for=rwqr-tab-login],
#rwqr-tab-register:checked ~ .rwqr-tabs label[for=rwqr-tab-register] { background: var(--ink); color: #fff; }
#rwqr-tab-login:focus-visible ~ .rwqr-tabs label[for=rwqr-tab-login],
#rwqr-tab-register:focus-visible ~ .rwqr-tabs label[for=rwqr-tab-register] { outline: 3px solid var(--y); }
.rwqr-panel { display: none; }
#rwqr-tab-login:checked ~ .rwqr-panel-login,
#rwqr-tab-register:checked ~ .rwqr-panel-register,
#rwqr-tab-forgot:checked ~ .rwqr-panel-forgot { display: block; }
.rwqr-panel-forgot h3 { margin: 12px 0 4px; font-size: 1.3rem; }

/* ---------- Builder ---------- */
.rwqr-builder { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; margin: 16px 0 40px; }
.rwqr-step { border: 0; padding: 0; margin: 28px 0 0; min-width: 0; }
.rwqr-step legend, .rwqr-more summary { font-family: var(--display); font-weight: 800; font-size: 1.25rem; display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 4px; }
.rwqr-step-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 1rem; }
.rwqr-step:nth-of-type(2) .rwqr-step-n { background: var(--m-deep); }
.rwqr-step:nth-of-type(3) .rwqr-step-n { background: var(--c); }
.rwqr-types { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.rwqr-type, .rwqr-pattern, .rwqr-mode { margin: 0 !important; font-weight: 400 !important; cursor: pointer; position: relative; }
.rwqr-type input, .rwqr-pattern input, .rwqr-mode input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rwqr-type span { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 0.9375rem; transition: background .12s, border-color .12s; }
.rwqr-type:hover span { border-color: var(--ink); }
.rwqr-type input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.rwqr-type input:focus-visible + span, .rwqr-pattern input:focus-visible + span, .rwqr-mode input:focus-visible + span { outline: 3px solid var(--y); outline-offset: 2px; }
.rwqr-fieldset { margin-top: 4px; }
.rwqr-cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.rwqr-span { grid-column: 1 / -1; }
.rwqr-check-wrap { display: flex; align-items: flex-end; padding-bottom: 8px; }
.rwqr-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.rwqr-mode span { display: block; height: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; font-size: 0.9375rem; color: var(--muted); }
.rwqr-mode span strong { display: block; color: var(--ink); font-size: 1.0625rem; margin-bottom: 2px; }
.rwqr-mode input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--soft); }
.rwqr-mode input:disabled + span { opacity: .45; cursor: not-allowed; }
.rwqr-prefix { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.rwqr-prefix span { padding: 11px 4px 11px 14px; color: var(--muted); background: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70%; }
.rwqr-prefix input { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.rwqr-patterns { display: flex; gap: 10px; margin: 14px 0 4px; flex-wrap: wrap; }
.rwqr-pattern span { display: flex; align-items: center; gap: 8px; padding: 8px 16px 8px 10px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 600; font-size: 0.9375rem; }
.rwqr-pattern input:checked + span { border-color: var(--ink); background: var(--soft); }
.rwqr-pattern i { width: 22px; height: 22px; display: block; background-size: 7.33px 7.33px; }
.rwqr-pattern-square i { background-image: linear-gradient(var(--ink), var(--ink)); background-size: 6px 6px; background-position: 0 0, 8px 8px; background-image: conic-gradient(var(--ink) 25%, transparent 0 50%, var(--ink) 0 75%, transparent 0); background-size: 11px 11px; }
.rwqr-pattern-rounded i { background-image: radial-gradient(circle at 50% 50%, var(--ink) 58%, transparent 60%); background-size: 11px 11px; border-radius: 4px; }
.rwqr-pattern-dots i { background-image: radial-gradient(circle, var(--ink) 40%, transparent 44%); }
.rwqr-swatches { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.rwqr-swatches button { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; background: var(--sw); box-shadow: 0 0 0 1.5px var(--line); cursor: pointer; padding: 0; }
.rwqr-swatches button:hover, .rwqr-swatches button:focus-visible { box-shadow: 0 0 0 2px var(--ink); outline: none; }
.rwqr-more { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 18px; }
.rwqr-more summary { cursor: pointer; font-size: 1.0625rem; list-style: none; }
.rwqr-more summary::-webkit-details-marker { display: none; }
.rwqr-more summary::before { content: "+"; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--soft); font-family: var(--body); }
.rwqr-more[open] summary::before { content: "–"; }
.rwqr-more summary .rwqr-muted { font-family: var(--body); font-weight: 400; font-size: 0.875rem; }
.rwqr-submit { margin-top: 30px; display: flex; gap: 10px; flex-wrap: wrap; }
.rwqr-builder-preview { position: sticky; top: 90px; }
.rwqr-preview-card { background: #fff; border-radius: 22px; padding: 18px; border: 1px solid var(--line); box-shadow: 0 18px 40px -24px rgba(28,26,74,.45); text-align: center; transition: background-color .2s; }
.rwqr-preview-card canvas { width: 100%; height: auto; display: block; border-radius: 6px; }
.rwqr-preview-title { font-family: "DejaVu Sans", system-ui, sans-serif; line-height: 1.2; padding: 4px 6px; overflow-wrap: anywhere; }
.rwqr-preview-title:empty { display: none; }

/* ---------- Dashboard ---------- */
.rwqr-dash { margin: 16px 0 40px; }
.rwqr-dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.rwqr-dash-head p { margin: 0; }
.rwqr-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 16px; }
.rwqr-qcard { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.rwqr-qcard.is-new { border-color: var(--y); box-shadow: 0 0 0 3px var(--y); }
.rwqr-qcard.is-paused .rwqr-qcard-img .rwqr-muted { font-size: 0.8125rem; display: block; }
.rwqr-qcard-img img { opacity: .4; filter: grayscale(1); }
.rwqr-qcard-img { flex: 0 0 120px; }
.rwqr-qcard-img .rwqr-muted { font-size: 0.8125rem; display: block; }
.rwqr-qcard-img img { width: 120px; height: auto; display: block; border-radius: 8px; border: 1px solid var(--line); }
.rwqr-qcard-body { min-width: 0; flex: 1; }
.rwqr-qcard h3 { margin: 0 0 6px; font-size: 1.15rem; overflow-wrap: anywhere; }
.rwqr-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.rwqr-tag { font-size: 0.8125rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--soft); }
.rwqr-tag-dynamic { background: #E6F6FD; color: #00628C; }
.rwqr-tag-static { background: #FFF6CC; color: #6B5300; }
.rwqr-tag-off { background: var(--err-bg); color: var(--err); }
.rwqr-short { display: flex; align-items: center; gap: 8px; background: var(--soft); border-radius: 10px; padding: 6px 6px 6px 12px; font-size: 0.9375rem; }
.rwqr-short a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; text-decoration: none; }
.rwqr-copy { border: 0; background: #fff; border-radius: 8px; padding: 4px 10px; font: 600 0.8125rem var(--body); cursor: pointer; color: var(--ink); }
.rwqr-copy.is-done { background: var(--ink); color: #fff; }
.rwqr-scans { margin: 8px 0 0; font-size: 0.9375rem; }
.rwqr-scans strong { font-family: var(--display); font-weight: 800; font-size: 1.25rem; }
.rwqr-scans a { margin-left: 8px; font-weight: 600; }
.rwqr-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.rwqr-actions form { display: inline; margin: 0; }
.rwqr-empty { text-align: center; padding: 48px 20px; border: 2px dashed var(--line); border-radius: 20px; }
.rwqr-empty h3 { margin: 0 0 6px; font-size: 1.4rem; }

/* ---------- Stats ---------- */
.rwqr-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 14px 0; }
.rwqr-kpis div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.rwqr-kpis strong { display: block; font-family: var(--display); font-weight: 800; font-size: 1.8rem; line-height: 1.1; }
.rwqr-kpis span { color: var(--muted); font-size: 0.875rem; }
.rwqr-kpis div:nth-child(1) { border-top: 5px solid var(--c); }
.rwqr-kpis div:nth-child(2) { border-top: 5px solid var(--m); }
.rwqr-kpis div:nth-child(3) { border-top: 5px solid var(--y); }
.rwqr-kpis div:nth-child(4) { border-top: 5px solid var(--ink); }
.rwqr-bars { display: flex; align-items: flex-end; gap: 3px; height: 170px; padding-top: 18px; }
.rwqr-bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.rwqr-bar::before { content: ""; display: block; height: max(var(--h), 2px); background: var(--c); border-radius: 4px 4px 0 0; }
.rwqr-bar:last-child::before { background: var(--m); }
.rwqr-bar span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); font-size: 0.6875rem; color: var(--muted); }
.rwqr-bars-axis { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.8125rem; border-top: 1px solid var(--line); padding-top: 6px; }
.rwqr-hbar { display: grid; grid-template-columns: 140px 1fr 48px; align-items: center; gap: 12px; margin: 8px 0; }
.rwqr-hbar div { background: var(--soft); border-radius: 999px; height: 12px; overflow: hidden; }
.rwqr-hbar i { display: block; height: 100%; background: var(--ink); border-radius: 999px; }
.rwqr-hbar b { text-align: right; }

.rwqr-disclaimer { text-align: center; font-size: 12px; color: #5D5B85; margin: 36px auto 8px; max-width: 760px; padding: 16px 16px 0; border-top: 1px solid #E1E4F0; font-family: "Hind Madurai", system-ui, sans-serif; }
.rwqr-disclaimer a { color: inherit; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .rwqr-builder { grid-template-columns: 1fr; }
  .rwqr-builder-preview { position: static; order: -1; max-width: 300px; margin: 0 auto; }
}
@media (max-width: 760px) {
  .rwqr-auth { grid-template-columns: 1fr; border-radius: 18px; }
  .rwqr-auth-intro { padding: 28px 22px; }
  .rwqr-auth-intro h2 { margin-top: 18px; }
  .rwqr-auth-card { padding: 24px 20px; }
  .rwqr-cols, .rwqr-modes { grid-template-columns: 1fr; }
  .rwqr-kpis { grid-template-columns: 1fr 1fr; }
  .rwqr-qcard { flex-direction: column; }
  .rwqr-qcard-img, .rwqr-qcard-img .rwqr-muted { font-size: 0.8125rem; display: block; }
.rwqr-qcard-img img { width: 100%; max-width: 220px; flex-basis: auto; margin: 0 auto; }
}

/* ===================================================================
   Front page [rwqr_home]
   =================================================================== */
.rwqr-home > section { width: 100vw; margin-left: calc(50% - 50vw); padding: clamp(56px, 8vw, 104px) 0; }
.rh-wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.rwqr-home h1, .rwqr-home h2, .rwqr-home h3 { font-family: var(--display); color: inherit; margin: 0; letter-spacing: -0.02em; font-weight: 700; text-transform: none; }
.rwqr-home h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; line-height: 1.05; max-width: 20ch; }
.rwqr-home p { margin: 0; }
.rwqr-home a { color: inherit; }

.rh-btn { display: inline-block; padding: 15px 28px; border-radius: 999px; font: 600 1.0625rem/1.2 var(--body); text-decoration: none; border: 2px solid var(--ink); transition: transform .15s, background .15s; }
.rh-btn:focus-visible { outline: 3px solid var(--m); outline-offset: 3px; }
.rh-btn-ink { background: var(--ink); color: #fff !important; }
.rh-btn-ink:hover { background: var(--ink-2); transform: translateY(-1px); }
.rh-btn-line { color: var(--ink) !important; }
.rh-btn-line:hover { background: var(--soft); }
.rh-btn-lg { padding: 18px 34px; font-size: 1.125rem; }

/* Hero */
.rh-hero { background: var(--paper); padding-top: clamp(40px, 6vw, 72px) !important; }
.rh-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.rh-logo { width: 220px; height: auto; display: block; margin-bottom: clamp(28px, 4vw, 44px); }
.rh-hero h1 { font-size: clamp(2.7rem, 6.6vw, 5.2rem); font-weight: 800; line-height: 0.98; max-width: 11ch; }
.rh-lede { font-size: clamp(1.125rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 36ch; margin-top: 22px !important; }
.rh-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.rh-small { margin-top: 16px !important; color: var(--muted); font-size: 0.9375rem; }
.rh-small a { font-weight: 600; text-decoration-color: var(--m); text-underline-offset: 3px; }
.rh-hero-art { margin: 0; text-align: center; }
.rh-hero-art figcaption { color: var(--muted); font-size: 0.9375rem; margin-top: 10px; }
.rwqr-hero-qr { width: 100%; max-width: 440px; height: auto; display: block; margin: 0 auto; }
.rwqr-hero-qr .plates { isolation: isolate; }
.rwqr-hero-qr use { mix-blend-mode: multiply; }
.rwqr-hero-qr .pc { fill: var(--c); transform: translate(-0.9px, -0.55px); animation: rh-register 1.5s cubic-bezier(.2,.8,.2,1) .5s forwards; }
.rwqr-hero-qr .pm { fill: var(--m); transform: translate(0.75px, -0.25px); animation: rh-register 1.5s cubic-bezier(.2,.8,.2,1) .65s forwards; }
.rwqr-hero-qr .py { fill: var(--y); transform: translate(0.15px, 0.8px); animation: rh-register 1.5s cubic-bezier(.2,.8,.2,1) .8s forwards; }
.rwqr-hero-qr .rg { fill: none; stroke: var(--ink); stroke-width: 0.16; }
/* Plates settle slightly off-register: a printed colour fringe that still scans */
.rwqr-hero-qr .pc { --rest: translate(-0.14px, -0.08px); }
.rwqr-hero-qr .pm { --rest: translate(0.12px, -0.04px); }
.rwqr-hero-qr .py { --rest: translate(0.03px, 0.13px); }
@keyframes rh-register { to { transform: var(--rest); } }

/* Content types band */
.rh-band-y { background: var(--y); }
.rh-chips { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; max-width: 980px; }
.rh-chip { font: 600 clamp(1rem, 1.6vw, 1.1875rem)/1.2 var(--body); padding: 12px 22px; border-radius: 999px; }
.rh-chip-c { background: var(--c); color: var(--ink); }
.rh-chip-m { background: var(--m-deep); color: #fff; }
.rh-chip-y { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.rh-chip-k { background: var(--ink); color: #fff; }

/* Steps */
.rh-how { background: var(--paper); }
.rh-steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); counter-reset: none; }
.rh-steps li { border-top: 2px solid var(--ink); padding-top: 20px; }
.rh-n { display: block; font-family: var(--display); font-weight: 800; font-size: 4.5rem; line-height: 0.9; margin-bottom: 14px; }
.rh-n-c { color: var(--c); } .rh-n-m { color: var(--m); } .rh-n-y { color: #E0A800; }
.rh-steps h3 { font-size: 1.5rem; margin-bottom: 8px; }
.rh-steps p { color: var(--muted); font-size: 1.0625rem; }

/* Use-case mosaic */
.rh-uses { background: var(--soft); }
.rh-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(170px, auto); gap: 14px; margin-top: 40px; }
.rh-tile { border-radius: 22px; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; }
.rh-tile h3 { font-size: 1.4rem; margin-bottom: 6px; }
.rh-tile p { font-size: 1.0625rem; max-width: 34ch; }
.rh-tile-big { grid-column: span 2; grid-row: span 2; padding: 36px; }
.rh-tile-big h3 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.rh-tile-big p { font-size: 1.1875rem; }
.rh-tile-m { background: var(--m-deep); color: #fff; }
.rh-tile-c { background: var(--c); color: var(--ink); grid-column: span 2; }
.rh-tile-y { background: var(--y); color: var(--ink); }
.rh-tile-k { background: var(--ink); color: #fff; }
.rh-tile-w { background: #fff; color: var(--ink); grid-column: 1 / -1; min-height: 0; box-shadow: inset 0 0 0 2px var(--ink); }

/* Dynamic vs static */
.rh-compare { background: var(--paper); }
.rh-compare-grid { display: grid; grid-template-columns: 0.9fr 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.rh-col { border-left: 6px solid var(--c); padding-left: 22px; }
.rh-col + .rh-col { border-color: var(--y); }
.rh-col h3 { font-size: 1.5rem; margin-bottom: 8px; }
.rh-col p { color: var(--muted); font-size: 1.0625rem; }

/* Right Win Medias */
.rh-rwm { background: var(--ink); color: #fff; padding: clamp(40px, 6vw, 64px) 0 !important; }
.rh-rwm-grid { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.rh-rwm img { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 0 0 2px rgba(255,255,255,.18); }
.rh-rwm h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); max-width: none; margin-bottom: 8px; }
.rh-rwm p { color: #D9D8F0; max-width: 70ch; font-size: 1.0625rem; }
.rh-rwm a { color: var(--y); font-weight: 600; text-underline-offset: 3px; }

/* Final call to action */
.rh-final { background: var(--paper); text-align: center; position: relative; }
.rh-final::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: linear-gradient(90deg, var(--c) 0 25%, var(--m) 25% 50%, var(--y) 50% 75%, var(--ink) 75%); }
.rh-final h2 { margin: 0 auto 28px; max-width: 18ch; }

@media (max-width: 900px) {
  .rh-hero-grid, .rh-compare-grid { grid-template-columns: 1fr; }
  .rh-hero-art { max-width: 360px; margin: 0 auto; }
  .rh-steps { grid-template-columns: 1fr; }
  .rh-mosaic { grid-template-columns: 1fr 1fr; }
  .rh-tile-big, .rh-tile-c, .rh-tile-w { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 560px) {
  .rh-mosaic { grid-template-columns: 1fr; }
  .rh-tile-big, .rh-tile-c, .rh-tile-w { grid-column: auto; }
  .rh-rwm-grid { grid-template-columns: 1fr; }
  .rh-ctas .rh-btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .rwqr-hero-qr use { animation: none !important; transform: var(--rest) !important; }
  .rh-btn, .rwqr-btn { transition: none; }
}

/* Elementor editor: keep blocks visible */
.elementor-editor-active .rwqr-card { outline: 1px dashed #ccc; }
