/* BIN EISA design system v2 — light / navy / gold (tokens from the website design pack).
   Legacy token names are kept so existing rules keep working. --gold is the text-safe gold;
   --gold-brand is the exact brand gold for lines and icons. */
:root{
  --bg:#F7F7F5;
  --surface:#FFFFFF;
  --surface-2:#F0F0ED;
  --border:#E2E2DE;
  --border-gold:#D9C9A8;
  --navy:#101826;
  --navy-2:#0E1B2C;
  --gold:#8A6A35;
  --gold-brand:#A8844F;
  --gold-bright:#8A6A35;
  --gold-deep:#8A6A35;
  --gold-ink:#FFFFFF;
  --gold-soft:#E9DFCF;
  --text:#101826;
  --text-dim:#4A5160;
  --danger:#B4443A;
  --success:#1F7A55;
  --radius:4px;
  --shadow:0 1px 2px rgba(16,24,38,.04),0 10px 30px rgba(16,24,38,.07);
  --font-en:'Montserrat',system-ui,-apple-system,'Segoe UI',sans-serif;
  --font-display:'Cormorant Garamond',Georgia,serif;
  --font-ar:'Tajawal',system-ui,sans-serif;
  --ease-out:cubic-bezier(.22,1,.36,1);
  color-scheme:light;
}
html[dir="rtl"]{--font-display:'Amiri','Cormorant Garamond',Georgia,serif}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}
}
body{
  background:var(--bg);
  color:var(--text-dim);
  font-family:var(--font-en);
  font-size:15px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
html[dir="rtl"] body{font-family:var(--font-ar)}
img,svg{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:4px}
.hidden{display:none!important}
.container{width:100%;max-width:1120px;margin-inline:auto;padding-inline:20px}
@media(min-width:768px){.container{padding-inline:32px}}

h1,h2,h3{text-wrap:balance;color:var(--text)}
p{text-wrap:pretty}

/* ── Header ─────────────────────────── */
.site-header{
  position:sticky;top:0;z-index:100;
  background:rgba(255,255,255,.94);
  backdrop-filter:saturate(1.4) blur(10px);
  -webkit-backdrop-filter:saturate(1.4) blur(10px);
  border-bottom:1px solid var(--border);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px}
.brand{display:flex;align-items:center;gap:12px;min-height:44px}
.brand-mark{
  width:38px;height:38px;flex:none;border-radius:50%;
  border:1px solid var(--gold-brand);background:#fff;
  display:grid;place-items:center;
  color:var(--gold);font-weight:600;font-size:14px;letter-spacing:.5px;
  font-family:var(--font-display);
}
.brand-name{display:flex;flex-direction:column;line-height:1.15}
.brand-name b{font-size:17px;letter-spacing:.04em;font-weight:700;font-family:var(--font-en);color:var(--text)}
.brand-name span{font-size:10px;letter-spacing:.22em;color:var(--gold);text-transform:uppercase}
html[dir="rtl"] .brand-name b{letter-spacing:0;font-family:var(--font-ar);font-weight:800}
html[dir="rtl"] .brand-name span{letter-spacing:0}
.main-nav{display:none;align-items:center;gap:26px}
@media(min-width:1024px){.main-nav{display:flex}}
.main-nav a{
  font-size:14px;color:var(--text-dim);font-weight:500;
  padding:10px 2px;transition:color .2s var(--ease-out);
}
.main-nav a:hover{color:var(--text)}
.header-actions{display:flex;align-items:center;gap:10px}
.lang-toggle{
  display:flex;align-items:center;
  border:1px solid var(--border-gold);border-radius:2px;
  overflow:hidden;background:var(--surface);
}
.lang-toggle button{
  appearance:none;border:0;background:transparent;color:var(--text-dim);
  font-family:inherit;font-size:13px;font-weight:600;
  padding:10px 16px;min-height:44px;cursor:pointer;transition:all .2s var(--ease-out);
}
.lang-toggle button[aria-pressed="true"]{background:var(--navy);color:#fff}
.menu-btn{
  appearance:none;border:1px solid var(--border);border-radius:2px;
  background:var(--surface);color:var(--text);
  width:44px;height:44px;display:grid;place-items:center;cursor:pointer;
}
@media(min-width:1024px){.menu-btn{display:none}}
.mobile-nav{
  display:none;flex-direction:column;gap:2px;
  padding:10px 20px 18px;border-top:1px solid var(--border);
  background:#fff;
}
.mobile-nav.open{display:flex}
.mobile-nav a{padding:13px 6px;font-size:15px;color:var(--text-dim);border-bottom:1px solid var(--border)}
.mobile-nav a:last-child{border-bottom:0}
@media(min-width:1024px){.mobile-nav{display:none!important}}

/* ── Buttons ────────────────────────── */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  min-height:50px;padding:13px 28px;border-radius:2px;
  font-family:var(--font-en);font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;
  transition:transform .18s var(--ease-out),box-shadow .18s var(--ease-out),background .18s var(--ease-out),opacity .18s var(--ease-out);
  border:0;
}
html[dir="rtl"] .btn{font-family:var(--font-ar);font-weight:700;letter-spacing:0;text-transform:none}
.btn:active{transform:scale(.98)}
.btn[disabled]{opacity:.55;cursor:not-allowed}
.btn-gold{background:var(--navy);color:#fff}
.btn-gold:hover{background:var(--navy-2);box-shadow:inset 0 -2px 0 var(--gold-brand)}
.btn-ghost{background:transparent;color:var(--text);box-shadow:inset 0 0 0 1px var(--navy)}
.btn-ghost:hover{background:var(--navy);color:#fff}
.btn-small{min-height:44px;padding:10px 18px;font-size:11px;border-radius:2px}

/* ── Hero ───────────────────────────── */
.hero{position:relative;padding:clamp(80px,12vw,150px) 0 clamp(64px,8vw,104px);overflow:hidden}
.hero-bg{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center 30%;
}
.hero-veil{
  position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(16,24,38,.82) 0%,rgba(16,24,38,.9) 55%,var(--bg) 100%);
}
.hero-inner{position:relative;text-align:center;max-width:820px;margin-inline:auto}
.kicker{
  display:inline-flex;align-items:center;gap:10px;
  font-size:12px;letter-spacing:.2em;text-transform:uppercase;
  color:#E9DFCF;font-weight:600;
  border:1px solid rgba(233,223,207,.5);border-radius:2px;
  padding:9px 18px;margin-bottom:28px;background:rgba(16,24,38,.5);
}
.kicker::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--gold)}
html[dir="rtl"] .kicker{letter-spacing:0}
h1{
  font-family:var(--font-display);
  font-size:clamp(2.5rem,7vw,4.4rem);
  font-weight:500;line-height:1.1;letter-spacing:.005em;margin-bottom:22px;
}
.hero h1{color:#fff}
html[dir="rtl"] h1{font-family:var(--font-ar);font-weight:700;letter-spacing:0;line-height:1.3}
.gold-text{color:var(--gold)}
.hero .gold-text{color:#E9DFCF}
.hero-sub{font-size:clamp(1rem,2.2vw,1.2rem);color:#E6E2D8;max-width:640px;margin:0 auto 38px}
.hero-ctas{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin-bottom:clamp(44px,6vw,64px)}

/* hero entrance */
@keyframes rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
html.js .hero-inner>*{animation:rise .7s var(--ease-out) both}
html.js .hero-inner>:nth-child(2){animation-delay:.08s}
html.js .hero-inner>:nth-child(3){animation-delay:.16s}
html.js .hero-inner>:nth-child(4){animation-delay:.24s}
html.js .hero-inner>:nth-child(5){animation-delay:.34s}

.trust-strip{
  display:grid;grid-template-columns:1fr;
  border-block:1px solid var(--border-gold);
}
@media(min-width:640px){.trust-strip{grid-template-columns:repeat(3,1fr)}}
.trust-item{padding:22px 16px;text-align:center}
@media(min-width:640px){
  .trust-item:not(:first-child){border-inline-start:1px solid var(--border)}
}
.trust-item b{display:block;font-family:var(--font-display);font-weight:600;font-size:20px;color:var(--text);margin-bottom:4px}
html[dir="rtl"] .trust-item b{font-family:var(--font-ar);font-weight:700}
.trust-item span{font-size:13px;color:var(--text-dim)}

/* ── Sections ───────────────────────── */
section{padding:clamp(64px,9vw,104px) 0}
.section-head{max-width:640px;margin:0 auto 52px;text-align:center}
.section-head.align-start{margin-inline-start:0;text-align:start}
.section-head::before{
  content:"";display:block;width:44px;height:1px;
  background:var(--gold);margin:0 auto 22px;
}
.section-head.align-start::before{margin-inline-start:0}
h2{
  font-family:var(--font-display);
  font-size:clamp(1.8rem,4.2vw,2.6rem);
  font-weight:500;line-height:1.18;letter-spacing:.005em;margin-bottom:16px;
}
html[dir="rtl"] h2{font-family:var(--font-ar);font-weight:700;letter-spacing:0;line-height:1.4}
h3{font-weight:600}
html[dir="rtl"] h3{font-weight:700}
.section-head p{color:var(--text-dim);font-size:16px}

/* ── About ──────────────────────────── */
.about-grid{display:grid;gap:40px;align-items:center}
@media(min-width:900px){.about-grid{grid-template-columns:1.05fr .95fr;gap:64px}}
.about-copy h2{margin-bottom:20px}
.about-copy p{color:var(--text-dim);margin-bottom:16px;max-width:62ch}
.about-copy::before{
  content:"";display:block;width:44px;height:1px;
  background:var(--gold);margin-bottom:22px;
}
.about-visual{
  position:relative;border-radius:4px;overflow:hidden;
  min-height:340px;
}
.about-visual img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.about-visual::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 40%,rgba(16,24,38,.82) 100%);
}
.about-visual figcaption{
  position:absolute;bottom:20px;inset-inline:22px;z-index:1;
  font-size:12.5px;color:#D8D4C9;letter-spacing:.14em;text-transform:uppercase;
}
html[dir="rtl"] .about-visual figcaption{letter-spacing:0}

/* ── Sectors ────────────────────────── */
.sector-features{display:grid;gap:16px;grid-template-columns:1fr;margin-bottom:16px}
@media(min-width:768px){.sector-features{grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}}
.sector-tile{
  position:relative;border-radius:4px;overflow:hidden;
  min-height:280px;display:flex;align-items:flex-end;
}
.sector-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease-out)}
.sector-tile:hover img{transform:scale(1.04)}
.sector-tile::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(16,24,38,.05) 30%,rgba(16,24,38,.9) 100%);
}
.sector-tile figcaption{position:relative;z-index:1;padding:26px 26px 24px}
.sector-tile h3{font-family:var(--font-display);font-weight:600;font-size:1.5rem;margin-bottom:6px;color:#fff}
html[dir="rtl"] .sector-tile h3{font-family:var(--font-ar);font-weight:700}
.sector-tile p{font-size:14px;color:#CFCBC0;max-width:40ch}

.sector-list{list-style:none;border-top:1px solid var(--border)}
.sector-list li{
  display:flex;align-items:center;gap:18px;
  padding:20px 6px;border-bottom:1px solid var(--border);
  transition:background .2s var(--ease-out);
}
.sector-list li:hover{background:rgba(168,132,79,.06)}
.sector-ic{
  width:44px;height:44px;flex:none;border-radius:50%;
  background:#fff;border:1px solid var(--border-gold);
  display:grid;place-items:center;color:var(--gold-brand);
}
.sector-ic svg{width:22px;height:22px}
.sector-list h3{font-size:16px;margin-bottom:2px}
.sector-list p{font-size:13.5px;color:var(--text-dim)}

/* ── Steps ──────────────────────────── */
.steps{display:grid;gap:16px;grid-template-columns:1fr}
@media(min-width:768px){.steps{grid-template-columns:repeat(4,1fr)}}
.step{
  position:relative;background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius);padding:28px 22px;
}
.step-num{
  display:inline-grid;place-items:center;width:40px;height:40px;border-radius:50%;
  background:var(--navy);color:#fff;font-weight:600;font-size:17px;
  margin-bottom:16px;font-family:var(--font-display);
}
.step h3{font-size:16px;margin-bottom:8px}
.step p{font-size:13.5px;color:var(--text-dim)}

/* ── Learn / education ─────────────── */
.learn-section{background:linear-gradient(180deg,rgba(168,132,79,.07) 0%,transparent 100%)}
.learn-list{max-width:800px;margin-inline:auto;list-style:none;border-top:1px solid var(--border-gold)}
.learn-list li{
  display:flex;gap:20px;align-items:flex-start;
  padding:28px 4px;border-bottom:1px solid var(--border);
}
.learn-ic{
  width:48px;height:48px;flex:none;border-radius:50%;
  background:#fff;border:1px solid var(--border-gold);
  display:grid;place-items:center;color:var(--gold-brand);
}
.learn-ic svg{width:24px;height:24px}
.learn-list h3{font-size:17.5px;margin-bottom:6px}
.learn-list p{font-size:14.5px;color:var(--text-dim);max-width:65ch}
.disclaimer-box{
  max-width:800px;margin:36px auto 0;
  border:1px solid #E8B4AD;border-radius:var(--radius);
  background:#FDF0EE;padding:26px 24px;
}
.disclaimer-box h3{
  display:flex;align-items:center;gap:10px;font-size:15px;
  color:#8F2F27;margin-bottom:10px;letter-spacing:.04em;
}
html[dir="rtl"] .disclaimer-box h3{letter-spacing:0}
.disclaimer-box p{font-size:13.5px;color:var(--text-dim)}

/* ── Why ────────────────────────────── */
.why-strip{
  display:grid;grid-template-columns:1fr;
  border-block:1px solid var(--border-gold);
}
@media(min-width:640px){.why-strip{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.why-strip{grid-template-columns:repeat(4,1fr)}}
.why-item{padding:30px 24px}
@media(min-width:640px){
  .why-item:nth-child(even){border-inline-start:1px solid var(--border)}
}
@media(min-width:1024px){
  .why-item:not(:first-child){border-inline-start:1px solid var(--border)}
}
.why-item .learn-ic{margin-bottom:16px;width:44px;height:44px}
.why-item h3{font-size:16px;margin-bottom:6px}
.why-item p{font-size:14px;color:var(--text-dim)}

/* ── FAQ ────────────────────────────── */
.faq-list{max-width:760px;margin-inline:auto;display:flex;flex-direction:column;gap:12px}
.faq-item{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
  overflow:hidden;transition:border-color .2s var(--ease-out);
}
.faq-item[open]{border-color:var(--border-gold)}
.faq-item summary{
  list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;
  gap:16px;padding:20px 24px;font-size:15.5px;font-weight:600;min-height:44px;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{
  content:"+";flex:none;width:28px;height:28px;border-radius:50%;
  border:1px solid var(--border-gold);display:grid;place-items:center;
  color:var(--gold);font-size:16px;font-weight:400;
}
.faq-item[open] summary::after{content:"−"}
.faq-item .faq-body{padding:0 24px 22px;font-size:14.5px;color:var(--text-dim);max-width:68ch}

/* ── Contact ────────────────────────── */
.contact-grid{display:grid;gap:32px}
@media(min-width:900px){.contact-grid{grid-template-columns:1fr 1.2fr;gap:56px}}
.contact-channels{display:flex;flex-direction:column;gap:14px}
.channel{
  display:flex;align-items:center;gap:16px;background:var(--surface);
  border:1px solid var(--border);border-radius:var(--radius);padding:18px 20px;
}
.channel .learn-ic{width:44px;height:44px}
.channel b{display:block;font-size:14px;font-weight:600}
.channel span{font-size:13.5px;color:var(--text-dim);direction:ltr;unicode-bidi:embed}
.contact-form{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
  padding:30px 26px;display:flex;flex-direction:column;gap:18px;
}
.field{display:flex;flex-direction:column;gap:7px}
.field label{font-size:13.5px;font-weight:600;color:var(--text)}
.field input,.field select,.field textarea{
  appearance:none;background:#fff;border:1px solid #CFCFC8;
  border-radius:3px;color:var(--text);font-family:inherit;font-size:15px;
  padding:13px 15px;min-height:48px;transition:border-color .2s var(--ease-out);
  width:100%;
}
.field textarea{min-height:120px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;border-color:var(--gold-brand);box-shadow:0 0 0 3px rgba(168,132,79,.18);
}
.field select{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A6A35' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 16px center;
}
html[dir="rtl"] .field select{background-position:left 16px center}
.form-note{font-size:12.5px;color:var(--text-dim)}

/* ── Auth pages ─────────────────────── */
.auth-main{
  position:relative;min-height:calc(100dvh - 69px);
  display:flex;flex-direction:column;align-items:center;
  padding:56px 20px 72px;overflow:hidden;
}
.auth-main::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(ellipse 60% 45% at 50% -5%,rgba(168,132,79,.13),transparent 60%),
    radial-gradient(ellipse 35% 30% at 12% 70%,rgba(168,132,79,.06),transparent 65%);
}
.auth-brand{position:relative;display:flex;flex-direction:column;align-items:center;gap:14px;margin-bottom:26px;text-align:center}
.auth-brand .emblem{
  width:72px;height:72px;border-radius:50%;
  background:#fff;border:1px solid var(--border-gold);
  display:grid;place-items:center;color:var(--gold-brand);box-shadow:var(--shadow);
}
.auth-headline{
  position:relative;font-family:var(--font-display);font-weight:500;
  font-size:clamp(1.8rem,4.5vw,2.5rem);text-align:center;margin-bottom:30px;
}
html[dir="rtl"] .auth-headline{font-family:var(--font-ar);font-weight:700}
.auth-card{
  position:relative;width:100%;max-width:440px;
  background:#fff;box-shadow:var(--shadow);
  border:1px solid var(--border);border-radius:4px;border-top:3px solid var(--gold-brand);
  padding:34px 28px;
  display:flex;flex-direction:column;gap:18px;
}
.auth-card-title{text-align:center;margin-bottom:2px}
.auth-card-title h1{font-size:1.7rem;margin-bottom:6px;letter-spacing:.005em}
.auth-card-title p{font-size:13.5px;color:var(--text-dim)}
.pw-wrap{position:relative}
.pw-wrap input{padding-inline-end:52px}
.pw-toggle{
  position:absolute;top:0;bottom:0;inset-inline-end:4px;
  width:44px;display:grid;place-items:center;
  appearance:none;border:0;background:transparent;color:var(--text-dim);cursor:pointer;
}
.pw-toggle:hover{color:var(--text)}
.auth-alt{text-align:center;font-size:14px;color:var(--text-dim)}
.auth-alt a{color:var(--gold);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.auth-note{
  font-size:12.5px;color:var(--text-dim);text-align:center;
  border-top:1px solid var(--border);padding-top:14px;
}
.msg{border-radius:3px;padding:13px 16px;font-size:14px;display:none}
.msg.show{display:block}
.msg-error{background:#FDF0EE;border:1px solid #E8B4AD;color:#8F2F27}
.msg-success{background:#EEF7F2;border:1px solid #B5D9C6;color:#1C6347}
.auth-features{
  position:relative;display:grid;grid-template-columns:1fr;
  width:100%;max-width:900px;margin-top:48px;
  border-block:1px solid var(--border-gold);
}
@media(min-width:768px){.auth-features{grid-template-columns:repeat(3,1fr)}}
.auth-feature{display:flex;align-items:center;gap:14px;padding:20px 22px}
@media(min-width:768px){
  .auth-feature:not(:first-child){border-inline-start:1px solid var(--border)}
}
.auth-feature .learn-ic{width:44px;height:44px}
.auth-feature b{display:block;font-size:14px;font-weight:600}
.auth-feature span{font-size:12.5px;color:var(--text-dim)}

/* ── Account dashboard ──────────────── */
.dash-main{padding:48px 0 80px;min-height:calc(100dvh - 69px)}
.dash-head{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:18px;margin-bottom:12px;
}
.dash-head h1{font-size:clamp(1.6rem,4vw,2.2rem)}
.dash-sub{color:var(--text-dim);font-size:14.5px;margin-bottom:34px;max-width:70ch}
.chip{
  display:inline-flex;align-items:center;gap:7px;
  font-size:12px;font-weight:600;letter-spacing:.06em;
  color:#6B5329;background:#FBF6EA;
  border:1px solid var(--gold-soft);border-radius:2px;padding:6px 14px;
}
html[dir="rtl"] .chip{letter-spacing:0}
.dash-grid{display:grid;gap:16px;grid-template-columns:1fr;margin-bottom:44px}
@media(min-width:768px){.dash-grid{grid-template-columns:repeat(3,1fr)}}
.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:22px 24px}
.stat-card b{display:block;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);margin-bottom:8px;font-weight:600}
html[dir="rtl"] .stat-card b{letter-spacing:0}
.stat-card span{font-size:16px;font-weight:600;word-break:break-word}
.insight-list{display:flex;flex-direction:column;gap:14px}
.insight-item{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
  padding:24px;transition:border-color .2s var(--ease-out);
}
.insight-item:hover{border-color:var(--gold-brand)}
.insight-meta{display:flex;align-items:center;gap:12px;margin-bottom:10px;flex-wrap:wrap}
.insight-date{font-size:12.5px;color:var(--text-dim)}
.insight-item h3{font-size:16.5px;margin-bottom:6px}
.insight-item p{font-size:14px;color:var(--text-dim);max-width:75ch}
.loading-note{color:var(--text-dim);font-size:14px;padding:26px 0;text-align:center}

/* ── Footer ─────────────────────────── */
footer{border-top:1px solid var(--border);padding:56px 0 40px;background:#fff}
.footer-grid{display:grid;gap:36px;margin-bottom:44px}
@media(min-width:768px){.footer-grid{grid-template-columns:1.4fr 1fr 1fr}}
.footer-brand p{font-size:13.5px;color:var(--text-dim);margin-top:14px;max-width:340px}
.footer-col h4{
  font-size:12px;letter-spacing:.2em;text-transform:uppercase;
  color:var(--gold);font-weight:600;margin-bottom:16px;
}
html[dir="rtl"] .footer-col h4{letter-spacing:0}
.footer-col ul{list-style:none;display:flex;flex-direction:column;gap:11px}
.footer-col a{font-size:14px;color:var(--text-dim);transition:color .2s var(--ease-out)}
.footer-col a:hover{color:var(--gold)}
.footer-legal{
  border-top:1px solid var(--border);padding-top:26px;
  font-size:12.5px;color:var(--text-dim);line-height:1.7;
}
.footer-legal p{max-width:90ch}
.footer-legal p+p{margin-top:10px}

/* ── Reveal (JS-gated: content is visible without JS) ── */
html.js .reveal{opacity:0;transform:translateY(18px);transition:opacity .55s var(--ease-out),transform .55s var(--ease-out)}
html.js .reveal.visible{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  html.js .reveal{opacity:1;transform:none}
}

/* ── Passwordless auth, forms & protection UI ── */
.auth-step{display:flex;flex-direction:column;gap:18px}
.field-hint{font-size:12.5px;color:var(--text-dim);line-height:1.5}
.field input[aria-invalid="true"],.field textarea[aria-invalid="true"]{border-color:var(--danger)}
.honeypot{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
html[dir="rtl"] .honeypot{left:auto;right:-10000px}
.check{display:flex;gap:12px;align-items:flex-start;font-size:13.5px;color:var(--text-dim);cursor:pointer;line-height:1.5}
.check input{appearance:none;width:22px;height:22px;flex:none;margin-top:1px;border:1px solid #BDB9AC;border-radius:3px;background:#fff;display:grid;place-items:center;cursor:pointer}
.check input:checked{background:var(--gold);border-color:var(--gold)}
.check input:checked::after{content:"";width:6px;height:11px;border:solid var(--gold-ink);border-width:0 2px 2px 0;transform:rotate(45deg);margin-top:-2px}
.check input[aria-invalid="true"]{border-color:var(--danger)}
.check-links{display:block;margin-top:4px}
.check-links a{color:var(--gold);text-decoration:underline;text-underline-offset:3px}
.otp-input{font-family:var(--font-en);font-size:28px;letter-spacing:.42em;text-align:center;font-weight:600;padding-inline-start:calc(15px + .42em)}
.code-dest{font-size:14px;color:var(--gold);font-weight:600;margin-top:8px;direction:ltr;unicode-bidi:embed;word-break:break-all}
.auth-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 22px}
.btn-link{appearance:none;background:none;border:0;color:var(--gold);font-family:inherit;font-size:14px;font-weight:600;cursor:pointer;min-height:44px;padding:8px 6px;text-decoration:underline;text-underline-offset:3px}
.btn-link[disabled]{color:var(--text-dim);text-decoration:none;cursor:default}
.btn-link:hover:not([disabled]){color:var(--text)}
.msg-info{background:#FBF6EA;border:1px solid var(--gold-soft);color:#6B5329}
#captcha:empty{display:none}
.channel-link{font-size:13.5px;color:var(--gold);direction:ltr;unicode-bidi:embed;text-decoration:underline;text-underline-offset:3px;min-height:24px;display:inline-block}
.channel-link[aria-disabled="true"]{color:var(--text-dim);text-decoration:none;cursor:default}
.status-chip{display:inline-flex;align-items:center;font-size:11.5px;font-weight:600;border-radius:999px;padding:4px 10px;letter-spacing:.04em}
html[dir="rtl"] .status-chip{letter-spacing:0}
.status-chip.ok{color:#1C6347;background:#EEF7F2;border:1px solid #B5D9C6}
.status-chip.warn{color:#6B5329;background:#FBF6EA;border:1px solid var(--gold-soft)}
.stat-actions{display:flex;align-items:center;gap:10px;margin-top:8px;flex-wrap:wrap}
.stat-actions .btn-link{min-height:32px;padding:4px 2px;font-size:13px}
@media(min-width:768px){.dash-grid-4{grid-template-columns:repeat(4,1fr)}}
.idle-note{font-size:12.5px;color:var(--text-dim);margin:-24px 0 36px}

/* ── Legal pages ── */
.legal-main{padding:56px 0 96px}
.legal-main .container{max-width:820px}
.legal-head{margin-bottom:36px}
.legal-head h1{font-family:var(--font-display);font-weight:400;font-size:clamp(1.9rem,4.5vw,2.6rem);margin-bottom:12px}
html[dir="rtl"] .legal-head h1{font-family:var(--font-ar);font-weight:700}
.legal-meta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:13px;color:var(--text-dim)}
.legal-body section{padding:22px 0;border-top:1px solid var(--border)}
.legal-body h2{font-family:var(--font-en);font-size:1.1rem;font-weight:600;letter-spacing:0;margin-bottom:8px}
html[dir="rtl"] .legal-body h2{font-family:var(--font-ar);font-weight:700}
.legal-body p{color:var(--text-dim);font-size:15px;max-width:72ch}
