*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #fff6e9;
  --bg-alt: #ffebd2;
  --surface: #ffffff;
  --text: #3a2a2a;
  --muted: #8b7468;
  --dark: #2b1020;
  --dark-text: #feefca;
  --primary: #ff7b5c;
  --accent: #f79f0e;
  --sun: #ffd667;
  --berry: #ab5988;
  --mint: #bde8d4;
  --sky: #bfe0f5;
  --pink: #ffc9d4;
  --lilac: #e3d7ff;
  --sun-soft: #ffe9a8;
  --mint-soft: #dcf2e8;
  --sky-soft: #dff0fa;
  --pink-soft: #ffe3e8;
  --lilac-soft: #f1ebff;
  --primary-deep: #cc6249;
  --accent-deep: #c07c0b;
  --dark-2: #3d1a30;
  --footer: #241018;
  --footer-text: #e8d5c2;
  --text-rgb: 58, 42, 42;
  --dark-rgb: 43, 16, 32;
  --on-pastel: #3a2a2a;
  --font-head: 'Fredoka', 'Cairo', sans-serif;
  --font-body: 'Nunito', 'Cairo', sans-serif;
  --radius: 14px;
  --hd: 76px;
  --gutter: 56px;
  --dir: 1;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pop: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
section,
footer {
  overflow-x: clip;
}
body.menu-open {
  overflow: hidden;
}

html[dir='rtl'] {
  --dir: -1;
}
html[lang='ar'] {
  --font-head: 'Cairo', sans-serif;
  --font-body: 'Cairo', sans-serif;
}
html[lang='ar'] body {
  font-variation-settings: 'slnt' 0;
}
html[lang='ar'] h1,
html[lang='ar'] h2,
html[lang='ar'] h3,
html[lang='ar'] h4,
html[lang='ar'] h5 {
  font-weight: 800;
  line-height: 1.3;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.08;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
em {
  font-style: normal;
}
section {
  position: relative;
}
[id] {
  scroll-margin-top: var(--hd);
}

.ltr {
  direction: ltr;
  unicode-bidi: isolate;
}
.wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.skip {
  position: fixed;
  top: -60px;
  inset-inline-start: 12px;
  z-index: 60;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--sun);
  color: var(--dark);
  font-weight: 800;
}
.skip:focus {
  top: 10px;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 0;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.2;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 5px 0 var(--primary-deep);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--primary-deep);
}
.btn:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--primary-deep);
}
.btn-sun {
  background: var(--accent);
  color: var(--dark);
  box-shadow: 0 5px 0 var(--accent-deep);
}
.btn-sun:hover {
  box-shadow: 0 7px 0 var(--accent-deep);
}
.btn-sun:active {
  box-shadow: 0 2px 0 var(--accent-deep);
}
.btn-dark {
  background: var(--dark);
  color: var(--dark-text);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.55);
}
.btn-ghost,
.btn-ghost-dark {
  background: transparent;
  box-shadow: none;
  border: 2.5px solid currentColor;
  padding: 12.5px 26px;
}
.btn-ghost {
  color: var(--dark-text);
}
.btn-ghost-dark {
  color: var(--text);
}
.btn-ghost:hover,
.btn-ghost-dark:hover {
  box-shadow: none;
  background: rgba(var(--text-rgb), 0.07);
}
.btn-small {
  padding: 10px 20px;
  font-size: 0.95rem;
  margin-top: 12px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}
html[lang='ar'] .eyebrow {
  letter-spacing: 0;
  font-size: 1rem;
}
.eyebrow-line {
  display: block;
  height: 3px;
  width: 0;
  border-radius: 3px;
  background: currentColor;
  opacity: 0.55;
  transition: width 0.9s var(--ease) 0.3s;
}
.eyebrow.in .eyebrow-line {
  width: 56px;
}

.title {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  margin: 12px 0 14px;
}
.title em {
  color: var(--primary);
}
.lead-text {
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: var(--muted);
}

.head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
}
.head > :first-child {
  flex: 1 1 520px;
}
.head-lead {
  flex: 1 1 420px;
  max-width: none;
  text-align: end;
}

.draft-note {
  position: fixed;
  inset-inline: 12px;
  bottom: 12px;
  z-index: 70;
  max-width: 560px;
  margin-inline: auto;
  padding: 12px 18px;
  border-radius: var(--radius);
  background: var(--dark);
  color: var(--dark-text);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.draft-note a {
  color: var(--sun);
  text-decoration: underline;
}

@media (max-width: 960px) {
  :root {
    --gutter: 22px;
    --hd: 68px;
  }
}

@media (max-width: 1100px) {
  .head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 34px;
  }
  .head > :first-child,
  .head-lead {
    flex: none;
  }
  .head-lead {
    text-align: start;
  }
}
