/* SaveHawk website. Colours are the app's (src/constants/theme.ts): green for savings and actions,
   deep orange only for discounts. Plus Jakarta Sans for English, IBM Plex Sans Arabic for Arabic. */

@font-face { font-family: 'Jakarta'; src: url('fonts/PlusJakartaSans_400Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('fonts/PlusJakartaSans_600SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('fonts/PlusJakartaSans_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('fonts/PlusJakartaSans_800ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Plex Arabic'; src: url('fonts/IBMPlexSansArabic_400Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex Arabic'; src: url('fonts/IBMPlexSansArabic_600SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Plex Arabic'; src: url('fonts/IBMPlexSansArabic_700Bold.ttf') format('truetype'); font-weight: 700 800; font-display: swap; }

:root {
  --night: #03140D;
  --forest: #062A1C;
  --green: #0B7A55;
  --green-dark: #075C40;
  --mint: #7FE0B4;
  --mint-soft: #DDF3EA;
  --deal: #C2410C;
  --deal-soft: #FFE8D6;
  --ink: #14201B;
  --ink-soft: #3E4A44;
  --muted: #56635C;
  --ground: #F4F6F3;
  --surface: #FFFFFF;
  --border: #E3E8E4;
  --radius: 22px;
  --font: 'Jakarta', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow-3d: 0 1px 0 rgba(255,255,255,.06) inset, 0 30px 60px -20px rgba(0,0,0,.55), 0 12px 24px -12px rgba(0,0,0,.45);
}
:root[lang='ar'] { --font: 'Plex Arabic', 'Jakarta', system-ui, sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--ground);
  -webkit-font-smoothing: antialiased; line-height: 1.55; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.topbar.scrolled { background: rgba(3, 20, 13, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 6px 16px -4px rgba(0,0,0,.5); }
.brand b { color: var(--mint); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: rgba(255,255,255,.78); text-decoration: none; font-weight: 600; font-size: 14px; }
.nav a:hover { color: #fff; }
.lang {
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #fff;
  border-radius: 999px; padding: 8px 14px; font: 700 13px var(--font); cursor: pointer;
}
.lang:hover { background: rgba(255,255,255,.14); }
@media (max-width: 760px) { .nav a { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; padding: 140px 0 120px; overflow: hidden;
  background:
    radial-gradient(900px 600px at 78% 30%, rgba(11,122,85,.55), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(127,224,180,.16), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--forest) 100%);
}
.hero::before { /* faint grid floor, in perspective */
  content: ''; position: absolute; inset: auto -20% -10% -20%; height: 55%;
  background-image: linear-gradient(rgba(127,224,180,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(127,224,180,.12) 1px, transparent 1px);
  background-size: 64px 64px; transform: perspective(700px) rotateX(62deg); transform-origin: top;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, transparent 95%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(127,224,180,.12); border: 1px solid rgba(127,224,180,.28); color: var(--mint);
  font-weight: 700; font-size: 13px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(127,224,180,.2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(127,224,180,0); } }
.hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -.035em; margin: 22px 0 18px; font-weight: 800; }
:root[lang='ar'] .hero h1 { letter-spacing: 0; line-height: 1.2; }
.hero h1 .glow { background: linear-gradient(100deg, #fff 10%, var(--mint) 60%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(17px, 2vw, 20px); color: rgba(255,255,255,.78); max-width: 34em; margin: 0 0 30px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; border-radius: 16px; padding: 15px 22px;
  font: 700 16px var(--font); text-decoration: none; cursor: pointer; border: 0;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary { background: linear-gradient(180deg, #13a273, var(--green)); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 14px 30px -10px rgba(11,122,85,.9); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 20px 36px -12px rgba(11,122,85,1); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn small { display: block; font-size: 11px; font-weight: 600; opacity: .75; line-height: 1; }
.btn .two { display: flex; flex-direction: column; gap: 3px; text-align: start; }
.facts { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 38px; }
.fact b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.fact span { color: rgba(255,255,255,.62); font-size: 13px; font-weight: 600; }

/* ---------- 3D stage with phones ---------- */
.stage { position: relative; height: 620px; perspective: 1600px; --rx: 0deg; --ry: 0deg; }
.scene { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(calc(8deg + var(--rx))) rotateY(calc(-14deg + var(--ry))); transition: transform .25s ease-out; }
:root[dir='rtl'] .scene { transform: rotateX(calc(8deg + var(--rx))) rotateY(calc(14deg + var(--ry))); }
.phone {
  position: absolute; width: 270px; height: 560px; border-radius: 46px; padding: 11px;
  background: linear-gradient(145deg, #2b3631, #0c1310 45%, #1d2622);
  box-shadow: 0 0 0 1.5px #3a4741 inset, var(--shadow-3d), 0 60px 90px -30px rgba(0,0,0,.7);
  transform-style: preserve-3d;
}
.phone::after { content: ''; position: absolute; inset: 0; border-radius: 46px; background: linear-gradient(115deg, rgba(255,255,255,.16), transparent 35%); pointer-events: none; }
.phone .notch { position: absolute; top: 20px; left: 50%; width: 86px; height: 24px; margin-left: -43px; border-radius: 14px; background: #050806; z-index: 3; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: var(--ground); color: var(--ink); font-size: 11px; }
.phone.p1 { left: 50%; top: 20px; margin-left: -135px; transform: translateZ(80px); animation: float 7s ease-in-out infinite; z-index: 2; }
.phone.p2 { left: -6%; top: 70px; transform: translateZ(-90px) rotateY(18deg) scale(.9); opacity: .92; animation: float 8s ease-in-out -2s infinite; }
.phone.p3 { right: -8%; top: 60px; transform: translateZ(-120px) rotateY(-18deg) scale(.88); opacity: .9; animation: float 9s ease-in-out -4s infinite; }
@keyframes float { 50% { translate: 0 -14px; } }

/* App screens, drawn in HTML so they stay sharp */
.app-top { padding: 46px 14px 10px; }
.app-brand { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 15px; }
.app-brand i { width: 20px; height: 20px; border-radius: 6px; background: var(--green) url('icon-512.png') center/cover; }
.app-brand b { color: var(--green); }
.app-search { margin-top: 10px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 8px 10px; color: var(--muted); }
.app-h { font-weight: 800; font-size: 13px; padding: 4px 14px 6px; }
.deal { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 8px; margin: 0 12px 7px; }
.deal .thumb { width: 38px; height: 38px; border-radius: 9px; background: var(--mint-soft) center/contain no-repeat; flex: none; }
.deal .t { flex: 1; min-width: 0; }
.deal .n { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deal .s { color: var(--muted); font-size: 9.5px; }
.deal .off { display: inline-block; background: var(--deal); color: #fff; font-weight: 800; font-size: 9px; padding: 1px 6px; border-radius: 6px; margin-top: 2px; }
.deal .p { text-align: end; font-weight: 800; font-size: 13px; }
.deal .p s { display: block; color: var(--muted); font-weight: 600; font-size: 9px; }
.app-tabs { position: absolute; bottom: 0; inset-inline: 0; height: 54px; background: #fff; border-top: 1px solid var(--border); display: flex; justify-content: space-around; align-items: center; color: var(--muted); font-size: 9px; font-weight: 700; }
.app-tabs .on { color: var(--green); }
.plan { margin: 0 12px 8px; background: #fff; border-radius: 14px; padding: 10px; border: 1px solid var(--border); }
.plan.best { border: 2px solid var(--green); }
.plan .row { display: flex; justify-content: space-between; align-items: center; }
.plan .save { color: var(--green-dark); font-weight: 800; }
.check { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-bottom: 1px solid #eef1ee; background: #fff; }
.check i { width: 16px; height: 16px; border-radius: 5px; border: 2px solid #b8c3bc; flex: none; }
.check.done i { background: var(--green); border-color: var(--green); }
.check.done span { color: #8a958f; text-decoration: line-through; }
.check em { margin-inline-start: auto; font-style: normal; font-weight: 700; }
.report { margin: 0 12px; padding: 16px; border-radius: 16px; background: var(--mint-soft); text-align: center; }
.report b { display: block; font-size: 26px; color: var(--green-dark); letter-spacing: -.02em; }

/* Floating 3D objects */
.float { position: absolute; z-index: 4; transform-style: preserve-3d; }
.tag {
  top: 54px; left: 30%; transform: translateZ(180px) rotate(-12deg);
  background: linear-gradient(160deg, #ea5a1a, var(--deal)); color: #fff; font-weight: 800; font-size: 28px;
  padding: 14px 20px 14px 30px; border-radius: 14px 30px 30px 14px;
  box-shadow: 0 2px 0 #8a2e08, 0 4px 0 #7a2807, 0 6px 0 #6a2306, 0 26px 40px -12px rgba(0,0,0,.6);
  animation: bob 6s ease-in-out infinite;
}
.tag::before { content: ''; position: absolute; left: 11px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--forest); box-shadow: 0 0 0 2px rgba(255,255,255,.4) inset; }
.notif {
  bottom: 86px; right: -4%; width: 280px; transform: translateZ(220px) rotateY(-6deg);
  background: rgba(6, 42, 28, .78); border: 1px solid rgba(127,224,180,.35); color: #fff;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 20px; padding: 14px 16px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  animation: bob 7s ease-in-out -3s infinite;
}
:root[dir='rtl'] .notif { right: auto; left: -4%; }
.notif .h { display: flex; align-items: center; gap: 8px; font-size: 12px; opacity: .85; font-weight: 700; }
.notif .h img { width: 20px; height: 20px; border-radius: 6px; }
.notif b { display: block; margin-top: 6px; font-size: 14px; }
.notif p { margin: 2px 0 0; font-size: 13px; opacity: .9; }
.coin {
  bottom: 40px; left: 8%; width: 74px; height: 74px; border-radius: 50%; transform: translateZ(140px) rotateY(25deg);
  background: radial-gradient(circle at 35% 30%, #fff8c9, #f2c94c 40%, #c99a1c 75%);
  box-shadow: 0 6px 0 #9c7410, 0 24px 34px -10px rgba(0,0,0,.6);
  display: grid; place-items: center; color: #7a5806; font-weight: 800; font-size: 13px;
  animation: spin 9s ease-in-out infinite;
}
@keyframes bob { 50% { translate: 0 -12px; } }
@keyframes spin { 50% { transform: translateZ(140px) rotateY(-25deg) translateY(-10px); } }

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .stage { height: 560px; margin-top: 10px; }
  .phone.p2, .phone.p3 { display: none; }
  .notif { right: 0; width: 250px; }
  :root[dir='rtl'] .notif { left: 0; }
}
@media (max-width: 420px) {
  .stage { height: 520px; }
  .phone.p1 { transform: translateZ(40px) scale(.92); }
  .tag { left: 4%; font-size: 22px; }
  .notif { width: 220px; bottom: 60px; }
}

/* ---------- Sections ---------- */
section { padding: 110px 0; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.kicker { color: var(--green); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
:root[lang='ar'] .kicker { letter-spacing: 0; }
h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08; letter-spacing: -.03em; margin: 12px 0 14px; font-weight: 800; }
:root[lang='ar'] h2 { letter-spacing: 0; line-height: 1.3; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

/* Feature cards with depth that follows the pointer */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; perspective: 1200px; }
.card {
  position: relative; background: var(--surface); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border);
  box-shadow: 0 1px 0 #fff inset, 0 24px 48px -28px rgba(7, 92, 64, .35);
  transform-style: preserve-3d; transition: transform .2s ease-out, box-shadow .2s;
  transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
}
.card:hover { box-shadow: 0 1px 0 #fff inset, 0 40px 60px -28px rgba(7, 92, 64, .5); }
.card .icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(160deg, #19b583, var(--green-dark)); color: #fff;
  box-shadow: 0 3px 0 #054a33, 0 16px 26px -10px rgba(11,122,85,.8); transform: translateZ(40px);
}
.card .icon svg { width: 28px; height: 28px; }
.card.deal-card .icon { background: linear-gradient(160deg, #f0682a, var(--deal)); box-shadow: 0 3px 0 #7a2807, 0 16px 26px -10px rgba(194,65,12,.7); }
.card h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.01em; transform: translateZ(24px); }
.card p { margin: 0; color: var(--muted); transform: translateZ(14px); }
.card .pill { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 800; color: var(--green-dark); background: var(--mint-soft); padding: 4px 10px; border-radius: 999px; transform: translateZ(18px); }
@media (max-width: 980px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }

/* How it works */
.how { background: linear-gradient(180deg, var(--ground), #e9f1ec); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); }
.step::before {
  counter-increment: step; content: counter(step); position: absolute; top: -26px; inset-inline-start: 22px;
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 22px;
  background: linear-gradient(160deg, #19b583, var(--green-dark)); box-shadow: 0 3px 0 #054a33, 0 14px 24px -10px rgba(11,122,85,.8);
}
.step h3 { margin: 14px 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 40px; } }

/* Live deals */
.live { background: var(--forest); color: #fff; position: relative; overflow: hidden; }
.live::before { content: ''; position: absolute; inset: 0; background: radial-gradient(800px 400px at 20% 0%, rgba(11,122,85,.5), transparent 70%); }
.live .wrap { position: relative; }
.live .section-head p { color: rgba(255,255,255,.7); }
.live .kicker { color: var(--mint); }
.cities { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.city { border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; padding: 9px 16px; border-radius: 999px; font: 700 14px var(--font); cursor: pointer; }
.city[aria-pressed='true'] { background: var(--mint); color: var(--forest); border-color: var(--mint); }
.deals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1000px; }
.live-deal {
  background: #fff; color: var(--ink); border-radius: 20px; padding: 14px; display: flex; flex-direction: column; gap: 8px;
  box-shadow: 0 30px 50px -26px rgba(0,0,0,.8); transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .2s ease-out;
}
.live-deal .img { aspect-ratio: 1; border-radius: 14px; background: #f4f6f3 center/contain no-repeat; position: relative; }
.live-deal .off { position: absolute; top: 8px; inset-inline-start: 8px; background: var(--deal); color: #fff; font-weight: 800; font-size: 13px; padding: 3px 9px; border-radius: 8px; box-shadow: 0 2px 0 #7a2807; }
.live-deal .n { font-weight: 700; font-size: 14px; line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.live-deal .row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.live-deal .price { font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.live-deal .was { color: var(--muted); text-decoration: line-through; font-size: 13px; }
.live-deal .store { color: var(--green-dark); font-weight: 700; font-size: 13px; }
.live-note { margin-top: 18px; color: rgba(255,255,255,.55); font-size: 13px; }
.skeleton { background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.14), rgba(255,255,255,.06)); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 20px; height: 300px; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (max-width: 980px) { .deals { grid-template-columns: repeat(2, 1fr); } }

/* Stores strip */
.stores { padding: 70px 0; }
.stores-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.store-chip { padding: 12px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--border); font-weight: 800; font-size: 17px; box-shadow: 0 3px 0 #dfe6e1, 0 14px 24px -16px rgba(7,92,64,.35); }

/* Privacy band */
.trust { padding: 0 0 110px; }
.trust-box {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: 38px; border-radius: 28px;
  background: linear-gradient(135deg, #ffffff, var(--mint-soft)); border: 1px solid #cfe9dc;
}
.shield { width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, #19b583, var(--green-dark)); box-shadow: 0 4px 0 #054a33, 0 20px 30px -12px rgba(11,122,85,.8); }
.shield svg { width: 42px; height: 42px; }
.trust-box h3 { margin: 0 0 6px; font-size: 24px; }
.trust-box p { margin: 0; color: var(--ink-soft); }
@media (max-width: 640px) { .trust-box { grid-template-columns: 1fr; padding: 28px; } }

/* Final call to action */
.final { padding: 0 0 110px; }
.final-box {
  position: relative; overflow: hidden; border-radius: 32px; padding: 64px 40px; text-align: center; color: #fff;
  background: radial-gradient(600px 300px at 50% 0%, rgba(127,224,180,.35), transparent 70%), linear-gradient(160deg, var(--green), var(--forest));
  box-shadow: 0 40px 80px -40px rgba(7,92,64,.9);
}
.final-box h2 { margin-top: 0; }
.final-box p { color: rgba(255,255,255,.8); font-size: 18px; margin: 0 auto 28px; max-width: 32em; }
.final-box .ctas { justify-content: center; }

/* Footer */
footer { background: var(--night); color: rgba(255,255,255,.65); padding: 40px 0; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: rgba(255,255,255,.8); text-decoration: none; }
footer a:hover { color: #fff; }

/* Reveal on scroll: rises out of the page in depth */
.reveal { opacity: 0; transform: perspective(900px) translateY(40px) rotateX(10deg); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* Simple pages (privacy, join) */
.page { min-height: 100vh; display: flex; flex-direction: column; }
.page .topbar { position: sticky; background: var(--night); }
.page main { flex: 1; padding: 60px 0 80px; }
.doc { max-width: 760px; }
.doc h1 { font-size: clamp(32px, 5vw, 46px); letter-spacing: -.03em; margin: 0 0 6px; }
.doc .updated { color: var(--muted); margin: 0 0 36px; }
.doc h2 { font-size: 22px; margin: 32px 0 8px; letter-spacing: -.01em; }
.doc p { color: var(--ink-soft); margin: 0; font-size: 17px; }
.join-card {
  max-width: 520px; margin: 30px auto 0; text-align: center; background: #fff; border-radius: 28px; padding: 40px 30px;
  border: 1px solid var(--border); box-shadow: 0 40px 80px -40px rgba(7,92,64,.5);
}
.join-card .icon-big { width: 84px; height: 84px; border-radius: 24px; margin: 0 auto 18px; box-shadow: 0 20px 30px -12px rgba(0,0,0,.4); }
.join-card h1 { font-size: 28px; margin: 0 0 8px; letter-spacing: -.02em; }
.join-card p { color: var(--muted); margin: 0 0 22px; }
.code {
  display: inline-block; font-size: 34px; font-weight: 800; letter-spacing: .08em; color: var(--green-dark);
  background: var(--mint-soft); border: 2px dashed var(--green); padding: 12px 24px; border-radius: 18px; margin-bottom: 22px; direction: ltr;
}
.join-card ol { text-align: start; color: var(--ink-soft); padding-inline-start: 22px; margin: 0 0 24px; }
.join-card li { margin-bottom: 6px; }
.join-card .btn { justify-content: center; }
.copied { color: var(--green-dark); font-weight: 700; min-height: 1.5em; margin-top: 10px; }

/* Percentages, codes and the app's name read left to right in Arabic too. */
.tag, .off, .app-brand, .brand span { direction: ltr; unicode-bidi: isolate; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
