.qp {
  --deep-green: #0D2B26;
  --forest: #1E4D45;
  --mint: #A6E8C1;
  --soft-mint: #E8F5EF;
  --off-white: #F7F8F7;

  --ink: #0D2B26;
  --ink-2: #1E4D45;
  --mute: #6b7f7a;
  --hair: rgba(13, 43, 38, 0.10);
  --paper: #F7F8F7;
  --paper-2: #ffffff;
  --paper-3: #E8F5EF;
  --accent: #1E4D45;
  --whats: #1E4D45;

  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;

  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.qp,
.qp *,
.qp *::before,
.qp *::after { box-sizing: border-box; }
:where( .qp ) a { color: inherit; text-decoration: none; }
:where( .qp ) button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.qp-accent-forest {
  --accent: #1E4D45; --whats: #1E4D45; --forest: #1E4D45;
  --deep-green: #0D2B26; --soft-mint: #E8F5EF; --paper-3: #E8F5EF;
}
.qp-accent-sunset {
  --accent: #C84B25; --whats: #C84B25; --forest: #C84B25;
  --deep-green: #5A1F0F; --soft-mint: #FBEDE5; --paper-3: #FBEDE5;
}
.qp-accent-cobalt {
  --accent: #1F3A72; --whats: #1F3A72; --forest: #1F3A72;
  --deep-green: #0E1F40; --soft-mint: #E5ECF8; --paper-3: #E5ECF8;
}
.qp-accent-mono {
  --accent: #1d1d1f; --whats: #1d1d1f; --forest: #1d1d1f;
  --deep-green: #000000; --soft-mint: #F2F2F2; --paper-3: #F5F5F7;
}

.qp-personality-cheerful { --paper: #fffdf8; }
.qp-personality-cheerful .j-hero-eyebrow,
.qp-personality-cheerful .section-eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px;
}
.qp-personality-cheerful .j-hero-title,
.qp-personality-cheerful .j-head { font-weight: 700; letter-spacing: -0.025em; }
.qp-personality-cheerful .topbar-cta { border-radius: 999px; }
.qp-personality-cheerful .pay-card { border-radius: 22px; }
.qp-personality-cheerful .j-hero-title .faint { color: var(--accent); opacity: 0.55; }

.qp-personality-bold {
  --paper: #0d0d0f; --paper-2: #141417; --paper-3: #1a1a1d;
  --ink: #f5f5f7; --ink-2: #c8c8cc; --mute: #8e8e93;
  --hair: rgba(255,255,255,0.10);
}
.qp-personality-bold.topbar,
.qp-personality-bold .topbar {
  background: rgba(13,13,15,0.78);
  border-bottom-color: rgba(255,255,255,0.08);
}
.qp-personality-bold .j-hero-title,
.qp-personality-bold .j-head {
  font-weight: 800; letter-spacing: -0.045em;
  font-size: clamp(48px, 6.5vw, 96px); line-height: 0.96;
}
.qp-personality-bold .j-hero-title .faint { color: var(--accent); opacity: 1; }
.qp-personality-bold .pay-card { background: var(--paper-2); border-color: var(--hair); }

.topbar.qp {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hair);
}
.topbar.is-not-sticky { position: relative; }
.topbar.is-opaque { background: var(--paper-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
@media screen and ( min-width: 783px ) { body.admin-bar .topbar.qp { top: 32px; } }

.topbar-cta, .topbar-cta span { white-space: nowrap; }
.topbar-cta, .topbar .logo { flex-shrink: 0; }

@media ( max-width: 767px ) {
  .topbar-inner { gap: 10px; padding: 10px 14px; flex-wrap: nowrap; min-width: 0; }
  .topbar-navlink { display: none; }
  .topbar-cta { padding: 8px 14px; font-size: 12.5px; }
  .topbar-icon { width: 32px; height: 32px; }
  .topbar .logo span { font-size: 15px; }
  .topbar .logo { min-width: 0; overflow: hidden; }
  /* Full-bleed: makes the topbar/hero span the full viewport edge-to-edge. */
  .qp.alignfull {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc( 50% - 50vw ) !important;
    margin-right: calc( 50% - 50vw ) !important;
  }
  .topbar-inner { max-width: 100% !important; }
}
.wp-block-template-part:has( .topbar.qp ) { overflow-x: clip; }

.wp-block-template-part:has( .topbar.qp:not( .is-not-sticky ) ) {
  position: sticky;
  top: 0;
  z-index: 50;
}
@media screen and ( min-width: 783px ) {
  body.admin-bar .wp-block-template-part:has( .topbar.qp:not( .is-not-sticky ) ) { top: 32px; }
}
.topbar-inner {
  margin: 0 auto;
  display: flex; align-items: center; gap: 28px;
  padding: 14px 24px;
}
.topbar .logo {
  font-family: var(--font-display);
  font-weight: 600; font-size: 17px; letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 8px;
}
.topbar .logo img { border-radius: 7px; display: block; }
.topbar-navlink {
  font-size: 13px; color: var(--ink-2);
  transition: color 0.2s;
}
.topbar-navlink:hover { color: var(--ink); }
.topbar-spacer { flex: 1 1 auto; align-self: stretch; }

.topbar-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--deep-green);
  color: white;
  font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
  box-shadow: 0 6px 16px -6px rgba(13, 43, 38, 0.35), inset 0 0 0 1px rgba(166, 232, 193, 0.15);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.topbar-cta:hover {
  background: var(--forest);
  box-shadow: 0 10px 22px -6px rgba(13, 43, 38, 0.45), inset 0 0 0 1px rgba(166, 232, 193, 0.25);
}
.topbar-cta:active { transform: scale(0.97); }
.topbar-cta svg { color: var(--mint); }
.topbar-cta.is-outline {
  background: transparent; color: var(--ink);
  border: 1px solid var(--hair); box-shadow: none;
}
.topbar-cta.is-outline svg { color: var(--accent); }
.topbar-cta.is-outline:hover { border-color: var(--ink-2); background: transparent; box-shadow: none; }

.topbar-icon {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 999px;
  color: var(--ink-2);
  transition: background 0.2s, color 0.2s;
}
.topbar-icon:hover { background: var(--paper-3); color: var(--accent); }

.journey {
  position: relative;
  background: var(--paper);
  height: calc( var( --j-vh, 500 ) * 1vh );
  overflow-x: clip;
}
.journey-sticky {
  position: sticky; top: 0; height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr minmax(320px, 460px);
  align-items: center;
  padding: 0 6vw; max-width: 1320px; margin: 0 auto; gap: 80px;
}
@media ( min-width: 768px ) {
  .journey-sticky {
    top: var( --qp-topbar-h, 0px );
    height: calc( 100vh - var( --qp-topbar-h, 0px ) );
  }
}
.j-text { position: relative; min-height: 560px; max-width: 620px; }
.j-phase {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.j-phase.active { opacity: 1; pointer-events: auto; }
.j-panel-inner > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(.2, .8, .2, 1);
}
.j-phase.active .j-panel-inner > * { opacity: 1; transform: none; }
.j-phase.active .j-panel-inner > *:nth-child(2) { transition-delay: 0.06s; }
.j-phase.active .j-panel-inner > *:nth-child(3) { transition-delay: 0.12s; }
.j-phase.active .j-panel-inner > *:nth-child(4) { transition-delay: 0.18s; }
.j-phase.active .j-panel-inner > *:nth-child(5) { transition-delay: 0.24s; }
@media ( prefers-reduced-motion: reduce ) {
  .j-phase, .j-panel-inner > * { transition: none; transform: none; }
}

.j-hero-eyebrow {
  font-size: 14px; color: var(--whats); font-weight: 600;
  letter-spacing: -0.01em; margin-bottom: 14px;
}
.j-hero-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(52px, 7vw, 88px); line-height: 1.02;
  letter-spacing: -0.035em; margin-bottom: 22px; color: var(--ink);
}
.j-hero-title .faint { color: var(--mute); font-weight: 500; }
.j-hero-sub {
  font-size: clamp(20px, 2vw, 24px); line-height: 1.35;
  color: var(--ink-2); max-width: 520px; letter-spacing: -0.01em;
  margin-bottom: 36px;
}
.j-hero-ctas { display: inline-flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hero-cta { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; padding: 0 26px;
  border-radius: 980px;
  background: var(--whats); color: white;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(30, 77, 69, 0.20);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.hero-cta-btn:hover { filter: brightness(1.06); box-shadow: 0 10px 24px rgba(30, 77, 69, 0.28); }
.hero-cta-btn:active { transform: scale(0.97); }
.hero-cta-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M.057 24l1.687-6.163c-1.041-1.804-1.588-3.849-1.587-5.946C.16 5.335 5.495 0 12.05 0c3.181.001 6.167 1.24 8.413 3.488 2.245 2.248 3.481 5.236 3.48 8.414-.003 6.557-5.338 11.892-11.893 11.892-1.99-.001-3.951-.5-5.688-1.448L.057 24z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M.057 24l1.687-6.163c-1.041-1.804-1.588-3.849-1.587-5.946C.16 5.335 5.495 0 12.05 0c3.181.001 6.167 1.24 8.413 3.488 2.245 2.248 3.481 5.236 3.48 8.414-.003 6.557-5.338 11.892-11.893 11.892-1.99-.001-3.951-.5-5.688-1.448L.057 24z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hero-cta-alt {
  font-size: 14px; color: var(--mute); letter-spacing: -0.01em;
  transition: color 0.18s;
}
.hero-cta-alt u { text-underline-offset: 3px; text-decoration-color: rgba(0,0,0,0.2); }
.hero-cta-alt:hover { color: var(--forest); }

.j-stepno {
  font-size: 14px; font-weight: 600; color: var(--whats);
  letter-spacing: -0.01em; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.j-stepno-n {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--whats); color: white; font-size: 14px; font-weight: 600;
}
.j-head {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(40px, 5.5vw, 64px); line-height: 1.04;
  letter-spacing: -0.035em; margin-bottom: 20px; color: var(--ink);
}
.j-head .faint { color: var(--mute); font-weight: 500; }
.j-sub {
  font-size: 19px; line-height: 1.45; color: var(--ink-2);
  max-width: 500px; letter-spacing: -0.01em;
}

.pay-card {
  margin-top: 28px; background: var(--paper-2);
  border: 1px solid var(--hair); border-radius: 18px;
  padding: 22px; max-width: 360px;
  opacity: 0; transform: translateY(16px);
  transition: all 0.6s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.pay-card.in { opacity: 1; transform: translateY(0); }
.pay-card-row {
  display: flex; justify-content: space-between; padding: 9px 0;
  border-top: 1px solid var(--hair); font-size: 14px; color: var(--ink-2);
}
.pay-card-row:first-of-type { border-top: 0; }
.pay-card-row b { color: var(--ink); font-weight: 500; }
.pay-card-total {
  display: flex; justify-content: space-between;
  margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--hair);
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  color: var(--ink); letter-spacing: -0.02em;
}
.pay-methods { margin-top: 14px; display: flex; gap: 6px; }
.pay-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px;
  padding: 9px 6px; border-radius: 9px; text-align: center;
  font-size: 11px; font-weight: 500; letter-spacing: -0.01em;
  position: relative; overflow: hidden; min-height: 34px; white-space: nowrap;
}
.pay-btn-apple { background: var(--ink); color: white; }
.pay-btn-apple::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: translateX(-100%); animation: qp-shine 2.2s ease-in-out infinite; pointer-events: none;
}
.pay-btn-google { background: white; color: var(--ink); border: 1px solid var(--hair); }
.pay-btn-card { background: white; color: var(--ink-2); border: 1px solid var(--hair); }
@keyframes qp-shine { 0%,100% { transform: translateX(-100%); } 50% { transform: translateX(100%); } }

.j-phone-col {
  position: relative;
  display: flex; justify-content: center; align-items: center; height: 100%;
}
.j-phone-wrap {
  position: relative; z-index: 1;
  width: 320px; height: min(640px, 82vh);
  display: flex; flex-direction: column; transform-origin: 50% 50%;
}
.j-phone-wrap .phone-quiet { width: 100%; height: 100%; aspect-ratio: auto; padding: 9px; border-radius: 44px; }
.j-phone-wrap .phone-quiet-screen { border-radius: 36px; }
.j-phone-wrap .phone-quiet-body {
  padding: 12px 10px; gap: 7px;
  height: calc(100% - 68px - 44px);
  overflow: hidden; justify-content: flex-end;
}
.j-phone-wrap .q-bubble { font-size: 12px; padding: 7px 10px 16px; }

.j-bubble-anim {
  opacity: 0; transform: translateY(10px) scale(0.98);
  max-height: 0; margin-bottom: 0; overflow: hidden;
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(.2,.8,.2,1), max-height 0.55s ease, margin 0.55s ease, padding 0.55s ease;
}
.j-bubble-anim.in {
  opacity: 1; transform: translateY(0) scale(1); max-height: 360px;
}
.j-bubble-anim:not( .in ) {
  max-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

.j-rail {
  position: fixed; right: 24px; top: 50%; transform: translateY(-50%);
  z-index: 30; display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
.j-rail.show { opacity: 1; }
.j-rail-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(0,0,0,0.15); transition: all 0.3s ease; }
.j-rail-dot.active { background: var(--whats); transform: scale(1.8); }

.phone-quiet {
  width: 100%; aspect-ratio: 9/19; background: #111;
  border-radius: 44px; padding: 10px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.12), 0 10px 30px rgba(0,0,0,0.06);
  position: relative;
}
.phone-quiet-screen { width: 100%; height: 100%; background: #ece5dd; border-radius: 36px; overflow: hidden; position: relative; }
.phone-quiet-head {
  height: 80px; background: var(--forest); color: white;
  padding: 40px 14px 8px; display: flex; align-items: center; gap: 10px;
  font-size: 13px; position: relative;
}
.phone-quiet-head::before {
  content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 26px; background: #111; border-radius: 16px;
}
.phone-quiet-av {
  width: 32px; height: 32px; border-radius: 50%; background: transparent;
  display: grid; place-items: center; overflow: hidden;
}
.phone-quiet-av img { width: 100%; height: 100%; object-fit: cover; }
.phone-quiet-body {
  padding: 14px 10px; display: flex; flex-direction: column; gap: 8px;
  height: calc(100% - 80px - 44px); overflow: hidden;
}
.phone-quiet-input {
  position: absolute; left: 0; right: 0; bottom: 0; height: 44px;
  background: #f0f0f0; padding: 6px 8px;
  display: flex; align-items: center; gap: 6px;
  border-top: 1px solid rgba(0,0,0,0.05);
}
.phone-quiet-input-field {
  flex: 1; background: white; border-radius: 999px; height: 32px;
  display: flex; align-items: center; padding: 0 10px; gap: 8px;
  font-size: 12px; color: rgba(0,0,0,0.4);
}
.q-bubble {
  font-size: 13px; padding: 8px 11px 18px; border-radius: 8px;
  max-width: 80%; position: relative; box-shadow: 0 1px 1px rgba(0,0,0,0.08); color: #111;
}
.q-bubble-out { background: #dcf8c6; align-self: flex-end; border-top-right-radius: 2px; }
.q-bubble-in { background: white; align-self: flex-start; border-top-left-radius: 2px; }
.q-bubble-t { position: absolute; right: 8px; bottom: 3px; font-size: 10px; color: rgba(0,0,0,0.45); }

.phone-quiet.wa { background: #1a1a1d; }
.phone-quiet.wa .phone-quiet-screen { background: #efeae2; }
.phone-quiet.wa .phone-quiet-head {
  height: 78px; background: #f6f5f3; color: #111;
  padding: 38px 12px 8px; border-bottom: 1px solid rgba(0,0,0,0.08); gap: 8px;
}
.phone-quiet.wa .phone-quiet-head::before { background: #111; }
.wa-back { display: flex; align-items: center; gap: 4px; color: #007aff; font-size: 16px; margin-right: 2px; flex-shrink: 0; }
.wa-back span { font-size: 15px; }
.phone-quiet.wa .phone-quiet-av { width: 30px; height: 30px; background: var(--forest); }
.wa-id { line-height: 1.1; }
.wa-name { font-weight: 600; font-size: 13px; color: #111; letter-spacing: -0.01em; }
.wa-sub { font-size: 10px; color: rgba(0,0,0,0.5); margin-top: 2px; }
.phone-quiet.wa .phone-quiet-body.wa-doodle {
  padding: 12px 9px 12px; gap: 8px; background-color: #efeae2;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'><g fill='none' stroke='%2399b3a3' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round' opacity='0.28'><circle cx='30' cy='30' r='9'/><path d='M22 60 h16 M22 64 h12'/><circle cx='80' cy='28' r='6'/><circle cx='120' cy='22' r='0'/><path d='M120 22 l6 6 -6 6 -6 -6 z'/><circle cx='170' cy='90' r='8'/><path d='M205 80 l8 18 -16 0 z'/><circle cx='75' cy='145' r='9'/><path d='M70 142 l3 3 7 -6'/></g></svg>");
  background-size: 220px 220px; background-repeat: repeat; justify-content: flex-end;
}
.phone-quiet.wa .q-bubble {
  font-size: 11px; line-height: 1.32; padding: 6px 9px 14px;
  border-radius: 9px; max-width: 88%; box-shadow: 0 1px 0.5px rgba(0,0,0,0.13);
}
.phone-quiet.wa .q-bubble-in { background: #ffffff; border-top-left-radius: 0; }
.phone-quiet.wa .q-bubble-in::before {
  content: ''; position: absolute; left: -5px; top: 0; width: 8px; height: 13px;
  background: white; clip-path: polygon(100% 0, 100% 100%, 0 0);
}
.phone-quiet.wa .q-bubble-t {
  font-size: 9px; color: rgba(0,0,0,0.42); bottom: 2px; right: 8px;
  display: flex; align-items: center; gap: 3px;
}
.q-bubble-link { padding-bottom: 8px !important; }
.q-bubble-link .q-bubble-text { padding-bottom: 4px; }
.q-bubble-link .wa-link-btn {
  margin: 6px -9px -4px; padding: 9px 10px; border-top: 1px solid rgba(0,0,0,0.08);
  color: #0c8a5e; font-size: 11px; font-weight: 500; letter-spacing: -0.01em;
  text-align: center; display: flex; align-items: center; justify-content: center; gap: 5px;
}
.q-photo-wrap { align-self: flex-end; display: flex; flex-direction: column; align-items: flex-end; max-width: 88%; }
.q-photo-msg {
  background: var(--forest);
  border-radius: 9px; border-top-right-radius: 0; padding: 3px;
  position: relative; box-shadow: 0 1px 0.5px rgba(0,0,0,0.18); width: 178px; max-width: 100%;
}
.q-photo-msg::after {
  content: ''; position: absolute; right: -5px; top: 0; width: 8px; height: 13px;
  background: var(--forest); clip-path: polygon(0 0, 0 100%, 100% 0);
}
.wa-photogrid-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border-radius: 7px; overflow: hidden; }
.wa-photogrid-inner .p { aspect-ratio: 1 / 1; background-size: cover; background-position: center; background-color: #2a5b52; position: relative; }
.wa-photogrid-inner .p-more::before {
  content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.48);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.q-photo-more {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; z-index: 1;
  text-shadow: 0 1px 3px rgba(0,0,0,0.35);
}
.q-photo-msg .wa-out-meta {
  position: absolute; right: 8px; bottom: 6px; font-size: 9px; color: rgba(255,255,255,0.95);
  display: flex; align-items: center; gap: 4px; text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  background: rgba(0,0,0,0.28); padding: 2px 6px; border-radius: 8px;
}
.wa-out-meta .wa-ticks { display: block; }
.q-photo-react {
  position: relative; z-index: 2; margin-top: -9px; margin-right: 10px;
  background: #2b2b2b; color: #fff; border-radius: 999px; padding: 2px 7px;
  font-size: 11px; line-height: 1.2; display: inline-flex; align-items: center; gap: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25); border: 1.5px solid #efeae2;
}
.phone-quiet.wa .phone-quiet-input.wa-input {
  background: #f6f5f3; border-top: 1px solid rgba(0,0,0,0.08); padding: 6px 8px; gap: 8px;
}
.wa-input-plus {
  width: 26px; height: 26px; border-radius: 50%; background: rgba(0,0,0,0.06);
  display: grid; place-items: center; color: rgba(0,0,0,0.45); flex-shrink: 0;
}
.phone-quiet.wa .phone-quiet-input-field { height: 28px; padding: 0 10px; background: white; border: 1px solid rgba(0,0,0,0.08); }
.wa-input-icons { display: flex; gap: 8px; color: rgba(0,0,0,0.4); flex-shrink: 0; }

.wa-chat-stack { display: contents; }
.phone-quiet-head, .phone-quiet-body { transition: opacity 0.5s ease, filter 0.5s ease; }
.wa-chat-stack.paused .phone-quiet-head,
.wa-chat-stack.paused .phone-quiet-body { opacity: 0.5; filter: blur(1px); }

.wa-checkout {
  position: absolute; inset: 0;
  background: #0b0b0c; border-radius: inherit; overflow: hidden;
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(28px) scale(0.985);
  transition: opacity 0.55s cubic-bezier(.4,0,.2,1), transform 0.55s cubic-bezier(.4,0,.2,1);
  pointer-events: none; z-index: 5;
}
.wa-checkout.in { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

/* Dark WhatsApp in-app browser checkout */
.wa-cko-browser { background: #2c2c2e; padding: 30px 12px 8px; }
.wa-cko-browser-row { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.wa-cko-done { color: #fff; font-size: 12px; }
.wa-cko-url { flex: 1; text-align: center; line-height: 1.15; min-width: 0; }
.wa-cko-title { font-weight: 600; font-size: 11px; color: #fff; }
.wa-cko-host { display: inline-flex; align-items: center; gap: 3px; font-size: 8px; color: rgba(255,255,255,0.5); margin-top: 1px; justify-content: center; }
.wa-cko-more { width: 18px; height: 18px; border-radius: 50%; border: 1.2px solid rgba(255,255,255,0.55); background: none; display: grid; place-items: center; font-size: 10px; color: #fff; letter-spacing: -0.5px; flex-shrink: 0; }

.wa-cko-body { flex: 1; overflow-y: auto; padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 9px; font-size: 11px; color: #fff; -webkit-overflow-scrolling: touch; }
.wa-cko-brand { display: flex; align-items: center; justify-content: center; gap: 7px; font-weight: 500; font-size: 14px; letter-spacing: -0.01em; padding: 2px 0 4px; color: #fff; }
.wa-cko-brand img { border-radius: 5px; display: block; }

.wa-cko-photos-label { font-size: 12px; color: rgba(255,255,255,0.7); letter-spacing: -0.01em; }
/* Descending carousel: each photo a little smaller and stepped down to the right. */
.wa-cko-photos { display: flex; align-items: flex-start; gap: 6px; overflow: hidden; margin: 0 -14px; padding: 2px 14px 8px; }
.wa-cko-photo { width: 92px; height: 132px; border-radius: 11px; background-size: cover; background-position: center; background-color: #333; flex-shrink: 0; box-shadow: 0 6px 14px rgba(0,0,0,0.45); }
.wa-cko-photo:nth-child(2) { width: 86px; height: 120px; margin-top: 10px; }
.wa-cko-photo:nth-child(3) { width: 80px; height: 110px; margin-top: 20px; }
.wa-cko-photo:nth-child(n+4) { width: 74px; height: 100px; margin-top: 30px; }

.wa-cko-edit-wrap { display: flex; justify-content: center; padding: 3px 0; }
.wa-cko-edit { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: #fff; background: #2c2c2e; padding: 7px 18px; border-radius: 999px; }

.wa-cko-customise { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 15px; font-weight: 500; letter-spacing: -0.02em; margin-top: 2px; color: #fff; }
.wa-cko-customise svg { color: rgba(255,255,255,0.7); flex-shrink: 0; }

.wa-cko-options { display: flex; flex-direction: column; gap: 8px; }
.wa-cko-opt2 { border: 1.5px solid rgba(255,255,255,0.14); border-radius: 12px; padding: 11px 13px; background: rgba(255,255,255,0.02); }
.wa-cko-opt2.selected { border-color: #85e3ab; box-shadow: inset 0 0 0 0.5px #85e3ab; }
.wa-cko-opt2-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.wa-cko-opt2-name { font-weight: 600; font-size: 13px; letter-spacing: -0.01em; color: #fff; }
.wa-cko-opt2-price { font-weight: 600; font-size: 13px; white-space: nowrap; color: #fff; }
.wa-cko-opt2-meta { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 3px; }
.wa-cko-opt2-badge { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); font-size: 10px; padding: 3px 9px; border-radius: 999px; }
.wa-cko-opt2-badge svg { flex-shrink: 0; }

.wa-cko-promo { margin-top: 2px; }
.wa-cko-promo-label { font-size: 12px; color: rgba(255,255,255,0.7); letter-spacing: -0.01em; margin-bottom: 6px; }
.wa-cko-promo-field { display: flex; align-items: center; gap: 8px; border: 1.5px solid rgba(255,255,255,0.14); border-radius: 10px; padding: 8px 8px 8px 12px; background: rgba(255,255,255,0.02); }
.wa-cko-promo-input { flex: 1; min-width: 0; font-size: 12px; color: rgba(255,255,255,0.45); }
.wa-cko-promo-apply { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.1); padding: 5px 12px; border-radius: 999px; flex-shrink: 0; }

.wa-cko-continue { margin-top: auto; background: #fff; color: #111; text-align: center; padding: 12px; border-radius: 999px; font-weight: 600; font-size: 13px; letter-spacing: -0.01em; }

.j-envelope {
  position: absolute; top: 40%; left: 50%;
  width: 560px; aspect-ratio: 1354 / 1032;
  transform: translate(140%, -42%) rotate(18deg);
  opacity: 0;
  transition: transform 1.1s cubic-bezier(.2,.8,.2,1), opacity 0.6s ease;
  pointer-events: none; z-index: 2;
  filter: drop-shadow(-12px 18px 28px rgba(0,0,0,0.18));
}
.j-envelope img { width: 100%; height: 100%; object-fit: contain; display: block; }
.j-envelope.in { transform: translate(-22%, -50%) rotate(-7deg); opacity: 1; }

.j-panel-inner { display: flex; flex-direction: column; }
.j-panel-inner > * { margin: 0; }
.j-panel-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.j-panel-actions:empty { display: none; }
.j-panel-actions .qp-btn-wrap { display: inline-block; }

.hero-cta-btn, .hero-cta-btn span, .topbar-cta, .topbar-cta span { color: #fff; }
.topbar-cta.is-outline, .topbar-cta.is-outline span { color: var(--ink); }

.qp-btn-wrap { display: block; }
.qp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: 999px;
  background: var(--accent);
  font-family: var(--font-body); font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  box-shadow: 0 6px 18px -6px rgba(13,43,38,0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
  cursor: pointer;
}
.qp-btn, .qp-btn span { color: #fff; }
.qp-btn:hover { filter: brightness(1.07); box-shadow: 0 10px 24px -6px rgba(13,43,38,0.45); }
.qp-btn:active { transform: scale(0.97); }
.qp-btn svg { flex: none; }
.qp-btn.is-outline { background: transparent; border: 1px solid var(--hair); box-shadow: none; }
.qp-btn.is-outline, .qp-btn.is-outline span { color: var(--ink); }
.qp-btn.is-outline svg { color: var(--accent); }
.qp-btn.is-outline:hover { background: var(--paper-3); filter: none; box-shadow: none; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
:where( .qp-section, .journey, .dpqr, .topbar.qp ) { scroll-margin-top: 84px; }

.wp-site-blocks { overflow-x: clip; }

.qp-section { padding: clamp( 24px, 4vw, 52px ) 24px; max-width: 1200px; margin: 0 auto; }
.qp-section-head { text-align: center; max-width: 780px; margin: 0 auto 32px; }
.qp-eyebrow { font-size: 14px; color: var(--whats); font-weight: 600; letter-spacing: -0.01em; margin: 0 0 10px; }
.qp-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(36px, 5vw, 56px); line-height: 1.07; letter-spacing: -0.03em; color: var(--ink); margin: 0 0 16px; }
.qp-title .faint { color: var(--mute); font-weight: 500; }
.qp-sub { font-size: 19px; line-height: 1.4; color: var(--ink-2); margin: 0; }

.qp-prices-wrap { position: relative; }
.qp-prices {
  display: flex;
  gap: 20px;
  align-items: stretch;
  justify-content: safe center;
  overflow-x: auto;
  padding: 6px 4px 22px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.qp-prices::-webkit-scrollbar { width: 0; height: 0; display: none; }
.qp-prices > .price,
.qp-prices > .wp-block-quickprints-pricing-column { flex: 0 0 320px; scroll-snap-align: center; }

.qp-prices-arrow, .qp-cards-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 6; width: 44px; height: 44px; border-radius: 50%;
  display: none; place-items: center;
  background: var(--paper-2); color: var(--ink);
  border: 1px solid var(--hair);
  box-shadow: 0 6px 18px -6px rgba(13,43,38,0.28);
  cursor: pointer; transition: transform 0.15s ease, opacity 0.2s ease, background 0.2s ease;
}
.qp-prices-arrow:hover, .qp-cards-arrow:hover { background: var(--paper-3); }
.qp-prices-arrow:active, .qp-cards-arrow:active { transform: translateY(-50%) scale(0.92); }
.qp-prices-arrow[disabled], .qp-cards-arrow[disabled] { opacity: 0.3; pointer-events: none; }
.qp-prices-prev, .qp-cards-prev { left: -6px; }
.qp-prices-next, .qp-cards-next { right: -6px; }
.qp-prices-arrow, .qp-cards-arrow { display: none !important; }
.qp-arrow-ico {
  display: block; width: 18px; height: 18px; background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.qp-cards-next .qp-arrow-ico, .qp-prices-next .qp-arrow-ico { transform: rotate(180deg); }
.price {
  background: var(--paper-2);
  border-radius: 22px;
  padding: 32px 30px;
  border: 1px solid var(--hair);
  text-align: left;
  display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.price:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.06); }
.price-size { font-family: var(--font-display); font-weight: 600; font-size: 28px; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 4px; }
.price-kicker { font-size: 14px; color: var(--mute); margin-bottom: 24px; }
/* Fixed height so every column's price/text rows line up, even though the
   sample images are different sizes (6×4 → 8×6). Images bottom-align on a shelf. */
.price-sample-wrap { margin-bottom: 24px; display: flex; justify-content: center; align-items: flex-end; height: 160px; perspective: 1000px; }
.price-sample {
  width: 100%; background-size: cover; background-position: center;
  background-color: var(--paper-3);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04), 0 8px 18px rgba(0,0,0,0.04);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1), box-shadow 0.5s cubic-bezier(.2,.8,.2,1);
}
@media ( hover: hover ) and ( prefers-reduced-motion: no-preference ) {
  .price:hover .price-sample {
    transform: rotateX(8deg) rotateY(-10deg) translateZ(8px);
    box-shadow: -10px 14px 24px rgba(0,0,0,0.10), -2px 4px 8px rgba(0,0,0,0.06);
  }
}
/* Print sizes scale to reflect real dimensions: 6×4 smallest → 8×6 biggest. */
.price-sample.ar-6x4  { aspect-ratio: 6 / 4;  max-width: 150px; }
.price-sample.ar-7x5  { aspect-ratio: 7 / 5;  max-width: 175px; }
.price-sample.ar-8x6 { aspect-ratio: 8 / 6; max-width: 205px; }
.price-sample.ar-1x1  { aspect-ratio: 1 / 1;  max-width: 175px; }
.price-sample-img { width: 100%; height: 100%; background-size: cover; background-position: center; background-color: var(--paper-3); }
.price-value { font-family: var(--font-display); font-weight: 600; font-size: 40px; letter-spacing: -0.03em; color: var(--ink); line-height: 1; margin-bottom: 4px; }
.price-per { font-size: 14px; color: var(--mute); margin-bottom: 20px; }
.price-feats { display: flex; flex-direction: column; margin-top: 4px; }
.price-feat {
  font-size: 13px; color: var(--ink-2); padding: 8px 0;
  border-top: 1px solid var(--hair);
  display: flex; align-items: center; gap: 8px;
}
.price-feat::before {
  content: ''; width: 14px; height: 14px; border-radius: 50%;
  background: #85e3ab; flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='black'><path d='M6.3 10.8 3.7 8.2l-1 1 3.6 3.6 7.5-7.5-1-1z'/></svg>");
  background-size: 90%; background-repeat: no-repeat; background-position: center;
}

.qp-cards-wrap { position: relative; }
/* Desktop: a centred, non-scrolling grid — all cards visible, evenly spaced,
   never cropped. Horizontal scrolling is re-enabled only at the mobile breakpoint. */
.qp-cards {
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax( 240px, 1fr ) );
  gap: 20px;
  align-items: stretch;
  justify-content: center;
  padding: 6px 4px 22px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.qp-cards::-webkit-scrollbar { width: 0; height: 0; display: none; }
.qp-cards > .qp-card,
.qp-cards > .wp-block-quickprints-card { scroll-snap-align: center; }
.qp-card {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--paper-2);
  border: 1px solid var(--hair);
  border-radius: 22px;
  padding: 28px;
  text-decoration: none; color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
@media ( hover: hover ) {
  .qp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -18px rgba(13,43,38,0.28);
    border-color: transparent;
  }
}
.qp-card-icon {
  width: 48px; height: 48px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--soft-mint); color: var(--accent);
  flex-shrink: 0;
}
.qp-card-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: 20px; letter-spacing: -0.01em; color: var(--ink); margin: 0;
}
.qp-card-desc { font-size: 15px; line-height: 1.5; color: var(--ink-2); margin: 0; }
.qp-card-arrow {
  margin-top: auto; padding-top: 6px;
  color: var(--accent); display: inline-flex;
  transition: transform 0.2s ease;
}
.qp-card:hover .qp-card-arrow { transform: translateX(4px); }

.qp-faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-item:first-child { border-top: 1px solid var(--hair); }
.faq-item summary {
  font-family: var(--font-display); font-weight: 500; font-size: 19px;
  letter-spacing: -0.01em; color: var(--ink); padding: 24px 8px;
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-weight: 300; font-size: 24px; color: var(--mute);
  transition: transform 0.3s; line-height: 1; flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--whats); }
.faq-item .faq-answer { color: var(--ink-2); font-size: 16px; line-height: 1.5; padding: 0 8px 28px; max-width: 620px; }

.dpqr { padding: clamp( 24px, 4vw, 52px ) 24px; text-align: center; max-width: 1040px; margin: 0 auto; }
.dpqr-card {
  margin-top: 40px; display: grid; grid-template-columns: 1.1fr 1fr;
  background: var(--paper-2); border: 1px solid var(--hair); border-radius: 28px;
  overflow: hidden; text-align: left;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 30px 60px -30px rgba(0,0,0,0.12);
}
.dpqr-card-left { padding: 48px; display: flex; flex-direction: column; gap: 18px; }
.dpqr-card-kicker { font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--forest); font-weight: 600; }
.dpqr-card-title { font-size: clamp(28px, 3vw, 36px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 600; color: var(--ink); margin: 0; }
.dpqr-card-meta { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.dpqr-card-row { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); letter-spacing: -0.01em; }
.dpqr-card-row svg { flex: none; color: var(--forest); width: 18px; height: 18px; }
.dpqr-card-btn { align-self: flex-start; margin-top: 8px; }
.dpqr-card-right {
  background:
    radial-gradient(circle at 30% 20%, rgba(166, 232, 193, 0.30), transparent 60%),
    radial-gradient(circle at 80% 90%, rgba(30, 77, 69, 0.10), transparent 55%),
    var(--soft-mint);
  border-left: 1px solid var(--hair); padding: 48px;
  display: flex; align-items: center; justify-content: center;
}
.dpqr-qr-shell { width: 280px; background: white; border-radius: 24px; padding: 20px 20px 14px; box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 12px 28px -8px rgba(0,0,0,0.12); }
.dpqr-qr-img { width: 100%; aspect-ratio: 1/1; display: block; border-radius: 8px; object-fit: cover; }
.dpqr-qr-caption { margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--ink-2); font-weight: 500; letter-spacing: -0.01em; padding-top: 10px; border-top: 1px solid var(--hair); }
.dpqr-qr-caption svg { color: var(--forest); width: 18px; height: 18px; }
@media (max-width: 780px) {
  .dpqr-card { grid-template-columns: 1fr; }
  .dpqr-card-right { border-left: none; border-top: 1px solid var(--hair); }
}

.qp-scroll-dots { display: none; }
.qp-prices-wrap.is-scrollable .qp-scroll-dots,
.qp-cards-wrap.is-scrollable .qp-scroll-dots {
  display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 18px;
}
.qp-scroll-dot {
  width: 7px; height: 7px; border-radius: 999px; padding: 0;
  background: var( --hair ); border: 0; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  transition: width 0.25s ease, background 0.25s ease;
}
.qp-scroll-dot.active { width: 22px; background: var( --accent ); }

@media ( max-width: 767px ) {

  .wp-block-group:has( .journey.qp ) { margin-top: 0 !important; }

  .qp-section { padding: clamp( 26px, 6.5vw, 40px ) 16px; }
  .dpqr { padding-left: 16px; padding-right: 16px; padding-top: clamp( 26px, 6.5vw, 40px ); padding-bottom: clamp( 26px, 6.5vw, 40px ); }
  .qp-section-head { margin-bottom: 20px; }
  .qp-title { font-size: clamp( 30px, 8vw, 46px ); }
  .qp-sub { font-size: 16px; }
  .price { padding: 22px 20px; }
  .price-sample-wrap { min-height: 0; margin-bottom: 16px; }
  .price-kicker { margin-bottom: 16px; }
  .price-value { font-size: 34px; }
  .dpqr-card-left, .dpqr-card-right { padding: 30px 24px; }
  .dpqr-qr-shell { width: 100%; max-width: 280px; margin-inline: auto; }

  /* overflow-x:visible on the sticky's ancestors prevents an iOS Safari position:sticky momentum-scroll jitter. */
  .journey { overflow-x: visible; height: calc( var( --j-vh, 500 ) * var( --qp-vh, 800px ) / 100 ); }
  .wp-site-blocks { overflow-x: visible; }
  .wp-block-template-part:has( .topbar.qp ) { overflow-x: visible; }
  .journey-sticky {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* !important overrides the inline column-gap. */
    gap: clamp( 12px, 2svh, 18px ) !important;
    /* !important overrides the inline padding. */
    padding: 10px clamp( 24px, 7vw, 36px ) 8px !important;
    max-width: 100%;
    top: var( --qp-topbar-h, 0px );
    height: auto;
  }
  .j-phone-col {
    order: 0;
    width: 100%;
    flex: 0 0 auto;
    height: auto;
    align-items: center;
    justify-content: center;
    z-index: 5;
    /* Clip the envelope's off-screen fly-in so it never adds horizontal scroll.
       (Ancestors stay overflow-x:visible for the iOS sticky fix — this is a
       descendant of the sticky, so it doesn't affect sticky behaviour.) */
    overflow-x: clip;
  }
  .j-phone-wrap {
    /* Fixed px from --qp-phone-scale (set by view.js) so the mobile address bar doesn't cause reflow/bounce. */
    width: calc( 320px * var( --qp-phone-scale, 0.78 ) );
    height: calc( 640px * var( --qp-phone-scale, 0.78 ) );
    aspect-ratio: auto;
    margin: 0 auto;
    transform: none;
    will-change: transform;
  }
  .j-phone-wrap .phone-quiet {
    /* position:absolute takes the phone out of the flex column so its 320x640
       box is never shrunk to the wrapper's height (Android Chrome shrinks flex
       items with min-height:auto; iOS Safari doesn't — that mismatch squashed
       the phone). Only the transform scales it. */
    position: absolute;
    top: 0;
    left: 0;
    flex: 0 0 auto;
    width: 320px;
    height: 640px;
    transform: scale( var( --qp-phone-scale, 0.78 ) );
    transform-origin: top left;
    box-shadow: none;
  }
  .j-text {
    order: 1;
    width: 100%;
    position: relative;
    z-index: 1;
    min-height: 120px;
    max-width: 100%;
    text-align: left;
  }
  /* On mobile, render only the active stage in normal flow so long copy sizes
     the text column instead of overflowing the absolute box and overlapping the
     next section (e.g. Pricing). */
  .j-phase { position: static; display: none; justify-content: flex-start; padding-top: 0; }
  .j-phase.active { display: flex; }
  /* !important overrides the inline max-width/gap. */
  .j-panel-inner { max-width: 100% !important; gap: 10px !important; align-items: flex-start; margin-top : 10px; }
  .j-stepno, .j-hero-ctas, .hero-cta, .j-panel-actions { justify-content: flex-start; }
  .hero-cta { flex-wrap: nowrap; gap: 8px; }
  .hero-cta-btn { height: 42px; padding: 0 13px; font-size: 12.5px; gap: 6px; flex: 0 0 auto; }
  .hero-cta-btn svg { width: 15px; height: 15px; }
  .hero-cta-alt { white-space: nowrap; font-size: 12.5px; flex: 0 0 auto; }
  .j-hero-title { font-size: clamp( 28px, 8vw, 44px ); margin-bottom: 6px; }
  .j-head { font-size: clamp( 25px, 7.4vw, 40px ); margin-bottom: 6px; }
  .j-hero-sub, .j-sub { font-size: 15px; max-width: 42ch; margin-inline: 0; }
  .pay-card { margin-inline: 0; }
  /* Envelope flies in over the phone on mobile too — sized to the phone, not the 560px desktop width. */
  .j-envelope {
    display: block;
    width: min( 82vw, 340px );
    top: 44%;
    left: 50%;
    z-index: 6;
    transform: translate( 60%, -56% ) rotate( 16deg );
  }
  .j-envelope.in { transform: translate( -50%, -62% ) rotate( -6deg ); }

  .j-rail {
    display: flex;
    right: 10px;
    gap: 8px;
    z-index: 40;
  }
  .j-rail-dot {
    width: 7px; height: 7px; border-radius: 999px;
    background: var( --hair );
    transition: height 0.25s ease, background 0.25s ease, transform 0.25s ease;
  }
  .j-rail-dot.active {
    background: var( --accent );
    height: 22px;
    transform: none;
  }

  .qp-prices, .qp-cards {
    --qp-card-w: min( 300px, 72vw );
    /* Restore the horizontal scroller on mobile (the cards grid is desktop-only). */
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    width: 100vw;
    margin-inline: calc( 50% - 50vw );
    justify-content: flex-start;
    gap: 14px;
    padding-inline: calc( ( 100vw - var( --qp-card-w ) ) / 2 );
    padding-bottom: 8px;
  }
  .qp-prices > .price,
  .qp-prices > .wp-block-quickprints-pricing-column,
  .qp-cards > .qp-card,
  .qp-cards > .wp-block-quickprints-card { flex: 0 0 var( --qp-card-w ); }
  .qp-prices-wrap.is-scrollable .qp-prices,
  .qp-cards-wrap.is-scrollable .qp-cards { scroll-padding-inline: 0; }

  .qp-prices > .qp-scroll-active {
    transform: translateY( -4px );
    box-shadow: 0 20px 40px rgba( 0, 0, 0, 0.06 );
  }
  .qp-prices > .qp-scroll-active .price-sample {
    transform: rotateX( 8deg ) rotateY( -10deg ) translateZ( 8px );
    box-shadow: -10px 14px 24px rgba( 0, 0, 0, 0.10 ), -2px 4px 8px rgba( 0, 0, 0, 0.06 );
  }
}

/* ------------------------------------------------------------------ */
/* Privacy Policy / legal document                                     */
/* A centred white "paper" card set on a forest-green backdrop.        */
/* ------------------------------------------------------------------ */
.qp-legal {
  padding: clamp( 40px, 6vw, 96px ) 24px;
  background:
    radial-gradient( circle at 15% 0%, rgba( 166, 232, 193, 0.16 ), transparent 45% ),
    radial-gradient( circle at 90% 100%, rgba( 166, 232, 193, 0.10 ), transparent 45% ),
    var(--deep-green);
}
/* Backdrop colour options (the area behind the white card). Default follows
   the accent via --deep-green; these let editors pick a light backdrop. */
.qp-legal.is-backdrop-paper { background: var(--off-white, #F7F8F7); }
.qp-legal.is-backdrop-mint { background: var(--soft-mint, #E8F5EF); }

.qp-legal-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--paper-2);
  border: 1px solid var(--hair);
  border-radius: 28px;
  padding: clamp( 32px, 5vw, 72px );
  box-shadow: 0 1px 0 rgba( 0, 0, 0, 0.02 ), 0 40px 90px -40px rgba( 0, 0, 0, 0.55 );
}
/* Lighter, closer shadow when the card sits on a light backdrop. */
.qp-legal.is-backdrop-paper .qp-legal-card,
.qp-legal.is-backdrop-mint .qp-legal-card {
  box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.04 ), 0 30px 60px -30px rgba( 13, 43, 38, 0.18 );
}

.qp-legal-head {
  text-align: center;
  padding-bottom: clamp( 24px, 3vw, 36px );
  margin-bottom: clamp( 24px, 3vw, 40px );
  border-bottom: 1px solid var(--hair);
}
.qp-legal-head .qp-eyebrow { margin: 0 0 10px; }
.qp-legal-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp( 34px, 4.4vw, 52px );
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 14px;
}
.qp-legal-updated {
  font-size: 14px;
  color: var(--mute);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}

/* Body — scoped typography for the editable inner core blocks.
   Everything shares one left edge (the card content box) so headings,
   paragraphs and lists line up; no per-block max-width/centering. */
.qp-legal-body { color: var(--ink-2); }
.qp-legal-body > * { max-width: none; margin-left: 0; margin-right: 0; }
.qp-legal-body h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp( 22px, 2.4vw, 28px );
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: clamp( 34px, 4vw, 52px ) 0 14px;
  padding-top: clamp( 22px, 2.6vw, 32px );
  border-top: 1px solid var(--hair);
}
.qp-legal-body h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.qp-legal-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp( 17px, 1.7vw, 19px );
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 26px 0 8px;
}
.qp-legal-body p {
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink-2);
  margin: 0 0 16px;
}
.qp-legal-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.qp-legal-body a:hover { color: var(--ink); }

.qp-legal-body .qp-legal-address {
  background: var(--paper-3);
  border: 1px solid var(--hair);
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}

.qp-legal-body ul {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.qp-legal-body ul li {
  position: relative;
  padding-left: 24px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 10px;
}
.qp-legal-body ul li::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.qp-legal-body table,
.qp-legal-body .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 8px 0 22px;
  border: 1px solid var(--hair);
  border-radius: 14px;
  overflow: hidden;
}
.qp-legal-body .wp-block-table { margin: 8px 0 22px; }
.qp-legal-body th,
.qp-legal-body td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--hair);
  vertical-align: top;
  line-height: 1.45;
}
.qp-legal-body thead th {
  background: var(--forest);
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.qp-legal-body tbody tr:nth-child(even) { background: var(--paper-3); }
.qp-legal-body tbody tr:last-child td { border-bottom: 0; }

@media ( max-width: 767px ) {
  .qp-legal { padding: clamp( 20px, 6vw, 32px ) 14px; }
  .qp-legal-card { border-radius: 20px; }
  .qp-legal-body p,
  .qp-legal-body ul li { font-size: 15.5px; }
  .qp-legal-body table { font-size: 14px; }
  .qp-legal-body th,
  .qp-legal-body td { padding: 11px 12px; }
}

/* ------------------------------------------------------------------ */
/* Footer — logo/title + link columns. Shares the Topbar's type/colour. */
/* ------------------------------------------------------------------ */
.qp-footer {
  background: var(--paper-2);
  border-top: 1px solid var(--hair);
  padding: clamp( 40px, 5vw, 72px ) 24px clamp( 28px, 3vw, 40px );
  color: var(--ink);
  font-family: var(--font-body);
}
.qp-footer-inner { margin: 0 auto; }

/* Brand + columns share one row (they stack on phones — see the 767px query). */
.qp-footer-main {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: clamp( 32px, 6vw, 80px );
}
.qp-footer-cols {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  gap: clamp( 28px, 5vw, 72px );
  justify-content: space-between;
}
.qp-footer-col { min-width: 150px; }
.qp-footer-col-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 14px;
}
.qp-footer-links { display: flex; flex-direction: column; gap: 11px; align-items: flex-start; }
.qp-footer-links p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--mute);
  max-width: 32ch;
}
.qp-footer-link {
  font-size: 14px;
  color: var(--ink-2);
  letter-spacing: -0.01em;
  transition: color 0.2s;
  width: fit-content;
}
.qp-footer-link:hover { color: var(--whats); }

/* Brand (logo + title) sits at the right of the row; the columns grow and
   push it to the far edge. */
.qp-footer-brand {
  flex: 0 0 auto;
  margin-left: auto;
  display: flex;
  flex-direction: column;
}
.qp-footer-brand.is-align-left { align-items: flex-start; text-align: left; }
.qp-footer-brand.is-align-center { align-items: center; text-align: center; }
.qp-footer-brand.is-align-right { align-items: flex-end; text-align: right; }
.qp-footer .logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.qp-footer .logo img { border-radius: 8px; display: block; }

/* Hairline + tagline / copyright below the brand-and-columns row. */
.qp-footer-bottom {
  margin-top: clamp( 30px, 4vw, 48px );
  padding-top: clamp( 22px, 2.6vw, 30px );
  border-top: 1px solid var(--hair);
}
.qp-footer-tagline { margin: 0; font-size: 13px; color: var(--mute); letter-spacing: -0.01em; }

@media ( max-width: 767px ) {
  .qp-footer { padding-left: 16px; padding-right: 16px; }
  /* Too narrow for one row — stack the logo on top with the columns underneath. */
  .qp-footer-main { flex-direction: column; gap: clamp( 26px, 6vw, 36px ); }
  .qp-footer-brand { order: -1; margin-left: 0; }
  .qp-footer-cols { gap: 24px 32px; justify-content: flex-start; }
  .qp-footer-col { min-width: 120px; flex: 1 1 40%; }
}
