/* pwa.css — the PWA page (/pwa/): the «prøv selv» offline test with a drawn phone and laptop
   (state on [data-pwa-demo]: data-net = on | off, data-sync = idle | pending | syncing | done,
   driven by assets/js/pwa.js), how it works, Mine enheder, the package table and the CTA.
   The stage itself is stage.css; its scenes are partials/ill-pwa.njk. */

.pwa h2 { text-wrap: balance; }

/* ── Prøv det selv ─────────────────────────────────────────────────────── */
.pwa-proev { background: linear-gradient(180deg, var(--ug-bg), color-mix(in srgb, var(--ug-brand-quiet) 55%, var(--ug-bg))); scroll-margin-top: var(--ug-topbar-h); }
.pwa-proev__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: 2.5rem; align-items: start; }

.pwa-trin { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.pwa-trin__i { display: grid; grid-template-columns: 2.4rem 1fr; gap: .9rem; padding: .85rem 1rem; border-radius: var(--ug-radius-l); border: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; }
.pwa-trin__nr { position: relative; width: 2.3rem; height: 2.3rem; border-radius: 50%; border: 2px solid var(--ug-border); display: grid; place-items: center; font-weight: var(--ug-weight-bold); color: var(--ug-text-quiet); background: var(--ug-surface); transition: background .3s, border-color .3s, color .3s; }
.pwa-trin__nr svg { display: none; width: 1.1rem; height: 1.1rem; }
.pwa-trin__i h3 { font-size: var(--ug-text-xl); font-weight: var(--ug-weight-bold); letter-spacing: 0; color: var(--ug-text); margin: .25rem 0 .2rem; }
.pwa-trin__i p { color: var(--ug-text-quiet); font-size: var(--ug-text-m); }
.pwa-trin__i.is-done .pwa-trin__nr { background: var(--ug-brand); border-color: var(--ug-brand); color: #fff; }
.pwa-trin__i.is-done .pwa-trin__nr b { display: none; }
.pwa-trin__i.is-done .pwa-trin__nr svg { display: block; animation: pv-pop .45s cubic-bezier(.34, 1.6, .6, 1); }
.pwa-trin__i.is-done h3 { color: var(--ug-text-quiet); }
.pwa-trin__i.is-now { background: var(--ug-surface); border-color: var(--ug-accent-line); box-shadow: var(--ug-shadow); }
.pwa-trin__i.is-now .pwa-trin__nr { border-color: var(--ug-accent-60); color: var(--ug-accent-50); }
.pwa-trin__i.is-now .pwa-trin__nr::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--ug-accent-60); opacity: 0; animation: pv-ring 2s cubic-bezier(.2, .6, .3, 1) infinite; }
html[data-theme="dark"] .pwa-trin__i.is-now .pwa-trin__nr { color: var(--ug-accent-70); }

/* the demo */
.pv { --frame: var(--ug-brand-10); position: relative; }
html[data-theme="dark"] .pv { --frame: #050505; }
.pv__stage { display: grid; grid-template-columns: auto minmax(2.5rem, 4rem) minmax(0, 1fr); align-items: center; }

.pv-phone { position: relative; width: 17.75rem; padding: 1.85rem .75rem .85rem; border-radius: 2.5rem; background: var(--ug-surface); border: 10px solid var(--frame); box-shadow: var(--ug-shadow-pop), 0 0 0 1px var(--ug-border-quiet); display: grid; gap: .55rem; }
.pv-phone::before { content: ""; position: absolute; top: .5rem; left: 50%; width: 4.75rem; height: 1.15rem; border-radius: var(--ug-radius-pill); background: var(--frame); transform: translateX(-50%); }
.pv-phone__bar { position: absolute; top: .55rem; left: 1.2rem; right: 1.1rem; display: flex; justify-content: space-between; align-items: center; font-size: .74rem; color: var(--ug-text); height: 1.05rem; }
.pv-phone__icons { display: inline-flex; align-items: center; gap: .3rem; }
.pv-ico { display: inline-grid; place-items: center; transition: opacity .3s; }
.pv-ico svg { width: .95rem; height: .95rem; }
.pv-ico--fly { display: none; color: var(--ug-accent-50); }
.pv-ico--sig { display: inline-flex; align-items: flex-end; gap: 1.5px; height: .7rem; }
.pv-ico--sig i { display: block; width: 3px; border-radius: 1px; background: currentColor; }
.pv-ico--sig i:nth-child(1) { height: 30%; } .pv-ico--sig i:nth-child(2) { height: 55%; } .pv-ico--sig i:nth-child(3) { height: 78%; } .pv-ico--sig i:nth-child(4) { height: 100%; }
[data-net="off"] .pv-ico--fly { display: inline-grid; animation: pv-pop .45s cubic-bezier(.34, 1.6, .6, 1); }
[data-net="off"] .pv-ico--sig, [data-net="off"] .pv-ico--wifi { opacity: .22; }
html[data-theme="dark"] .pv-ico--fly { color: var(--ug-accent-70); }

.pv-phone__banner { display: flex; align-items: center; gap: .5rem; font-size: .76rem; font-weight: var(--ug-weight-semibold); line-height: 1.25; color: #fff; background: var(--ug-brand-10); border-radius: .8rem; padding: 0 .75rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s var(--ug-ease), opacity .3s, padding .35s var(--ug-ease), background .3s; }
html[data-theme="dark"] .pv-phone__banner { background: var(--ug-brand-30); }
.pv-banner__ico { display: inline-grid; flex: none; }
.pv-banner__ico svg { grid-area: 1 / 1; width: 1rem; height: 1rem; opacity: 0; transition: opacity .2s; }
[data-net="off"] .pv-phone__banner, [data-sync="syncing"] .pv-phone__banner, .pv.is-banner-done .pv-phone__banner { max-height: 3.5rem; opacity: 1; padding: .55rem .75rem; }
[data-net="off"] .pv-banner__ico svg:nth-child(1) { opacity: 1; color: var(--ug-warning); }
[data-sync="syncing"] .pv-phone__banner { background: var(--ug-brand); }
[data-sync="syncing"] .pv-banner__ico svg:nth-child(2) { opacity: 1; animation: pv-spin .9s linear infinite; }
.pv.is-banner-done .pv-phone__banner { background: var(--ug-gron-40); }
.pv.is-banner-done .pv-banner__ico svg:nth-child(3) { opacity: 1; }

.pv-phone__head { display: grid; padding: .1rem .3rem 0; }
.pv-phone__head small { font-family: var(--ug-mono); font-size: .65rem; letter-spacing: var(--ug-tracking-label); text-transform: uppercase; color: var(--ug-text-faint); }
.pv-phone__head b { font-size: 1.15rem; color: var(--ug-brand-strong); letter-spacing: -.01em; }

.pv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.pv-item { position: relative; display: grid; grid-template-columns: 2.55rem minmax(0, 1fr) auto; align-items: center; gap: .1rem .45rem; padding: .5rem .5rem .5rem .6rem; border-radius: .75rem; background: var(--ug-surface-2); border: 1px solid var(--ug-border-quiet); font-size: .78rem; transition: border-color .3s, background .3s; }
.pv-item__tid { font-family: var(--ug-mono); font-weight: var(--ug-weight-semibold); font-size: .72rem; color: var(--ug-brand-strong); font-variant-numeric: tabular-nums; }
.pv-item__txt { display: grid; min-width: 0; }
.pv-item__txt b { font-weight: var(--ug-weight-semibold); line-height: 1.2; color: var(--ug-text); }
.pv-item__txt small { color: var(--ug-text-faint); font-size: .7rem; }
.pv-item__btns { display: inline-flex; gap: .25rem; }
.pv-btn { width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid var(--ug-border); background: var(--ug-surface); color: var(--ug-text-faint); cursor: pointer; display: grid; place-items: center; padding: 0; transition: background .2s, color .2s, border-color .2s, transform .15s var(--ug-ease); }
.pv-btn svg { width: 1rem; height: 1rem; }
.pv-btn:hover { border-color: var(--ug-brand-60); color: var(--ug-brand-strong); transform: translateY(-1px); }
.pv-btn--fav[aria-pressed="true"] { background: var(--ug-accent-60); border-color: var(--ug-accent-60); color: #fff; }
.pv-btn--prog[aria-pressed="true"] { background: var(--ug-brand); border-color: var(--ug-brand); color: #fff; }
html[data-theme="dark"] .pv-btn--prog[aria-pressed="true"] { background: var(--ug-brand-50); border-color: var(--ug-brand-50); }
.pv-btn.is-bump { animation: pv-pop .45s cubic-bezier(.34, 1.6, .6, 1); }
.pv-item__mark { grid-column: 2 / -1; display: none; }
.pv-mark { display: none; align-items: center; gap: .3rem; width: max-content; font-size: .66rem; font-weight: var(--ug-weight-bold); padding: .12rem .5rem .12rem .4rem; border-radius: var(--ug-radius-pill); margin-top: .25rem; }
.pv-mark svg { width: .8rem; height: .8rem; }
.pv-mark--local { background: var(--ug-warning); color: #3d3500; }
.pv-mark--ok { background: var(--ug-gron-95); color: var(--ug-gron-40); }
html[data-theme="dark"] .pv-mark--ok { background: #11291a; color: var(--ug-gron-80); }
.pv-item.is-local .pv-item__mark, .pv-item.is-ok .pv-item__mark { display: block; }
.pv-item.is-local { border-color: color-mix(in srgb, var(--ug-warning) 70%, var(--ug-border)); background: color-mix(in srgb, var(--ug-warning) 14%, var(--ug-surface-2)); }
.pv-item.is-local .pv-mark--local { display: inline-flex; animation: pv-in .35s var(--ug-ease); }
.pv-item.is-ok .pv-mark--ok { display: inline-flex; animation: pv-in .35s var(--ug-ease); }
.pv-item.is-ok { border-color: color-mix(in srgb, var(--ug-gron-60) 50%, var(--ug-border)); }

.pv-phone__status { display: flex; align-items: center; gap: .45rem; font-size: .74rem; color: var(--ug-text-quiet); padding: .55rem .7rem; border-radius: .8rem; background: var(--ug-surface-2); min-height: 2.4rem; }
.pv-sync { display: inline-grid; color: var(--ug-brand-strong); }
.pv-sync svg { width: 1rem; height: 1rem; }
[data-net="off"] .pv-sync { color: var(--ug-text-faint); }
[data-sync="syncing"] .pv-sync svg { animation: pv-spin .9s linear infinite; }
[data-sync="done"] .pv-sync { color: var(--ug-gron-60); }
.pv-count { margin-left: auto; min-width: 1.35rem; height: 1.35rem; padding: 0 .35rem; border-radius: var(--ug-radius-pill); background: var(--ug-warning); color: #3d3500; font-weight: var(--ug-weight-bold); font-size: .72rem; display: grid; place-items: center; }

/* the cable between the devices: data travels along it while syncing */
.pv-link { position: relative; height: 2.6rem; align-self: center; }
.pv-link__line { position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed var(--ug-border); }
.pv-link__ico { position: absolute; left: 50%; top: 50%; width: 2.6rem; height: 2.6rem; transform: translate(-50%, -50%); border-radius: 50%; background: var(--ug-surface); border: 1px solid var(--ug-border); color: var(--ug-brand-60); display: grid; place-items: center; transition: opacity .3s, color .3s; }
.pv-link__ico svg { width: 1.3rem; height: 1.3rem; }
.pv-link__dot { position: absolute; top: calc(50% - 5px); left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--ug-accent-60); opacity: 0; }
[data-net="off"] .pv-link { opacity: .35; }
[data-net="off"] .pv-link__ico { color: var(--ug-text-faint); }
[data-sync="syncing"] .pv-link__dot { animation: pv-travel .8s linear infinite; }
[data-sync="syncing"] .pv-link__ico { color: var(--ug-accent-60); }

.pv-laptop { width: 100%; max-width: 21rem; justify-self: start; }
.pv-laptop__screen { background: var(--ug-surface); border: 9px solid var(--frame); border-bottom-width: 12px; border-radius: .9rem .9rem .2rem .2rem; padding: .85rem .9rem .75rem; min-height: 14rem; display: grid; align-content: start; gap: .7rem; box-shadow: var(--ug-shadow-pop), 0 0 0 1px var(--ug-border-quiet); }
.pv-laptop__base { height: .8rem; margin: 0 -1.4rem; border-radius: 0 0 1.1rem 1.1rem; background: linear-gradient(180deg, var(--ug-neutral-80), var(--ug-neutral-70)); box-shadow: var(--ug-shadow); }
html[data-theme="dark"] .pv-laptop__base { background: linear-gradient(180deg, var(--ug-neutral-30), var(--ug-neutral-20)); }
.pv-laptop__head { display: flex; align-items: center; gap: .55rem; padding-bottom: .55rem; border-bottom: 1px solid var(--ug-border-quiet); }
.pv-laptop__head > svg { width: 1.4rem; height: 1.4rem; color: var(--ug-brand-60); flex: none; }
.pv-laptop__head span { display: grid; line-height: 1.2; }
.pv-laptop__head b { font-size: .9rem; color: var(--ug-brand-strong); }
.pv-laptop__head small { font-size: .68rem; color: var(--ug-text-faint); }
.pv-laptop__cols { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.pv-laptop__cols h4 { display: flex; align-items: center; gap: .3rem; font-family: var(--ug-mono); font-weight: var(--ug-weight-semibold); font-size: .62rem; letter-spacing: var(--ug-tracking-label); text-transform: uppercase; color: var(--ug-text-faint); margin-bottom: .4rem; }
.pv-laptop__cols h4 svg { width: .8rem; height: .8rem; color: var(--ug-accent-60); }
.pv-laptop__cols div + div h4 svg { color: var(--ug-brand-60); }
.pv-laptop__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.pv-laptop__cols li { font-size: .72rem; line-height: 1.25; padding: .35rem .45rem; border-radius: .45rem; background: var(--ug-surface-2); border: 1px solid var(--ug-border-quiet); color: var(--ug-text); }
.pv-laptop__cols li b { font-family: var(--ug-mono); font-size: .66rem; color: var(--ug-brand-strong); margin-right: .15rem; }
.pv-laptop__cols li.is-new { animation: pv-new 2.6s var(--ug-ease); }
.pv-laptop__cols li.is-gone { animation: pv-gone .4s ease forwards; }
.pv-laptop__sync { font-size: .68rem; color: var(--ug-text-faint); margin: 0; }
.pv.is-laptop-hit .pv-laptop__screen { animation: pv-hit .8s var(--ug-ease); }

.pv__ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.5rem; }
.pv-net svg { width: 1.1rem; height: 1.1rem; }
.pv-net[aria-pressed="true"] { background: var(--ug-accent-60); color: var(--ug-on-accent); }
.pv-net[aria-pressed="true"]:hover { background: var(--ug-accent-70); color: var(--ug-on-accent); }
.pv__hint { flex-basis: 100%; margin: .25rem 0 0; font-size: var(--ug-text-m); color: var(--ug-text-quiet); min-height: 1.5em; }
.pv__hint b { color: var(--ug-text); }

.pwa-note { display: flex; align-items: center; gap: .75rem; margin-top: 2.25rem; padding: .95rem 1.15rem; border-radius: var(--ug-radius-l); background: var(--ug-accent-quiet); border: 1px solid var(--ug-accent-line); font-size: var(--ug-text-m); color: var(--ug-text); }
.pwa-note > svg { width: 1.5rem; height: 1.5rem; flex: none; color: var(--ug-accent-50); }
.pwa-note a { font-weight: var(--ug-weight-semibold); white-space: nowrap; }

@keyframes pv-pop { 0% { transform: scale(.4); } 60% { transform: scale(1.18); } 100% { transform: none; } }
@keyframes pv-ring { 0% { opacity: .8; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.45); } }
@keyframes pv-spin { to { transform: rotate(360deg); } }
@keyframes pv-in { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
@keyframes pv-travel { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
@keyframes pv-new { 0% { opacity: 0; transform: translateX(-10px); background: var(--ug-warning); } 25% { opacity: 1; transform: none; background: var(--ug-warning); } 100% { background: var(--ug-surface-2); } }
@keyframes pv-gone { to { opacity: 0; transform: translateX(8px); } }
@keyframes pv-hit { 0% { box-shadow: var(--ug-shadow-pop), 0 0 0 1px var(--ug-border-quiet); } 30% { box-shadow: var(--ug-shadow-pop), 0 0 0 4px var(--ug-accent-60); } 100% { box-shadow: var(--ug-shadow-pop), 0 0 0 1px var(--ug-border-quiet); } }

/* ── Sådan virker det ──────────────────────────────────────────────────── */
.pwa-saadan__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.pwa-saadan h2 { margin-bottom: var(--ug-space-m); }
.pwa-fig, .pwa-enh__fig { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--ug-radius-l); border: 1px solid color-mix(in srgb, var(--ug-brand) 18%, var(--ug-border-quiet));
  background:
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--ug-brand-60) 22%, transparent) 1px, transparent 1.4px) 0 0 / 16px 16px,
    radial-gradient(90% 80% at 50% 110%, color-mix(in srgb, var(--ug-brand-60) 16%, transparent), transparent 70%),
    var(--ug-brand-quiet); }
.pwa-fig { margin-top: 1.75rem; box-shadow: var(--ug-shadow); }
.pwa-fig > svg, .pwa-enh__fig > svg { display: block; width: 100%; height: 100%; }
.pwa-punkter { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.pwa-punkter li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 1.1rem 1.25rem; border-radius: var(--ug-radius-l); background: var(--ug-surface); border: 1px solid var(--ug-border-quiet); box-shadow: var(--ug-shadow); }
.pwa-punkter__ico { width: 2.75rem; height: 2.75rem; border-radius: var(--ug-radius); background: var(--ug-brand); color: #fff; display: grid; place-items: center; }
.pwa-punkter__ico svg { width: 1.4rem; height: 1.4rem; }
.pwa-punkter h3 { font-size: var(--ug-text-xl); font-weight: var(--ug-weight-bold); letter-spacing: 0; color: var(--ug-text); margin-bottom: .2rem; }
.pwa-punkter p { color: var(--ug-text-quiet); font-size: var(--ug-text-m); }

/* ── Mine enheder ──────────────────────────────────────────────────────── */
.pwa-enheder { background: var(--ug-surface); border-block: 1px solid var(--ug-border-quiet); }
.pwa-enh { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; position: relative; }
.pwa-enh__i { display: grid; gap: 1rem; align-content: start; }
.pwa-enh__nr { display: block; font-family: var(--ug-mono); font-size: var(--ug-text-s); color: var(--ug-accent-50); font-weight: var(--ug-weight-semibold); letter-spacing: var(--ug-tracking-label); margin-bottom: .3rem; }
html[data-theme="dark"] .pwa-enh__nr { color: var(--ug-accent-70); }
.pwa-enh__txt h3 { font-size: var(--ug-text-xl); font-weight: var(--ug-weight-bold); letter-spacing: 0; color: var(--ug-text); margin-bottom: .25rem; }
.pwa-enh__txt p { color: var(--ug-text-quiet); font-size: var(--ug-text-m); }

/* ── Package table ─────────────────────────────────────────────────────── */
.pwa-tabel-wrap { max-width: 100%; overflow-x: auto; border-radius: var(--ug-radius-l); box-shadow: var(--ug-shadow); }
.pwa-tabel { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--ug-surface); border: 1px solid var(--ug-border-quiet); border-radius: var(--ug-radius-l); font-size: var(--ug-text-m); }
.pwa-tabel th, .pwa-tabel td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--ug-border-quiet); vertical-align: middle; }
.pwa-tabel tbody tr:last-child th, .pwa-tabel tbody tr:last-child td { border-bottom: 0; }
.pwa-tabel thead th { background: var(--ug-surface-2); font-size: var(--ug-text-ms); font-weight: var(--ug-weight-bold); }
.pwa-tabel thead th:first-child { border-top-left-radius: var(--ug-radius-l); } .pwa-tabel thead th:last-child { border-top-right-radius: var(--ug-radius-l); }
.pwa-tabel th.pk, .pwa-tabel td { text-align: center; width: 9rem; }
.pwa-tabel th.pk a { text-decoration: none; color: inherit; }
.pwa-tabel th.pk--store { color: var(--ug-slate-30); } .pwa-tabel th.pk--komplette { color: var(--ug-brand-strong); } .pwa-tabel th.pk--intelligente { color: var(--ug-accent-40); }
html[data-theme="dark"] .pwa-tabel th.pk--store { color: var(--ug-slate-80); } html[data-theme="dark"] .pwa-tabel th.pk--intelligente { color: var(--ug-accent-70); }
.pwa-tabel tbody th { font-weight: var(--ug-weight-semibold); color: var(--ug-text); }
.pwa-tabel__mere { display: block; font-weight: var(--ug-weight-regular); font-size: var(--ug-text-s); margin-top: .15rem; }
.pwa-tabel .ja { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--ug-brand-quiet); color: var(--ug-brand-strong); }
.pwa-tabel .ja svg { width: 1rem; height: 1rem; }
.pwa-tabel .tilkoeb { font-size: var(--ug-text-s); font-weight: var(--ug-weight-semibold); color: var(--ug-accent-40); text-decoration: none; border: 1px solid var(--ug-accent-line); background: var(--ug-accent-quiet); border-radius: var(--ug-radius-pill); padding: .15rem .55rem; white-space: nowrap; }
html[data-theme="dark"] .pwa-tabel .tilkoeb { color: var(--ug-accent-70); }
.pwa-tabel .nej { color: var(--ug-text-faint); }
.pwa-pakker__lager { margin-top: 1rem; font-size: var(--ug-text-m); font-weight: var(--ug-weight-semibold); }

/* ── CTA ───────────────────────────────────────────────────────────────── */
.pwa-cta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.5rem 2.25rem; align-items: center; padding: 2.25rem 2.5rem; border-radius: var(--ug-radius-l); color: var(--ug-on-brand); box-shadow: var(--ug-shadow-pop);
  background: radial-gradient(120% 140% at 85% 120%, var(--ug-brand-40), transparent 60%), linear-gradient(160deg, var(--ug-brand-20), var(--ug-brand)); }
.pwa-cta h2 { color: #fff; }
.pwa-cta .eyebrow { color: var(--ug-on-brand-soft); }
.pwa-cta .lede { color: var(--ug-on-brand-quiet); margin-top: .6rem; }
.pwa-cta__ico { width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--ug-warning); color: var(--ug-brand-10); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(255,240,117,.14); animation: pv-float 4s ease-in-out infinite; }
.pwa-cta__ico svg { width: 2.2rem; height: 2.2rem; }
.pwa-cta__btns { display: grid; gap: .6rem; }
.pwa-cta .btn--outline { color: #fff; border-color: rgba(255,255,255,.6); }
.pwa-cta .btn--outline:hover { background: rgba(255,255,255,.12); color: #fff; }
@keyframes pv-float { 0%, 100% { transform: none; } 50% { transform: translateY(-5px) rotate(-4deg); } }

/* ── Narrow screens ────────────────────────────────────────────────────── */
@media (max-width: 1060px) {
  .pwa-proev__grid { grid-template-columns: 1fr; gap: 2rem; }
  .pv__stage { justify-content: center; }
}
@media (max-width: 860px) {
  .pwa-saadan__grid { grid-template-columns: 1fr; gap: 2rem; }
  .pwa-enh { grid-template-columns: 1fr; }
  .pwa-cta { grid-template-columns: 1fr; padding: 1.75rem 1.5rem; }
  .pwa-cta__btns { display: flex; flex-wrap: wrap; }
}
@media (max-width: 680px) {
  .pv__stage { grid-template-columns: 1fr; justify-items: center; }
  .pv-link { width: 2.6rem; height: 3.2rem; }
  .pv-link__line { left: 50%; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 2px dashed var(--ug-border); }
  .pv-link__dot { left: calc(50% - 5px); top: 0; }
  [data-sync="syncing"] .pv-link__dot { animation-name: pv-travel-v; }
  .pv-laptop { justify-self: center; max-width: 19rem; }
  .pv__ctrl { justify-content: center; }
  .pv__hint { text-align: center; }
  .pwa-trin__i { padding: .75rem .6rem; gap: .7rem; }
  .pwa-tabel { font-size: var(--ug-text-s); }
  .pwa-tabel th, .pwa-tabel td { padding: .6rem .45rem; }
  .pwa-tabel th.pk, .pwa-tabel td { width: auto; }
  .pwa-note { align-items: flex-start; }
  .pwa-note a { white-space: normal; }
}
@media (max-width: 380px) { .pv-phone { width: 100%; } }
@keyframes pv-travel-v { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 10px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .pv *, .pv *::before, .pv *::after, .pwa-trin *, .pwa-cta__ico { animation: none !important; }
}
