/* Grabt's public site (/, /en). One stylesheet, no framework.
   Tokens follow the app: orange for the one action, ink for figures, green for savings;
   IBM Plex Sans Arabic only (its @font-face rules are in the page head, versioned). */

:root {
  --bg: #ffffff;
  --bg-tint: #f7f6f3;
  --surface: #ffffff;
  --surface-2: #f2f1ee;
  --ink: #16181d;
  --ink-2: #5e636c;
  --ink-3: #80858e;
  --line: #e9e7e3;
  --line-2: #d9d6d0;
  --brand: #e8501a;
  --action: #cc4410;
  --action-hover: #b23a0c;
  --brand-text: #c2410c;
  --brand-soft: #fdeee7;
  --green: #15803d;
  --green-soft: #e8f4ec;
  --amber: #b45309;
  --danger: #dc2626;
  --danger-soft: #fef2f2;
  --seg-store: #d9d6d0;
  --seg-service: #f59a6c;
  --band: #16181d;
  --shadow-sm: 0 1px 2px rgb(16 18 22 / 0.05);
  --shadow: 0 1px 2px rgb(16 18 22 / 0.04), 0 14px 36px -14px rgb(16 18 22 / 0.18);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --wrap: 1200px;
  --gutter: 20px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f12;
    --bg-tint: #131418;
    --surface: #17191e;
    --surface-2: #1f2127;
    --ink: #f2f3f5;
    --ink-2: #a8adb5;
    --ink-3: #868b94;
    --line: #25282e;
    --line-2: #343840;
    --brand: #f26a2e;
    --brand-text: #ff8a57;
    --brand-soft: #2a1912;
    --green: #4ade80;
    --green-soft: #11261a;
    --amber: #fbbf24;
    --danger: #f87171;
    --danger-soft: #2a1414;
    --seg-store: #3a3e46;
    --band: #17191e;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4);
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 18px 44px -18px rgb(0 0 0 / 0.7);
  }
}

/* ── Base ─────────────────────────────────────────────────────────────────────────────────── */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.75 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  text-wrap: balance;
}

:lang(en) h1,
:lang(en) h2 {
  letter-spacing: -0.02em;
}

p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

p {
  text-wrap: pretty;
}

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

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--action) 60%, transparent);
  outline-offset: 3px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.muted {
  color: var(--ink-2);
}

.small {
  font-size: 0.875rem;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
}

[dir="rtl"] .flip {
  transform: scaleX(-1);
}

.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

/* ── Buttons and links ────────────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font: 600 1rem/1.2 var(--font);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.15s,
    transform 0.15s var(--ease);
}

.btn-primary {
  background: var(--action);
  color: #fff;
}

.btn-primary:hover {
  background: var(--action-hover);
}

.btn-secondary {
  background: var(--surface-2);
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--line);
}

.btn-light {
  background: #fff;
  color: #16181d;
}

.btn-sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  background: var(--line-2);
  color: var(--ink-2);
  cursor: progress;
}

.motion-ok .btn:active {
  transform: scale(0.97);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-text);
  font-weight: 600;
  text-decoration: none;
}

.link-arrow:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.link-arrow .icon {
  width: 18px;
  height: 18px;
}

/* ── Header ───────────────────────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

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

.header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: block;
  flex: none;
}

.brand img {
  display: block;
  width: auto;
  height: 30px;
}

.nav {
  display: none;
  gap: 2px;
  margin-inline-start: 16px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition:
    color 0.15s,
    background-color 0.15s;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--surface-2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-inline-start: auto;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.lang:hover {
  background: var(--surface-2);
}

.lang .icon {
  width: 18px;
  height: 18px;
}

.menu {
  position: static;
}

.menu summary {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  list-style: none;
  cursor: pointer;
}

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

.menu summary:hover,
.menu[open] summary {
  background: var(--surface-2);
}

.menu:not([open]) .menu-panel {
  display: none;
}

.menu-panel {
  position: absolute;
  inset-inline: 0;
  top: var(--header-h);
  display: grid;
  gap: 2px;
  padding: 8px var(--gutter) 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.menu-panel a:not(.btn) {
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.menu-panel .btn {
  margin-top: 14px;
}

@media (max-width: 479px) {
  .site-header .lang span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .brand img {
    height: 26px;
  }

  .header-cta {
    padding: 0 14px;
  }
}

@media (min-width: 960px) {
  .nav {
    display: flex;
  }

  .menu {
    display: none;
  }
}

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

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 176px;
  height: 58px;
  padding: 0 18px;
  border-radius: 16px;
  background: #0e0f12;
  color: #fff;
  text-decoration: none;
  text-align: start;
  transition: transform 0.15s var(--ease);
}

@media (prefers-color-scheme: dark) {
  .store {
    background: #fff;
    color: #0e0f12;
  }
}

.motion-ok a.store:hover {
  transform: translateY(-2px);
}

.store small {
  display: block;
  font-size: 0.72rem;
  line-height: 1.3;
  opacity: 0.78;
}

.store b {
  display: block;
  font-size: 1.08rem;
  line-height: 1.25;
}

.store-icon {
  width: 24px;
  height: 24px;
}

@media (max-width: 419px) {
  .store {
    min-width: 0;
    height: 54px;
    padding: 0 14px;
    gap: 8px;
  }

  .store b {
    font-size: 0.98rem;
  }

  .store-icon {
    width: 20px;
    height: 20px;
  }
}

.store-icon path {
  fill: currentColor;
}

.store-soon {
  background: transparent;
  color: var(--ink-2);
  border: 1.5px dashed var(--line-2);
}

@media (prefers-color-scheme: dark) {
  .store-soon {
    background: transparent;
    color: var(--ink-2);
  }
}

.store-soon .store-icon path {
  fill: none;
}

/* ── Hero ─────────────────────────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding-top: clamp(40px, 6vw, 80px);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(55% 42% at 50% 70%, color-mix(in srgb, var(--brand) 13%, transparent), transparent 72%),
    radial-gradient(38% 30% at 15% 22%, color-mix(in srgb, var(--green) 9%, transparent), transparent 70%),
    radial-gradient(30% 28% at 88% 18%, color-mix(in srgb, var(--brand) 7%, transparent), transparent 70%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 20px;
  max-width: 880px;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

.hero h1 {
  display: grid;
  font-size: clamp(2.7rem, 1.2rem + 6.2vw, 5.6rem);
  line-height: 1.08;
}

.hero h1:lang(ar) {
  line-height: 1.22;
}

.hero h1 .accent {
  color: var(--green);
}

.hero-lead {
  max-width: 46rem;
  color: var(--ink-2);
  font-size: clamp(1.08rem, 0.98rem + 0.5vw, 1.32rem);
  line-height: 1.75;
}

.hero-actions {
  margin-top: 8px;
}

.hero-actions .stores {
  justify-content: center;
}

.hero-visual {
  position: relative;
  z-index: 1;
  width: 190vw;
  margin: clamp(20px, 4vw, 40px) calc(50% - 95vw) 0;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
}

@media (min-width: 640px) {
  .hero-visual {
    width: 130vw;
    margin-inline: calc(50% - 65vw);
  }
}

@media (min-width: 1024px) {
  .hero-visual {
    width: min(1120px, 100%);
    margin-inline: auto;
  }
}

.live-strip {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 28px;
  width: fit-content;
  max-width: 100%;
  margin: -8px auto 0;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.live-strip div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.live-strip dt {
  color: var(--ink-2);
  font-size: 0.9rem;
}

.live-strip dd {
  font-weight: 700;
  font-size: 1.2rem;
  font-variant-numeric: tabular-nums;
}

.live-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.motion-ok .live-dot {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 50%, transparent);
  }

  70% {
    box-shadow: 0 0 0 8px transparent;
  }

  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

/* ── Sections ─────────────────────────────────────────────────────────────────────────────── */

.section {
  padding-block: clamp(72px, 9vw, 128px);
}

.section-tint {
  background: var(--bg-tint);
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--ink-2);
  font-size: 0.95rem;
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--brand);
  transform: rotate(45deg);
}

:lang(en) .eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head h2,
.contact h2 {
  font-size: clamp(2rem, 1.25rem + 2.8vw, 3.35rem);
  line-height: 1.18;
}

.section-head h2:lang(ar),
.contact h2:lang(ar) {
  line-height: 1.32;
}

.lead {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: clamp(1.06rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.75;
}

.ref {
  margin-inline-start: 2px;
  font-size: 0.5em;
  line-height: 0;
  vertical-align: super;
}

.ref a {
  color: var(--brand-text);
  font-weight: 700;
  text-decoration: none;
}

/* ── About ────────────────────────────────────────────────────────────────────────────────── */

.figures {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .figures {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1080px) {
  .figures-2 {
    grid-template-columns: 1.2fr 1fr;
  }
}

.figure {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.figure-lead {
  border-color: transparent;
  background: #16181d;
  color: #fff;
}

@media (prefers-color-scheme: dark) {
  .figure-lead {
    background: var(--surface-2);
  }
}

.figure-value {
  font-size: clamp(2.2rem, 1.7rem + 1.8vw, 3.1rem);
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}

.figure-lead .figure-value {
  color: #ff8a57;
}

.figure-lead .ref a {
  color: #ff8a57;
}

.figure-label {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.6;
}

.figure-lead .figure-label {
  color: rgb(255 255 255 / 0.76);
}

.pains {
  display: grid;
  gap: 28px;
  margin: clamp(48px, 6vw, 72px) 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 900px) {
  .pains {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

.pains li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.pains .icon {
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 12px;
  background: var(--surface-2);
}

.section-tint .pains .icon {
  background: var(--surface);
}

.pains h3 {
  font-size: 1.12rem;
}

.pains p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.65;
}

.sources {
  margin-top: 40px;
  color: var(--ink-2);
  font-size: 0.85rem;
}

.sources summary {
  width: fit-content;
  cursor: pointer;
  font-weight: 600;
}

.sources ol {
  display: grid;
  gap: 6px;
  margin: 12px 0 10px;
  padding-inline-start: 22px;
}

.sources li > span {
  display: block;
  text-align: start;
}

[dir="rtl"] .sources li > span {
  text-align: left;
}

.sources a {
  color: var(--brand-text);
  word-break: break-all;
}

/* ── Phones and screens ───────────────────────────────────────────────────────────────────── */

.phone {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  padding: 9px;
  border-radius: 44px;
  background: #0d0e10;
  box-shadow:
    inset 0 0 0 1.5px #2b2d33,
    var(--shadow);
}

.phone img,
.phone video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 35px;
  background: #fff;
}

.phone-sm {
  max-width: 220px;
  padding: 7px;
  border-radius: 34px;
}

.phone-sm img {
  border-radius: 27px;
}

.phone-video video {
  background: #000;
}

.video-toggle {
  position: absolute;
  inset-inline-end: 22px;
  bottom: 30px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgb(14 15 18 / 0.74);
  color: #fff;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.video-toggle .icon {
  width: 20px;
  height: 20px;
}

.video-toggle .icon-play path {
  fill: currentColor;
}

.video-toggle .icon-pause,
[data-playing="true"] .video-toggle .icon-play {
  display: none;
}

[data-playing="true"] .video-toggle .icon-pause {
  display: block;
}

.video-track {
  position: absolute;
  inset-inline: 28px;
  bottom: 18px;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: rgb(255 255 255 / 0.4);
}

.video-track i {
  display: block;
  height: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}

[dir="rtl"] .video-track i {
  transform-origin: right;
}

.caption {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 0.9rem;
  text-align: center;
}

/* ── How it works ─────────────────────────────────────────────────────────────────────────── */

.how-grid {
  display: grid;
  gap: 48px;
}

.how-video .phone {
  max-width: 280px;
}

@media (min-width: 960px) {
  .how-grid {
    grid-template-columns: 340px 1fr;
    gap: 80px;
    align-items: start;
  }

  .how-video {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }

  .how-video .phone {
    max-width: 320px;
  }
}

.steps {
  position: relative;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.step-n {
  position: absolute;
  inset-inline-end: 18px;
  bottom: -18px;
  color: var(--surface-2);
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.section-tint .step-n {
  color: var(--bg-tint);
}

.step-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--bg);
}

.step-icon .icon {
  width: 22px;
  height: 22px;
}

.step > div {
  position: relative;
}

.step-who {
  color: var(--ink-3);
  font-size: 0.85rem;
  font-weight: 600;
}

.step h3 {
  margin-top: 2px;
  font-size: 1.22rem;
}

.step p:last-child {
  margin-top: 6px;
  color: var(--ink-2);
  line-height: 1.65;
}

.step-loop {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--green-soft);
  color: var(--ink);
  font-weight: 600;
}

.step-loop .icon {
  color: var(--green);
}

/* ── Feature rows ─────────────────────────────────────────────────────────────────────────── */

.rows {
  display: grid;
  gap: clamp(72px, 9vw, 120px);
  max-width: 1040px;
  margin-inline: auto;
}

.row {
  display: grid;
  gap: 36px;
  align-items: center;
}

.row .phone {
  max-width: 280px;
}

@media (min-width: 900px) {
  .row {
    grid-template-columns: 320px 1fr;
    gap: clamp(48px, 7vw, 104px);
  }

  .row .phone {
    max-width: 320px;
  }

  .row-flip {
    grid-template-columns: 1fr 320px;
  }

  .row-flip > .phone {
    order: 2;
  }
}

.row-copy {
  max-width: 600px;
}

.row-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: 0.95rem;
  font-weight: 600;
}

.row-tag .icon {
  color: var(--brand-text);
}

.row-copy h3,
.spotlight-copy h3 {
  margin-top: 12px;
  font-size: clamp(1.65rem, 1.15rem + 1.6vw, 2.4rem);
  line-height: 1.25;
}

.row-copy h3:lang(ar),
.spotlight-copy h3:lang(ar) {
  line-height: 1.4;
}

.row-lead {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 1.1rem;
}

.quote-line {
  margin-top: 16px;
  padding-inline-start: 14px;
  border-inline-start: 3px solid var(--green);
  font-weight: 600;
}

.checks {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  line-height: 1.6;
}

.checks .icon {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  padding: 5px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  stroke-width: 2.6;
}

.checks-sm li {
  font-size: 0.95rem;
}

/* ── Cards ────────────────────────────────────────────────────────────────────────────────── */

.cards {
  display: grid;
  gap: 14px;
  margin: clamp(64px, 8vw, 104px) 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.card h3 {
  margin-top: 18px;
  font-size: 1.14rem;
}

.card p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.65;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--ink);
}

.section-tint .card-icon {
  background: var(--bg-tint);
}

.card-icon .icon {
  width: 22px;
  height: 22px;
}

.card-icon-green,
.section-tint .card-icon-green {
  background: var(--green-soft);
  color: var(--green);
}

@media (max-width: 639px) {
  .card,
  .stream {
    display: grid;
    grid-template-columns: 46px 1fr;
    column-gap: 16px;
    padding: 20px;
  }

  .card > :not(.card-icon),
  .stream > :not(.card-icon) {
    grid-column: 2;
  }

  .card .card-icon,
  .stream .card-icon {
    grid-row: 1 / span 3;
  }

  .card h3,
  .stream h3 {
    margin-top: 0;
  }
}

.card-flat {
  padding: 20px;
}

.card-flat h3 {
  margin-top: 14px;
  font-size: 1.05rem;
}

.card-flat p {
  font-size: 0.93rem;
}

/* ── Stores: autopilot spotlight and the plan diagram ─────────────────────────────────────── */

.spotlight {
  display: grid;
  gap: 48px;
  align-items: center;
  margin-bottom: clamp(72px, 9vw, 120px);
}

@media (min-width: 1024px) {
  .spotlight {
    grid-template-columns: 1fr 1.08fr;
    gap: 72px;
  }
}

.spotlight-copy {
  max-width: 560px;
}

.reason {
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.reason p {
  font-weight: 600;
  line-height: 1.6;
}

.reason footer {
  margin-top: 6px;
  color: var(--ink-3);
  font-size: 0.85rem;
}

.spotlight-visual {
  position: relative;
  display: grid;
  gap: 28px;
  justify-items: center;
}

@media (min-width: 640px) {
  .spotlight-visual {
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .spotlight-visual .plan {
    position: relative;
    z-index: 2;
    flex: 0 1 420px;
    margin-top: 84px;
    margin-inline-end: -56px;
  }

  .spotlight-visual .phone {
    flex: none;
    width: 230px;
    margin: 0;
  }
}

.plan {
  width: 100%;
  max-width: 440px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.plan-head {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
}

.plan-thumb {
  display: block;
  border-radius: 10px;
  background: var(--surface-2);
}

.plan-name {
  font-weight: 700;
  line-height: 1.4;
}

.plan-sub {
  color: var(--ink-2);
  font-size: 0.82rem;
  line-height: 1.4;
}

.tag {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-top: 14px;
}

.plan-price b {
  font-size: 2.1rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.plan-currency {
  font-weight: 600;
}

.plan-price s {
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.badge-save {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 700;
  direction: ltr;
}

.plan-chart {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 10px;
  overflow: visible;
  font-family: var(--font);
}

.plan-line {
  fill: none;
  stroke: var(--action);
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
}

@media (prefers-color-scheme: dark) {
  .plan-line {
    stroke: var(--brand);
  }
}

.plan-line-planned {
  stroke: var(--ink-3);
  stroke-width: 1.8;
  stroke-dasharray: 4 5;
}

.plan-grid {
  stroke: var(--line-2);
  stroke-width: 1;
  stroke-dasharray: 2 4;
}

.plan-fire {
  fill: color-mix(in srgb, var(--brand) 13%, transparent);
}

.plan-fire-label text {
  fill: var(--brand-text);
  font-size: 11px;
  font-weight: 700;
}

.plan-axis {
  fill: var(--ink-3);
  font-size: 10.5px;
}

.plan-now-line {
  stroke: var(--ink);
  stroke-width: 1;
  stroke-dasharray: 3 3;
  opacity: 0.5;
}

.plan-now-dot {
  fill: var(--surface);
  stroke: var(--action);
  stroke-width: 3;
}

.plan-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

.fire-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-text);
  font-weight: 600;
}

.fire-chip .icon {
  width: 18px;
  height: 18px;
}

.countdown {
  color: var(--ink-2);
}

.countdown b {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* ── Pricing ──────────────────────────────────────────────────────────────────────────────── */

.pricing {
  margin-top: clamp(80px, 10vw, 128px);
}

.pricing-title {
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
  line-height: 1.3;
}

.pricing-title small {
  display: block;
  margin-top: 6px;
  color: var(--ink-3);
  font-size: 0.95rem;
  font-weight: 500;
}

.price-cards {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 900px) {
  .price-cards {
    grid-template-columns: 1.15fr 1fr 1fr;
  }
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.price-card-main {
  border: 2px solid var(--ink);
}

.price-name {
  color: var(--ink-2);
  font-weight: 600;
}

.price-value b {
  font-size: clamp(2.2rem, 1.8rem + 1.4vw, 2.8rem);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.price-value span {
  margin-inline-start: 6px;
  color: var(--ink-2);
}

.price-note {
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.6;
}

.price-card .checks {
  margin-top: 6px;
}

.price-card .btn {
  margin-top: auto;
  align-self: stretch;
}

.price-card-main .btn {
  margin-top: 16px;
}

/* ── The app ──────────────────────────────────────────────────────────────────────────────── */

.roles {
  display: grid;
  gap: 18px;
}

@media (min-width: 1024px) {
  .roles {
    grid-template-columns: repeat(3, 1fr);
  }
}

.role {
  display: grid;
  gap: 24px;
  align-content: start;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

@media (min-width: 640px) and (max-width: 1023px) {
  .role {
    grid-template-columns: 200px 1fr;
    align-items: center;
  }
}

.role .phone {
  max-width: 220px;
}

.role h3 {
  margin-top: 10px;
  font-size: 1.3rem;
  line-height: 1.4;
}

.apps-foot {
  display: grid;
  gap: 24px;
  align-items: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

@media (min-width: 1024px) {
  .apps-foot {
    grid-template-columns: auto 1fr;
    gap: 48px;
  }
}

.built-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 0.93rem;
}

.built-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.built-list .icon {
  width: 18px;
  height: 18px;
  color: var(--ink);
}

/* ── Impact, team ─────────────────────────────────────────────────────────────────────────── */

.sdg {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: baseline;
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--green-soft);
}

.sdg p:last-child {
  flex: 1 1 320px;
}

.sdg-badge {
  color: var(--green);
  font-weight: 700;
  white-space: nowrap;
}

.team {
  display: grid;
  gap: 40px 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.member {
  text-align: center;
}

.member img {
  display: block;
  width: 152px;
  height: 152px;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 6px var(--surface),
    var(--shadow);
}

.member h3 {
  margin-top: 20px;
  font-size: 1.22rem;
}

.member p {
  margin-top: 4px;
  color: var(--ink-2);
}

/* ── FAQ ──────────────────────────────────────────────────────────────────────────────────── */

.faq-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: 1fr 1.7fr;
    gap: 64px;
  }
}

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

.qa {
  border-bottom: 1px solid var(--line);
}

.qa summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}

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

.qa summary::after {
  content: "+";
  flex: none;
  color: var(--ink-3);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s var(--ease);
}

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

.qa p {
  padding-bottom: 22px;
  color: var(--ink-2);
  line-height: 1.75;
}

/* ── Contact ──────────────────────────────────────────────────────────────────────────────── */

.contact-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1.25fr;
    gap: 72px;
    align-items: start;
  }
}

.contact-lines {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.contact-lines li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-lines .icon {
  color: var(--ink-2);
}

.contact-lines a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.contact-lines a:hover {
  text-decoration: underline;
}

.form-card {
  padding: clamp(20px, 3.4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.kinds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

.kinds legend {
  width: 100%;
  margin-bottom: 10px;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.kind {
  position: relative;
}

.kind input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.kind span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 0.15s,
    color 0.15s,
    border-color 0.15s;
}

.kind span .icon {
  width: 18px;
  height: 18px;
}

.kind input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

.kind input:focus-visible + span {
  outline: 3px solid color-mix(in srgb, var(--action) 60%, transparent);
  outline-offset: 2px;
}

.fields {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .fields {
    grid-template-columns: 1fr 1fr;
  }
}

.field-wide {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
  font-weight: 600;
}

.req {
  margin-inline-start: 3px;
  color: var(--brand-text);
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--ink);
  outline: none;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--action) 22%, transparent);
}

[dir="rtl"] .field input[dir="ltr"] {
  text-align: right;
}

.has-error input,
.has-error textarea {
  border-color: var(--danger);
}

.field-error {
  margin-top: 6px;
  color: var(--danger);
  font-size: 0.86rem;
  line-height: 1.5;
}

.field-error:empty {
  display: none;
}

.form-error {
  margin-bottom: 18px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 0.95rem;
}

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

.form-note {
  margin: 20px 0 16px;
  color: var(--ink-3);
  font-size: 0.875rem;
}

.form-note a {
  color: var(--ink-2);
}

.form-sent {
  padding: 40px 12px;
  text-align: center;
}

.form-sent:focus {
  outline: none;
}

.sent-icon {
  display: inline-grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}

.sent-icon .icon {
  width: 32px;
  height: 32px;
  stroke-width: 2.4;
}

.form-sent h3 {
  margin-top: 18px;
  font-size: 1.45rem;
}

.form-sent p {
  margin-top: 8px;
  color: var(--ink-2);
}

/* ── Footer ───────────────────────────────────────────────────────────────────────────────── */

.site-footer {
  padding-block: 64px 28px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 24px;
}

.footer-brand,
.footer-grid > .footer-col:last-child {
  grid-column: 1 / -1;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  }

  .footer-brand,
  .footer-grid > .footer-col:last-child {
    grid-column: auto;
  }
}

.footer-brand img {
  display: block;
  width: auto;
  height: 30px;
}

.footer-brand .muted {
  max-width: 22rem;
  font-size: 0.93rem;
  line-height: 1.7;
}

.tagline {
  margin: 12px 0 8px;
  font-weight: 700;
}

[dir="rtl"] .tagline {
  text-align: right;
}

.t-orange {
  color: var(--brand);
}

.t-green {
  color: var(--green);
}

.footer-col h2 {
  margin-bottom: 10px;
  color: var(--ink-3);
  font-size: 0.85rem;
  font-weight: 600;
}

:lang(en) .footer-col h2 {
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-col a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  color: var(--ink-2);
  text-decoration: none;
}

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

.footer-col .icon {
  width: 18px;
  height: 18px;
}

.socials {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 0.85rem;
}

.footer-bottom .lang {
  color: var(--ink-2);
}

/* ── Motion (only when welcome: the boot script sets .motion-ok) ──────────────────────────── */

.motion-ok [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}

.motion-ok [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.motion-ok [data-hero-visual] {
  animation: rise 1s var(--ease) both 0.15s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
  }
}

@media print {
  .site-header,
  .menu,
  .video-toggle {
    display: none;
  }
}
