/* ============================================================
   matami.ae — landing page styles
   Light, photography-led art direction: Manrope type system,
   ink on white, hairline structure, restrained matami orange.
   RTL-ready: layout uses logical properties throughout.
   ============================================================ */

/* ---------- Self-hosted fonts ---------- */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/plex-arabic-400-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/plex-arabic-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/plex-arabic-500-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/plex-arabic-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/plex-arabic-700-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/plex-arabic-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */

:root {
  --paper: #FFFFFF;
  --ink: #171717;
  --ink-2: #686868;
  --orange: #F7941D;
  --orange-dark: #E5850F;
  --orange-deep: #A85E00;
  --tint: #FFF4E7;
  --marker: #FFDFB4;
  --muted: #F8F8F6;
  --line: #E9E9E9;
  --line-soft: #F1F1EF;
  --danger: #C4372F;

  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-arabic: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;

  --nav-h: 72px;
  --wrap: 1216px;
  --radius: 8px;
  --radius-img: 12px;
}

/* ---------- Reset / base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

[hidden] {
  display: none !important;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  margin: 0;
  padding: 0;
}

figure {
  margin: 0;
}

[lang="ar"] {
  font-family: var(--font-arabic);
}

/* accent words: warm marker underline instead of italics */
em {
  font-style: normal;
  color: inherit;
  background-image: linear-gradient(var(--marker), var(--marker));
  background-repeat: no-repeat;
  background-size: 100% 0.27em;
  background-position: 0 96%;
  padding-inline: 0.04em;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection {
  background: var(--tint);
  color: var(--ink);
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Layout primitives ---------- */

.wrap {
  width: min(var(--wrap), 100% - clamp(2.25rem, 5vw, 4rem));
  margin-inline: auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 1.4rem;
}

.eyebrow--center {
  justify-content: center;
}

.eyebrow__mark {
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}

/* display type: confident contemporary sans, restrained sizes */
.hero__title,
.manifesto__title,
.difference__title,
.product__title,
.how__title,
.uae__title,
.waitlist__title,
.faq__title,
.closing__title,
.waitlist-success__title {
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.08;
  text-wrap: balance;
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.93rem;
  line-height: 1;
  padding: 0.95em 1.65em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease,
    border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

/* primary — matami orange */
.btn--ink {
  background: var(--orange);
  border-color: var(--orange);
  color: #1A1204;
  box-shadow: 0 1px 2px rgba(23, 23, 23, 0.06);
}

.btn--ink:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -6px rgba(247, 148, 29, 0.5);
}

.btn--ink:active {
  transform: translateY(0);
}

.btn--lg {
  font-size: 0.99rem;
  padding: 1.05em 1.95em;
}

.btn--nav {
  font-size: 0.86rem;
  padding: 0.82em 1.3em;
}

.btn--block {
  width: 100%;
}

.link-more {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0.95em 1.65em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.link-more:hover {
  border-color: var(--ink);
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
}

.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.brand__logo {
  width: 30px;
  height: 30px;
}

.brand__word {
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.brand__tld {
  color: var(--orange-deep);
  font-weight: 700;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-inline-start: auto;
}

.nav__links a {
  font-size: 0.89rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.15s ease;
}

.nav__links a:hover {
  color: var(--ink);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav__lang {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.72em 0.85em;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav__lang:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
}

.navbar__toggle span {
  display: block;
  width: 16px;
  height: 1.7px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease;
}

.navbar__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(3.85px) rotate(45deg);
}

.navbar__toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-3.85px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem clamp(1.25rem, 4vw, 3rem) 1.75rem;
}

.mobile-menu ul {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.mobile-menu li a {
  display: block;
  padding: 1rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  border-bottom: 1px solid var(--line-soft);
}

.mobile-menu.is-open {
  display: block;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  padding-block: calc(var(--nav-h) + clamp(2.25rem, 4.5vw, 3.5rem)) clamp(2.75rem, 5.5vw, 4.5rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas:
    "head product"
    "after product";
  grid-template-rows: auto 1fr;
  column-gap: clamp(3rem, 6vw, 5.5rem);
  align-items: start;
}

.hero__head {
  grid-area: head;
  padding-top: clamp(0.5rem, 2.5vw, 2.25rem);
}

.hero__after {
  grid-area: after;
}

.hero__title {
  font-size: clamp(2.6rem, 4.9vw, 4.05rem);
}

.hero__lede {
  font-size: clamp(1.02rem, 1.3vw, 1.13rem);
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 46ch;
  margin-top: 1.4rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.hero__cities {
  margin-top: 2.1rem;
  font-size: 0.86rem;
  color: var(--ink-2);
}

.hero__cities strong {
  color: var(--ink);
  font-weight: 700;
}

.hero__product {
  grid-area: product;
  justify-self: end;
  width: min(330px, 100%);
  position: relative;
}

/* quiet architectural backdrop behind the device */
.hero__product::before {
  content: "";
  position: absolute;
  inset-block: 6%;
  inset-inline-start: -14%;
  inset-inline-end: -22%;
  background: var(--muted);
  border-radius: 4px;
  z-index: -1;
}

.hero__caption {
  margin-top: 1.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 0.77rem;
  font-weight: 500;
  color: var(--ink-2);
}

/* ============================================================
   PHONE MOCKUP (light product UI)
   ============================================================ */

.phone {
  background: #101010;
  border-radius: 40px;
  padding: 9px;
  box-shadow:
    0 28px 56px -26px rgba(23, 23, 23, 0.35),
    0 4px 14px rgba(23, 23, 23, 0.07);
}

.phone__screen {
  background: #FFFFFF;
  border-radius: 32px;
  overflow: hidden;
  padding: 11px 12px 12px;
  display: flex;
  flex-direction: column;
}

.ui-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.67rem;
  font-weight: 700;
  color: var(--ink);
  padding: 2px 6px 9px;
}

.ui-cover {
  width: 100%;
  height: 88px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 10px;
}

.ui-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.7rem;
}

.ui-header__logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--orange);
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.ui-header__meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.ui-header__name {
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ui-header__loc {
  font-size: 0.64rem;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ui-header__rating {
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--orange-deep);
  background: var(--tint);
  border-radius: 999px;
  padding: 0.28rem 0.5rem;
  flex-shrink: 0;
}

.ui-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--muted);
  border-radius: 9px;
  padding: 3px;
  margin-bottom: 0.6rem;
}

.ui-seg span {
  text-align: center;
  font-size: 0.69rem;
  font-weight: 700;
  color: var(--ink-2);
  padding: 0.44rem 0;
  border-radius: 7px;
}

.ui-seg .is-on {
  background: var(--ink);
  color: #fff;
}

.ui-offer {
  background: var(--tint);
  border-inline-start: 3px solid var(--orange);
  border-radius: 7px;
  padding: 0.5rem 0.65rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--orange-deep);
  margin-bottom: 0.6rem;
}

.ui-cats {
  display: flex;
  gap: 0.35rem;
  overflow: hidden;
  margin-bottom: 0.35rem;
  -webkit-mask-image: linear-gradient(to var(--mask-end, right), #000 82%, transparent);
  mask-image: linear-gradient(to var(--mask-end, right), #000 82%, transparent);
}

[dir="rtl"] .ui-cats {
  --mask-end: left;
}

.ui-cats span {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.32rem 0.62rem;
  white-space: nowrap;
}

.ui-cats .is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.ui-label {
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0.5rem 0 0.1rem;
}

.ui-dish {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.ui-dish:last-of-type {
  border-bottom: none;
}

.ui-dish__thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.ui-dish__meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.ui-dish__name {
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ui-dish__desc {
  font-size: 0.61rem;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ui-dish__buy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  flex-shrink: 0;
}

.ui-dish__price {
  font-size: 0.66rem;
  font-weight: 700;
}

.ui-dish__buy button {
  width: 21px;
  height: 21px;
  border: none;
  border-radius: 7px;
  background: var(--orange);
  color: #1A1204;
  font-weight: 800;
  font-size: 0.78rem;
  line-height: 1;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.ui-loyalty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.55rem;
  background: var(--tint);
  border-radius: 8px;
  padding: 0.48rem 0.65rem;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--orange-deep);
}

.ui-loyalty__dots {
  display: inline-flex;
  gap: 4px;
}

.ui-loyalty__dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  border: 1px solid var(--orange);
}

.ui-loyalty__dots i.is-fill {
  background: var(--orange);
}

.ui-basket {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.65rem;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
}

/* item detail screen */
.ui-back {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 0 9px;
}

.ui-photo {
  width: 100%;
  height: 118px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.7rem;
}

.ui-item__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
}

.ui-item__row h4 {
  font-size: 0.8rem;
  font-weight: 700;
}

.ui-item__price {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange-deep);
  flex-shrink: 0;
}

.ui-item__desc {
  font-size: 0.63rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin-top: 0.3rem;
}

.ui-addon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.48rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.67rem;
  font-weight: 600;
}

.ui-addon__box {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1.5px solid #D9D9D6;
  flex-shrink: 0;
}

.ui-addon__box.is-on {
  background: var(--orange);
  border-color: var(--orange);
}

.ui-addon__price {
  margin-inline-start: auto;
  font-size: 0.61rem;
  color: var(--ink-2);
}

.ui-add {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.ui-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.ui-stepper button {
  border: none;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-2);
  padding: 0.35rem 0.1rem;
  pointer-events: none;
}

.ui-add__cta {
  flex: 1;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: #1A1204;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.65rem 0;
}

/* ============================================================
   MANIFESTO
   ============================================================ */

.manifesto {
  border-top: 1px solid var(--line);
  padding-block: clamp(3.5rem, 6.5vw, 5.5rem);
  text-align: center;
}

.manifesto__title {
  font-size: clamp(2rem, 3.9vw, 3.15rem);
  max-width: 19ch;
  margin-inline: auto;
}

.manifesto__body {
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 54ch;
  margin: 1.9rem auto 0;
}

/* ============================================================
   DIFFERENCE
   ============================================================ */

.difference {
  border-top: 1px solid var(--line);
  padding-block: clamp(3.5rem, 6vw, 5rem);
}

.difference__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 4.5vw, 4rem);
  align-items: start;
}

.difference__title {
  font-size: clamp(1.9rem, 3.3vw, 2.8rem);
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}

.difference__intro {
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--ink);
  max-width: 52ch;
  margin-bottom: 2.4rem;
}

.difference__list li {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: baseline;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}

.difference__list li:last-child {
  border-bottom: 1px solid var(--line);
}

.difference__num {
  font-weight: 200;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--orange-deep);
  min-width: 3rem;
}

.difference__list h3 {
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.4rem;
}

.difference__list p {
  font-size: 0.96rem;
  color: var(--ink-2);
}

/* ============================================================
   PRODUCT SHOWCASE — muted full-bleed band
   ============================================================ */

.product {
  background: var(--muted);
  border-block: 1px solid var(--line);
  padding-block: clamp(3.5rem, 6vw, 5rem);
  overflow: hidden;
}

.product__head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.product__title {
  font-size: clamp(1.9rem, 3.3vw, 2.8rem);
  max-width: 18ch;
}

.product__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 4.5vw, 4rem);
  align-items: center;
}

.product__stage {
  position: relative;
  min-height: 660px;
}

.product__slab {
  position: absolute;
  inset-block: 40px;
  inset-inline-start: 0;
  width: 86%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.phone--menu {
  position: relative;
  z-index: 1;
  width: min(300px, 78vw);
  margin-inline-start: 6%;
}

.phone--detail {
  position: absolute;
  z-index: 2;
  top: 116px;
  inset-inline-start: 48%;
  width: min(282px, 74vw);
  box-shadow:
    0 36px 64px -28px rgba(23, 23, 23, 0.4),
    0 6px 18px rgba(23, 23, 23, 0.08);
}

.product__notes li {
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}

.product__notes li:last-child {
  border-bottom: 1px solid var(--line);
}

.product__notes h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.35rem;
}

.product__notes p {
  font-size: 0.94rem;
  color: var(--ink-2);
  max-width: 44ch;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */

.how {
  padding-block: clamp(3.5rem, 6vw, 5rem);
}

.how__title {
  font-size: clamp(1.9rem, 3.3vw, 2.8rem);
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.how__steps li {
  padding-inline: clamp(1.75rem, 3.5vw, 3rem);
  border-inline-start: 1px solid var(--line);
}

.how__steps li:first-child {
  padding-inline-start: 0;
  border-inline-start: none;
}

.how__num {
  display: block;
  font-weight: 200;
  font-size: clamp(3rem, 4.8vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.how__num::after {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--orange);
  margin-block: 1.1rem 1.3rem;
}

.how__steps h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.45rem;
}

.how__steps p {
  font-size: 0.95rem;
  color: var(--ink-2);
  max-width: 30ch;
}

/* ============================================================
   UAE — warm band with photography
   ============================================================ */

.uae {
  background: var(--tint);
  padding-top: clamp(3.5rem, 6vw, 5rem);
}

.uae__title {
  font-size: clamp(1.9rem, 3.3vw, 2.8rem);
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
  max-width: 18ch;
}

.uae__cols {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.uae__body {
  font-size: 1.04rem;
  line-height: 1.75;
  color: #5D584F;
  max-width: 54ch;
}

.uae__arabic {
  font-size: 1.02rem;
  line-height: 2;
  color: #5D584F;
  padding-inline-start: 1.1rem;
  border-inline-start: 2px solid var(--orange);
}

.uae__arabic span {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* staggered editorial photo row */
.uae__gallery {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr;
  gap: clamp(0.8rem, 1.6vw, 1.1rem);
  align-items: end;
  margin-top: clamp(2rem, 3.5vw, 2.75rem);
}

.uae__ph {
  overflow: hidden;
  border-radius: var(--radius-img);
}

.uae__ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.uae__ph:hover img {
  transform: scale(1.03);
}

.uae__ph--wide {
  height: clamp(200px, 24vw, 320px);
}

.uae__ph--tall {
  height: clamp(240px, 28vw, 380px);
}

.uae__ph--square {
  height: clamp(180px, 21vw, 280px);
}

.uae__cities {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-top: clamp(1.75rem, 3.25vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--ink);
}

.uae__dot {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
}

.uae__skyline {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 0;
}

.uae__skyline svg {
  width: 100%;
  height: auto;
}

/* ============================================================
   WAITLIST
   ============================================================ */

.waitlist {
  padding-block: clamp(3.5rem, 6vw, 5rem);
}

.waitlist__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 4.5vw, 4rem);
  align-items: start;
}

.waitlist__title {
  font-size: clamp(1.85rem, 3vw, 2.55rem);
}

.waitlist__sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-2);
  margin-top: 1.3rem;
  max-width: 46ch;
}

.waitlist__points {
  margin-top: 2.1rem;
}

.waitlist__points li {
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  font-weight: 500;
}

.waitlist__points li:last-child {
  border-bottom: 1px solid var(--line);
}

.waitlist__points li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  margin-inline-end: 0.85rem;
}

/* ---------- Form ---------- */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem 1.1rem;
}

.field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 0.5rem;
}

.req {
  color: var(--orange);
}

.optional {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.02em;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="number"],
.field select {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.82rem 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
}

.field input::placeholder {
  color: #B6B6B1;
  font-weight: 400;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--tint);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--danger);
}

.field input[aria-invalid="true"]:focus,
.field select[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(196, 55, 47, 0.1);
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "";
  position: absolute;
  inset-inline-end: 1rem;
  top: 50%;
  width: 7px;
  height: 7px;
  border-inline-end: 1.7px solid var(--ink-2);
  border-block-end: 1.7px solid var(--ink-2);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.field select {
  cursor: pointer;
}

.field__error {
  color: var(--danger);
  font-size: 0.79rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 0.4rem;
}

.hp-field {
  position: absolute;
  inset-inline-start: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field--consent {
  margin-top: 1.5rem;
}

.field label.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  margin-bottom: 0;
  text-transform: none;
  letter-spacing: 0;
}

.checkbox input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.checkbox__box {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid #D5D5D1;
  background: var(--paper);
  color: #1A1204;
  flex-shrink: 0;
  margin-top: 1px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.checkbox__box svg {
  width: 11px;
  height: 9px;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.checkbox input:checked + .checkbox__box {
  background: var(--orange);
  border-color: var(--orange);
}

.checkbox input:checked + .checkbox__box svg {
  opacity: 1;
}

.checkbox input:focus-visible + .checkbox__box {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.checkbox__text {
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.55;
}

.waitlist-form__submit {
  width: 100%;
  margin-top: 1.6rem;
  height: 54px;
  gap: 0.6rem;
}

.btn__spinner {
  display: none;
  width: 17px;
  height: 17px;
  border: 2.5px solid rgba(26, 18, 4, 0.25);
  border-top-color: #1A1204;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.waitlist-form__submit.is-loading {
  pointer-events: none;
  opacity: 0.85;
}

.waitlist-form__submit.is-loading .btn__spinner {
  display: inline-block;
}

.form-error {
  color: var(--danger);
  background: #FCF3F2;
  border: 1px solid #EFC5C2;
  border-radius: var(--radius);
  font-size: 0.89rem;
  font-weight: 500;
  padding: 0.8rem 1rem;
  margin-top: 1.25rem;
}

.form-note {
  text-align: center;
  color: var(--ink-2);
  font-size: 0.78rem;
  margin-top: 0.95rem;
}

/* success state */
.waitlist-success {
  padding: 3rem 0;
  animation: successIn 0.4s ease both;
}

@keyframes successIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.waitlist-success__rule {
  display: block;
  width: 44px;
  height: 4px;
  border-radius: 2px;
  background: var(--orange);
  margin-bottom: 1.6rem;
}

.waitlist-success__title {
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
}

.waitlist-success__title:focus {
  outline: none;
}

.waitlist-success__text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 42ch;
  margin-top: 1rem;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq {
  border-top: 1px solid var(--line);
  padding-block: clamp(3.5rem, 6vw, 5rem);
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 4.5vw, 4rem);
  align-items: start;
}

.faq__title {
  font-size: clamp(1.9rem, 3.3vw, 2.8rem);
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0;
}

.faq-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  text-align: start;
  font-family: var(--font-sans);
  font-size: 1.03rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: transparent;
  border: none;
  padding: 1.35rem 0;
  cursor: pointer;
  transition: color 0.15s ease;
}

.faq-item__trigger:hover {
  color: var(--orange-deep);
}

.faq-item__mark {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.28s ease;
}

.faq-item__mark::before,
.faq-item__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--ink);
  border-radius: 1px;
}

.faq-item__mark::before {
  width: 14px;
  height: 1.7px;
}

.faq-item__mark::after {
  width: 1.7px;
  height: 14px;
}

.faq-item__trigger[aria-expanded="true"] .faq-item__mark {
  transform: rotate(45deg);
}

.faq-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item__panel.is-open {
  grid-template-rows: 1fr;
}

.faq-item__content {
  overflow: hidden;
}

.faq-item__content p {
  color: var(--ink-2);
  font-size: 0.96rem;
  line-height: 1.7;
  padding-bottom: 1.35rem;
  max-width: 58ch;
}

/* ============================================================
   CLOSING
   ============================================================ */

.closing {
  border-top: 1px solid var(--line);
  padding-block: clamp(4rem, 7vw, 6rem);
}

.closing__title {
  font-size: clamp(2.5rem, 5vw, 4.1rem);
}

.closing__row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.1rem;
  flex-wrap: wrap;
}

.closing__note {
  font-size: 0.91rem;
  color: var(--ink-2);
  max-width: 30ch;
  line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  border-top: 1px solid var(--line);
  background: var(--muted);
  padding-block: clamp(2.25rem, 4vw, 3rem) 1.75rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 3rem;
  align-items: start;
}

.footer__tagline {
  color: var(--ink-2);
  font-size: 0.91rem;
  margin-top: 1rem;
  max-width: 32ch;
}

.footer__tagline--ar {
  margin-top: 0.3rem;
  font-size: 0.85rem;
  text-align: start;
}

.footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.footer__nav a {
  display: inline-block;
  color: var(--ink-2);
  font-size: 0.89rem;
  font-weight: 500;
  padding-block: 0.3rem;
  transition: color 0.15s ease;
}

.footer__nav a:hover {
  color: var(--ink);
}

.footer__social {
  display: flex;
  gap: 0.6rem;
}

.footer__social-link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  color: var(--ink-2);
  border: 1px solid var(--line);
  background: var(--paper);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.footer__social-link:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.footer__social-link svg {
  width: 19px;
  height: 19px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  color: var(--ink-2);
  font-size: 0.83rem;
}

/* ============================================================
   ARABIC (RTL) PAGE
   ============================================================ */

html[lang="ar"] {
  /* Latin glyphs stay Manrope; Arabic script falls through to Plex Arabic */
  --font-sans: "Manrope", "IBM Plex Sans Arabic", system-ui, sans-serif;
}

html[lang="ar"] body {
  line-height: 1.75;
}

/* Arabic script: no negative tracking, taller leading, 700 max weight */
html[lang="ar"] .hero__title,
html[lang="ar"] .manifesto__title,
html[lang="ar"] .difference__title,
html[lang="ar"] .product__title,
html[lang="ar"] .how__title,
html[lang="ar"] .uae__title,
html[lang="ar"] .waitlist__title,
html[lang="ar"] .faq__title,
html[lang="ar"] .closing__title,
html[lang="ar"] .waitlist-success__title {
  letter-spacing: 0;
  line-height: 1.3;
  font-weight: 700;
}

/* Arabic display sizes: the script runs wider and taller than Latin */
html[lang="ar"] .hero__title {
  font-size: clamp(2.1rem, 3.9vw, 3.3rem);
}

html[lang="ar"] .manifesto__title {
  font-size: clamp(1.75rem, 3.3vw, 2.7rem);
}

html[lang="ar"] .difference__title,
html[lang="ar"] .product__title,
html[lang="ar"] .how__title,
html[lang="ar"] .uae__title,
html[lang="ar"] .faq__title {
  font-size: clamp(1.65rem, 2.8vw, 2.4rem);
}

html[lang="ar"] .waitlist__title {
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
}

html[lang="ar"] .closing__title {
  font-size: clamp(2.1rem, 4.1vw, 3.4rem);
}

html[lang="ar"] .eyebrow,
html[lang="ar"] .field label,
html[lang="ar"] .ui-label {
  letter-spacing: 0;
}

html[lang="ar"] .eyebrow {
  font-size: 0.82rem;
}

html[lang="ar"] .field label {
  font-size: 0.8rem;
}

html[lang="ar"] .uae__cities,
html[lang="ar"] .brand__word {
  letter-spacing: 0;
}

/* marker underline sits lower for Arabic glyph proportions */
html[lang="ar"] em {
  background-size: 100% 0.24em;
  background-position: 0 100%;
}

/* phone and email are LTR data even on the Arabic page */
html[lang="ar"] input[type="tel"],
html[lang="ar"] input[type="email"] {
  direction: ltr;
  text-align: end;
}

/* ============================================================
   ENTRY MOTION (subtle, load-only)
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {
  .hero__head,
  .hero__after,
  .hero__product {
    animation: rise 0.65s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  }

  .hero__after { animation-delay: 0.07s; }
  .hero__product { animation-delay: 0.14s; }

  @keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1080px) {
  .product__stage {
    min-height: 620px;
  }

  .phone--detail {
    inset-inline-start: 42%;
  }
}

@media (max-width: 960px) {
  .nav__links {
    display: none;
  }

  .navbar__toggle {
    display: flex;
  }

  .nav__actions {
    margin-inline-start: auto;
  }

  /* hero: headline → product → copy */
  .hero__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "product"
      "after";
    row-gap: 2.25rem;
  }

  .hero__product {
    justify-self: center;
  }

  .hero__product::before {
    inset-inline: -18%;
  }

  .difference__grid,
  .faq__grid,
  .waitlist__grid,
  .uae__cols {
    grid-template-columns: 1fr;
  }

  .difference__title,
  .faq__title {
    position: static;
  }

  .product__grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .how__steps {
    grid-template-columns: 1fr;
  }

  .how__steps li {
    padding-inline: 0;
    padding-block: 2rem;
    border-inline-start: none;
    border-top: 1px solid var(--line);
  }

  .how__steps li:first-child {
    border-top: none;
    padding-top: 0;
  }

  .uae__gallery {
    grid-template-columns: 1fr 1fr;
  }

  .uae__ph--wide {
    grid-column: 1 / -1;
    height: clamp(200px, 38vw, 300px);
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}

@media (max-width: 720px) {
  .phone--detail {
    display: none;
  }

  .product__stage {
    min-height: 0;
    display: flex;
    justify-content: center;
    padding-block: 2.25rem;
  }

  .phone--menu {
    margin-inline-start: 0;
  }

  .product__slab {
    inset-block: 0;
    inset-inline: -10%;
    width: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-h: 62px;
  }

  .nav-cta-the {
    display: none;
  }

  /* the language link lives in the mobile menu at this size */
  .nav__actions .nav__lang {
    display: none;
  }

  .btn--nav {
    font-size: 0.8rem;
    padding: 0.75em 1.05em;
  }

  .brand__logo {
    width: 26px;
    height: 26px;
  }

  .brand__word {
    font-size: 1rem;
  }

  .nav__inner {
    gap: 0.75rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }

  .hero__actions .btn,
  .hero__actions .link-more {
    width: 100%;
    text-align: center;
    justify-content: center;
    display: inline-flex;
  }

  .hero__cities {
    text-align: center;
    margin-top: 2.25rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .closing__row {
    align-items: stretch;
    flex-direction: column;
    gap: 1.25rem;
  }

  .closing__row .btn {
    width: 100%;
  }

  .footer__nav {
    grid-template-columns: 1fr 1fr;
  }

  .footer__bottom {
    justify-content: center;
    text-align: center;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
}
