@font-face {
  font-family: DM Sans;
  src: url('/media/fonts/dm-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Noto Sans Arabic;
  src: url('/media/fonts/noto-sans-arabic.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --night: #080f13;
  --surface: #0e1b21;
  --line: #a6c3ab32;
  --white: #fcf9ec;
  --muted: #aabdb5;
  --accent: #cbe8a7;
  --ink: #142319;
  --body: 'DM Sans', system-ui, sans-serif;
  --fallback-display: Georgia, 'Times New Roman', serif;
  --inset: clamp(0.375rem, 0.9vw, 0.875rem);
  color: var(--white);
  background: var(--night);
  color-scheme: dark;
  font: 400 1rem/1.6 var(--body);
  font-synthesis: none;
}
:root:lang(ar) {
  --body: 'DM Sans', 'Noto Sans Arabic', system-ui, sans-serif;
  --fallback-display: 'Noto Sans Arabic', var(--body);
  line-height: 1.8;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
section[id] { scroll-margin-top: 1rem; }
.wrap { width: min(100% - 3.5rem, 74rem); margin-inline: auto; }
.skip {
  position: fixed;
  z-index: 20;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  transform: translateY(-160%);
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  background: var(--accent);
  color: var(--ink);
}
.skip:focus { transform: none; }

.site-header {
  position: absolute;
  z-index: 5;
  inset: var(--inset) 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 5rem;
  border-block-end: 1px solid #dbece224;
}
.brand {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  width: max-content;
  font: 700 1.6rem/1 var(--body);
  letter-spacing: -0.07em;
  text-decoration: none;
}
.brand img { border-radius: 0.6rem; }
.brand span span { color: var(--accent); }
.site-header nav, .header-actions {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 3vw, 2.65rem);
}
.site-header nav a, .language {
  display: inline-grid;
  align-items: center;
  min-height: 2.75rem;
  color: #e2e9df;
  font-size: 0.86rem;
  text-decoration: none;
}
.site-header nav a:hover, .language:hover { text-decoration: underline; text-underline-offset: 0.31em; }
.header-actions { justify-self: end; gap: clamp(0.65rem, 2vw, 1.55rem); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.66rem;
  padding: 0.78rem 1.22rem;
  min-height: 3.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 170ms ease, border-color 170ms ease, transform 170ms ease;
}
.icon { flex: none; width: 1.15em; height: 1.15em; }
:dir(rtl) .icon-arrow { transform: scaleX(-1); }
.header-button { background: var(--white); color: var(--ink); min-height: 2.75rem; padding: 0.48rem 0.85rem; }
.button-lime { background: var(--accent); color: #152417; }
.header-button:hover, .button-lime:hover { background: #e6f5cc; }
.button-outline { border-color: #ecf9eb56; background: #111d2490; color: var(--white); }
.button-outline:hover { background: #1a2b34; border-color: #ecf9eb; }
.button:hover { transform: translateY(-1px); }

.hero, .download-shell {
  position: relative;
  isolation: isolate;
  overflow: clip;
  margin: var(--inset);
  border: 1px solid #b4d6c727;
  border-radius: clamp(1rem, 1.7vw, 1.5rem);
  background: #09131a;
}
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-block-start: clamp(6.45rem, 7.5vw, 7.5rem);
}
.hero-landscape, .hero-landscape img, .download-landscape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-landscape, .download-landscape { z-index: -2; }
.hero-landscape img { object-position: center 56%; }
.hero::before, .download-shell::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
}
.hero::before {
  background: linear-gradient(180deg, #0409118c 0%, #06101544 19%, #07131808 46%, #07131800 77%, #080f13 100%);
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.58rem;
  width: fit-content;
  margin-block-end: 1.12rem;
  color: var(--accent);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.145em;
}
.eyebrow span {
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0.68rem #cbe8a786;
}
[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: 0.88rem; }
.hero .eyebrow, .community .eyebrow, .inside-intro .eyebrow, .download-shell .eyebrow { margin-inline: auto; }

.display-title { position: relative; max-width: 100%; line-height: 1; }
.display-title img { width: 100%; height: auto; }
.display-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.display-title.use-text img { display: none; }
.display-title.use-text .display-text {
  position: static;
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  clip-path: none;
  white-space: normal;
  font: 400 clamp(2.3rem, 1.5rem + 4vw, 5.65rem)/1.04 var(--fallback-display);
}
.display-text em { font-style: normal; color: var(--accent); }
:lang(ar) .display-text { line-height: 1.26; }
.display-hero { width: clamp(17.5rem, 46.5vw, 41.5rem); margin-inline: auto; }
:lang(ar) .display-hero { width: clamp(12.5rem, 28vw, 21rem); }
.display-community, .display-inside { width: clamp(15.5rem, 39vw, 31rem); margin-inline: auto; }
:lang(ar) .display-community, :lang(ar) .display-inside { width: clamp(12rem, 24vw, 18rem); }
.display-story { width: clamp(15rem, 36vw, 27rem); }
:lang(ar) .display-story { width: clamp(13.5rem, 26vw, 22rem); }
.display-download { width: clamp(15rem, 34vw, 25rem); }
:lang(ar) .display-download { width: clamp(12rem, 23vw, 18.5rem); }

.hero-description {
  max-width: 32rem;
  margin: 1.1rem auto 0;
  color: #e5eee8;
  font-size: clamp(0.96rem, 0.89rem + 0.32vw, 1.12rem);
  text-wrap: pretty;
}
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.62rem; margin-top: 1.18rem; }
.hero-devices {
  position: relative;
  isolation: isolate;
  width: min(46rem, 100%);
  height: clamp(16.7rem, 32vw, 24.7rem);
  margin-top: clamp(1.92rem, 2.9vw, 2.45rem);
}
.device {
  position: relative;
  width: 16rem;
  padding: 0.37rem;
  border: 1px solid #a3c3b58f;
  border-radius: 2.06rem;
  background: #111b20;
  box-shadow: inset 0 0 0 2px #f1f8f422, 0 1.6rem 3rem #04080db0, 0 0 1.85rem #a1edaf18;
  overflow: hidden;
}
.device img {
  height: auto;
  width: 100%;
  aspect-ratio: 390 / 844;
  border-radius: 1.72rem;
  background: #070a0c;
}
.device::before {
  position: absolute;
  z-index: 1;
  inset: 0.62rem 0 auto;
  margin-inline: auto;
  width: 21%;
  height: 0.65rem;
  border-radius: 999px;
  background: #0b0d0e;
  content: '';
}
.hero-devices .device {
  position: absolute;
  inset-block-start: 2.65rem;
  width: clamp(8rem, 16.2vw, 12.5rem);
  border-radius: clamp(1.08rem, 2.1vw, 1.9rem);
}
.hero-devices .device img { border-radius: clamp(0.8rem, 1.8vw, 1.53rem); }
.hero-devices .device-feed {
  z-index: 2;
  inset-block-start: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(9.3rem, 18.8vw, 14.5rem);
  border-color: #cce7d6bd;
}
.hero-devices .device-batch { right: 62%; transform: rotate(-8deg); transform-origin: 50% 67%; }
.hero-devices .device-moments { left: 62%; transform: rotate(8deg); transform-origin: 50% 67%; }
.hero-note {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 2.9rem 1rem 1.15rem;
  margin-block-start: -2.5rem;
  background: linear-gradient(0deg, #080f13 28%, #080f13fa 52%, #080f1300);
  color: #c4d6ca;
  font-size: 0.77rem;
  letter-spacing: 0.025em;
}

.section-pad { padding-block: clamp(4rem, 7.1vw, 6.5rem); }
.community { background: radial-gradient(ellipse at 50% 0%, #162c272e, transparent 66%); }
.community-intro, .inside-intro { text-align: center; }
.community-intro > p, .inside-intro > p {
  max-width: 35rem;
  margin: 1.23rem auto 0;
  color: var(--muted);
  text-wrap: pretty;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(2.4rem, 4.25vw, 3.7rem);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--line);
}
.feature { padding: clamp(1.4rem, 2.9vw, 2.55rem); background: #101b1f; }
.feature-icon {
  display: grid;
  width: 2.85rem;
  height: 2.85rem;
  place-items: center;
  margin-block-end: 1.15rem;
  color: var(--accent);
  background: #1a2b2a;
  border: 1px solid #c0e5a92d;
  border-radius: 50%;
}
.feature-icon .icon { width: 1.35rem; height: 1.35rem; }
.feature h3 { margin-block-end: 0.47rem; font-size: 1.18rem; font-weight: 700; }
.feature p { color: var(--muted); }

.inside { scroll-margin-top: 2rem; }
.inside-intro { margin-block-end: clamp(1.75rem, 4vw, 2.85rem); }
.gallery {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: clamp(1rem, 1.9vw, 1.5rem);
  background: var(--surface);
}
.gallery-controls {
  display: flex;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #607d70 #0e171d;
  border-block-end: 1px solid var(--line);
  padding-inline: clamp(0.15rem, 2vw, 1.45rem);
  background: #0e171d;
}
.gallery-controls button {
  position: relative;
  flex: none;
  min-height: 3.55rem;
  padding: 0.7rem clamp(0.87rem, 1.6vw, 1.4rem);
  border: 0;
  background: transparent;
  color: #aabeb7;
  font-weight: 700;
  font-size: 0.86rem;
  white-space: nowrap;
  cursor: pointer;
}
.gallery-controls button[aria-selected="true"], .gallery-controls button:hover { color: var(--white); }
.gallery-controls button[aria-selected="true"]::after {
  position: absolute;
  inset: auto 0.8rem 0;
  content: '';
  border-block-end: 3px solid var(--accent);
  border-radius: 3px 3px 0 0;
}
.gallery-controls button:focus-visible { outline-offset: -4px; }
.screen-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  min-width: 0;
}
.screen-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(31rem, 47vw, 39rem);
  overflow: hidden;
  padding: clamp(1.3rem, 3vw, 2.4rem);
  background: radial-gradient(ellipse at 50% 72%, #527b60, #213e3a 47%, #0a191f 82%);
}
.stage-orbits {
  position: absolute;
  z-index: -1;
  width: min(70%, 28rem);
  aspect-ratio: 1;
  border: 1px solid #dbf4d346;
  border-radius: 50%;
  box-shadow: 0 0 0 3.4rem #dbf4d316, 0 0 0 6.75rem #dbf4d311, 0 0 0 10rem #dbf4d30b;
}
.stage-orbits::before, .stage-orbits::after {
  position: absolute;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0.67rem var(--accent);
  content: '';
}
.stage-orbits::before { inset: 12% auto auto 16%; }
.stage-orbits::after { inset: auto 10% 20% auto; }
.screen-stage .device { width: min(78%, 17rem); }
.screen-panel figcaption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.85rem;
  padding: clamp(1.6rem, 4vw, 3.5rem);
  border-inline-start: 1px solid var(--line);
  color: var(--muted);
}
.screen-panel figcaption strong {
  color: var(--white);
  font-size: clamp(1.55rem, 1.25rem + 1.25vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}
:lang(ar) .screen-panel figcaption strong { line-height: 1.4; }
.demo-label {
  border: 1px solid #cbe8a54d;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  color: var(--accent);
  font-size: 0.75rem;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.26em;
}
.text-link:hover { color: var(--white); }

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 5vw, 5rem);
  border-block-start: 1px solid var(--line);
  padding-block-start: clamp(2rem, 4vw, 3.5rem);
}
.story-grid p { color: var(--muted); font-size: clamp(1rem, 0.92rem + 0.36vw, 1.18rem); }
.story-grid .text-link { margin-block-start: 0.8rem; }

.download-landscape { object-position: center 76%; }
.download-shell::before { background: linear-gradient(180deg, #070d166e, #07131908 60%, #06101466); }
.download-copy {
  display: grid;
  justify-items: center;
  padding-block: clamp(3.5rem, 6vw, 5.7rem);
  text-align: center;
}
.download-icon { border: 1px solid #cbe8a568; border-radius: 1.27rem; margin-block-end: 1.3rem; box-shadow: 0 0.5rem 2.4rem #81cfa643; }
.download-copy h2 + p { margin-block: 1.1rem 1.55rem; max-width: 34rem; color: #eef5ec; }
.download-note { margin-top: 0.92rem; font-size: 0.83rem; }
.download-note a { text-underline-offset: 0.22em; }
.service-note { margin-top: 0.48rem; color: #d0e0d3; font-size: 0.8rem; }

.footer, .footer > div { display: flex; align-items: center; gap: 0.85rem; }
.footer { justify-content: space-between; flex-wrap: wrap; padding-block: 1.35rem; color: var(--muted); font-size: 0.85rem; }
.footer .brand { color: var(--white); }
.footer .brand img { width: 2rem; height: 2rem; }
.footer a:not(.brand) { display: inline-flex; gap: 0.3rem; align-items: center; min-height: 2.75rem; text-underline-offset: 0.22em; }
.footer > div:last-child { gap: 1.45rem; }

@media (max-width: 800px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .story-grid { gap: 1.3rem; }
  .feature h3 { font-size: 1.06rem; }
  .screen-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 1.85rem); }
  .site-header { min-height: 4.15rem; }
  .site-header .brand img { width: 2rem; height: 2rem; }
  .hero { padding-block-start: 6.6rem; }
  .hero::before { background: linear-gradient(180deg, #06101570, #06101512 38%, #07131808 78%, #080f13); }
  .hero-description { max-width: 25rem; }
  .button { padding-inline: 0.94rem; }
  .header-button { padding-inline: 0.8rem; }
  .hero-devices .device { padding: 0.22rem; }
  .hero-devices .device::before { inset-block-start: 0.43rem; height: 0.43rem; }
  .hero-devices .device-batch { right: 61%; transform: rotate(-7deg); }
  .hero-devices .device-moments { left: 61%; transform: rotate(7deg); }
  .hero-note { font-size: 0.73rem; }
  .features, .story-grid, .screen-panel { grid-template-columns: minmax(0, 1fr); }
  .feature { padding: 1.35rem; }
  .feature h3 { font-size: 1.15rem; }
  .feature-icon { margin-block-end: 0.75rem; }
  .screen-stage { padding: 1.65rem 0.8rem; min-height: 0; }
  .screen-stage .device { width: min(84%, 16.5rem); }
  .screen-panel figcaption { min-height: 13.6rem; border-inline-start: 0; border-block-start: 1px solid var(--line); }
  .footer > div:first-child { flex-wrap: wrap; }
}
@media (forced-colors: active) {
  .display-title img { display: none; }
  .display-text {
    position: static;
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    clip-path: none;
    white-space: normal;
    font: 400 clamp(2.3rem, 1.5rem + 4vw, 5.65rem)/1.1 var(--fallback-display);
  }
  .gallery-controls button[aria-selected="true"]::after { border-color: Highlight; }
  .button { border: 1px solid ButtonText; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
