@font-face {
  font-family: "Fraunces";
  src: url("/assets/fraunces.d9ec312fcd.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --night: #0e1012;
  --night-2: #16191c;
  --ivory: #f7f1e6;
  --ivory-2: #efe5d4;
  --sand: #e3cba8;
  --sandstone: #c9805c;
  --clay: #8e4a36;
  --ink: #1d1b18;
  --muted: #5f5850;
  --line: #ddd0bb;
  --green: #0b6e3c;
  --green-hi: #0d7f46;
  --green-soft: #2fa36b;
  --red: #ce1126;
  --radius: 18px;
  --wrap: 1120px;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Arabic", "Segoe UI Arabic", Tahoma, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--green); }
a:focus-visible, button:focus-visible, video:focus-visible {
  outline: 3px solid var(--sandstone);
  outline-offset: 3px;
  border-radius: 6px;
}
code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .92em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-family: var(--sans); font-weight: 700; letter-spacing: 0; line-height: 1.3; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0; }

.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 30;
  background: var(--ink); color: var(--ivory); padding: 10px 14px; border-radius: 10px;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--green); color: #fff; text-decoration: none; font-weight: 650;
  border-radius: 14px; border: 0; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 10px 24px -14px rgba(11,110,60,.8);
  transition: transform .18s cubic-bezier(.2,.8,.2,1), background-color .18s ease;
}
.btn:hover { background: var(--green-hi); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-sm { padding: 9px 16px; font-size: .95rem; }
.btn-md { padding: 14px 22px; margin-top: 22px; }
.btn-lg { padding: 17px 26px; font-size: 1.08rem; min-height: 58px; }

/* Top bar */
.bar {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; max-width: calc(var(--wrap) + 32px); margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; }
.brand img { border-radius: 9px; }
.brand span { white-space: nowrap; }
@media (max-width: 420px) { .bar .btn-sm { display: none; } }
.bar-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.28);
  border-radius: 12px; padding: 8px 12px; font: 600 .95rem/1 var(--sans); cursor: pointer;
}
.lang:hover { background: rgba(255,255,255,.18); }
a.lang { display: inline-block; text-decoration: none; }

/* Hero */
.hero {
  position: relative; isolation: isolate; color: #fff; background: var(--night);
  min-height: min(100dvh, 940px); display: flex; align-items: flex-end; overflow: hidden;
}
.hero-art { position: absolute; inset: 0; z-index: -2; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14,16,18,.82) 0%, rgba(14,16,18,.25) 30%, rgba(14,16,18,.35) 55%, rgba(14,16,18,.92) 100%);
}
.hero-inner {
  width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 108px 16px 40px;
  display: grid; gap: 34px; align-items: end;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; letter-spacing: .02em; color: var(--sand); font-weight: 600; }
.rule { width: 34px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #111 0 33%, #fff 33% 66%, var(--green-soft) 66%); box-shadow: 0 0 0 1px rgba(255,255,255,.15); }
.hero h1 { font-size: clamp(2.35rem, 1.4rem + 4.6vw, 4.4rem); margin-top: 14px; max-width: 12ch; text-wrap: balance; }
html[lang="ar"] .hero h1 { max-width: 14ch; }
.lede { margin-top: 16px; max-width: 46ch; color: rgba(255,255,255,.86); font-size: 1.08rem; }
.cta { margin-top: 26px; }
.cta .btn-lg { width: 100%; max-width: 420px; }
.platforms { display: grid; gap: 10px; max-width: 420px; }
.platforms-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.platforms-alt .btn-lg { min-height: 52px; padding: 13px 16px; font-size: 1rem; }
.btn-alt {
  background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.3);
  box-shadow: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.btn-alt:hover { background: rgba(255,255,255,.2); }
.install-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.install-ctas .btn-md { margin-top: 0; }
.btn-outline { background: #fffdf8; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 6px 18px -14px rgba(29,27,24,.5); }
.btn-outline:hover { background: var(--ivory-2); }
@media (max-width: 520px) { .install-ctas .btn { width: 100%; } }
.phones-grid { display: grid; gap: 18px; margin-top: 22px; }
.phone-card {
  display: flex; flex-direction: column; background: #fffdf8; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px; scroll-margin-top: 24px;
}
.pc-head { display: flex; align-items: center; gap: 12px; }
.pc-ic { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--ivory-2); color: var(--green); }
.phone-card h3 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.7rem); }
.phone-card .install-steps { margin-top: 14px; font-size: .97rem; }
.phone-card .fine { font-size: .88rem; margin-bottom: 20px; }
.phone-card .btn { margin-top: auto; width: 100%; }
@media (min-width: 900px) { .phones-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; } }
.cta-meta { margin-top: 12px; font-size: .92rem; color: rgba(255,255,255,.72); }

.phone { margin: 0; justify-self: center; width: min(68vw, 290px); }
.phone-frame {
  border-radius: 34px; padding: 9px; background: linear-gradient(160deg, #2a2d31, #0b0c0e);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -30px rgba(0,0,0,.9);
}
.phone-frame img { border-radius: 26px; width: 100%; }

/* Reveal (motion only when allowed; the button is never delayed) */
@media (prefers-reduced-motion: no-preference) {
  .hero-art img { animation: settle 1.6s cubic-bezier(.2,.7,.2,1) both; }
  .phone { animation: rise 1s cubic-bezier(.2,.8,.2,1) .25s both; }
  .eyebrow, .hero h1, .lede { animation: fade .7s ease both; }
  .lede { animation-delay: .08s; }
  .step, .price, .fact-grid > div { animation: fade .6s ease both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
}
@keyframes settle { from { transform: scale(1.08); opacity: .4; } to { transform: scale(1); opacity: 1; } }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Sections */
.section { padding: 72px 0; }
.section h2 { max-width: 22ch; text-wrap: balance; }
.fine { margin-top: 18px; font-size: .9rem; color: var(--muted); max-width: 70ch; }

.step-list { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 34px; }
.step h3 { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.step p { margin-top: 8px; color: var(--muted); }
.num {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--ivory); font: 700 .9rem/1 var(--sans);
}
.shot {
  border-radius: 26px; padding: 7px; background: var(--night);
  box-shadow: 0 30px 50px -34px rgba(29,27,24,.7); max-width: 280px;
}
.shot img { border-radius: 20px; width: 100%; }
.shot-note {
  aspect-ratio: 450 / 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  color: var(--sand); text-align: center; padding: 24px; font-size: .95rem;
  background: radial-gradient(120% 70% at 50% 40%, #232629, var(--night));
}

.plan { background: var(--ivory-2); border-block: 1px solid var(--line); }
.plan-grid { display: grid; gap: 30px; }
.plan-grid > div > p { margin-top: 14px; color: var(--muted); max-width: 52ch; }
.price-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.price { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.price-name { font-weight: 700; color: var(--clay); font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; }
html[lang="ar"] .price-name { letter-spacing: 0; }
.price-amount { font-family: var(--serif); font-size: 2rem; font-weight: 600; margin-top: 4px; }
html[lang="ar"] .price-amount { font-family: var(--sans); font-weight: 700; }
.price-note { margin-top: 6px; color: var(--muted); font-size: .95rem; }

.install-grid { display: grid; gap: 36px; align-items: start; }
.install-steps { margin: 22px 0 0; padding-inline-start: 1.3em; display: grid; gap: 10px; }
.install-steps li::marker { color: var(--sandstone); font-weight: 700; }
.qr-card {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px;
  text-align: center; max-width: 340px; justify-self: center;
}
.qr svg { width: 100%; height: auto; }
.qr-card p { margin-top: 12px; color: var(--muted); font-size: .95rem; }
.qr-url { font-family: ui-monospace, Consolas, monospace; font-size: .8rem !important; word-break: break-all; }

.facts { background: var(--night); color: #f3efe8; }
.facts h2 { color: #fff; }
.fact-grid { margin: 30px 0 0; display: grid; gap: 1px; background: #2b2f33; border: 1px solid #2b2f33; border-radius: var(--radius); overflow: hidden; }
.fact-grid > div { background: var(--night-2); padding: 16px 18px; }
.fact-grid dt { font-size: .82rem; color: #a7a199; font-weight: 600; }
.fact-grid dd { margin: 4px 0 0; font-weight: 600; }
.hash { word-break: break-all; font-size: .82rem; color: var(--sand); }
.notes { margin-top: 40px; }
.notes ul { margin: 14px 0 0; padding-inline-start: 1.2em; display: grid; gap: 10px; color: #cfc8bd; max-width: 72ch; }

.faq-list { margin-top: 34px; display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.qa { background: var(--ivory); padding: 22px 0; }
.qa p { margin-top: 8px; color: var(--muted); max-width: 72ch; }

/* Inner pages (privacy) */
.page-head { background: var(--night); color: #fff; padding: 112px 0 44px; }
.page-head h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); }
.page-meta { margin-top: 10px; color: var(--sand); font-size: .95rem; }
.prose .wrap { max-width: 780px; }
.prose-lede { font-size: 1.12rem; }
.prose h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); margin-top: 44px; }
.prose ul { margin: 14px 0 0; padding-inline-start: 1.2em; display: grid; gap: 10px; }
.prose h2 + p { margin-top: 14px; }
.prose li, .prose p { color: var(--ink); }

.film-grid { display: grid; gap: 26px; align-items: center; }
.film-grid p { margin-top: 12px; color: var(--muted); }
.film-video { width: min(100%, 300px); border-radius: 24px; background: var(--night); justify-self: center; box-shadow: 0 30px 50px -30px rgba(29,27,24,.6); }

.foot { border-top: 1px solid var(--line); padding: 30px 0 110px; font-size: .95rem; color: var(--muted); }
.foot-inner { display: grid; gap: 8px; }

.sticky-dl {
  position: fixed; inset: auto 0 0 0; z-index: 20; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(247,241,230,0), rgba(247,241,230,.96) 35%);
  transform: translateY(110%); transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.sticky-dl .btn { width: 100%; }
.sticky-dl.show { transform: none; }

@media (min-width: 761px) {
  .bar { padding: 22px 24px; }
  .wrap { padding: 0 24px; }
  .hero { align-items: center; }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(14,16,18,.78) 0%, rgba(14,16,18,.35) 55%, rgba(14,16,18,0) 80%),
      linear-gradient(180deg, rgba(14,16,18,.7) 0%, rgba(14,16,18,.1) 30%, rgba(14,16,18,.25) 60%, rgba(14,16,18,.85) 100%);
  }
  .hero-inner { grid-template-columns: 1.25fr .75fr; padding: 120px 24px 72px; }
  .phone { width: 300px; justify-self: end; }
  .section { padding: 104px 0; }
  .step-list { grid-template-columns: repeat(4, 1fr); gap: 26px; }
  .plan-grid { grid-template-columns: 1fr 1.1fr; align-items: start; }
  .install-grid { grid-template-columns: 1.2fr .8fr; }
  .fact-grid { grid-template-columns: repeat(3, 1fr); }
  .fact-grid .wide { grid-column: 1 / -1; }
  .film-grid { grid-template-columns: 1fr auto; }
  .faq-list { grid-template-columns: 1fr 1fr; column-gap: 48px; background: none; border: 0; }
  .qa { border-top: 1px solid var(--line); }
  .page-head { padding: 140px 0 56px; }
  .sticky-dl { display: none; }
  .foot { padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sticky-dl, .btn { transition: none; }
}
