/* ==========================================================================
   PinZhi Verify — global stylesheet
   Self-contained, no external fonts or scripts. LTR + RTL. Mobile-first.
   ========================================================================== */

:root {
  --ink:        #0B1F33;
  --ink-2:      #16324E;
  --blue:       #1C5D99;
  --blue-dark:  #164B7C;
  --blue-soft:  #EDF3F9;
  --gold:       #B48B48;
  --text:       #2B3A48;
  --muted:      #617182;
  --line:       #E1E8EF;
  --line-2:     #CFD9E4;
  --bg:         #FFFFFF;
  --bg-soft:    #F6F8FA;
  --bg-deep:    #0A1E32;
  --white:      #FFFFFF;
  --shadow:     0 1px 2px rgba(11,31,51,.04), 0 12px 32px rgba(11,31,51,.06);
  --shadow-lg:  0 24px 64px rgba(11,31,51,.12);
  --radius:     4px;
  --maxw:       1240px;
  --font: "Inter", "Helvetica Neue", "Segoe UI", Roboto, "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--blue); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--blue-dark); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

h1, h2, h3, h4 { color: var(--ink); font-weight: 600; line-height: 1.18; letter-spacing: -.022em; margin: 0; }
h1 { font-size: clamp(2.35rem, 5.2vw, 4.15rem); letter-spacing: -.038em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.65rem); letter-spacing: -.03em; }
h3 { font-size: 1.16rem; letter-spacing: -.015em; line-height: 1.35; }
h4 { font-size: 1rem; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 600; }

/* ---------- Layout helpers ---------- */
.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(100% - 64px, var(--maxw)); } }
.section { padding-block: clamp(64px, 8vw, 112px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section--line { border-top: 1px solid var(--line); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); flex: none; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 68ch; line-height: 1.68; }
.section-head { max-width: 780px; margin-bottom: clamp(38px, 5vw, 60px); }
.section-head h2 { margin-bottom: 18px; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.center .eyebrow::after { content: ""; width: 26px; height: 1px; background: var(--gold); flex: none; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; min-height: 50px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: .92rem; font-weight: 600; letter-spacing: .005em;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #EEF3F8; color: var(--ink); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.42); }
.btn--outline-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn .arw { font-size: 1.05em; line-height: 1; }
[dir="rtl"] .btn .arw { transform: scaleX(-1); }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Skip link ---------- */
.skip {
  position: absolute; inset-inline-start: 16px; top: -80px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--radius);
  transition: top .2s var(--ease);
}
.skip:focus { top: 12px; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 1.02rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.brand-sub { font-size: .62rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 9px 11px; font-size: .85rem; font-weight: 500; color: var(--text);
  border-radius: var(--radius);
}
.main-nav a:hover { color: var(--blue); background: var(--blue-soft); }
.main-nav a[aria-current="page"] { color: var(--blue); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }

/* Language switcher */
.langswitch { position: relative; flex: none; }
.langswitch > button {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 8px 12px; min-height: 40px; color: var(--ink);
  font-size: .82rem; font-weight: 600; letter-spacing: .02em;
}
.langswitch > button:hover { border-color: var(--blue); }
.langswitch .globe { width: 15px; height: 15px; flex: none; }
.langswitch .chev { width: 9px; height: 9px; opacity: .6; }
.langswitch ul {
  position: absolute; inset-inline-end: 0; top: calc(100% + 10px);
  min-width: 190px; margin: 0; padding: 8px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.langswitch.is-open ul { opacity: 1; visibility: visible; transform: translateY(0); }
.langswitch ul a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 3px; font-size: .88rem; color: var(--text); }
.langswitch ul a:hover { background: var(--blue-soft); color: var(--blue); }
.langswitch ul a[aria-current="true"] { color: var(--blue); font-weight: 700; }
.langswitch ul a .code { font-size: .7rem; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.langswitch ul a[aria-current="true"] .code { color: var(--blue); }

/* Mobile nav toggle */
.navtoggle {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 1px solid var(--line-2); background: #fff; border-radius: var(--radius);
}
.navtoggle span, .navtoggle span::before, .navtoggle span::after {
  display: block; width: 18px; height: 1.5px; background: var(--ink); content: ""; position: relative;
}
.navtoggle span::before { position: absolute; top: -6px; }
.navtoggle span::after { position: absolute; top: 6px; }

/* Long language labels (DE / FR / AR) need tighter spacing. Below 1200px
   the menu collapses to a hamburger instead of overflowing the header. */
@media (max-width: 1400px) {
  .brand-sub { display: none; }
  .main-nav a { padding: 8px 9px; font-size: .82rem; }
}
@media (max-width: 1200px) {
  .navtoggle { display: inline-flex; }
  .main-nav {
    position: absolute; inset-inline: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); display: none; padding: 12px 20px 22px;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { padding: 12px 8px; border-bottom: 1px solid var(--line); font-size: .95rem; }
  .main-nav a:hover { background: transparent; }
  .header-inner { min-height: 66px; }
}
@media (max-width: 480px) {
  .brand-name { font-size: .94rem; }
  .langswitch > button { padding: 8px 9px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #FBFCFE 0%, #F4F8FC 100%);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(28,93,153,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(28,93,153,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%);
  mask-image: linear-gradient(90deg, transparent, #000 55%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(30px, 6vw, 84px); align-items: center; padding-block: clamp(64px, 8vw, 118px); }
.hero h1 { margin-bottom: 26px; max-width: 17ch; }
.hero .lede { margin-bottom: 34px; max-width: 58ch; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border: 1px solid var(--line-2); border-radius: 100px;
  background: rgba(255,255,255,.7); font-size: .78rem; font-weight: 600; color: var(--ink-2);
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; display: block; }
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; padding-block: 62px 72px; }
  .hero h1 { max-width: 22ch; }
  .hero-art { max-width: 460px; order: 2; }
}

/* ---------- Trust bar ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 34px 26px; border-inline-start: 1px solid var(--line); }
.trust-item:first-child { border-inline-start: 0; }
.trust-num { display: block; font-size: clamp(1.6rem, 2.5vw, 2.15rem); font-weight: 700; letter-spacing: -.04em; color: var(--ink); line-height: 1.1; }
.trust-label { display: block; margin-top: 8px; font-size: .82rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 800px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } .trust-item:nth-child(3) { border-inline-start: 0; border-top: 1px solid var(--line); } .trust-item:nth-child(4) { border-top: 1px solid var(--line); } }
@media (max-width: 460px) { .trust-grid { grid-template-columns: 1fr; } .trust-item { border-inline-start: 0; border-top: 1px solid var(--line); padding: 22px 4px; } .trust-item:first-child { border-top: 0; } }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: border-color .2s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-index { font-size: .72rem; font-weight: 700; letter-spacing: .14em; color: var(--gold); margin-bottom: 22px; display: block; }
.card-icon { width: 38px; height: 38px; margin-bottom: 20px; color: var(--blue); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .93rem; line-height: 1.68; }
.card-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  font-size: .87rem; font-weight: 600; color: var(--blue);
}
.card-link .arw { transition: transform .2s var(--ease); }
.card-link:hover .arw { transform: translateX(4px); }
[dir="rtl"] .card-link .arw { transform: scaleX(-1); }
[dir="rtl"] .card-link:hover .arw { transform: scaleX(-1) translateX(4px); }

.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; padding: 0; list-style: none; }
.tag {
  display: inline-block; padding: 4px 9px; border: 1px solid var(--line); border-radius: 3px;
  background: var(--bg-soft); font-size: .7rem; font-weight: 600; letter-spacing: .01em; color: var(--ink-2);
  direction: ltr;
}
.bullet-list { list-style: none; margin: 18px 0 0; padding: 0; }
.bullet-list li { position: relative; padding-inline-start: 20px; margin-bottom: 10px; font-size: .88rem; color: var(--muted); line-height: 1.6; }
.bullet-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .62em;
  width: 8px; height: 1px; background: var(--gold);
}

/* Service cards on home */
.svc-card { display: flex; flex-direction: column; }
.svc-card .card-link { margin-top: auto; padding-top: 22px; }
.svc-num { font-size: .72rem; font-weight: 700; letter-spacing: .14em; color: var(--gold); }
.svc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }

/* Why grid */
.why-grid { border-top: 1px solid var(--line); }
.why-item { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.why-n { font-size: .82rem; font-weight: 700; color: var(--gold); letter-spacing: .1em; padding-top: 4px; }
.why-item h3 { margin-bottom: 8px; }
.why-item p { color: var(--muted); font-size: .93rem; max-width: 60ch; }

/* ---------- Process timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.timeline::before {
  content: ""; position: absolute; inset-inline: 10%; top: 19px; height: 1px; background: var(--line-2);
}
.tl-step { position: relative; padding-inline-end: 22px; }
.tl-dot {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1px solid var(--line-2);
  font-size: .8rem; font-weight: 700; color: var(--blue); margin-bottom: 20px;
}
.tl-step h3 { font-size: .98rem; margin-bottom: 8px; }
.tl-step p { font-size: .83rem; color: var(--muted); line-height: 1.6; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { inset-inline-start: 18px; inset-inline-end: auto; top: 14px; bottom: 14px; height: auto; width: 1px; }
  .tl-step { display: grid; grid-template-columns: 38px 1fr; gap: 0 20px; padding: 0 0 26px; }
  .tl-dot { grid-row: 1 / span 2; margin: 0; }
  .tl-step h3 { padding-top: 6px; }
}

/* ---------- Industry grid ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ind-item { background: #fff; padding: 24px 22px; transition: background .2s var(--ease); }
.ind-item:hover { background: var(--blue-soft); }
.ind-item h3 { font-size: .92rem; margin-bottom: 14px; min-height: 2.4em; }
.ind-item .tag-list { margin-top: 0; }
.ind-item .tag { font-size: .66rem; }
@media (max-width: 1000px) { .ind-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .ind-grid { grid-template-columns: 1fr; } .ind-item h3 { min-height: 0; } }

/* ---------- Knowledge cards ---------- */
.know-card { display: flex; flex-direction: column; min-height: 260px; }
.know-card .card-index { margin-bottom: auto; }
.know-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.know-card .card-link { margin-top: auto; padding-top: 20px; }

/* ---------- Dark bands ---------- */
.band-dark { position: relative; overflow: hidden; background: var(--bg-deep); color: rgba(255,255,255,.78); }
.band-dark::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 82% 12%, rgba(60,130,190,.22), transparent 45%),
              linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: auto, 64px 100%;
  pointer-events: none;
}
.band-dark .container { position: relative; }
.band-dark h2 { color: #fff; }
.band-dark .eyebrow { color: #8FC0E8; }
.band-dark p { color: rgba(255,255,255,.7); }
.band-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.band-inner .lede { color: rgba(255,255,255,.72); }
@media (max-width: 800px) { .band-inner { grid-template-columns: 1fr; } }

.cta-band { text-align: center; }
.cta-band h2 { max-width: 22ch; margin-inline: auto; margin-bottom: 18px; }
.cta-band .lede { margin-inline: auto; margin-bottom: 30px; }
.cta-band .btn-group { justify-content: center; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(180deg, #FAFCFE, #F3F7FB); border-bottom: 1px solid var(--line); }
.page-hero-inner { padding-block: clamp(52px, 6vw, 88px); max-width: 900px; }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); margin-bottom: 20px; }
.page-hero .lede { font-size: clamp(1.02rem, 1.4vw, 1.15rem); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0 0 26px; padding: 0; font-size: .78rem; color: var(--muted); }
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--line-2); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
[dir="rtl"] .breadcrumb li + li::before { content: "\\"; }

/* ---------- Content blocks ---------- */
.prose { max-width: 76ch; }
.prose p { color: var(--text); font-size: 1.02rem; line-height: 1.82; }
.prose h2 { font-size: clamp(1.42rem, 2.3vw, 1.9rem); margin-top: 0; margin-bottom: 18px; }
.block-head { margin-bottom: 26px; }
.block-head h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); margin-bottom: 12px; }
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.split--wide { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
.split--article { grid-template-columns: minmax(0, 1fr) 230px; }
@media (max-width: 860px) { .split, .split--wide, .split--article { grid-template-columns: 1fr; } }
.sticky-aside { position: sticky; top: 100px; }
@media (max-width: 860px) { .sticky-aside { position: static; } }
.aside-note { border-inline-start: 2px solid var(--gold); padding-inline-start: 20px; color: var(--muted); font-size: .9rem; }

/* Numbered "when" cards */
.when-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.when-item { background: #fff; padding: 26px 24px; }
.when-item .n { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; color: var(--gold); margin-bottom: 14px; }
.when-item p { font-size: .9rem; color: var(--text); margin: 0; }
@media (max-width: 760px) { .when-grid { grid-template-columns: 1fr; } }

/* Scope cards */
.scope-card h3 { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.scope-card h3 .sn { font-size: .74rem; color: var(--gold); font-weight: 700; flex: none; }
.scope-card p { font-size: .9rem; }
.scope-card .tag-list { margin-top: auto; padding-top: 20px; }

/* Standards table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.data { width: 100%; border-collapse: collapse; min-width: 520px; font-size: .88rem; }
table.data th, table.data td { text-align: start; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data thead th { background: var(--bg-soft); color: var(--ink); font-weight: 700; font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: #FAFCFE; }
table.data td:first-child { font-weight: 600; color: var(--ink); }
table.data td.code { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.table-note { margin-top: 12px; font-size: .78rem; color: var(--muted); }

/* Deliverables / red flags */
.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding-inline-start: 30px; padding-block: 14px; border-bottom: 1px solid var(--line); font-size: .92rem; color: var(--text); }
.check-list li::before {
  content: ""; position: absolute; inset-inline-start: 2px; top: 22px;
  width: 12px; height: 7px; border-inline-start: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}
@media (max-width: 700px) { .check-list { grid-template-columns: 1fr; } }
.flagbox { background: #FBF7F1; border: 1px solid #EBDCC4; border-inline-start: 3px solid var(--gold); padding: 28px 30px; border-radius: var(--radius); }
.flagbox h3 { margin-bottom: 16px; }
.flagbox ul { list-style: none; margin: 0; padding: 0; }
.flagbox li { position: relative; padding-inline-start: 22px; margin-bottom: 12px; font-size: .91rem; color: #5A4C36; }
.flagbox li:last-child { margin-bottom: 0; }
.flagbox li::before { content: "!"; position: absolute; inset-inline-start: 0; top: 0; font-weight: 700; color: var(--gold); }

/* FAQ */
.faq-list { max-width: 900px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font-size: 1.02rem; font-weight: 600; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; font-weight: 400; color: var(--blue); flex: none; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body { padding: 0 4px 24px; max-width: 76ch; color: var(--muted); font-size: .94rem; line-height: 1.78; }

/* Related cards */
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 700px) { .related-grid { grid-template-columns: 1fr; } }

/* ---------- Article ---------- */
.article-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: .78rem; color: var(--muted); letter-spacing: .04em; margin-bottom: 30px; }
.article-meta .sep { width: 22px; height: 1px; background: var(--line-2); }
.article-body { max-width: 780px; }
.article-body section { padding-block: 34px; border-top: 1px solid var(--line); }
.article-body section:first-child { border-top: 0; padding-top: 0; }
.article-body h2 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); margin-bottom: 18px; }
.article-body p { font-size: 1rem; line-height: 1.85; color: var(--text); }
.article-body .table-wrap { margin-top: 26px; }
.takeaway { background: var(--blue-soft); border: 1px solid #D8E6F2; border-radius: var(--radius); padding: 30px 32px; margin-top: 20px; }
.takeaway h3 { margin-bottom: 16px; }
.takeaway ul { list-style: none; margin: 0; padding: 0; }
.takeaway li { position: relative; padding-inline-start: 24px; margin-bottom: 12px; font-size: .92rem; color: var(--ink-2); }
.takeaway li:last-child { margin-bottom: 0; }
.takeaway li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .6em; width: 8px; height: 8px; border: 1.5px solid var(--blue); border-radius: 50%; }
.article-rail { font-size: .82rem; }
.article-rail h3 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.article-rail ol { list-style: none; margin: 0; padding: 0; counter-reset: arail; }
.article-rail li { counter-increment: arail; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.article-rail li::before { content: "0" counter(arail) "  "; color: var(--gold); font-weight: 700; font-size: .74rem; }
.article-rail a { color: var(--text); }
.article-rail a:hover { color: var(--blue); }
@media (max-width: 960px) { .article-rail { display: none; } }

/* ---------- Contact / email reveal ---------- */
.email-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(28px, 5vw, 52px); }
.email-card .eyebrow { margin-bottom: 14px; }
.email-display {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  margin: 26px 0 12px; min-height: 62px;
}
.email-value {
  font-size: clamp(1.5rem, 3.6vw, 2.4rem); font-weight: 600; letter-spacing: -.02em;
  color: var(--ink); direction: ltr; unicode-bidi: isolate; word-break: break-word;
}
.email-value.is-hidden { color: var(--line-2); letter-spacing: .06em; font-size: clamp(1.2rem, 2.6vw, 1.7rem); user-select: none; }
.email-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.email-hint { display: flex; align-items: flex-start; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.email-hint svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--blue); }
.subject-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.subject-list li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .9rem; color: var(--text); direction: ltr; unicode-bidi: isolate; text-align: start; }
.subject-list li::before { content: "Re:"; color: var(--gold); font-weight: 700; margin-inline-end: 10px; }
.noscript-email { margin-top: 18px; padding: 12px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .86rem; }
.noscript-email img { max-width: 260px; height: auto; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); color: rgba(255,255,255,.62); padding-top: 66px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding-bottom: 52px; }
.footer-brand .brand-mark { width: 34px; height: 34px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(255,255,255,.5); }
.footer-brand p { margin-top: 20px; font-size: .86rem; line-height: 1.75; max-width: 34ch; color: rgba(255,255,255,.58); }
.footer-col h3 { color: #fff; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: rgba(255,255,255,.62); font-size: .86rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .78rem; color: rgba(255,255,255,.46); }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } .footer-brand { grid-column: auto; } }

/* ---------- 404 / language root ---------- */
.langroot { min-height: 72vh; display: flex; align-items: center; }
.langroot-inner { max-width: 720px; padding-block: 80px; }
.langroot h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 20px; }
.lang-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.lang-links a { padding: 12px 20px; border: 1px solid var(--line-2); border-radius: var(--radius); font-weight: 600; color: var(--ink); font-size: .9rem; }
.lang-links a:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
.langroot-note { margin-top: 26px; font-size: .82rem; color: var(--muted); }
.langroot-note a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.langroot-note a:hover { color: var(--blue); }

/* ---------- Language suggestion bar ---------- */
.lang-suggest {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 150;
  background: #fff; border-top: 1px solid var(--line-2);
  box-shadow: 0 -8px 30px rgba(11,31,51,.10);
  transform: translateY(110%); transition: transform .32s var(--ease);
}
.lang-suggest.is-visible { transform: translateY(0); }
.lang-suggest-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  padding-block: 14px; font-size: .88rem; color: var(--ink-2);
}
.lang-suggest-inner .ls-text { flex: 1 1 240px; }
.lang-suggest-inner .ls-text strong { color: var(--ink); }
.lang-suggest-inner .btn { min-height: 38px; padding: 8px 16px; font-size: .82rem; }
.lang-suggest-inner .ls-close {
  background: none; border: 0; color: var(--muted); font-size: .82rem;
  padding: 8px 6px; text-decoration: underline; text-underline-offset: 3px;
}
.lang-suggest-inner .ls-close:hover { color: var(--blue); }
[dir="rtl"] .lang-suggest-inner { direction: rtl; }

/* ---------- RTL adjustments ---------- */
[dir="rtl"] body { font-family: "Segoe UI", "Noto Sans Arabic", Tahoma, Arial, sans-serif; }
[dir="rtl"] .hero::before { -webkit-mask-image: linear-gradient(270deg, transparent, #000 55%); mask-image: linear-gradient(270deg, transparent, #000 55%); }
[dir="rtl"] .timeline::before { inset-inline: 10%; }
[dir="rtl"] .tl-step { padding-inline-end: 0; padding-inline-start: 22px; }
[dir="rtl"] .check-list li::before { transform: rotate(45deg); }
[dir="rtl"] table.data th, [dir="rtl"] table.data td { text-align: right; }
[dir="rtl"] .brand-text { align-items: flex-start; }
[dir="rtl"] .btn-group { direction: rtl; }
[dir="rtl"] .card-link .arw, [dir="rtl"] .arw { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .email-value, [dir="rtl"] .subject-list li, [dir="rtl"] .tag, [dir="rtl"] td.code { direction: ltr; text-align: left; unicode-bidi: isolate; }
[dir="rtl"] .subject-list li { text-align: right; }
[dir="rtl"] .breadcrumb li + li::before { content: "/"; }

/* ---------- Motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
  .site-header, .site-footer, .langswitch, .navtoggle, .btn-group, .cta-band { display: none !important; }
  body { color: #000; }
  .card, .table-wrap { break-inside: avoid; }
}
