*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.65 var(--font-body);
  min-width: 320px;
}
html[lang="ar"] body {
  font-family: var(--font-arabic);
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: var(--sky);
  text-decoration: none;
}
a:hover {
  color: var(--mint-soft);
}
button {
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0 0 0.65em;
}
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3 {
  font-family: var(--font-arabic);
  letter-spacing: 0;
}
h1 {
  font-size: clamp(2.25rem, 5vw, 4.8rem);
}
h2 {
  font-size: clamp(1.65rem, 3vw, 2.65rem);
}
h3 {
  font-size: 1.2rem;
}
p {
  margin: 0 0 1rem;
  color: var(--muted);
}
:focus-visible {
  outline: 0;
  box-shadow: var(--focus);
  border-radius: var(--radius-sm);
}
::selection {
  background: rgba(52, 211, 153, 0.3);
  color: var(--text);
}
[dir="rtl"] .icon-dir {
  transform: scaleX(-1);
}
.skip-link {
  position: fixed;
  z-index: 1000;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  transform: translateY(-160%);
  padding: 0.65rem 1rem;
  background: var(--mint);
  color: #062116;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  transform: none;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
}
.container {
  width: min(var(--content), calc(100% - 48px));
  margin-inline: auto;
}
.section {
  padding-block: 76px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-block-end: 26px;
}
.section-head p {
  max-width: 520px;
}
.stack {
  display: grid;
  gap: 18px;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.divider {
  height: 1px;
  background: var(--line);
  margin-block: 20px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.12);
  color: var(--sky);
}
.badge.success {
  background: rgba(16, 185, 129, 0.14);
  color: var(--ok);
}
.badge.warning {
  background: rgba(251, 191, 36, 0.14);
  color: var(--warn);
}
.badge.danger {
  background: rgba(248, 113, 113, 0.14);
  color: var(--danger);
}
.inline-code,
code {
  font:
    500 0.92em ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
}
html[dir="rtl"] .number,
html[dir="rtl"] .email,
html[dir="rtl"] code {
  direction: ltr;
  unicode-bidi: isolate;
}
.visually-hidden {
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
