/* v1.12: the page supplies colour; each content card supplies its own clear glass. */
:root body :is(.store-card,.guide-card,.bespoke-card,.free-hub-card,.download-guide-card,.library-card,.product-review-card) {
 background: linear-gradient(125deg,rgb(255 255 255 / .30),rgb(255 255 255 / .06) 48%,rgb(255 255 255 / .16)),rgb(255 255 255 / .32);
 border:1px solid rgb(255 255 255 / .88);
 box-shadow:inset 0 1px 0 rgb(255 255 255 / .82),inset 0 -1px 0 rgb(255 255 255 / .3),0 10px 26px rgb(32 57 88 / .09);
 -webkit-backdrop-filter:blur(10px) saturate(125%);backdrop-filter:blur(10px) saturate(125%);
}
:root .cart-dialog {background:linear-gradient(125deg,rgb(243 250 255 / .78),rgb(250 247 255 / .72));-webkit-backdrop-filter:blur(22px) saturate(130%);backdrop-filter:blur(22px) saturate(130%);}
:root[data-theme=dark] body {background-color:#0e1929;background-image:radial-gradient(ellipse 80% 1200px at 4% 400px,rgb(64 139 169 / .11),transparent 80%),radial-gradient(ellipse 75% 1600px at 96% 1200px,rgb(126 88 159 / .11),transparent 82%)!important;}
:root[data-theme=dark] body :is(.store-card,.guide-card,.bespoke-card,.free-hub-card,.download-guide-card,.library-card,.product-review-card) {
 background:linear-gradient(125deg,rgb(219 237 255 / .055),transparent 55%),rgb(32 49 69 / .64);border-color:rgb(190 216 245 / .24);box-shadow:inset 0 1px 0 rgb(227 239 255 / .12),0 12px 28px rgb(0 0 0 / .16);color:#edf3fc;
}
:root[data-theme=dark] body :is(.store-card-copy>p,.guide-card p,.compact-meta){color:#bac9de;}
:root[data-theme=dark] .cart-dialog{background:linear-gradient(125deg,rgb(24 43 62 / .87),rgb(32 30 49 / .86));}
:root[data-theme=dark] .store-card [data-add-cart]{background:#284da5;color:#f5f8ff;border-color:#6889ce;}
:root[data-theme=dark] .store-card [data-add-cart]:hover{background:#345fc2;}
:root[data-theme=dark] .store-card [data-add-cart]:disabled{background:#28344b;color:#acbbd3;border-color:#536780;}
:root body :is(.library-card,.product-review-card) h3 {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;min-height:0;max-height:4.5em;}
:root body :is(.library-card,.product-review-card) .guide-card-content>p {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;min-height:0;max-height:5.4em;}
:root body .guide-meta{display:flex;flex-wrap:wrap;column-gap:10px;row-gap:5px;}
:root .guide-meta>span:first-child{margin-inline-end:auto;}
.card-views{display:inline-flex;align-items:center;gap:4px;font-size:12px;white-space:nowrap;color:var(--muted);font-variant-numeric:tabular-nums;}
.card-views svg{fill:none;stroke:currentColor;stroke-width:1.7;flex:none;}
:root .compact-meta{flex-wrap:wrap;gap:5px 12px;}
:root .compact-meta .card-views{margin-inline-start:auto;}
:root .payment-brands img{transition:transform 180ms ease,box-shadow 180ms ease;border-radius:5px;}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){:root .payment-brands img:hover{transform:translateY(-3px);box-shadow:0 5px 12px rgb(50 87 155 / .2);}}
@supports not (backdrop-filter:blur(1px)){:root body :is(.store-card,.guide-card,.bespoke-card,.cart-dialog){background:#f5f8fc;} :root[data-theme=dark] body :is(.store-card,.guide-card,.bespoke-card,.cart-dialog){background:#203045;}}
@media(prefers-reduced-transparency:reduce){:root[data-theme=dark] body{background-image:none!important;} :root body :is(.store-card,.guide-card,.bespoke-card,.free-hub-card,.download-guide-card,.library-card,.product-review-card,.cart-dialog){background:var(--paper)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}}

:root[data-theme=dark] .claim-main{background:#203045;color:#edf3fc;border-color:#456080;}
:root[data-theme=dark] :is(.claim-main p,.claim-footer){color:#becbe0;}
:root[data-theme=dark] .claim-header{color:#edf3fc;}
:root[data-theme=dark] .claim-header nav{background:#203045;color:#edf3fc;border-color:#456080;}
/* Demo journey shares account rows and existing primary/secondary buttons. */
.demo-next[hidden],.account-demos [hidden]{display:none!important}
.demo-next{margin-block-start:20px;padding-block-start:16px;border-block-start:1px solid var(--line)}
.demo-next h4{font-size:1rem;margin:0 0 12px}.demo-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.demo-actions .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;max-width:100%;white-space:normal;text-align:center}
.demo-actions svg{width:18px;height:18px;flex-shrink:0}.account-demos{scroll-margin-top:110px}
.account-demo-list{display:grid;gap:14px}.demo-library-card{display:block;min-width:0}.demo-library-card>strong{display:block;overflow-wrap:anywhere}
.demo-library-card .demo-actions{margin-block-start:14px}.demo-library-card [role=status]:empty{display:none}
@media(max-width:540px){.demo-next .demo-actions{display:grid}.demo-actions .button{flex:1 1 180px}.account-demos .account-section-heading{flex-wrap:wrap}}

/* Keep Demo actions legible on dark glass, including shared product-panel overrides. */
:root[data-theme=dark] body :is(.product-demo,.account-demos) .button.secondary{background:#101c2d;color:#c3d3ff;border-color:#536e99}
:root[data-theme=dark] body :is(.product-demo,.account-demos) .button.secondary:hover{background:#203451;color:#edf3fc}
:root[data-theme=dark] body .product-demo .button.primary{background:#3159c4;color:#fff;border-color:#7697ea}
:root[data-theme=dark] body .product-demo .button.primary:hover{background:#25479f}
