/* Geervanee Browser Extension pages (/extensions, /extension-privacy).
 * Mobile-first. Uses the site's own colour and font variables (style.css).
 * Every animation is switched off under prefers-reduced-motion at the bottom. */

.x-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
:root { --xh: 92px; }
@media (max-width: 820px) { :root { --xh: 126px; } }
.x-sec, .x-hero { scroll-margin-top: var(--xh); }
.x-sec { padding: 64px 0; position: relative; }
.x-anchor { display: block; height: 0; scroll-margin-top: var(--xh); }
.x-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.x-h2 { font-family: 'Fraunces', serif; font-size: clamp(26px, 5.4vw, 38px); font-weight: 600; line-height: 1.15; margin: 0 0 12px; color: var(--ink); }
.x-lead { font-size: clamp(15px, 2.6vw, 17px); line-height: 1.75; color: var(--ink-soft); max-width: 680px; }
.x-center { text-align: center; }
.x-center .x-lead { margin-left: auto; margin-right: auto; }

/* ---------- reading progress ---------- */
.x-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), var(--pink)); z-index: 60; pointer-events: none; }

/* ---------- scroll reveal (only when JS runs) ---------- */
.xjs .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .75s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.xjs .rv.in { opacity: 1; transform: none; }
.xjs .rv-l { transform: translateX(-28px); }
.xjs .rv-r { transform: translateX(28px); }
.xjs .rv-z { transform: scale(.94); }

/* ---------- buttons ---------- */
.x-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-size: 15px; font-weight: 600; line-height: 1.2; border: 1px solid transparent; cursor: pointer; text-align: center; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; font-family: inherit; }
.x-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.x-btn.primary { background: var(--ink); color: var(--cream); box-shadow: 0 8px 22px rgba(46, 38, 71, .22); }
.x-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(46, 38, 71, .3); }
.x-btn.primary::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); transition: left .6s ease; }
.x-btn.primary:hover::after { left: 130%; }
.x-btn.ghost { background: #fff; color: var(--ink); border-color: var(--border); }
.x-btn.ghost:hover { border-color: var(--gold); transform: translateY(-2px); }
.x-btn.warm { background: #a2331f; color: #fff; box-shadow: 0 8px 22px rgba(162, 51, 31, .25); font-family: 'Noto Serif Devanagari', serif; }
.x-btn.warm:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(162, 51, 31, .32); }
.x-btn.soon { background: var(--card); color: var(--ink-soft); border: 1px dashed var(--border); cursor: default; box-shadow: none; }
.x-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- hero ---------- */
.x-hero { position: relative; overflow: hidden; padding: 48px 0 56px; background: linear-gradient(180deg, var(--cream), var(--bg)); }
.x-hero .blob { position: absolute; border-radius: 50%; filter: blur(8px); pointer-events: none; }
.x-hero .b1 { width: 320px; height: 320px; right: -90px; top: -80px; background: rgba(212, 107, 158, .18); animation: xdrift 14s ease-in-out infinite alternate; }
.x-hero .b2 { width: 260px; height: 260px; left: -80px; bottom: -70px; background: rgba(184, 134, 11, .16); animation: xdrift 17s ease-in-out infinite alternate-reverse; }
.x-hero-grid { position: relative; display: grid; gap: 34px; align-items: center; }
.x-hero h1 { font-family: 'Fraunces', serif; font-size: clamp(32px, 8vw, 54px); line-height: 1.08; font-weight: 600; margin: 0 0 16px; background: linear-gradient(110deg, var(--ink) 30%, #7a3f8e 60%, var(--ink) 90%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--ink); animation: xsheen 7s ease-in-out infinite; }
.x-hero p { font-size: clamp(15px, 3vw, 18px); line-height: 1.75; color: var(--ink-soft); margin: 0 0 24px; max-width: 560px; }
.x-phonenote { display: none; margin-top: 18px; background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: 12px; padding: 14px 16px; font-size: 14px; color: var(--ink); line-height: 1.6; }
.x-phonenote .x-btn { margin-top: 10px; padding: 10px 18px; font-size: 13.5px; }
.x-phone { justify-self: center; width: min(78vw, 320px); perspective: 900px; }
.x-phone-in { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out; transform-style: preserve-3d; animation: xfloat 6s ease-in-out infinite; }
.x-phone img { display: block; width: 100%; height: auto; border-radius: 26px; box-shadow: 0 26px 60px rgba(46, 38, 71, .28), 0 4px 12px rgba(46, 38, 71, .12); border: 1px solid var(--border); background: #fff; }

/* ---------- icon strip ---------- */
.x-strip { overflow: hidden; padding: 18px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.x-strip-track { display: flex; width: max-content; gap: 34px; animation: xmarquee 46s linear infinite; }
.x-strip:hover .x-strip-track { animation-play-state: paused; }
.x-strip-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.x-strip-item img { width: 34px; height: 34px; object-fit: contain; }

/* ---------- features ---------- */
.x-feat-grid { display: grid; gap: 16px; margin-top: 30px; grid-template-columns: 1fr; }
.x-card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 22px 20px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.x-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(46, 38, 71, .12); border-color: var(--gold); }
.x-card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #fff; border: 1px solid var(--border); margin-bottom: 14px; transition: transform .35s ease; }
.x-card:hover .ic { transform: rotate(-8deg) scale(1.08); }
.x-card .ic svg { width: 24px; height: 24px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.x-card h3 { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 600; margin: 0 0 6px; color: var(--ink); }
.x-card h3 .sa { font-family: 'Noto Serif Devanagari', serif; }
.x-card p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); }
.x-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; align-items: start; }
.x-gallery figure { margin: 0; }
.x-gallery img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--border); box-shadow: 0 10px 26px rgba(46, 38, 71, .14); transition: transform .3s ease; }
.x-gallery figure:hover img { transform: translateY(-6px) rotate(-1deg); }
.x-gallery figcaption { margin-top: 8px; text-align: center; font-size: 12px; color: var(--ink-soft); }

/* ---------- census teaser ---------- */
.x-census { background: linear-gradient(135deg, #fff1e6, #ffe7d4 55%, #fbe0e8); border-top: 1px solid #f2cdb4; border-bottom: 1px solid #f2cdb4; overflow: hidden; }
.x-census .x-h2 { font-family: 'Noto Serif Devanagari', serif; color: #8a2a18; }
.x-census .x-eyebrow { color: #a2331f; }
.x-census-grid { display: grid; gap: 30px; align-items: center; }
.x-points { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 10px; }
.x-points li { display: flex; gap: 12px; align-items: flex-start; background: rgba(255, 255, 255, .75); border: 1px solid #f2cdb4; border-radius: 14px; padding: 12px 14px; font-size: 15px; line-height: 1.55; color: var(--ink); }
.x-points .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #2f8a5b; display: grid; place-items: center; margin-top: 1px; transform: scale(0); }
.rv.in .x-points .tick, .x-points .tick.pop { animation: xpop .5s cubic-bezier(.3, 1.6, .5, 1) forwards; animation-delay: calc(.25s + var(--i, 0) * .18s); }
.x-points .tick svg { width: 13px; height: 13px; stroke: #fff; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.x-q14 { position: relative; margin: 0; }
.x-q14 img { display: block; width: 100%; height: auto; border-radius: 14px; border: 2px solid #e0763a; background: #fff; box-shadow: 0 0 0 6px rgba(224, 118, 58, .16); animation: xglow 4s ease-in-out infinite; }
.x-q14 figcaption { margin-top: 8px; font-size: 12.5px; color: #7a4a36; text-align: center; }
.x-dates { margin: 16px 0 0; font-size: 14px; line-height: 1.65; color: var(--ink); background: rgba(255, 255, 255, .8); border: 1px solid #f2cdb4; border-radius: 12px; padding: 12px 14px; }
.x-small { font-size: 13px; color: var(--ink-soft); line-height: 1.6; margin: 12px 0 0; }
.x-notice { margin-top: 16px; background: #fff; border: 1px solid #e8c9b2; border-left: 4px solid #a2331f; border-radius: 12px; padding: 14px 16px; font-size: 14px; line-height: 1.7; color: var(--ink); }
.x-notice a { color: #a2331f; font-weight: 600; text-decoration: underline; }

/* ---------- install ---------- */
.x-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin-top: 26px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.x-tab { flex: none; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; transition: background .2s ease, color .2s ease, transform .2s ease; }
.x-tab:hover { transform: translateY(-2px); }
.x-tab[aria-selected="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.x-tab:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.x-tab .you { margin-left: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gold); }
.x-tab[aria-selected="true"] .you { color: #f3d68a; }
.x-panel { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 22px 20px; margin-top: 6px; }
.xjs .x-panel[hidden] { display: none; }
.xjs .x-panel.show { animation: xrise .45s ease both; }
.x-panel h3 { font-family: 'Fraunces', serif; font-size: 20px; margin: 0 0 12px; color: var(--ink); }
.x-steps { list-style: none; counter-reset: s; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.x-steps li { counter-increment: s; position: relative; padding-left: 44px; font-size: 15px; line-height: 1.65; color: var(--ink); min-height: 32px; }
.x-steps li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--cream); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.x-after { margin: 16px 0 0; font-size: 14.5px; color: var(--ink-soft); }
.x-mobile-install { display: none; }

/* ---------- permissions ---------- */
.x-perm { display: grid; gap: 14px; margin-top: 26px; grid-template-columns: 1fr; }
.x-perm .x-card h3 { font-size: 17px; }

/* ---------- faq ---------- */
.x-faq-list { margin-top: 26px; display: grid; gap: 10px; max-width: 800px; }
.x-faq-list.center { margin-left: auto; margin-right: auto; }
.x-faq { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.x-faq[open] { border-color: var(--gold); box-shadow: 0 10px 24px rgba(46, 38, 71, .08); }
.x-faq summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 18px; font-size: 15.5px; font-weight: 600; color: var(--ink); position: relative; }
.x-faq summary::-webkit-details-marker { display: none; }
.x-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--card); display: grid; place-items: center; font-size: 18px; line-height: 1; color: var(--ink); transition: transform .25s ease, background .25s ease; }
.x-faq[open] summary::after { content: "–"; transform: translateY(-50%) rotate(180deg); background: var(--gold); color: #fff; }
.x-faq summary:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.x-faq .a { padding: 0 18px 18px; font-size: 15px; line-height: 1.75; color: var(--ink-soft); }
.x-faq[open] .a { animation: xrise .35s ease both; }

/* ---------- support ---------- */
.x-support-grid { display: grid; gap: 16px; margin-top: 26px; grid-template-columns: 1fr; }
.x-support-grid a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.x-support-grid a:hover { color: var(--gold); }

/* ---------- privacy page ---------- */
.x-doc { max-width: 820px; margin: 0 auto; padding: 44px 20px 70px; }
.x-doc h1 { font-family: 'Fraunces', serif; font-size: clamp(28px, 6vw, 40px); line-height: 1.15; margin: 0 0 8px; color: var(--ink); }
.x-doc .eff { display: inline-block; font-size: 13px; font-weight: 600; background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; color: var(--ink-soft); margin-bottom: 26px; }
.x-doc ol { list-style: none; counter-reset: p; margin: 0; padding: 0; display: grid; gap: 14px; }
.x-doc ol > li { counter-increment: p; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px 18px 18px 64px; position: relative; font-size: 15.5px; line-height: 1.75; color: var(--ink-soft); transition: border-color .2s ease, transform .2s ease; }
.x-doc ol > li:hover { border-color: var(--gold); transform: translateX(3px); }
.x-doc ol > li::before { content: counter(p); position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--cream); display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.x-doc ol > li > strong { display: block; color: var(--ink); font-family: 'Fraunces', serif; font-size: 17px; margin-bottom: 4px; }
.x-doc a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; font-weight: 600; }
.x-doc .x-perm { margin-top: 14px; }
.x-back { display: inline-block; margin-top: 26px; font-size: 14px; }

/* ---------- breakpoints ---------- */
@media (min-width: 640px) {
  .x-feat-grid { grid-template-columns: repeat(2, 1fr); }
  .x-perm { grid-template-columns: repeat(3, 1fr); }
  .x-support-grid { grid-template-columns: repeat(2, 1fr); }
  .x-points li { font-size: 15.5px; }
}
@media (min-width: 900px) {
  .x-sec { padding: 84px 0; }
  .x-hero { padding: 72px 0 80px; }
  .x-hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .x-feat-grid { grid-template-columns: repeat(3, 1fr); }
  .x-census-grid { grid-template-columns: 1.15fr .85fr; gap: 48px; }
  .x-panel { padding: 28px 30px; }
  .x-gallery { gap: 22px; max-width: 880px; margin-left: auto; margin-right: auto; }
}
/* the extension is for computers: show the phone note on small or touch screens */
@media (max-width: 819px), (pointer: coarse) {
  .x-phonenote { display: block; }
  .x-mobile-install { display: block; }
}
@media (max-width: 420px) {
  .x-wrap { padding: 0 16px; }
  .x-btn { width: 100%; }
  .x-btn-row { gap: 10px; }
  .x-gallery { gap: 8px; }
  .x-gallery figcaption { font-size: 11px; }
  .x-doc ol > li { padding-left: 58px; }
}
/* tilt needs a mouse; skip it on touch */
@media (hover: none) { .x-phone-in { transform: none !important; } }

/* ---------- keyframes ---------- */
@keyframes xfloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes xdrift { from { transform: translate(0, 0) scale(1); } to { transform: translate(26px, 18px) scale(1.12); } }
@keyframes xsheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes xmarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes xpop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes xrise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes xglow { 0%, 100% { box-shadow: 0 0 0 6px rgba(224, 118, 58, .14); } 50% { box-shadow: 0 0 0 11px rgba(224, 118, 58, .06); } }

/* ---------- reduced motion: no movement at all ---------- */
@media (prefers-reduced-motion: reduce) {
  .xjs .rv, .xjs .rv.in { opacity: 1; transform: none; transition: none; }
  .x-hero .blob, .x-hero h1, .x-phone-in, .x-strip-track, .x-q14 img, .x-panel.show, .x-faq[open] .a { animation: none !important; }
  .x-points .tick { transform: scale(1); animation: none !important; }
  .x-btn, .x-card, .x-tab, .x-gallery img, .x-doc ol > li { transition: none; }
  .x-phone-in { transform: none !important; }
  .x-progress { display: none; }
  .x-strip { overflow-x: auto; }
}

/* ---------- Census-first hero + shared headings (main page) ---------- */
.x-hero.warm { background: linear-gradient(135deg, #fff1e6, #ffe7d4 55%, #fbe0e8); border-bottom: 1px solid #f2cdb4; }
.x-hero.warm h1 { font-family: 'Noto Serif Devanagari', serif; background: linear-gradient(110deg, #8a2a18 30%, #c8553a 60%, #8a2a18 90%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-size: clamp(34px, 9vw, 58px); line-height: 1.25; padding-top: .1em; }
.x-hero.warm .x-eyebrow { color: #a2331f; }
.x-hero.warm .x-q14 { max-width: 560px; justify-self: center; width: 100%; }
.x-hero .x-h1 { font-family: 'Fraunces', serif; font-size: clamp(30px, 7.4vw, 46px); line-height: 1.12; font-weight: 600; margin: 0 0 16px; color: var(--ink); }
.x-cta-art { justify-self: center; }
.x-cta-art img { width: clamp(96px, 28vw, 170px); height: auto; filter: drop-shadow(0 14px 22px rgba(162, 51, 31, .25)); animation: xfloat 6s ease-in-out infinite; }
.x-hero .x-eyebrow { display: inline-block; }
@media (prefers-reduced-motion: reduce) { .x-cta-art img { animation: none !important; } .x-hero.warm h1 { animation: none !important; } }

/* ---------- pledge card maker ---------- */
.x-pledge { background: linear-gradient(180deg, var(--bg), #fff7ee); }
.x-h2.sa { font-family: 'Noto Serif Devanagari', serif; color: #8a2a18; line-height: 1.4; }
.pl-grid { display: grid; gap: 26px; margin-top: 30px; align-items: start; }
.pl-form { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 22px 20px; }
.pl-label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); margin: 14px 0 6px; padding: 0; }
.pl-form .pl-label:first-child { margin-top: 0; }
.pl-opt { font-weight: 500; color: var(--ink-soft); }
.pl-input { width: 100%; padding: 13px 14px; border: 1px solid var(--border); border-radius: 12px; font-size: 16px; font-family: inherit; color: var(--ink); background: var(--cream); transition: border-color .2s ease, box-shadow .2s ease; }
.pl-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 134, 11, .18); }
.pl-photo-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pl-file { cursor: pointer; padding: 11px 20px; }
.pl-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }
.pl-file-input:focus-visible + .pl-small, .pl-photo-row:focus-within .pl-file { outline: 3px solid var(--gold); outline-offset: 3px; }
.pl-small { padding: 9px 16px; font-size: 13.5px; }
.pl-zoomrow { margin-top: 4px; }
.pl-zoomrow input[type="range"] { width: 100%; accent-color: var(--gold); }
.pl-zoomrow[hidden], .pl-form [hidden] { display: none !important; }
.pl-hint { display: block; font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }
.pl-format { border: 0; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.pl-format legend { float: left; margin: 0 14px 0 0; }
.pl-format label { font-size: 14.5px; color: var(--ink); cursor: pointer; display: inline-flex; gap: 7px; align-items: center; }
.pl-format input { accent-color: var(--gold); width: 17px; height: 17px; }
.pl-actions { margin-top: 18px; }
.pl-actions .x-btn { flex: 1 1 auto; }
.pl-status { margin: 12px 0 0; font-size: 13.5px; color: #2f6b4a; min-height: 20px; }
.pl-preview { justify-self: center; width: 100%; max-width: 480px; }
.pl-preview canvas { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--border); box-shadow: 0 18px 44px rgba(46, 38, 71, .2); background: #fff; touch-action: none; transition: box-shadow .3s ease; }
.pl-preview canvas:hover { box-shadow: 0 24px 54px rgba(46, 38, 71, .28); }
.pl-after { margin-top: 34px; }
@media (min-width: 900px) {
  .pl-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .pl-form { padding: 28px 30px; position: sticky; top: 100px; }
}
@media (max-width: 420px) {
  .pl-actions .x-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .pl-preview canvas, .pl-input { transition: none; } }

/* design picker */
.pl-designs-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; margin-top: 14px; }
.pl-designs-head .pl-label { margin: 0; }
.pl-designs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.pl-thumb { position: relative; padding: 0; border: 2px solid var(--border); border-radius: 12px; background: #fff; cursor: pointer; overflow: hidden; display: block; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.pl-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--card); }
.pl-thumb span { display: block; font-size: 10.5px; line-height: 1.2; padding: 4px 2px 5px; color: var(--ink-soft); font-family: inherit; }
.pl-thumb:hover { transform: translateY(-3px); border-color: var(--gold); }
.pl-thumb.on, .pl-thumb[aria-checked="true"] { border-color: var(--ink); box-shadow: 0 6px 16px rgba(46, 38, 71, .22); }
.pl-thumb.on span, .pl-thumb[aria-checked="true"] span { color: var(--ink); font-weight: 700; }
.pl-thumb:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (max-width: 420px) { .pl-designs { grid-template-columns: repeat(5, 1fr); gap: 5px; } .pl-thumb span { font-size: 9px; } }
@media (prefers-reduced-motion: reduce) { .pl-thumb { transition: none; } }

/* on-page install guide */
.x-how3 { display: grid; gap: 14px; margin-top: 26px; grid-template-columns: 1fr; }
.x-how3-step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 20px 18px 18px; text-align: center; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.x-how3-step:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(46, 38, 71, .12); border-color: var(--gold); }
.x-how3-step .n { position: absolute; left: 14px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--cream); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.x-how3-step .art { height: 84px; display: grid; place-items: center; margin-bottom: 8px; }
.x-how3-step .art svg { width: 140px; height: auto; max-height: 84px; }
.x-how3-step h3 { font-family: 'Fraunces', serif; font-size: 18px; margin: 0 0 4px; color: var(--ink); }
.x-how3-step h3 em { font-style: normal; color: var(--gold); }
.x-how3-step p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.x-how3-step .tb-puzzle { animation: xpuzzle 4.2s ease-in-out infinite; transform-origin: 80px 36px; }
.x-how3-step .tb-logo, .x-how3-step .tb-logo2 { transform-origin: 106px 35px; animation: xpin 4.2s ease-in-out infinite; }
.x-guide-dl { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; justify-content: center; margin: 20px 0 6px; }
.x-guide-dl .x-btn { padding: 11px 20px; font-size: 14px; }
@keyframes xpuzzle { 0%, 35% { transform: scale(1); } 45%, 60% { transform: scale(1.18) rotate(-6deg); } 75%, 100% { transform: scale(1); } }
@keyframes xpin { 0%, 55% { transform: scale(0); opacity: 0; } 70% { transform: scale(1.25); opacity: 1; } 80%, 100% { transform: scale(1); opacity: 1; } }
@media (min-width: 720px) { .x-how3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 420px) { .x-guide-dl .x-btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .x-how3-step .tb-puzzle, .x-how3-step .tb-logo, .x-how3-step .tb-logo2 { animation: none !important; } .x-how3-step { transition: none; } }

/* "cards made" counter */
.pl-counter { display: inline-flex; align-items: center; gap: 10px; margin: 18px auto 0; padding: 9px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 15px; color: var(--ink); box-shadow: 0 6px 18px rgba(46, 38, 71, .08); }
.pl-counter strong { font-family: 'Fraunces', serif; font-size: 20px; color: #a2331f; font-variant-numeric: tabular-nums; }
.pl-counter-ico { color: var(--gold); animation: xtwinkle 2.8s ease-in-out infinite; }
.pl-counter.bump { animation: xbump .7s ease; }
@keyframes xtwinkle { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.25); } }
@keyframes xbump { 0% { transform: scale(1); } 40% { transform: scale(1.07); box-shadow: 0 10px 26px rgba(184, 134, 11, .35); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .pl-counter-ico, .pl-counter.bump { animation: none !important; } }
