/* ─────────────────────────────────────────────────────────────────────────
   Safarti — marketing site.  Concept: "دليل الجيب" (the pocket guide).
   The logo's own two colours: its mint ground and its teal mark, on a
   deep teal ink. Logical properties throughout, so
   the same rules serve Arabic (RTL) and English (LTR) with no overrides.
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --paper: #F6FEFC;
  --paper-2: #CCFBF1;   /* the logo's ground */
  --card: #FFFFFF;
  --ink: #0A2B28;
  --ink-2: #3D5F5B;
  --line: rgba(10, 43, 40, .16);
  --brand: #0F766E;      /* the logo's mark */
  --brand-lit: #5EEAD4;  /* accents on the dark sections */
  --night: #062E2A;
  --on-night: #F6FEFC;
  --on-night-2: #A7D8D0;

  --display: "Markazi Text", "Noto Naskh Arabic", "Geeza Pro", Georgia, serif;
  --body: "IBM Plex Sans Arabic", "SF Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;

  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2v20M2 12h20M4.9 4.9l14.2 14.2M19.1 4.9 4.9 19.1' stroke='%23000' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");

  --wrap: 72rem;
  --gut: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.75 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* Paper grain: one tiny inline SVG, no request. */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, h3, ol, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
section { padding-block: clamp(72px, 11vw, 140px); }

.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 12px; }

/* ── Type ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .875rem; font-weight: 600; color: var(--brand);
  margin-block-end: 14px;
}
/* The app icon's asterisk, drawn as a mask so no platform swaps in an emoji. */
.eyebrow::before {
  content: ""; flex: none; width: .95em; height: .95em; background: var(--brand);
  -webkit-mask: var(--mark) center / contain no-repeat; mask: var(--mark) center / contain no-repeat;
}
:lang(en) .eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }

.h2 {
  font: 700 clamp(2.5rem, 7.4vw, 4.6rem)/1.08 var(--display);
  max-width: 17ch;
  text-wrap: balance;
}
:lang(en) .h2 { letter-spacing: -.01em; line-height: 1; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--brand); color: #fff;
  font-weight: 600; text-decoration: none;
  transition: transform .2s var(--ease), background .2s;
}
.btn:hover { background: var(--ink); }
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }

/* ── Reading progress ── */
.progress { position: fixed; z-index: 40; inset: 0 0 auto; height: 3px; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; background: var(--brand); transform-origin: 100% 50%; transform: scaleX(var(--read, 0)); }
[dir="ltr"] .progress i { transform-origin: 0 50%; }

/* ── Header ── */
.bar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-block-end: 1px solid var(--line);
}
.bar { transition: box-shadow .3s; }
.bar.stuck { box-shadow: 0 10px 30px -22px rgba(6, 46, 42, .55); }
.bar__nav { display: none; }
.bar__in { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.bar__end { display: flex; align-items: center; gap: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 10px; }
.brand span { font: 700 1.75rem/1 var(--display); padding-block-start: 4px; }
.lang {
  min-height: 44px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  font: 500 .9rem var(--body); cursor: pointer;
}
.lang:hover { border-color: var(--ink); }

/* ── Hero ── */
.hero { padding-block: clamp(28px, 6vw, 72px) 72px; }
.hero__grid { display: grid; gap: 36px; }
.hero__h {
  font: 700 clamp(3.2rem, 14vw, 8.2rem)/1.02 var(--display);
  text-wrap: balance;
  margin-block-end: 18px;
}
:lang(en) .hero__h { font-size: clamp(3.1rem, 13vw, 7.2rem); line-height: .92; letter-spacing: -.015em; }
.hero__q { color: var(--brand); display: block; }
.hero__sub { font-size: clamp(1.05rem, 2.6vw, 1.25rem); color: var(--ink-2); max-width: 34ch; }

.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 26px; }
.stores--center { justify-content: center; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 58px; padding: 8px 18px; border-radius: 16px;
  background: var(--ink); color: var(--paper); text-decoration: none;
  border: 1.5px solid var(--ink);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.store svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
.store__t { display: grid; line-height: 1.15; text-align: start; }
.store__t small { font-size: .72rem; opacity: .78; }
.store__t b { font: 600 1.06rem/1.2 var(--body); direction: ltr; }
.store[href]:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -16px rgba(6, 46, 42, .7); }
.store[aria-disabled="true"] { cursor: default; }
.store--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* Smart store button: the visitor's own platform leads, the other steps back. */
[data-os="ios"] .store[data-store="android"],
[data-os="android"] .store[data-store="ios"] {
  order: 2; background: transparent; color: var(--ink); border-color: var(--line);
}
[data-os="ios"] .store--light[data-store="android"],
[data-os="android"] .store--light[data-store="ios"] {
  color: var(--on-night); border-color: rgba(204, 251, 241, .3);
}

.ticks { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-block-start: 20px; font-size: .92rem; color: var(--ink-2); }
.ticks li { display: inline-flex; align-items: center; gap: 7px; }
.ticks li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* Phone */
.phone {
  position: relative; aspect-ratio: 620 / 1344;
  border-radius: 13.5% / 6.2%;
  padding: 2.6%;
  background: var(--ink);
  box-shadow: 0 0 0 1.5px #1c4a45 inset, 0 50px 80px -40px rgba(6, 46, 42, .55), 0 18px 30px -18px rgba(6, 46, 42, .4);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 11.5% / 5.3%; background: #f8f9fb; }
.phone::after { /* speaker island */
  content: ""; position: absolute; top: 3.1%; left: 50%; width: 26%; height: 2.5%;
  margin-left: -13%; border-radius: 99px; background: var(--ink);
}

.hero__stage {
  position: relative; margin-inline: auto; width: min(62vw, 300px); margin-block-start: 22px;
  /* Crop the phone on small screens so the store buttons stay in the first view. */
  isolation: isolate;
  animation: float 7s ease-in-out infinite;
}
/* A soft pool of the logo's mint behind the phone, and the logo's mark
   turning slowly inside it. */
.hero__stage::before {
  content: ""; position: absolute; z-index: -2; inset: -6% -34%;
  background: radial-gradient(closest-side, var(--paper-2) 35%, transparent);
}
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes turn { to { transform: rotate(360deg); } }

/* Postcards from the guide, tucked behind the phone. */
.post {
  position: absolute; z-index: -1; width: 62%; padding: 6px 6px 0; background: #fff; border-radius: 12px;
  box-shadow: 0 24px 36px -22px rgba(6, 46, 42, .6);
  translate: 0 calc(var(--p, 0) * var(--drift, -30px));
}
.post img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.post figcaption { font: 700 1.05rem/1.9 var(--display); text-align: center; color: var(--ink); white-space: nowrap; }
@media (max-width: 899px) { .post { padding: 6px; } .post figcaption { display: none; } }
.post--a { top: 12%; inset-inline-start: -34%; rotate: 9deg; --drift: -46px; }
.post--b { top: 52%; inset-inline-end: -36%; rotate: -8deg; --drift: -80px; }
[dir="ltr"] .post--a { rotate: -9deg; }
[dir="ltr"] .post--b { rotate: 8deg; }
.phone--hero { transform: rotate(var(--tilt, -4deg)); transform-origin: 50% 20%; transition: transform .25s linear; }
[dir="ltr"] .phone--hero { transform: rotate(calc(var(--tilt, -4deg) * -1)); }

.stamp {
  position: absolute; inset-inline-end: -9%; top: -3%; z-index: 2;
  padding: 5px; border: 2px solid var(--brand); border-radius: 10px;
  color: var(--brand); transform: rotate(-9deg);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  animation: stamp .5s .7s var(--ease) backwards;
}
@keyframes stamp { from { opacity: 0; scale: 1.7; } }
[dir="ltr"] .stamp { transform: rotate(9deg); inset-inline-end: -4%; }
[dir="ltr"] .stamp span { font-size: 1.05rem; }
.stamp span { display: block; padding: 4px 12px; border: 1px solid var(--brand); border-radius: 6px; font: 700 1.25rem/1.2 var(--display); white-space: nowrap; }

/* ── Places reel: swipe through real places ── */
.reel { padding-block: clamp(56px, 8vw, 96px); background: var(--paper-2); }
.reel__head { display: grid; gap: 10px; margin-block-end: 28px; }
.reel__hint { color: var(--ink-2); }
.reel__track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut)));
  scroll-padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut)));
  padding-block: 6px 22px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.reel__track::-webkit-scrollbar { display: none; }
.place {
  position: relative; flex: none; width: min(68vw, 290px); aspect-ratio: 4 / 5;
  border-radius: 26px; overflow: hidden; scroll-snap-align: start; color: #fff;
  background: var(--ink); box-shadow: 0 26px 40px -28px rgba(6, 46, 42, .8);
}
.place:nth-child(even) { margin-block-start: 22px; }
.place img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.place:hover img { transform: scale(1.06); }
.place::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(4, 30, 27, .88)); }
.place__c {
  position: absolute; z-index: 1; top: 14px; inset-inline-start: 14px;
  padding: 3px 12px; border-radius: 99px; font-size: .78rem; font-weight: 500;
  background: rgba(4, 30, 27, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.place div { position: absolute; z-index: 1; inset-inline: 16px; bottom: 14px; display: grid; }
.place b { font: 700 1.75rem/1.15 var(--display); }
.place small { font-size: .82rem; opacity: .85; }

/* ── Why: the problem as a group chat ── */
.why__grid { display: grid; gap: 34px; }
.chat {
  display: grid; gap: 10px; justify-items: start;
  padding: 18px 16px 22px; border-radius: 28px;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 40px 60px -44px rgba(6, 46, 42, .55);
  max-width: 30rem; width: 100%;
}
.chat__t { justify-self: center; font-size: .78rem; font-weight: 600; color: var(--ink-2); background: var(--paper); padding: 2px 14px; border-radius: 99px; margin-block-end: 6px; }
.msg { max-width: 86%; padding: 9px 15px 11px; background: var(--paper-2); border-radius: 20px; border-start-start-radius: 6px; }
.msg b { display: flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--brand); }
.msg p { font-size: 1.06rem; line-height: 1.6; }
.msg--me { justify-self: end; background: var(--brand); color: #fff; border-start-start-radius: 20px; border-start-end-radius: 6px; margin-block-start: 8px; }
.msg--me b { color: var(--paper-2); }
.msg--me b img { border-radius: 6px; }
.js .chat .rv { transition-delay: calc(var(--i, 0) * .14s); }
.chat .rv:nth-child(3) { --i: 1; } .chat .rv:nth-child(4) { --i: 2; } .chat .rv:nth-child(5) { --i: 3; } .chat .rv:nth-child(6) { --i: 5; }

/* ── Tour ── */
.tour { background: var(--paper); }
.tour__grid { margin-block-start: 40px; }
.tour__entries { counter-reset: entry; display: grid; gap: 56px; }
.entry { counter-increment: entry; }
.entry::before {
  content: counter(entry, arabic-indic);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--brand); padding-block-start: 3px;
  font: 700 1.4rem/1 var(--display); color: var(--brand); margin-block-end: 14px;
}
:lang(en) .entry::before { content: counter(entry); }
.entry__h { font: 700 clamp(2rem, 6vw, 3.1rem)/1.12 var(--display); margin-block-end: 10px; }
.entry p { color: var(--ink-2); max-width: 40ch; }
/* On phones each entry carries its own screen, shown as a cropped window. */
.entry__shot {
  margin-block-start: 22px; border-radius: 28px 28px 0 0; overflow: hidden;
  border: 8px solid var(--ink); border-block-end: 0;
  max-width: 340px; aspect-ratio: 5 / 6;
  -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent);
}
.entry__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.entry[data-shot="1"] .entry__shot img { object-position: 50% 62%; }
.entry[data-shot="2"] .entry__shot img { object-position: 50% 58%; }
.tour__sticky { display: none; }

.extras { margin-block-start: 64px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-block-start: 1px solid var(--ink); }
.extras li { padding: 18px 0; padding-inline-end: 14px; border-block-end: 1px solid var(--line); display: grid; gap: 2px; align-content: start; }
.extras b { font: 700 1.45rem/1.2 var(--display); }
.extras span { font-size: .92rem; color: var(--ink-2); line-height: 1.6; }

/* ── Steps: a route with three stops ── */
.route { margin-block-start: 44px; display: grid; gap: 0; counter-reset: stop; }
.stop { counter-increment: stop; position: relative; padding-inline-start: 64px; padding-block-end: 36px; }
.stop::before {
  content: counter(stop, arabic-indic);
  position: absolute; inset-inline-start: 0; top: 0;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand); color: #fff; font: 700 1.5rem/1 var(--display); padding-block-start: 3px;
}
:lang(en) .stop::before { content: counter(stop); }
.stop::after { /* the road between stops */
  content: ""; position: absolute; inset-inline-start: 21px; top: 50px; bottom: 6px;
  border-inline-start: 2px dashed var(--ink-2); opacity: .5;
}
.stop:last-child { padding-block-end: 0; }
.stop:last-child::after { display: none; }
.stop h3 { font: 700 clamp(1.8rem, 5vw, 2.4rem)/1.2 var(--display); }
.stop p { color: var(--ink-2); max-width: 32ch; }

/* ── Proof ── */
.proof { background: var(--brand); color: #fff; }
.proof .eyebrow { color: var(--paper-2); }
.proof .eyebrow::before { background: var(--paper-2); }
.proof .facts, .proof .fact { border-color: rgba(255, 255, 255, .28); }
.proof .fact dt { color: var(--paper-2); }
.proof .voices { border-color: var(--paper-2); }
.proof .voices__nums span { color: var(--paper-2); }
.proof .voices blockquote { color: var(--ink); }
.proof .draft { background: var(--paper-2); color: var(--ink); }
.facts { margin-block-start: 40px; display: grid; gap: 0; border-block-start: 1px solid var(--ink); }
.fact { display: grid; grid-template-columns: minmax(5.2rem, auto) 1fr; align-items: center; gap: 18px; padding-block: 18px; border-block-end: 1px solid var(--line); }
.fact dt { font: 700 clamp(3.4rem, 12vw, 5.5rem)/1 var(--display); color: var(--brand); }
.fact dd { font-size: 1.08rem; max-width: 26ch; }

.voices { margin-block-start: 40px; padding: 22px; border: 2px dashed var(--brand); border-radius: 18px; }
.voices[hidden] { display: none; }
.draft { display: inline-block; background: var(--brand); color: #fff; font-size: .8rem; font-weight: 600; padding: 2px 12px; border-radius: 99px; margin-block-end: 16px; }
.voices__nums { display: flex; flex-wrap: wrap; gap: 18px 44px; margin-block-end: 20px; }
.voices__nums b { display: block; font: 700 2.4rem/1.1 var(--display); }
.voices__nums span, .voices footer { font-size: .85rem; color: var(--ink-2); }
.voices__list { display: grid; gap: 12px; }
.voices blockquote { background: var(--card); border-radius: 14px; padding: 16px 18px; }

/* ── FAQ ── */
.faq__grid { display: grid; gap: 32px; }
.faq__more { margin-block-start: 16px; color: var(--ink-2); }
.faq__more a { color: var(--brand); font-weight: 600; text-underline-offset: 4px; }
.faq__list { border-block-start: 1px solid var(--ink); }
details { border-block-end: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; padding-block: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font: 700 clamp(1.45rem, 4.2vw, 1.8rem)/1.25 var(--display);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line);
  font: 400 1.3rem/1 var(--body); transition: transform .25s var(--ease), background .2s, color .2s;
}
details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: var(--paper); }
details p { padding-block-end: 20px; color: var(--ink-2); max-width: 52ch; }
details[open] p { animation: faq .35s var(--ease); }
@keyframes faq { from { opacity: 0; transform: translateY(-6px); } }
summary:hover { color: var(--brand); }

/* ── Final CTA ── */
.final { position: relative; background: var(--night); color: var(--on-night); text-align: center; overflow: hidden; }
.final__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.final::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(var(--night), rgba(6, 46, 42, .55) 45%, var(--night)); }
.final__in { position: relative; z-index: 2; }
.final__in { display: grid; justify-items: center; }
.final__icon { border-radius: 20px; margin-block-end: 22px; }
.final__h { font: 700 clamp(2.9rem, 10vw, 6rem)/1.05 var(--display); max-width: 13ch; text-wrap: balance; }
.final__sub { margin-block-start: 14px; color: var(--on-night-2); max-width: 30ch; font-size: 1.1rem; }
.final .stores { margin-block-start: 30px; }

/* ── Footer ── */
.foot { background: var(--night); color: var(--on-night-2); border-block-start: 1px solid rgba(204, 251, 241, .14); padding-block: 36px calc(36px + env(safe-area-inset-bottom)); font-size: .92rem; }
.foot__in { display: grid; gap: 22px; }
.foot .brand { color: var(--on-night); }
.foot__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot__nav a { color: var(--on-night); text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
.foot__c { direction: ltr; text-align: start; }
[dir="rtl"] .foot__c { text-align: end; }

/* ── Dock (phones, once a store link exists) ── */
.dock {
  position: fixed; z-index: 30; inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  background: var(--card); color: var(--ink); text-decoration: none;
  border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 20px 40px -18px rgba(6, 46, 42, .55);
  transform: translateY(140%); transition: transform .35s var(--ease);
}
.dock[hidden] { display: none; }
.dock.show { transform: none; }
.dock img { border-radius: 10px; }
.dock span { display: grid; line-height: 1.3; flex: 1; }
.dock b { font: 700 1.3rem/1.1 var(--display); }
.dock small { font-size: .75rem; color: var(--ink-2); }
.dock em { font-style: normal; font-weight: 600; background: var(--brand); color: #fff; padding: 9px 18px; border-radius: 99px; }

/* ── Scroll reveals (only when JS is running) ── */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv:nth-child(2) { transition-delay: .08s; }
.js .rv:nth-child(3) { transition-delay: .16s; }

/* ───────────── Wider screens ───────────── */
@media (min-width: 640px) {
  :root { --gut: 32px; }
  .extras { grid-template-columns: repeat(4, 1fr); }
  .route { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .stop { padding-inline-start: 0; padding-block: 64px 0; }
  .stop::after { inset-inline-start: 54px; inset-inline-end: -18px; top: 21px; bottom: auto; border-inline-start: 0; border-block-start: 2px dashed var(--ink-2); }
  .facts { grid-template-columns: repeat(3, 1fr); gap: 28px; border: 0; }
  .fact { grid-template-columns: 1fr; gap: 6px; align-content: start; border-block-start: 1px solid var(--ink); border-block-end: 0; }
  .proof .fact { border-block-start-color: rgba(255, 255, 255, .5); }
  .voices__list { grid-template-columns: repeat(3, 1fr); }
  .foot__in { grid-template-columns: 1fr auto; align-items: end; }
  .foot__c { grid-column: 1 / -1; }
  .dock { display: none; }
}

@media (min-width: 900px) {
  .bar__nav { display: flex; gap: 6px; margin-inline: auto; }
  .bar__nav a { padding: 10px 14px; border-radius: 99px; text-decoration: none; font-size: .95rem; color: var(--ink-2); }
  .bar__nav a:hover { color: var(--ink); background: var(--paper-2); }
  .hero__grid { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; }
  .hero { padding-block-end: 72px; }
  .hero__h { font-size: clamp(4rem, 8.2vw, 7.6rem); }
  :lang(en) .hero__h { font-size: clamp(3.4rem, 6.6vw, 6.4rem); }
  .hero__stage { width: min(30vw, 360px); margin-block-start: 0; }
  .stamp { inset-inline-end: -16%; }

  /* The tour becomes one pinned phone whose screen changes as you read. */
  .tour__grid { display: grid; grid-template-columns: 1fr minmax(260px, 340px); gap: 80px; align-items: start; }
  .tour__entries { gap: 0; }
  .entry { min-height: 74vh; display: grid; align-content: center; opacity: .32; transition: opacity .4s; }
  .entry.on { opacity: 1; }
  .entry__shot { display: none; }
  .tour__sticky { display: block; position: sticky; top: 13vh; }
  .phone--tour { max-height: 76vh; margin-inline: auto; }
  .phone--tour img { position: absolute; inset: 2.6%; width: 94.8%; height: 97.6%; opacity: 0; transition: opacity .5s var(--ease), transform .5s var(--ease); transform: scale(1.03); }
  .tour[data-active="0"] .phone--tour img:nth-child(1),
  .tour[data-active="1"] .phone--tour img:nth-child(2),
  .tour[data-active="2"] .phone--tour img:nth-child(3),
  .tour[data-active="3"] .phone--tour img:nth-child(4) { opacity: 1; transform: none; }

  .reel__head { grid-template-columns: 1fr auto; align-items: end; }
  .place { width: 300px; }
  .why__grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .chat { justify-self: end; }
  .post { width: 66%; }
  .post--a { inset-inline-start: -44%; }
  .post--b { inset-inline-end: -40%; }
  .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 72px; }
  .faq__grid > div:first-child { position: sticky; top: 110px; align-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .phone--hero { transform: none !important; }
  .post { translate: none; }
}
