/* Tamkeen sub-pages: same restrained language as the landing.
   Static depth on the page's own hero, one entrance for its content, readable long-form text.
   Palette/font unchanged; icons are bootstrap-icons (font), no SVG. */
:root{--tk-ease:cubic-bezier(.16,1,.3,1);--tk-navy:#212A33;--tk-muted:#566575;--tk-line:#DEEFF6}
body.tkx ::selection{background:rgba(41,177,226,.25);color:#212A33}

/* hero depth: one soft light + a faint grid, both static */
.tkx-hero{position:relative!important;isolation:isolate;overflow:hidden!important}
.tkx-hero > :not(.tkx-depth){position:relative;z-index:1}
.tkx-depth{position:absolute;inset:0;z-index:0;pointer-events:none;border-radius:inherit;
  background:radial-gradient(560px 300px at var(--tk-lx,85%) -20%,rgba(41,177,226,.26),transparent 65%)}
.tkx-depth::before{content:"";position:absolute;inset:0;
  background-image:linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);background-size:44px 44px;
  -webkit-mask-image:radial-gradient(420px 220px at var(--tk-gx,12%) 50%,#000,transparent 75%);mask-image:radial-gradient(420px 220px at var(--tk-gx,12%) 50%,#000,transparent 75%)}
html[dir="ltr"] .tkx-depth{--tk-lx:15%;--tk-gx:88%}
.tkx-hero.tkx-light .tkx-depth{background:radial-gradient(560px 300px at var(--tk-lx,85%) -20%,rgba(41,177,226,.12),transparent 65%)}
.tkx-hero.tkx-light .tkx-depth::before{background-image:linear-gradient(rgba(33,42,51,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(33,42,51,.05) 1px,transparent 1px)}

/* the one entrance: hero content, in reading order */
.qx-js .tkx-e{opacity:0}
.qx-js.qx-in .tkx-e{animation:tkx-rise .6s var(--tk-ease) both;animation-delay:var(--t,0ms)}
@keyframes tkx-rise{from{opacity:0;transform:translate3d(0,12px,0)}to{opacity:1;transform:none}}

/* long-form reading (privacy, terms, help): comfortable size, measure and rhythm */
body.tkx :is(.pv-section,.tr-section) p,body.tkx :is(.pv-section,.tr-section) li,body.tkx .help-shell :is(p,li){font-size:15px!important;line-height:1.95!important;max-width:75ch}
body.tkx :is(.pv-section,.tr-section) :is(h2,h3){line-height:1.45!important}
body.tkx :is(.pv-section,.tr-section){scroll-margin-top:96px}

/* feedback on links that look like buttons */
body.tkx a[class*="btn"] i.bi{transition:transform .3s var(--tk-ease)}
body.tkx a[class*="btn"]:hover i.bi-arrow-left{transform:translateX(-3px)}
body.tkx a[class*="btn"]:hover i.bi-arrow-right{transform:translateX(3px)}

@media (prefers-reduced-motion:reduce){
  .qx-js.qx-in .tkx-e{animation:tkx-fade .25s ease both!important}
  body.tkx a[class*="btn"]:hover i.bi{transform:none!important}
}
@keyframes tkx-fade{from{opacity:0}to{opacity:1}}
