/* SWD Show hero — copy left, the thing itself right (scan / donate demo / image). */
.swd.swd-showhero { padding: clamp(120px, 12vw, 160px) 0 clamp(40px, 5vw, 80px); background: radial-gradient(900px 600px at 80% 30%, color-mix(in srgb, var(--a, var(--acc)) 13%, transparent), transparent 60%); }
.swd-showhero .sh__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.swd-showhero.sh--donate .sh__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.swd-showhero .sh__crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: 14px; color: var(--muted); }
.swd-showhero .sh__crumbs a { color: var(--muted); text-decoration: none; }
.swd-showhero .sh__crumbs a:hover { color: #fff; }
.swd-showhero .sh__crumbs span[aria-hidden] { opacity: .45; }
.swd-showhero .sh__crumbs [aria-current] { color: #DCE2EF; }
.swd-showhero .sh__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-bottom: 22px; }
.swd-showhero .sh__brand img { width: 44px; height: 44px; border-radius: 12px; }
.swd-showhero .sh__brand b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.swd-showhero .sh__brand div span { font-size: 14px; color: var(--muted); }
.swd-showhero .sh__site { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; padding: 7px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--edge); color: var(--a, var(--acc)); font-size: 14px; font-weight: 500; text-decoration: none; }
.swd-showhero .sh__site svg { width: 12px; height: 12px; }
.swd-showhero .sh__site:hover { background: rgba(255,255,255,.06); }
.swd-showhero .sh__pill { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--edge); font-size: 14px; color: var(--muted); }
.swd-showhero .sh__pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--a, var(--acc)); }
.swd-showhero .sh__h { font-size: clamp(42px, 5.4vw, 78px); }
.swd-showhero .sh__lead { margin-top: 24px; font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 56ch; }
.swd-showhero .sh__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.swd-showhero .sh__btns .btn--acc { background: var(--a, var(--acc)); }
.swd-showhero .sh__btns .btn--acc:hover { background: #fff; }
.swd-showhero .sh__note { margin-top: 18px; font-size: 15px; color: var(--muted-d); }
.swd-showhero .sh__facts { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 40px 0 0; padding-top: 26px; border-top: 1px solid var(--edge); }
.swd-showhero .sh__facts dt { font-size: 32px; font-weight: 500; letter-spacing: -.04em; line-height: 1.1; }
.swd-showhero .sh__facts dd { margin: 0; font-size: 14px; color: var(--muted); }
.swd-showhero .sh__frame { margin: 0; overflow: hidden; border-radius: 24px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), inset 0 0 0 1px var(--edge); }
.swd-showhero .sh__frame img { width: 100%; height: auto; }

/* scan */
.swd-showhero .scan { position: relative; margin: 0; }
.swd-showhero .scan__bar { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 16px; background: var(--card-2); border-radius: 18px 18px 0 0; box-shadow: inset 0 0 0 1px var(--edge); }
.swd-showhero .scan__dots { display: flex; gap: 6px; }
.swd-showhero .scan__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.swd-showhero .scan__url { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 8px; background: rgba(0,0,0,.25); font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.swd-showhero .scan__url svg { width: 13px; height: 13px; flex: none; }
.swd-showhero .scan__view { position: relative; height: clamp(360px, 44vw, 560px); overflow: hidden; border-radius: 0 0 18px 18px; background: #fff; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), inset 0 0 0 1px var(--edge); --cut: 45%; }
.swd-showhero .scan__page { position: absolute; inset: 0; }
.swd-showhero .scan__page img { position: absolute; left: 0; top: 0; width: 100%; max-width: none; height: auto; transform: translateY(var(--y, 0)); will-change: transform; }
.swd-showhero .scan__blue { filter: grayscale(1) invert(1) brightness(.75) sepia(1) hue-rotate(175deg) saturate(3.2) contrast(1.15); clip-path: inset(0 0 calc(100% - var(--cut)) 0); }
.swd-showhero .scan__grid { position: absolute; inset: 0; clip-path: inset(0 0 calc(100% - var(--cut)) 0); background-image: linear-gradient(rgba(140,210,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(140,210,255,.18) 1px, transparent 1px); background-size: 24px 24px; mix-blend-mode: screen; pointer-events: none; }
.swd-showhero .scan__line { position: absolute; left: 0; right: 0; top: var(--cut); height: 2px; background: var(--acc); box-shadow: 0 0 18px 2px rgba(92,200,255,.8); }
.swd-showhero .scan__line span { position: absolute; right: 12px; padding: 3px 9px; border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--ink); background: var(--acc); }
.swd-showhero .scan__line span:first-child { bottom: 8px; }
.swd-showhero .scan__line span:last-child { top: 8px; background: #fff; }
.swd-showhero .scan__cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding-right: 150px; font-size: 15px; }
.swd-showhero .scan__n { font-weight: 500; }
.swd-showhero .scan__m { color: var(--muted); }
.swd-showhero .scan__pips { position: absolute; right: 0; bottom: 4px; display: flex; gap: 6px; }
.swd-showhero .scan__pips li { width: 22px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.18); }
.swd-showhero .scan__pips li.on { background: var(--acc); }

/* donate demo: renders light, like on a charity website */
.swd-showhero .dm { position: relative; padding: 22px; border-radius: 26px; background: #fff; color: #141A2C; box-shadow: 0 50px 100px -40px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.1); }
.swd-showhero .dm__appeal { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid #E6EAF1; }
.swd-showhero .dm__img { width: 76px; height: 76px; border-radius: 14px; object-fit: cover; object-position: top; }
.swd-showhero .dm__appeal b { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.swd-showhero .dm__bar { height: 8px; margin: 8px 0 6px; border-radius: 4px; background: #E6EAF1; overflow: hidden; }
.swd-showhero .dm__bar i { display: block; height: 100%; width: calc(var(--p) * 100%); border-radius: 4px; background: #12A15E; transition: width .8s cubic-bezier(.2,.7,.2,1); }
.swd-showhero .dm__appeal p { font-size: 14px; color: #55607A; }
.swd-showhero .dm__raised, .swd-showhero .dm__donors { color: #141A2C; font-weight: 600; }
.swd-showhero .dm__form { display: grid; gap: 14px; padding-top: 18px; }
.swd-showhero .dm input[type="radio"], .swd-showhero .dm__ga input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swd-showhero .dm__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 4px; border-radius: 12px; background: #EEF2F8; }
.swd-showhero .dm__tabs label, .swd-showhero .dm__amts label { position: relative; cursor: pointer; margin: 0; }
.swd-showhero .dm__tabs span { display: block; padding: 9px 0; border-radius: 9px; text-align: center; font-size: 15px; font-weight: 500; color: #55607A; transition: background .2s, color .2s; }
.swd-showhero .dm__tabs input:checked + span { background: #fff; color: #141A2C; box-shadow: 0 1px 3px rgba(20,26,44,.12); }
.swd-showhero .dm__amts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.swd-showhero .dm__amts span { display: block; padding: 14px 0; border-radius: 12px; text-align: center; font-size: 18px; font-weight: 600; box-shadow: inset 0 0 0 1.5px #D6DEEA; transition: background .2s, color .2s; }
.swd-showhero .dm__amts input:checked + span { background: #141A2C; color: #fff; box-shadow: none; }
.swd-showhero .dm input:focus-visible + span { outline: 2px solid #12A15E; outline-offset: 2px; }
.swd-showhero .dm__impact { font-size: 14px; color: #0E8A50; font-weight: 500; min-height: 1.5em; }
.swd-showhero .dm__fund { display: grid; gap: 6px; margin: 0; font-size: 13px; font-weight: 600; color: #55607A; }
.swd-showhero .dm__fund select { width: 100%; height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: #EEF2F8; color: #141A2C; font-size: 15px; }
.swd-showhero .dm__ga { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; align-items: start; margin: 0; padding: 14px; border-radius: 12px; background: #EAFBF3; font-size: 14px; color: #33405A; cursor: pointer; }
.swd-showhero .dm__ga b { color: #141A2C; }
.swd-showhero .dm__gav { color: #0E8A50; font-weight: 600; }
.swd-showhero .dm__sw { position: relative; width: 42px; height: 24px; border-radius: 12px; background: #C9D3E3; transition: background .2s; }
.swd-showhero .dm__sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.swd-showhero .dm__ga input:checked + .dm__sw { background: #12A15E; }
.swd-showhero .dm__ga input:checked + .dm__sw::after { transform: translateX(18px); }
.swd-showhero .dm__ga input:focus-visible + .dm__sw { outline: 2px solid #12A15E; outline-offset: 2px; }
.swd-showhero .dm__go { height: 56px; border: 0; border-radius: 14px; background: #12A15E; color: #fff; font-size: 18px; font-weight: 600; cursor: pointer; transition: background .2s; }
.swd-showhero .dm__go:hover { background: #0E8A50; }
.swd-showhero .dm__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: 12.5px; color: #6B7690; }
.swd-showhero .dm__toast { position: absolute; left: -28px; bottom: 90px; display: flex; gap: 10px; align-items: center; max-width: 300px; padding: 12px 16px 12px 12px; border-radius: 14px; background: #141A2C; color: #fff; font-size: 14px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.12); opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s; pointer-events: none; }
.swd-showhero .dm__toast.on { opacity: 1; transform: none; }
.swd-showhero .dm__toast::before { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--a, var(--acc)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7-4.4-9.3-9C1.2 8.7 3.3 5 6.8 5c2 0 3.6 1.2 5.2 3 1.6-1.8 3.2-3 5.2-3 3.5 0 5.6 3.7 4.1 7-2.3 4.6-9.3 9-9.3 9z' fill='%23141A2C'/%3E%3C/svg%3E") center / 16px no-repeat; }

@media (max-width: 1000px) {
	.swd-showhero .sh__grid, .swd-showhero.sh--donate .sh__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}
@media (max-width: 640px) {
	.swd.swd-showhero { padding-top: 110px; }
	.swd-showhero .scan__cap { padding-right: 0; flex-direction: column; gap: 2px; }
	.swd-showhero .scan__pips { position: static; margin-top: 12px; }
	.swd-showhero .dm { padding: 16px; }
	.swd-showhero .dm__toast { left: 10px; right: 10px; bottom: auto; top: -24px; max-width: none; }
	.swd-showhero .sh__site { margin-left: 0; }
}
.swd-showhero .scan__cap { font-style: normal; color: #fff; text-align: left; }
/* image shapes (1.4.2): full-page screenshots crop from the top; phone screens show whole */
.swd-showhero .sh__frame--tall { aspect-ratio: 4 / 3; }
.swd-showhero .sh__frame--tall img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.swd-showhero .sh__frame--phone { display: grid; place-items: center; padding: 28px; aspect-ratio: 4 / 3.4; background: radial-gradient(420px 300px at 50% 40%, color-mix(in srgb, var(--a, var(--acc)) 22%, transparent), transparent 70%), var(--card); }
.swd-showhero .sh__frame--phone img { width: auto; height: 100%; max-height: 560px; border-radius: 26px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
/* facts as an even grid so the last fact never sits alone */
.swd-showhero .sh__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px 28px; }
.swd-showhero .sh__frame--phone { display: block; }
.swd-showhero .sh__frame--phone img { width: 100%; height: 100%; max-height: none; object-fit: contain; border-radius: 0; box-shadow: none; filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); }

/* ---------- app phones (1.5.0) ---------- */
.swd-showhero.sh--phones .sh__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.swd-showhero .ap { position: relative; }
.swd-showhero .ap__stage { position: relative; height: clamp(520px, 50vw, 640px); }
.swd-showhero .ap__stage::before { content: ""; position: absolute; left: 50%; top: 52%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, color-mix(in srgb, var(--ap-c, #C3A6FF) 34%, transparent), transparent 70%); transition: background .8s; pointer-events: none; }
.swd-showhero .ap__phone { --w: clamp(230px, 22vw, 290px); position: absolute; left: 50%; top: 50%; width: var(--w); aspect-ratio: 9 / 19.5; margin: 0; padding: 9px; border-radius: calc(var(--w) * .17); background: #0B0F1A; box-shadow: inset 0 0 0 2px rgba(255,255,255,.14), 0 50px 90px -30px rgba(0,0,0,.85); transform: translate(-50%, -50%) scale(.7); opacity: 0; transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .6s, filter .6s; z-index: 1; }
.swd-showhero .ap__phone.is-cur { transform: translate(-50%, -50%) scale(1); opacity: 1; z-index: 3; }
.swd-showhero .ap__phone.is-prev { transform: translate(calc(-50% - 62%), -46%) rotate(-9deg) scale(.8); opacity: .55; filter: saturate(.6) brightness(.7); z-index: 2; }
.swd-showhero .ap__phone.is-next { transform: translate(calc(-50% + 62%), -46%) rotate(9deg) scale(.8); opacity: .55; filter: saturate(.6) brightness(.7); z-index: 2; }
.swd-showhero .ap__island { position: absolute; left: 50%; top: 18px; z-index: 2; width: 30%; height: 22px; border-radius: 999px; background: #000; transform: translateX(-50%); }
.swd-showhero .ap__screen { display: block; width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--w) * .14); background: #fff; }
.swd-showhero .ap__screen img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: top; }
.swd-showhero .ap__push { position: absolute; left: 50%; top: 4%; z-index: 5; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; align-items: center; width: min(330px, 92%); padding: 11px 14px 11px 11px; border-radius: 20px; background: rgba(245, 247, 252, .92); color: #141A2C; box-shadow: 0 24px 50px -16px rgba(0,0,0,.6); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transform: translate(-50%, -24px) scale(.96); opacity: 0; transition: transform .5s cubic-bezier(.2,.8,.2,1.2), opacity .4s; }
.swd-showhero .ap__push.on { transform: translate(-50%, 0) scale(1); opacity: 1; }
.swd-showhero .ap__push-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--ap-c, #C3A6FF); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.swd-showhero .ap__push-t b { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: -.01em; }
.swd-showhero .ap__push-t span { display: block; font-size: 13.5px; line-height: 1.3; color: #33405A; }
.swd-showhero .ap__push time { align-self: start; font-size: 12px; color: #6B7690; }
.swd-showhero .ap__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.swd-showhero .ap__tabs button { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 7px 14px 7px 7px; border: 0; border-radius: 999px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--edge); color: var(--muted); font: 400 14px/1.2 var(--f); text-align: left; text-transform: none; letter-spacing: 0; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.swd-showhero .ap__tabs button:hover { color: #fff; background: rgba(255,255,255,.07); }
.swd-showhero .ap__tabs button[aria-selected="true"] { color: #fff; background: rgba(255,255,255,.09); box-shadow: inset 0 0 0 1.5px var(--c); }
.swd-showhero .ap__tabs i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--c); color: #141A2C; font-style: normal; font-weight: 700; font-size: 14px; }
.swd-showhero .ap__tabs small { display: none; }
.swd-showhero .ap__tabs b { font-weight: 500; }
@media (max-width: 1000px) { .swd-showhero.sh--phones .sh__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
	.swd-showhero .ap__stage { height: 500px; }
	.swd-showhero .ap__phone { --w: 210px; }
	.swd-showhero .ap__phone.is-prev { transform: translate(calc(-50% - 48%), -46%) rotate(-8deg) scale(.78); }
	.swd-showhero .ap__phone.is-next { transform: translate(calc(-50% + 48%), -46%) rotate(8deg) scale(.78); }
	.swd-showhero .ap__tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 6px; }
}
.swd-showhero .sh__facts:has(> div:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) {
	.swd-showhero .sh__facts { gap: 12px 16px; }
	.swd-showhero .sh__facts dt { font-size: 26px; }
	.swd-showhero .sh__facts dd { font-size: 13px; line-height: 1.35; }
	.swd-showhero .ap__stage { height: 470px; }
	.swd-showhero .ap__tabs { margin-top: 10px; }
}
