/* heshamlocalization.com — business site, built by tools/studio-page.mjs */
@font-face { font-family: 'Geist'; src: url('/fonts/Geist.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Kufi'; src: url('/fonts/NotoKufiArabic.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #0A0B0D; --band: #0F1014; --surface: #121318; --surface-2: #17181E; --rule: #22242A; --rule-2: #2E3038;
  --ink: #F5F6F7; --ink-2: #C9CDD3; --muted: #9CA3AF;
  --accent: #F59E0B; --accent-hi: #FBBF24; --accent-ink: #1A1103; --bad: #F87171; --good: #34D399;
  --radius: 18px; --gutter: 20px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font: 400 16px/1.65 'Geist', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1120px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: 600 15px/1 'Geist', sans-serif; white-space: nowrap; cursor: pointer; transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hi); transform: translateY(-1px); box-shadow: 0 12px 30px -10px rgba(245,158,11,.6); }
.btn--ghost { background: rgba(255,255,255,.04); border-color: var(--rule-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-hi); }
.btn--lg { height: 52px; padding: 0 28px; font-size: 16px; }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(10,11,13,.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); }
.top__in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 28px; height: 28px; color: var(--accent); }
.brand__word { font-size: 17px; color: var(--muted); letter-spacing: -.01em; }
.brand__word b { color: var(--ink); font-weight: 600; }
@media (max-width: 440px) { .top__nav { display: none; } }

/* hero */
.hero { padding: 64px 0 64px; background: radial-gradient(60% 80% at 85% 25%, rgba(245,158,11,.13), transparent 70%); }
.hero__in { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .hero__in { grid-template-columns: 1.25fr 1fr; } }
.pill { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 14px; border-radius: 999px; background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.35); color: var(--accent-hi); font-weight: 700; font-size: 14px; }
.hero__title { margin-top: 18px; font-size: clamp(42px, 7vw, 74px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; }
.hero__sub { margin-top: 18px; max-width: 34em; font-size: clamp(17px, 2.1vw, 19px); color: var(--ink-2); }
.hero__sub b { color: var(--ink); }
.hero .btn--lg { margin-top: 28px; }
.stats { display: block; margin-top: 38px; width: fit-content; }
.stats ul { display: flex; flex-wrap: wrap; gap: 16px 0; }
.stat { display: flex; flex-direction: column; padding-inline: 0 28px; margin-inline-end: 28px; border-inline-end: 1px solid var(--rule-2); }
.stat:last-child { border: 0; margin: 0; padding: 0; }
.stat__num, .stat__num b { font-size: clamp(30px, 4vw, 40px); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat__label { color: var(--ink-2); font-size: 14px; }
.stats__cap { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.stats:hover .stats__cap { color: var(--accent-hi); }
@media (max-width: 560px) {
  .stats ul { display: grid; grid-template-columns: repeat(3, auto); gap: 0; }
  .stat { padding-inline-end: 14px; margin-inline-end: 14px; }
  .stat__num, .stat__num b { font-size: 26px; }
  .stat__label { font-size: 12.5px; line-height: 1.35; }
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgba(52,211,153,.18); }

/* hero demo: broken vs correct Arabic */
.demo { display: grid; gap: 14px; }
.demo__row { padding: 18px 20px 20px; border-radius: var(--radius); border: 1px solid var(--rule-2); background: var(--surface); }
.demo__row--good { border-color: rgba(245,158,11,.55); background: linear-gradient(160deg, rgba(245,158,11,.10), var(--surface) 60%); box-shadow: 0 30px 70px -40px rgba(245,158,11,.55); }
.demo__label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.demo__x, .demo__ok { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 11px; }
.demo__x { background: rgba(248,113,113,.15); color: var(--bad); }
.demo__ok { background: rgba(52,211,153,.15); color: var(--good); }
.demo__menu { margin-top: 12px; display: grid; gap: 6px; font-family: 'Kufi', sans-serif; font-size: 22px; line-height: 1.5; }
.demo__menu li { padding: 6px 14px; border-radius: 10px; }
.demo__menu--bad { color: #8B8F98; text-align: left; }
.demo__menu--good { color: var(--ink); text-align: right; }
.demo__menu--good .is-on { background: rgba(245,158,11,.16); color: var(--accent-hi); }

/* full-width bands */
.band { padding: 72px 0; background: var(--band); border-top: 1px solid var(--rule); }
.band--alt { background: var(--bg); }
.sec { padding: 72px 0; border-top: 1px solid var(--rule); }
.sec__title { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; font-weight: 800; letter-spacing: -.025em; max-width: 22em; }
.sec__intro { margin-top: 12px; color: var(--ink-2); font-size: 17px; max-width: 46em; }
.sec__strong { color: var(--ink); font-weight: 600; }
.facts { margin-top: 36px; display: grid; gap: 28px; }
@media (min-width: 860px) { .facts { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.fact { padding-top: 18px; border-top: 2px solid var(--accent); }
.fact__big, .fact__big b { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; font-weight: 800; letter-spacing: -.025em; }
.fact__text { margin-top: 8px; color: var(--ink-2); }
.points { margin: 36px 0 32px; display: grid; gap: 26px; }
@media (min-width: 860px) { .points { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.point__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(245,158,11,.12); color: var(--accent-hi); }
.point__icon svg, .card__icon svg, .review__icon svg { width: 22px; height: 22px; }
.point__title { margin-top: 14px; font-size: 19px; font-weight: 700; }
.point__text { margin-top: 6px; color: var(--ink-2); }

/* pricing */
.plans { margin-top: 40px; display: grid; gap: 18px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
@media (max-width: 899px) { .plan--hot { order: -1; margin-top: 12px; } }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 24px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--rule-2); }
.plan--hot { border-color: rgba(245,158,11,.75); background: linear-gradient(180deg, rgba(245,158,11,.11), var(--surface) 55%); box-shadow: 0 30px 70px -40px rgba(245,158,11,.6); }
.plan__badge { position: absolute; top: -13px; left: 24px; height: 26px; padding: 0 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; }
.plan__name { font-size: 18px; font-weight: 700; color: var(--ink-2); }
.plan__price { display: flex; align-items: baseline; gap: 10px; font-size: 54px; line-height: 1; font-weight: 800; letter-spacing: -.04em; }
.plan__sep { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.plan__for { color: var(--muted); font-size: 15px; }
.plan__list { margin: 6px 0 4px; display: grid; gap: 10px; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.plan__list svg, .order__about svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--accent-hi); }
.plan__note { font-size: 14px; color: var(--muted); padding-top: 10px; border-top: 1px solid var(--rule); }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 10px; border-top: 1px solid var(--rule); }
.chips__label { width: 100%; font-size: 13px; color: var(--muted); }
.chip { height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--rule-2); font-size: 12.5px; color: var(--ink-2); display: inline-flex; align-items: center; }
.plan .btn { margin-top: auto; }
.plan .chips + .btn, .plan .plan__note + .btn, .plan .plan__list + .btn { margin-top: auto; }
.plan > :nth-last-child(2) { margin-bottom: 14px; }
.disclosure { margin-top: 18px; font-size: 14px; color: var(--muted); }
.review { margin-top: 18px; display: grid; gap: 16px; align-items: center; padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--rule-2); }
@media (min-width: 760px) { .review { grid-template-columns: auto 1fr auto; } }
.review__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.05); color: var(--ink-2); }
.review__text h3 { font-size: 18px; font-weight: 700; }
.review__text p { color: var(--ink-2); font-size: 15px; max-width: 60ch; }
.terms { margin-top: 26px; display: grid; gap: 12px; }
@media (min-width: 760px) { .terms { grid-template-columns: repeat(4, 1fr); } }
.terms li { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--band); border: 1px solid var(--rule); font-size: 14.5px; color: var(--ink-2); }
.terms svg { flex: none; width: 20px; height: 20px; color: var(--accent-hi); }

/* trust row */
.trust { display: grid; gap: 18px; }
@media (min-width: 900px) { .trust { grid-template-columns: repeat(3, 1fr); } }
.card { padding: 28px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--rule-2); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.card--gold { border-color: rgba(245,158,11,.5); }
.card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(245,158,11,.12); color: var(--accent-hi); }
.card__title { font-size: 22px; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; }
.card__lead, .card__lead b { font-size: 20px; line-height: 1.35; font-weight: 800; letter-spacing: -.015em; color: var(--ink); }
.card__text { color: var(--ink-2); }
.card__fine { font-size: 13px; color: var(--muted); }
.card .btn { margin-top: auto; }

/* order */
.order { display: grid; gap: 36px; }
@media (min-width: 900px) { .order { grid-template-columns: 1fr 1.15fr; align-items: start; } }
.order__first { margin-top: 18px; display: inline-block; padding: 8px 14px; border-radius: 12px; background: rgba(245,158,11,.10); border: 1px solid rgba(245,158,11,.35); color: var(--accent-hi); font-weight: 600; font-size: 15px; }
.order__about { margin-top: 18px; display: grid; gap: 10px; }
.order__about li { display: flex; gap: 10px; color: var(--ink-2); }
.order__direct { margin-top: 20px; color: var(--muted); font-size: 15px; }
.order__direct a { color: var(--accent-hi); }
.form { display: grid; gap: 16px; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--rule-2); }
.field { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.field-row { display: grid; gap: 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--rule-2); background: var(--bg); color: var(--ink); font: 400 15px/1.5 'Geist', sans-serif; }
.field input::placeholder { color: #6B7280; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.form__ok { color: var(--accent-hi); font-weight: 600; }
.form__err { color: #FCA5A5; }

/* engine band and engine pages */
.eyebrow { margin-top: 18px; color: var(--muted); font-size: 15px; font-weight: 600; letter-spacing: .01em; }
.eyebrow + .hero__title { margin-top: 6px; }
.engines { margin-top: 36px; display: grid; gap: 16px; }
@media (min-width: 640px) { .engines { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .engines { grid-template-columns: repeat(4, 1fr); } }
.engine { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--rule-2); transition: border-color .15s ease, transform .15s ease; }
.engine:hover { border-color: var(--accent); transform: translateY(-2px); }
.engine__name { font-size: 19px; font-weight: 700; }
.engine__text { color: var(--ink-2); font-size: 15px; }
.engine__more { margin-top: auto; padding-top: 6px; color: var(--accent-hi); font-weight: 600; font-size: 14px; }
.prose { margin-top: 20px; display: grid; gap: 14px; max-width: 46em; color: var(--ink-2); font-size: 17px; }
.do-list { margin-top: 28px; display: grid; gap: 14px; max-width: 46em; }
.do-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 17px; }
.do-list svg { width: 20px; height: 20px; margin-top: 4px; color: var(--accent-hi); }
.foot__engines { flex-basis: 100%; order: 3; }

/* footer */
.foot { border-top: 1px solid var(--rule); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.foot__in { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.foot a:hover { color: var(--ink); }

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