@font-face { font-family: "Tajawal"; src: url("/assets/fonts/Tajawal-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Tajawal"; src: url("/assets/fonts/Tajawal-500.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Tajawal"; src: url("/assets/fonts/Tajawal-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Tajawal"; src: url("/assets/fonts/Tajawal-800.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Ruqaa"; src: url("/assets/fonts/ArefRuqaa-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Amiri"; src: url("/assets/fonts/Amiri-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }

@view-transition { navigation: auto; }

:root {
  color-scheme: light dark;
  --bg: #F7F3EA; --surface: #FFFFFF; --surface-2: #FBF8F1; --border: #E8E0CF; --text: #14231F; --muted: #5A6B66;
  --primary: #0E5A4F; --soft: #DCEBE6;
  --night: #051F1C; --deep: #0B4A41; --teal: #093A3F;
  --gold: #E3C06C; --gold-hi: #F6E3A8; --gold-lo: #C2933A; --gold-ink: #86621A; --gold-soft: #F6ECD2;
  --shadow: 0 1px 2px rgba(11, 74, 65, .06), 0 12px 32px -8px rgba(11, 74, 65, .16);
  --shadow-lg: 0 2px 4px rgba(11, 74, 65, .06), 0 30px 60px -18px rgba(11, 74, 65, .30);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23E3C06C' stroke-width='1'%3E%3Cpath d='M48 10 86 48 48 86 10 48Z'/%3E%3Cpath d='M21 21h54v54H21z'/%3E%3Ccircle cx='48' cy='48' r='13'/%3E%3Cpath d='M0 48h10M86 48h10M48 0v10M48 86v10'/%3E%3C/g%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07110F; --surface: #0E1B18; --surface-2: #0B1614; --border: #1C2E2A; --text: #E9F1EE; --muted: #96AAA4;
    --primary: #56CDB4; --soft: #12302A; --gold-ink: #E3C06C; --gold-soft: #2A2515;
    --shadow: 0 12px 32px -8px rgba(0, 0, 0, .5); --shadow-lg: 0 30px 60px -18px rgba(0, 0, 0, .7);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.8 "Tajawal", system-ui, "Segoe UI", Tahoma, sans-serif; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); }
h1, h2, h3 { line-height: 1.3; margin: 0; text-wrap: balance; font-weight: 800; }
p { margin: 0 0 12px; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
.center { text-align: center; }
.skip { position: absolute; inset-inline-start: -9999px; top: 0; background: var(--gold); color: var(--deep); padding: 8px 14px; z-index: 60; border-radius: 8px; }
.skip:focus { inset-inline-start: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--gold); color: var(--night); }

/* Scroll progress and reveal-on-scroll (only when the script is running) */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 70; transform-origin: 0 50%; transform: scaleX(var(--scroll, 0)); background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); }
[dir="rtl"] .progress { transform-origin: 100% 50%; }
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(5, 31, 28, .78); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid rgba(227, 192, 108, .16); color: #fff; }
.bar { display: flex; align-items: center; gap: 14px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 800; font-size: 19px; }
[lang="ar"] .brand span { font-family: "Ruqaa", "Tajawal", serif; font-size: 25px; font-weight: 700; line-height: 1; padding-bottom: 6px; }
.brand img { border-radius: 11px; box-shadow: 0 0 0 1px rgba(227, 192, 108, .5); }
.nav { display: flex; gap: 2px; margin-inline-start: auto; }
.nav a { position: relative; padding: 8px 14px; color: rgba(255, 255, 255, .82); text-decoration: none; font-weight: 500; font-size: 15.5px; border-radius: 10px; transition: color .2s; }
.nav a::after { content: ""; position: absolute; inset-inline: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:hover, .nav a[aria-current] { color: #fff; }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.lang { padding: 5px 14px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; transition: background .2s, border-color .2s; }
.lang:hover { background: rgba(255, 255, 255, .1); border-color: var(--gold); }
.get { padding: 8px 18px; border-radius: 12px; background: linear-gradient(135deg, var(--gold-hi), var(--gold) 45%, var(--gold-lo)); color: var(--night); font-weight: 800; font-size: 15px; text-decoration: none; box-shadow: 0 6px 18px -6px rgba(227, 192, 108, .7); transition: transform .2s var(--ease); }
.get:hover { transform: translateY(-2px); }
.menu { display: none; }
@media (max-width: 880px) {
  .nav, .bar > .get { display: none; }
  .lang { margin-inline-start: auto; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .22); cursor: pointer; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu svg { width: 22px; height: 22px; stroke: #fff; }
  .menu nav { position: absolute; inset-inline-end: 0; top: 54px; width: min(280px, 86vw); background: var(--night); border: 1px solid rgba(227, 192, 108, .25); border-radius: 18px; padding: 10px; display: grid; box-shadow: var(--shadow-lg); animation: pop .25s var(--ease); }
  .menu nav a { color: #fff; text-decoration: none; padding: 10px 14px; border-radius: 10px; font-weight: 500; }
  .menu nav a:hover, .menu nav a[aria-current] { background: rgba(255, 255, 255, .08); color: var(--gold); }
  .menu nav .get { display: block; text-align: center; margin-top: 6px; color: var(--night); }
}
@keyframes pop { from { opacity: 0; transform: translateY(-8px) scale(.97); } }

/* ---------- Buttons ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 18px; border-radius: 16px; text-decoration: none; line-height: 1.25; transition: transform .25s var(--ease), box-shadow .25s; position: relative; overflow: hidden; }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 12px; font-weight: 500; opacity: .8; }
.store b { font-size: 17.5px; font-weight: 800; font-family: "Tajawal", system-ui, sans-serif; }
.store:hover { transform: translateY(-3px); }
.store.gold { background: linear-gradient(135deg, var(--gold-hi), var(--gold) 45%, var(--gold-lo)); color: var(--night); box-shadow: 0 14px 30px -12px rgba(227, 192, 108, .75); }
.store.gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-120%); animation: sheen 4.5s ease-in-out infinite; }
@keyframes sheen { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.store.glass { color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .26); backdrop-filter: blur(8px); }
.store.glass:hover { border-color: var(--gold); }
.btn-line { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); color: var(--primary); font-weight: 700; text-decoration: none; transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.btn-line:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: var(--shadow); }

/* ---------- Phone frame: shows only the app screen of a store screenshot ---------- */
.device { --w: 280px; width: var(--w); aspect-ratio: 730 / 1560; flex: none; padding: calc(var(--w) * .028); border-radius: calc(var(--w) * .135); background: linear-gradient(145deg, #2a3a36, #0a1210 40%, #1b2925); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 40px 80px -20px rgba(0, 0, 0, .65), 0 0 0 1px rgba(0, 0, 0, .5); position: relative; }
.screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--w) * .11); background: #F6F2E9; }
.screen img { position: absolute; max-width: none; width: 150%; height: auto; left: -25%; top: -20.4%; }

/* ---------- Hero ---------- */
.dark { position: relative; color: #fff; background: radial-gradient(900px 600px at 12% 0%, rgba(17, 105, 92, .9), transparent 62%), radial-gradient(800px 600px at 100% 100%, rgba(9, 58, 63, .9), transparent 60%), var(--night); overflow: hidden; isolation: isolate; }
.dark::before { content: ""; position: absolute; inset: -96px; z-index: -1; background: var(--tile); opacity: .11; mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 78%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 78%); animation: drift 60s linear infinite; }
@keyframes drift { to { transform: translate(96px, 96px); } }
.orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .5; animation: float 14s ease-in-out infinite alternate; }
.orb.a { width: 420px; height: 420px; background: #1C8C7A; top: -120px; inset-inline-start: -80px; }
.orb.b { width: 360px; height: 360px; background: #C2933A; bottom: -160px; inset-inline-end: 8%; opacity: .28; animation-delay: -6s; }
@keyframes float { to { transform: translate3d(40px, 50px, 0) scale(1.12); } }

.hero { min-height: min(920px, 100svh - 66px); display: flex; align-items: center; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; padding-block: 56px 70px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px; border-radius: 999px; background: rgba(227, 192, 108, .12); border: 1px solid rgba(227, 192, 108, .36); color: var(--gold-hi); font-weight: 500; font-size: 14.5px; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(227, 192, 108, .7); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(227, 192, 108, 0); } 100% { box-shadow: 0 0 0 0 rgba(227, 192, 108, 0); } }
.hero h1 { font-size: clamp(38px, 5.6vw, 72px); line-height: 1.16; margin-top: 22px; letter-spacing: -.01em; }
[lang="ar"] .hero h1 { line-height: 1.3; letter-spacing: 0; }
.hero h1 .line { display: block; overflow: hidden; padding-block: .08em; }
.hero h1 .line > span { display: inline-block; animation: rise 1s var(--ease) both; animation-delay: calc(var(--i) * 120ms + 100ms); }
@keyframes rise { from { transform: translateY(110%); opacity: 0; } }
.shine { display: inline-block; background: linear-gradient(100deg, var(--gold-lo), var(--gold-hi) 40%, var(--gold) 60%, var(--gold-lo)); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--gold); animation: shimmer 7s linear infinite; padding-block: .1em; }
@keyframes shimmer { to { background-position: -220% 0; } }
.hero .lead { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 255, 255, .82); margin-top: 20px; max-width: 54ch; animation: fade 1s var(--ease) .5s both; }
.hero .stores { animation: fade 1s var(--ease) .65s both; }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: rgba(255, 255, 255, .78); font-size: 15px; animation: fade 1s var(--ease) .8s both; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; stroke: var(--gold); }

.stage { position: relative; height: 620px; display: grid; place-items: center; perspective: 1400px; animation: fade 1.2s var(--ease) .3s both; }
.rosette { position: absolute; width: 640px; max-width: none; height: 640px; fill: none; stroke: var(--gold); stroke-width: .35; opacity: .5; animation: spin 120s linear infinite; }
.rosette circle:nth-of-type(2) { stroke-dasharray: 1 3; }
@keyframes spin { to { transform: rotate(360deg); } }
.glow { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(227, 192, 108, .38), transparent 68%); filter: blur(20px); }
.stage .device { position: absolute; transition: transform .5s var(--ease); will-change: transform; }
.stage .d1 { --w: 268px; z-index: 3; transform: translate3d(calc(var(--px, 0) * 14px), calc(var(--py, 0) * 14px), 0); animation: bob 7s ease-in-out infinite; }
.stage .d2 { --w: 214px; z-index: 2; transform: translate3d(calc(-172px + var(--px, 0) * 30px), calc(34px + var(--py, 0) * 30px), 0) rotate(-9deg); opacity: .96; }
.stage .d3 { --w: 214px; z-index: 2; transform: translate3d(calc(172px + var(--px, 0) * 30px), calc(34px + var(--py, 0) * 30px), 0) rotate(9deg); opacity: .96; }
@keyframes bob { 50% { translate: 0 -14px; } }
.chip { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 16px; background: rgba(5, 31, 28, .78); border: 1px solid rgba(227, 192, 108, .45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-weight: 700; font-size: 14.5px; white-space: nowrap; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6); animation: bob 6s ease-in-out infinite; }
.chip svg { width: 20px; height: 20px; stroke: var(--gold); }
.chip.c1 { top: 11%; left: 2%; animation-delay: -1s; }
.chip.c2 { top: 44%; right: -2%; animation-delay: -3s; }
.chip.c3 { bottom: 9%; left: 8%; animation-delay: -2s; }
.scroll-cue { position: absolute; bottom: 18px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 60% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; text-align: center; padding-block: 40px 0; }
  .hero .lead { margin-inline: auto; }
  .stores, .trust { justify-content: center; }
  .stage { height: 520px; margin-bottom: -60px; }
  .stage .d1 { --w: 230px; } .stage .d2, .stage .d3 { --w: 180px; }
  .stage .d2 { transform: translate3d(-128px, 30px, 0) rotate(-9deg); } .stage .d3 { transform: translate3d(128px, 30px, 0) rotate(9deg); }
  .rosette { width: 520px; height: 520px; }
  .chip.c2 { right: 0; } .chip.c1 { left: 0; } .scroll-cue { display: none; }
}
@media (max-width: 520px) { .chip { font-size: 12.5px; padding: 7px 12px; } .stage { height: 470px; } .stage .d1 { --w: 205px; } .stage .d2, .stage .d3 { --w: 158px; } .stage .d2 { transform: translate3d(-104px, 30px, 0) rotate(-9deg); } .stage .d3 { transform: translate3d(104px, 30px, 0) rotate(9deg); } }

/* ---------- Marquee ---------- */
.marquee { direction: ltr; overflow: hidden; background: var(--night); border-block: 1px solid rgba(227, 192, 108, .22); padding-block: 15px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee div { display: flex; width: max-content; animation: slide 50s linear infinite; }
.marquee:hover div { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 26px; padding-inline: 13px; color: rgba(255, 255, 255, .86); font-weight: 700; white-space: nowrap; }
.marquee span::after { content: "✦"; color: var(--gold); font-size: 13px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Section headings ---------- */
.sec { padding-block: clamp(64px, 9vw, 112px); }
.kicker { display: inline-flex; align-items: center; gap: 12px; color: var(--gold-ink); font-weight: 800; font-size: 14.5px; letter-spacing: .06em; text-transform: uppercase; }
[lang="ar"] .kicker { letter-spacing: 0; font-size: 16px; }
.kicker::before { content: ""; width: 34px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--gold-lo), var(--gold)); }
.title { font-size: clamp(30px, 4.2vw, 50px); margin-top: 10px; }
.title em { font-style: normal; color: var(--primary); }
.subtitle { color: var(--muted); font-size: 18.5px; margin-top: 12px; max-width: 62ch; }
.center .subtitle { margin-inline: auto; }
.dark .kicker { color: var(--gold); } .dark .title em { color: var(--gold); } .dark .subtitle { color: rgba(255, 255, 255, .78); }

/* ---------- Verse ---------- */
.verse { text-align: center; padding-block: clamp(56px, 8vw, 96px); position: relative; }
.verse .orn { width: 150px; margin: 0 auto 18px; stroke: var(--gold-lo); fill: none; stroke-width: 1; }
.verse blockquote { margin: 0; font-family: "Amiri", "Tajawal", serif; font-size: clamp(30px, 5vw, 58px); line-height: 1.9; color: var(--primary); direction: rtl; }
.verse p { color: var(--muted); margin-top: 10px; font-size: 17px; }
.verse cite { display: inline-block; margin-top: 8px; font-style: normal; color: var(--gold-ink); font-weight: 700; font-size: 15px; }

/* ---------- Numbers ---------- */
.stats { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--border); border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.stats div { padding: 28px 12px; text-align: center; border-inline-start: 1px solid var(--border); }
.stats div:first-child { border: 0; }
.stats b { display: block; font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; line-height: 1.1; background: linear-gradient(135deg, var(--primary), var(--gold-lo)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stats span { color: var(--muted); font-size: 15px; font-weight: 500; }
@media (max-width: 880px) { .stats { grid-template-columns: repeat(3, 1fr); } .stats div:nth-child(4) { border-inline-start: 0; } .stats div:nth-child(n+4) { border-top: 1px solid var(--border); } }
@media (max-width: 480px) { .stats { grid-template-columns: repeat(2, 1fr); } .stats div { border-top: 1px solid var(--border); border-inline-start: 0; } .stats div:nth-child(even) { border-inline-start: 1px solid var(--border); } .stats div:nth-child(-n+2) { border-top: 0; } }

/* ---------- Scrolling showcase: the phone stays, the screen changes ---------- */
.show { display: grid; grid-template-columns: 1fr 380px; gap: clamp(24px, 6vw, 90px); margin-top: 30px; }
.show-phone { position: sticky; top: 110px; height: 640px; display: grid; place-items: center; align-self: start; }
.show-phone::before { content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(227, 192, 108, .3), transparent 66%); }
.show-phone .ring { position: absolute; width: 520px; height: 520px; max-width: none; fill: none; stroke: var(--gold-lo); stroke-width: .3; opacity: .55; animation: spin 90s linear infinite reverse; }
.show-phone .device { --w: 290px; }
.show-phone .screen img { opacity: 0; transform: scale(1.04); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.show-phone .screen img.on { opacity: 1; transform: none; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .5s var(--ease); padding-block: 30px; }
.step.on { opacity: 1; }
.step .num { font-size: 15px; font-weight: 800; color: var(--gold-ink); display: inline-flex; align-items: center; gap: 12px; }
.step .num::after { content: ""; width: 60px; height: 1px; background: var(--gold-lo); }
.step h3 { font-size: clamp(28px, 3.4vw, 42px); margin-top: 10px; }
.step > p { color: var(--muted); font-size: 18.5px; margin-top: 12px; max-width: 52ch; }
.ticks { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.ticks svg { width: 22px; height: 22px; flex: none; margin-top: 4px; padding: 4px; border-radius: 50%; background: var(--gold-soft); stroke: var(--gold-ink); stroke-width: 3; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--primary); text-decoration: none; }
.more svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
[dir="rtl"] .more svg { scale: -1 1; }
.more:hover svg { transform: translateX(6px); }
.step .inline-shot { display: none; }
@media (max-width: 900px) {
  .show { grid-template-columns: 1fr; }
  .show-phone { display: none; }
  .step { min-height: 0; opacity: 1; padding-block: 34px; border-top: 1px solid var(--border); }
  .step .inline-shot { display: block; margin: 24px auto 0; --w: 230px; }
}

/* ---------- Feature cards ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.card { --mx: 50%; --my: 0%; position: relative; display: flex; flex-direction: column; min-height: 230px; padding: 26px; border-radius: 26px; background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(227, 192, 108, .2), transparent 45%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(227, 192, 108, .7); }
.card:hover::before { opacity: 1; }
.ico { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 17px; background: linear-gradient(145deg, var(--deep), var(--teal)); box-shadow: 0 10px 20px -10px rgba(11, 74, 65, .8), inset 0 0 0 1px rgba(227, 192, 108, .35); margin-bottom: 18px; transition: transform .45s var(--ease); }
.ico svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .ico { transform: rotate(-8deg) scale(1.08); }
.card h3 { font-size: 21px; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.7; margin: 8px 0 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .more { margin-top: auto; font-size: 15px; }
.card .count { position: absolute; top: 24px; inset-inline-end: 24px; font-size: 13px; font-weight: 700; color: var(--gold-ink); background: var(--gold-soft); padding: 2px 11px; border-radius: 999px; }
.card.wide { grid-column: span 2; padding-inline-end: 250px; background: linear-gradient(135deg, var(--surface), var(--surface-2)); }
.card.wide .device { --w: 196px; position: absolute; inset-inline-end: 30px; top: 30px; transform: rotate(4deg); transition: transform .6s var(--ease); }
[dir="rtl"] .card.wide .device { transform: rotate(-4deg); }
.card.wide:hover .device { transform: translateY(-16px) rotate(0deg); }
.card.wide .count { inset-inline-end: auto; inset-inline-start: 92px; top: 38px; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } .card.wide { padding-inline-end: 26px; } .card.wide .device { display: none; } .card.wide .count { inset-inline: auto 24px; top: 24px; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .card.wide { grid-column: auto; } .card { min-height: 0; } }

/* ---------- Promise band ---------- */
.promise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.promise div { padding: 26px; border-radius: 24px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(6px); transition: transform .35s var(--ease), border-color .35s, background .35s; }
.promise div:hover { transform: translateY(-6px); border-color: rgba(227, 192, 108, .6); background: rgba(255, 255, 255, .08); }
.promise svg { width: 34px; height: 34px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.promise h3 { font-size: 20px; margin-top: 16px; }
.promise p { color: rgba(255, 255, 255, .74); font-size: 15.5px; margin: 6px 0 0; line-height: 1.7; }
@media (max-width: 900px) { .promise { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .promise { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; margin-top: 34px; max-width: 860px; margin-inline: auto; interpolate-size: allow-keywords; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: rgba(227, 192, 108, .8); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 22px; font-weight: 700; font-size: 17.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; margin-inline-start: auto; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386621A' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.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; }
.faq p { color: var(--muted); padding: 0 22px 20px; margin: 0; }

/* ---------- Closing call ---------- */
.cta { text-align: center; }
.cta .wrap { padding-block: clamp(70px, 10vw, 120px); position: relative; }
.cta .seal { width: 92px; height: 92px; border-radius: 26px; margin: 0 auto 24px; box-shadow: 0 0 0 1px rgba(227, 192, 108, .6), 0 30px 60px -20px rgba(0, 0, 0, .7); animation: bob 6s ease-in-out infinite; }
.cta h2 { font-size: clamp(32px, 5vw, 58px); }
.cta p { color: rgba(255, 255, 255, .8); margin-top: 12px; font-size: 18.5px; }
.cta .stores { justify-content: center; }
.cta .rosette { left: 50%; top: 50%; margin: -320px 0 0 -320px; opacity: .22; z-index: -1; }

/* ---------- Inner pages ---------- */
.phero .wrap { padding-block: 34px 60px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14.5px; color: rgba(255, 255, 255, .6); }
.crumbs a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs > * + *::before { content: "/"; margin-inline-end: 8px; opacity: .5; }
.phero .ico { width: 68px; height: 68px; border-radius: 22px; margin: 30px 0 18px; background: rgba(255, 255, 255, .06); animation: fade .8s var(--ease) both; }
.phero .ico svg { width: 32px; height: 32px; }
.phero h1 { font-size: clamp(32px, 5vw, 58px); margin-top: 26px; animation: fade .8s var(--ease) .08s both; }
.phero .ico + h1 { margin-top: 0; }
.phero .lead { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .8); margin-top: 14px; max-width: 68ch; animation: fade .8s var(--ease) .18s both; }
.phero.center .lead { margin-inline: auto; }
.lift { margin-top: -30px; position: relative; z-index: 2; }

.feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; counter-reset: f; }
.feat { position: relative; counter-increment: f; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 26px 26px 24px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; overflow: hidden; }
.feat::before { content: counter(f, decimal-leading-zero); position: absolute; top: 14px; inset-inline-end: 20px; font-size: 44px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--border); transition: -webkit-text-stroke-color .35s; }
.feat:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(227, 192, 108, .7); }
.feat:hover::before { -webkit-text-stroke-color: var(--gold-lo); }
.feat h2 { font-size: 20px; color: var(--primary); padding-inline-end: 64px; }
.feat p { margin: 10px 0 0; font-size: 16.5px; overflow-wrap: anywhere; }
.feat a { font-weight: 700; }
.feats.plain .feat::before { display: none; } .feats.plain .feat h2 { padding: 0; }
@media (max-width: 760px) { .feats { grid-template-columns: 1fr; } }

.rows { display: grid; gap: 18px; }
.row { display: grid; grid-template-columns: 54px 1fr; gap: 6px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 26px; padding: 26px; transition: box-shadow .35s, border-color .35s, transform .35s var(--ease); }
.row:hover { box-shadow: var(--shadow-lg); border-color: rgba(227, 192, 108, .7); transform: translateY(-4px); }
.row .ico { grid-row: span 3; margin: 0; }
.row h2 { font-size: 24px; } .row h2 a { text-decoration: none; color: var(--text); } .row h2 a:hover { color: var(--primary); }
.row p { color: var(--muted); margin: 0; }
.row ul { margin: 8px 0 10px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.row li { background: var(--soft); color: var(--primary); border-radius: 999px; padding: 3px 14px; font-size: 14.5px; font-weight: 500; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } .row .ico { grid-row: auto; } }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.pager a { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 16px 22px; text-decoration: none; font-weight: 800; font-size: 18px; color: var(--text); transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.pager a:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow); }
.pager a:last-child { text-align: end; }
.pager small { display: block; color: var(--gold-ink); font-weight: 700; font-size: 13.5px; }

.doc { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
.toc { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 18px; display: grid; gap: 2px; font-size: 15px; box-shadow: var(--shadow); }
.toc b { color: var(--gold-ink); font-size: 13.5px; margin-bottom: 6px; }
.toc a { color: var(--muted); text-decoration: none; padding: 5px 10px; border-radius: 9px; border-inline-start: 2px solid transparent; transition: color .2s, background .2s; }
.toc a:hover, .toc a.on { color: var(--primary); background: var(--soft); border-color: var(--gold); }
.sheet { background: var(--surface); border: 1px solid var(--border); border-radius: 26px; padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow); min-width: 0; }
.sheet h2 { font-size: 22px; color: var(--primary); margin: 30px 0 8px; }
.sheet h2:first-of-type { margin-top: 18px; }
.meta { color: var(--muted); font-size: 14.5px; }
.summary { background: var(--soft); border-inline-start: 4px solid var(--gold); border-radius: 14px; padding: 16px 18px; font-weight: 500; margin-top: 14px; }
@media (max-width: 880px) { .doc { grid-template-columns: 1fr; } .toc { display: none; } }
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 880px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.foot { background: var(--night); color: rgba(255, 255, 255, .74); padding-block: 56px 22px; font-size: 15.5px; position: relative; overflow: hidden; isolation: isolate; }
.foot::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tile); opacity: .05; }
.cols { display: grid; grid-template-columns: 1.3fr 1.5fr 1fr; gap: 36px; }
.foot h2 { font-size: 15px; color: var(--gold); margin-bottom: 12px; font-weight: 700; }
.foot .links { columns: 2; column-gap: 20px; }
.foot .cols a:not(.brand):not(.store) { display: block; color: rgba(255, 255, 255, .74); text-decoration: none; padding: 3px 0; overflow-wrap: anywhere; break-inside: avoid; transition: color .2s, padding .2s; }
.foot .cols a:not(.brand):not(.store):hover { color: var(--gold); padding-inline-start: 6px; }
.foot p { margin-top: 12px; max-width: 38ch; }
.foot .stores { margin-top: 18px; } .foot .store { padding: 7px 14px; } .foot .store b { font-size: 15px; } .foot .store svg { width: 20px; height: 20px; }
.copy { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; text-align: center; max-width: none !important; }
@media (max-width: 820px) { .cols { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .step { opacity: 1; }
}
