/* =========================================================================
   Dayra landing v0 — layout, components, animation.
   Brand values come from tokens.css. A circle's accent comes from content.js
   and arrives as CSS variables (--c-accent, --c-on-accent, --c-bg ...).
   Uses logical properties (inline-start/end) so Arabic mirrors for free.
   ========================================================================= */

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--white);color:var(--ink);font-family:var(--font-latin);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
html[lang="ar"] body{font-family:var(--font-arabic)}
img{max-width:100%;display:block}
a{color:inherit}
button{font:inherit;color:inherit}
h1,h2,h3,h4,p,ul,ol{margin:0}
ul,ol{padding:0;list-style:none}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:6px}
main{overflow-x:clip}
.wrap{max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gutter)}
.skip{position:absolute;inset-inline-start:-9999px;top:8px;background:var(--ink);color:var(--white);padding:10px 16px;border-radius:var(--pill);z-index:100}
.skip:focus{inset-inline-start:8px}

/* Tuck the full stop in on big Latin titles (see tight() in landing.js) */
html[lang="en"] .dot{margin-inline-start:-.1em}

/* Arabic: no negative tracking, a little more line height */
html[lang="ar"] :is(.hero__title,.build__title,.chead__name,.frow__title,.tile__outcome,.more__title){letter-spacing:0;line-height:1.25}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:var(--pill);font-weight:600;text-decoration:none;cursor:pointer;border:1.5px solid transparent;transition:background var(--fast),color var(--fast),border-color var(--fast),transform var(--fast) var(--ease),filter var(--fast);white-space:nowrap}
.btn:active{transform:scale(.98)}
.btn--sm{height:44px;padding-inline:20px;font-size:15px}
.btn--lg{height:56px;padding-inline:30px;font-size:17px}
.btn--primary{background:var(--ink);color:var(--white)}
.btn--primary:hover{background:#2B2B2B}
.btn--outline{border-color:var(--ink);color:var(--ink);background:transparent}
.btn--outline:hover{background:var(--surface)}
.btn--accent{border-color:var(--c-accent);color:var(--c-accent);background:transparent;height:44px;padding-inline:18px;font-size:15px}
.btn--accent:hover{background:color-mix(in srgb,var(--c-accent) 8%,white)}
.btn--accent-fill{background:var(--c-accent);color:var(--c-on-accent);height:56px;padding-inline:28px;font-size:17px}
.btn--accent-fill.btn--sm{height:44px;padding-inline:20px;font-size:15px}
.btn--accent-fill:hover{filter:brightness(1.1)}
.arrow{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform var(--fast) var(--ease);flex:none}
html[dir="rtl"] .arrow{transform:scaleX(-1)}
.btn:hover .arrow{transform:translateX(3px)}
html[dir="rtl"] .btn:hover .arrow{transform:scaleX(-1) translateX(3px)}

/* ---------- Top bar ---------- */
.topbar{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--line)}
.topbar__inner{height:var(--topbar-h);display:flex;align-items:center;justify-content:space-between;gap:24px}
.topbar__start{display:flex;align-items:center;gap:44px}
.topbar__logo img{height:30px;width:auto}
.topbar__nav{display:flex;gap:28px}
.topbar__nav a,.topbar__login{font-size:15px;font-weight:500;text-decoration:none}
.topbar__nav a:hover,.topbar__login:hover{color:var(--grey)}
.topbar__end{display:flex;align-items:center;gap:6px}
.topbar__login{padding:12px 14px;font-weight:600}
.lang{background:none;border:0;cursor:pointer;font-size:15px;font-weight:600;padding:12px 14px;border-radius:var(--pill);font-family:var(--font-arabic)}
html[lang="ar"] .lang{font-family:var(--font-latin)}
.lang:hover{background:var(--surface)}
@media (max-width:720px){.topbar__nav,.topbar__login{display:none}.topbar__start{gap:16px}}

/* The thin Dayra ring: only in the circle header, draws itself in on scroll */
.dring{display:block;overflow:visible}
.dring circle{fill:none;stroke:var(--ink);stroke-width:1.3;stroke-dasharray:1;stroke-dashoffset:1;transform:rotate(-90deg);transform-origin:100px 100px;transition:stroke-dashoffset 1.6s var(--ease) .15s}
.is-in .dring circle{stroke-dashoffset:0}
.portrait .dring{position:absolute;left:50%;top:var(--ring-top,4%);width:var(--ring,300px);aspect-ratio:1;transform:translateX(-50%)}

/* Portrait: the creator's cut-out photo (or monogram) standing on a hairline */
.portrait{position:relative;height:100%}
.portrait__photo{position:absolute;bottom:0;left:50%;transform:translateX(-50%);height:var(--photo-h,90%);width:auto;max-width:none}
.portrait__mono{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(260px,62%);aspect-ratio:1;border-radius:var(--pill);background:var(--c-accent);color:var(--c-on-accent);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:clamp(56px,7vw,96px);letter-spacing:-.04em}

/* Circle wordmark: creator's logo + text in Dayra's font (always left to right) */
.wm{display:inline-flex;align-items:baseline;gap:.14em;direction:ltr;unicode-bidi:isolate}
.wm__logo{height:1.12em;width:auto;align-self:center;transform:translateY(.1em)}

/* ---------- Hero ---------- */
.hero{display:flex;flex-wrap:wrap;align-items:center;gap:clamp(48px,6vw,96px);padding-block:clamp(40px,5vw,72px) clamp(64px,7vw,104px);min-height:calc(100vh - var(--topbar-h));min-height:calc(100svh - var(--topbar-h))}
.hero__copy{flex:1 1 480px;min-width:0;display:flex;flex-direction:column;gap:28px}
.hero__title{font-size:clamp(48px,6.2vw,88px);line-height:.98;font-weight:800;letter-spacing:var(--track-tight)}
.hero__sub{font-size:22px;line-height:1.45;color:var(--grey);max-width:26em}
.hero__points{display:flex;flex-direction:column;gap:14px}
.hero__points li{display:flex;align-items:center;gap:12px;font-size:16px;font-weight:600}
.pt-icon{width:40px;height:40px;border-radius:var(--pill);background:var(--surface);display:inline-flex;align-items:center;justify-content:center;flex:none}
.pt-icon svg{width:20px;height:20px;fill:none;stroke:var(--ink);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hero__ctas{display:flex;gap:12px;padding-top:4px}
@media (max-width:520px){
  .hero__ctas .btn{flex:1 1 0;padding-inline:12px;font-size:16px;height:52px}
  .hero__ctas .arrow{display:none}
}

.hero__visual{flex:1 1 440px;min-width:0;display:flex;justify-content:center}
.hero__card{position:relative;width:min(100%,500px);background:var(--white);animation:cardIn 1s .2s var(--ease) both}
@keyframes cardIn{from{opacity:0;transform:translateY(32px) scale(.97)}to{opacity:1;transform:none}}
.hcard__media{position:relative;height:420px;overflow:hidden;border-bottom:1px solid var(--line)}
.portrait--hero{--photo-h:92%}
.hslides{display:grid}
.hslide{grid-area:1/1;opacity:0;visibility:hidden;transition:opacity .6s var(--ease),visibility 0s .6s}
.hslide.is-on{opacity:1;visibility:visible;transition:opacity .6s var(--ease),visibility 0s}
.hslide.is-on .portrait--hero .portrait__photo{animation:photoUp 1.1s .2s var(--ease) both}
.hslide.is-on .hcard__body{animation:heroText .7s .15s var(--ease) both}
@keyframes heroText{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.hdots{display:flex;gap:8px;margin-top:20px}
.hdot{padding:10px 0;width:44px;background:none;border:0;cursor:pointer}
.hdot i{display:block;height:4px;border-radius:var(--pill);background:var(--line);position:relative;overflow:hidden}
.hdot i::after{content:"";position:absolute;inset:0;width:0;background:var(--ink)}
.hdot[aria-current="true"] i::after{width:100%}
.hero__card.is-playing .hdot[aria-current="true"] i::after{width:0;animation:heroBar var(--hero-ms,6000ms) linear forwards}
@keyframes heroBar{to{width:100%}}
.hdot:focus-visible{outline:2px solid var(--ink);outline-offset:2px;border-radius:4px}
@media (prefers-reduced-motion:reduce){.hslide,.hslide.is-on{transition:none}.hslide.is-on .portrait--hero .portrait__photo,.hslide.is-on .hcard__body{animation:none}}
@keyframes photoUp{from{opacity:0;transform:translate(-50%,40px)}to{opacity:1;transform:translate(-50%,0)}}
.hcard__pill{position:absolute;top:8px;inset-inline-end:0;z-index:2}
.hcard__body{padding:22px 0 0;display:flex;flex-direction:column;gap:14px}
.hcard__row{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.hcard__name{font-size:30px;font-weight:800;letter-spacing:-.025em;line-height:1.15}
.hcard__by{font-size:16px;color:var(--grey)}
.hcard__tagline{font-size:16px;line-height:1.5;color:var(--grey)}
.hcard__foot{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.rating{display:flex;align-items:center;gap:6px;font-weight:600;padding-top:6px}
.rating svg{width:16px;height:16px;fill:currentColor}
.rating span{font-weight:400;color:var(--grey)}
@media (max-width:520px){.hcard__media{height:400px}}

/* Shared circle pieces */
.status-pill{height:32px;padding-inline:14px;border-radius:var(--pill);background:var(--c-accent);color:var(--c-on-accent);font-size:13px;font-weight:700;display:inline-flex;align-items:center;gap:7px}
.status-pill::before{content:"";width:7px;height:7px;border-radius:var(--pill);background:currentColor}
.status-pill--open::before{animation:pulse 1.8s ease-in-out infinite}
@keyframes pulse{50%{opacity:.35}}
.tag{height:30px;padding-inline:12px;border-radius:var(--pill);background:var(--surface);font-size:13px;font-weight:500;display:inline-flex;align-items:center}
.mark{display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:var(--c-accent);color:var(--c-on-accent);font-weight:800;letter-spacing:-.02em;flex:none;overflow:hidden}
.mark--logo{background:var(--white);border:1px solid var(--line)}
.mark--logo img{width:100%;height:100%;object-fit:contain;padding:6px}
.avatar{width:40px;height:40px;border-radius:var(--pill);flex:none;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:800;overflow:hidden;background:var(--line);color:var(--ink)}
.avatar img{width:100%;height:100%;object-fit:cover;object-position:50% 8%}
.avatar--creator{background:var(--c-accent);color:var(--c-on-accent)}
.avatar--creator:has(img){background:var(--surface)}
.avatar--lg{width:56px;height:56px;font-size:16px}

/* ---------- What will you build? ---------- */
.build{padding-block:clamp(72px,8vw,120px) clamp(72px,8vw,112px);border-top:1px solid var(--line)}
.build__head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px 48px;margin-bottom:48px}
.build__title{font-size:clamp(44px,5.6vw,80px);line-height:.98;font-weight:800;letter-spacing:var(--track-tight)}
.build__sub{font-size:19px;color:var(--grey);max-width:24em}

.tiles{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.tile{grid-column:span 2;position:relative;text-align:start;display:flex;flex-direction:column;gap:14px;min-height:280px;padding:28px;border-radius:var(--radius-lg);border:1px solid var(--line);background:var(--white);color:var(--ink);cursor:pointer;transition:border-color var(--mid),transform var(--mid) var(--ease),opacity var(--slow) var(--ease)}
.tile:nth-child(4),.tile:nth-child(5){grid-column:span 3}
.tile::after{content:"";position:absolute;inset-inline:28px;top:0;height:3px;border-radius:0 0 3px 3px;background:var(--c-accent);transform:scaleX(0);transform-origin:var(--origin,left);transition:transform var(--mid) var(--ease)}
html[dir="rtl"] .tile::after{--origin:right}
.tile:hover::after,.tile[aria-pressed="true"]::after{transform:scaleX(1)}
.tile__top{display:flex;align-items:center;gap:12px}
.tile__mark{width:40px;height:40px;font-size:14px}
.tile__creator{font-size:14px;font-weight:500;color:var(--grey)}
.tile__outcome{font-size:clamp(24px,2.3vw,32px);line-height:1.08;font-weight:800;letter-spacing:-.03em;margin-top:auto}
.tile__pitch{font-size:16px;line-height:1.5;color:var(--grey)}
.tile__see{display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:600;color:var(--c-accent)}
.tile__see .arrow{width:16px;height:16px}
.tile:hover{border-color:var(--c-accent)}
.tile[aria-pressed="true"]{border-color:var(--c-accent);outline:1.5px solid var(--c-accent);outline-offset:-2px}
.tile:hover .arrow{transform:translateX(4px)}
html[dir="rtl"] .tile:hover .arrow{transform:scaleX(-1) translateX(4px)}
.tile:active{transform:scale(.99)}
@media (max-width:1000px){.tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.tile,.tile:nth-child(4),.tile:nth-child(5){grid-column:span 1}.tile:nth-child(5){grid-column:span 2}}
@media (max-width:640px){.tiles{grid-template-columns:1fr}.tile,.tile:nth-child(5){grid-column:auto}.tile{min-height:0}}

/* ---------- Inside the circle: a normal page that scrolls ---------- */
.circle{position:relative;border-top:1px solid var(--line);padding-bottom:clamp(80px,9vw,140px);transition:opacity .22s var(--ease)}
.circle.is-switching{opacity:0}

/* Slim bar that follows you through the circle */
.cbar{position:sticky;top:var(--topbar-h);z-index:40;height:64px;margin-bottom:-64px;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);opacity:0;transform:translateY(-10px);pointer-events:none;transition:opacity var(--mid) var(--ease),transform var(--mid) var(--ease)}
.cbar.is-shown{opacity:1;transform:none;pointer-events:auto}
.cbar__inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:16px}
.cbar__id{display:flex;align-items:center;gap:12px;min-width:0}
.cbar__mark{width:34px;height:34px;font-size:12px;border-radius:10px}
.cbar__name{font-size:18px;font-weight:800;letter-spacing:-.02em;white-space:nowrap}

.chead{display:flex;flex-wrap:wrap;align-items:center;gap:clamp(40px,6vw,96px);padding-block:clamp(72px,8vw,120px) clamp(56px,6vw,96px)}
.chead__visual{flex:1 1 400px;min-width:0;height:clamp(380px,40vw,540px);border-bottom:1px solid var(--line)}
.portrait--head{--ring:clamp(290px,32vw,440px);--ring-top:4%;--photo-h:100%}
.portrait--head .portrait__mono{top:calc(var(--ring-top) + var(--ring) / 2);width:calc(var(--ring) * .62)}
.chead__text{flex:1 1 440px;min-width:0;display:flex;flex-direction:column;gap:20px}
.chead__label{font-size:15px;font-weight:600;color:var(--c-accent)}
.chead__name{font-size:clamp(52px,6.4vw,96px);line-height:1;font-weight:800;letter-spacing:var(--track-tight)}
.chead__by{display:flex;align-items:center;gap:12px;font-size:17px;color:var(--grey)}
.chead__by strong{color:var(--ink);font-weight:600}
.chead__pitch{font-size:21px;line-height:1.5;color:var(--grey);max-width:26em}
.chead__cta{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding-top:6px}
.circle__founding{font-size:15px;color:var(--grey)}

.frows{display:flex;flex-direction:column;gap:clamp(64px,8vw,128px)}
.frow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(40px,6vw,96px);align-items:center}
.frow__visual{min-width:0}
.frow__text{display:flex;flex-direction:column;gap:16px;min-width:0}
.frow__kicker{font-size:15px;font-weight:700;color:var(--c-accent);font-variant-numeric:tabular-nums}
.frow__title{font-size:clamp(40px,4.6vw,68px);line-height:1;font-weight:800;letter-spacing:var(--track-tight)}
.frow__body{font-size:clamp(19px,1.6vw,23px);line-height:1.45;color:var(--grey);max-width:24em}
@media (max-width:860px){
  .frow{grid-template-columns:1fr;gap:28px}
  .frow__text{order:-1}
}

.more{display:flex;flex-direction:column;gap:28px}
.more__title{font-size:clamp(32px,3.2vw,44px);line-height:1.05;font-weight:800;letter-spacing:-.03em}
.more__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.mcard{display:flex;flex-direction:column;gap:10px;padding:28px;border-radius:var(--radius-lg);background:var(--surface)}
.mcard__icon{width:48px;height:48px;border-radius:14px;background:var(--c-accent);color:var(--c-on-accent);display:inline-flex;align-items:center;justify-content:center;margin-bottom:8px}
.mcard__icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.mcard__title{font-size:24px;font-weight:800;letter-spacing:-.02em}
.mcard__body{font-size:16px;line-height:1.5;color:var(--grey)}
.mcard__sample{margin-top:auto;padding-top:14px;border-top:1px solid var(--line);font-size:15px;font-weight:600}
.mcard__go{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:15px;font-weight:600;color:var(--c-accent);text-decoration:none}
.mcard__go .arrow{width:16px;height:16px}
.mcard__go:hover .arrow{transform:translateX(4px)}
html[dir="rtl"] .mcard__go:hover .arrow{transform:scaleX(-1) translateX(4px)}
@media (max-width:860px){.more__grid{grid-template-columns:1fr}}

/* Mini UI inside feature rows */
.ui{background:var(--surface);border-radius:var(--radius-lg);padding:18px;display:flex;flex-direction:column;gap:6px;font-size:16px}
.ui--pad{padding:28px;gap:16px}
.ui__row{display:flex;align-items:center;gap:14px;padding:14px;border-radius:var(--radius-sm)}
.ui__row--current{background:var(--white);font-weight:600}
.ui__num{width:30px;height:30px;border-radius:var(--pill);flex:none;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;background:var(--c-accent);color:var(--c-on-accent)}
.ui__locked{position:relative;display:flex;flex-direction:column;gap:10px;padding:14px;margin-top:4px}
.ui__ghost{height:18px;border-radius:9px;background:var(--line);filter:blur(3px)}
.ui__ghost:nth-child(2){width:78%}.ui__ghost:nth-child(3){width:60%}
.ui__lockmsg{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:600;text-align:center}
.ui__lockmsg svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;flex:none}
.ui--chat{gap:14px;padding:22px}
.msg{display:flex;align-items:flex-end;gap:10px;max-width:100%}
.msg .bubble{min-width:0}
.msg--creator{align-self:flex-end;flex-direction:row-reverse}
.bubble{background:var(--white);border-radius:18px 18px 18px 6px;padding:12px 16px;line-height:1.45}
.msg--creator .bubble{border:1.5px solid var(--c-accent);border-radius:18px 18px 6px 18px}
html[dir="rtl"] .bubble{border-radius:18px 18px 6px 18px}
html[dir="rtl"] .msg--creator .bubble{border-radius:18px 18px 18px 6px}
.bubble__from{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700;margin-bottom:4px}
.badge{height:20px;padding-inline:7px;border-radius:6px;background:var(--c-accent);color:var(--c-on-accent);font-size:11px;font-weight:700;display:inline-flex;align-items:center}
.livetag{height:26px;padding-inline:10px;border-radius:7px;background:var(--red-bg);color:var(--red);font-size:12px;font-weight:700;display:inline-flex;align-items:center;gap:6px;align-self:flex-start}
.livetag::before{content:"";width:7px;height:7px;border-radius:var(--pill);background:currentColor;animation:pulse 1.2s ease-in-out infinite}
.event{display:flex;align-items:center;gap:16px}
.event__icon{width:56px;height:56px;border-radius:16px;flex:none;display:flex;align-items:center;justify-content:center;background:var(--c-accent);color:var(--c-on-accent)}
.event__icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.event__title{font-size:18px;font-weight:700}
.event__when{font-size:15px;color:var(--grey)}
.file{display:flex;align-items:center;gap:14px;background:var(--white);border-radius:16px;padding:14px 16px}
.file__type{width:40px;height:40px;border-radius:10px;background:color-mix(in srgb,var(--c-accent) 10%,white);color:var(--c-accent);font-size:11px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;flex:none}
.file svg{margin-inline-start:auto;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* ---------- For creators: the black band ---------- */
.creators{background:var(--ink);color:var(--white);padding-block:clamp(80px,9vw,140px)}
.creators__inner{display:flex;flex-wrap:wrap;gap:clamp(48px,7vw,120px);align-items:center}
.creators__pitch{flex:1 1 460px;min-width:0;display:flex;flex-direction:column;gap:26px}
.creators__label{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:600;color:#BDBDBD}
.ring-sm{width:16px;height:16px;fill:currentColor;flex:none}
.creators__label .ring-sm{fill:var(--white)}
.creators__title{font-size:clamp(44px,5.4vw,76px);line-height:1;font-weight:800;letter-spacing:var(--track-tight)}
.creators__sub{font-size:20px;line-height:1.5;color:#BDBDBD;max-width:28em}
.btn--white{background:var(--white);color:var(--ink)}
.btn--white:hover{background:var(--line)}
.creators__side{flex:1 1 460px;min-width:0;display:flex;flex-direction:column;gap:36px}
.csteps{display:flex;flex-direction:column}
.cstep{display:flex;gap:22px;padding-block:26px;border-top:1px solid #2E2E2E}
.cstep:last-child{border-bottom:1px solid #2E2E2E}
.cstep__num{flex:none;width:44px;height:44px;border-radius:var(--pill);border:1.5px solid var(--white);font-size:16px;font-weight:800;display:inline-flex;align-items:center;justify-content:center}
.cstep__title{font-size:26px;font-weight:800;letter-spacing:-.02em}
.cstep__body{font-size:17px;line-height:1.5;color:#BDBDBD;margin-top:6px}
.earn{background:#1A1A1A;border-radius:var(--radius);padding:24px;display:flex;flex-direction:column;gap:14px}
.earn__title{font-size:18px;font-weight:800}
.earn__chips{display:flex;flex-wrap:wrap;gap:8px}
.earn__chip{height:36px;padding-inline:14px;border-radius:var(--pill);border:1px solid #3A3A3A;font-size:14px;font-weight:600;display:inline-flex;align-items:center}
html[lang="ar"] .creators__title{letter-spacing:0;line-height:1.25}

/* ---------- Questions (FAQ) ---------- */
.faq{padding-block:clamp(80px,9vw,140px)}
.faq__inner{display:flex;flex-wrap:wrap;gap:40px clamp(48px,7vw,120px);align-items:flex-start}
.faq__head{flex:1 1 300px;display:flex;flex-direction:column;gap:24px;position:sticky;top:calc(var(--topbar-h) + 32px)}
.faq__title{font-size:clamp(44px,5vw,72px);line-height:1;font-weight:800;letter-spacing:var(--track-tight)}
.faq__tabs{display:inline-flex;gap:4px;padding:4px;border-radius:var(--pill);background:var(--surface);align-self:flex-start}
.faq__tab{height:44px;padding-inline:20px;border:0;border-radius:var(--pill);background:transparent;font-size:15px;font-weight:600;color:var(--grey);cursor:pointer;transition:background var(--fast),color var(--fast)}
.faq__tab[aria-selected="true"]{background:var(--ink);color:var(--white)}
.faq__list{flex:2 1 560px;min-width:0;border-top:1px solid var(--line)}
.qa{border-bottom:1px solid var(--line)}
.qa__q{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:24px;padding-block:24px;font-size:clamp(19px,1.6vw,22px);font-weight:700;cursor:pointer}
.qa__q::-webkit-details-marker{display:none}
.qa__q:hover{color:var(--grey)}
.qa__icon{position:relative;width:20px;height:20px;flex:none}
.qa__icon::before,.qa__icon::after{content:"";position:absolute;inset-inline-start:0;top:9px;width:20px;height:2px;border-radius:2px;background:currentColor;transition:transform var(--mid) var(--ease)}
.qa__icon::after{transform:rotate(90deg)}
.qa[open] .qa__icon::after{transform:rotate(0)}
.qa__a{padding-bottom:26px;font-size:18px;line-height:1.6;color:var(--grey);max-width:40em;animation:fadeUp .4s var(--ease)}
html[lang="ar"] .faq__title{letter-spacing:0;line-height:1.2}
@media (max-width:860px){.faq__head{position:static}}

/* ---------- Closing band ---------- */
.closing{background:var(--surface)}
.closing__inner{display:flex;flex-direction:column;align-items:center;text-align:center;gap:18px;padding-block:clamp(80px,9vw,140px)}
.closing__ring{width:72px;height:72px;overflow:visible;margin-bottom:8px}
.closing__ring circle{fill:none;stroke:var(--ink);stroke-width:12;stroke-dasharray:1;stroke-dashoffset:1;transform:rotate(-90deg);transform-origin:100px 100px;transition:stroke-dashoffset 1.4s var(--ease) .2s}
.is-in .closing__ring circle{stroke-dashoffset:0}
.closing__title{font-size:clamp(48px,6vw,88px);line-height:1;font-weight:800;letter-spacing:var(--track-tight)}
.closing__sub{font-size:20px;color:var(--grey);margin-bottom:10px}
html[lang="ar"] .closing__title{letter-spacing:0;line-height:1.2}

/* ---------- Footer (every page) ---------- */
.footer{background:var(--ink);color:var(--white)}
.footer__inner{display:flex;flex-wrap:wrap;gap:48px clamp(48px,6vw,96px);padding-block:clamp(56px,6vw,88px) 40px}
.footer__brand{flex:1 1 260px;display:flex;flex-direction:column;gap:18px}
.footer__logo img{height:30px;width:auto;filter:invert(1)}
.footer__tagline{font-size:17px;color:#BDBDBD;max-width:18em}
.footer__socials{display:flex;gap:8px}
.social{width:44px;height:44px;border-radius:var(--pill);border:1px solid #2E2E2E;display:inline-flex;align-items:center;justify-content:center;color:inherit;transition:background var(--fast),border-color var(--fast)}
.social:hover{background:#1A1A1A;border-color:#555555}
.social svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.footer__cols{flex:3 1 560px;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:32px}
.fcol__title{font-size:14px;font-weight:700;color:#8A8A8A;margin-bottom:14px}
.fcol ul{display:flex;flex-direction:column;gap:4px}
.fcol a{display:inline-flex;min-height:36px;align-items:center;font-size:16px;color:var(--white);text-decoration:none}
.fcol a:hover{color:#BDBDBD}
.footer__bottom{position:relative;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding-block:20px 28px;font-size:14px;color:#8A8A8A}
.footer__bottom::before{content:"";position:absolute;top:0;inset-inline:var(--gutter);height:1px;background:#2E2E2E}
.lang--footer{color:var(--white)}
.lang--footer:hover{background:#1A1A1A}

/* ---------- Entrance and scroll reveal (transform + opacity only: smooth) ---------- */
.anim-in{animation:fadeUp .9s calc(var(--d,0) * 90ms + 100ms) var(--ease) both}
@keyframes fadeUp{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
[data-reveal]{opacity:0;transform:translateY(32px);transition:opacity var(--slow) var(--ease),transform var(--slow) var(--ease);transition-delay:calc(var(--d,0) * 90ms)}
[data-reveal="side"]{transform:translateX(-48px)}
html[dir="rtl"] [data-reveal="side"]{transform:translateX(48px)}
[data-reveal="zoom"]{transform:scale(.92)}
[data-reveal].is-in{opacity:1;transform:none}
.tile[data-reveal]{transition:opacity var(--slow) var(--ease),transform var(--slow) var(--ease),border-color var(--mid)}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
 
  [data-reveal]{opacity:1;transform:none}
  .dring circle{stroke-dashoffset:0}
}
