/* hads_ product pitch pages (/products/*). Shared by every product page. */

:root {
  --blue: #1127cf;
  --blue-dark: #0c1da3;
  --cream: #f4f4e4;
  --white: #ffffff;
  --ink: #000000;
  --ink-2: rgba(0, 0, 0, 0.62);
  --ink-3: rgba(0, 0, 0, 0.12);
  --red: #e64f44;
  --green: #6ebb63;
  --night: #000000;
  --night-2: #161617;
  --night-text-2: rgba(255, 255, 255, 0.62);

  --font: "Poppins", Helvetica, Arial, sans-serif;
  --text: 1.0625rem;
  --lead: clamp(1.125rem, 0.95rem + 0.6vw, 1.3125rem);
  --h3: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
  --h2: clamp(2.25rem, 1.4rem + 3.4vw, 4.5rem);
  --display: clamp(3.5rem, 1.6rem + 8vw, 8.5rem);

  --wrap: 1040px;
  --wide: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 12vw, 160px);
  --radius: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--text);
  line-height: 1.5;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

.dark :focus-visible,
.invest :focus-visible {
  outline-color: var(--white);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* The hads_ cursor: the brand's underscore, blinking like a terminal. */
.cursor {
  display: inline-block;
  width: 0.48em;
  height: max(2px, 0.09em);
  margin-inline-start: 0.06em;
  background: currentColor;
  vertical-align: -0.1em;
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* ---------- Navigation ---------- */

.global-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 44px;
  padding: 0 var(--gutter);
  background: var(--blue);
  color: var(--cream);
  font-size: 0.8125rem;
}

.global-nav a {
  color: inherit;
  opacity: 0.85;
}

.global-nav a:hover {
  opacity: 1;
  text-decoration: none;
}

.global-nav .wordmark {
  font-size: 1.25rem;
  font-weight: 500;
  opacity: 1;
  margin-inline-end: auto;
}

.global-nav [aria-current="page"] {
  opacity: 1;
  font-weight: 600;
}

.local-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--cream) 80%, transparent);
  backdrop-filter: saturate(1.8) blur(20px);
  -webkit-backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: 1px solid var(--ink-3);
}

.local-nav .inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--wrap);
  height: 52px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.local-nav .title {
  margin-inline-end: auto;
  font-size: 1.3125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.local-nav .title:hover {
  text-decoration: none;
}

.local-nav .links {
  display: flex;
  gap: 24px;
  list-style: none;
  font-size: 0.75rem;
}

.local-nav .links a {
  color: var(--ink-2);
}

.local-nav .links a:hover {
  color: var(--ink);
  text-decoration: none;
}

/* Switch to the same page in the other language. */
.local-nav .lang {
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--ink-3);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  white-space: nowrap;
}

.local-nav .lang:hover {
  border-color: var(--ink);
  text-decoration: none;
}

.button {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.2s;
}

.button:hover {
  background: var(--blue-dark);
  text-decoration: none;
}

.button.small {
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
}

.button.light {
  background: var(--white);
  color: var(--blue);
}

.button.light:hover {
  background: var(--cream);
}

.text-link {
  font-weight: 500;
}

.text-link::after {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  margin-inline-start: 0.3em;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-0.12em);
}

.play-link::before {
  content: "";
  display: inline-block;
  margin-inline-end: 0.4em;
  border-left: 0.6em solid currentColor;
  border-top: 0.36em solid transparent;
  border-bottom: 0.36em solid transparent;
  vertical-align: -0.02em;
}

/* ---------- Section scaffolding ---------- */

.section {
  padding: var(--section) var(--gutter);
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
}

.wide {
  max-width: var(--wide);
  margin: 0 auto;
}

.dark {
  background: var(--night);
  color: var(--white);
}

.white {
  background: var(--white);
}

.eyebrow {
  display: block;
  margin-bottom: 0.6rem;
  font-size: var(--h3);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--blue);
}

.dark .eyebrow {
  color: #8f9bff;
}

.headline {
  font-size: var(--h2);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.headline + .lead,
.headline + p {
  margin-top: 1.5rem;
}

.lead {
  max-width: 40rem;
  font-size: var(--lead);
  line-height: 1.5;
  color: var(--ink-2);
}

.lead strong {
  color: var(--ink);
  font-weight: 600;
}

.dark .lead {
  color: var(--night-text-2);
}

.dark .lead strong {
  color: var(--white);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(32px, 5vw, 56px);
}

/* ---------- Hero (pinned) ---------- */

.hero {
  height: 190vh;
  text-align: center;
}

.hero .pin {
  position: sticky;
  top: 52px;
  height: calc(100vh - 52px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(32px, 6vh, 72px) var(--gutter) 0;
  overflow: hidden;
}

.hero .title {
  will-change: transform, opacity;
}

.hero h1 {
  font-size: var(--display);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.045em;
  animation: rise 1.2s var(--ease) backwards;
}

.hero .tagline {
  margin-top: 1rem;
  font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  animation: rise 1.2s 0.15s var(--ease) backwards;
}

.hero .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
  margin-top: 2rem;
  animation: rise 1.2s 0.3s var(--ease) backwards;
}

.hero .stage {
  width: min(1100px, 100%);
  margin-top: clamp(24px, 4vh, 48px);
  transform-origin: 50% 0;
  will-change: transform;
  animation: rise 1.4s 0.35s var(--ease) backwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
}

/* ---------- Highlights gallery ---------- */

.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(86vw, 960px);
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wide)) / 2));
  padding: 0 max(var(--gutter), calc((100vw - var(--wide)) / 2));
  scrollbar-width: none;
}

.gallery::-webkit-scrollbar {
  display: none;
}

.gallery .card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: min(78vh, 700px);
  border-radius: var(--radius);
  background: var(--night-2);
  overflow: hidden;
  scroll-snap-align: start;
}

.gallery .caption {
  padding: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0;
  max-width: 34rem;
  font-size: var(--h3);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.gallery .caption span {
  color: var(--night-text-2);
}

.gallery .media {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px 24px 0;
}

.gallery .media {
  min-height: 0;
}

.gallery .media img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.gallery .media.fit img {
  width: 100%;
}

.paddles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.dots {
  display: flex;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  transition: width 0.4s var(--ease), background 0.4s;
}

.dots button[aria-current="true"] {
  width: 40px;
  background: var(--white);
}

.playpause {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.playpause::before {
  content: "";
  width: 10px;
  height: 12px;
  border-left: 3px solid var(--white);
  border-right: 3px solid var(--white);
}

.playpause[aria-pressed="false"]::before {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-right: 0;
  border-left: 11px solid var(--white);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

/* ---------- Media frames ---------- */

.frame {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--night);
}

.frame video,
.frame img {
  width: 100%;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: clamp(40px, 6vw, 72px);
  list-style: none;
}

.stats li {
  font-size: var(--text);
  color: var(--ink-2);
}

.dark .stats li {
  color: var(--night-text-2);
}

.stats strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.dark .stats strong {
  color: var(--white);
}

/* ---------- Tabs ("Take a closer look") ---------- */

.tablist {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  margin-bottom: 32px;
  border-radius: 999px;
  background: var(--white);
}

.tablist button {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-2);
}

.tablist button[aria-selected="true"] {
  background: var(--ink);
  color: var(--white);
}

.tabpanel {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius);
  background: var(--white);
}

.tabpanel[hidden] {
  display: none;
}

.tabpanel h3 {
  font-size: var(--h3);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.tabpanel p {
  margin-top: 0.75rem;
  color: var(--ink-2);
}

/* ---------- Device trio (AI waiter) ---------- */

.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 40px);
  margin-top: clamp(48px, 7vw, 88px);
  list-style: none;
  text-align: center;
}

.trio img {
  width: min(100%, 300px);
  margin: 0 auto;
}

.trio figcaption,
.trio p {
  margin-top: 1.25rem;
  color: var(--night-text-2);
}

.trio strong {
  display: block;
  color: var(--white);
  font-weight: 600;
}

/* ---------- Feature tiles ---------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.tile {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.tile .copy {
  padding: clamp(28px, 4vw, 44px) clamp(28px, 4vw, 44px) 0;
}

.tile h3 {
  font-size: var(--h3);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.tile p {
  margin-top: 0.6rem;
  color: var(--ink-2);
}

.tile .media {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 32px 32px 0;
}

.tile .media img {
  max-height: 460px;
  width: auto;
}

/* A phone-sized screenshot in a simple device outline. */
.phone {
  width: min(100%, 280px);
  border: 10px solid var(--ink);
  border-bottom: 0;
  border-radius: 46px 46px 0 0;
  overflow: hidden;
  background: var(--ink);
}

.phone img {
  width: 100%;
  max-height: none !important;
}

/* ---------- Rows (Built for Saudi) ---------- */

.rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 64px;
  list-style: none;
}

.rows li {
  padding-top: 24px;
  border-top: 1px solid var(--ink-3);
}

.rows h3 {
  font-size: var(--h3);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.rows p {
  margin-top: 0.5rem;
  color: var(--ink-2);
}

.symbol {
  display: block;
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--blue);
}

/* ---------- Venues scroller ---------- */
/* Sideways scrollers here also set overflow-y: hidden; otherwise a sub-pixel of height makes them
   vertically scrollable, and a trackpad scroll over them never reaches the page. */

.venues {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 300px);
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 8px;
  list-style: none;
  scrollbar-width: none;
}

.venues::-webkit-scrollbar {
  display: none;
}

.venues li {
  scroll-snap-align: start;
}

.venues img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
}

.venues p {
  margin-top: 0.75rem;
  font-weight: 500;
}

/* ---------- Plans ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
}

.plans li {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: 22px;
  background: var(--white);
}

.plans h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.plans .price {
  margin-top: 1rem;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.plans .price small {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink-2);
  letter-spacing: 0;
}

.plans p {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.plans .featured {
  background: var(--ink);
  color: var(--white);
}

.plans .featured p,
.plans .featured .price small {
  color: var(--night-text-2);
}

.streams {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 56px;
  list-style: none;
}

.streams li {
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.streams h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.streams p {
  margin-top: 0.4rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

/* ---------- Invest ---------- */

.invest {
  background: var(--blue);
  color: var(--white);
}

.invest .headline {
  font-size: var(--display);
  letter-spacing: -0.045em;
}

.invest .lead {
  color: rgba(255, 255, 255, 0.82);
}

.invest .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2.5rem;
}

.invest .note {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
}

.invest .note a,
.round-stage a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* The round: a white panel on the blue section. The amount on one side; on the other,
   a donut of the use of funds that sweeps round when the panel appears, and its legend. */
@property --sweep {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

.invest .round {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  margin-top: clamp(40px, 6vw, 64px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.45);
}

.round-stage {
  font-weight: 600;
  color: var(--blue);
}

.round-stage a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.round-amount {
  margin-top: 0.5rem;
  font-size: clamp(3rem, 1.6rem + 5vw, 6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--blue);
}

.round-line {
  max-width: 34rem;
  margin-top: 1.25rem;
  font-size: var(--lead);
  line-height: 1.5;
  color: var(--ink-2);
}

.round-line strong {
  color: var(--ink);
  font-weight: 600;
}

.round-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  list-style: none;
  font-size: 0.875rem;
  color: var(--ink-2);
}

.round-facts strong {
  display: block;
  font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}

/* What the round must prove (banana24): short milestones under the pitch line. */
.proofs-title {
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
}

.round-proofs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  margin-top: 0.9rem;
  list-style: none;
  font-size: 0.875rem;
  line-height: 1.5;
}

.round-proofs h4 {
  font-size: 1rem;
  font-weight: 600;
}

.round-proofs p {
  margin-top: 0.2rem;
  color: var(--ink-2);
}

@media (max-width: 560px) {
  .round-proofs {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Donut above its legend, so every label has a full line. */
.round-funds {
  display: grid;
  align-content: center;
  gap: clamp(20px, 3vw, 28px);
}

.donut {
  --sweep: 0%;
  position: relative;
  width: min(200px, 70%);
  margin: 0 auto;
  aspect-ratio: 1;
  border-radius: 50%;
  -webkit-mask: conic-gradient(#000 var(--sweep), transparent 0);
  mask: conic-gradient(#000 var(--sweep), transparent 0);
  transition: --sweep 1.4s var(--ease);
}

.round.in .donut {
  --sweep: 100%;
}

/* The hole, with the total in it. */
.donut span {
  position: absolute;
  inset: 22%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  font-size: clamp(1rem, 0.8rem + 0.6vw, 1.25rem);
  font-weight: 600;
  text-align: center;
  line-height: 1.15;
}

.donut em {
  font-size: 0.6875rem;
  font-style: normal;
  font-weight: 500;
  color: var(--ink-2);
}

.legend-list {
  list-style: none;
  font-size: 0.875rem;
}

.legend-list li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto auto;
  align-items: baseline;
  gap: 0 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.legend-list li:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.legend-list .swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  align-self: center;
}

.legend-list .pct {
  font-weight: 600;
  text-align: end;
}

.legend-list .sar {
  min-width: 4.5rem;
  color: var(--ink-2);
  text-align: end;
}

@media (max-width: 980px) {
  .invest .round {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .donut {
    --sweep: 100%;
    transition: none;
  }
}

/* The interest form opens in a window over the page. */
.form-dialog {
  width: min(720px, 94vw);
  height: min(88vh, 1040px);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.35);
}

.form-dialog[open] {
  display: flex;
  flex-direction: column;
  animation: rise 0.5s var(--ease);
}

.form-dialog::backdrop {
  background: rgba(17, 39, 207, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 14px 16px 14px 24px;
  border-bottom: 1px solid var(--ink-3);
  font-weight: 600;
}

.form-head .close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream);
  font-size: 1.25rem;
  line-height: 1;
}

@media (max-width: 640px) {
  .form-dialog {
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
  }
}

/* ---------- Keep exploring ---------- */

.explore {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
}

.explore li {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 28px;
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
}

.explore img {
  width: 96px;
  height: 96px;
  border-radius: 22px;
}

.explore h3 {
  margin-top: 1.5rem;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.explore p {
  margin-top: 0.5rem;
  color: var(--ink-2);
}

.explore .current {
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--ink-2);
}

.explore .links {
  display: flex;
  gap: 1.5rem;
  margin-top: auto;
  padding-top: 1.5rem;
}

/* ---------- FAQ ---------- */

.faq {
  border-top: 1px solid var(--ink-3);
}

.faq details {
  border-bottom: 1px solid var(--ink-3);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 24px 0;
  font-size: var(--h3);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  font-weight: 400;
  color: var(--ink-2);
  transition: transform 0.3s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq .answer {
  max-width: 44rem;
  padding-bottom: 28px;
  color: var(--ink-2);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 48px var(--gutter);
  background: var(--blue);
  color: var(--cream);
  font-size: 0.8125rem;
}

.site-footer .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  max-width: var(--wrap);
  margin: 0 auto;
}

.site-footer .wordmark {
  font-size: 1.75rem;
  font-weight: 500;
}

.site-footer a {
  color: inherit;
}

.site-footer .disclaimer {
  flex-basis: 100%;
  font-size: 0.75rem;
  opacity: 0.7;
}

/* ---------- Film dialog ---------- */

.film {
  width: min(92vw, 1280px);
  margin: auto;
  border: 0;
  border-radius: 20px;
  background: var(--night);
  overflow: hidden;
}

.film::backdrop {
  background: rgba(0, 0, 0, 0.85);
}

.film iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.film .close {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  z-index: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1;
}

/* ---------- Motion ---------- */

/* Fade up when a block enters the screen. */
[data-fade] {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}

[data-fade="right"] {
  transform: translateX(12vw);
}

/* The gallery slides in from the side; keep that inside its own section. */
[data-gallery] {
  overflow-x: clip;
}

[data-fade].in {
  opacity: 1;
  transform: none;
}

/* Words light up as you read. */
.words .w {
  opacity: 0.18;
  transition: opacity 0.35s linear;
}

.words .w.lit {
  opacity: 1;
}

.statement {
  max-width: 30ch;
  font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

/* Inside a tap&eat restaurant: pinned live 3D, camera driven by scroll. */
.world {
  position: relative;
  background: #1e1f1d;
  color: var(--white);
}

.world .pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.world .canvas,
.world .poster {
  position: absolute;
  inset: 0;
}

.world .canvas {
  pointer-events: none;
}

.world .canvas canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.world .poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.8s;
}

.world.ready .poster {
  opacity: 0;
}

.world .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 20, 19, 0.82) 0%, rgba(20, 20, 19, 0) 48%),
    linear-gradient(0deg, rgba(20, 20, 19, 0.6) 0%, rgba(20, 20, 19, 0) 30%);
  pointer-events: none;
}

.world .intro {
  position: absolute;
  top: clamp(72px, 12vh, 120px);
  inset-inline-start: max(var(--gutter), calc((100vw - var(--wide)) / 2));
  max-width: 34rem;
}

.world .steps {
  position: absolute;
  inset-inline-start: max(var(--gutter), calc((100vw - var(--wide)) / 2));
  bottom: clamp(40px, 10vh, 96px);
  width: min(30rem, calc(100vw - 2 * var(--gutter)));
  list-style: none;
}

.world .steps li {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease);
}

.world .steps li.on {
  opacity: 1;
  transform: none;
}

.world .steps .label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #8f9bff;
}

.world .steps p {
  font-size: clamp(1.375rem, 1rem + 1.4vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.world .progress {
  position: absolute;
  inset-inline-end: max(var(--gutter), calc((100vw - var(--wide)) / 2));
  top: 50%;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
  list-style: none;
}

.world .progress li {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transition: height 0.4s var(--ease), background 0.4s;
}

.world .progress li.on {
  height: 28px;
  background: var(--white);
}

/* Every branch. One screen. — the laptop grows to fill the view. */
.zoom {
  height: 240vh;
  background: var(--white);
}

.zoom .pin {
  position: sticky;
  top: 52px;
  height: calc(100vh - 52px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 var(--gutter);
  overflow: hidden;
  text-align: center;
}

.zoom .headline {
  position: absolute;
  top: clamp(32px, 7vh, 72px);
  left: var(--gutter);
  right: var(--gutter);
  will-change: opacity, transform;
}

.zoom .device {
  width: min(1100px, 94vw, calc((100vh - 300px) * 1.52));
  margin-bottom: 40px;
  will-change: transform;
}

.zoom .after {
  position: absolute;
  bottom: clamp(24px, 5vh, 56px);
  left: var(--gutter);
  right: var(--gutter);
  margin: 0 auto;
  opacity: 0;
}

/* Phones that rise at different speeds. */
[data-rise] {
  will-change: transform;
}

@media (max-width: 860px) {
  .world .progress {
    display: none;
  }

  .world .shade {
    background: linear-gradient(0deg, rgba(20, 20, 19, 0.88) 0%, rgba(20, 20, 19, 0) 55%),
      linear-gradient(180deg, rgba(20, 20, 19, 0.7) 0%, rgba(20, 20, 19, 0) 30%);
  }

  .world .intro {
    top: 72px;
  }
}

/* Reduced motion: nothing pins, moves or fades; every step is listed. */
@media (prefers-reduced-motion: reduce) {
  .hero,
  .zoom {
    height: auto;
  }

  .hero .pin,
  .zoom .pin {
    position: static;
    height: auto;
    padding-bottom: var(--section);
  }

  .hero h1,
  .hero .tagline,
  .hero .actions,
  .hero .stage {
    animation: none;
  }

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

  .words .w {
    opacity: 1;
  }

  .zoom .after,
  .zoom .headline {
    position: static;
    opacity: 1;
  }

  .world {
    height: auto !important;
  }

  .world .pin {
    position: relative;
    height: auto;
    min-height: 100vh;
  }

  .world .steps {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 60vh var(--gutter) var(--section);
  }

  .world .steps li {
    position: static;
    opacity: 1;
    transform: none;
    margin-top: 2rem;
  }

  .world .progress {
    display: none;
  }
}

/* ---------- Device frames for bare screenshots ---------- */

.handset {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 1206 / 2622;
  border: 11px solid #0d0d0d;
  border-radius: 54px;
  background: #0d0d0d;
  overflow: hidden;
  box-shadow: 0 0 0 1.5px #3a3a3c, 0 30px 60px -20px rgba(0, 0, 0, 0.35);
}

.handset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 43px;
}

.duo-frame {
  border: 14px solid #0d0d0d;
  border-radius: 44px;
  background: #0d0d0d;
  overflow: hidden;
  box-shadow: 0 0 0 1.5px #3a3a3c, 0 40px 80px -30px rgba(0, 0, 0, 0.4);
}

.duo-frame img {
  width: 100%;
  border-radius: 30px;
}

/* iPhone Duo closed and open, side by side (same height, like the real device). */
.duo-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 40px);
}

.duo-pair .duo-frame {
  flex: none;
}

.duo-pair .closed {
  aspect-ratio: 1398 / 2034;
}

.duo-pair .open {
  aspect-ratio: 2853 / 2007;
}

.duo-pair .duo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery .duo-pair {
  width: 100%;
  height: 100%;
}

.gallery .duo-pair .duo-frame {
  /* Fits the card's height and, with both devices side by side, its width. */
  height: min(100%, 420px, calc((min(86vw, 960px) - 120px) / 2.11));
}

/* A phone that folds open on its hinge as you scroll (yourspace, tap&eat). The left half is a
   leaf with the inner screen on its front and the cover screen on its back.
   pitch.js sizes and turns it; without it (or with reduced motion) the Duo shows open. */
.unfold {
  height: 300vh;
  background: var(--white);
}

.unfold .pin {
  position: sticky;
  top: 52px;
  height: calc(100vh - 52px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 3vh, 32px);
  padding: clamp(32px, 7vh, 72px) var(--gutter) clamp(24px, 5vh, 56px);
  overflow: hidden;
  text-align: center;
}

.unfold .stage {
  position: relative;
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The 3D model (assets/products/yourspace/duo) takes over from the CSS fold once it has loaded. */
.unfold .gl {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s;
}

.unfold.gl-ready .gl {
  opacity: 1;
}

.unfold.gl-ready .duo-3d {
  visibility: hidden;
}

.duo-3d {
  position: relative;
  flex: none;
  width: min(100%, 760px);
  aspect-ratio: 1800 / 1266;
  perspective: 2400px;
  direction: ltr;
  will-change: transform;
}

.duo-3d .half,
.duo-3d .face {
  position: absolute;
  overflow: hidden;
  border: 14px solid #0d0d0d;
  background: #0d0d0d;
}

.duo-3d .half {
  inset: 0 0 0 50%;
  border-left: 0;
  border-radius: 0 44px 44px 0;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.45);
}

.duo-3d .leaf {
  position: absolute;
  inset: 0 50% 0 0;
  transform-origin: 100% 50%;
  transform-style: preserve-3d;
}

.duo-3d .face {
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.duo-3d .front {
  border-right: 0;
  border-radius: 44px 0 0 44px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.45);
}

.duo-3d .back {
  border-radius: 44px;
  transform: rotateY(180deg);
}

/* Each half shows its half of the inner screen. */
.duo-3d .half img,
.duo-3d .front img {
  position: absolute;
  top: 0;
  width: 200%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.duo-3d .front img {
  left: 0;
}

.duo-3d .half img {
  left: -100%;
}

.duo-3d .back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

/* Light falls off as a face turns edge-on. */
.duo-3d .face::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000000;
  opacity: var(--shade, 0);
  pointer-events: none;
}

.unfold .states {
  display: grid;
}

.unfold .state {
  grid-area: 1 / 1;
  max-width: 36rem;
  margin: 0 auto;
}

.unfold .state:first-child {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .unfold {
    height: auto;
  }

  .unfold .pin {
    position: static;
    height: auto;
    padding-bottom: var(--section);
  }

  .unfold .stage {
    flex: none;
  }
}

/* Hero: three phones fanned out. */
.fan {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(12px, 3vw, 40px);
}

.fan .handset {
  width: clamp(140px, 22vw, 290px);
}

.fan .handset:nth-child(2) {
  width: clamp(160px, 25vw, 330px);
  margin-bottom: clamp(16px, 3vw, 40px);
}

/* Stepper: a pinned phone whose screen and caption change as you scroll. */
.stepper .pin {
  position: sticky;
  top: 52px;
  height: calc(100vh - 52px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.stepper .copy .headline {
  margin-bottom: clamp(24px, 4vh, 48px);
}

.stepper .step-list {
  list-style: none;
  display: grid;
}

.stepper .step-list li {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease);
}

.stepper .step-list li.on {
  opacity: 1;
  transform: none;
}

.stepper .step-list h3 {
  font-size: var(--h3);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.stepper .step-list p {
  margin-top: 0.6rem;
  max-width: 28rem;
  color: var(--ink-2);
}

.dark .stepper .step-list p,
.stepper.dark .step-list p {
  color: var(--night-text-2);
}

.stepper .screens {
  justify-self: center;
  height: min(78vh, 700px);
  aspect-ratio: 1206 / 2622;
  width: auto;
}

.stepper .screens .handset {
  width: 100%;
  height: 100%;
}

.stepper .screens img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}

.stepper .screens img.on {
  opacity: 1;
}

.stepper .ticks {
  display: flex;
  gap: 8px;
  margin-top: 2rem;
  list-style: none;
}

.stepper .ticks li {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--ink-3);
  transition: width 0.4s var(--ease), background 0.4s;
}

.stepper.dark .ticks li {
  background: rgba(255, 255, 255, 0.3);
}

.stepper .ticks li.on {
  width: 28px;
  background: var(--blue);
}

.stepper.dark .ticks li.on {
  background: var(--white);
}

/* A short status timeline (yourspace 1 → 2.0 → launch). */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  list-style: none;
  counter-reset: stage;
}

.timeline li {
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.timeline li.now {
  border-top-color: var(--blue);
}

.timeline .when {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-2);
}

.timeline li.now .when {
  color: var(--blue);
}

.timeline h3 {
  margin-top: 0.5rem;
  font-size: var(--h3);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.timeline p {
  margin-top: 0.5rem;
  color: var(--ink-2);
}

.badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue);
}

@media (max-width: 860px) {
  .stepper .pin {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    padding-top: 24px;
  }

  .stepper .copy .headline {
    margin-bottom: 12px;
  }

  .stepper .screens {
    height: min(58vh, 520px);
  }

  .stepper .ticks {
    margin-top: 1rem;
  }

  .timeline {
    grid-template-columns: minmax(0, 1fr);
  }

  .fan .handset:not(:nth-child(2)) {
    display: none;
  }

  .fan .handset:nth-child(2) {
    width: min(62vw, 300px);
    margin-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stepper {
    height: auto !important;
  }

  .stepper .pin {
    position: static;
    height: auto;
    padding-top: var(--section);
    padding-bottom: var(--section);
  }

  .stepper .step-list li {
    grid-area: auto;
    opacity: 1;
    transform: none;
    margin-bottom: 1.5rem;
  }

  .stepper .ticks {
    display: none;
  }
}

/* Video inside a device frame (game loops). */
.handset video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 43px;
}

.handset.game {
  aspect-ratio: 1320 / 2560;
}

/* A screen recording of the app beside its copy, with a note under the phone. */
.app-tour .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.app-tour figure {
  width: min(300px, 78vw);
  margin: 0;
}

.app-tour .handset {
  aspect-ratio: 384 / 848;
}

.app-tour .note {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-2);
  text-align: center;
}

@media (max-width: 820px) {
  .app-tour .wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .app-tour figure {
    justify-self: center;
  }
}

/* A day of spots: 24 hourly tiles that go live one after another as you scroll. */
.day .pin {
  position: sticky;
  top: 52px;
  height: calc(100vh - 52px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.day .clock {
  display: block;
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #8f9bff;
}

.day .step-list {
  list-style: none;
  display: grid;
  margin-top: clamp(16px, 3vh, 32px);
}

.day .step-list li {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease);
}

.day .step-list li.on {
  opacity: 1;
  transform: none;
}

.day .step-list h3 {
  font-size: var(--h3);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.day .step-list p {
  margin-top: 0.6rem;
  max-width: 28rem;
  color: var(--night-text-2);
}

.day .ticks {
  display: flex;
  gap: 8px;
  margin-top: 2rem;
  list-style: none;
}

.day .ticks li {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  transition: width 0.4s var(--ease), background 0.4s;
}

.day .ticks li.on {
  width: 28px;
  background: var(--white);
}

.day .hours {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(6px, 0.8vw, 12px);
}

.day .hour {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 1;
  padding: clamp(6px, 0.8vw, 12px);
  border-radius: clamp(10px, 1.2vw, 18px);
  background: var(--night-2);
  color: var(--night-text-2);
  font-size: clamp(0.625rem, 0.5rem + 0.3vw, 0.8125rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  transition: background 0.3s, color 0.3s, transform 0.4s var(--ease);
}

.day .hour .who {
  font-size: 1.15em;
  font-weight: 600;
  color: var(--white);
  opacity: 0;
}

.day .hour.done {
  background: #232325;
  color: rgba(255, 255, 255, 0.35);
}

.day .hour.done .who {
  opacity: 0.35;
}

.day .hour.live {
  background: var(--blue);
  color: var(--white);
  transform: scale(1.08);
}

.day .hour.live .who {
  opacity: 1;
}

/* Six games, each playing in its own phone. */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px) clamp(16px, 3vw, 40px);
  list-style: none;
}

.games-grid li {
  text-align: center;
}

.games-grid .handset {
  width: min(100%, 240px);
  margin: 0 auto;
  border-radius: 44px;
}

.games-grid .handset video {
  border-radius: 33px;
}

.games-grid h3 {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.games-grid p {
  margin-top: 0.25rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

@media (max-width: 860px) {
  .day .pin {
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: 20px;
  }

  .day .clock {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
  }

  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .day {
    height: auto !important;
  }

  .day .pin {
    position: static;
    height: auto;
    padding-top: var(--section);
    padding-bottom: var(--section);
  }

  .day .step-list li {
    grid-area: auto;
    opacity: 1;
    transform: none;
    margin-bottom: 1.5rem;
  }

  .day .ticks {
    display: none;
  }
}

/* ---------- Arabic ---------- */

@font-face {
  font-family: "Swissra";
  src: url("/assets/fonts/3966D5_3_0.f4b7c1a.woff2") format("woff2"),
    url("/assets/fonts/3966D5_3_0.e0702d4.woff") format("woff");
  font-weight: 500 700;
  font-display: swap;
}

@font-face {
  font-family: "Swissra";
  src: url("/assets/fonts/3966D5_5_0.f758222.woff2") format("woff2"),
    url("/assets/fonts/3966D5_5_0.a12ba96.woff") format("woff");
  font-weight: 300 400;
  font-display: swap;
}

:lang(ar) body {
  font-family: "Swissra", "Poppins", Tahoma, Arial, sans-serif;
  font-synthesis: none;
}

/* Arabic is a joined script: letter-spacing breaks the joins, so none anywhere. */
:lang(ar) body * {
  letter-spacing: normal !important;
}

:lang(ar) .hero h1,
:lang(ar) .invest .headline {
  line-height: 1.2;
}

:lang(ar) .headline,
:lang(ar) .statement,
:lang(ar) .hero .tagline {
  line-height: 1.35;
}

/* Product names stay in Latin script, in the brand's Latin face. */
:lang(ar) .latin {
  font-family: "Poppins", Helvetica, Arial, sans-serif;
  direction: ltr;
  unicode-bidi: isolate;
}

[dir="rtl"] .text-link::after {
  transform: rotate(-135deg) translate(-0.12em, 0);
}

[dir="rtl"] [data-fade="right"] {
  transform: translateX(-12vw);
}

[dir="rtl"] [data-fade="right"].in {
  transform: none;
}

[dir="rtl"] .world .shade {
  background: linear-gradient(270deg, rgba(20, 20, 19, 0.82) 0%, rgba(20, 20, 19, 0) 48%),
    linear-gradient(0deg, rgba(20, 20, 19, 0.6) 0%, rgba(20, 20, 19, 0) 30%);
}

@media (max-width: 860px) {
  [dir="rtl"] .world .shade {
    background: linear-gradient(0deg, rgba(20, 20, 19, 0.88) 0%, rgba(20, 20, 19, 0) 55%),
      linear-gradient(180deg, rgba(20, 20, 19, 0.7) 0%, rgba(20, 20, 19, 0) 30%);
  }
}

/* ---------- Interest form (native, sends to the Google Form) ---------- */

.interest-form {
  flex: 1;
  overflow-y: auto;
  padding: 24px clamp(20px, 4vw, 32px) 32px;
}

.interest-form .intro {
  margin-bottom: 1.5rem;
  color: var(--ink-2);
}

.interest-form .grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}

.interest-form .wide {
  grid-column: 1 / -1;
  /* .wide is also the page's centred column elsewhere; inside the form it only means "both columns". */
  max-width: none;
  margin: 0;
}

.interest-form label,
.interest-form legend {
  display: block;
  margin-bottom: 6px;
  font-size: 0.875rem;
  font-weight: 500;
}

.interest-form .optional {
  font-weight: 400;
  color: var(--ink-2);
}

.interest-form input[type="text"],
.interest-form input[type="email"],
.interest-form input[type="tel"],
.interest-form select,
.interest-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--ink-3);
  border-radius: 12px;
  background: var(--white);
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
}

.interest-form input:focus,
.interest-form select:focus,
.interest-form textarea:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(17, 39, 207, 0.18);
}

.interest-form input:user-invalid,
.interest-form select:user-invalid {
  border-color: var(--red);
}

.interest-form fieldset {
  border: 0;
  min-width: 0;
}

/* Choices as pills: a real radio inside each label, styled as a chip. */
.interest-form .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.interest-form .chips label {
  position: relative;
  margin: 0;
}

.interest-form .chips input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.interest-form .chips span {
  display: inline-block;
  padding: 9px 16px;
  border: 1.5px solid var(--ink-3);
  border-radius: 999px;
  font-weight: 500;
}

.interest-form .chips input:checked + span {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.interest-form .chips input:focus-visible + span {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.interest-form .consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
}

.interest-form .consent input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--blue);
}

.interest-form button[type="submit"] {
  margin-top: 8px;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-weight: 500;
}

.interest-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: progress;
}

.interest-form .error {
  margin-top: 12px;
  color: var(--red);
}

.form-done[hidden] {
  display: none;
}

.form-done {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px clamp(20px, 4vw, 48px);
}

.form-done h3 {
  font-size: var(--h2);
  font-weight: 600;
  line-height: 1.1;
}

.form-done p {
  margin-top: 1rem;
  max-width: 30rem;
  color: var(--ink-2);
}

@media (max-width: 560px) {
  .interest-form .grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .interest-form button[type="submit"] {
    width: 100%;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .local-nav .links {
    display: none;
  }

  .tabpanel,
  .tiles,
  .rows {
    grid-template-columns: minmax(0, 1fr);
  }

  .plans,
  .streams {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .explore {
    grid-template-columns: minmax(0, 1fr);
  }

  .trio {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 72%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .trio li {
    scroll-snap-align: center;
  }

  .global-nav .links-secondary {
    display: none;
  }

  /* Wordmark, three products and the language link must fit a phone in either direction. */
  .global-nav {
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .global-nav::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 520px) {
  .plans,
  .streams {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery .card {
    height: 560px;
  }
}

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

  .cursor {
    animation: none;
  }

  .dots button {
    transition: none;
  }
}
