:root {
  --ink: #101828;
  --ink-soft: #344054;
  --muted: #667085;
  --line: #e4e7ec;
  --surface: #ffffff;
  --canvas: #f7f8fa;
  --health: #175bd8;
  --health-deep: #0c3f9d;
  --health-soft: #eaf1ff;
  --frozen: #c24f42;
  --frozen-deep: #7f2e28;
  --frozen-soft: #fff0ed;
  --cosmetics: #9b3157;
  --cosmetics-deep: #6f1838;
  --cosmetics-soft: #fff0f5;
  --mint: #0a9b72;
  --yellow: #f7c948;
  color: var(--ink);
  background: var(--surface);
  font-family: "Alexandria", "SF Arabic", "Geeza Pro", Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--ink);
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  right: .75rem;
  padding: .75rem 1rem;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

.content-width,
.header-inner,
.hero-inner { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: relative;
  z-index: 20;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(228, 231, 236, .84);
  backdrop-filter: saturate(180%) blur(16px);
}
.header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}
.brand { display: inline-flex; align-items: center; gap: .8rem; width: fit-content; text-decoration: none; }
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
}
.brand-copy { display: grid; gap: .08rem; }
.brand-copy strong { font-family: "Alexandria", sans-serif; font-size: .95rem; font-weight: 700; }
.brand-copy small { color: var(--muted); font-family: "Alexandria", sans-serif; font-size: .55rem; letter-spacing: .16em; }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a { color: var(--ink-soft); font-size: .82rem; font-weight: 700; text-decoration: none; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--health); }
.header-action {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .72rem 1rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.header-action:hover, .header-action:focus-visible { border-color: var(--health); color: var(--health); transform: translateY(-1px); }

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: auto 0 0;
  height: 108px;
  background: var(--canvas);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}
.hero-backdrop { position: absolute; z-index: 0; inset: 0; pointer-events: none; overflow: hidden; }
.hero-backdrop::before {
  content: "";
  position: absolute;
  width: 470px;
  height: 470px;
  top: -260px;
  right: -120px;
  border: 96px solid var(--health-soft);
  border-radius: 50%;
}
.hero-backdrop::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  left: -104px;
  bottom: 84px;
  border: 56px solid var(--frozen-soft);
  border-radius: 50%;
}
.hero-backdrop span { position: absolute; height: 1px; background: #eef0f3; transform: rotate(-14deg); transform-origin: left center; }
.hero-backdrop span:nth-child(1) { width: 62%; left: -10%; top: 20%; }
.hero-backdrop span:nth-child(2) { width: 70%; left: 46%; top: 58%; }
.hero-backdrop span:nth-child(3) { width: 42%; left: 8%; bottom: 18%; }
.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6.5rem);
  padding: 3.4rem 0 5rem;
}
.section-label {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1.2rem;
  color: var(--health);
  font-family: "Alexandria", sans-serif;
  font-size: .72rem;
  font-weight: 700;
}
.section-label::before { content: ""; width: 28px; height: 3px; background: currentColor; border-radius: 3px; }
.hero h1,
.services-heading h2,
.service-copy h2,
.why-heading h2,
.closing h2 {
  margin: 0;
  font-family: "Alexandria", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}
.hero h1 { font-size: clamp(3.4rem, 6vw, 6rem); line-height: 1.14; }
.hero h1 span { color: var(--health); }
.hero-lead { max-width: 610px; margin: 1.5rem 0 1.8rem; color: var(--muted); font-size: clamp(.98rem, 1.45vw, 1.12rem); line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: .75rem 1.18rem;
  border: 1px solid transparent;
  border-radius: 7px;
  font-family: "Alexandria", sans-serif;
  font-size: .82rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button--primary { background: var(--health); color: #fff; box-shadow: 0 14px 32px rgba(23, 91, 216, .18); }
.button--primary:hover, .button--primary:focus-visible { box-shadow: 0 18px 38px rgba(23, 91, 216, .28); }
.button--cosmetics { background: var(--cosmetics); color: #fff; box-shadow: 0 14px 32px rgba(155, 49, 87, .2); }
.button--cosmetics:hover, .button--cosmetics:focus-visible { box-shadow: 0 18px 38px rgba(155, 49, 87, .3); }
.button--secondary { border-color: var(--line); background: #fff; color: var(--ink); }
.button--secondary:hover, .button--secondary:focus-visible { border-color: var(--frozen); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.8rem; color: var(--ink-soft); font-size: .72rem; font-weight: 700; }
.hero-trust span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(10, 155, 114, .1); }

.device-stage { position: relative; min-height: 580px; direction: ltr; }
.device-link { position: absolute; display: block; text-decoration: none; }
.device-link--health { z-index: 3; left: -2%; top: 11%; transform: rotate(-7deg) scale(.72); transform-origin: center bottom; }
.device-link--cosmetics { z-index: 5; left: 50%; top: 0; transform: translateX(-50%); }
.device-link--frozen { z-index: 2; right: -5%; bottom: 0; transform: rotate(7deg) scale(.7); transform-origin: bottom center; }
.iphone {
  position: relative;
  width: 278px;
  aspect-ratio: 428 / 926;
  display: block;
  padding: 7px;
  border: 2px solid #51545b;
  border-radius: 48px;
  background: #050506;
  box-shadow: 0 38px 70px rgba(16, 24, 40, .25), 0 8px 18px rgba(16, 24, 40, .16), inset 0 0 0 1px #93969d;
}
.iphone::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 43px;
  pointer-events: none;
}
.iphone-screen { position: relative; width: 100%; height: 100%; display: block; overflow: hidden; border-radius: 40px; background: #fff; }
.iphone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.iphone-notch {
  position: absolute;
  z-index: 5;
  width: 49%;
  height: 4.15%;
  top: 6px;
  left: 50%;
  display: block;
  border-radius: 0 0 18px 18px;
  background: #050506;
  transform: translateX(-50%);
}
.iphone-notch i { position: absolute; width: 35%; height: 4px; top: 8px; left: 50%; border-radius: 4px; background: #25262a; transform: translateX(-50%); }
.iphone-notch b { position: absolute; width: 6px; height: 6px; top: 7px; right: 17%; border-radius: 50%; background: #132033; box-shadow: inset 0 0 0 1px #273b5a; }
.iphone-button { position: absolute; z-index: -1; width: 3px; border-radius: 3px 0 0 3px; background: #32343a; }
.iphone-button--silent { height: 24px; top: 15%; left: -5px; }
.iphone-button--volume-up { height: 45px; top: 21%; left: -5px; }
.iphone-button--volume-down { height: 45px; top: 29%; left: -5px; }
.iphone-button--power { height: 72px; top: 23%; right: -5px; border-radius: 0 3px 3px 0; }
.device-link:hover .iphone, .device-link:focus-visible .iphone { box-shadow: 0 44px 78px rgba(16, 24, 40, .3), 0 10px 20px rgba(16, 24, 40, .17), inset 0 0 0 1px #93969d; }
.stage-stamp {
  position: absolute;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem .75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 34px rgba(16, 24, 40, .1);
  direction: rtl;
}
.stage-stamp img { width: 42px; height: 42px; border-radius: 8px; }
.stage-stamp span { display: grid; gap: .1rem; }
.stage-stamp strong { font-family: "Alexandria", sans-serif; font-size: .72rem; }
.stage-stamp small { color: var(--muted); font-size: .6rem; }
.stage-stamp--health { top: 35%; left: 0; }
.stage-stamp--cosmetics { top: 5%; right: 0; }
.stage-stamp--frozen { right: 0; bottom: 10%; }
.scroll-cue {
  position: absolute;
  z-index: 5;
  bottom: 25px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--muted);
  font-size: .65rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateX(-50%);
}
.scroll-cue span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); }

.services-intro { padding: 7rem 0 5rem; background: var(--canvas); }
.services-heading { display: grid; grid-template-columns: .8fr 1.2fr; column-gap: 4rem; align-items: end; }
.services-heading .section-label { grid-column: 1 / -1; }
.services-heading h2 { font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: 1.2; }
.services-heading > p { max-width: 560px; margin: 0 0 .55rem; color: var(--muted); font-size: 1rem; line-height: 2; }

.service-band { position: relative; overflow: hidden; padding: 7rem 0; }
.service-band--health { background: var(--health-soft); }
.service-band--frozen { background: var(--frozen-soft); }
.service-band--cosmetics { background: var(--cosmetics-soft); }
.service-layout { min-height: 680px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(460px, 1.05fr); align-items: center; gap: clamp(3rem, 8vw, 8rem); }
.service-layout--reverse { direction: ltr; }
.service-layout--reverse > * { direction: rtl; }
.service-copy { position: relative; z-index: 2; }
.service-identity { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.5rem; }
.service-identity img { width: 58px; height: 58px; border-radius: 12px; box-shadow: 0 8px 20px rgba(16, 24, 40, .1); }
.service-identity span { display: grid; gap: .1rem; }
.service-identity small { color: var(--muted); font-family: "Alexandria", sans-serif; font-size: .6rem; }
.service-identity strong { font-family: "Alexandria", sans-serif; font-size: .94rem; }
.service-copy h2 { font-size: clamp(2.8rem, 5vw, 5rem); line-height: 1.2; }
.service-copy > p { max-width: 560px; margin: 1.5rem 0 2rem; color: var(--ink-soft); font-size: 1rem; line-height: 2; }
.feature-list { display: grid; gap: 0; margin: 0 0 2.2rem; padding: 0; list-style: none; border-top: 1px solid rgba(16, 24, 40, .12); }
.feature-list li { min-height: 50px; display: flex; align-items: center; gap: 1rem; border-bottom: 1px solid rgba(16, 24, 40, .12); color: var(--ink-soft); font-size: .82rem; font-weight: 700; }
.feature-list span { color: var(--health); font-family: "Alexandria", sans-serif; font-size: .58rem; }
.service-band--frozen .feature-list span { color: var(--frozen); }
.service-band--cosmetics .feature-list span { color: var(--cosmetics); }
.text-link { display: inline-flex; align-items: center; gap: .75rem; color: var(--health); font-size: .88rem; font-weight: 800; text-underline-offset: .38rem; }
.text-link--frozen { color: var(--frozen); }
.text-link--cosmetics { color: var(--cosmetics); }
.service-visual { position: relative; min-height: 650px; display: grid; place-items: center; direction: ltr; }
.service-visual::before { content: ""; position: absolute; width: min(520px, 92%); aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; opacity: .16; }
.service-visual::after { content: ""; position: absolute; width: min(390px, 70%); aspect-ratio: 1; border: 1px dashed currentColor; border-radius: 50%; opacity: .2; }
.service-visual--health { color: var(--health); }
.service-visual--frozen { color: var(--frozen); }
.service-visual--cosmetics { color: var(--cosmetics); }
.service-visual .iphone { z-index: 2; width: 298px; transform: rotate(-3deg); transition: transform .25s ease; }
.service-visual a.iphone:hover, .service-visual a.iphone:focus-visible { transform: rotate(0) translateY(-5px); }
.visual-word { position: absolute; z-index: 0; left: 50%; top: 50%; color: currentColor; font-family: "Alexandria", sans-serif; font-size: clamp(5rem, 10vw, 9rem); font-weight: 800; opacity: .08; transform: translate(-50%, -50%) rotate(-90deg); }

.why { padding: 8rem 0; background: #fff; }
.why-layout { display: grid; grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr); gap: clamp(3rem, 8vw, 8rem); }
.why-heading h2 { font-size: clamp(2.7rem, 5vw, 4.8rem); line-height: 1.25; }
.why-points { display: grid; }
.why-points article { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 1.25rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.why-points article:first-child { border-top: 1px solid var(--line); }
.why-points article > span { grid-row: 1 / 3; color: var(--health); font-family: "Alexandria", sans-serif; font-size: .68rem; font-weight: 700; }
.why-points h3 { margin: 0 0 .35rem; font-family: "Alexandria", sans-serif; font-size: 1.05rem; }
.why-points p { margin: 0; color: var(--muted); font-size: .83rem; line-height: 1.8; }

.closing { padding: 6rem 0; background: var(--ink); color: #fff; }
.closing .section-label { color: #8fb6ff; }
.closing-inner { display: flex; align-items: end; justify-content: space-between; gap: 3rem; }
.closing h2 { max-width: 760px; font-size: clamp(2.5rem, 5vw, 5rem); line-height: 1.22; }
.closing-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .7rem; }
.button--light { background: #fff; color: var(--ink); }
.button--outline { border-color: #475467; color: #fff; }
.button--outline:hover, .button--outline:focus-visible { border-color: #fff; }

.site-footer { background: #fff; }
.footer-inner { min-height: 145px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.brand--footer .brand-mark { width: 40px; height: 40px; font-size: 1rem; }
.footer-legal { color: var(--muted); font-size: .68rem; text-align: center; line-height: 1.8; }
.footer-legal p { margin: 0; }
.footer-inner nav { min-width: 0; justify-self: end; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .75rem 1.4rem; }
.footer-inner nav a { color: var(--ink-soft); font-size: .72rem; font-weight: 700; text-decoration: none; }
.footer-inner nav a:hover, .footer-inner nav a:focus-visible { color: var(--health); }

[data-reveal] { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: minmax(0, .88fr) minmax(430px, 1.12fr); gap: 1.5rem; }
  .hero h1 { font-size: clamp(3rem, 6.2vw, 4.8rem); }
  .service-layout { grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr); gap: 3rem; }
}

@media (max-width: 840px) {
  .content-width, .header-inner, .hero-inner { width: min(100% - 32px, 720px); }
  .header-inner { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .hero { min-height: auto; }
  .hero-inner { min-height: 0; grid-template-columns: 1fr; padding: 3.5rem 0 4.5rem; }
  .hero-copy { max-width: 650px; }
  .device-stage { width: min(610px, 100%); min-height: 540px; margin: 0 auto; }
  .device-link--health { left: -2%; }
  .device-link--frozen { right: -2%; }
  .scroll-cue { display: none; }
  .services-intro { padding: 5rem 0 3.5rem; }
  .services-heading { grid-template-columns: 1fr; gap: 1rem; }
  .services-heading .section-label { grid-column: auto; }
  .service-band { padding: 5rem 0; }
  .service-layout, .service-layout--reverse { min-height: 0; grid-template-columns: 1fr; direction: rtl; }
  .service-visual { min-height: 600px; }
  .why { padding: 5rem 0; }
  .why-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .closing-inner { align-items: start; flex-direction: column; }
  .closing-actions { justify-content: flex-start; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 560px) {
  .content-width, .header-inner, .hero-inner { width: min(100% - 24px, 520px); }
  .header-inner { min-height: 70px; gap: .75rem; }
  .brand-mark { width: 40px; height: 40px; border-radius: 8px; font-size: 1.05rem; }
  .brand-copy strong { font-size: .78rem; }
  .brand-copy small { font-size: .48rem; }
  .header-action { min-height: 40px; padding: .55rem .7rem; font-size: .68rem; }
  .hero { height: min(720px, calc(100svh - 110px)); min-height: 560px; }
  .hero-inner { height: 100%; min-height: 0; align-content: start; gap: 1.1rem; padding: 2.7rem 0 0; }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
  .hero-lead { margin-block: 1.2rem 1.45rem; font-size: .92rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .hero-trust { gap: .75rem 1rem; margin-top: 1.35rem; }
  .device-stage { min-height: 330px; margin-top: 0; }
  .iphone { width: 200px; padding: 5px; border-radius: 37px; }
  .iphone::after { border-radius: 33px; }
  .iphone-screen { border-radius: 31px; }
  .iphone-notch { top: 4px; border-radius: 0 0 13px 13px; }
  .iphone-notch i { height: 3px; top: 6px; }
  .iphone-notch b { width: 5px; height: 5px; top: 5px; }
  .device-link--health { left: -8%; top: 12%; transform: rotate(-7deg) scale(.62); }
  .device-link--cosmetics { left: 50%; top: 0; }
  .device-link--frozen { right: -8%; bottom: -1%; transform: rotate(7deg) scale(.62); }
  .stage-stamp { padding: .4rem .5rem; gap: .45rem; }
  .stage-stamp img { width: 32px; height: 32px; border-radius: 6px; }
  .stage-stamp strong { font-size: .6rem; }
  .stage-stamp small { font-size: .52rem; }
  .stage-stamp--health, .stage-stamp--frozen { display: none; }
  .stage-stamp--cosmetics { top: 3%; right: 0; }
  .services-intro { padding-top: 4rem; }
  .services-heading h2 { font-size: 2.6rem; }
  .services-heading > p { font-size: .9rem; }
  .service-band { padding: 4rem 0; }
  .service-copy h2 { font-size: clamp(2.6rem, 12vw, 3.7rem); }
  .service-copy > p { font-size: .9rem; }
  .service-visual { min-height: 465px; }
  .service-visual .iphone { width: 220px; }
  .visual-word { font-size: 4.5rem; }
  .why-heading h2 { font-size: 2.6rem; }
  .closing { padding: 4.5rem 0; }
  .closing h2 { font-size: 2.7rem; }
  .closing-actions { width: 100%; }
  .footer-inner { min-height: 190px; grid-template-columns: 1fr; justify-items: center; padding-block: 2rem; text-align: center; }
  .footer-inner nav { justify-self: center; justify-content: center; }
  .footer-legal { grid-column: auto; grid-row: auto; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

.not-found-page { display: grid; place-items: center; min-height: 100vh; background: var(--canvas); }
.not-found { width: min(680px, calc(100% - 32px)); margin: 0 auto; text-align: center; }
.not-found > .brand { justify-content: center; }
.not-found__code { margin: 3rem 0 .5rem; color: var(--health); font-family: "Alexandria", sans-serif; font-size: .8rem; font-weight: 800; }
.not-found h1 { margin: 0 0 .8rem; font-family: "Alexandria", sans-serif; font-size: clamp(2.5rem, 8vw, 5rem); }
.not-found > p:not(.not-found__code) { margin: 0 auto 2rem; color: var(--muted); line-height: 1.9; }
.not-found .button { margin-inline: auto; }
