/* Purpose: Gives the public website (the landing page, every page of the site in English and Arabic, the sign up pages) the Glass look in its light colours.
Called by: every public page in public/ except the app page, the owner console and the avatar demo, a link after the page's own styles; each carries class="pg" on the body.
Must never change the page's structure, words or button positions, and never touch another public page: every rule starts with body.pg or sets the page's own colour variables. */
/* The Glass colours of the signed in app, light only (decision of 21 November 2026: one structure, Glass is the default, and the landing page
   the whole public site follows the light theme, never the dark one). The values are the light Glass tokens of public/css/shell-look.css written out, hue 248, ground #e6edfb.
   The button gradient is a little deeper than the app's so white words on it stay readable. */
:root{
  color-scheme:light;
  --bg:#e6edfb; --card:rgba(255,255,255,.66);
  --border:rgba(76,62,170,.13); --border2:rgba(76,62,170,.26);
  --ink:#101c38; --ink2:#25335a; --muted:#5d6e93; --gold-text:#4338a8;
  --gold:hsl(248,70%,58%); --gold1:hsl(248,86%,67%); --gold2:hsl(248,70%,58%); --gold3:hsl(250,60%,48%);
  --warm:rgba(255,255,255,.5); --warm2:hsl(248,60%,92%);
  --shadow-sm:0 1px 3px rgba(60,48,150,.08);
  --shadow:0 22px 56px -24px rgba(60,48,150,.42);
  --lp-glass:rgba(255,255,255,.66);
  --lp-ring:rgba(255,255,255,.9);
  --lp-tint:rgba(124,108,244,.13);
  --lp-acc-shadow:0 8px 20px rgba(92,72,214,.34);
  --lp-acc-shadow-hover:0 12px 26px rgba(92,72,214,.46);
}
body.pg{
  background-color:#e6edfb;
  background-image:linear-gradient(180deg,hsl(248,46%,94.5%) 0%,hsl(248,46%,93%) 24%,hsl(248,44%,91%) 60%,#e6edfb 100%);
  background-repeat:no-repeat;background-attachment:fixed;
}

/* Buttons: the same size and place as before, the colours of the Glass capsules. */
body.pg .btn-gold{color:#fff;background:linear-gradient(100deg,var(--gold1) 0%,var(--gold2) 55%,var(--gold3) 100%);box-shadow:var(--lp-acc-shadow),inset 0 1px 0 rgba(255,255,255,.35)}
body.pg .btn-gold:hover{box-shadow:var(--lp-acc-shadow-hover),inset 0 1px 0 rgba(255,255,255,.35)}
body.pg .btn-ghost{background:var(--lp-glass);backdrop-filter:blur(12px) saturate(150%);-webkit-backdrop-filter:blur(12px) saturate(150%);border:1px solid var(--border2);box-shadow:inset 0 1px 0 var(--lp-ring)}
body.pg .btn-ghost:hover{border-color:var(--gold2);color:var(--gold-text)}
body.pg .btn-light{color:var(--gold-text);background:rgba(255,255,255,.94);border:1px solid rgba(255,255,255,.7);box-shadow:0 10px 24px -12px rgba(30,20,110,.5)}

/* Glass cards: the white glass with a lit rim and a violet shadow. */
body.pg .showcase-bar,body.pg .mini,body.pg .consult-list li,body.pg .feat,body.pg .step,body.pg .calc-card,body.pg .res-tile:not(.hero-tile){
  background:var(--lp-glass);backdrop-filter:blur(14px) saturate(150%);-webkit-backdrop-filter:blur(14px) saturate(150%);
  border:1px solid var(--border);box-shadow:inset 0 1px 0 var(--lp-ring),0 14px 34px -22px rgba(60,48,150,.4)}
body.pg .showcase-body,body.pg .calc-results{background:linear-gradient(180deg,rgba(255,255,255,.62),rgba(255,255,255,.4));border:1px solid var(--border);box-shadow:var(--shadow)}
body.pg .showcase-bar{box-shadow:inset 0 1px 0 var(--lp-ring),var(--shadow-sm)}
body.pg .calc-card{box-shadow:inset 0 1px 0 var(--lp-ring),var(--shadow)}
body.pg .feat:hover{box-shadow:inset 0 1px 0 var(--lp-ring),var(--shadow);border-color:var(--border2)}
body.pg .mini .ic,body.pg .feat .ic,body.pg .consult-list .ck{background:var(--lp-tint);color:var(--gold3)}
body.pg .eyebrow{color:var(--gold-text);background:var(--lp-tint);border:1px solid rgba(110,92,230,.28)}
body.pg .step .num{color:#fff;background:linear-gradient(135deg,var(--gold1),var(--gold3));box-shadow:0 6px 16px rgba(92,72,214,.32)}
body.pg .res-tile .res-num .aed,body.pg .slider-row .slider-val{color:var(--gold-text)}

/* The two strong blocks (the two result tiles and the closing band) were near black. In the light theme they are the violet capsule colour. */
body.pg .res-tile.hero-tile{background:linear-gradient(135deg,hsl(248,66%,60%),hsl(252,58%,46%));border-color:transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 14px 28px -16px rgba(60,40,190,.6)}
body.pg .res-tile.hero-tile .res-num .aed{color:#fff}
body.pg .res-tile.hero-tile .res-lbl{color:rgba(255,255,255,.82)}
body.pg .cta-band{background:linear-gradient(135deg,hsl(248,64%,60%) 0%,hsl(252,58%,46%) 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 30px 60px -30px rgba(60,40,190,.65)}
body.pg .cta-band p{color:rgba(255,255,255,.86)}
body.pg .cta-sub{color:rgba(255,255,255,.72)}

/* The slider. */
body.pg .range{background:hsl(248,60%,92%);border:1px solid var(--border)}
body.pg .range::-webkit-slider-thumb{box-shadow:0 4px 12px rgba(92,72,214,.45)}
body.pg .range::-moz-range-thumb{box-shadow:0 4px 12px rgba(92,72,214,.45)}
body.pg .range:focus-visible{box-shadow:0 0 0 3px rgba(124,108,244,.35)}

/* The shared header, footer and phone bar (lib/logic/site/chrome.css writes them in cream and gold for every page; here only this page's colours change). */
body.pg #site-header{background:rgba(236,241,252,.72);border-bottom:1px solid var(--border);box-shadow:inset 0 -1px 0 var(--lp-ring)}
body.pg .sc-brand{color:var(--ink)}
body.pg .sc-mark{background:linear-gradient(135deg,var(--gold1),var(--gold3));box-shadow:0 6px 16px rgba(92,72,214,.4)}
body.pg .sc-brandtxt{background:linear-gradient(135deg,var(--gold2),var(--gold3));-webkit-background-clip:text;background-clip:text}
body.pg .sc-ln{color:var(--ink2)}
body.pg .sc-ln:hover,body.pg .sc-ln.sc-active,body.pg .sc-quiet:hover,body.pg .sc-foot-links a:hover,body.pg .sc-foot-quiet a:hover{color:var(--gold-text)}
body.pg .sc-quiet,body.pg .sc-foot-links a,body.pg #site-footer,body.pg .sc-foot-quiet{color:var(--muted)}
body.pg .sc-foot-quiet a,body.pg .sc-news-label{color:var(--ink2)}
body.pg .sc-cta,body.pg .sc-news button{color:#fff;background:linear-gradient(100deg,var(--gold1) 0%,var(--gold2) 55%,var(--gold3) 100%);box-shadow:var(--lp-acc-shadow),inset 0 1px 0 rgba(255,255,255,.35)}
body.pg .sc-news button{box-shadow:inset 0 1px 0 rgba(255,255,255,.35)}
body.pg .sc-cta:hover{box-shadow:var(--lp-acc-shadow-hover),inset 0 1px 0 rgba(255,255,255,.35)}
body.pg .sc-lang{color:var(--ink2);border-color:var(--border2);background:var(--lp-glass)}
body.pg .sc-lang:hover{color:var(--gold-text);border-color:var(--gold2)}
body.pg #site-footer{border-top:1px solid var(--border)}
body.pg .sc-foot-news{border-top:1px solid var(--border)}
body.pg .sc-news input{background:rgba(255,255,255,.8);border:1px solid var(--border2);color:var(--ink)}
body.pg .sc-news input:focus{border-color:var(--gold2);box-shadow:0 0 0 3px rgba(124,108,244,.22)}
body.pg .sc-news-msg{color:var(--gold-text)}
body.pg .sc-news-msg.sc-news-err{color:#cf4759}
/* The other pages of the site (their own parts, written in the same gold in their own styles). */
body.pg header.nav,body.pg .st-top{background:rgba(236,241,252,.72);border-bottom:1px solid var(--border)}
body.pg :where(p,li,td,dd,blockquote) a:not([class]){color:var(--gold-text)}
body.pg .cta a,body.pg .filter.active,body.pg .btns button.on,body.pg .bub.q,body.pg .steps li::before{color:#fff}
body.pg .cta a{box-shadow:var(--lp-acc-shadow)}
body.pg .capc .ic,body.pg .act .di,body.pg .cap-copy .kick .ic,body.pg .recs .ck,body.pg .st-points .ck,body.pg .vf-icon{background:var(--lp-tint);color:var(--gold3)}
body.pg .tier-pill,body.pg .hd-head .rng,body.pg .src span{background:var(--lp-tint);border:1px solid rgba(110,92,230,.28);color:var(--gold-text)}
body.pg .security{background:linear-gradient(135deg,hsl(248,64%,60%) 0%,hsl(252,58%,46%) 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 30px 60px -30px rgba(60,40,190,.65)}

@media(max-width:860px){
  body.pg #sc-sticky{background:rgba(236,241,252,.9);border-top:1px solid var(--border)}
  body.pg #sc-sticky a{color:#fff;background:linear-gradient(100deg,var(--gold1) 0%,var(--gold2) 55%,var(--gold3) 100%);box-shadow:0 6px 18px rgba(92,72,214,.4)}
}
