/* EgEdunex design tokens. Every colour on the page comes from here. */
:root {
  --teal: #0e7c6b;
  --teal-bright: #1fb89b;
  --teal-mint: #7fe3cf;
  --teal-deep: #0a5a4e;
  --teal-ink: #084c43;
  --teal-tint: #cfe8e3;
  --teal-pale: #cfede5;
  --teal-wash: #e8f8f3;
  --teal-canvas: #f4fbf8;
  --teal-surface: #f7fbfa;
  --teal-line: #dcede7;
  --teal-border: #a5d5cc;
  --ground: #f3f2f2;
  --white: #ffffff;
  --ink: #16241f;
  --ink-warm: #201e1d;
  --body: #3d544e;
  --muted: #5c7871;
  --success: #2e9e5b;
  --warning: #f4a628;
  --warning-bright: #ffb43d;
  --physics: #5b3fe0;
  --physics-light: #8b6bff;
  --physics-tint: #e9e3ff;
  --chem: #e8632f;
  --chem-tint: #fdebe1;
  --grad-main: linear-gradient(165deg, #0e7c6b 0%, #1fb89b 52%, #7fe3cf 100%);
  --grad-band: linear-gradient(165deg, #084c43 0%, #0a5a4e 55%, #0e7c6b 100%);
  --grad-tile: linear-gradient(120deg, #0e7c6b, #1fb89b);
  --font: "Plus Jakarta Sans", "Tajawal", system-ui, sans-serif;
  --track: 0;
  --kicker-track: 0;
  --lh-display: 1.4;
  --lh-head: 1.45;
  --bar-origin: right;
  --radius-card: 20px;
  --radius-btn: 14px;
  --container: 1200px;
}

html[lang="en"] {
  --track: -0.025em;
  --kicker-track: 0.14em;
  --lh-display: 1.08;
  --lh-head: 1.15;
  --bar-origin: left;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-deep); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
img { max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
svg { flex: none; }

.container { max-width: var(--container); margin: 0 auto; padding-inline: 24px; }
.section { padding-block: 96px; scroll-margin-top: 70px; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.section-tail { padding-bottom: 96px; scroll-margin-top: 70px; }
i[data-icon] { display: inline-flex; font-style: normal; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 12px; background: var(--teal); color: var(--white);
}
.skip-link:focus { top: 12px; color: var(--white); }

.kicker {
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: var(--kicker-track); color: var(--teal);
}
.kicker.on-dark { color: var(--teal-mint); }

h1, h2, h3 { letter-spacing: var(--track); text-wrap: balance; }
h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; line-height: var(--lh-head); }
h3 { font-size: 18px; font-weight: 800; line-height: 1.35; }

.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; margin-bottom: 40px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px; border-radius: var(--radius-btn);
  font: 700 16px var(--font); transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: var(--white); box-shadow: 0 14px 30px -14px rgba(14, 124, 107, 0.8); }
.btn-primary:hover { background: var(--teal-deep); color: var(--white); }
.btn-outline { background: var(--white); color: var(--teal-ink); border: 1px solid var(--teal-border); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal-ink); }
.btn[aria-disabled="true"] { opacity: 0.6; pointer-events: none; }
