/* DataOrbit — site styles */

:root {
  --bg: #FFFFFF;
  --band: #F5F6F8;
  --surface: #FFFFFF;
  --ink: #111827;
  --muted: #4B5563;
  --line: #E5E7EB;
  --brand: #024EAF;
  --brand-ink: #FFFFFF;
  --brand-soft: #EEF3FA;
  --brand-deep: #013A85;
  --navy: #01306C;
  --mist: #F1F4F9;
  --mist-line: #DCE3EE;
  --blue-tint: #EFF6FF;
  --amber: #F59E0B;
  --amber-text: #B45309;
  --amber-tint: #FEF3C7;
  --amber-line: #FDE68A;
  --radius: 8px;
  --max: 1160px;
  --font: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
[dir="rtl"] { --font: 'IBM Plex Sans Arabic', 'IBM Plex Sans', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; margin: 0; text-wrap: balance; }
p, li { text-wrap: pretty; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font: 600 13px/1 var(--font);
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand);
}
[dir="rtl"] .eyebrow, [dir="rtl"] .tag, [dir="rtl"] .panel :is(h2, h3), [dir="rtl"] .foot h2 { text-transform: none; }
[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: 14px; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 4px; z-index: 100; }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.ltr { direction: ltr; unicode-bidi: isolate; }

section { padding: 104px 0; }
section.tight { padding-top: 0; }
.band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 14px; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 18px; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head.split > div { max-width: 680px; }

/* Buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border-radius: 6px;
  font: 500 15px/1 var(--font); text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: #01306C; }
.btn-light:hover { background: #E8EEF7; }
.btn-outline-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-outline-light:hover { border-color: #fff; }
.link { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; font-weight: 500; }
.link:hover { text-decoration-thickness: 2px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; direction: ltr; }
.brand img { width: 30px; height: 30px; }
.wordmark { font: 400 21px/1 'IBM Plex Sans', system-ui, sans-serif; }
.wordmark b { font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 6px 0;
  font-size: 15px; color: var(--muted); text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brand); }
.nav-links .ext { color: var(--brand); font-weight: 500; }
.nav-links .lang { color: var(--ink); padding-inline-start: 28px; border-inline-start: 1px solid var(--line); border-bottom: 0; }
.nav-links .nav-cta, .nav-links .nav-cta[aria-current="page"] { padding: 11px 18px; color: var(--brand-ink); border: 0; }
.nav-links .nav-cta:hover { color: var(--brand-ink); }
.menu-btn {
  display: none; background: none; border: 1px solid var(--line); border-radius: 6px;
  padding: 9px 14px; color: var(--ink); cursor: pointer; font: 500 14px/1 var(--font);
}

/* Home hero */
.hero { padding: 96px 0 104px; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.2vw, 62px); letter-spacing: -0.02em; line-height: 1.1; }
[dir="rtl"] .hero h1 { letter-spacing: 0; line-height: 1.3; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lede { font-size: 19px; color: var(--muted); max-width: 580px; margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-note {
  display: inline-flex; align-items: baseline; gap: 12px; margin-bottom: 28px;
  font-size: 15px; color: var(--muted); text-decoration: none;
}
.hero-note:hover { color: var(--ink); }
.hero-note:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.hero-note .tag { color: var(--brand); font: 600 12px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; }
.hero-note strong { color: var(--ink); font-weight: 600; }

/* Product feature (ItqanEd) */
.product { background: #01306C; color: #fff; border-radius: var(--radius); padding: 64px; }
.product-grid { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: center; }
.product .eyebrow { color: #A9C6F0; }
.product-name { margin-top: 14px; }
.product h2, .product h3.name { font-size: clamp(34px, 4vw, 48px); }
.product .lede { color: rgba(255,255,255,.85); font-size: 18px; margin-top: 16px; max-width: 560px; }
.product-badge {
  display: inline-block; margin-top: 24px; padding-inline-start: 12px;
  border-inline-start: 3px solid #A9C6F0; font-size: 15px; color: #fff; font-weight: 500;
}
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; margin: 36px 0 40px; padding: 0; list-style: none; }
.features li { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.18); font-size: 15px; color: rgba(255,255,255,.78); }
.features strong { display: block; color: #fff; font-weight: 600; font-size: 16px; margin-bottom: 2px; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Static product preview */
.device { background: #fff; color: #111827; border-radius: 16px; padding: 8px; box-shadow: 0 24px 48px -16px rgba(0,0,0,.4); }
.screen { border-radius: 10px; background: #F5F6F8; overflow: hidden; }
.screen-top { background: #fff; padding: 16px 16px 12px; border-bottom: 1px solid #E5E7EB; }
.screen-top .school { font: 500 12px/1.2 var(--font); color: #6B7280; }
.screen-top .cls { font: 600 17px/1.3 var(--font); margin-top: 6px; }
.screen-top .meta { display: flex; justify-content: space-between; font-size: 12px; color: #6B7280; margin-top: 4px; }
.roster { list-style: none; margin: 0; padding: 8px 10px 2px; }
.roster li { display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid #EEF0F3; border-radius: 6px; padding: 9px 12px; margin-bottom: 6px; font-size: 14px; }
.who { display: flex; align-items: center; gap: 10px; }
.avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 10px/1 var(--font); color: #024EAF; background: #EEF3FA; }
.mark { border-radius: 4px; padding: 4px 10px; font: 600 12px/1.2 var(--font); }
.mark.p { background: #E6F4EC; color: #166534; }
.mark.a { background: #FDEEE3; color: #9A3412; }
.screen-foot { padding: 6px 10px 12px; }
.submit { display: block; text-align: center; border-radius: 6px; padding: 12px; background: #024EAF; color: #fff; font: 600 14px/1.2 var(--font); }

/* Future products */
.hub { display: grid; gap: 32px; }
.soon {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--band); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px;
}
.soon h3 { font-size: 19px; }
.soon p { color: var(--muted); font-size: 15.5px; margin-top: 4px; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column;
  transition: border-color .15s ease;
}
a.card { text-decoration: none; }
a.card:hover { border-color: var(--brand); }
a.card:hover .more { text-decoration-thickness: 2px; }
.card h3 { font-size: 21px; }
.card > p { color: var(--muted); margin-top: 10px; font-size: 16px; }
.card .more { margin-top: auto; padding-top: 24px; }
.grid-3 > .card { border-top: 3px solid var(--brand); }
.list { list-style: none; padding: 0; margin: 20px 0 0; }
.list li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.tag { align-self: flex-start; font: 600 12px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
[dir="rtl"] .tag { letter-spacing: 0; font-size: 13px; }
.case-card h3 { font-size: 26px; margin-top: 16px; }
.sector { color: var(--muted); font-size: 15px; margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { font-size: 13.5px; padding: 6px 10px; border-radius: 4px; background: var(--band); color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.step { border-top: 2px solid var(--ink); padding-top: 20px; }
.step::before { counter-increment: step; content: '0' counter(step); font: 600 14px/1 'IBM Plex Sans', sans-serif; color: var(--brand); display: block; margin-bottom: 20px; }
.step h3 { font-size: 20px; }
.step p { color: var(--muted); margin-top: 8px; font-size: 15.5px; }

/* CTA band */
.cta {
  background: #01306C; color: #fff; border-radius: var(--radius); padding: 56px 64px;
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
}
.cta .btn-primary { background: #fff; color: #01306C; }
.cta .btn-primary:hover { background: #E8EEF7; }
.cta h2 { font-size: clamp(26px, 3.2vw, 36px); max-width: 640px; }
.cta p { color: rgba(255,255,255,.8); margin-top: 10px; font-size: 17px; }

/* Inner page hero */
.page-hero { padding: 88px 0 64px; background: var(--band); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(36px, 4.8vw, 56px); letter-spacing: -0.02em; line-height: 1.12; margin-top: 16px; max-width: 880px; }
[dir="rtl"] .page-hero h1 { letter-spacing: 0; line-height: 1.35; }
.page-hero .lede { font-size: 19px; color: var(--muted); max-width: 680px; margin-top: 20px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.jump a { font-size: 15px; font-weight: 500; color: var(--brand); text-decoration: none; }
.jump a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Panels */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.panel :is(h2, h3) { font: 600 13px/1.3 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
[dir="rtl"] .panel :is(h2, h3) { letter-spacing: 0; font-size: 15px; }
.panel .list li:first-child { border-top: 0; padding-top: 0; }

/* Case study page */
.case { padding: 88px 0; border-bottom: 1px solid var(--line); }
.case:last-of-type { border-bottom: 0; }
.case-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.case-head h2 { font-size: clamp(32px, 4vw, 46px); margin-top: 14px; }
.case-meta { display: grid; grid-template-columns: repeat(3, auto); gap: 8px 40px; font-size: 15px; margin: 0; }
.case-meta dt { color: var(--muted); font-size: 13px; }
.case-meta dd { margin: 0; font-weight: 500; }
.case-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-body .panel p, .case-feature .panel p { color: var(--ink); margin-top: 12px; font-size: 16px; }
.case-scope { margin-top: 20px; }
.case-feature { display: grid; grid-template-columns: .85fr 1.15fr; gap: 20px; align-items: stretch; }
.case-feature figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #0d0d0d; }
.case-feature figure img { width: 100%; height: 100%; object-fit: cover; }
.case-feature .stack { display: grid; gap: 20px; }

/* About */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.story blockquote { margin: 0; font: 500 clamp(26px, 3vw, 36px)/1.3 var(--font); letter-spacing: -0.01em; padding-inline-start: 24px; border-inline-start: 3px solid var(--brand); }
[dir="rtl"] .story blockquote { letter-spacing: 0; line-height: 1.5; }
.story blockquote span { color: var(--brand); }
.prose p { color: var(--muted); font-size: 17.5px; }
.prose p + p { margin-top: 18px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.timeline li { border-top: 2px solid var(--line); padding-top: 20px; }
.timeline li.now { border-top-color: var(--brand); }
.timeline .year { font: 600 26px/1 'IBM Plex Sans', sans-serif; color: var(--ink); }
.timeline li.now .year { color: var(--brand); }
.timeline h3 { font-size: 18px; margin-top: 16px; }
.timeline p { color: var(--muted); font-size: 15.5px; margin-top: 6px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.values .card h3 { font-size: 18px; }
.values .card > p { font-size: 15.5px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.contact-lines { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-line { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.contact-line small { display: block; color: var(--muted); font-size: 13px; }
.contact-line span { font-weight: 500; font-size: 17px; }
a.contact-line:hover span { color: var(--brand); }
.contact-aside h2 { font-size: 22px; margin-bottom: 20px; }
.contact-aside .panel { margin-top: 32px; background: var(--band); }
.contact-aside .panel p { color: var(--muted); font-size: 15.5px; margin-top: 10px; }
.contact-aside .panel .link { display: inline-block; }
form.card { padding: 36px; gap: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg); border: 1px solid #D1D5DB; border-radius: 6px; padding: 11px 13px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input[type="email"] { direction: ltr; }
[dir="rtl"] input[type="email"] { text-align: right; }
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--muted); }

/* Footer */
.site-footer { padding: 64px 0 40px; border-top: 1px solid var(--line); background: var(--band); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot p { color: var(--muted); font-size: 15px; margin-top: 14px; max-width: 300px; }
.foot h2 { font: 600 13px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 6px 0 16px; }
[dir="rtl"] .foot h2 { letter-spacing: 0; font-size: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; font-size: 15px; }
.foot a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.legal a { text-decoration: none; }
.legal a:hover { color: var(--ink); }

/* Colour: blue-grey heroes, amber accents, navy footer */
.eyebrow, .tag, .step::before { color: var(--amber-text); }
.product .eyebrow { color: #FCD34D; }
.nav-links a[aria-current="page"] { border-bottom-color: var(--amber); }

.hero, .page-hero { background: var(--mist); border-bottom: 1px solid var(--mist-line); }
.hero h1 em { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 6px; text-underline-offset: 10px; text-decoration-skip-ink: none; }
.hero-note .tag { background: var(--amber); color: #1F2937; padding: 5px 8px; border-radius: 3px; }
.hero .btn-ghost, .page-hero .btn-ghost { border-color: var(--mist-line); }
.jump { border-top-color: var(--mist-line); }

.grid-3 > .card { border-top-color: var(--amber); }
.chip { background: var(--blue-tint); color: var(--brand); }
.soon { background: var(--amber-tint); border-color: var(--amber-line); }
.product-badge { border-inline-start-color: var(--amber); }
.step { border-top-color: var(--brand); }
.timeline li.now { border-top-color: var(--amber); }
.timeline li.now .year { color: var(--amber-text); }
.story blockquote { border-inline-start-color: var(--amber); }
.contact-aside .panel { background: var(--amber-tint); border-color: var(--amber-line); }

.cta { background: var(--navy); }
.cta .btn-primary { background: var(--amber); color: #1F2937; }
.cta .btn-primary:hover { background: #FBBF24; }

.site-footer { background: var(--navy); border-top: 0; color: #fff; }
.site-footer .brand img { filter: brightness(0) invert(1); }
.foot p, .legal { color: rgba(255,255,255,.7); }
.foot h2 { color: #FCD34D; }
.foot a { color: rgba(255,255,255,.9); }
.foot a:hover, .legal a:hover { color: #fff; }
.legal { border-top-color: rgba(255,255,255,.15); }
.foot .partners { font-size: 14.5px; margin-top: 6px; }
.site-footer .link { color: #FCD34D; }

/* Product hero (home + ItqanEd page) */
.page-hero .hero-grid { margin-top: 0; }
.hero-grid .device, .split-2 .device { max-width: 400px; margin-inline-start: auto; width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; color: var(--muted); font-size: 14px; }
.hero-proof span::before { content: "\2713"; color: var(--brand); font-weight: 700; margin-inline-end: 7px; }
.outcome-card { position: relative; border-top: 3px solid var(--brand); }
.outcome-label { display: block; color: var(--brand); font-size: 13px; font-weight: 600; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .06em; }
[dir="rtl"] .outcome-label { text-transform: none; letter-spacing: 0; font-size: 14px; }
.inline-demo { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 28px; padding: 24px 28px; background: var(--blue-tint); border: 1px solid #BFDBFE; border-radius: var(--radius); }
.inline-demo p { color: var(--muted); font-size: 15.5px; }
.inline-demo strong { color: var(--ink); }
.inline-demo .btn { flex: 0 0 auto; }

/* Guided product walkthrough */
.walkthrough-section { border-top: 0; }
.walkthrough { overflow: hidden; background: #fff; border: 1px solid var(--mist-line); border-radius: 12px; box-shadow: 0 20px 48px -36px rgba(1,48,108,.55); }
.walkthrough-tabs { display: grid; grid-template-columns: repeat(3, 1fr); padding: 8px; background: var(--mist); border-bottom: 1px solid var(--mist-line); }
.walkthrough-tabs button { border: 0; border-radius: 7px; padding: 13px 16px; background: transparent; color: var(--muted); font: 600 15px/1.2 var(--font); cursor: pointer; }
.walkthrough-tabs button[aria-selected="true"] { background: #fff; color: var(--brand); box-shadow: 0 2px 8px rgba(17,24,39,.08); }
.walkthrough-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; padding: 48px; }
.walkthrough-panel[hidden] { display: none; }
.walkthrough-copy h3 { margin-top: 10px; font-size: clamp(25px, 3vw, 34px); }
.walkthrough-copy p { color: var(--muted); margin-top: 14px; }
.step-label { color: var(--brand); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
[dir="rtl"] .step-label { text-transform: none; letter-spacing: 0; }
.check-list { list-style: none; margin: 22px 0 0; padding: 0; }
.check-list li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; }
.check-list li::before { content: "\2713"; color: var(--brand); font-weight: 700; margin-inline-end: 9px; }
.preview-card { padding: 22px; border: 1px solid var(--mist-line); border-radius: 10px; background: var(--mist); }
.preview-top { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--mist-line); font-size: 14px; }
.preview-top span { color: var(--muted); }
.preview-top b { font-weight: 600; }
.preview-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
.preview-metrics div { padding: 16px; background: #fff; border: 1px solid var(--mist-line); border-radius: 7px; }
.preview-metrics b { display: block; font-size: 24px; }
.preview-metrics span { display: block; color: var(--muted); font-size: 12px; }
.attention-list, .mini-roster { display: grid; background: #fff; border: 1px solid var(--mist-line); border-radius: 7px; }
.attention-list > *, .mini-roster > * { padding: 11px 14px; border-top: 1px solid var(--line); font-size: 14px; }
.attention-list > :first-child, .mini-roster > :first-child { border-top: 0; }
.attention-list span { color: var(--muted); }
.mini-roster span { display: flex; justify-content: space-between; gap: 16px; }
.mini-roster b { padding: 4px 8px; border-radius: 4px; font-size: 11px; }
.mini-roster .present { color: #166534; background: #E6F4EC; }
.mini-roster .absent { color: #9A3412; background: #FDEEE3; }
.preview-submit { margin-top: 12px; padding: 12px; border-radius: 6px; background: var(--brand); color: #fff; text-align: center; font-size: 14px; font-weight: 600; }
.walkthrough-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 24px; }
.walkthrough-cta p { display: grid; }
.walkthrough-cta span { color: var(--muted); font-size: 15px; }

/* Role-specific ItqanEd landing pages */
.role-hero { padding: 88px 0; background: var(--mist); border-bottom: 1px solid var(--mist-line); }
.role-hero .wrap { max-width: 920px; text-align: center; }
.role-hero h1 { margin-top: 18px; font-size: clamp(40px, 6vw, 66px); line-height: 1.08; }
[dir="rtl"] .role-hero h1 { line-height: 1.3; }
.role-hero .lede { max-width: 720px; margin: 24px auto 0; color: var(--muted); font-size: 19px; }
.role-hero .hero-actions { justify-content: center; }
.role-hero .hero-proof { justify-content: center; }
.role-flow { counter-reset: role-step; }
.role-flow .card { position: relative; padding-top: 58px; }
.role-flow .card::before { counter-increment: role-step; content: counter(role-step); position: absolute; inset-inline-start: 30px; top: 22px; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 13px; font-weight: 700; }
.role-cta { max-width: 920px; margin: 0 auto; text-align: center; }
.role-cta h2 { font-size: clamp(30px, 4vw, 44px); }
.role-cta p { max-width: 650px; margin: 16px auto 28px; color: var(--muted); }

/* Family view mock */
.child { font-size: 13px; color: #6B7280; margin-top: 2px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px 10px 4px; }
.stat { background: #fff; border: 1px solid #EEF0F3; border-radius: 6px; padding: 10px; }
.stat b { display: block; font: 600 20px/1.1 var(--font); color: #111827; }
.stat span { font-size: 12px; color: #6B7280; }
.work-list { list-style: none; margin: 0; padding: 6px 10px 12px; }
.work-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #fff; border: 1px solid #EEF0F3; border-radius: 6px; padding: 10px 12px; margin-bottom: 6px; }
.work-list strong { display: block; font-size: 14px; font-weight: 600; }
.work-list small { font-size: 12px; color: #6B7280; }
.mark.u { background: #EEF3FA; color: #024EAF; }

/* Waitlist */
.waitlist { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; max-width: 520px; }
.waitlist input { flex: 1 1 240px; }
.waitlist-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.early { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--amber-tint); border: 1px solid var(--amber-line); border-radius: var(--radius); padding: 56px; }
.early h2 { font-size: clamp(28px, 3.2vw, 38px); margin-top: 14px; }
.early p.lede { color: var(--muted); margin-top: 14px; font-size: 17.5px; }
.early ul { list-style: none; margin: 0; padding: 0; }
.early li { padding: 14px 0; border-top: 1px solid var(--amber-line); font-size: 16px; }
.early li:first-child { border-top: 0; }
.early li strong { display: block; }
.early li span { color: var(--muted); font-size: 15px; }

/* Two-column text split */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split-2 h2 { font-size: clamp(28px, 3.2vw, 38px); margin-top: 14px; }
.split-2 .intro { color: var(--muted); font-size: 17.5px; margin-top: 16px; }

/* Rules / principles */
.rules { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rules li { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.rules li b { font-weight: 600; color: var(--brand); }
.rules-note { color: var(--muted); font-size: 14.5px; margin-top: 14px; }
.principles { display: grid; gap: 16px; margin-top: 28px; }
.principles div { border-inline-start: 3px solid var(--amber); padding-inline-start: 16px; }
.principles strong { display: block; font-weight: 600; }
.principles span { color: var(--muted); font-size: 15.5px; }

/* Founding schools (navy block) */
.founding h2 { font-size: clamp(30px, 3.6vw, 42px); margin-top: 14px; }
.founding .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin: 36px 0 40px; }
.founding h3 { font: 600 13px/1.3 var(--font); letter-spacing: .08em; text-transform: uppercase; color: #FCD34D; margin-bottom: 8px; }
[dir="rtl"] .founding h3 { letter-spacing: 0; text-transform: none; font-size: 15px; }
.founding ol, .founding ul { margin: 0; padding: 0; list-style: none; counter-reset: f; }
.founding li { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.85); font-size: 16px; }
.founding ol li::before { counter-increment: f; content: counter(f) ". "; color: #FCD34D; font-weight: 600; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.faq h3 { font-size: 19px; }
.faq p { color: var(--muted); font-size: 16.5px; }

/* 404 */
.notfound { padding: 140px 0; text-align: center; }
.notfound h1 { font-size: clamp(36px, 5vw, 56px); }
.notfound p { color: var(--muted); margin: 16px 0 32px; }
.notfound .hero-actions { justify-content: center; }

@media (max-width: 980px) {
  .hero-grid .device, .product-grid .device, .split-2 .device { margin: 8px auto 0; }
  .foot > div:first-child, .foot > div:last-child { grid-column: 1 / -1; }
  .early, .founding .cols, .faq div { grid-template-columns: 1fr; }
  .early { padding: 40px 28px; gap: 28px; }
  .faq div { gap: 10px; }
  .walkthrough-panel { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
}
@media (max-width: 560px) {
  .rules li { grid-template-columns: 1fr; gap: 4px; }
  .early { padding: 32px 20px; }
}

/* Lead forms */
.req { color: var(--amber-text); }
.opt { color: var(--muted); font-weight: 400; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; pointer-events: none; }
.form-status { font-size: 14.5px; margin: 0; }
.form-status.error { color: #B91C1C; }
.form-success { border: 1px solid #BBE5CB; background: #F0FAF4; border-radius: var(--radius); padding: 32px; }
.form-success h3 { font-size: 22px; color: #166534; }
.form-success p { color: var(--ink); margin-top: 8px; }
.btn[disabled] { opacity: .6; cursor: wait; }
.demo { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.demo h2 { font-size: clamp(28px, 3.2vw, 38px); margin-top: 14px; }
.demo .intro { color: var(--muted); font-size: 17.5px; margin-top: 16px; }
.form-heading { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.form-heading h3 { font-size: 21px; }
.form-heading p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.next-steps { list-style: none; counter-reset: n; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.next-steps li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 36px 1fr; }
.next-steps li::before { counter-increment: n; content: counter(n); font-weight: 600; color: var(--amber-text); }
.next-steps strong { display: block; font-weight: 600; }
.next-steps span { color: var(--muted); font-size: 15.5px; }
.contact-direct { margin-top: 28px; font-size: 15px; color: var(--muted); }
.contact-direct a { color: var(--brand); font-weight: 500; }
@media (max-width: 980px) { .demo { grid-template-columns: 1fr; gap: 32px; } }

.mobile-demo-bar { display: none; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1080px) {
  .nav-links { gap: 20px; }
  .nav-links .lang { padding-inline-start: 20px; }
}
@media (max-width: 980px) {
  section { padding: 80px 0; }
  .hero-grid, .product-grid, .story, .contact-grid, .case-feature, .split-2 { grid-template-columns: 1fr; }
  .product { padding: 48px 32px; }
  .device { max-width: 360px; }
  .case-feature figure { max-width: 520px; }
  .grid-3, .grid-2, .case-body, .values { grid-template-columns: 1fr; }
  .steps, .timeline { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .cta { padding: 44px 32px; }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 4px 24px 20px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current="page"] { border-bottom-color: var(--line); color: var(--brand); }
  .nav-links .lang { padding-inline-start: 0; border-inline-start: 0; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta { margin-top: 16px; }
  body.itqan-page { padding-bottom: 74px; }
  .mobile-demo-bar { position: fixed; z-index: 60; inset-inline: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(17,24,39,.08); }
  .mobile-demo-bar span { font-size: 13px; font-weight: 600; line-height: 1.25; }
  .mobile-demo-bar .btn { padding: 11px 15px; white-space: nowrap; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .hero .lede, .page-hero .lede { font-size: 17px; }
  .page-hero { padding: 56px 0 44px; }
  .product { padding: 36px 20px; }
  .features { grid-template-columns: 1fr; }
  .card, form.card, .panel { padding: 24px; }
  .steps, .timeline, .row { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .case { padding: 56px 0; }
  .case-meta { grid-template-columns: 1fr 1fr; }
  .cta { padding: 36px 24px; }
  .inline-demo { align-items: stretch; flex-direction: column; padding: 22px; }
  .inline-demo .btn { width: 100%; }
  .walkthrough-tabs { grid-template-columns: 1fr; gap: 4px; }
  .walkthrough-panel { padding: 24px 18px; }
  .preview-metrics { grid-template-columns: 1fr; }
  .preview-top { flex-direction: column; gap: 3px; }
  .walkthrough-cta { align-items: stretch; flex-direction: column; }
  .walkthrough-cta .btn { width: 100%; }
}

/* Legal pages */
.legal-doc > * { max-width: 760px; }
.legal-doc h2 { font-size: 24px; margin: 48px 0 12px; }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc h3 { font-size: 17px; margin: 24px 0 8px; }
.legal-doc p, .legal-doc li { color: var(--muted); font-size: 16.5px; }
.legal-doc p + p { margin-top: 12px; }
.legal-doc ul { margin: 12px 0; padding-inline-start: 22px; }
.legal-doc li + li { margin-top: 6px; }
.legal-doc a { color: var(--brand); }
.legal-links { display: inline-flex; gap: 24px; }
.form-note a, .waitlist-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
