/* ==========================================================================
   FOUND. — managed SEO, GEO and AI visibility
   One stylesheet for every page, both languages.

   Written with logical properties throughout (inline-start / inline-end rather
   than left / right), so the Arabic pages mirror from dir="rtl" alone.

   Breakpoints
     mobile    below 768px      (base styles)
     tablet    768px - 1199px
     desktop   1200px and up
   ========================================================================== */

/* --------------------------------------------------------------- 1. tokens */

:root {
  /* colour */
  --ivory:        #F8F5EF;
  --white:        #FFFFFF;
  --warm:         #F1ECE3;
  --line:         #EEE9E0;
  --line-strong:  #DDD6CA;
  --ink:          #151515;
  --ink-soft:     #514E49;
  --muted:        #5F5C57;
  --clay:         #F06438;
  --clay-soft:    #FDEBE4;
  --sage:         #78947A;
  --sage-soft:    #E8EEE7;
  --sage-light:   #B9CBB6;

  /* type */
  --font-latin: 'Urbanist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-arabic: 'Readex Pro', 'Urbanist', system-ui, sans-serif;
  --font: var(--font-latin);

  --step--1: 0.875rem;
  --step-0:  1rem;
  --step-1:  1.125rem;
  --step-2:  1.25rem;
  --step-3:  clamp(1.5rem, 1.2rem + 1.4vw, 2.125rem);
  --step-4:  clamp(1.75rem, 1.2rem + 2.6vw, 3.125rem);
  --step-5:  clamp(2.125rem, 1.3rem + 3.8vw, 3.625rem);
  --step-6:  clamp(2.5rem, 1.2rem + 5.6vw, 5.5rem);

  /* space */
  --sp-1: 0.5rem;
  --sp-2: 0.75rem;
  --sp-3: 1rem;
  --sp-4: 1.5rem;
  --sp-5: 2rem;
  --sp-6: 3rem;
  --sp-7: 4rem;
  --sp-8: 6rem;

  /* shape */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --shadow-card: 0 16px 34px -20px rgba(21, 21, 21, .25);
  --shadow-float: 0 16px 36px -16px rgba(21, 21, 21, .18);

  --gutter: 1rem;
  --measure: 60rem;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

@media (min-width: 768px)  { :root { --gutter: 1.5rem; } }
@media (min-width: 1200px) { :root { --gutter: 2rem; } }

[lang="ar"] { --font: var(--font-arabic); }

/* ----------------------------------------------------------- 2. foundation */

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

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Arabic needs a little more leading and no tightened tracking */
[lang="ar"] body, [lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3 { letter-spacing: 0; }
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3 { line-height: 1.32; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.08; letter-spacing: -0.03em; }
h1 { font-size: var(--step-6); }
h2 { font-size: var(--step-5); }
h3 { font-size: var(--step-3); }
p  { margin: 0; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; inset-block-start: -100px; inset-inline-start: var(--gutter);
  z-index: 100; padding: .75rem 1.25rem; border-radius: var(--r-md);
  background: var(--ink); color: var(--white); font-weight: 600;
}
.skip-link:focus { inset-block-start: 1rem; }

/* ------------------------------------------------------------- 3. elements */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .625rem; min-height: 48px; padding: .75rem 1.5rem;
  border: 0; border-radius: var(--r-pill);
  font-family: inherit; font-size: var(--step-0); font-weight: 600;
  cursor: pointer; transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #000; }
.btn--clay { background: var(--clay); color: var(--white); }
.btn--clay:hover { background: #d9542b; }
.btn--lg { min-height: 60px; padding-inline: 2rem; font-size: var(--step-1); }
.btn__arrow { flex: none; }
[dir="rtl"] .btn__arrow { transform: scaleX(-1); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem 1rem; border-radius: var(--r-pill);
  background: var(--white); border: 1px solid var(--line);
  font-size: .6875rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
[lang="ar"] .eyebrow { letter-spacing: .04em; }
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
.eyebrow--clay .eyebrow__dot { background: var(--clay); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
}

.icon-badge {
  flex: none; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: var(--r-sm);
  background: var(--clay-soft); color: var(--clay);
}
.icon-badge--sage { background: var(--sage-soft); color: #4F6B52; }
.icon-badge--warm { background: var(--warm); color: var(--ink); }

.panel {
  background: var(--white);
  border-radius: var(--r-xl);
  padding-block: var(--sp-7);
}
.panel--dark { background: var(--ink); color: var(--white); }
.panel--warm { background: var(--warm); }

.section { padding-block: var(--sp-7); }
@media (min-width: 768px)  { .section { padding-block: var(--sp-8); } }

.section__head { max-width: 46rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__lede {
  margin-block-start: var(--sp-3);
  font-size: var(--step-1); line-height: 1.7; color: var(--ink-soft);
}

/* --------------------------------------------------------------- 4. header */

.site-header {
  position: sticky; inset-block-start: 0; z-index: 40;
  padding-block: .75rem;
  background: color-mix(in srgb, var(--ivory) 88%, transparent);
  backdrop-filter: blur(12px);
}
.site-header__inner {
  display: flex; align-items: center; gap: var(--sp-3);
  min-height: 60px; padding-inline: 1.25rem;
  background: var(--white); border-radius: var(--r-lg);
  box-shadow: 0 1px 0 var(--line);
}
.site-header__logo img { height: 34px; width: auto; }
.site-nav { display: none; }
.site-header__spacer { flex: 1 1 auto; }

.lang-switch {
  display: flex; align-items: center; gap: .625rem;
  font-size: .9375rem; font-weight: 600;
}
.lang-switch__sep { width: 1px; height: 14px; background: var(--line-strong); }
.lang-switch a, .lang-switch > span[aria-current] {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 32px;
}
.lang-switch a { color: var(--muted); font-weight: 500; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch [aria-current="true"] { color: var(--ink); }

.menu-toggle {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; margin-inline-start: -.25rem;
  border: 0; border-radius: var(--r-sm); background: transparent;
  color: var(--ink); cursor: pointer;
}
.menu-toggle__bar {
  display: block; width: 20px; height: 2px; margin-block: 3px;
  background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s linear;
}
[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { transform: translateY(5px) rotate(45deg); }
[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { opacity: 0; }
[aria-expanded="true"] .menu-toggle__bar:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 50;
  display: none; flex-direction: column; gap: var(--sp-2);
  padding: 5.5rem var(--gutter) var(--gutter);
  background: var(--ivory);
  overflow-y: auto;
}
.mobile-menu[data-open="true"] { display: flex; }
.mobile-menu a {
  padding: 1rem 1.25rem; border-radius: var(--r-md);
  background: var(--white); border: 1px solid var(--line);
  font-size: var(--step-2); font-weight: 600;
}
.mobile-menu__close {
  position: absolute; inset-block-start: 1.5rem; inset-inline-end: var(--gutter);
  width: 48px; height: 48px; border: 0; border-radius: var(--r-sm);
  background: var(--white); color: var(--ink); font-size: 1.5rem; cursor: pointer;
}
body[data-menu-open="true"] { overflow: hidden; }

@media (min-width: 768px) {
  .site-header__logo img { height: 40px; }
  .site-nav { display: flex; align-items: center; gap: var(--sp-4); font-size: .9375rem; font-weight: 500; }
  .site-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
  .site-nav a:hover { color: var(--ink); }
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* ----------------------------------------------------------------- 5. hero */

.hero { position: relative; padding-block: var(--sp-6) var(--sp-5); }
.hero__inner {
  position: relative; z-index: 2;
  max-width: 54rem; margin-inline: auto; text-align: center;
}
.hero h1 { margin-block: var(--sp-4) 0; }
.hero__mark {
  display: inline-block; height: .78em; width: auto;
  vertical-align: baseline; margin-inline: .12em;
  transform: translateY(.04em);
}
.hero__lede {
  margin-block-start: var(--sp-4); margin-inline: auto;
  max-width: 34rem; font-size: var(--step-1); line-height: 1.7; color: var(--ink-soft);
}
.hero__cta { margin-block-start: var(--sp-5); }

.offer-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: var(--sp-2) var(--sp-4);
  margin-block-start: var(--sp-5); padding: var(--sp-3) var(--sp-4);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-card);
}
.offer-strip__tag { display: flex; flex-direction: column; line-height: 1.25; }
.offer-strip__label { font-size: .6875rem; font-weight: 700; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.offer-strip__off { font-size: var(--step-2); font-weight: 700; color: var(--clay); }
.offer-strip__price { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.125rem); font-weight: 700; }
.offer-strip__per { font-size: var(--step-0); color: var(--muted); }
.offer-strip__rule { width: 1px; align-self: stretch; background: var(--line); }
.offer-strip__spots { display: flex; align-items: center; gap: .5rem; font-size: var(--step-1); font-weight: 700; }
.spot-dot { width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--clay); }
.spot-dot--filled { background: var(--clay); }

.hero__note {
  margin-block-start: var(--sp-3); margin-inline: auto; max-width: 34rem;
  font-size: var(--step--1); font-weight: 600; color: var(--muted);
}

.partner {
  display: inline-flex; align-items: center; gap: .75rem;
  margin-block-start: var(--sp-5); padding: .5rem 1.25rem .5rem .5rem;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-pill); box-shadow: var(--shadow-float);
  text-align: start;
}
[dir="rtl"] .partner { padding: .5rem .5rem .5rem 1.25rem; }
.partner img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.partner__name { font-size: .90625rem; font-weight: 700; }
.partner__role { font-size: .8125rem; color: var(--muted); }

/* the floating chips — decoration, so they sit behind the content */
.hero__chips { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: .625rem;
  padding: .5rem 1.125rem .5rem .5rem;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-pill); box-shadow: var(--shadow-float);
  font-size: var(--step-0); font-weight: 600; white-space: nowrap;
}
[dir="rtl"] .chip { padding: .5rem .5rem .5rem 1.125rem; }
.chip--rev { padding: .5rem .5rem .5rem 1.25rem; }
[dir="rtl"] .chip--rev { padding: .5rem 1.25rem .5rem .5rem; }
.chip__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.chip__circle {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sage); color: var(--white);
  border: 1px solid transparent; box-sizing: border-box;
}

/* SEO -> GEO roll */
.word-swap { position: relative; display: inline-grid; height: 1.2em; overflow: hidden; vertical-align: -.22em; }
.word-swap > span { grid-area: 1 / 1; display: block; white-space: nowrap; line-height: 1.2; }
.word-swap .w1 { animation: wordA 5.6s cubic-bezier(.65,0,.35,1) infinite; }
.word-swap .w2 { animation: wordB 5.6s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes wordA { 0%,42% { transform: translateY(0); opacity: 1 } 50%,92% { transform: translateY(-115%); opacity: 0 } 100% { transform: translateY(0); opacity: 1 } }
@keyframes wordB { 0%,42% { transform: translateY(115%); opacity: 0 } 50%,92% { transform: translateY(0); opacity: 1 } 100% { transform: translateY(115%); opacity: 0 } }

/* eye -> ChatGPT -> Claude -> Gemini */
.icon-cycle { position: relative; display: block; width: 22px; height: 22px; }
.icon-cycle > * {
  position: absolute; inset-inline-start: 50%; inset-block-start: 50%; opacity: 0;
  animation: iconCycle 8s cubic-bezier(.22,1,.36,1) infinite;
}
@keyframes iconCycle {
  0%          { opacity: 0; transform: translate(-50%, -50%) scale(.6) }
  2.5%, 23.5% { opacity: 1; transform: translate(-50%, -50%) scale(1) }
  25.5%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(.6) }
}
[dir="rtl"] .icon-cycle > * { transform: translate(50%, -50%); }
[dir="rtl"] .icon-cycle > * { animation-name: iconCycleRtl; }
@keyframes iconCycleRtl {
  0%          { opacity: 0; transform: translate(50%, -50%) scale(.6) }
  2.5%, 23.5% { opacity: 1; transform: translate(50%, -50%) scale(1) }
  25.5%, 100% { opacity: 0; transform: translate(50%, -50%) scale(.6) }
}
.chip__circle--cycling { animation: circleBg 8s cubic-bezier(.22,1,.36,1) infinite; }
@keyframes circleBg {
  0%, 21%  { background: var(--sage); border-color: transparent }
  25%, 98% { background: var(--white); border-color: var(--line) }
  100%     { background: var(--sage); border-color: transparent }
}

/* the phone version of the same three chips */
.hero__chiprow {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4375rem;
  margin-block-start: var(--sp-4);
}
.chip-sm {
  display: flex; align-items: center; gap: .4375rem;
  min-height: 44px; padding-inline: .625rem;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; font-size: .78125rem; font-weight: 600; text-align: start;
}
.chip-sm__icon { flex: none; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; }

.hero__band {
  display: flex; align-items: center; gap: var(--sp-3);
  margin-block-start: var(--sp-5); padding: var(--sp-4);
  background: var(--ink); color: var(--white); border-radius: var(--r-lg);
  text-align: start;
}
.hero__band strong { display: block; font-size: var(--step-2); font-weight: 600; }
.hero__band span { font-size: var(--step--1); color: #B9B5AE; }

.benefits {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-2); margin-block-start: var(--sp-3);
}
.benefit {
  display: flex; flex-direction: column; gap: .625rem;
  padding: var(--sp-3);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  font-size: .9375rem; font-weight: 600; line-height: 1.4;
}

@media (min-width: 768px) {
  .hero { padding-block: var(--sp-7) var(--sp-6); }
  .hero__chiprow { display: none; }
  .hero__chips { display: block; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
  .hero__chips .chip { position: absolute; pointer-events: auto; }
  .chip--seo { inset-block-start: 2.5rem; inset-inline-start: 1rem; }
  .chip--ai  { inset-block-start: 2rem; inset-inline-end: 1rem; }
  .chip--customers, .chip--partner { display: none; }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
}

@media (min-width: 1200px) {
  .chip--seo { inset-block-start: 4.5rem; inset-inline-start: 5rem; }
  .chip--ai  { inset-block-start: 4rem; inset-inline-end: 6rem; }
  .chip--customers { display: inline-flex; inset-block-start: 18rem; inset-inline-start: 3rem; }
  .benefits { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hero__band { display: none; }
  .benefit--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
  .benefit--dark span { color: #B9B5AE; font-weight: 400; }
}

/* --------------------------------------------------- 6. two-column compare */

.split {
  display: grid; gap: var(--sp-4);
  margin-block-start: var(--sp-6);
}
@media (min-width: 768px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); } }

.stat-card {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-4); border-radius: var(--r-lg);
  background: var(--warm);
}
.stat-card--strong { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.stat-card__label { font-size: var(--step-2); font-weight: 600; }
.stat-card__note { font-size: var(--step-0); color: var(--muted); }

/* --------------------------------------------------------- 7. the process  */

.process { display: grid; gap: var(--sp-5); margin-block-start: var(--sp-6); }
@media (min-width: 1200px) { .process { grid-template-columns: 1fr 1fr; align-items: start; gap: var(--sp-7); } }

.steps { display: flex; flex-direction: column; gap: .75rem; }
.step {
  display: flex; align-items: flex-start; gap: .875rem;
  width: 100%; padding: var(--sp-3);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  font-family: inherit; font-size: var(--step-1); font-weight: 600;
  text-align: start; color: var(--ink); cursor: pointer;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.step[aria-expanded="true"] { border-color: var(--line-strong); box-shadow: var(--shadow-card); }
.step__num {
  flex: none; font-size: .8125rem; font-weight: 700; color: var(--clay);
  padding-block-start: .25rem;
}
.step__body { flex: 1 1 auto; }
.step__detail {
  display: none; margin-block-start: .5rem;
  font-size: var(--step-0); font-weight: 400; line-height: 1.7; color: var(--ink-soft);
}
.step[aria-expanded="true"] .step__detail { display: block; }

.facts {
  padding: var(--sp-4);
  background: var(--ink); color: var(--white); border-radius: var(--r-lg);
}
.facts__head { display: flex; align-items: center; gap: .75rem; margin-block-end: var(--sp-3); }
.facts__title { font-size: var(--step-1); font-weight: 600; }
.facts__sub { font-size: .8125rem; color: #B9B5AE; }
.facts__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.facts__list li {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .75rem 1rem; background: #1F1F1E; border-radius: var(--r-sm);
  font-size: var(--step-0); font-weight: 500;
}
.facts__tick { flex: none; color: var(--sage-light); }

/* ------------------------------------------------------------ 8. dark band */

.band {
  margin-block-start: var(--sp-6);
  padding: var(--sp-7) var(--sp-4);
  background: var(--ink); color: var(--white);
  border-radius: var(--r-xl); text-align: center;
}
.band .eyebrow { background: #262625; border-color: #333230; color: #D9D5CE; }
.band h2 { margin-block-start: var(--sp-4); }
.band__alt { color: var(--sage-light); }

/* ----------------------------------------------------------- 9. content AI */

.ai-note {
  display: inline-flex; align-items: baseline; gap: .5rem; flex-wrap: wrap;
  margin-block-start: var(--sp-5); padding: var(--sp-3) var(--sp-4);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
}
.ai-note__tag {
  font-size: .8125rem; font-weight: 700; color: var(--clay);
  padding: .125rem .5rem; background: var(--clay-soft); border-radius: 6px;
}
.ai-note__line { font-size: var(--step-1); color: var(--ink-soft); }
.ai-note__punch { font-size: var(--step-3); font-weight: 600; }

.draft-compare { display: grid; gap: var(--sp-3); margin-block-start: var(--sp-5); }
@media (min-width: 768px) { .draft-compare { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.draft {
  padding: var(--sp-4); border-radius: var(--r-lg);
  background: var(--warm); border: 1px solid var(--line);
}
.draft--ours { background: var(--white); box-shadow: var(--shadow-card); }
.draft__label {
  display: inline-block; margin-block-end: var(--sp-3);
  font-size: .8125rem; font-weight: 700; color: var(--muted);
}
.draft__lines { display: flex; flex-direction: column; gap: .5rem; }
.draft__lines span { display: block; height: 10px; border-radius: 999px; background: var(--line); }
.draft__list { display: flex; flex-direction: column; gap: .375rem; font-size: var(--step-3); font-weight: 600; }

/* ----------------------------------------------------- 10. comparison grid */

.compare { margin-block-start: var(--sp-6); overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; min-width: 44rem; }
.compare caption { text-align: start; padding-block-end: var(--sp-3); color: var(--muted); font-size: var(--step--1); }
.compare th, .compare td {
  padding: 1rem .875rem; text-align: start; vertical-align: top;
  border-block-end: 1px solid var(--line); font-size: .9375rem;
}
.compare thead th { font-size: .9375rem; font-weight: 600; color: var(--muted); }
.compare tbody th { font-weight: 600; width: 26%; }
.compare .col-ours { background: var(--sage-soft); font-weight: 600; }
.compare thead .col-ours { border-start-start-radius: var(--r-md); border-start-end-radius: var(--r-md); color: var(--ink); font-weight: 700; }
.compare tbody tr:last-child .col-ours { border-end-start-radius: var(--r-md); border-end-end-radius: var(--r-md); }
.compare td { color: var(--ink-soft); }
.compare td.col-ours { color: var(--ink); }

/* ------------------------------------------------------- 11. transparency  */

.transparency { display: grid; gap: var(--sp-5); }
@media (min-width: 1200px) { .transparency { grid-template-columns: 1fr 1fr; align-items: center; } }
.transparency__lines { font-size: var(--step-3); font-weight: 500; line-height: 1.5; color: #B9B5AE; }
.transparency__lines strong { color: var(--white); font-weight: 500; }
.notes { display: grid; gap: var(--sp-3); margin-block-start: var(--sp-4); }
@media (min-width: 768px) { .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.note {
  padding: var(--sp-3); border-radius: var(--r-md);
  background: #1F1F1E; font-size: var(--step-0); line-height: 1.6; color: #D9D5CE;
}

/* ---------------------------------------------------------- 12. the proof  */

.proof { display: grid; gap: var(--sp-4); margin-block-start: var(--sp-6); }
@media (min-width: 768px) { .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .proof__item--wide { grid-column: 1 / -1; } }
.proof__item {
  display: flex; flex-direction: column; gap: var(--sp-3);
  padding: var(--sp-4); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg);
}
.proof__shot { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.proof__shot img { width: 100%; }
.proof__stat { font-size: var(--step-3); font-weight: 600; }
.proof__text { font-size: .9375rem; line-height: 1.7; color: var(--ink-soft); }

/* ------------------------------------------------------------- 13. the FAQ */

.faq { display: flex; flex-direction: column; gap: .625rem; margin-block-start: var(--sp-5); }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  width: 100%; padding: 1.125rem var(--sp-4);
  border: 0; background: transparent; color: var(--ink);
  font-family: inherit; font-size: var(--step-1); font-weight: 600;
  text-align: start; cursor: pointer;
}
.faq__sign { flex: none; transition: transform .3s var(--ease); }
.faq__q[aria-expanded="true"] .faq__sign { transform: rotate(45deg); }
.faq__a { display: none; padding: 0 var(--sp-4) var(--sp-4); }
.faq__q[aria-expanded="true"] + .faq__a { display: block; }
.faq__a p { margin-block-end: .75rem; font-size: var(--step-0); line-height: 1.8; color: var(--ink-soft); }
.faq__a p:last-child { margin-block-end: 0; }
.faq__a p:first-child { font-weight: 600; color: var(--ink); }

/* ------------------------------------------------------------- 14. pricing */

.offer { margin-block-start: var(--sp-6); }
.offer__grid { display: grid; gap: var(--sp-4); }
@media (min-width: 1200px) { .offer__grid { grid-template-columns: 1fr 1.15fr; align-items: start; } }

.price-card {
  padding: var(--sp-5); background: var(--ink); color: var(--white);
  border-radius: var(--r-xl);
}
.price-card .eyebrow { background: #262625; border-color: #333230; color: #D9D5CE; }
.price-card__amount {
  display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap;
  margin-block-start: var(--sp-4);
}
.price-card__value { font-size: clamp(3rem, 2rem + 5vw, 4.5rem); font-weight: 700; line-height: 1; }
.price-card__per { font-size: var(--step-2); color: #B9B5AE; }
.price-card__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-block-start: var(--sp-3); }
.price-card__pill {
  padding: .375rem .875rem; border-radius: var(--r-pill);
  background: #262625; font-size: .875rem; font-weight: 600;
}
.price-card__after { margin-block-start: var(--sp-4); font-size: .9375rem; line-height: 1.7; color: #B9B5AE; }
.price-card .btn { margin-block-start: var(--sp-5); width: 100%; }

.includes { display: grid; gap: var(--sp-3); }
@media (min-width: 768px) { .includes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.includes__group {
  padding: var(--sp-4); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg);
}
.includes__title { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
[lang="ar"] .includes__title { letter-spacing: 0; }
.includes__list { list-style: none; margin: var(--sp-3) 0 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.includes__list li { display: flex; align-items: center; gap: .5rem; font-size: var(--step-0); font-weight: 500; }
.includes__list svg { flex: none; color: var(--sage); }

.offer__why { display: grid; gap: var(--sp-4); margin-block-start: var(--sp-5); }
@media (min-width: 768px) { .offer__why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.why { padding: var(--sp-4); background: var(--warm); border-radius: var(--r-lg); }
.why h3 { font-size: var(--step-2); }
.why p { margin-block-start: .75rem; font-size: var(--step-0); line-height: 1.7; color: var(--ink-soft); }

.timeline { display: flex; align-items: center; gap: .5rem; margin-block-start: var(--sp-4); }
.timeline__dot {
  flex: none; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--line);
  font-size: .8125rem; font-weight: 700;
}
.timeline__dot--on { background: var(--sage); border-color: var(--sage); color: var(--white); }
.timeline__rule { flex: 1 1 auto; height: 2px; background: var(--line); }
.timeline__labels { display: flex; justify-content: space-between; gap: .5rem; margin-block-start: .75rem; font-size: .8125rem; font-weight: 600; }

/* --------------------------------------------------------- 15. closing CTA */

.closing { margin-block-start: var(--sp-6); padding: var(--sp-7) var(--sp-4); background: var(--ink); color: var(--white); border-radius: var(--r-xl); text-align: center; }
.closing h2 { margin-block-end: var(--sp-5); }
.closing__note { margin-block-start: var(--sp-4); font-size: .9375rem; color: #B9B5AE; }

/* --------------------------------------------------------------- 16. forms */

.apply { margin-block-start: var(--sp-5); margin-inline: auto; max-width: 30rem; text-align: start; }
.field { display: flex; flex-direction: column; gap: .375rem; margin-block-end: var(--sp-3); }
.field label { font-size: .875rem; font-weight: 600; }
.field input, .field textarea {
  width: 100%; padding: .875rem 1rem;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--white); color: var(--ink);
  font-family: inherit; font-size: var(--step-0);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--clay); outline-offset: 1px; border-color: transparent; }
.closing .field label { color: #D9D5CE; }

/* --------------------------------------------------------------- 17. legal */

.legal { padding-block: var(--sp-6) var(--sp-7); }
.legal__panel { background: var(--white); border-radius: var(--r-xl); padding: var(--sp-5) var(--gutter); }
@media (min-width: 768px) { .legal__panel { padding: var(--sp-7) var(--sp-6); } }
.legal__inner { width: 100%; max-width: 54rem; margin-inline: auto; }
.legal__date { display: block; margin-block-start: var(--sp-3); font-size: .875rem; font-weight: 600; color: var(--clay); }
.legal__intro { margin-block: var(--sp-4) var(--sp-5); font-size: var(--step-2); line-height: 1.75; color: var(--ink-soft); }
.legal__section { display: flex; gap: var(--sp-3); padding-block: var(--sp-5); border-block-start: 1px solid var(--line); }
.legal__num {
  flex: none; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--warm); color: var(--muted);
  font-family: var(--font-latin); font-size: .8125rem; font-weight: 700;
}
.legal__body { flex: 1 1 auto; }
.legal__body h2 { font-size: var(--step-3); }
.legal__body p { margin-block-start: .875rem; font-size: var(--step-1); line-height: 1.9; color: var(--ink-soft); }

/* -------------------------------------------------------------- 18. footer */

.site-footer { padding-block: var(--sp-5) var(--sp-6); }
.site-footer__inner {
  display: flex; flex-direction: column; gap: var(--sp-4);
  font-size: .875rem; color: var(--muted);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: .25rem 1.375rem; font-weight: 500; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__meta a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 32px; }
.site-footer__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .875rem; }
.site-footer img { height: 36px; width: auto; }
@media (min-width: 768px) {
  .site-footer__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------------------------------------------------------- 19. sticky CTA */

.sticky-cta {
  position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 30;
  display: flex; align-items: center; gap: var(--sp-3);
  padding: .75rem var(--gutter);
  background: color-mix(in srgb, var(--ivory) 92%, transparent);
  backdrop-filter: blur(12px);
  border-block-start: 1px solid var(--line);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.sticky-cta[data-show="true"] { transform: none; }
.sticky-cta__price { font-size: var(--step-0); font-weight: 700; }
.sticky-cta__note { font-size: .75rem; color: var(--muted); }
.sticky-cta .btn { margin-inline-start: auto; }
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* ------------------------------------------------------------- 20. motion  */

/* content is visible by default; only a page with JS running hides it to reveal
   it on scroll, so the site never depends on JS to be readable */
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal, .js .reveal { opacity: 1; transform: none; }
  .word-swap .w2, .icon-cycle > * { opacity: 0; }
  .word-swap .w1, .icon-cycle > *:first-child { opacity: 1; }
}

/* ------------------------------------------------ 13. interactions (fix) */
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* FAQ: the button sits inside an h3, so open state is read from the item */
.faq__item[data-open="true"] .faq__a,
.faq__item:has(.faq__q[aria-expanded="true"]) .faq__a { display: block; animation: fadeDown .35s var(--ease); }
.faq__item[data-open="true"] { border-color: var(--line-strong); }

/* process steps: open animation + progress bar while auto-playing */
.step { position: relative; overflow: hidden; }
.step[aria-expanded="true"] .step__detail { animation: fadeDown .35s var(--ease); }
.steps[data-autoplay="true"] .step[aria-expanded="true"]::after {
  content: ""; position: absolute; inset-block-end: 0; inset-inline-start: 0;
  height: 2px; width: 0; background: var(--clay);
  animation: stepBar var(--step-time, 5s) linear forwards;
}
@keyframes stepBar { to { width: 100%; } }

/* "Your business" panel: rows arrive one by one, then the tick pops */
@keyframes factIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes tickPop { 0% { opacity: 0; transform: scale(.4); } 70% { transform: scale(1.2); } 100% { opacity: 1; transform: none; } }
.js .facts .facts__list li, .js .facts .facts__tick { opacity: 0; }
.facts.is-in .facts__list li { animation: factIn .55s var(--ease) forwards; }
.facts.is-in .facts__tick { animation: tickPop .45s var(--ease) forwards; }
.facts.is-in li:nth-child(1) { animation-delay: .25s; } .facts.is-in li:nth-child(1) .facts__tick { animation-delay: .6s; }
.facts.is-in li:nth-child(2) { animation-delay: .4s; }  .facts.is-in li:nth-child(2) .facts__tick { animation-delay: .75s; }
.facts.is-in li:nth-child(3) { animation-delay: .55s; } .facts.is-in li:nth-child(3) .facts__tick { animation-delay: .9s; }
.facts.is-in li:nth-child(4) { animation-delay: .7s; }  .facts.is-in li:nth-child(4) .facts__tick { animation-delay: 1.05s; }
.facts.is-in li:nth-child(5) { animation-delay: .85s; } .facts.is-in li:nth-child(5) .facts__tick { animation-delay: 1.2s; }

/* draft compare: generic lines fill in and shimmer; ours writes itself line by line */
@keyframes lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.draft__lines span { transform-origin: left center; }
[dir="rtl"] .draft__lines span { transform-origin: right center; }
.js .draft .draft__lines span { transform: scaleX(0); }
.draft.is-in .draft__lines span {
  background: linear-gradient(90deg, var(--line) 0%, #E4DDD1 50%, var(--line) 100%);
  background-size: 200% 100%;
  animation: lineGrow .7s var(--ease) forwards, shimmer 2.4s linear 1s infinite;
}
.draft.is-in .draft__lines span:nth-child(2) { animation-delay: .12s, 1.1s; }
.draft.is-in .draft__lines span:nth-child(3) { animation-delay: .24s, 1.2s; }
.draft.is-in .draft__lines span:nth-child(4) { animation-delay: .36s, 1.3s; }
.js .draft--ours .draft__list span { opacity: 0; }
.draft--ours.is-in .draft__list span { animation: factIn .6s var(--ease) forwards; }
.draft--ours.is-in .draft__list span:nth-child(1) { animation-delay: .5s; }
.draft--ours.is-in .draft__list span:nth-child(2) { animation-delay: .85s; }
.draft--ours.is-in .draft__list span:nth-child(3) { animation-delay: 1.2s; }
.draft--ours.is-in .draft__list span:nth-child(4) { animation-delay: 1.55s; }

@media (prefers-reduced-motion: reduce) {
  .js .facts .facts__list li, .js .facts .facts__tick,
  .js .draft--ours .draft__list span { opacity: 1; animation: none !important; }
  .js .draft .draft__lines span { transform: none; animation: none !important; }
  .steps[data-autoplay="true"] .step[aria-expanded="true"]::after { display: none; }
}
