@font-face {
  font-family: "DIN Next LT Arabic";
  src: url("assets/fonts/DINNextLTArabic-Regular.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: "DIN Next LT Arabic";
  src: url("assets/fonts/DINNextLTArabic-Medium.ttf") format("truetype");
  font-display: swap;
  font-weight: 600;
}

@font-face {
  font-family: "DIN Next LT Arabic";
  src: url("assets/fonts/DINNextLTArabic-Bold.ttf") format("truetype");
  font-display: swap;
  font-weight: 800;
}

:root {
  color-scheme: light;
  --paper: #f4f2ed;
  --paper-warm: #e9e3da;
  --white: #fffdfa;
  --ink: #101820;
  --muted: #626c72;
  --line: rgba(16, 24, 32, .16);
  --navy: #e8eeeb;
  --navy-light: #d8e4e2;
  --copper: #ce7e56;
  --copper-light: #efa67c;
  --sand: #dec4b4;
  --danger: #a22d2d;
  --page: min(1440px, calc(100% - clamp(32px, 7vw, 112px)));
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }

html {
  min-width: 280px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--paper);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "DIN Next LT Arabic", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body[dir="ltr"],
html[dir="ltr"] body {
  font-family: "DIN Next LT Arabic", Arial, sans-serif;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.skip-link {
  position: fixed;
  top: 8px;
  inset-inline-start: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(14px, env(safe-area-inset-top)) max(clamp(20px, 4vw, 64px), env(safe-area-inset-right)) 14px max(clamp(20px, 4vw, 64px), env(safe-area-inset-left));
  border-bottom: 1px solid var(--line);
  background: rgba(244, 242, 237, .9);
  backdrop-filter: blur(18px);
}

.studio-mark {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  direction: ltr;
  font-family: "DIN Next LT Arabic", Arial, sans-serif;
  font-size: clamp(.98rem, 1.3vw, 1.16rem);
  font-weight: 800;
  letter-spacing: -.05em;
}

.studio-mark img { width: 22px; height: 38px; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  font-size: .86rem;
  font-weight: 600;
}

.nav-links a { position: relative; }

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}

html[dir="ltr"] .nav-links a::after { transform-origin: left; }
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }

.page-language {
  flex: 0 0 auto;
  display: flex;
  padding: 4px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  direction: ltr;
}

.page-language__button {
  min-width: 80px;
  min-height: 40px;
  padding: 6px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: "DIN Next LT Arabic", Arial, sans-serif;
  font-size: .76rem;
  font-weight: 800;
  transition: background-color .25s ease, color .25s ease;
}

.page-language__button.is-active { background: var(--ink); color: white; }

.page-language--compact .page-language__button {
  min-width: 36px;
  min-height: 34px;
  padding: 4px 8px;
  font-size: .68rem;
}

.hero {
  width: var(--page);
  min-height: calc(100svh - 78px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, .86fr) minmax(510px, 1.14fr);
  align-items: center;
  gap: clamp(32px, 7vw, 112px);
  padding: clamp(64px, 8vw, 124px) 0;
}

.hero-copy { position: relative; z-index: 2; }

.product-lockup {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: clamp(28px, 4vw, 56px);
}

.product-lockup img {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(7, 29, 52, .17);
}

.product-lockup p {
  margin: 0;
  color: var(--copper);
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .06em;
}

h1 {
  margin: 0;
  font-size: clamp(3.7rem, 6.25vw, 7.7rem);
  line-height: .95;
  letter-spacing: -.065em;
  font-weight: 800;
}

h1 em {
  color: var(--copper);
  font-style: normal;
  font-weight: 400;
}

.hero-lead {
  max-width: 610px;
  margin: clamp(28px, 4vw, 48px) 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 34px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 800;
}

.button--primary {
  background: var(--ink);
  color: white;
  box-shadow: inset 0 0 0 1px var(--ink);
  transition: color .25s ease, background-color .25s ease, transform .25s ease;
}

.button--primary:hover { background: var(--copper); transform: translateY(-2px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  font-weight: 600;
}

.text-link span:last-child { color: var(--copper); font-size: 1.15rem; }

.availability {
  margin: 42px 0 0;
  padding: 20px 0 0;
  display: flex;
  gap: 28px;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--muted);
  direction: ltr;
  font-family: "DIN Next LT Arabic", Arial, sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.platform-icon { color: var(--ink); font-size: .6rem; }
.platform-icon--play { color: var(--copper); }

.hero-visual {
  position: relative;
  min-height: 720px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -2;
  width: min(42vw, 630px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--paper-warm);
}

.orbit {
  position: absolute;
  z-index: -1;
  aspect-ratio: 1;
  border: 1px solid rgba(22, 19, 17, .18);
  border-radius: 50%;
}

.orbit--one { width: min(49vw, 740px); }
.orbit--two { width: min(58vw, 860px); }

.phone {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 5px solid #171513;
  border-radius: 46px;
  background: #171513;
  box-shadow: 0 30px 80px rgba(41, 26, 18, .2);
}

.phone img { width: 100%; height: auto; }

.phone--front {
  z-index: 2;
  width: min(24vw, 344px);
  transform: translateX(10%);
}

html[dir="ltr"] .phone--front { transform: translateX(-10%); }

.phone--back {
  z-index: 1;
  width: min(18vw, 264px);
  opacity: .93;
  transform: translate(-82%, 8%) rotate(-6deg);
}

html[dir="ltr"] .phone--back { transform: translate(82%, 8%) rotate(6deg); }

.visual-note {
  position: absolute;
  z-index: 4;
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 250, .86);
  box-shadow: 0 12px 35px rgba(41, 26, 18, .1);
  backdrop-filter: blur(10px);
  font-size: .75rem;
  font-weight: 700;
  white-space: nowrap;
}

.visual-note--top { top: 13%; inset-inline-end: 0; }
.visual-note--bottom { bottom: 14%; inset-inline-start: 0; }

.section-index {
  margin: 0;
  direction: ltr;
  color: var(--copper);
  font-family: "DIN Next LT Arabic", Arial, sans-serif;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-align: start;
}

.promise {
  padding: clamp(72px, 10vw, 150px) max(clamp(24px, 6vw, 96px), env(safe-area-inset-right)) clamp(76px, 10vw, 150px) max(clamp(24px, 6vw, 96px), env(safe-area-inset-left));
  background: var(--navy);
  color: var(--ink);
}

.promise > * { width: min(1240px, 100%); margin-inline: auto; }

.promise-statement {
  margin-top: 38px;
  margin-bottom: clamp(62px, 9vw, 126px);
  font-size: clamp(3.2rem, 7vw, 7.5rem);
  line-height: 1.03;
  letter-spacing: -.055em;
  font-weight: 400;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(16, 24, 32, .18);
}

.promise-grid article {
  padding: 30px clamp(20px, 3vw, 44px) 0;
  border-inline-start: 1px solid rgba(16, 24, 32, .18);
}

.promise-grid article:first-child { padding-inline-start: 0; border-inline-start: 0; }
.feature-number { color: var(--copper); font-family: "DIN Next LT Arabic", Arial, sans-serif; font-size: .7rem; }
.promise-grid h2 { margin: 36px 0 14px; font-size: clamp(1.55rem, 2.4vw, 2.35rem); }
.promise-grid p { margin: 0; color: var(--muted); line-height: 1.8; font-size: .98rem; }

.experience {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(84px, 11vw, 170px) 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: clamp(48px, 7vw, 92px);
}

.section-heading h2,
.beta-copy h2 {
  margin: 28px 0 0;
  font-size: clamp(2.7rem, 5.5vw, 6.4rem);
  line-height: 1.05;
  letter-spacing: -.055em;
  font-weight: 400;
}

.screen-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: clamp(14px, 1.7vw, 26px);
  overflow-x: auto;
  padding-bottom: 18px;
  scroll-snap-type: x proximity;
  overscroll-behavior-inline: contain;
  scrollbar-color: var(--copper) transparent;
}

.screen-card,
.screen-card:nth-child(even),
.screen-card--wide {
  min-width: 0;
  margin-top: 0;
  scroll-snap-align: start;
}

.screen-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
  font-family: "DIN Next LT Arabic", Arial, sans-serif;
}

.screen-meta span { color: var(--copper); font-size: .68rem; font-weight: 800; }
.screen-meta h3 { margin: 0; font-family: "DIN Next LT Arabic", Arial, sans-serif; font-size: 1rem; font-weight: 600; }

.screen-frame {
  display: flex;
  align-items: end;
  justify-content: center;
  padding: clamp(18px, 2vw, 30px) clamp(14px, 1.6vw, 24px) 0;
  overflow: hidden;
  background: var(--paper-warm);
}

.screen-frame--sand { background: #d7c0b1; }
.screen-frame--cream { background: #e9e3da; }
.screen-frame--navy { background: var(--navy-light); }

.screen-frame > img {
  width: 100%;
  height: auto;
  flex: 0 0 auto;
  border: 3px solid #171513;
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  object-fit: contain;
  box-shadow: 0 24px 58px rgba(30, 19, 13, .2);
}

.screen-frame--navy > img { box-shadow: 0 24px 58px rgba(0, 0, 0, .35); }

.screen-frame--wide {
  display: flex;
  align-items: end;
  justify-content: center;
  padding: clamp(18px, 2vw, 30px) clamp(14px, 1.6vw, 24px) 0;
  background: var(--copper);
}

.screen-frame--wide > img {
  width: 100%;
  height: auto;
  border: 3px solid #171513;
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.screen-quote { display: none; }

.beta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 560px);
  gap: clamp(52px, 9vw, 144px);
  padding: clamp(82px, 10vw, 154px) max(clamp(24px, 7vw, 112px), env(safe-area-inset-right)) clamp(86px, 10vw, 154px) max(clamp(24px, 7vw, 112px), env(safe-area-inset-left));
  background: var(--navy);
  color: var(--ink);
}

.beta-copy { align-self: center; }
.beta-copy > p:not(.section-index) { max-width: 580px; margin: 32px 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.8; }

.beta-facts {
  margin: 58px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(16, 24, 32, .18);
}

.beta-facts div { padding-top: 22px; }
.beta-facts dt { direction: ltr; font-family: "DIN Next LT Arabic", Arial, sans-serif; font-size: 1.2rem; font-weight: 800; text-align: start; }
.beta-facts dd { margin: 7px 0 0; color: var(--muted); font-size: .78rem; }

.signup-card {
  align-self: center;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 36px 90px rgba(16, 24, 32, .14);
}

.card-kicker { margin: 0 0 14px; color: var(--copper); font-size: .73rem; font-weight: 800; letter-spacing: .08em; }
.signup-card h2 { margin: 0; font-size: clamp(1.85rem, 3vw, 2.65rem); line-height: 1.2; }
.form-hint { margin: 13px 0 28px; color: var(--muted); line-height: 1.7; font-size: .9rem; }

form > label:not(.consent), legend {
  display: block;
  margin: 20px 0 9px;
  color: var(--ink);
  font-size: .84rem;
  font-weight: 700;
}

input[type="email"] {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 16px;
  outline: none;
  background: #f8f5f1;
  color: var(--ink);
  direction: ltr;
  text-align: left;
}

input[type="email"]:focus { border-color: var(--copper); box-shadow: 0 0 0 3px rgba(206, 126, 86, .13); }
fieldset { margin: 0; padding: 0; border: 0; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choices label { position: relative; }
.choices input { position: absolute; opacity: 0; }
.choices span {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  font-family: "DIN Next LT Arabic", Arial, sans-serif;
  font-size: .76rem;
  font-weight: 700;
  transition: background-color .2s ease, border-color .2s ease;
}

.choices input:checked + span,
.choices input:focus-visible + span { border-color: var(--copper); background: #f1d8c8; color: var(--ink); }

.consent { display: flex; gap: 10px; margin: 23px 0; color: var(--muted); line-height: 1.55; font-size: .78rem; }
.consent input { flex: 0 0 auto; margin-top: 5px; accent-color: var(--copper); }

.submit-button,
.secondary {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 12px 18px;
  background: var(--ink);
  color: white;
  font-weight: 800;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease;
}

.submit-button:hover { background: var(--copper); border-color: var(--copper); }
.submit-button:disabled { cursor: wait; opacity: .58; }
.secondary { margin-top: 22px; background: transparent; color: var(--ink); }
.secondary:hover { background: var(--ink); color: white; }
.privacy { margin: 17px 0 0; color: #8b8179; font-size: .72rem; text-align: center; }
.privacy a { text-decoration: underline; text-underline-offset: 3px; }
.error { margin: -6px 0 14px; color: var(--danger); font-size: .8rem; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.result { min-height: 420px; display: grid; align-content: center; text-align: center; }
.result-icon { width: 68px; height: 68px; margin: 0 auto 24px; display: grid; place-items: center; border: 1px solid var(--copper); border-radius: 50%; color: var(--copper); font-size: 1.8rem; }
.result .form-hint { max-width: 360px; margin-inline: auto; }
[hidden] { display: none !important; }

.site-footer {
  min-height: 110px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 26px max(clamp(20px, 4vw, 64px), env(safe-area-inset-right)) max(26px, env(safe-area-inset-bottom)) max(clamp(20px, 4vw, 64px), env(safe-area-inset-left));
  border-top: 1px solid var(--line);
  background: var(--paper);
  font-size: .72rem;
}

.site-footer p { margin: 0; color: var(--muted); direction: ltr; text-align: center; }
.site-footer > div { display: flex; justify-content: flex-end; gap: 22px; }
.site-footer > div a { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible { outline: 3px solid var(--copper); outline-offset: 4px; }

@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(310px, .85fr) minmax(430px, 1.15fr); }
  .hero-visual { min-height: 620px; }
  .beta-section { grid-template-columns: 1fr minmax(400px, 500px); gap: 54px; }
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 78px;
  }
  .hero-copy { max-width: 690px; margin: 0 auto; }
  .product-lockup, .hero-actions, .availability { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-visual { min-height: 720px; }
  .hero-visual::before { width: min(76vw, 620px); }
  .orbit--one { width: min(86vw, 700px); }
  .orbit--two { width: min(100vw, 820px); }
  .phone--front { width: min(39vw, 325px); }
  .phone--back { width: min(30vw, 248px); }
  .promise-grid { grid-template-columns: 1fr; }
  .promise-grid article { padding: 26px 0; border-inline-start: 0; border-bottom: 1px solid rgba(16,24,32,.18); }
  .promise-grid article:last-child { border-bottom: 0; }
  .promise-grid h2 { margin-top: 18px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .screen-gallery { display: flex; }
  .screen-card,
  .screen-card:nth-child(even),
  .screen-card--wide { flex: 0 0 min(36vw, 260px); }
  .beta-section { grid-template-columns: 1fr; }
  .beta-copy { text-align: center; }
  .beta-copy .section-index { text-align: center; }
  .beta-copy > p:not(.section-index) { margin-inline: auto; }
  .beta-facts { max-width: 600px; margin-inline: auto; }
  .signup-card { width: min(100%, 560px); margin-inline: auto; }
}

@media (max-width: 640px) {
  :root { --page: min(100% - 30px, 1440px); }
  html { scroll-padding-top: 70px; }
  .site-header { min-height: 68px; }
  .nav-links a { display: none; }
  .hero { min-height: calc(100svh - 68px); padding: 54px 0 66px; }
  .product-lockup { justify-content: flex-start; margin-bottom: 34px; }
  .hero-copy { text-align: start; }
  h1 { font-size: clamp(3.25rem, 16vw, 5.4rem); }
  .hero-actions { justify-content: flex-start; gap: 18px; }
  .availability { justify-content: flex-start; flex-direction: column; gap: 10px; }
  .hero-visual { min-height: 570px; margin-top: 18px; }
  .hero-visual::before { width: 92vw; }
  .orbit--one { width: 105vw; }
  .orbit--two { display: none; }
  .phone { border-width: 4px; border-radius: 34px; }
  .phone--front { width: min(58vw, 292px); transform: translateX(8%); }
  html[dir="ltr"] .phone--front { transform: translateX(-8%); }
  .phone--back { width: min(42vw, 210px); transform: translate(-70%, 8%) rotate(-6deg); }
  html[dir="ltr"] .phone--back { transform: translate(70%, 8%) rotate(6deg); }
  .visual-note { font-size: .66rem; }
  .visual-note--top { top: 11%; }
  .visual-note--bottom { bottom: 11%; }
  .promise-statement { font-size: clamp(2.8rem, 14vw, 4.8rem); }
  .experience { padding-block: 86px; }
  .section-heading h2, .beta-copy h2 { font-size: clamp(2.6rem, 13vw, 4.8rem); }
  .screen-gallery {
    width: calc(100vw - 15px);
    margin-inline-start: 0;
    padding-inline-end: 15px;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }
  .screen-gallery::-webkit-scrollbar { display: none; }
  .screen-card, .screen-card:nth-child(even), .screen-card--wide {
    flex: 0 0 min(72vw, 300px);
    margin-top: 0;
    scroll-snap-align: start;
  }
  .screen-frame,
  .screen-frame--wide { min-height: 0; padding: 20px 18px 0; }
  .screen-frame > img,
  .screen-frame--wide > img { width: 100%; height: auto; max-height: none; border-radius: 28px 28px 0 0; }
  .beta-section { padding-inline: 15px; }
  .beta-copy { text-align: start; }
  .beta-copy .section-index { text-align: start; }
  .beta-facts { gap: 12px; }
  .signup-card { padding: 28px 20px; }
  .choices { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer p { display: none; }
}

@media (max-width: 380px) {
  .hero-visual { min-height: 500px; }
  .visual-note--top { inset-inline-end: -6px; }
  .visual-note--bottom { inset-inline-start: -6px; }
  .beta-facts { grid-template-columns: 1fr; }
  .beta-facts div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
}

@media (prefers-reduced-motion: no-preference) {
  .phone--front { animation: float 6s ease-in-out infinite; }
  .phone--back { animation: float-back 7.5s ease-in-out infinite; }
  @keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
  @keyframes float-back { 0%, 100% { margin-top: 0; } 50% { margin-top: 12px; } }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
