/* yshere.com – the public website, in the ys brand: deep navy, one orange accent, white space, real product screens.
   Logical properties throughout, so Arabic (rtl) and English (ltr) share one sheet. */
:root {
  --ink: #0d152c;
  --ink-2: #1a2442;
  --ink-3: #26314f;
  --text: #0d152c;
  --text-2: #4a5268;
  --text-3: #6f778c;
  --line: #e3e6ed;
  --line-2: #eef0f5;
  --bg: #ffffff;
  --bg-2: #f6f7fa;
  --bg-3: #eef1f6;
  --brand: #f8991c;
  --brand-hover: #ffa93d;
  --brand-ink: #b25f00;
  --brand-soft: #fff3e2;
  --ok: #0f7b55;
  --ok-soft: #e4f5ed;
  --info: #2f5bd3;
  --info-soft: #e9efff;
  --violet: #6a45c9;
  --violet-soft: #f0ebff;
  --warn-soft: #fff4dc;
  --warn: #8a5300;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --sh-sm: 0 1px 2px rgba(13, 21, 44, .06), 0 1px 1px rgba(13, 21, 44, .03);
  --sh: 0 12px 32px -14px rgba(13, 21, 44, .22), 0 2px 6px rgba(13, 21, 44, .05);
  --sh-lg: 0 50px 100px -40px rgba(13, 21, 44, .45), 0 18px 36px -18px rgba(13, 21, 44, .2);
  --nav-h: 68px;
  --wrap: 1200px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, .8, .3, 1);
}
[dir="rtl"] { --font: "IBM Plex Sans Arabic", "Inter", -apple-system, "Segoe UI", Tahoma, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; text-rendering: optimizeLegibility; }
[dir="rtl"] body { line-height: 1.8; }
img, svg { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; color: var(--text); }
p { margin: 0; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 48px); margin-inline: auto; padding-inline: 24px; }
.wrap--wide { max-width: calc(var(--wrap) + 48px); }
.wrap--narrow { max-width: 860px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr:focus { position: fixed; top: 8px; inset-inline-start: 8px; width: auto; height: auto; clip: auto; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; box-shadow: var(--sh); }
.muted { color: var(--text-3); }
.accent, .grad-text { color: var(--brand); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.p-icon { width: 20px; height: 20px; flex: none; }

/* Type */
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--brand-ink); letter-spacing: .02em; margin-bottom: 14px; }
[dir="ltr"] .eyebrow, [dir="ltr"] .kicker { text-transform: uppercase; font-size: 13px; letter-spacing: .08em; }
.eyebrow--brand { color: var(--brand-ink); }
.kicker .p-icon, .eyebrow .p-icon { width: 16px; height: 16px; }
.display { font-size: clamp(40px, 5.4vw, 70px); line-height: 1.06; letter-spacing: -.035em; font-weight: 700; }
.h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.08; letter-spacing: -.03em; }
.h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -.025em; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; letter-spacing: -.015em; }
.h4 { font-size: 20px; line-height: 1.35; }
[dir="rtl"] .display, [dir="rtl"] .h1, [dir="rtl"] .h2, [dir="rtl"] .h3 { letter-spacing: 0; line-height: 1.32; }
[dir="rtl"] .display { line-height: 1.25; }
.sub { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; color: var(--text-2); margin-top: 18px; font-weight: 400; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--text-2); margin-top: 16px; }
[dir="rtl"] .sub, [dir="rtl"] .lead { line-height: 1.85; }
.lead strong { color: var(--text); font-weight: 600; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 12px; font-size: 16px; font-weight: 600; line-height: 1.2; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary, .btn--dark { background: var(--ink); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 6px 16px -8px rgba(13, 21, 44, .6); }
.btn--primary:hover, .btn--dark:hover { background: var(--ink-2); }
.btn--brand { background: var(--brand); color: var(--ink); box-shadow: 0 8px 22px -10px rgba(248, 153, 28, .8); }
.btn--brand:hover { background: var(--brand-hover); }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: var(--sh-sm); }
.btn--ghost:hover { border-color: #c9cede; background: var(--bg-2); }
.btn--light { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #fff; }
.btn--light:hover { background: rgba(255, 255, 255, .16); }
.btn--sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn--lg { padding: 16px 28px; font-size: 17px; border-radius: 14px; }
.btn .arrow { width: 18px; height: 18px; }
[dir="rtl"] .btn .arrow, [dir="rtl"] .go .arrow { transform: scaleX(-1); }
.cta-row, .hero__cta { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 32px; align-items: center; justify-content: center; }
.cta-row--start, .hero__cta--start { justify-content: flex-start; }
.go { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 600; color: var(--ink); }
.go::after { content: "→"; transition: transform .25s var(--ease); }
[dir="rtl"] .go::after { content: "←"; }
.go:hover::after { transform: translateX(4px); }
[dir="rtl"] .go:hover::after { transform: translateX(-4px); }
.go:hover { color: var(--brand-ink); }
.hero__cta .go, .cta-row .go { padding: 13px 6px; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--ink); font-weight: 600; font-size: 16px; }
.more::after { content: "→"; }
[dir="rtl"] .more::after { content: "←"; }
.more .p-icon { display: none; }
.sec--dark .go, .dark .go, .sec--dark .more { color: #fff; }

/* Header */
.hd { position: sticky; top: 0; z-index: 60; height: var(--nav-h); background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.hd.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(13, 21, 44, .4); }
.hd__in { display: flex; align-items: center; height: var(--nav-h); gap: 12px; }
.hd__logo { display: flex; align-items: center; height: var(--nav-h); color: var(--ink); margin-inline-end: 18px; }
.hd__logo svg { height: 28px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding-inline: 12px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--text-2); background: none; border: 0; cursor: pointer; text-decoration: none; transition: color .2s, background .2s; }
.nav__link:hover, .nav__item.is-open > .nav__link { color: var(--ink); background: var(--bg-2); }
.nav__item[data-menu] > .nav__link::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); margin-inline-start: 4px; opacity: .6; }
.mega { position: absolute; top: calc(100% + 8px); inset-inline-start: -12px; min-width: 620px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 22px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; }
.mega::before { content: ""; position: absolute; inset-inline: 0; top: -20px; height: 20px; }
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 26px; }
.mega__col h5 { margin: 0 0 10px; font-size: 12px; font-weight: 600; color: var(--text-3); letter-spacing: .06em; text-transform: uppercase; }
[dir="rtl"] .mega__col h5 { letter-spacing: 0; font-size: 13px; }
.mega__col a { display: block; color: var(--text); padding: 6px 10px; margin-inline: -10px; border-radius: 8px; font-size: 15px; font-weight: 500; }
.mega__col--big a { font-weight: 600; }
.mega__col a:hover { background: var(--bg-2); color: var(--ink); }
.mega__col small { font-size: 11px; font-weight: 600; color: var(--brand-ink); background: var(--brand-soft); padding: 2px 7px; border-radius: 999px; margin-inline-start: 6px; }
.hd__end { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.lang { display: inline-flex; align-items: center; height: 40px; padding-inline: 12px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--text-2); }
.lang:hover { color: var(--ink); background: var(--bg-2); }
.lang .p-icon { width: 18px; height: 18px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; place-items: center; border-radius: 10px; }
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; transition: background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; inset-inline: 0; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile { display: none; }
.nav-dim { display: none; }

/* Local navigation (feature pages) */
.ln { position: sticky; top: var(--nav-h); z-index: 55; height: 54px; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--line); }
.ln__in { display: flex; align-items: center; height: 54px; gap: 22px; }
.ln__title { font-size: 17px; font-weight: 700; color: var(--text); margin-inline-end: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ln__links { display: flex; gap: 20px; font-size: 14px; font-weight: 500; }
.ln__links a { color: var(--text-2); }
.ln__links a:hover { color: var(--ink); }
.ln__links a.is-here { color: var(--ink); pointer-events: none; }

/* Sections */
.sec { padding-block: 112px; position: relative; }
.sec--tight { padding-block: 64px; }
.sec--soft { background: var(--bg-2); }
.sec--dark, .dark { background: var(--ink); color: #fff; }
.sec--dark h1, .sec--dark h2, .sec--dark h3, .sec--dark h4 { color: #fff; }
.sec--dark .lead, .sec--dark .sub, .sec--dark .muted, .dark .lead { color: #aeb5c8; }
.sec--dark .eyebrow, .sec--dark .kicker { color: var(--brand); }
.sec--line { border-top: 1px solid var(--line); }
.head { max-width: 760px; margin-bottom: 56px; }
.head--center { margin-inline: auto; text-align: center; }
.head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.head--split > div { max-width: 700px; }

/* Page hero */
.hero { position: relative; padding-block: 96px 72px; text-align: center; overflow: hidden; }
.hero--page { background: linear-gradient(180deg, #fff 0%, var(--bg-2) 100%); border-bottom: 1px solid var(--line-2); }
.hero--page::before, .hx::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); pointer-events: none; }
.hero--page::after, .hx::after { content: ""; position: absolute; width: 720px; height: 420px; top: -220px; inset-inline-start: 50%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(248, 153, 28, .22), transparent); pointer-events: none; }
[dir="rtl"] .hero--page::after { transform: translateX(50%); }
.hero > *, .hx > * { position: relative; z-index: 1; }
.hero .head { margin-bottom: 0; margin-inline: auto; }
.hero .h1 { max-width: 900px; margin-inline: auto; }
.hero .lead { max-width: 680px; margin-inline: auto; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--text-2); margin-bottom: 26px; padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: var(--sh-sm); transition: border-color .2s; }
[dir="rtl"] .hero__badge { padding: 6px 6px 6px 14px; }
.hero__badge:hover { border-color: #c9cede; }
.hero__badge b { background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.hero__badge .p-icon { display: none; }
.hero__visual { margin: 64px auto 0; max-width: 1040px; }
.hero__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 24px; color: var(--text-3); font-size: 14px; }
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust .p-icon { width: 17px; height: 17px; color: var(--ok); }
.crumbs { display: flex; justify-content: center; gap: 8px; font-size: 14px; color: var(--text-3); margin-bottom: 14px; }
.crumbs a { color: var(--text-2); }
.crumbs a:hover { color: var(--ink); }

/* Home hero */
.hx { position: relative; padding-block: 72px 112px; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #fff 55%, var(--bg-2) 100%); }
.hx::after { top: -160px; width: 900px; height: 560px; inset-inline-start: auto; inset-inline-end: -200px; transform: none; background: radial-gradient(closest-side, rgba(248, 153, 28, .2), transparent); }
.hx__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; text-align: center; }
.hx__text { max-width: 860px; margin-inline: auto; }
.hx .display { text-wrap: balance; }
.hx .display .accent { color: var(--brand); display: inline-block; }
.hx .sub { max-width: 640px; margin-inline: auto; }
.hx__stage { position: relative; max-width: 1120px; width: 100%; margin-inline: auto; padding-bottom: 0; }
.hx__stage .app { margin-inline-start: 0; }
.hx__phone { position: absolute; bottom: -56px; inset-inline-end: -48px; width: 196px; z-index: 3; }
.hx__note { position: absolute; z-index: 4; }
.hx__note--a { top: 96px; inset-inline-start: -44px; }
.hx__note--b { bottom: 96px; inset-inline-start: -56px; }

/* Logos / works-with strip */
.trust { padding-block: 44px; border-bottom: 1px solid var(--line-2); background: var(--bg-2); }
.trust__in { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 40px; }
.trust__label { width: 100%; text-align: center; font-size: 14px; color: var(--text-3); margin-bottom: 4px; }
.trust__item { font-size: 20px; font-weight: 700; color: #8a91a5; letter-spacing: -.01em; direction: ltr; display: inline-flex; align-items: center; gap: 8px; filter: grayscale(1); transition: color .2s; }
.trust__item:hover { color: var(--ink); }
.trust__item .p-icon { width: 22px; height: 22px; }
[dir="rtl"] .trust__item--ar { direction: rtl; font-size: 18px; }

/* Feature grid */
.fgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.fcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; color: var(--text); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.fgrid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.fgrid--5 .fcard { padding: 24px; }
a.fcard:hover { border-color: #cdd2df; box-shadow: var(--sh); transform: translateY(-3px); }
.fcard h3 { font-size: 19px; line-height: 1.35; margin: 20px 0 8px; }
.fcard p { color: var(--text-2); font-size: 15.5px; line-height: 1.65; }
[dir="rtl"] .fcard p { line-height: 1.85; }
.fcard .go { margin-top: auto; padding-top: 18px; font-size: 15px; }

/* Icons in rounded squares */
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); flex: none; }
.ico .p-icon { width: 22px; height: 22px; }
.ico--dark { background: var(--ink); color: #fff; }
.ico--ok { background: var(--ok-soft); color: var(--ok); }
.ico--blue { background: var(--info-soft); color: var(--info); }
.sec--dark .ico { background: rgba(248, 153, 28, .14); color: var(--brand); }

/* Feature rows: text beside a large product screen */
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.row + .row { margin-top: 128px; }
.row--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.row--flip .row__text { order: 2; }
.row__text .ticks { margin-top: 26px; }
.row__text .go { margin-top: 28px; }
.panel { position: relative; border-radius: var(--r-xl); background: var(--bg-2); border: 1px solid var(--line-2); padding: 48px; overflow: hidden; }
.panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 100% 0%, rgba(248, 153, 28, .14), transparent 70%); pointer-events: none; }
.panel--ink { background: var(--ink); border-color: var(--ink); }
.panel--ink::before { background: radial-gradient(60% 70% at 100% 0%, rgba(248, 153, 28, .28), transparent 70%); }
.panel > * { position: relative; }
.panel .win { max-width: 560px; margin-inline: auto; }
.panel--bleed { padding-bottom: 0; }
.panel--bleed .win { border-end-start-radius: 0; border-end-end-radius: 0; }

/* Ticks */
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; color: var(--text); }
.ticks .p-icon { width: 20px; height: 20px; color: var(--ok); margin-top: 3px; }
[dir="rtl"] .ticks .p-icon { margin-top: 6px; }
.sec--dark .ticks li { color: #e3e7f1; }
.sec--dark .ticks .p-icon { color: var(--brand); }

/* Cards (used on many pages) */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.card { position: relative; display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; color: var(--text); overflow: hidden; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
a.card:hover { border-color: #cdd2df; box-shadow: var(--sh); transform: translateY(-3px); }
.sec--soft .card { background: #fff; }
.sec--dark .card { background: var(--ink-2); border-color: rgba(255, 255, 255, .08); color: #fff; }
.card h3 { font-size: 20px; line-height: 1.35; margin: 18px 0 8px; }
.card p { color: var(--text-2); font-size: 16px; }
.sec--dark .card p { color: #aeb5c8; }
.card__list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.card__list li { font-size: 13px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 11px; color: var(--text-2); }
.bento > :nth-child(1), .bento > :nth-child(2) { grid-column: span 3; }
.bento > :nth-child(n+3) { grid-column: span 2; }
.bento > :nth-child(9), .bento > :nth-child(10) { grid-column: span 3; }
.card--glow { background: linear-gradient(160deg, #fff 0%, var(--brand-soft) 140%); }
.glow { position: relative; }

/* Feature pages: sections of tiles */
.look { padding-block: 72px; border-top: 1px solid var(--line); }
.look:first-of-type { border-top: 0; padding-top: 0; }
.look__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 32px; }
.look__head h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.15; letter-spacing: -.02em; }
[dir="rtl"] .look__head h2 { line-height: 1.4; letter-spacing: 0; }
.look__head p { font-size: 18px; color: var(--text-2); line-height: 1.6; }
[dir="rtl"] .look__head p { line-height: 1.85; }
.look__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.look__tile { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; min-height: 140px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.look__tile .p-icon { width: 24px; height: 24px; color: var(--brand-ink); }
.look__tile b { font-size: 17px; font-weight: 600; line-height: 1.45; }

/* Highlights carousel (feature pages) */
.hl { position: relative; }
.hl__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-inline: max(24px, calc((100vw - var(--wrap)) / 2)); padding-block: 4px 24px; scrollbar-width: none; }
.hl__track::-webkit-scrollbar { display: none; }
.hl__card { flex: 0 0 min(84vw, 760px); min-height: 520px; scroll-snap-align: center; border-radius: var(--r-xl); background: var(--ink); color: #fff; position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 44px; text-decoration: none; }
.hl__card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 100% 0%, rgba(248, 153, 28, .25), transparent 70%); }
.hl__card > * { position: relative; }
.hl__card--light { background: var(--bg-2); color: var(--text); border: 1px solid var(--line-2); }
.hl__card--light::before { background: radial-gradient(60% 60% at 100% 0%, rgba(248, 153, 28, .14), transparent 70%); }
.hl__card h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; max-width: 560px; font-weight: 700; color: inherit; }
.hl__card h3 span { color: #aeb5c8; font-weight: 500; }
.hl__card--light h3 span { color: var(--text-2); }
[dir="rtl"] .hl__card h3 { line-height: 1.55; }
.hl__card .hl__art { margin-top: auto; align-self: center; width: 100%; max-width: 560px; transform: translateY(44px); padding-top: 32px; }
.hl__card .win { border-end-start-radius: 0; border-end-end-radius: 0; }
.hl__nav { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 18px; }
.hl__dots { display: flex; gap: 8px; padding: 10px 14px; border-radius: 999px; background: var(--bg-3); }
.hl__dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: #b9bfcf; cursor: pointer; transition: width .35s var(--ease), background .3s; }
.hl__dots button.is-active { width: 28px; background: var(--ink); }
.hl__btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; font-size: 20px; color: var(--ink); box-shadow: var(--sh-sm); }
.hl__btn:hover { border-color: #c9cede; }
.hl__btn[disabled] { opacity: .35; cursor: default; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 24px; inset-inline: 12.5%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.step { position: relative; text-align: center; padding-inline: 8px; }
.step__n { width: 48px; height: 48px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 18px; font-weight: 700; box-shadow: 0 0 0 8px var(--bg), 0 10px 20px -8px rgba(13, 21, 44, .5); }
.sec--soft .step__n { box-shadow: 0 0 0 8px var(--bg-2), 0 10px 20px -8px rgba(13, 21, 44, .5); }
.step:first-child .step__n { background: var(--brand); color: var(--ink); }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 15.5px; max-width: 260px; margin-inline: auto; }

/* Themes */
.rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.theme { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--text); transition: transform .3s var(--ease), box-shadow .3s; }
.theme:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.theme__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); }
.theme__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.theme:hover .theme__img img { transform: scale(1.04); }
.theme__body { padding: 20px 22px 24px; }
.theme__body h3 { font-size: 18px; direction: ltr; text-align: start; }
.theme__body p { color: var(--text-2); font-size: 14.5px; margin-top: 6px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
[dir="rtl"] .theme__body p { line-height: 1.8; }
.theme__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.theme__tags span { font-size: 12px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 2px 10px; color: var(--text-2); }
.themes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.filter { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--text-2); }
.filter:hover { color: var(--ink); border-color: #c9cede; }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.theme.is-hidden { display: none; }

/* Markets */
.markets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.markets--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.markets--5 > :nth-child(-n+2) { grid-column: span 3; }
.markets--5 > :nth-child(n+3) { grid-column: span 2; }
.market { position: relative; border-radius: var(--r-lg); padding: 30px; overflow: hidden; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); color: var(--text); min-height: 280px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.market:hover { transform: translateY(-3px); box-shadow: var(--sh); border-color: #cdd2df; }
.sec--dark .market { background: var(--ink-2); border-color: rgba(255, 255, 255, .08); color: #fff; }
.sec--dark .market:hover { border-color: rgba(248, 153, 28, .5); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .7); }
.market h3 { font-size: 24px; margin-top: 14px; color: inherit; }
.market p { color: var(--text-2); margin-top: 8px; max-width: 460px; font-size: 15.5px; }
.sec--dark .market p { color: #aeb5c8; }
.market__flag { align-self: flex-start; display: inline-flex; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--brand-ink); background: var(--brand-soft); padding: 4px 10px; border-radius: 999px; direction: ltr; }
.sec--dark .market__flag { color: var(--brand); background: rgba(248, 153, 28, .12); }
.market__cities { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 22px; }
.market__cities span { font-size: 12.5px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 11px; color: var(--text-2); }
.sec--dark .market__cities span { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .08); color: #cfd4e2; }
.market .more { color: inherit; }
.market__dots { display: none; }
.countries { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.country { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.country b { display: block; font-size: 17px; }
.country span { display: block; color: var(--text-2); font-size: 14px; margin-top: 4px; }
.country i { font-style: normal; display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 600; color: var(--ok); }

/* Facts, split rows */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.fact { padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.fact h3 { font-size: 19px; margin: 18px 0 6px; line-height: 1.35; }
.fact p { color: var(--text-2); font-size: 15.5px; }
.sec--dark .fact { background: var(--ink-2); border-color: rgba(255, 255, 255, .08); }
.sec--dark .fact p { color: #aeb5c8; }
.big-num { font-size: clamp(72px, 10vw, 140px); font-weight: 700; line-height: 1; color: var(--brand); letter-spacing: -.04em; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.stage { position: relative; }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

/* Pricing */
.toggles { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 48px; }
.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--bg-3); border: 1px solid var(--line-2); }
.seg button { padding: 8px 18px; border: 0; border-radius: 9px; background: none; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--text-2); }
.seg button.is-active { background: #fff; color: var(--ink); box-shadow: var(--sh-sm); font-weight: 600; }
.seg em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--ok); margin-inline-start: 6px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; text-align: start; padding: 32px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.plan--featured { border: 2px solid var(--ink); box-shadow: var(--sh); padding: 31px 27px; }
.plan__ribbon { position: absolute; top: -13px; inset-inline-start: 24px; font-size: 12px; font-weight: 700; color: var(--ink); background: var(--brand); padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 22px; }
.plan__desc { color: var(--text-2); font-size: 15px; margin-top: 6px; min-height: 48px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-top: 22px; }
.plan__price b { font-size: 40px; font-weight: 700; letter-spacing: -.02em; direction: ltr; }
.plan__per { color: var(--text-3); font-size: 15px; }
.plan__note { color: var(--text-3); font-size: 13px; margin-top: 4px; min-height: 20px; }
.plan .btn { margin-top: 22px; width: 100%; }
.plan ul { list-style: none; padding: 22px 0 0; margin: 24px 0 0; display: grid; gap: 12px; font-size: 15px; border-top: 1px solid var(--line-2); }
.plan li { display: flex; align-items: flex-start; gap: 10px; color: var(--text); }
.plan li .p-icon { width: 19px; height: 19px; color: var(--ok); margin-top: 3px; }
[dir="rtl"] .plan li .p-icon { margin-top: 5px; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
.compare th, .compare td { padding: 15px 16px; border-bottom: 1px solid var(--line-2); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: start; color: var(--text-2); }
.compare thead th { position: sticky; top: var(--nav-h); background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px); font-size: 17px; z-index: 1; color: var(--text); border-bottom: 1px solid var(--line); }
.compare .grp td { font-weight: 700; font-size: 17px; color: var(--text); padding-top: 36px; background: transparent; border-bottom-color: var(--line); }
.compare .p-icon { width: 20px; height: 20px; margin-inline: auto; }
.compare .yes { color: var(--ok); } .compare .no { color: #c4c9d6; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.table-wrap .compare tr:last-child td { border-bottom: 0; }
.table-wrap .compare thead th { position: static; }

/* Questions and answers */
.faq { max-width: 860px; margin-inline: auto; }
.faq-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.faq-split .faq { max-width: none; margin: 0; }
.faq__group { margin-top: 44px; }
.faq__group h3 { font-size: 22px; margin-bottom: 6px; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.faq__group .qa:first-of-type { border-top: 0; }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 600; font-size: 17.5px; color: var(--text); }
.qa summary:hover { color: var(--brand-ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { width: 28px; height: 28px; flex: none; position: relative; border-radius: 50%; background: var(--bg-2); }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 1.8px; border-radius: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.qa p { color: var(--text-2); padding-bottom: 24px; max-width: 760px; font-size: 16.5px; }

/* Closing call to action */
.cta { position: relative; overflow: hidden; text-align: center; padding: 88px 32px; background: var(--ink); color: #fff; border-radius: var(--r-xl); }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 50% 0%, rgba(248, 153, 28, .32), transparent 70%), linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: auto, 48px 48px, 48px 48px; pointer-events: none; }
.cta > * { position: relative; }
.cta .h2 { max-width: 760px; margin-inline: auto; color: #fff; }
.cta .lead { max-width: 620px; margin-inline: auto; color: #c3c9d8; }
.cta .btn--primary { background: var(--brand); color: var(--ink); box-shadow: 0 10px 26px -10px rgba(248, 153, 28, .8); }
.cta .btn--primary:hover { background: var(--brand-hover); }
.cta .go { color: #fff; }
.cta .go:hover { color: var(--brand); }

/* Long text */
.prose { max-width: 740px; margin-inline: auto; }
.prose h2 { font-size: 26px; margin: 48px 0 12px; letter-spacing: -.015em; }
[dir="rtl"] .prose h2 { letter-spacing: 0; }
.prose p, .prose li { color: var(--text-2); margin-top: 12px; font-size: 17px; }
.prose a { color: var(--brand-ink); font-weight: 600; }
.note { padding: 18px 22px; border-radius: var(--r); background: var(--brand-soft); border: 1px solid #fbe1bd; color: var(--text); font-size: 15px; }

/* Coming soon (Help Center, Developer Center) */
.soon { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.badge-soon { display: inline-block; font-size: 12px; font-weight: 700; color: var(--brand-ink); background: var(--brand-soft); padding: 3px 10px; border-radius: 999px; vertical-align: middle; }
.code { direction: ltr; text-align: left; background: var(--ink); color: #e3e7f1; border-radius: var(--r-lg); padding: 28px; font: 14px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-x: auto; margin: 0; box-shadow: var(--sh-lg); }
.code .k { color: var(--brand); } .code .s { color: #5fd3a0; } .code .c { color: #7c859c; }

/* Product screens drawn in HTML */
.win { position: relative; background: #fff; border-radius: 16px; box-shadow: var(--sh-lg), 0 0 0 1px rgba(13, 21, 44, .07); overflow: hidden; text-align: start; color: var(--text); letter-spacing: 0; line-height: 1.5; }
.win__bar { display: flex; align-items: center; gap: 6px; height: 36px; padding-inline: 14px; background: #f7f8fb; border-bottom: 1px solid var(--line-2); }
.win__bar i { width: 10px; height: 10px; border-radius: 50%; background: #dde1ea; }
.win__url { margin-inline: auto; width: 50%; max-width: 300px; height: 22px; border-radius: 6px; background: #fff; border: 1px solid var(--line-2); font-size: 11.5px; color: var(--text-3); display: flex; align-items: center; justify-content: center; gap: 5px; direction: ltr; }
.win__url .p-icon { width: 11px; height: 11px; color: var(--ok); }
.win__body { padding: 20px; font-size: 14px; }
.mk-store__hero { border-radius: 12px; height: 180px; background: #2b2724; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 18px; color: #fff; }
.mk-store__hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mk-store__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent 60%); }
.mk-store__hero div { position: relative; z-index: 1; }
.mk-store__hero b { display: block; font-size: 20px; }
.mk-store__hero span { display: inline-block; margin-top: 8px; background: #fff; color: var(--text); font-size: 11.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.mk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.mk-prod { border-radius: 10px; overflow: hidden; }
.mk-prod img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--bg-2); }
.mk-prod p { font-size: 12.5px; padding: 8px 2px 0; font-weight: 600; }
.mk-prod small { display: block; font-size: 12px; padding: 0 2px; color: var(--text-2); }
.mk-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: 13.5px; }
.mk-row:last-child { border-bottom: 0; }
.mk-row b { font-weight: 600; }
.mk-pill { margin-inline-start: auto; font-size: 11.5px; font-weight: 600; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.pill-new { background: var(--info-soft); color: var(--info); } .pill-prep { background: var(--warn-soft); color: var(--warn); } .pill-ship { background: var(--violet-soft); color: var(--violet); } .pill-done { background: var(--ok-soft); color: var(--ok); }
.mk-thumb { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; flex: none; }
.mk-title { font-weight: 700; font-size: 15px; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
.mk-title .p-icon { width: 14px; height: 14px; }
.mk-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.mk-stat { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; }
.mk-stat small { display: block; font-size: 11.5px; color: var(--text-3); }
.mk-stat b { font-size: 18px; }
.mk-stat em { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--ok); margin-inline-start: 6px; }
.mk-chart { width: 100%; height: 130px; }
.mk-chart path.line { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 700; stroke-dashoffset: 700; transition: stroke-dashoffset 2s var(--ease); }
.is-in .mk-chart path.line, .mk-chart.is-in path.line { stroke-dashoffset: 0; }
.mk-chart path.area { fill: url(#g2); opacity: 0; transition: opacity 1.2s .6s; }
.is-in .mk-chart path.area, .mk-chart.is-in path.area { opacity: 1; }
.mk-opt { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 13.5px; margin-bottom: 8px; }
.mk-opt.is-on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.mk-opt i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #c4c9d6; flex: none; }
.mk-opt.is-on i { border: 5px solid var(--ink); }
.mk-opt span { margin-inline-start: auto; color: var(--text-3); font-size: 12px; }
.mk-btn { height: 44px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 6px; }
.mk-btn .p-icon { width: 16px; height: 16px; }
.mk-search { display: flex; align-items: center; gap: 8px; height: 44px; border-radius: 12px; border: 1.5px solid var(--ink); box-shadow: 0 0 0 4px rgba(13, 21, 44, .08); padding-inline: 14px; font-size: 15px; direction: ltr; }
.mk-search .p-icon { width: 16px; height: 16px; color: var(--text-3); }
.mk-search .caret { width: 2px; height: 18px; background: var(--brand); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mk-dom { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.mk-dom b { direction: ltr; font-weight: 600; }
.mk-dom .ico { width: 28px; height: 28px; border-radius: 50%; }
.mk-dom .ico .p-icon { width: 14px; height: 14px; }
.mk-dom .buy { margin-inline-start: auto; background: var(--ink); color: #fff; border-radius: 8px; padding: 5px 14px; font-size: 12px; font-weight: 600; }
.mk-dom .taken { margin-inline-start: auto; color: var(--text-3); font-size: 12px; }
.mk-code { border: 1.5px dashed #c4c9d6; background: var(--bg-2); border-radius: 14px; padding: 18px; text-align: center; }
.mk-code b { font-size: 26px; letter-spacing: .12em; direction: ltr; display: block; margin: 6px 0; color: var(--ink); }
.mk-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; padding: 5px 11px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line-2); margin: 3px; }
.mk-bubble { max-width: 84%; padding: 11px 15px; border-radius: 16px; font-size: 13.5px; margin-bottom: 10px; line-height: 1.6; }
.mk-bubble--me { background: var(--bg-2); border: 1px solid var(--line-2); }
.mk-bubble--them { background: var(--ink); color: #fff; margin-inline-start: auto; }
.mk-zone { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: 13.5px; }
.mk-zone b { font-weight: 600; }
.mk-zone span { color: var(--text-3); }
.win .ico { width: 30px; height: 30px; border-radius: 9px; }
.win .ico .p-icon { width: 16px; height: 16px; }

/* The dashboard (hero): sidebar, top bar, numbers, chart, orders */
.app { position: relative; display: grid; grid-template-columns: 210px minmax(0, 1fr); grid-template-rows: 52px auto; background: #fff; border-radius: 18px; box-shadow: var(--sh-lg), 0 0 0 1px rgba(13, 21, 44, .08); overflow: hidden; text-align: start; font-size: 13px; line-height: 1.5; letter-spacing: 0; color: var(--text); }
.app__top { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; padding-inline: 18px; background: var(--ink); color: #fff; }
.app__top svg.ys-logo { height: 20px; width: auto; color: #fff; }
.app__search { flex: 1; max-width: 360px; margin-inline: auto; height: 32px; border-radius: 9px; background: rgba(255, 255, 255, .1); display: flex; align-items: center; gap: 8px; padding-inline: 12px; color: #aeb5c8; font-size: 12.5px; }
.app__search .p-icon { width: 15px; height: 15px; }
.app__me { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #dfe3ee; }
.app__me i { width: 28px; height: 28px; border-radius: 8px; background: var(--brand); color: var(--ink); font-style: normal; font-weight: 700; display: grid; place-items: center; font-size: 12px; }
.app__side { background: #f7f8fb; border-inline-end: 1px solid var(--line-2); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.app__side span { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--text-2); font-weight: 500; }
.app__side span .p-icon { width: 17px; height: 17px; }
.app__side span.is-on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: var(--sh-sm); }
.app__side span em { margin-inline-start: auto; font-style: normal; font-size: 11px; font-weight: 700; background: var(--brand); color: var(--ink); border-radius: 999px; padding: 0 7px; line-height: 18px; }
.app__side hr { border: 0; border-top: 1px solid var(--line-2); margin: 10px 4px; }
.app__main { padding: 22px 24px 26px; background: #fbfbfd; min-width: 0; }
.app__hello { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.app__hello b { font-size: 18px; }
.app__hello small { display: block; color: var(--text-3); font-size: 12.5px; }
.app__chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 6px 10px; font-size: 12px; color: var(--text-2); }
.app__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.app__cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; }
.app__card { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; box-shadow: var(--sh-sm); }
.app__card h6 { margin: 0 0 8px; font-size: 13px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.app__card h6 span { font-weight: 500; color: var(--text-3); font-size: 12px; }
.app .mk-stat { box-shadow: var(--sh-sm); }
.app .mk-row { padding: 8px 0; font-size: 12.5px; }
.app .mk-chart { height: 150px; }

/* A phone showing the store */
.phone { position: relative; width: 100%; aspect-ratio: 9 / 19; border-radius: 40px; background: #0b0f1d; padding: 10px; box-shadow: var(--sh-lg), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.phone__screen { position: relative; height: 100%; border-radius: 31px; overflow: hidden; background: #fff; font-size: 11.5px; line-height: 1.45; color: var(--text); text-align: start; }
.phone__screen::before { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 76px; height: 22px; border-radius: 999px; background: #0b0f1d; z-index: 3; }
.phone__head { display: flex; align-items: center; justify-content: space-between; padding: 40px 14px 10px; font-weight: 700; font-size: 13px; }
.phone__head i { width: 18px; height: 2px; background: var(--text); border-radius: 2px; box-shadow: 0 5px 0 var(--text), 0 -5px 0 var(--text); }
.phone__hero { position: relative; margin: 0 10px; height: 150px; border-radius: 14px; overflow: hidden; color: #fff; display: flex; align-items: flex-end; padding: 12px; }
.phone__hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent 65%); }
.phone__hero b { position: relative; z-index: 1; font-size: 15px; }
.phone__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; }
.phone__grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--bg-2); }
.phone__grid p { font-weight: 600; margin-top: 5px; font-size: 11px; }
.phone__grid small { color: var(--text-3); font-size: 10.5px; }
.phone__buy { position: absolute; bottom: 14px; inset-inline: 14px; height: 38px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; font-size: 12px; display: flex; align-items: center; justify-content: center; }

/* Small floating notices around a screen */
.float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; padding: 11px 15px; box-shadow: var(--sh); font-size: 13px; white-space: nowrap; animation: bob 7s ease-in-out infinite; text-align: start; color: var(--text); letter-spacing: 0; line-height: 1.4; }
.float b { display: block; font-size: 13px; }
.float small { color: var(--text-3); font-size: 12px; }
.float .ico { width: 36px; height: 36px; border-radius: 10px; }
.float--a { top: 16%; inset-inline-end: -36px; }
.float--b { bottom: 22%; inset-inline-start: -44px; animation-delay: -2.5s; }
.float--c { bottom: 6%; inset-inline-end: 10%; animation-delay: -5s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Chips */
.marquee { overflow: hidden; padding-block: 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; }
[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14.5px; font-weight: 500; white-space: nowrap; color: var(--text); }
.chip .p-icon { width: 17px; height: 17px; color: var(--brand-ink); }

/* Footer */
.ft { background: var(--ink); color: #aeb5c8; padding-block: 72px 32px; font-size: 14.5px; line-height: 1.6; }
.ft__top { display: grid; grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); gap: 32px; padding-bottom: 48px; }
.ft__brand svg { height: 30px; width: auto; color: #fff; margin-bottom: 18px; }
.ft__brand p { max-width: 280px; color: #aeb5c8; }
.ft__brand .btn { margin-top: 22px; }
.ft h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.ft ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ft a { color: #aeb5c8; transition: color .2s; }
.ft a:hover { color: #fff; }
.ft .btn--brand, .ft .btn--brand:hover { color: var(--ink); }
.ft__note { padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: #8790a6; }
.ft__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: #8790a6; }
.ft__bottom a { color: #aeb5c8; }
.ft__bottom span + span a + a { margin-inline-start: 0; }
.soon-tag { font-size: 11px; font-weight: 700; color: var(--brand); margin-inline-start: 6px; }

/* Motion: rise in when scrolled to */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
[data-reveal="zoom"] { transform: translateY(24px) scale(.97); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }
[data-grow] { transform: perspective(1800px) rotateX(calc((1 - var(--grow, 1)) * 60deg)) scale(var(--grow, 1)); transform-origin: 50% 100%; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  [data-grow] { transform: none; }
  .mk-chart path.line { stroke-dashoffset: 0; }
}

/* Pages with text beside a picture (Developer Center), numbered rows (How it works) */
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; text-align: start; }
.hero__in .hero__cta { justify-content: flex-start; }
.hero__in .lead { margin-inline: 0; }
.fsec { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; padding-block: 44px; border-top: 1px solid var(--line); text-align: start; }
.fsec:first-child { border-top: 0; }
.fsec h2 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; letter-spacing: -.02em; }
[dir="rtl"] .fsec h2 { line-height: 1.45; letter-spacing: 0; }
.fsec p { color: var(--text-2); margin-top: 10px; font-size: 18px; }
.fsec .step__n { margin: 0; }

/* All features page */
.fdetail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fdetail__card { display: flex; flex-direction: column; padding: 36px; }
.fdetail__top { display: flex; align-items: center; gap: 14px; }
.fdetail__lead { color: var(--text-2); margin-top: 16px; font-size: 16.5px; }
.fdetail__card .ticks { margin-bottom: 24px; }
.fdetail__card .go { margin-top: auto; }
.look__tile .ico { width: 34px; height: 34px; border-radius: 10px; }
.look__tile .ico .p-icon { width: 18px; height: 18px; color: inherit; }
@media (max-width: 720px) { .fdetail { grid-template-columns: 1fr; } .fdetail__card { padding: 26px; } }

/* Offer pages */
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps--3::before { inset-inline: 16.6%; }
.plan__was { color: var(--text-3); font-size: 16px; margin-inline-start: 4px; }
.ft--slim { padding-top: 8px; }
.ft--slim .ft__note { border-top: 0; }

/* Tablet */
@media (max-width: 1100px) {
  .nav__link { padding-inline: 9px; font-size: 14.5px; }
  .hd__logo { margin-inline-end: 6px; }
  .fgrid, .fgrid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .markets--5 > * { grid-column: span 3 !important; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .steps::before { display: none; }
  .look__head { grid-template-columns: 1fr; gap: 12px; }
  .row, .row--flip { grid-template-columns: 1fr; gap: 44px; }
  .row--flip .row__text { order: 0; }
  .row + .row { margin-top: 96px; }
  .faq-split { grid-template-columns: 1fr; gap: 24px; }
  .ft__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ft__brand { grid-column: 1 / -1; }
  .hx__note--a { inset-inline-start: 0; } .hx__note--b { inset-inline-start: 0; }
  .hx__phone { inset-inline-end: 0; width: 170px; }
  .float--a { inset-inline-end: 0; } .float--b { inset-inline-start: 0; }
}
@media (max-width: 960px) {
  .nav, .hd__end .hide-md { display: none; }
  .burger { display: grid; }
  .mobile { position: fixed; inset: var(--nav-h) 0 0; z-index: 59; background: #fff; overflow-y: auto; padding: 18px 24px 48px; display: block; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, visibility .25s, transform .25s var(--ease); }
  .menu-open .mobile { opacity: 1; visibility: visible; transform: none; }
  .menu-open { overflow: hidden; }
  .mobile h4 { font-size: 13px; color: var(--text-3); margin: 26px 0 6px; font-weight: 600; }
  .mobile > a:not(.btn) { display: block; padding: 12px 0; font-weight: 600; font-size: 20px; color: var(--text); border-bottom: 1px solid var(--line-2); }
  .mobile .small { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .mobile .small a { display: block; padding: 8px 0; font-size: 15.5px; color: var(--text-2); }
  .mobile .btn { display: flex; width: 100%; margin-top: 12px; }
  .mobile .btn:first-of-type { margin-top: 28px; }
  .app { grid-template-columns: 0 minmax(0, 1fr); }
  .app__side { display: none; }
}
/* Phone */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  .ln__links { display: none; }
  .ln__title { font-size: 16px; }
  .sec { padding-block: 72px; }
  .hero { padding-block: 64px 48px; }
  .hx { padding-top: 48px; }
  .hx__stage .app { display: none; }
  .hx__phone { position: relative; inset: auto; width: 240px; margin: 0 auto; }
  .hx { padding-bottom: 72px; }
  .hx__note { display: none; }
  .hero__badge { font-size: 13px; }
  .bento > *, .markets--5 > * { grid-column: span 6 !important; }
  .markets, .related, .soon, .split, .rail { grid-template-columns: 1fr; }
  .fgrid, .fgrid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .fgrid--5 .fcard, .fcard { padding: 18px; }
  .fcard h3 { font-size: 16px; margin-top: 14px; }
  .fcard p { font-size: 14px; }
  .steps, .steps--3 { grid-template-columns: 1fr; row-gap: 36px; }
  .split { gap: 40px; }
  .facts { grid-template-columns: 1fr; }
  .panel { padding: 24px; border-radius: var(--r-lg); }
  .panel--bleed { padding-bottom: 0; }
  .market { padding: 24px; min-height: 0; }
  .hl__card { padding: 26px; min-height: 480px; }
  .cta { padding: 56px 22px; border-radius: var(--r-lg); }
  .ft { padding-top: 56px; }
  .ft__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .float { display: none; }
  .head { margin-bottom: 36px; }
  .hd__end .btn { display: none; }
  .hd__end .btn.hd__offer { display: inline-flex; }
  .trust__in { gap: 10px 26px; }
  .trust__item { font-size: 17px; }
  .win__body { padding: 16px; }
  .hero__in { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero__in .hero__cta { justify-content: center; }
  .fsec { grid-template-columns: 1fr; gap: 10px; }
  .plan__desc { min-height: 0; }
}

.hero--page + .sec, .hero--page + .ln + .sec { padding-top: 72px; }

/* ---- /status: is everything working? Components with 90-day bars, incidents with their timelines. ---- */
.st-hero--ok { background: linear-gradient(180deg, #fff 0%, var(--ok-soft) 100%); }
.st-hero--minor { background: linear-gradient(180deg, #fff 0%, var(--warn-soft) 100%); }
.st-hero--major { background: linear-gradient(180deg, #fff 0%, #fde8e6 100%); }
.st-hero--maintenance { background: linear-gradient(180deg, #fff 0%, var(--info-soft) 100%); }
.st-hero::after { display: none; }
.st-headline { display: inline-flex; align-items: center; gap: 16px; }
.st-headline .st-dot { width: 18px; height: 18px; }
.st-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--text-3); flex: none; }
.st-dot--ok { background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
.st-dot--minor { background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.st-dot--major { background: #d13b2d; box-shadow: 0 0 0 4px #fde8e6; }
.st-dot--maintenance { background: var(--info); box-shadow: 0 0 0 4px var(--info-soft); }
.st-wrap { max-width: 920px; }
.st-h2 { font-size: 15px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--text-3); margin: 40px 0 14px; }
.st-h2:first-child { margin-top: 0; }
.st-h2--history { margin-top: 56px; }
.st-stack { display: grid; gap: 14px; }
.st-group { margin-top: 8px; }
.st-list { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.st-row { padding: 22px 26px; border-bottom: 1px solid var(--line-2); }
.st-row:last-child { border-bottom: 0; }
.st-row__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.st-row__name h3 { font-size: 17px; font-weight: 600; }
.st-row__name p { font-size: 14px; color: var(--text-3); margin-top: 2px; }
.st-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; background: var(--bg-3); color: var(--text-2); }
.st-pill .st-dot { box-shadow: none; width: 8px; height: 8px; }
.st-pill--ok { background: var(--ok-soft); color: var(--ok); }
.st-pill--minor { background: var(--brand-soft); color: var(--brand-ink); }
.st-pill--major { background: #fde8e6; color: #a8281c; }
.st-pill--maintenance { background: var(--info-soft); color: var(--info); }
.st-bars { display: flex; gap: 2px; margin-top: 16px; direction: ltr; }
.st-bars i { flex: 1 1 0; height: 30px; border-radius: 2px; background: var(--line); min-width: 0; }
.st-bars i.is-ok { background: #35b17c; }
.st-bars i.is-minor { background: var(--brand); }
.st-bars i.is-major { background: #d13b2d; }
.st-bars i.is-maintenance { background: var(--info); }
.st-bars i:hover { opacity: .75; }
.st-bars__legend { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-3); margin-top: 8px; }
.st-bars__legend span:nth-child(2) { font-weight: 600; color: var(--text-2); }
.st-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; font-size: 13.5px; color: var(--text-3); }
.st-legend span { display: inline-flex; align-items: center; gap: 8px; }
.st-legend .st-dot { box-shadow: none; width: 8px; height: 8px; }
.st-inc { background: #fff; border: 1px solid var(--line); border-inline-start: 4px solid var(--text-3); border-radius: var(--r); padding: 20px 24px; }
.st-inc--ok { border-inline-start-color: var(--ok); }
.st-inc--minor { border-inline-start-color: var(--brand); }
.st-inc--major { border-inline-start-color: #d13b2d; }
.st-inc--maintenance { border-inline-start-color: var(--info); }
.st-inc__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.st-inc__title { font-size: 18px; font-weight: 700; }
.st-inc__meta { font-size: 13.5px; color: var(--text-3); margin-top: 4px; }
.st-updates { list-style: none; margin: 16px 0 0; padding: 0; padding-inline-start: 18px; border-inline-start: 2px solid var(--line-2); display: grid; gap: 14px; }
.st-updates li { position: relative; }
.st-updates li::before { content: ""; position: absolute; inset-inline-start: -24px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--text-3); border: 2px solid #fff; }
.st-updates li:first-child::before { background: var(--ink); }
.st-updates__row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.st-updates__row span { color: var(--text-3); white-space: nowrap; }
.st-updates p { margin-top: 4px; font-size: 15px; color: var(--text-2); line-height: 1.65; }
.st-days { display: grid; gap: 28px; }
.st-day__title { font-size: 16px; font-weight: 600; padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.st-day__none { font-size: 14.5px; color: var(--text-3); }
.st-foot { margin-top: 48px; text-align: center; font-size: 14px; color: var(--text-3); }
.st-foot a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) {
  .st-row { padding: 18px; }
  .st-row__top, .st-inc__head { flex-direction: column; align-items: flex-start; }
  .st-bars i { height: 22px; }
  .st-headline { gap: 12px; }
  .st-headline .st-dot { width: 14px; height: 14px; }
}
