/* Cashiery site. One ground, one ink, one accent: teal is the brand, coral is only for the main action.
   Every size, space, radius and colour below comes from these tokens; nested corners follow inner = outer - padding. */

:root {
  /* colour */
  --ink: #062d33;          /* dark ground */
  --ink-2: #0c3b42;        /* a surface on the dark ground, one tone step up */
  --ink-3: #1a4a51;        /* device bezels on the dark ground */
  --paper: #f2f6f6;        /* light alt ground */
  --paper-2: #dfe8e9;      /* a surface on paper (picture frames) */
  --white: #fff;
  --text: #0f2a2e;         /* running text: 14:1 on white */
  --text-2: #3c5257;       /* secondary notes: 8:1 on white */
  --on-dark: #f2f8f7;
  --on-dark-2: #c2d8d6;    /* secondary text on the dark ground: 10:1 */
  --teal: #0f8f86;         /* brand marks: ticks, icons, numbers */
  --teal-ink: #0b6863;     /* teal text on light grounds */
  --teal-soft: #e3f1f0;
  --teal-on-dark: #5cc9c1;
  --accent: #f25a52;       /* the main action, and nothing else */
  --accent-hover: #ff6f67;
  --on-accent: #1a0807;
  --line: #dbe4e5;         /* form fields and tables only */

  /* type: two faces, six sizes */
  --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --display: "El Messiri", "IBM Plex Sans Arabic", "Segoe UI", sans-serif;
  --fs-display: clamp(38px, 6vw, 84px);
  --fs-h2: clamp(28px, 3.2vw, 44px);
  --fs-h3: clamp(21px, 2vw, 27px);
  --fs-lead: 19px;
  --fs-body: 17px;
  --fs-small: 14.5px;

  /* space */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 128px;

  /* shape: buttons are pills, surfaces use these radii */
  --r-lg: 24px; --r-md: 16px; --r-sm: 8px;
  --frame-pad: 8px;

  --ease: cubic-bezier(.22, 1, .36, 1);

  /* older names still used by the sub-pages (learn, terms, privacy) */
  --muted: var(--text-2); --coral: var(--accent); --teal-50: var(--teal-soft); --teal-100: #cfe8e6; --teal-400: var(--teal-on-dark);
  --on-dark-muted: var(--on-dark-2); --radius: var(--r-md); --shadow: 0 1px 2px rgb(6 45 51 / .06), 0 12px 32px -12px rgb(6 45 51 / .28);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.7; font-size: var(--fs-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2 { font-family: var(--display); font-weight: 700; line-height: 1.2; margin: 0; text-wrap: balance; }
h3, h4 { font-family: var(--font); font-weight: 700; line-height: 1.45; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; cursor: pointer; }
.num, .price, table, .req { font-variant-numeric: tabular-nums; }
p a, .note a, .lc-note a { color: var(--teal-ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.dark p a { color: var(--on-dark); }
p a:hover { text-decoration-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; inset-inline-start: 24px; top: -60px; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: var(--r-sm); z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.eyebrow { display: block; margin-bottom: 10px; font-size: var(--fs-small); font-weight: 700; color: var(--teal-ink); }
.dark .eyebrow { color: var(--teal-on-dark); }

/* ---------- Buttons: one pill shape, coral only for the main action ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: var(--fs-body); border: 2px solid transparent; white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s, transform .15s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.97); transition-duration: .08s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-lg { min-height: 58px; padding: 0 34px; font-size: var(--fs-lead); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: var(--fs-small); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--on-dark); border-color: rgb(255 255 255 / .38); }
.btn-ghost:hover { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .7); }
.btn-line { background: var(--white); color: var(--text); border-color: var(--line); }
.btn-line:hover { border-color: var(--teal); color: var(--teal-ink); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-ink); }
/* a download that has been clicked shows it is starting */
.btn.busy { cursor: progress; }
.btn.busy svg { display: none; }
.btn.busy::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; border: 2.5px solid currentColor; border-inline-end-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-more { display: inline-flex; align-items: center; min-height: 48px; padding: 0 4px; font-weight: 700; color: var(--on-dark); text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: rgb(255 255 255 / .35); text-underline-offset: 7px; transition: text-decoration-color .2s; }
.link-more:hover { text-decoration-color: currentColor; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 10px 24px -18px rgb(0 0 0 / .7); } /* it floats over the page once you scroll */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--display); font-size: 24px; font-weight: 700; }
.brand img { width: 38px; height: 38px; }
.brand small { display: block; margin-top: 2px; font-family: var(--font); font-size: 13.5px; font-weight: 500; line-height: 1; color: var(--on-dark-2); }
.bar-actions { display: flex; align-items: center; gap: 10px; }
.link-login { padding: 8px 10px; font-size: var(--fs-small); font-weight: 600; color: var(--on-dark); text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: transparent; text-underline-offset: 8px; transition: text-decoration-color .2s, color .2s; }
.link-login:hover { color: #fff; text-decoration-color: var(--teal-on-dark); }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; background: transparent; border: 2px solid rgb(255 255 255 / .3); color: var(--on-dark); font-weight: 600; font-size: var(--fs-small); transition: border-color .2s, background-color .2s; }
.menu-btn:hover { border-color: rgb(255 255 255 / .6); }
.menu-btn svg { width: 18px; height: 18px; }
/* the drop-down floats, so it may cast a shadow; its links follow inner radius = 16 - 8 */
.menu { position: absolute; inset-inline-end: max(24px, calc((100% - 1200px) / 2)); top: 72px; width: min(300px, calc(100% - 48px)); background: var(--ink-2); border-radius: var(--r-md); padding: var(--s1); box-shadow: 0 24px 48px -16px rgb(0 0 0 / .65); display: none; }
.menu.open { display: block; animation: drop .18s var(--ease); }
.menu a { display: block; padding: 11px 14px; border-radius: calc(var(--r-md) - var(--s1)); color: var(--on-dark); font-weight: 500; transition: background-color .15s, color .15s; }
.menu a:hover { background: rgb(255 255 255 / .08); color: #fff; }
.menu a[aria-current="page"] { color: var(--teal-on-dark); font-weight: 700; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.d-only { display: none; }
@media (min-width: 1100px) {
  .bar { gap: 20px; }
  .brand { order: 1; }
  .menu, .menu.open { order: 2; display: flex !important; flex: 1; justify-content: center; gap: 2px; position: static; width: auto; padding: 0; background: none; box-shadow: none; animation: none; }
  .menu a, .menu.open a { padding: 8px 12px; font-size: var(--fs-small); white-space: nowrap; }
  .menu .m-only, .menu-btn, .m-hide { display: none !important; }
  .bar-actions { order: 3; }
  .d-only { display: inline-block; }
}

/* ---------- Sections ---------- */
section { padding: var(--s6) 0; }
.dark { background: var(--ink); color: var(--on-dark); }
.alt { background: var(--paper); }
.head { max-width: 780px; margin-bottom: var(--s5); }
.head h2 { font-size: var(--fs-h2); }
.head p { margin-top: var(--s2); max-width: 62ch; font-size: var(--fs-lead); color: var(--text-2); }
.dark .head h2 { color: #fff; }
.dark .head p { color: var(--on-dark-2); }
.center { text-align: center; margin-inline: auto; }

/* pictures of the real program: a frame whose inner corner follows inner = outer - padding */
.frame { padding: var(--frame-pad); border-radius: var(--r-lg); background: var(--paper-2); }
.frame img { width: 100%; height: auto; border-radius: calc(var(--r-lg) - var(--frame-pad)); background: #e9eff0; }
.dark .frame { background: rgb(255 255 255 / .1); }
.phone { margin: 0; padding: 7px; border-radius: 34px; background: var(--ink-3); }
.phone img { width: 100%; height: auto; border-radius: calc(34px - 7px); background: #fff; }

/* tick lists: one icon, drawn at the stroke width of every other icon, centred on the first line of text */
.ticks { margin-top: var(--s3); display: grid; gap: 12px; }
.ticks li { position: relative; padding-inline-start: 32px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: calc((1.7em - 20px) / 2); width: 20px; height: 20px; background: var(--teal);
  -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat; }
.dark .ticks li::before { background: var(--teal-on-dark); }
:root { --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M8.5 12.3l2.4 2.4 4.6-4.9'/%3E%3C/svg%3E"); }

/* ---------- Hero ---------- */
/* the headline and the action share the top row; the real cashier screen runs the full width under them */
.hero { padding: var(--s5) 0 var(--s6); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s4) var(--s5); align-items: end; }
.hero h1 { font-size: var(--fs-display); font-weight: 800; line-height: 1.12; color: #fff; }
.hero h1 em { font-style: normal; color: inherit; }
.hero .lead { margin-top: 0; }
.lead { margin-top: var(--s3); max-width: 40ch; font-size: var(--fs-lead); line-height: 1.75; color: var(--on-dark-2); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); margin-top: var(--s3); }
.fine { margin-top: var(--s2); font-size: var(--fs-small); color: var(--on-dark-2); }
.hero-media { grid-column: 1 / -1; position: relative; margin-top: var(--s1); }
.hero-phone { position: absolute; inset-inline-start: -28px; bottom: -48px; width: 200px; padding: 7px; border-radius: 34px; }
.hero-phone img { border-radius: calc(34px - 7px); }

/* ---------- Problem ---------- */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4) var(--s5); }
.pain h3 { font-size: var(--fs-h3); }
.pain p { margin-top: var(--s1); color: var(--text-2); }

/* ---------- Features: the cashier first and largest, then alternating rows ---------- */
.feature-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s3) var(--s5); align-items: end; }
.fm-copy h3 { font-family: var(--display); font-size: var(--fs-h2); line-height: 1.2; }
.fm-copy p { margin-top: var(--s2); max-width: 46ch; font-size: var(--fs-lead); }
.fm-ticks { margin-top: 0; }
.fm-shot { grid-column: 1 / -1; margin-top: var(--s3); }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5); align-items: center; margin-top: var(--s6); }
.feature.flip .copy { order: 2; }
.feature h3 { font-family: var(--display); font-size: var(--fs-h3); line-height: 1.25; }
.feature .copy > p { margin-top: var(--s2); }

/* ---------- Mobile app ---------- */
.mobile-band { overflow: hidden; }
.mobile-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5); align-items: center; }
.mobile-band h2 { font-size: var(--fs-h2); color: #fff; }
.mobile-band .copy > p { margin-top: var(--s2); color: var(--on-dark-2); }
.phones { position: relative; height: 580px; }
.phones .phone { position: absolute; width: 232px; }
.phones .p2 { left: 50%; top: 0; transform: translateX(-50%); z-index: 3; width: 256px; }
.phones .p1 { left: 2%; top: 68px; transform: rotate(-6deg); z-index: 1; }
.phones .p3 { right: 2%; top: 68px; transform: rotate(6deg); z-index: 2; }

/* ---------- Also inside ---------- */
.extras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4) var(--s4); }
.extra .ic { width: 24px; height: 24px; margin-bottom: 12px; color: var(--teal); }
.extra h3 { font-size: var(--fs-body); }
.extra p { margin-top: 4px; color: var(--text-2); }

/* ---------- Start: four steps in order ---------- */
.path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); }
.pn { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--s2); padding-top: 2px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; font-size: var(--fs-body); line-height: 1; font-variant-numeric: tabular-nums; }
.pstep h3 { font-size: var(--fs-h3); }
.pstep p { margin-top: var(--s1); color: var(--text-2); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); align-items: stretch; min-height: 440px; }
.plan { display: flex; flex-direction: column; padding: 28px var(--s3) var(--s3); border-radius: var(--r-lg); background: var(--paper); }
.plan.best { background: var(--ink); color: var(--on-dark); }
.plan h3 { font-size: var(--fs-h3); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: var(--s3); }
.price b { font-family: var(--font); font-size: var(--fs-h2); font-weight: 700; line-height: 1; letter-spacing: -.01em; }
.price span { font-size: var(--fs-small); color: var(--text-2); }
.save { min-height: 1.7em; margin-top: 8px; font-size: var(--fs-small); font-weight: 600; color: var(--teal-ink); }
.save s { margin-inline-end: 6px; font-weight: 400; color: var(--text-2); }
.plan .ticks { flex: 1; margin: var(--s3) 0; gap: 10px; }
.plan.best .price span, .plan.best .save s { color: var(--on-dark-2); }
.plan.best .save { color: var(--teal-on-dark); }
.plan.best .ticks li::before { background: var(--teal-on-dark); }
.plan .btn { width: 100%; padding: 0 12px; }
.pay-link { display: block; margin-top: 12px; text-align: center; font-size: var(--fs-small); font-weight: 600; color: var(--teal-ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.pay-link:hover { text-decoration-color: transparent; }
.plan.best .pay-link { color: var(--on-dark); }
.skeleton { min-height: 440px; border-radius: var(--r-lg); background: var(--paper); animation: wait 1.3s ease-in-out infinite; }
@keyframes wait { 50% { opacity: .45; } }
.note { margin-top: var(--s4); max-width: 75ch; font-size: var(--fs-small); color: var(--text-2); }

/* ---------- Download / sign-up band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 20em; margin-inline: auto; font-size: var(--fs-h2); color: #fff; }
.cta-band p { max-width: 60ch; margin: var(--s2) auto 0; font-size: var(--fs-lead); color: var(--on-dark-2); }
.cta-band .hero-cta { justify-content: center; }
.dl-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); max-width: 880px; margin: var(--s5) auto 0; }
.dl-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 32px var(--s3); border-radius: var(--r-lg); background: var(--ink-2); }
.dl-card h3 { font-size: var(--fs-h3); color: #fff; }
.dl-card p { margin: 0; font-size: var(--fs-body); color: var(--on-dark-2); }
.dl-card .btn { margin-top: 8px; }
.req { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin-top: 6px; font-size: var(--fs-small); color: var(--on-dark-2); }
/* version and size arrive from the server: a quiet placeholder until they do */
.req:not(.ready) span:empty { display: inline-block; width: 72px; height: 1em; margin-top: .35em; border-radius: 4px; background: rgb(255 255 255 / .14); animation: wait 1.3s ease-in-out infinite; }
.req.ready span:empty { display: none; }
.dl-help { max-width: 640px; margin: var(--s4) auto 0; font-size: var(--fs-body); color: var(--on-dark-2); }
.dl-help a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.dl-note { max-width: 640px; margin: var(--s2) auto 0; border-radius: var(--r-md); background: var(--ink-2); text-align: start; font-size: var(--fs-small); line-height: 1.8; color: var(--on-dark-2); }
.dl-note summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; list-style: none; cursor: pointer; font-weight: 700; color: #fff; }
.dl-note summary::-webkit-details-marker { display: none; }
.dl-note summary::after, .faq summary::after { content: ""; width: 20px; height: 20px; flex: none; background: currentColor; transition: transform .25s var(--ease);
  -webkit-mask: var(--chev) center / contain no-repeat; mask: var(--chev) center / contain no-repeat; }
.dl-note[open] summary::after, .faq details[open] summary::after { transform: rotate(180deg); }
.dl-note p { padding: 0 18px 14px; font-size: var(--fs-small); text-align: start; max-width: none; margin: 0; color: var(--on-dark-2); }
.dl-note b { color: #fff; }
:root { --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border-radius: var(--r-md); background: var(--paper); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px var(--s3); list-style: none; cursor: pointer; font-weight: 700; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { color: var(--teal); }
.faq summary:hover { color: var(--teal-ink); }
.faq details p { max-width: 70ch; padding: 0 var(--s3) 22px; }
.faq details[open] p { animation: open .25s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s2); }
.c-card { display: grid; gap: 2px; padding: var(--s3); border-radius: var(--r-md); background: var(--white); transition: transform .15s var(--ease), background-color .2s; }
a.c-card:hover { transform: translateY(-2px); background: var(--teal-soft); }
a.c-card:active { transform: scale(.98); }
.c-card .ci { display: block; margin-bottom: 10px; color: var(--teal); }
.c-card .ci svg { width: 24px; height: 24px; }
.c-card b { font-size: var(--fs-lead); }
.c-card .v { font-size: var(--fs-body); color: var(--text-2); overflow-wrap: anywhere; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--s3); }
.socials:empty { display: none; }
.socials a { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 999px; background: var(--white); font-weight: 600; font-size: var(--fs-small); transition: color .2s, background-color .2s; }
.socials a:hover { color: var(--teal-ink); background: var(--teal-soft); }
.socials svg { width: 20px; height: 20px; }
.socials.sm { margin-top: 14px; gap: 8px; }
.socials.sm a { width: 40px; height: 40px; padding: 0; justify-content: center; background: var(--ink-2); color: var(--on-dark); }
.socials.sm a:hover { background: var(--teal); color: #fff; }
.socials.sm a span { display: none; }

/* ---------- Footer ---------- */
.site-footer { padding: var(--s5) 0 var(--s4); background: var(--ink); color: var(--on-dark-2); font-size: var(--fs-small); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s4); padding-bottom: var(--s4); }
.foot p { max-width: 40ch; }
.foot .fh, .foot h4 { margin-bottom: 14px; font-family: var(--font); font-size: var(--fs-body); color: #fff; }
.foot ul { display: grid; gap: 9px; }
.foot a { transition: color .15s; }
.foot a:hover { color: #fff; }
.foot .brand { margin-bottom: 14px; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: var(--s3); background: none; font-size: var(--fs-small); }

/* ---------- WhatsApp button and the dashboard's announcement bar ---------- */
.fab { position: fixed; z-index: 60; inset-inline-end: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding-block: 0; padding-inline: 6px 20px; border-radius: 999px; background: #0f7a40; color: #fff; font-weight: 700; box-shadow: 0 12px 28px -10px rgb(0 0 0 / .5); transition: transform .15s var(--ease), background-color .2s; }
.fab:hover { transform: translateY(-2px); background: #0c6a37; }
.fab:active { transform: scale(.96); }
/* bottom-left: the end of the line in Arabic, so it never covers where sentences start. On phones it waits until the visitor has scrolled past the hero */
.fab { transition: transform .15s var(--ease), background-color .2s, opacity .25s; }
.legal .by { color: #fff; font-weight: 600; }
.fab.wait { opacity: 0; transform: translateY(16px); pointer-events: none; }
.fab .fi { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #0f7a40; }
.fab svg { width: 26px; height: 26px; }
.ann { padding: 9px 16px; background: var(--accent); color: var(--on-accent); text-align: center; font-weight: 700; font-size: 15px; line-height: 1.5; }
.ann a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Reveal: content is visible without script; with it, each part rises in once ---------- */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Shared by the sub-pages ---------- */
.card { padding: 28px; border-radius: var(--r-lg); background: var(--white); }
.card h3 { font-size: var(--fs-h3); margin-bottom: 8px; }
.card p { color: var(--text-2); }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); }
.doc { max-width: 780px; padding: 64px 0 96px; }
.doc h1 { font-size: 40px; margin-bottom: 8px; }
.doc h2 { font-size: 24px; margin: 34px 0 10px; }
.doc p, .doc li { color: var(--text); }
.doc ul { list-style: disc; padding-inline-start: 22px; display: grid; gap: 6px; }
.doc .upd { color: var(--text-2); margin-bottom: 20px; }

/* /learn: catalogue carousel */
.learn-hero { padding: 72px 0 56px; }
.learn-hero h1 { font-size: clamp(30px, 4vw, 48px); max-width: 760px; }
.learn-hero .lead { margin-top: 16px; max-width: 680px; color: var(--text-2); font-size: var(--fs-lead); }
.learn-hero .hero-cta { margin-top: 28px; }
.learn-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.learn-top h2 { font-size: clamp(26px, 3vw, 34px); }
.learn-tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--teal-soft); }
.learn-tabs button { border: 0; background: transparent; padding: 8px 20px; border-radius: 999px; font-weight: 700; color: var(--text-2); transition: background-color .2s, color .2s; }
.learn-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); }
.lc { position: relative; }
.lc-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r-md); background: var(--ink); }
.lc-track::-webkit-scrollbar { display: none; }
.lc-slide { flex: 0 0 100%; scroll-snap-align: center; }
.lc-slide img { width: 100%; height: auto; aspect-ratio: 16 / 9; cursor: zoom-in; }
.lc-btn { position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .94); color: var(--ink); display: grid; place-items: center; box-shadow: 0 6px 18px rgb(6 45 51 / .35); transition: transform .15s var(--ease); }
.lc-btn:active { transform: scale(.94); }
.lc-btn svg { width: 22px; height: 22px; }
.lc-btn:disabled { opacity: .35; cursor: default; }
.lc-prev { left: 14px; } .lc-next { right: 14px; }
.lc-count { position: absolute; bottom: 12px; right: 14px; background: rgb(6 45 51 / .78); color: #fff; font-size: 14px; font-weight: 700; padding: 3px 12px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.lc-thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding: 4px; scrollbar-width: thin; }
.lc-thumbs button { flex: 0 0 120px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #fff; opacity: .65; transition: opacity .2s, border-color .2s; }
.lc-thumbs button.on { border-color: var(--accent); opacity: 1; }
.lc-thumbs img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.lc-note { margin-top: 12px; color: var(--text-2); }
.learn-steps .card { position: relative; }
.learn-n { width: 38px; height: 38px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; }
.learn-tip { margin-top: 28px; padding: 18px 22px; border-radius: var(--r-md); background: var(--teal-soft); color: var(--ink); }
.pv { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgb(3 25 29 / .94); padding: 56px 14px 64px; touch-action: pan-y; }
.pv img { max-width: min(1280px, 100%); max-height: 100%; width: auto; height: auto; border-radius: 12px; user-select: none; -webkit-user-drag: none; }
.pv button { position: absolute; border: 0; width: 46px; height: 46px; border-radius: 50%; background: rgb(255 255 255 / .94); color: var(--ink); display: grid; place-items: center; }
.pv button svg { width: 22px; height: 22px; }
.pv button:disabled { opacity: .3; }
.pv .pv-x { top: 12px; right: 12px; } .pv .pv-p { left: 12px; top: 50%; translate: 0 -50%; } .pv .pv-n { right: 12px; top: 50%; translate: 0 -50%; }
.pv .pv-c { position: absolute; bottom: 18px; left: 50%; translate: -50% 0; color: #fff; font-weight: 700; background: rgb(255 255 255 / .12); padding: 4px 16px; border-radius: 999px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  :root { --s6: 96px; }
  .hero-grid, .feature, .feature-main, .mobile-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .feature.flip .copy { order: 0; }
  .fm-shot { margin-top: 0; }
  .hero-phone { width: 150px; inset-inline-start: -8px; bottom: -32px; padding: 6px; border-radius: 28px; }
  .hero-phone img { border-radius: calc(28px - 6px); }
  .pains { grid-template-columns: 1fr; }
  .path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
  .phones { height: 500px; }
  .phones .phone { width: 190px; } .phones .p2 { width: 210px; }
}
@media (max-width: 620px) {
  :root { --s4: 32px; --s5: 44px; --s6: 72px; }
  body { font-size: 16.5px; }
  .wrap { width: calc(100% - 40px); }
  .hero { padding-top: 32px; }
  .link-login { display: none; }
  .bar-actions .btn { display: none; }
  .bar-actions .btn.keep { display: inline-flex; width: auto; }  /* sub-pages have no menu button: keep their one link */
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-cta { gap: var(--s1); }
  .link-more { margin-inline: auto; }
  .hero-phone { width: 100px; bottom: -24px; padding: 4px; border-radius: 20px; }
  .hero-phone img { border-radius: calc(20px - 4px); }
  .extras, .path, .plans, .grid4, .foot, .dl-cards { grid-template-columns: 1fr; }
  .phones { height: 420px; }
  .phones .phone { width: 150px; padding: 5px; border-radius: 26px; } .phones .phone img { border-radius: calc(26px - 5px); }
  .phones .p2 { width: 170px; }
  .fab { padding: 0; width: 56px; justify-content: center; inset-inline-end: 14px; bottom: 14px; }
  .fab > span:last-child { display: none; }
  .fab .fi { background: transparent; color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}

/* ================= Motion and interaction pass =================
   Motion here answers something the visitor did, or leads the eye to the next thing to read. Nothing loops by itself. */
:root { --spring: cubic-bezier(.34, 1.56, .64, 1); --t-fast: .14s; --t-med: .26s; }

/* buttons: lift on hover, squash when pressed, spring back on release (fast in, soft out) */
.btn { transition: background-color .2s, border-color .2s, color .2s, transform var(--t-med) var(--spring); }
.btn:hover { transform: translateY(-2px); }
.btn-primary:hover { transform: translateY(-3px) scale(1.03); }
.btn:active { transform: scale(1.04, .92); transition-duration: .07s; }
/* the download arrow pulls up before it drops */
.dl-btn svg { transition: transform var(--t-med) var(--spring); }
.dl-btn:hover svg { transform: translateY(-3px); }
.dl-btn:active svg { transform: translateY(4px); }
/* accordion arrows wind back on hover, then swing over when the answer opens */
.dl-note summary::after, .faq summary::after { transition: transform .4s var(--spring); }
.faq summary:hover::after, .dl-note summary:hover::after { transform: rotate(-18deg); }
.faq details[open] summary::after, .dl-note[open] summary::after { transform: rotate(180deg); }
/* the thing under the pointer answers with a small second move */
.c-card .ci, .extra .ic { transition: transform var(--t-med) var(--spring); }
a.c-card:hover .ci { transform: translateY(-3px) rotate(-8deg); }
.extra:hover .ic { transform: translateY(-2px) scale(1.15); }
.plan { transition: transform var(--t-med) var(--ease); }
.plan:hover { transform: translateY(-4px); }
.plan:hover .btn-line { border-color: var(--teal); color: var(--teal-ink); }

/* reveal: rises, passes its place a little and settles */
.rv { transform: translateY(22px) scale(.985); transition: opacity .45s var(--ease), transform .6s var(--spring); }
.rv.in { transform: none; }

/* hero, staged in reading order: headline, text, button, then the program tilts up flat and the phone swings in on an arc */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes tilt-in { 0% { opacity: 0; transform: rotateX(16deg) translateY(44px) scale(.95); } 55% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes arc-in { 0% { opacity: 0; transform: translate(70px, 46px) rotate(16deg); } 60% { opacity: 1; transform: translate(-6px, -8px) rotate(-3deg); } 100% { opacity: 1; transform: none; } }
.hero h1 { animation: rise .55s var(--ease) both; }
.hero-side > * { animation: rise .55s var(--ease) both; }
.hero-side > :nth-child(1) { animation-delay: .08s; } .hero-side > :nth-child(2) { animation-delay: .16s; } .hero-side > :nth-child(3) { animation-delay: .24s; }
.hero-media { perspective: 1400px; }
.hero-shot { transform-origin: 50% 100%; animation: tilt-in .8s var(--ease) .2s both; }
.hero-phone { animation: arc-in .75s var(--ease) .7s both; }

/* the three phones start behind the middle one and fan out */
.phones.rv { opacity: 1; transform: none; }
.phones .phone { transition: transform .8s var(--spring), opacity .35s; }
.phones.rv:not(.in) .phone { opacity: 0; }
.phones.rv:not(.in) .p2 { transform: translateX(-50%) translateY(34px) scale(.94); }
.phones.rv:not(.in) .p1 { transform: translate(120px, 30px) rotate(0deg); }
.phones.rv:not(.in) .p3 { transform: translate(-120px, 30px) rotate(0deg); }
.phones.in .p1 { transition-delay: .12s; } .phones.in .p3 { transition-delay: .2s; }

/* ---------- Reach and choice ---------- */
/* every link and button is at least 44px tall to the finger, whatever its text size */
.btn-sm, .menu-btn { min-height: 44px; }
.link-login { display: inline-flex; align-items: center; min-height: 44px; }
.link-login.d-only { display: none; }
.foot ul { gap: 0; }
.foot li a { display: inline-block; padding: 7px 0; }
.pay-link { margin-top: 4px; padding: 11px 0; }
.legal .by { display: inline-block; padding: 8px 0; }
@media (min-width: 1100px) { .menu a, .menu.open a { display: inline-flex; align-items: center; min-height: 44px; } .link-login.d-only { display: inline-flex; } .link-login.m-hide { display: none; } }
@media (max-width: 620px) { .link-login { display: none; } }

/* FAQ: five questions at a time; the rest sit behind one button */
.faq.cut details:nth-of-type(n+6) { display: none; }
.faq-more { justify-self: start; margin-top: 6px; }

/* phones: the main action stays under the thumb once the hero has scrolled away */
.m-cta { display: none; }
@media (max-width: 620px) {
  .m-cta { display: block; position: fixed; z-index: 55; inset-inline: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--ink); box-shadow: 0 -10px 24px -18px rgb(0 0 0 / .7); transform: translateY(110%); transition: transform .35s var(--ease); }
  .m-cta .btn { width: 100%; }
  .mcta-on .m-cta { transform: none; }
  .fab { transition: transform .15s var(--ease), background-color .2s, opacity .25s, bottom .35s var(--ease); }
  .mcta-on .fab { bottom: 86px; }
}

/* ---------- The sub-pages get the same entrance and feedback ---------- */
/* learn: the opening lines arrive in reading order; the rest rises in on scroll (reveal.js adds .rv) */
.learn-hero .wrap > * { animation: rise .55s var(--ease) both; }
.learn-hero .wrap > :nth-child(2) { animation-delay: .08s; } .learn-hero .wrap > :nth-child(3) { animation-delay: .16s; } .learn-hero .wrap > :nth-child(4) { animation-delay: .24s; }
.lc-btn { transition: transform .26s var(--spring), background-color .2s; }
.lc-btn:not(:disabled):hover { transform: scale(1.08); }
.lc-btn:not(:disabled):active { transform: scale(.9); transition-duration: .07s; }
.lc-thumbs button { transition: opacity .2s, border-color .2s, transform .26s var(--spring); }
.lc-thumbs button:hover { opacity: 1; transform: translateY(-2px); }
.learn-tabs button:active { transform: scale(.96); }
.learn-steps .card { transition: transform .26s var(--ease); }
.learn-steps .card:hover { transform: translateY(-4px); }
.learn-steps .card:hover .learn-n { transform: scale(1.12) rotate(-6deg); }
.learn-n { transition: transform .26s var(--spring); }
/* privacy and terms: the title, then the text */
.doc > h1, .doc > .upd { animation: rise .5s var(--ease) both; }
.doc > .upd { animation-delay: .06s; }
.doc > :not(h1):not(.upd) { animation: rise .5s var(--ease) .12s both; }

/* ================= Details pass =================
   Type: kerning is on and never lost to a font-feature override; Arabic joins its letters, so headings are never letter-spaced
   (tracking is only used on Latin figures, see .price b). */
body { font-kerning: normal; font-feature-settings: "kern", "liga", "calt"; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { letter-spacing: 0; }

/* Optical centring: glyphs sit differently from their boxes. The tick sits low, the WhatsApp bubble's tail pulls it down-left. */
.fab .fi svg { transform: translate(.5px, -.5px); }

/* Safe area: the floating button clears the phone's rounded corners and home bar. */
.fab { inset-inline-end: max(20px, env(safe-area-inset-right)); bottom: max(20px, calc(env(safe-area-inset-bottom) + 8px)); }
@media (max-width: 620px) {
  .fab { inset-inline-end: max(14px, env(safe-area-inset-right)); bottom: max(14px, calc(env(safe-area-inset-bottom) + 8px)); }
  .mcta-on .fab { bottom: calc(86px + env(safe-area-inset-bottom)); }
}

/* Origin-aware: a pop-up grows from the thing that opened it. */
.menu.open { transform-origin: top left; animation: drop-in .2s var(--ease); }
@keyframes drop-in { from { opacity: 0; transform: translateY(-6px) scale(.96); } }

/* The hero enters with transitions, so a click or a scroll mid-way can interrupt and reverse it; without script (no .js) it is simply there. */
.js .hero h1, .js .hero-side > *, .js .hero-shot, .js .hero-phone { animation: none; opacity: 0; transition: opacity .5s var(--ease), transform .75s var(--ease); transition-delay: var(--d, 0s); }
.js .hero h1 { transform: translateY(24px); }
.js .hero-side > * { transform: translateY(24px); }
.js .hero-side > :nth-child(1) { --d: .08s; } .js .hero-side > :nth-child(2) { --d: .16s; } .js .hero-side > :nth-child(3) { --d: .24s; }
.js .hero-shot { transform: rotateX(16deg) translateY(44px) scale(.95); --d: .2s; }
.js .hero-phone { transform: translate(70px, 46px) rotate(16deg); --d: .65s; transition-timing-function: var(--ease), var(--spring); }
.ready .hero h1, .ready .hero-side > *, .ready .hero-shot, .ready .hero-phone { opacity: 1; transform: none; }

/* ================= Offers (Black Friday) ================= */
/* A strip above the header: the offer slides past, the button stays put. Reduced motion shows one still line. */
.offer { display: flex; align-items: center; gap: 12px; background: var(--accent); color: var(--on-accent); font-size: var(--fs-small); font-weight: 700; }
.offer-view { flex: 1; min-width: 0; overflow: hidden; direction: ltr; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.offer-track { display: flex; width: max-content; direction: ltr; animation: offer-slide 40s linear infinite; }
.offer-item { display: flex; align-items: center; direction: rtl; white-space: nowrap; }
.offer-item span { padding: 10px 22px; }
.offer-item span + span::before { content: "•"; margin-inline-end: 22px; }
.offer:hover .offer-track, .offer:focus-within .offer-track { animation-play-state: paused; }
@keyframes offer-slide { to { transform: translateX(-50%); } }
.offer-btn { flex: none; display: inline-flex; align-items: center; min-height: 34px; margin-inline-end: 12px; padding: 0 16px; border-radius: 99px; background: var(--ink); color: var(--on-dark); font-weight: 700; }
.offer-btn:hover { background: #000; }
@media (prefers-reduced-motion: reduce) {
  .offer-track { animation: none; width: auto; }
  .offer-item:nth-child(n+2) { display: none; }
  .offer-item { white-space: normal; }
  .offer-view { -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 620px) { .offer { font-size: 13px; } .offer-btn { padding: 0 12px; } }
/* the plan that carries the offer */
.plan { position: relative; }
.plan .tag { position: absolute; top: -13px; inset-inline-start: var(--s3); padding: 4px 12px; border-radius: 99px; background: var(--accent); color: var(--on-accent); font-size: var(--fs-small); font-weight: 700; }

/* the country and currency switcher in the footer */
.cur-switch { position: relative; display: inline-block; margin-top: 16px; }
.cur-switch button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1px solid rgba(255,255,255,.28); background: transparent; color: inherit; font: inherit; cursor: pointer; }
.cur-switch button:hover { border-color: rgba(255,255,255,.6); }
.cur-switch img { border-radius: 3px; object-fit: cover; }
.pricing-wait .offer-item span + span, .pricing-wait #noteEg { visibility: hidden; }
.cur-switch ul[hidden] { display: none; }
.cur-switch ul { position: absolute; bottom: calc(100% + 8px); inset-inline-start: 0; z-index: 30; width: 260px; max-height: 320px; overflow: auto; margin: 0; padding: 6px; list-style: none; border-radius: 14px; background: var(--white); color: var(--text); box-shadow: 0 12px 40px rgba(0,0,0,.28); }
.cur-switch li { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 10px; cursor: pointer; }
.cur-switch li:hover, .cur-switch li:focus-visible { background: var(--teal-soft); outline: none; }
/* the small one under the pricing heading: a quiet line, the list opens downward */
.cur-switch.sm { display: inline-block; margin: 10px 0 0; }
.cur-switch.sm button { min-height: 34px; padding: 0 12px; gap: 8px; font-size: var(--fs-small); border-color: var(--line); color: var(--text-2); }
.cur-switch.sm button:hover { border-color: var(--text-2); }
.cur-switch.sm ul { bottom: auto; top: calc(100% + 6px); }
.cur-switch[hidden] { display: none; }
.plan .addon { margin: -6px 0 18px; font-size: 13px; line-height: 1.6; opacity: .7; }

/* touch targets: at least 44px tall on phones */
@media (max-width: 760px) {
  .cur-switch.sm button { min-height: 44px; }
  .offer-btn { position: relative; min-height: 28px; font-size: 12px; }
  .offer-btn::after { content: ""; position: absolute; inset: -8px -4px; }
  .foot li a { padding: 12px 0; }
  .note a, .dl-help a, .cta-band p a { display: inline-block; padding: 12px 6px; margin: -12px -6px; }
}

/* smooth open and close for the expandable boxes (browsers without ::details-content just open and close at once) */
.dl-note, .faq details { interpolate-size: allow-keywords; }
.dl-note::details-content, .faq details::details-content { block-size: 0; opacity: 0; overflow: clip; transition: block-size .35s var(--ease), opacity .3s var(--ease), content-visibility .35s allow-discrete; }
.dl-note[open]::details-content, .faq details[open]::details-content { block-size: auto; opacity: 1; }
.faq details[open] p { animation: none; }
@media (prefers-reduced-motion: reduce) { .dl-note::details-content, .faq details::details-content { transition: none; } }
