/* ============================================================================
   VR Blst - "midnight portal"
   An indigo night pierced by a cyan aurora, where every frame is a circular
   viewport onto somewhere else. The headset lens is the recurring geometry:
   the hero portal, the step numbers and the icon chips are all rings, echoing
   the product's own wordmark.

   Shape system (one rule, applied everywhere):
     interactive controls -> full pill (--r-pill)
     panels and cards     -> 18px (--r-card)
     inputs and tiles     -> 10px (--r-input)

   Colour system: one interactive accent (cyan). Violet is a gradient partner
   for the brand mark and the aurora only, never a second button colour.

   Theme is locked to dark on every page and every section.
   ========================================================================= */

:root {
  /* surfaces */
  --bg: #08070f;
  --bg-2: #0d0c1c;
  --surface: #14132a;
  --surface-2: #1b1a36;
  --border: rgba(150, 158, 225, 0.16);
  --border-strong: rgba(150, 158, 225, 0.3);

  /* ink */
  --text: #eceefc;
  --muted: #a3a7cd;
  --faint: #7a7ea6;

  /* accent */
  --accent: #11d0ef;
  --accent-soft: rgba(17, 208, 239, 0.14);
  --accent-ink: #04121a;
  --violet: #8b3ce0;
  --danger: #ff6b5c;

  /* geometry */
  --r-pill: 999px;
  --r-card: 18px;
  --r-input: 10px;
  --header-h: 72px;
  --shell: 1180px;

  /* type */
  --font-display: 'Sora', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-body: 'Karla', 'IBM Plex Sans Arabic', system-ui, sans-serif;

  /* depth - shadows are tinted to the page hue, never pure black */
  --shadow-card: 0 18px 46px rgba(4, 3, 18, 0.55);
  --shadow-lift: 0 26px 60px rgba(4, 3, 18, 0.7);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── reset ─────────────────────────────────────────────────────────────── */

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

html, body { overflow-x: hidden; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.022em;
  margin: 0 0 0.6rem;
  color: var(--text);
}

h1 { font-size: clamp(2.3rem, 1.35rem + 3.6vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.65rem); }
h3 { font-size: 1.16rem; }
h4 { font-size: 0.95rem; }

p { margin: 0 0 1rem; color: var(--muted); }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

/* Parked above the viewport rather than at left:-9999px: in an RTL document a
   far-negative offset is scrollable width, not off-screen, and it added ~10000px
   of horizontal scroll to every Arabic page. */
.skip-link {
  position: fixed;
  top: 0;
  inset-inline-start: 1rem;
  z-index: 1000;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 var(--r-input) var(--r-input);
  font-weight: 700;
  transform: translateY(-140%);
  transition: transform 0.18s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ── layout primitives ─────────────────────────────────────────────────── */

.container { width: min(var(--shell), 92vw); margin-inline: auto; }
.container-narrow { width: min(780px, 92vw); margin-inline: auto; }

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-alt { background: var(--bg-2); }
.section-tight { padding: clamp(3rem, 5vw, 4.5rem) 0; }

.section-head { margin-bottom: 2.8rem; max-width: 62ch; }
.section-head h2 { margin-bottom: 0.75rem; }
.section-head p { font-size: 1.05rem; margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

/* ── buttons ───────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.92rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
              border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 26px rgba(17, 208, 239, 0.22);
}
.btn-primary:hover {
  background: #3fdcf6;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(17, 208, 239, 0.3);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-sm { padding: 0.68rem 1.15rem; font-size: 0.86rem; }
.btn-lg { padding: 1.05rem 2rem; font-size: 1rem; }

/* ── header + navigation ───────────────────────────────────────────────── */

/* direction: ltr keeps the logo left and the nav right in the RTL locale too */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  direction: ltr;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(8, 7, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo { display: inline-flex; }
.logo:hover { text-decoration: none; }

/* The product wordmark. It already spells the brand, so it is sized by height
   and never sits next to a repeated text version of the same name. */
.brand-logo {
  height: 26px;
  width: auto;
  flex: none;
}
.footer-brand .brand-logo { height: 30px; }

@media (max-width: 400px) {
  .brand-logo { height: 22px; }
}

.site-nav-desktop { display: flex; align-items: center; gap: 1.5rem; }
.site-nav-desktop > a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.18s var(--ease);
}
.site-nav-desktop > a:not(.btn):hover { color: var(--text); text-decoration: none; }
.site-nav-desktop > a.active { color: var(--accent); }

.lang-switcher { display: flex; align-items: center; gap: 0.3rem; }
.lang-pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: var(--r-pill);
  color: var(--faint);
  border: 1px solid transparent;
}
.lang-pill:hover { color: var(--text); text-decoration: none; }
.lang-active { color: var(--text); border-color: var(--border-strong); background: rgba(255, 255, 255, 0.05); }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: none; cursor: pointer; padding: 0.5rem; }
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-burger span + span { margin-top: 5px; }

.site-nav { display: none; }

@media (max-width: 900px) {
  .site-nav-desktop { display: none; }
  .nav-burger { display: block; }

  .site-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 800;
    padding: 1.1rem 4vw 1.6rem;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lift);
    transform: translateY(-115%);
    visibility: hidden;
    transition: transform 0.25s var(--ease), visibility 0.25s var(--ease);
  }
  .site-nav a:not(.btn) {
    padding: 0.65rem 0;
    color: var(--text);
    font-weight: 500;
    border-bottom: 1px solid var(--border);
  }
  .site-nav .lang-switcher { padding: 0.9rem 0 0.4rem; }
  .site-nav .btn { width: 100%; margin-top: 0.8rem; }
  .nav-toggle:checked ~ .site-nav { transform: translateY(0); visibility: visible; }
  .nav-toggle:checked ~ .site-header .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .site-header .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .site-header .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ── hero: asymmetric split, copy left, portal cluster right ───────────── */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(4rem, 7vw, 6.5rem);
}

/* the aurora: two soft lights behind the fold, no photo, so the portal reads */
.hero::before {
  content: '';
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 120%;
  background:
    radial-gradient(46% 42% at 72% 18%, rgba(17, 208, 239, 0.2), transparent 68%),
    radial-gradient(52% 46% at 22% 6%, rgba(139, 60, 224, 0.24), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

/* Scaled against the copy column, not the page: the headline has to land in two
   lines at desktop, and the portal is sized to match rather than to compete. */
.hero-copy h1 {
  font-size: clamp(2.1rem, 1.1rem + 2.9vw, 3.35rem);
  margin-bottom: 1.1rem;
}
.hero-copy h1 .grad {
  /* keeps the two-word product name from splitting across lines, which the
     Arabic headline did at desktop */
  white-space: nowrap;
  background: linear-gradient(100deg, var(--accent) 8%, var(--violet) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lede { font-size: 1.12rem; margin-bottom: 1.9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* portal cluster: one large lens plus two satellites, all real catalogue stills */
.portal {
  position: relative;
  aspect-ratio: 1 / 1;
  width: min(100%, 460px);
  margin-inline: auto;
}
.portal-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 2px;
  background: conic-gradient(from 0deg, transparent 0deg, var(--accent) 70deg, var(--violet) 165deg, transparent 250deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  animation: orbit 22s linear infinite;
}
.portal-lens {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lift), inset 0 0 60px rgba(8, 7, 15, 0.55);
}
.portal-lens img { width: 100%; height: 100%; object-fit: cover; }

.portal-sat {
  position: absolute;
  width: 33%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--bg);
  box-shadow: var(--shadow-card);
}
.portal-sat img { width: 100%; height: 100%; object-fit: cover; }
.portal-sat-a { top: 2%; inset-inline-end: -4%; }
.portal-sat-b { bottom: 4%; inset-inline-start: -6%; }

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

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .portal { width: min(78%, 340px); }
}

/* ── showcase: category pills + a full-bleed scroll-snap rail ──────────── */

.chip-row {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.6rem;
  margin-bottom: 2.2rem;
  scrollbar-width: none;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--muted);
  white-space: nowrap;
}

.rail {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.4rem 4vw 1.4rem;
  margin-inline: calc(50% - 50vw);
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: var(--r-pill); }

.rail-item {
  flex: none;
  width: min(78vw, 420px);
  scroll-snap-align: center;
}
.rail-frame {
  position: relative;
  border-radius: var(--r-input);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease);
}
.rail-item:hover .rail-frame { transform: translateY(-4px); border-color: var(--accent); }
.rail-frame img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
/* caption sits below the frame, never as a label pasted over the picture */
.rail-cap {
  margin: 0.7rem 0.15rem 0;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}
.rail-kind { font-size: 0.8rem; color: var(--faint); }

/* ── bento (why us) - 6 items, 6 cells, two of them carrying an image ──── */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.bento-item {
  position: relative;
  overflow: hidden;
  padding: 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease);
}
.bento-item:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.bento-item h3 { margin-bottom: 0.4rem; }
.bento-item p { margin-bottom: 0; font-size: 0.94rem; }

.bento-item:nth-child(1) { grid-column: span 4; }
.bento-item:nth-child(2) { grid-column: span 2; }
.bento-item:nth-child(3) { grid-column: span 2; }
.bento-item:nth-child(4) { grid-column: span 4; }
.bento-item:nth-child(5) { grid-column: span 3; }
.bento-item:nth-child(6) { grid-column: span 3; }

.bento-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
}
.bento-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 7, 15, 0.12) 0%, rgba(8, 7, 15, 0.5) 42%, rgba(8, 7, 15, 0.95) 86%);
}
/* Lift the copy above the scrim, but exclude the media itself: a bare
   `.bento-photo > *` has the same specificity as `.bento-media` and, coming
   later, would reset it to position: relative and drop the photo into flow. */
.bento-photo > :not(.bento-media) { position: relative; z-index: 1; }
.bento-photo { min-height: 260px; }

.bento-icon {
  width: 38px;
  height: 38px;
  margin-bottom: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--accent-soft);
  color: var(--accent);
}
.bento-icon svg { width: 19px; height: 19px; }

@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr; }
  .bento-item { grid-column: auto !important; min-height: 0; }
  /* text-only cells shrink to their copy, but a photo cell still needs room for
     the photograph, otherwise it collapses into a thin band behind the heading */
  .bento-photo { min-height: 230px; }
}

/* ── features: two columns of hairline rows, no card boxes ─────────────── */

.feature-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3.5rem;
}
.feature-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 1.55rem 0;
  border-top: 1px solid var(--border);
}
.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(17, 208, 239, 0.28);
}
.feature-icon svg { width: 21px; height: 21px; }
.feature-row h3 { margin-bottom: 0.3rem; }
.feature-row p { margin-bottom: 0; font-size: 0.94rem; }

@media (max-width: 780px) {
  .feature-cols { grid-template-columns: 1fr; gap: 0; }
}

/* ── faq ───────────────────────────────────────────────────────────────── */

.faq-list { display: grid; gap: 0.7rem; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}
.faq-item[open] { border-color: var(--border-strong); background: var(--surface-2); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-chevron { flex: none; color: var(--faint); transition: transform 0.2s var(--ease); }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-body {
  padding: 0 1.4rem 1.35rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

/* ── page hero (inner pages) ───────────────────────────────────────────── */

.page-hero {
  position: relative;
  padding: clamp(3rem, 6vw, 4.6rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(60% 120% at 82% 0%, rgba(139, 60, 224, 0.2), transparent 70%),
    radial-gradient(50% 110% at 10% 0%, rgba(17, 208, 239, 0.14), transparent 70%),
    var(--bg-2);
}
.page-hero h1 { margin-bottom: 0.7rem; }
.page-hero p { font-size: 1.05rem; margin-bottom: 0; }

/* ── numbered flow (subscribe steps, opt-out steps) ────────────────────── */

.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  counter-reset: flow;
}
.flow-step {
  position: relative;
  padding: 1.7rem 1.5rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
}
.flow-n {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  border: 1px solid rgba(17, 208, 239, 0.35);
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}
.flow-step h3 { margin-bottom: 0.35rem; }
.flow-step p { margin-bottom: 0; font-size: 0.94rem; }

@media (max-width: 780px) { .flow { grid-template-columns: 1fr; } }

/* ── pricing cards ─────────────────────────────────────────────────────── */

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
}
.price-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.9rem 1.7rem;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  box-shadow: var(--shadow-card);
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease);
}
.price-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.price-op {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.price-amount { display: flex; align-items: baseline; gap: 0.45rem; flex-wrap: wrap; }
.price-val {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.03em;
}
.price-freq { margin: 0; color: var(--muted); font-size: 0.95rem; }
.price-trial { margin: 0; font-size: 0.88rem; color: var(--faint); }
.price-card .btn { margin-top: 1.3rem; }
.price-note { margin-top: 1.6rem; font-size: 0.88rem; color: var(--faint); }

/* ── opt-out boxes ─────────────────────────────────────────────────────── */

.optout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.1rem;
  margin-bottom: 1.6rem;
}
.optout {
  padding: 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
}
.optout-care { border-style: dashed; }
.optout-op {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.optout-line { margin: 0; color: var(--muted); line-height: 2.1; }
.optout-kw, .optout-dest {
  display: inline-block;
  font-family: ui-monospace, 'SFMono-Regular', 'Cascadia Mono', Menlo, monospace;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  margin: 0 0.15rem;
  border-radius: var(--r-input);
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
}
.optout-kw { color: var(--accent); border-color: rgba(17, 208, 239, 0.4); }
.optout-dest a { color: inherit; }

.optout-notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.6rem 1.6rem;
  margin: 0 0 2.4rem;
}
.optout-notes li {
  position: relative;
  padding-inline-start: 1.1rem;
  font-size: 0.9rem;
  color: var(--faint);
}
.optout-notes li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.62rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── refund list ───────────────────────────────────────────────────────── */

.refund-list { display: grid; gap: 0.55rem; }
.refund-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-input);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.95rem;
}
.refund-list svg { color: var(--accent); margin-top: 0.35rem; }

/* ── about: values + vision ────────────────────────────────────────────── */

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
}
.value-card {
  padding: 1.8rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
  border-top: 2px solid var(--accent);
}
.value-card h3 { margin-bottom: 0.5rem; }
.value-card p { margin-bottom: 0; font-size: 0.95rem; }

.vision {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: center;
}
.vision-media {
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.vision-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.vision-body p:last-child { margin-bottom: 0; }

@media (max-width: 860px) {
  .vision { grid-template-columns: 1fr; }
  .vision-media img { aspect-ratio: 16 / 9; }
}

/* ── contact / signin panels ───────────────────────────────────────────── */

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.care-card, .contact-form, .form-card {
  padding: clamp(1.6rem, 3vw, 2.2rem);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
}
.form-card.narrow { width: min(520px, 100%); margin-inline: auto; }

.care-line {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
}
.care-line svg { flex: none; color: var(--accent); }
.care-line a { font-weight: 600; word-break: break-word; }

/* ── forms (shared by contact + signin) ────────────────────────────────── */

.form-group { margin-bottom: 1.1rem; }
.contact-form h3, .form-card h3 { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.signin-card button, .form-card button { margin-top: 0.5rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-input);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #6f7398; }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(17, 208, 239, 0.16);
}

.error-msg, .errorMsg {
  display: none;
  color: var(--danger);
  font-size: 0.82rem;
  margin-top: 0.3rem;
}
.form-success, .successMsg {
  display: none;
  color: var(--accent);
  font-weight: 600;
  margin-top: 1rem;
}
.form-disclaimer { color: var(--faint); font-size: 0.82rem; margin-top: 1rem; }
button[disabled] { opacity: 0.6; cursor: progress; }

/* ── 404 ───────────────────────────────────────────────────────────────── */

.not-found {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 5rem 0;
}
.big-num {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 16vw, 9rem);
  font-weight: 700;
  line-height: 1;
  margin: 0 0 0.6rem;
  background: linear-gradient(120deg, var(--accent), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.not-found .btn { margin-top: 1.4rem; }

/* ── legal pages (shared partials render inside .legals) ───────────────── */

.legals-wrap { padding: 3.5rem 0; }
.legals { padding-top: calc(var(--header-h) + 3rem); padding-bottom: 5rem; }
.legals .container { width: min(840px, 92vw); margin-inline: auto; }
.legals h1 { display: none; }
.legals h6 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin: 2rem 0 0.5rem;
}
.legals p { margin-bottom: 0.85rem; line-height: 1.75; }
.legals ul { margin: 0.5rem 0 1rem; padding-inline-start: 1.2rem; list-style: disc; }
.legals li { margin-bottom: 0.4rem; line-height: 1.7; }
.legals a { word-break: break-word; }
.legals table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.92rem; }
.legals th, .legals td {
  border: 1px solid var(--border);
  padding: 0.6rem 0.75rem;
  text-align: start;
  color: var(--muted);
}
.legals th { color: var(--text); background: var(--surface); }

/* the legal wrapper already pads for the header, so the page-hero variant
   used on those pages resets the duplicate offset */
.legals-wrap .legals { padding-top: 0; padding-bottom: 0; }

/* ── footer ────────────────────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand p { margin: 1rem 0 1.3rem; font-size: 0.94rem; }
.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.9rem;
}
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--muted); font-size: 0.92rem; }
.footer-col a:hover { color: var(--accent); }

.footer-entity {
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--border);
}
.footer-entity p { margin: 0 0 0.3rem; font-size: 0.86rem; color: var(--faint); }
.footer-entity .entity-name { color: var(--muted); font-weight: 600; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 1.4rem;
}
.footer-bottom p { margin: 0; font-size: 0.84rem; color: var(--faint); }

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── scroll reveal - hidden ONLY under html.js so no-JS keeps everything ── */

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .portal-ring { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ── RTL ───────────────────────────────────────────────────────────────── */

[dir='rtl'] body { font-family: 'IBM Plex Sans Arabic', var(--font-body); }
[dir='rtl'] h1,
[dir='rtl'] h2,
[dir='rtl'] h3,
[dir='rtl'] h4,
[dir='rtl'] .btn,
[dir='rtl'] .faq-item summary,
[dir='rtl'] .price-val,
[dir='rtl'] .flow-n,
[dir='rtl'] .big-num,
[dir='rtl'] .legals h6 {
  font-family: 'IBM Plex Sans Arabic', var(--font-display);
  letter-spacing: 0;
}

/* the eyebrow and other tracked-out caps do not letter-space in Arabic */
[dir='rtl'] .eyebrow,
[dir='rtl'] .price-op,
[dir='rtl'] .optout-op,
[dir='rtl'] .footer-col h4 { letter-spacing: 0; }

/* the header keeps its LTR order, so the desktop nav must not flip inside it */
[dir='rtl'] .site-nav-desktop { direction: rtl; }

/* text inputs follow the locale; email, phone and the sign-in msisdn stay LTR */
[dir='rtl'] .form-group input[type='text'],
[dir='rtl'] .form-group textarea { direction: rtl; text-align: right; }
[dir='rtl'] .form-group input[type='email'],
[dir='rtl'] .form-group input[type='tel'] { direction: ltr; text-align: left; }
[dir='rtl'] .form-group label { text-align: right; }
[dir='rtl'] #si-phone { direction: ltr; text-align: left; }

[dir='rtl'] .rail { margin-inline: calc(50% - 50vw); }
[dir='rtl'] .value-card { border-top: 2px solid var(--accent); }
[dir='rtl'] .legals ul { padding-inline-start: 1.2rem; }
