/* arbab.tech/ai-literacy (1 Nov 2026): the site's design tokens (assets/site.css), self-contained so this page never waits on a site rebuild. */
:root {
  color-scheme: dark;
  --navy: #000e2b; --authority: #0c376f; --loyalty: #42166a; --ambition: #8f6b00;
  --ice: #f9fdff; --muted: #a3b1c9; --gold: #d9ae3a; --line: #1c3560; --panel: #04173d;
  --plate-x: 8px; --r-sm: 6px; --r-lg: 16px; --measure: 660px; --content-max: 1200px;
  --gutter: max(16px, calc((100% - var(--content-max)) / 2));
  --font-display: "Archivo","Helvetica Neue",Arial,sans-serif; --font-sans: "Inter","Helvetica Neue",Arial,sans-serif;
  --font-arabic: "Tajawal","Noto Kufi Arabic",Tahoma,sans-serif; --stretch: 125%;
}
:root[lang="ar"] { --font-display: var(--font-arabic); --font-sans: var(--font-arabic); --stretch: 100%; --plate-x: -8px; }
* { box-sizing: border-box; }
/* The page shows and hides its boxes with the hidden attribute; without this, .err/.done/.form/.progress (display grid/flex) ignored it. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--navy); }
body { margin: 0; background: var(--navy); color: var(--ice); font-family: var(--font-sans); font-size: 16px; line-height: 26px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
:root[lang="ar"] body { font-size: 17px; line-height: 29px; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.eyebrow { font: 600 13px/16px var(--font-display); font-stretch: var(--stretch); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
:root[lang="ar"] .eyebrow { font-size: 15px; line-height: 22px; letter-spacing: 0; text-transform: none; font-weight: 700; }
.display { font: 800 clamp(36px, 5.4vw, 68px)/1.02 var(--font-display); font-stretch: var(--stretch); letter-spacing: -.01em; }
:root[lang="ar"] .display { line-height: 1.25; letter-spacing: 0; }
.h2 { font: 800 clamp(28px, 3.6vw, 44px)/1.12 var(--font-display); font-stretch: var(--stretch); }
:root[lang="ar"] .h2 { line-height: 1.35; }
.h3 { font: 700 22px/28px var(--font-display); font-stretch: var(--stretch); }
:root[lang="ar"] .h3 { line-height: 34px; }
.lede { color: var(--muted); max-width: var(--measure); font-size: 19px; line-height: 30px; }
:root[lang="ar"] .lede { font-size: 20px; line-height: 34px; }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: var(--r-sm); font: 600 16px/26px var(--font-sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease; }
.btn--primary { background: var(--gold); color: var(--navy); }
.btn--primary:hover { transform: translate(calc(var(--plate-x) / -2), -4px); box-shadow: var(--plate-x) 8px 0 0 var(--loyalty); }
.btn--primary:active { transform: none; box-shadow: none; }
.btn--primary:disabled { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
.btn--secondary { background: transparent; color: var(--ice); border-color: var(--muted); }
.btn--secondary:hover { border-color: var(--ice); }
.btn--sm { height: 44px; padding: 0 16px; font-size: 15px; }
.btn--wide { width: 100%; height: 58px; font-size: 18px; }

.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gutter); background: rgba(0,14,43,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 800 16px/24px var(--font-display); font-stretch: var(--stretch); white-space: nowrap; }
.brand img { display: block; width: 30px; height: auto; }
.lang { background: transparent; color: var(--gold); border: 1px solid rgba(217,174,58,.5); border-radius: 999px; padding: 6px 16px; font: 700 14px/20px var(--font-sans); cursor: pointer; }
.lang:lang(ar) { font-family: var(--font-arabic); }
.lang:hover { border-color: var(--gold); }

/* Hero: the Command Centre clip of Fahad at the glass table. Phone: full-bleed on top, fading into the copy. Desktop: a tall framed panel beside the copy. */
.hero { position: relative; display: grid; }
.hero__media { position: relative; background: var(--navy); height: 72vh; min-height: 440px; max-height: 760px; overflow: hidden; }
.hero__media::after { content: ""; position: absolute; inset: 0 0 -2px; background: linear-gradient(180deg, rgba(0,14,43,0) 45%, rgba(0,14,43,.75) 76%, var(--navy) 95%); } /* solid navy over the last rows: the video's sub-pixel bottom edge showed as a thin line across the text on phones */
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.hero__copy { position: relative; z-index: 1; display: grid; gap: 20px; padding: 0 var(--gutter) 64px; margin-top: -160px; }
.seats { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(4,23,61,.8); font-size: 15px; font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(217,174,58,.6); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(217,174,58,.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(217,174,58,0); } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 56px; padding: 56px var(--gutter) 96px; }
  .hero__copy { padding: 0; margin: 0; order: -1; }
  .hero__media { height: auto; max-height: none; min-height: 0; aspect-ratio: 9 / 13; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: calc(var(--plate-x) * 2) 16px 0 0 var(--loyalty); }
  .hero__media::after { background: linear-gradient(180deg, rgba(0,14,43,0) 70%, rgba(0,14,43,.55) 100%); }
}

.section { padding: 88px var(--gutter); }
.section--band { background: var(--panel); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 16px; max-width: var(--measure); margin-bottom: 48px; }

.months { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.month { position: relative; display: grid; gap: 10px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(160deg, var(--panel), var(--navy)); }
.month p:last-child { color: var(--muted); }
.month__tag { font-size: 14px; font-weight: 700; color: var(--gold); }
@media (min-width: 900px) {
  .months { grid-template-columns: 1.25fr 1fr 1fr; align-items: start; }
  .month:first-child { border-color: rgba(217,174,58,.45); box-shadow: var(--plate-x) 8px 0 0 var(--ambition); }
  .month:nth-child(2) { margin-top: 32px; }
  .month:nth-child(3) { margin-top: 64px; }
}
.ticks { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 12px; max-width: var(--measure); }
.ticks li { position: relative; padding-inline-start: 32px; }
.ticks li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--gold); font-weight: 800; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.steps li { display: flex; gap: 20px; align-items: flex-start; }
.steps b { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font: 800 22px/1 var(--font-display); }
.steps p { color: var(--muted); margin-top: 4px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } .steps li { flex-direction: column; } }

/* The assessment */
.progress { position: sticky; top: 63px; z-index: 10; display: flex; align-items: center; gap: 12px; max-width: 760px; padding: 12px 0; background: var(--navy); font-size: 14px; color: var(--muted); }
.progress__bar { flex: 1; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.progress__bar i { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: inline-start; transform: scaleX(0); transition: transform 250ms ease; }
:root[dir="rtl"] .progress__bar i { transform-origin: right; }
:root[dir="ltr"] .progress__bar i { transform-origin: left; }
.form { display: grid; gap: 16px; max-width: 760px; }
.loading { color: var(--muted); }
.q { margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); min-width: 0; transition: border-color 200ms ease; }
.q.missing { border-color: #e0685c; }
.q legend { float: inline-start; width: 100%; padding: 0; font-weight: 700; font-size: 18px; line-height: 28px; margin-bottom: 4px; }
.q legend + * { clear: both; }
.qnote { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--navy); font-size: 15px; line-height: 22px; transition: border-color 120ms ease, background 120ms ease, color 120ms ease; }
.chip:hover span { border-color: var(--muted); }
.chip input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.contact { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 15px; font-weight: 600; }
.field input { height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--navy); color: var(--ice); font: 16px var(--font-sans); }
.field input:focus { border-color: var(--gold); outline: none; }
.field input.bad { border-color: #e0685c; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; inset-inline-start: -9999px; }
.err { padding: 14px 16px; border: 1px solid #e0685c; border-radius: var(--r-sm); background: rgba(224,104,92,.1); display: grid; gap: 12px; justify-items: start; max-width: 760px; }
.fine { font-size: 14px; color: var(--muted); text-align: center; }
.done { max-width: 760px; display: grid; gap: 16px; justify-items: start; padding: 40px; border: 1px solid rgba(217,174,58,.45); border-radius: var(--r-lg); background: var(--panel); box-shadow: var(--plate-x) 8px 0 0 var(--loyalty); }
.done__check { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--navy); font-size: 28px; font-weight: 800; }

.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; padding: 32px var(--gutter); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot a { color: var(--gold); text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot { animation: none; }
  .btn, .chip span, .progress__bar i { transition: none; }
}
