/* Perks marketing site. Static, no build step. Logical properties throughout so RTL and LTR share one stylesheet. */

@font-face { font-family: "Thmanyah Sans"; src: url("assets/fonts/ThmanyahSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("assets/fonts/ThmanyahSans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("assets/fonts/ThmanyahSans-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
/* Thmanyah Sans has no ğ Ğ ş Ş İ or ₺ (checked with fontTools), so the Turkish page is set in Inter
   (SIL OFL, assets/fonts/Inter-LICENSE.txt): one variable WOFF2 (wght 100–900, opsz pinned at 14), subset to
   Latin, Latin-1, Latin Extended-A, general punctuation, ₺ and the few symbols the copy uses. Arabic words on
   the Turkish page (the language link) still come from Thmanyah Sans, which follows Inter in --font-tr. */
@font-face { font-family: "Inter"; src: url("assets/fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: light;
  --ground: #f4f1ec;
  --paper: #fbf9f5;
  --card: #ffffff;
  --sand: #ebe4d8;
  --sand-deep: #ddd3c3;
  --ink: #16130f;
  --ink-soft: #2a2520;
  --text-2: #55504a;
  --text-3: #6f6a63;
  --line: #e2dcd2;
  --line-soft: #ece7df;
  --olive: #4c5a2e;
  --olive-soft: #e7ead9;
  --espresso: #33241e;
  --espresso-2: #4a342a;
  --mint: #cfe9c6;
  --navy: #1b2436;
  --navy-2: #2a3550;
  --champagne: #d6b87c;
  --cream: #f6eedf;
  --cream-2: #eadfc6;
  --bronze: #8a6a2f;
  --success: #2e6b4c;
  --success-bg: #eaf3ec;
  --alert: #a63d32;
  --on-dark: #f7f4ee;
  --on-dark-2: #bdb6ab;

  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 28px;
  --radius-xl: 36px;
  --shadow-card: 0 1px 2px rgba(22, 19, 15, .04), 0 10px 30px rgba(22, 19, 15, .06);
  --shadow-float: 0 2px 6px rgba(22, 19, 15, .06), 0 24px 60px rgba(22, 19, 15, .16);

  --gutter: 16px;
  --max: 1240px;
  --section: clamp(80px, 11vw, 150px);
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font-ar: "Thmanyah Sans", system-ui, sans-serif;
  --font-en: "Thmanyah Sans", system-ui, sans-serif;
  --font-tr: "Inter", "Thmanyah Sans", system-ui, sans-serif;
}
:root { --alert-bg: #fbecea; }

@media (min-width: 720px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

/* Language visibility: every visible string ships in both languages side by side. */
html[lang="ar"] [data-lang="en"], html[lang="en"] [data-lang="ar"] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-ar);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html[lang="en"] body { font-family: var(--font-en); line-height: 1.6; letter-spacing: -.005em; }
html[lang="tr"] body { font-family: var(--font-tr); line-height: 1.6; letter-spacing: -.005em; }
html[lang="tr"] .num, html[lang="tr"] .earned, html[lang="tr"] .brand, html[lang="tr"] .phone-group .select, html[lang="tr"] .phone-group .input { font-family: var(--font-tr); }
.lang-links { display: inline-flex; gap: 6px; }
a.lang-toggle { display: inline-flex; align-items: center; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.num, .earned { font-family: var(--font-en); font-variant-numeric: tabular-nums; letter-spacing: -.01em; direction: ltr; unicode-bidi: isolate; text-align: match-parent; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

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

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

/* Type */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--olive); letter-spacing: .01em; }
html[lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 12.5px; }
.eyebrow::before { content: ""; inline-size: 18px; block-size: 1px; background: currentColor; }
.display { font-size: clamp(40px, 7.4vw, 92px); line-height: 1.12; font-weight: 500; letter-spacing: -.01em; text-wrap: balance; }
html[lang="en"] .display { line-height: 1.02; letter-spacing: -.035em; font-weight: 500; }
.h2 { font-size: clamp(30px, 4.6vw, 56px); line-height: 1.2; font-weight: 500; text-wrap: balance; }
html[lang="en"] .h2 { line-height: 1.08; letter-spacing: -.03em; }
.h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; font-weight: 500; }
html[lang="en"] .h3 { letter-spacing: -.02em; line-height: 1.25; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 44ch; text-wrap: pretty; }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-block-end: clamp(40px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: var(--on-dark); }
.btn-primary:hover { background: #2e2923; }
.btn-ghost { background: transparent; border-color: var(--sand-deep); color: var(--ink); }
.btn-ghost:hover { background: var(--card); border-color: var(--ink); }
.btn-light { background: var(--on-dark); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-outline-light { border-color: rgba(247, 244, 238, .35); color: var(--on-dark); }
.btn-outline-light:hover { border-color: var(--on-dark); }
.btn .arrow { inline-size: 16px; block-size: 16px; }
html[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Announcement strip (structure from the reference's top offer bar) */
.strip { background: var(--ink); color: var(--on-dark); font-size: 14px; }
.strip .wrap { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 42px; text-align: center; }
.strip a { color: var(--on-dark); text-underline-offset: 3px; text-decoration-color: rgba(247,244,238,.4); }
.strip .dot { inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--mint); flex: none; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(244, 241, 236, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-block-end: 1px solid transparent; transition: border-color .3s var(--ease); }
.header.is-scrolled { border-block-end-color: var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-en); font-weight: 500; font-size: 22px; letter-spacing: -.03em; }
.brand svg { inline-size: 30px; block-size: 30px; }
.nav { display: none; gap: 30px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--text-2); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-toggle { min-height: 40px; padding: 0 14px; border-radius: 999px; background: transparent; border: 1px solid var(--line); cursor: pointer; font-size: 14px; transition: border-color .2s; }
.lang-toggle:hover { border-color: var(--ink); }
.header .btn { min-height: 40px; padding: 0 18px; font-size: 14px; }
@media (max-width: 420px) { .header .btn-primary { display: none; } }
@media (min-width: 980px) { .nav { display: flex; } }

/* Hero */
.hero { padding-block: clamp(36px, 5.5vw, 76px) 0; text-align: center; }
.hero .eyebrow { justify-content: center; }
.hero .display { margin-block: 22px 24px; }
.hero .lede { margin-inline: auto; max-width: 58ch; }
.hero .btn-row { justify-content: center; margin-block-start: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-block-start: 22px; font-size: 14px; color: var(--text-3); }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta li::before { content: ""; inline-size: 5px; block-size: 5px; border-radius: 50%; background: var(--olive); }

.trip { position: relative; margin-block-start: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: clamp(8px, 1.4vw, 18px); align-items: end; }
.trip figure { overflow: hidden; border-radius: var(--radius-l); background: var(--sand); }
.trip img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.trip .side { aspect-ratio: 4 / 5; }
.trip .center { aspect-ratio: 4 / 5.2; }
.trip .pass-float { position: absolute; inset-inline-start: 50%; bottom: clamp(-40px, -3vw, -24px); inline-size: min(360px, 62vw); translate: -50% 0; }
html[dir="rtl"] .trip .pass-float { translate: 50% 0; }
@media (max-width: 719px) {
  .trip { grid-template-columns: 1fr; margin-block-end: 72px; }
  .trip .side { display: none; }
  .trip .center { aspect-ratio: 4 / 4.6; border-radius: var(--radius-l); }
  .trip .pass-float { inline-size: min(330px, 84vw); bottom: -64px; }
}

/* Loyalty passes (HTML, not images, so they stay crisp) */
.pass { position: relative; border-radius: 22px; padding: 20px 22px; text-align: start; box-shadow: var(--shadow-float); isolation: isolate; overflow: hidden; }
.pass-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; }
.pass-merchant { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; }
.pass-merchant i { inline-size: 22px; block-size: 22px; border-radius: 7px; display: inline-block; }
.pass-kind { opacity: .72; }
.pass-big { font-size: 30px; font-weight: 500; line-height: 1.15; margin-block: 16px 4px; }
.pass-sub { font-size: 13px; opacity: .78; }
.pass-bar { block-size: 6px; border-radius: 999px; margin-block-start: 14px; overflow: hidden; }
.pass-bar span { display: block; block-size: 100%; border-radius: inherit; }
.pass--stamps { background: linear-gradient(160deg, var(--espresso), var(--espresso-2) 60%, #5c4133); color: #f3ede6; }
.pass--stamps .pass-merchant i { background: #f3ede6; }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-block: 18px 12px; }
.stamps span { aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed rgba(216, 198, 184, .5); display: grid; place-items: center; }
.stamps span.on { border: 0; background: var(--mint); box-shadow: 0 0 0 4px rgba(207, 233, 198, .12); }
.stamps span.on::after { content: ""; inline-size: 38%; block-size: 38%; border-radius: 50%; background: var(--espresso); opacity: .85; }
.pass--points { background: linear-gradient(160deg, var(--cream), var(--cream-2) 70%, #dfcfaf); color: #2b2419; }
.pass--points .pass-merchant i { background: var(--bronze); }
.pass--points .pass-bar { background: rgba(138, 106, 47, .18); }
.pass--points .pass-bar span { background: var(--bronze); inline-size: 82%; }
.pass--tier { background: linear-gradient(160deg, var(--navy), var(--navy-2) 70%, #3b4668); color: #f2f4f9; }
.pass--tier .pass-merchant i { background: var(--champagne); }
.pass--tier .pass-bar { background: rgba(174, 186, 212, .25); }
.pass--tier .pass-bar span { background: var(--champagne); inline-size: 64%; }
.tier-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(214, 184, 124, .5); color: var(--champagne); font-size: 12px; }

/* Intro panel (reference: the two-column benefit panel under the hero) */
.intro { padding-block: calc(var(--section) + 24px) var(--section); }
.panel { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-xl); padding: clamp(28px, 5vw, 64px); display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 900px) { .panel { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.panel p { color: var(--text-2); font-size: 18px; text-wrap: pretty; }
.checks { display: grid; gap: 14px; margin-block-start: 26px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex: none; inline-size: 22px; block-size: 22px; margin-block-start: 3px; color: var(--olive); }

/* Features: sticky stage + scrolling list (reference: the feature showcase) */
.features .layout { display: grid; gap: 64px; }
.feat { display: grid; gap: 28px; }
.feat-copy { display: grid; gap: 16px; max-width: 480px; }
.feat-num { font-family: var(--font-en); font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.feat-copy hr { border: 0; block-size: 1px; background: var(--line); margin: 4px 0; inline-size: 56px; }
.feat-copy ul { display: grid; gap: 10px; color: var(--text-2); }
.feat-copy li { position: relative; padding-inline-start: 22px; }
.feat-copy li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72em; inline-size: 8px; block-size: 1.5px; background: var(--olive); }
.stage { display: none; }
.fv { position: relative; border-radius: var(--radius-xl); background: var(--sand); overflow: hidden; aspect-ratio: 1 / 1; display: grid; place-items: center; padding: clamp(20px, 4vw, 44px); isolation: isolate; }
@media (min-width: 1000px) {
  .features .layout { grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 6vw, 96px); align-items: start; }
  .stage { display: block; position: sticky; top: calc(50vh - min(290px, 36vw)); aspect-ratio: 1 / 1.02; max-block-size: 600px; }
  .stage .fv { position: absolute; inset: 0; aspect-ratio: auto; opacity: 0; transform: scale(.985); transition: opacity .7s var(--ease), transform .9s var(--ease); pointer-events: none; }
  .stage .fv.is-active { opacity: 1; transform: none; }
  .feat { min-block-size: 66vh; align-content: center; }
  .feat:first-child { min-block-size: 60vh; align-content: start; padding-block-start: 12vh; }
  .feat-list .fv { display: none; }
  .feat-list.is-inline .fv { display: grid; }
  .feat-copy { transition: opacity .5s var(--ease); }
  .feat-num { transition: color .4s var(--ease); }
  .feat.is-active .feat-num { color: var(--olive); }
  .feat-copy hr { transition: inline-size .6s var(--ease), background-color .4s var(--ease); }
  .feat.is-active .feat-copy hr { inline-size: 96px; background: var(--olive); }
}

/* Feature visual contents */
.homescreen { inline-size: min(270px, 70%); aspect-ratio: 9 / 18.5; border-radius: 40px; background: linear-gradient(180deg, #d9cfbf, #c9bca8); border: 8px solid var(--ink); padding: 44px 18px 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 12px; align-content: start; box-shadow: var(--shadow-float); }
.homescreen span { aspect-ratio: 1; border-radius: 13px; background: rgba(255, 255, 255, .45); }
.homescreen .me { background: var(--espresso); display: grid; place-items: center; position: relative; box-shadow: 0 0 0 3px rgba(255,255,255,.7); }
.homescreen .me svg { inline-size: 58%; }
.homescreen .me-label { grid-column: span 1; aspect-ratio: auto; background: none; font-size: 10px; text-align: center; margin-top: -12px; color: var(--ink); font-weight: 500; }
.pass-stack { position: relative; inline-size: min(360px, 88%); block-size: 370px; }
.pass-stack .pass { position: absolute; inset-inline: 0; }
.pass-stack .pass:nth-child(1) { top: 0; transform: rotate(-3deg) scale(.94); }
.pass-stack .pass:nth-child(2) { top: 92px; transform: rotate(1.5deg) scale(.97); }
.pass-stack .pass:nth-child(3) { top: 184px; }
.notes { display: grid; gap: 12px; inline-size: min(380px, 94%); }
.note { background: rgba(255, 255, 255, .82); backdrop-filter: blur(10px); border-radius: 20px; padding: 14px 16px; display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; box-shadow: var(--shadow-card); font-size: 14px; line-height: 1.45; }
.note b { display: block; font-weight: 500; font-size: 15px; }
.note small { color: var(--text-3); font-size: 12px; white-space: nowrap; }
.note .ico { inline-size: 40px; block-size: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--olive-soft); color: var(--olive); }
.note .ico svg { inline-size: 20px; }
.note:nth-child(2) { margin-inline-start: 22px; }
.note:nth-child(3) { margin-inline-start: 44px; }
.fv-photo { padding: 0; }
.fv-photo img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
.chip-float { position: absolute; inset-inline-start: 24px; bottom: 24px; background: var(--card); border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow-float); display: grid; gap: 2px; font-size: 13px; color: var(--text-2); }
.chip-float strong { font-size: 22px; color: var(--success); font-weight: 500; }
.chip-float.top { bottom: auto; top: 24px; inset-inline-start: auto; inset-inline-end: 24px; }
.signin { inline-size: min(340px, 92%); background: var(--card); border-radius: 28px; padding: 26px 22px; box-shadow: var(--shadow-float); display: grid; gap: 14px; }
.signin h4 { font-size: 20px; font-weight: 500; }
.signin p { font-size: 13px; color: var(--text-3); }
.mock-phone { display: flex; direction: ltr; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-family: var(--font-en); }
.mock-phone .cc { padding: 12px 12px; background: var(--ground); border-inline-end: 1px solid var(--line); font-weight: 500; white-space: nowrap; }
.mock-phone .n { padding: 12px 14px; letter-spacing: .04em; }
.otp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; direction: ltr; }
.otp span { aspect-ratio: 1 / 1.1; border-radius: 14px; border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--font-en); font-size: 22px; font-weight: 500; }
.otp span.focus { border-color: var(--ink); }
.mock-btn { background: var(--ink); color: var(--on-dark); border-radius: 999px; text-align: center; padding: 12px; font-size: 14px; font-weight: 500; }
.roles { inline-size: min(380px, 94%); background: var(--card); border-radius: 26px; padding: 10px; box-shadow: var(--shadow-float); }
.role { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 14px; border-radius: 18px; font-size: 14px; line-height: 1.4; }
.role + .role { border-block-start: 1px solid var(--line-soft); border-radius: 0; }
.role .av { inline-size: 40px; block-size: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 500; font-size: 14px; }
.role b { display: block; font-weight: 500; font-size: 15px; }
.role small { color: var(--text-3); font-size: 12.5px; }
.tag { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--ground); color: var(--text-2); white-space: nowrap; }
.tag.dark { background: var(--ink); color: var(--on-dark); }

/* How it works */
.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-l); padding: 30px 28px 32px; display: grid; gap: 14px; align-content: start; container-type: inline-size; }
.step-n { font-family: var(--font-en); inline-size: 44px; block-size: 44px; border-radius: 50%; border: 1px solid var(--sand-deep); display: grid; place-items: center; font-size: 15px; font-weight: 500; }
.step p { color: var(--text-2); }
.step-art { block-size: 130px; border-radius: var(--radius-m); background: var(--sand); margin-block-end: 8px; display: grid; place-items: center; overflow: hidden; }
.swatches { display: flex; gap: 10px; }
.swatches i { inline-size: 38px; block-size: 38px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.linkage { display: flex; align-items: center; gap: 12px; direction: ltr; }
.linkage span { padding: 10px 14px; border-radius: 12px; background: var(--card); font-family: var(--font-en); font-size: 13px; font-weight: 500; box-shadow: var(--shadow-card); }
.linkage svg { inline-size: 40px; color: var(--olive); }
.earned { font-family: var(--font-en); font-size: 34px; font-weight: 500; color: var(--success); letter-spacing: -.02em; }
@container (min-width: 420px) { .step-art { block-size: 160px; } }
.steps-foot { margin-block-start: 28px; text-align: center; color: var(--text-3); font-size: 15px; }

/* Insights (dark) */
.insights { background: #14110e; color: var(--on-dark); }
.insights .eyebrow { color: var(--mint); }
.insights .lede { color: var(--on-dark-2); }
.dash { background: var(--paper); color: var(--ink); border-radius: var(--radius-l); overflow: hidden; box-shadow: 0 40px 120px rgba(0,0,0,.45); font-size: 14px; line-height: 1.45; }
.dash-top { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-block-end: 1px solid var(--line-soft); background: var(--card); direction: ltr; }
.dash-top i { inline-size: 10px; block-size: 10px; border-radius: 50%; background: var(--sand-deep); }
.dash-top .url { margin-inline: auto; font-family: var(--font-en); font-size: 12px; color: var(--text-3); background: var(--ground); padding: 4px 14px; border-radius: 999px; }
.dash-body { display: grid; }
.dash-nav { display: none; background: var(--card); border-inline-end: 1px solid var(--line-soft); padding: 18px 12px; gap: 4px; align-content: start; }
.dash-nav .brandline { display: flex; align-items: center; gap: 8px; font-family: var(--font-en); font-weight: 500; padding: 4px 10px 16px; }
.dash-nav a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--text-2); text-decoration: none; }
.dash-nav a.on { background: var(--ground); color: var(--ink); font-weight: 500; }
.dash-main { padding: clamp(14px, 2.4vw, 26px); display: grid; gap: 14px; }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.dash-head h4 { font-size: 18px; font-weight: 500; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.kpi { background: var(--card); border: 1px solid var(--line-soft); border-radius: 16px; padding: 14px; display: grid; gap: 4px; }
.kpi small { color: var(--text-3); font-size: 12.5px; }
.kpi strong { font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
.kpi em { font-style: normal; font-size: 12px; color: var(--success); }
.kpi em.warn { color: #8a5a1f; }
.dash-row { display: grid; gap: 14px; }
.box { background: var(--card); border: 1px solid var(--line-soft); border-radius: 16px; padding: 16px; display: grid; gap: 12px; align-content: start; }
.box h5 { font-size: 14px; font-weight: 500; margin: 0; display: flex; justify-content: space-between; gap: 8px; }
.box h5 small { font-weight: 400; color: var(--text-3); }
.chart svg { inline-size: 100%; block-size: auto; direction: ltr; }
.chart .line { fill: none; stroke: var(--olive); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { fill: var(--olive); opacity: .08; }
.chart .grid { stroke: var(--line-soft); stroke-width: 1; }
.chart .dot { fill: var(--card); stroke: var(--olive); stroke-width: 2.5; }
.slip li { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding-block: 8px; }
.slip li + li { border-block-start: 1px solid var(--line-soft); }
.slip .av { inline-size: 34px; block-size: 34px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; font-size: 12px; font-weight: 500; }
.slip small { display: block; color: var(--text-3); font-size: 12px; }
.slip .send { font-size: 12px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--on-dark); white-space: nowrap; }
.bars li { display: grid; gap: 6px; }
.bars li + li { margin-block-start: 8px; }
.bars .row { display: flex; justify-content: space-between; font-size: 13px; }
.bars .track { block-size: 8px; border-radius: 999px; background: var(--ground); overflow: hidden; }
.bars .fill { display: block; block-size: 100%; border-radius: inherit; background: var(--olive); inline-size: var(--w); transform-origin: left center; }
html[dir="rtl"] .bars .fill { transform-origin: right center; }
@media (min-width: 720px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .dash-row { grid-template-columns: 1.6fr 1fr; } }
@media (min-width: 1100px) { .dash-body { grid-template-columns: 200px 1fr; } .dash-nav { display: grid; } }
.insight-cards { display: grid; gap: 1px; margin-block-start: clamp(40px, 6vw, 72px); background: rgba(247, 244, 238, .12); border-radius: var(--radius-l); overflow: hidden; }
@media (min-width: 900px) { .insight-cards { grid-template-columns: repeat(3, 1fr); } }
.insight-cards article { background: #14110e; padding: 28px clamp(20px, 3vw, 36px); display: grid; gap: 10px; align-content: start; }
.insight-cards .k { font-family: var(--font-en); color: var(--mint); font-size: 13px; letter-spacing: .06em; }
.insight-cards p { color: var(--on-dark-2); }

/* Business types (reference two: vertical showcase) */
.biz-rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 320px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-block-end: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
.biz-rail::-webkit-scrollbar { display: none; }
.biz { scroll-snap-align: start; display: grid; gap: 16px; align-content: start; }
.biz figure { position: relative; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.biz img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.biz:hover img { transform: scale(1.03); }
.biz .pill { position: absolute; inset-block-start: 14px; inset-inline-start: 14px; background: rgba(251, 249, 245, .92); backdrop-filter: blur(8px); padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; }
.biz p { color: var(--text-2); font-size: 16px; }
@media (min-width: 900px) { .biz-rail { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; } }

/* Customer app */
.app-grid { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) { .app-grid { grid-template-columns: 1fr 1fr; } }
.app-visual { position: relative; display: grid; place-items: center; padding-block: 24px; background: var(--sand); border-radius: var(--radius-xl); min-block-size: 560px; overflow: hidden; }
.phone { position: relative; inline-size: 272px; aspect-ratio: 9 / 19; border-radius: 46px; background: var(--ground); border: 9px solid var(--ink); overflow: hidden; box-shadow: var(--shadow-float); font-size: 12px; line-height: 1.45; }
.phone .status { display: flex; justify-content: space-between; padding: 12px 22px 6px; font-family: var(--font-en); font-size: 11px; font-weight: 500; direction: ltr; }
.phone .island { position: absolute; top: 8px; inset-inline-start: 50%; translate: -50% 0; inline-size: 84px; block-size: 24px; border-radius: 999px; background: var(--ink); }
html[dir="rtl"] .phone .island { translate: 50% 0; }
.phone .inner { padding: 6px 14px 14px; display: grid; gap: 10px; }
.phone .hello { display: flex; justify-content: space-between; align-items: center; }
.phone .hello b { font-size: 16px; font-weight: 500; }
.phone .logo-dot { inline-size: 30px; block-size: 30px; border-radius: 10px; background: var(--espresso); display: grid; place-items: center; }
.phone .logo-dot svg { inline-size: 60%; }
.phone .banner { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 11; background: var(--sand); }
.phone .banner img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.phone .banner span { position: absolute; inset-inline-start: 10px; bottom: 10px; background: rgba(251, 249, 245, .94); padding: 4px 10px; border-radius: 999px; font-weight: 500; font-size: 11px; white-space: nowrap; }
.phone .status-card { background: var(--card); border-radius: 18px; padding: 12px 14px; display: grid; gap: 6px; box-shadow: var(--shadow-card); }
.phone .status-card strong { font-size: 20px; font-weight: 500; }
.phone .status-card .pass-bar { margin: 0; background: var(--ground); }
.phone .status-card .pass-bar span { background: var(--bronze); inline-size: 82%; }
.phone .rw { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.phone .rw div { background: var(--card); border-radius: 14px; padding: 10px; display: grid; gap: 2px; }
.phone .rw small { color: var(--text-3); }
.toast { position: absolute; inset-inline-end: clamp(12px, 5%, 48px); top: 14%; background: var(--card); border-radius: 18px; padding: 12px 14px; display: grid; grid-template-columns: 34px auto; gap: 10px; align-items: center; box-shadow: var(--shadow-float); font-size: 13px; line-height: 1.35; max-inline-size: 240px; }
.toast .ico { inline-size: 34px; block-size: 34px; border-radius: 10px; background: var(--espresso); display: grid; place-items: center; color: var(--mint); }
.toast .ico svg { inline-size: 18px; }
.toast small { display: block; color: var(--text-3); }
.toast.low { top: auto; bottom: 12%; inset-inline-end: auto; inset-inline-start: clamp(12px, 5%, 48px); }
.feature-list { display: grid; gap: 18px; margin-block-start: 30px; }
.feature-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.feature-list .ico { inline-size: 44px; block-size: 44px; border-radius: 14px; background: var(--card); display: grid; place-items: center; color: var(--olive); box-shadow: var(--shadow-card); }
.feature-list .ico svg { inline-size: 20px; }
.feature-list b { display: block; font-weight: 500; }
.feature-list span { color: var(--text-2); font-size: 16px; }

/* Stories placeholder (reference: the large quote card) */
.story { background: var(--espresso); color: #f3ede6; border-radius: var(--radius-xl); padding: clamp(32px, 6vw, 80px); display: grid; gap: 22px; position: relative; overflow: hidden; }
.story .q { font-size: clamp(26px, 3.6vw, 44px); line-height: 1.3; font-weight: 500; max-width: 26ch; text-wrap: balance; }
html[lang="en"] .story .q { letter-spacing: -.02em; line-height: 1.15; }
.story p { color: #cdbfb3; max-width: 52ch; }
.story .mark { font-family: var(--font-en); font-size: 120px; line-height: .6; color: var(--mint); opacity: .8; }

/* Sign-up form */
.join-grid { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 1000px) { .join-grid { grid-template-columns: .85fr 1.15fr; align-items: start; } .join-aside { position: sticky; top: 110px; } }
.next-steps { display: grid; gap: 0; margin-block-start: 32px; border-block-start: 1px solid var(--line); }
.next-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding-block: 18px; border-block-end: 1px solid var(--line); }
.next-steps .n { font-family: var(--font-en); font-size: 14px; color: var(--text-3); padding-block-start: 2px; }
.form-card { background: var(--card); border-radius: var(--radius-xl); padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow-card); border: 1px solid var(--line-soft); }
.form { display: grid; gap: 18px; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 7px; align-content: start; }
.field label { font-size: 14.5px; font-weight: 500; }
.field label .opt { color: var(--text-3); font-weight: 400; }
.input, .select, .textarea {
  inline-size: 100%; min-block-size: 52px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper);
  padding: 12px 14px; font-size: 16px; transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.textarea { min-block-size: 120px; resize: vertical; line-height: 1.6; }
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%2355504a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 12px 8px; background-position: right 16px center; padding-inline-end: 40px; }
html[dir="rtl"] .select { background-position: left 16px center; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--sand-deep); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); background: var(--card); box-shadow: 0 0 0 3px rgba(76, 90, 46, .14); }
[aria-invalid="true"] { border-color: var(--alert) !important; background: var(--card); }
.field-error { font-size: 13.5px; color: var(--alert); min-block-size: 0; }
.field-error:empty { display: none; }
.phone-group { display: flex; direction: ltr; gap: 0; border-radius: 14px; }
.phone-group .select { inline-size: auto; flex: none; border-start-end-radius: 0; border-end-end-radius: 0; border-inline-end: 0; font-family: var(--font-en); padding-inline: 14px 34px; background-position: right 12px center !important; }
.phone-group .input { border-start-start-radius: 0; border-end-start-radius: 0; font-family: var(--font-en); letter-spacing: .02em; text-align: left; }
.hp { position: absolute !important; inset-inline-start: -10000px; inline-size: 1px; block-size: 1px; overflow: hidden; }
.form-foot { display: grid; gap: 14px; }
.form-foot .btn { inline-size: 100%; }
@media (min-width: 640px) { .form-foot { grid-template-columns: auto 1fr; align-items: center; } .form-foot .btn { inline-size: auto; } }
.consent { font-size: 13px; color: var(--text-3); }
.form-status { border-radius: 14px; padding: 14px 16px; font-size: 15px; }
.form-status:empty { display: none; }
.form-status.is-error { background: var(--alert-bg); color: var(--alert); }
.form-status.is-info { background: var(--ground); color: var(--text-2); }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.success { display: grid; gap: 14px; justify-items: start; padding-block: 24px; }
.success[hidden] { display: none; }
.success .tick { inline-size: 56px; block-size: 56px; border-radius: 50%; background: var(--success-bg); color: var(--success); display: grid; place-items: center; }
.success .tick svg { inline-size: 26px; }
.success h3 { font-size: 24px; font-weight: 500; }
.success p { color: var(--text-2); }

/* FAQ */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: .8fr 1.2fr; } }
.faq details { border-block-end: 1px solid var(--line); }
.faq details:first-child { border-block-start: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 22px; font-size: 18px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; inline-size: 30px; block-size: 30px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: transform .35s var(--ease), background-color .2s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; inset-inline-start: 50%; top: 50%; inline-size: 11px; block-size: 1.5px; background: currentColor; translate: -50% -50%; }
html[dir="rtl"] .faq summary .pm::before, html[dir="rtl"] .faq summary .pm::after { translate: 50% -50%; }
.faq summary .pm::after { rotate: 90deg; transition: rotate .35s var(--ease); }
.faq details[open] summary .pm::after { rotate: 0deg; }
.faq summary:hover .pm { background: var(--card); }
.faq .ans { padding-block-end: 22px; color: var(--text-2); max-width: 62ch; }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}

/* Final CTA */
.final { position: relative; padding-block: clamp(96px, 14vw, 180px); text-align: center; overflow: hidden; isolation: isolate; }
.final picture, .final picture img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; z-index: -2; }
.final::after { content: ""; position: absolute; inset: 0; background: rgba(244, 241, 236, .55); z-index: -1; }
.final .h2 { font-size: clamp(34px, 5.6vw, 72px); }
.final .btn-row { justify-content: center; margin-block-start: 32px; }
.final .lede { margin-inline: auto; margin-block-start: 18px; color: var(--ink-soft); }

/* Footer */
.footer { background: var(--ink); color: var(--on-dark-2); padding-block: 64px 36px; font-size: 15px; }
.footer .top { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer .top { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer .brand { color: var(--on-dark); }
.footer h4 { color: var(--on-dark); font-size: 14px; font-weight: 500; margin-block-end: 14px; }
.footer ul { display: grid; gap: 10px; }
.footer a { text-decoration: none; color: var(--on-dark-2); transition: color .2s; }
.footer a:hover { color: var(--on-dark); }
.footer .bottom { margin-block-start: 56px; padding-block-start: 24px; border-block-start: 1px solid rgba(247, 244, 238, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 13.5px; }
.footer .lang-toggle { color: var(--on-dark); border-color: rgba(247, 244, 238, .25); }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translateY(28px); } to { transform: translateY(-28px); } }
@keyframes settle { from { opacity: 0; transform: translateY(40px) rotate(-2deg); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes stamp { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: no-preference) {
  .hero .enter { animation: rise .9s var(--ease) both; }
  .hero .enter:nth-child(2) { animation-delay: .08s; }
  .hero .enter:nth-child(3) { animation-delay: .16s; }
  .hero .enter:nth-child(4) { animation-delay: .24s; }
  .hero .enter:nth-child(5) { animation-delay: .32s; }
  .trip figure { animation: rise 1.1s var(--ease) .25s both; }
  .trip .pass-float .pass { animation: settle 1.2s var(--ease) .6s both; }

  /* Scroll-driven path: native view timelines where supported */
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 5% entry 70%; }
    .trip .side img { animation: drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; scale: 1.12; }
    .final picture img { animation: drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; scale: 1.1; }
    .bars .fill { animation: grow linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
  }

  /* JS fallback path: IntersectionObserver toggles .is-in */
  html.io .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  html.io .reveal.is-in { opacity: 1; transform: none; }
  html.io .bars .fill { transform: scaleX(0); transition: transform 1.1s var(--ease) .2s; }
  html.io .bars.is-in .fill { transform: none; }

  /* One-time details triggered by JS in both paths */
  .chart .line { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .chart.is-in .line { animation: draw 1.8s var(--ease) forwards; }
  html:not(.js) .chart .line { stroke-dasharray: none; stroke-dashoffset: 0; }
  .stamps.animate span.on { animation: stamp .5s var(--ease) both; animation-delay: calc(var(--i) * 90ms + .2s); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
.chip-float .num, .kpi .num, .phone .status-card .num { justify-self: start; }
