/* QR page: generator + presentation, on the homepage/pro tokens. */
.qp { overflow: clip; }
.qp em { font-style: normal; color: var(--hv-accent); }
.qp-hero { position: relative; padding: 10rem 0 clamp(3rem,6vw,5rem); }
.qp-wall { opacity: .65; }
.qp-hero-in { position: relative; }
.qp h1 { margin: 0; font-size: clamp(2.8rem,5.6vw,5rem); font-weight: 900; line-height: 1.1; letter-spacing: -.055em; word-break: keep-all; }
.qp-lead { margin: 1.4rem 0 0; font-size: 1.1rem; line-height: 1.8; color: var(--hv-muted); }
.qp-actions { margin-top: 2rem; }
.qp-btn, .qp-go { display: inline-flex; align-items: center; justify-content: center; gap: 1.2rem; padding: 1rem 2.4rem; border-radius: 999px; font-size: 1.15rem; font-weight: 800; }
.qp-btn svg, .qp-white svg { transition: transform .35s cubic-bezier(.16,1,.3,1); }
.qp-btn:hover svg, .qp-white:hover svg { transform: translateX(.4rem); }
.qp a:focus-visible, .qp button:focus-visible { outline: 2px solid var(--hv-accent); outline-offset: 4px; }

/* generator: no boxes, hairlines only */
.qp-form { margin-top: clamp(2.5rem,5vw,4rem); }
.qp-grid { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,4fr); gap: clamp(2rem,6vw,5rem); align-items: start; }
.qp-mode { display: flex; gap: 1.6rem; margin-bottom: 1.8rem; font-size: .95rem; font-weight: 700; }
.qp-mode .on { color: var(--hv-text); }
.qp-mode a { color: var(--hv-muted); text-decoration: none; }
.qp-mode a:hover { color: var(--hv-accent); }
.qp-tabs { display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; border-bottom: 1.5px solid var(--hv-line); }
.qp-tab { position: relative; padding: .8rem 0; color: var(--hv-muted); text-decoration: none; font-size: .95rem; font-weight: 700; transition: color .2s; }
.qp-tab i { margin-right: .4rem; }
.qp-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1.5px; height: 2px; background: var(--hv-accent); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.16,1,.3,1); }
.qp-tab:hover { color: var(--hv-text); }
.qp-tab.active { color: var(--hv-text); border: 0 !important; }
.qp-tab.active::after { transform: scaleX(1); }
.qp-fields-wrap { padding-top: 1.8rem; }
.qp .qp-fields { padding: 0; }
.qp .form-label { margin-bottom: .45rem; font-size: .85rem; font-weight: 600; color: var(--hv-muted); }
.qp .form-control, .qp .form-select { background: transparent !important; color: var(--hv-text); border: 0 !important; border-bottom: 1.5px solid var(--hv-line) !important; border-radius: 0 !important; padding: .7rem 0; box-shadow: none; font-size: 1.05rem; transition: border-color .25s; }
.qp .form-control::placeholder { color: var(--hv-muted); opacity: .6; }
.qp .form-control:focus, .qp .form-select:focus { border-color: var(--hv-accent); box-shadow: none; }
.qp textarea.form-control { min-height: 7rem; resize: vertical; }
.qp .qp-add { margin: 0 .4rem 1.2rem 0; padding: .35rem 1rem; border-radius: 999px; border: 1.5px solid var(--hv-line); background: transparent; color: var(--hv-text); font-weight: 600; }
.qp .qp-add:hover { border-color: var(--hv-accent); color: var(--hv-accent); }
.qp-custom { margin: 2.2rem 0 1.4rem; border-top: 1.5px solid var(--hv-line); }
.qp-custom-head { padding: 1.1rem 0; }
.qp-custom-head a { color: var(--hv-text) !important; }
.qp-custom-head h6 { margin: 0; font-size: 1rem; font-weight: 800; }
.qp-group { padding: 1.2rem 0; border-top: 1px solid var(--hv-line); }
.qp-group > label, .qp-group .form-group > label { font-weight: 700; margin-bottom: .8rem; }
.qp-pills { display: flex; gap: 1.4rem; margin-bottom: 1.4rem !important; }
.qp-pills .qp-on { color: var(--hv-text); font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--hv-accent); }
.qp-pills .qp-off, .qp-lock { color: var(--hv-muted); text-decoration: none; }
.qp-lock { display: block; margin-top: .6rem; }
.qp-lock span { margin-right: .4rem; font-weight: 700; color: var(--hv-text); }
.qp-go { margin-top: 1.4rem; width: 100%; }
.qp-side { position: relative; }
.qp-preview { top: 7.5rem; }
.qp-qr { padding: 1rem; border-radius: 6px; background: #f4f6f5; line-height: 0; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.qp-qr img { width: 100%; height: auto; }
.qp-preview:hover .qp-qr { transform: translateY(-4px); }
.qp-dl { display: flex; gap: 1.6rem; margin-top: 1.2rem; }
.qp-dl button { position: relative; padding: .4rem 0; border: 0; background: none; color: var(--hv-muted); font-size: .9rem; font-weight: 800; letter-spacing: .04em; transition: color .2s; }
.qp-dl button::after { content: "↓"; margin-left: .35rem; }
.qp-dl button:hover { color: var(--hv-accent); }
.qp-preview p { margin: 1.2rem 0 0; font-size: .9rem; line-height: 1.7; color: var(--hv-muted); word-break: keep-all; }

/* closing band */
.qp-band { margin-top: clamp(4rem,9vw,7rem); padding: clamp(4rem,10vw,8rem) 0; background: var(--hv-accent); color: #fff; text-align: center; }
.qp-band h2 { margin: 0; color: #fff; font-size: clamp(2.6rem,8vw,6.5rem); font-weight: 900; line-height: 1.05; letter-spacing: -.05em; }
.qp-white { display: inline-flex; align-items: center; gap: 1.2rem; margin-top: 2.2rem; padding: 1.1rem 2.6rem; border-radius: 999px; background: #fff; color: #14301a; font-size: 1.25rem; font-weight: 800; text-decoration: none; transition: transform .3s cubic-bezier(.16,1,.3,1); }
.qp-white:hover { transform: translateY(-2px); color: #14301a; }
.qp-band > .container > * { transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.qp-band:not(.in) > .container > * { opacity: 0; transform: translateY(30px); }
.qp-band > .container > a { transition-delay: .15s; }

@media (prefers-reduced-motion: no-preference) { .qp-hero-in > * { animation: qp-up .9s cubic-bezier(.16,1,.3,1) backwards; } .qp-hero-in > :nth-child(2) { animation-delay: .1s; } @keyframes qp-up { from { opacity: 0; translate: 0 30px; } } }
@media (max-width: 991.98px) { .qp-hero { padding-top: 8rem; } .qp-grid { grid-template-columns: 1fr; } .qp-preview { position: static !important; max-width: 22rem; } }
.qp .pp-wrap { width: min(1116px, calc(100% - 3rem)); }
@media (max-width: 575.98px) { .qp-preview { max-width: 17rem; } .qp-tabs { gap: .1rem 1rem; } .qp-btn, .qp-white { padding: 1rem 2rem; font-size: 1.1rem; } .qp-band h2 { font-size: clamp(2.2rem, 11vw, 3rem); } }
