/* Arabic is the first-render language; English uses the same readable scale. */
html[lang=ar] { --body:'Noto Sans Arabic',Tahoma,Arial,sans-serif; --heading:'Noto Sans Arabic',Tahoma,Arial,sans-serif; }
html[lang=ar] h1,html[lang=ar] h2,html[lang=ar] h3 { letter-spacing:0; line-height:1.55; }
html[lang=ar] .eyebrow,html[lang=ar] .industry-number,html[lang=ar] .popular-tag { letter-spacing:0; }
html[lang=ar] .eyebrow { font-size:12px; }
html[lang=ar] .hero h1 { font-size:clamp(40px,4.5vw,65px); }
html[lang=ar] .hero-copy>p { line-height:2; }
html[lang=ar] .brand-statement h2 { line-height:1.8; }
html[lang=ar] .industry-caption h3 { font-size:20px; }
.language-switch { display:inline-flex; flex-shrink:0; align-items:center; justify-content:center; border:1px solid #d8c7e6; border-radius:999px; background:white; color:var(--purple); font:inherit; font-size:13px; min-height:38px; min-width:48px; padding:8px 14px; cursor:pointer; }
.language-switch:focus-visible { outline:3px solid #d8c7e6; outline-offset:2px; }
.language-switch:hover { background:#f8f2fc; }
.nav-wrap { gap:10px; }
.nav-wrap:dir(ltr)>.language-switch { margin-left:auto; margin-right:0; }
.nav-wrap:dir(rtl)>.language-switch { margin-right:auto; margin-left:0; }
.brand,.footer-wordmark { direction:ltr; unicode-bidi:isolate; }
.desktop-nav { flex:1; justify-content:center; font-size:13px; gap:22px; }
.desktop-nav a { white-space:nowrap; }
html[lang=ar] .nav-cta { font-size:12px; }
[dir=rtl] .connection-copy,[dir=rtl] .industry-caption,[dir=rtl] .feature-card,[dir=rtl] .step,[dir=rtl] .reward-copy,[dir=rtl] .price-card,[dir=rtl] .faq-side,[dir=rtl] .faq-list,[dir=rtl] .onboarding-dialog { text-align:start; }
[dir=rtl] .faq-categories>button { text-align:start; }
[dir=rtl] .button .icon:has(use[href="#i-arrow"]),[dir=rtl] .faq-categories .icon { transform:scaleX(-1); }
[dir=rtl] .step-drawing { right:auto; left:23px; }
[dir=rtl] .dialog-close { right:auto; left:13px; }
[dir=rtl] .footer-grid nav { align-items:flex-start; }
[dir=rtl] .testimonial figcaption { text-align:start; }
[dir=rtl] .testimonial-avatar { direction:ltr; }
.announcement { direction:ltr; }
[dir=rtl] .announcement-group>span { direction:rtl; }
.billing-toggle { direction:inherit; }
.billing-switch { direction:ltr; }
.price>strong { unicode-bidi:isolate; }
.price>span.price-unit { white-space:normal; }
.plan-list strong { min-width:0; }
.plan-description { min-height:110px; }
html[lang=ar] .hero-seal { font-size:10px; }
html[lang=ar] .hero-seal>strong { font-size:20px; letter-spacing:0; }
html[lang=ar] .hero-seal>span { letter-spacing:0; font-size:9px; }
html[lang=ar] .hero-notification strong { font-size:12px; }
html[lang=ar] .hero-notification div>span { font-size:9px; }
html[lang=ar] .hand-underlined svg { bottom:0; }
html[lang=ar] .footer-last>span { font-size:10px; letter-spacing:0; }
@media(max-width:1150px) {
 .desktop-nav { gap:14px; font-size:12px; }
 .nav-wrap { gap:10px; }
}
@media(min-width:761px) and (max-width:1050px) {
 .desktop-nav { display:none; }
 .language-switch { margin-inline-start:auto; }
 .nav-cta { margin-left:0; }
 .menu-toggle { display:flex; align-items:center; justify-content:center; flex-direction:column; gap:5px; height:34px; width:34px; border:1px solid #decfe8; border-radius:50%; background:white; flex-shrink:0; }
 .menu-toggle>span { width:12px; height:1px; background:#9877ad; }
 .menu-toggle[aria-expanded=true]>span:first-child { transform:translateY(3px) rotate(45deg); }
 .menu-toggle[aria-expanded=true]>span:last-child { transform:translateY(-3px) rotate(-45deg); }
 .mobile-nav { position:absolute; inset-inline:30px; top:78px; display:flex; flex-direction:column; padding:17px 22px 22px; border:1px solid #d9c6e6; background:white; border-radius:16px; box-shadow:0 15px 30px #30143c0c; }
 .mobile-nav>a { padding:12px 0; border-bottom:1px solid #f0e9f5; font-size:15px; }
 .mobile-nav>.button { margin-top:18px; }
}
@media(max-width:960px) {
 .plan-description { min-height:0; }
 html[lang=ar] .hero h1 { font-size:48px; }
 .price-card .price { flex-wrap:wrap; white-space:normal; }
}
@media(max-width:760px) {
 .nav-cta { margin-left:0; }
 .language-switch { margin-inline-start:auto; }
 .mobile-nav>a { font-size:15px; }
 html[lang=ar] .hero h1 { font-size:clamp(33px,6vw,44px); }
 html[lang=ar] .hero-seal { font-size:7px; }
 html[lang=ar] .hero-seal>strong { font-size:13px; }
 html[lang=ar] .hero-seal>span { font-size:6px; }
 html[lang=ar] .hero-notification strong { font-size:9px; }
 html[lang=ar] .hero-notification div>span { font-size:7px; }
}
@media(max-width:540px) {
 .nav-cta { display:none; }
 .nav-wrap { gap:10px; }
 .language-switch { min-width:44px; min-height:34px; font-size:12px; padding:6px 12px; }
 .menu-toggle { flex-shrink:0; }
 .hero-actions { flex-wrap:wrap; gap:16px 22px; }
 html[lang=ar] .hero h1 { font-size:32px; }
 html[lang=ar] h2 { font-size:28px; }
 html[lang=ar] .brand-statement h2 { font-size:25px; }
 .industry-grid { grid-template-columns:1fr; max-width:390px; gap:28px; }
 .industry-caption h3 { font-size:22px; }
 .industry-caption p { font-size:16px; }
 .industry-number { font-size:10px; }
 html[lang=ar] .industry-caption h3 { font-size:22px; }
 html[lang=ar] .hero-seal { font-size:5px; }
 html[lang=ar] .hero-seal>strong { font-size:10px; }
 html[lang=ar] .hero-seal>span { font-size:5px; }
 html[lang=ar] .hero-notification strong { font-size:7px; }
 html[lang=ar] .hero-notification div>span { font-size:5px; }
 html[lang=ar] .popular-tag { font-size:10px; }
 html[lang=ar] .billing-toggle>button { font-size:13px; }
 .demo-interaction { grid-template-columns:minmax(0,1fr); width:100%; }
 .demo-stamps { justify-content:center; }
 .demo-status { overflow-wrap:anywhere; }
 .footer-invitation .button { max-width:100%; }
}

/* Compact reading scale for phones and small tablets, in both languages. */
@media(max-width:760px) {
 :root { --small-body:14px; --small-heading:28px; --small-title:19px; }
 html[lang] .hero h1 { font-size:clamp(28px,5.5vw,38px); line-height:1.35; }
 html[lang] .hero-copy>p { font-size:15px; line-height:1.85; }
 html[lang] .section-heading h2,
 html[lang] .proof-section h2,
 html[lang] .connection-copy h2,
 html[lang] .faq-side h2,
 html[lang] .footer-invitation h2 { font-size:var(--small-heading); line-height:1.45; }
 html[lang] .reward-copy h2 { font-size:30px; line-height:1.4; }
 html[lang] .brand-statement h2 { font-size:24px; line-height:1.65; }
 .section-heading p,.brand-statement>p,.proof-subtitle,.industry-caption p,
 .feature-card p,.connection-copy>p,.step p,.reward-copy>p,
 .dialog-description,.result-message,.testimonial blockquote,.friendly-list>li,
 .plan-description,.faq-list details>p { font-size:var(--small-body); line-height:1.8; }
 html[lang] .industry-caption h3,.feature-card h3,.step h3 { font-size:var(--small-title); line-height:1.5; }
 .price-card h3 { font-size:22px; }
 .plan-list>li,.plan-includes { font-size:13px; line-height:1.75; }
 .faq-list summary { font-size:14px; line-height:1.7; }
 .testimonial figcaption strong { font-size:13px; }
 .testimonial figcaption div>span,.stats-row>div>span { font-size:11px; }
 .demo-band h3 { font-size:20px; }
 .demo-band p { font-size:13px; }
 .demo-band .demo-status { font-size:12px!important; }
 .hero-fineprint,.reward-note,.billing-row>span,.pricing-note,
 .billing-caption,.form-note { font-size:11px; line-height:1.8; }
 .price>span.price-unit { font-size:12px; }
 .price-unit>small { font-size:11px; }
 .price>strong { font-size:43px; }
 .footer-grid>div>p,.footer-grid nav { font-size:12px; }
 .footer-bottom { font-size:10px; }
 html[lang] .onboarding-dialog h2 { font-size:25px; line-height:1.5; }
 .onboarding-dialog label { font-size:13px; }
 #result-reward { font-size:14px; }
 #result-plan { font-size:12px; }
}
@media(max-width:540px) {
 :root { --small-heading:25px; --small-title:18px; }
 html[lang] .hero h1 { font-size:clamp(26px,7vw,31px); }
 html[lang] .hero-copy>p { font-size:14px; }
 html[lang] .brand-statement h2 { font-size:22px; line-height:1.65; }
 html[lang] .reward-copy h2 { font-size:27px; }
 html[lang=ar] .eyebrow { font-size:10px; }
 .industry-caption { padding-top:10px; }
 .industry-caption h3 { margin-block:6px; }
 .industry-number { font-size:9px; }
 .testimonial blockquote { margin-block:12px 18px; }
 .plan-list { gap:11px; }
 .plan-list .icon { width:15px; height:15px; margin-top:4px; }
 .price-card h3 { font-size:21px; }
 .price-card>.button { font-size:13px; }
 .price>strong { font-size:40px; }
 .faq-categories>button { font-size:12px; }
 html[lang] .onboarding-dialog h2 { font-size:23px; }
}
@media(max-width:359px) {
 :root { --small-body:13px; --small-heading:23px; --small-title:17px; }
 html[lang] .hero h1 { font-size:25px; }
 html[lang] .hero-copy>p { font-size:13px; }
 html[lang] .brand-statement h2 { font-size:20px; }
 html[lang] .reward-copy h2 { font-size:25px; }
}

/* Keep supporting copy and controls comfortably readable at every breakpoint. */
.hero-wallet-name {
 display:inline-flex;
 align-items:center;
 gap:5px;
 vertical-align:-.14em;
 direction:ltr;
 unicode-bidi:isolate;
 white-space:nowrap;
 color:var(--ink);
 font-weight:600;
}
.hero-wallet-logo {
 width:1.15em;
 height:1.15em;
 flex:none;
 background-position:center;
 background-repeat:no-repeat;
 background-size:contain;
}
.hero-wallet-logo-apple {
 border-radius:.28em;
 background-color:var(--ink);
 background-image:url('assets/logos/apple.svg');
 background-size:55%;
}
.hero-wallet-logo-google { background-image:url('assets/logos/google.svg'); }
.hero-description { text-wrap:balance; }
html[lang=en] .hero-copy { width:min(1240px,calc(100% - 32px)); }
@media(min-width:1000px) {
 html[lang=en] .hero-description { white-space:nowrap; text-wrap:nowrap; }
}
.copy-highlight {
 color:#69438b;
 font-weight:650;
 padding-inline:.08em;
 background:linear-gradient(transparent 72%,rgba(248,216,94,.52) 72%,rgba(248,216,94,.52) 94%,transparent 94%);
 -webkit-box-decoration-break:clone;
 box-decoration-break:clone;
}

.announcement-group>span,
.eyebrow,
.story-index,
.industry-number,
.hero-fineprint,
.reward-note,
.billing-row>span,
.billing-caption,
.popular-tag,
.pricing-note,
.form-note,
.footer-bottom,
.footer-last>span,
.demo-status,
.stats-row>div>span,
.testimonial figcaption div>span,
.price-unit>small { font-size:12px!important; }

.five-stars,
.billing-toggle>button>span,
.step-number,
.demo-stamps>span:not(.filled) { font-size:12px!important; }

.desktop-nav,
.mobile-nav>a,
.language-switch,
.watch-link,
.testimonial figcaption strong,
.connection-logos>span,
.plan-more summary,
.price>span.price-unit,
#result-plan,
.footer-grid nav { font-size:14px!important; }

.button,
.button-small,
.hero-actions .button,
.connection-copy .button,
.button-demo,
.reward-copy .button,
.price-card>.button,
.footer-invitation .button,
.onboarding-dialog .button,
.billing-toggle>button,
.faq-categories>button,
.result-edit { font-size:14px!important; }

.section-heading p,
.brand-statement>p,
.proof-subtitle,
.industry-caption p,
.story-copy p,
.feature-card p,
.connection-copy>p,
.friendly-list>li,
.step p,
.demo-band p,
.reward-copy>p,
.plan-description,
.plan-list>li,
.faq-list summary,
.faq-list details>p,
.faq-note>span,
.footer-grid>div>p,
.dialog-description,
.onboarding-dialog label,
.onboarding-dialog input,
.onboarding-dialog select,
.result-message,
#result-reward { font-size:15px!important; }

.hero-copy>p,
.testimonial blockquote { font-size:16px!important; }

.hero-seal { font-size:12px!important; }
.hero-seal>span { font-size:12px!important; }
.hero-seal>strong { font-size:18px!important; }
.hero-seal-line {
 display:flex;
 justify-content:center;
 align-items:baseline;
 gap:3px;
 margin-top:0!important;
 white-space:nowrap;
}
.hero-seal-line>span { font-size:9px; }
.hero-seal-line>strong { font-size:13px; line-height:1.1; letter-spacing:-.25px; }
html[lang=en] .hero-seal>span:last-child { font-size:10px!important; margin-top:3px; letter-spacing:.6px; }
html[lang=ar] .hero-seal-line { flex-direction:column; align-items:center; gap:0; }
html[lang=ar] .hero-seal-line>span { font-size:12px; }
html[lang=ar] .hero-seal-line>strong { font-size:18px; line-height:1.25; }
@media(max-width:1023px) {
 .hero-seal { display:none; }
}

@media(max-width:540px) {
 html[lang=en] .hero-seal-line>span { font-size:8px; }
 html[lang=en] .hero-seal-line>strong { font-size:11px; }
 html[lang=en] .hero-seal>span:last-child { font-size:9px!important; letter-spacing:.35px; }
 .hero-actions { row-gap:13px; }
 .hero-actions .button { min-height:46px; }
 .watch-link { min-height:44px; }
 .connection-logos { gap:9px; }
 .connection-logos>span { padding:8px 9px; }
 .faq-categories>button { padding:10px 13px; }
}

/* A calmer, more compact reading scale on phones. */
@media(max-width:540px) {
 html[lang] .hero h1 { font-size:clamp(24px,6.5vw,27px); line-height:1.3; }
 html[lang] .hero-copy>p { font-size:14px!important; line-height:1.75; }
 html[lang] .section-heading h2,
 html[lang] .proof-section h2,
 html[lang] .connection-copy h2,
 html[lang] .faq-side h2,
 html[lang] .footer-invitation h2 { font-size:23px; line-height:1.4; }
 html[lang] .brand-statement h2 { font-size:20px; line-height:1.55; }
 html[lang] .reward-copy h2 { font-size:25px; }
 .section-heading p,
 .brand-statement>p,
 .proof-subtitle,
 .industry-caption p,
 .story-copy p,
 .feature-card p,
 .connection-copy>p,
 .friendly-list>li,
 .step p,
 .demo-band p,
 .reward-copy>p,
 .plan-description,
 .plan-list>li,
 .faq-list summary,
 .faq-list details>p,
 .footer-grid>div>p,
 .dialog-description,
 .result-message { font-size:14px!important; }
 .eyebrow { font-size:10px!important; }
 .button,
 .button-small,
 .hero-actions .button,
 .connection-copy .button,
 .button-demo,
 .reward-copy .button,
 .price-card>.button,
 .footer-invitation .button,
 .onboarding-dialog .button,
 .billing-toggle>button,
 .faq-categories>button,
 .result-edit { font-size:13px!important; }
 .watch-link,
 .mobile-nav>a,
 .language-switch,
 .connection-logos>span,
 .footer-grid nav { font-size:13px!important; }
 .hero-fineprint,
 .reward-note,
 .billing-row>span,
 .billing-caption,
 .pricing-note,
 .form-note,
 .footer-bottom { font-size:11px!important; }
}
