/* Midlaal landing page: Figma "7.1 Landing page" (1440 × 3800), drawn at Figma's size and scaled to the window. */
@font-face { font-family: Lama; src: url(/assets/fonts/LamaSans-Regular.otf); font-weight: 400; font-display: swap; }
@font-face { font-family: Lama; src: url(/assets/fonts/LamaSans-Medium.otf); font-weight: 500; font-display: swap; }
@font-face { font-family: Lama; src: url(/assets/fonts/LamaSans-SemiBold.otf); font-weight: 600; font-display: swap; }
@font-face { font-family: Lama; src: url(/assets/fonts/LamaSans-Bold.otf); font-weight: 700; font-display: swap; }
@font-face { font-family: Lama; src: url(/assets/fonts/LamaSans-ExtraBold.otf); font-weight: 800; font-display: swap; }
@font-face { font-family: Lama; src: url(/assets/fonts/LamaSans-Black.otf); font-weight: 900; font-display: swap; }

:root { --navy: #0a4c64; --teal: #50c3c6; --yellow: #ffd032; --red: #ef393f; --row: #f0f0f0; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: #fff; font-family: Lama, sans-serif; color: #000; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; }
.page { position: relative; width: 1440px; height: 3800px; margin: 0 auto; zoom: var(--z, 1); }
.abs { position: absolute; }
.up { text-transform: uppercase; }
.nw { white-space: nowrap; }
[dir=rtl] .up { text-transform: none; }

/* Header */
.header { left: 80px; top: 28px; width: 1280px; height: 72px; display: flex; align-items: center; justify-content: space-between; }
.header .logo { width: 132px; height: 50px; }
.nav { display: flex; align-items: center; gap: 4px; height: 56px; padding: 0 6px; background: #fff; border: 3px solid var(--row); border-radius: 100px; }
.nav a.link { padding: 0 20px; font-weight: 700; font-size: 13px; }
.lang { display: flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 40px; background: var(--row); font-weight: 700; font-size: 14px; }
.get { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 26px; border-radius: 100px; background: var(--navy); color: #fff; font-weight: 700; font-size: 13px; }

/* Hero */
.hero { left: 40px; top: 128px; width: 1360px; height: 820px; border-radius: 48px; overflow: hidden; background: var(--navy); }
.hero .bg { position: absolute; inset: 0; width: 1360px; height: 820px; object-fit: cover; }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(to right, rgba(10,46,62,.92) 0%, rgba(10,46,62,.7) 45%, rgba(10,46,62,.15) 75%, rgba(10,46,62,.15) 100%); }
[dir=rtl] .hero .shade { background: linear-gradient(to left, rgba(10,46,62,.92) 0%, rgba(10,46,62,.7) 45%, rgba(10,46,62,.15) 75%, rgba(10,46,62,.15) 100%); }
.hero .copy { inset-inline-start: 80px; top: 150px; width: 620px; display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.eyebrow { font-weight: 800; font-size: 22px; line-height: 22px; letter-spacing: 1px; color: var(--teal); }
[dir=rtl] .eyebrow { letter-spacing: 0; }
.hero h1 { font-weight: 900; font-size: 76px; line-height: 74.48px; letter-spacing: -1.5px; color: #fff; white-space: nowrap; }
[dir=rtl] .hero h1 { letter-spacing: 0; line-height: 92px; }
.hero p.lead { width: 520px; font-size: 19px; line-height: 30px; color: rgba(255,255,255,.82); }
.stores { display: flex; gap: 12px; }
.store { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 24px; border-radius: 100px; }
.store.apple { background: #fff; border: 3px solid var(--row); }
.store.play { background: #000; color: #fff; }
.store .s1 { font-weight: 600; font-size: 10px; line-height: 10.5px; opacity: .75; white-space: nowrap; }
.store .s2 { font-weight: 800; font-size: 16px; line-height: 16.8px; white-space: nowrap; }
.stats { display: flex; gap: 28px; height: 57px; padding-top: 10px; width: 620px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat b { font-weight: 900; font-size: 30px; line-height: 30px; color: #fff; white-space: nowrap; }
.stat > span { font-weight: 700; font-size: 11px; color: #fff; opacity: .7; white-space: nowrap; }
.stats i { width: 2px; height: 45px; background: rgba(255,255,255,.2); }
.hero .phone { inset-inline-start: 840px; top: 54px; width: 340px; height: 711px; border-radius: 56px; box-shadow: 0 40px 80px rgba(0,0,0,.35); }

/* About */
.about { left: 80px; top: 1060px; width: 1280px; height: 520px; display: flex; gap: 80px; align-items: center; }
.about .pic { position: relative; flex: none; width: 560px; height: 520px; border-radius: 48px; overflow: hidden; }
.about .pic > img { width: 560px; height: 520px; object-fit: cover; }
.badge { position: absolute; inset-inline-start: 24px; top: 432px; height: 64px; display: flex; align-items: center; gap: 12px; padding-inline: 10px 22px; border-radius: 100px; background: rgba(255,255,255,.92); }
.badge .ib { width: 44px; height: 44px; border-radius: 22px; background: rgba(22,163,74,.16); display: flex; align-items: center; justify-content: center; }
.badge b { display: block; font-weight: 800; font-size: 14px; white-space: nowrap; }
.badge b + span { display: block; margin-top: 2px; font-weight: 600; font-size: 11px; color: rgba(0,0,0,.6); white-space: nowrap; }
.about .text { flex: 640 0 0; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
h2.big { font-weight: 900; font-size: 48px; line-height: 48.96px; letter-spacing: -.8px; }
[dir=rtl] h2.big { letter-spacing: 0; line-height: 62px; }
.about h2 { width: 640px; }
p.body { font-size: 17px; line-height: 28px; color: rgba(0,0,0,.65); }
.about p.body { width: 640px; }
.chips { display: flex; gap: 10px; padding-top: 6px; }
.chip { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 100px; background: var(--row); font-weight: 700; font-size: 12px; white-space: nowrap; }
.chip i { width: 9px; height: 9px; border-radius: 4.5px; }

/* How it works */
.how { left: 80px; top: 1700px; width: 1280px; display: flex; flex-direction: column; gap: 40px; }
.how .head { display: flex; align-items: flex-end; justify-content: space-between; }
.how .head .t { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.how .head p.body { width: 380px; }
.steps { display: flex; gap: 20px; align-items: flex-start; }
.step { position: relative; flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 34px; border-radius: 40px; background: var(--row); }
.ibox { display: flex; align-items: center; justify-content: center; }
.step .ibox { width: 64px; height: 64px; border-radius: 22px; }
.step h3 { padding-top: 8px; height: 34px; font-weight: 900; font-size: 24px; line-height: 25.2px; white-space: nowrap; }
.step p { font-size: 15px; line-height: 24px; color: rgba(0,0,0,.65); }
.step .n { position: absolute; top: 24px; inset-inline-end: 34px; font-weight: 900; font-size: 64px; line-height: 64px; color: rgba(0,0,0,.06); }
.t-teal { background: rgba(80,195,198,.25); } .t-yellow { background: rgba(255,208,50,.3); } .t-red { background: rgba(239,57,63,.18); } .t-navy { background: rgba(10,76,100,.12); }

/* Features */
.features { left: 80px; top: 2260px; width: 1280px; display: flex; flex-direction: column; gap: 40px; }
.features .head { display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; }
.features h2 { width: 760px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 222px 222px; gap: 20px; }
.card { display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: 40px; background: #fff; border: 3px solid var(--row); }
.card .ibox { width: 56px; height: 56px; border-radius: 20px; }
.card h3 { padding-top: 6px; height: 28px; font-weight: 900; font-size: 20px; line-height: 22px; white-space: nowrap; }
.card p { font-size: 14px; line-height: 22px; color: rgba(0,0,0,.65); }

/* Call to action */
.cta { left: 40px; top: 3040px; width: 1360px; height: 380px; border-radius: 48px; overflow: hidden; background: var(--navy); }
.cta .deco { position: absolute; inset: 0; width: 1360px; height: 380px; }
[dir=rtl] .cta .deco { transform: scaleX(-1); }
.cta .copy { inset-inline-start: 80px; top: 80px; width: 720px; display: flex; flex-direction: column; gap: 22px; }
.cta h2 { color: #fff; width: 720px; }
.cta p { font-size: 17px; line-height: 28px; color: rgba(255,255,255,.8); white-space: nowrap; }
.cta .circle { inset-inline-start: 1070px; top: 80px; width: 220px; height: 220px; border-radius: 110px; background: #fff; display: flex; align-items: center; justify-content: center; }
.cta .circle img { width: 170px; height: 64px; }

/* Footer */
.footer { left: 80px; top: 3500px; width: 1280px; display: flex; flex-direction: column; gap: 40px; }
.footer .top { display: flex; justify-content: space-between; align-items: flex-start; }
.footer .brand { width: 380px; display: flex; flex-direction: column; gap: 18px; }
.footer .brand .logo { width: 148px; height: 56px; }
.footer .brand p { font-size: 14px; line-height: 22px; color: rgba(0,0,0,.6); white-space: nowrap; }
.social { display: flex; gap: 8px; }
.social a { width: 44px; height: 44px; border-radius: 22px; background: var(--row); display: flex; align-items: center; justify-content: center; }
.cols { display: flex; gap: 90px; align-self: stretch; }
.col { display: flex; flex-direction: column; gap: 14px; }
.col h4 { font-weight: 800; font-size: 12px; color: rgba(0,0,0,.5); white-space: nowrap; }
.col a { font-weight: 600; font-size: 15px; white-space: nowrap; }
.rule { height: 3px; border-radius: 2px; background: var(--row); }
.bottom { display: flex; align-items: center; justify-content: space-between; padding-bottom: 40px; }
.bottom small { font-weight: 600; font-size: 13px; color: rgba(0,0,0,.5); }
.card .row { display: contents; }
.card .chev { display: none; }
.nav .lang img { display: none; }

/* Mobile: Figma "7.2 Landing page mobile" (440 wide), used under 900px and scaled to the window. */
@media (max-width: 899px) {
  .page { width: 440px; height: auto; padding-top: 16px; display: flex; flex-direction: column; align-items: center; }
  .page > .abs { position: relative; left: auto; top: auto; }
  .up { white-space: normal; }

  .header { width: 392px; height: 56px; justify-content: flex-start; }
  .nav { height: auto; padding: 0; gap: 0; border: 0; background: none; margin-inline: auto 8px; }
  .nav a.link { display: none; }
  .nav .lang { width: 40px; padding: 0; border-radius: 20px; justify-content: center; }
  .nav .lang span { display: none; }
  .nav .lang img { display: block; }

  .hero { margin-top: 16px; width: 408px; height: auto; border-radius: 32px; padding: 36px 20px 0; display: flex; flex-direction: column; gap: 24px; }
  .hero .bg { width: 100%; height: 100%; }
  .hero .shade, [dir=rtl] .hero .shade { background: linear-gradient(to bottom, rgba(10,46,62,.92) 0%, rgba(10,46,62,.72) 50%, rgba(10,46,62,.25) 100%); }
  .hero .copy { position: relative; inset: auto; width: 368px; gap: 24px; align-items: center; text-align: center; }
  .stats { justify-content: center; }
  .eyebrow { font-size: 16px; line-height: 16px; white-space: normal; }
  .hero h1 { font-size: 40px; line-height: 40px; letter-spacing: -.8px; white-space: normal; }
  [dir=rtl] .hero h1 { line-height: 52px; letter-spacing: 0; }
  .hero p.lead { width: 368px; font-size: 16px; line-height: 26px; }
  .stats { width: auto; gap: 14px; }
  .hero .phone { position: relative; inset: auto; align-self: center; margin-bottom: -411px; }

  .about { margin-top: 64px; width: 392px; height: auto; flex-direction: column; align-items: stretch; gap: 22px; }
  .about .pic, .about .pic > img { width: 392px; height: 364px; }
  .about .pic { border-radius: 32px; }
  .badge { inset-inline-start: 16px; top: 284px; }
  .about .text { flex: none; width: 392px; align-items: center; text-align: center; }
  h2.big { font-size: 32px; line-height: 34px; letter-spacing: -.5px; white-space: normal; }
  [dir=rtl] h2.big { line-height: 44px; letter-spacing: 0; }
  .about h2, .about p.body, .how .head p.body, .features h2 { width: 392px; }
  p.body { font-size: 16px; line-height: 26px; }
  .chips { flex-wrap: wrap; justify-content: center; padding-top: 0; }

  .how { margin-top: 72px; width: 392px; gap: 18px; }
  .how .head, .how .head .t { flex-direction: column; align-items: center; text-align: center; gap: 18px; }
  .steps { flex-direction: column; gap: 12px; }
  .step { flex: none; width: 392px; padding: 28px; border-radius: 32px; }
  .step h3 { padding-top: 0; height: auto; font-size: 22px; line-height: 24px; white-space: normal; }
  .step .n { top: 20px; inset-inline-end: 28px; font-size: 56px; line-height: 56px; }

  .features { margin-top: 72px; width: 392px; gap: 18px; }
  .grid { display: flex; flex-direction: column; gap: 12px; }
  .card { padding: 18px 24px; border-radius: 32px; cursor: pointer; }
  .card.open { padding-block: 24px; }
  .card .row { display: flex; align-items: center; gap: 14px; }
  .card h3 { flex: 1; min-width: 0; padding-top: 0; height: auto; font-size: 18px; line-height: 20px; white-space: normal; }
  .card .chev { display: flex; flex: none; width: 32px; height: 32px; border-radius: 16px; background: var(--row); align-items: center; justify-content: center; }
  .card.open .chev svg { transform: rotate(180deg); }
  .card p { display: none; }
  .card.open p { display: block; }

  .cta { margin-top: 64px; width: 408px; height: auto; border-radius: 32px; padding: 40px 20px; }
  .cta .deco { inset: 0 auto auto -830px; width: 1360px; height: 380px; }
  [dir=rtl] .cta .deco { inset: 0 -830px auto auto; }
  .cta .copy { position: relative; inset: auto; width: 368px; gap: 20px; align-items: center; text-align: center; }
  .cta h2 { width: 368px; }
  .cta p { font-size: 16px; line-height: 26px; white-space: normal; }
  .cta .circle { display: none; }

  .footer { margin-top: 56px; width: 392px; gap: 32px; padding-bottom: 32px; }
  .footer .top { flex-direction: column; gap: 32px; }
  .footer .brand { width: 392px; }
  .footer .brand p { white-space: normal; }
  .cols { flex-wrap: wrap; gap: 32px 48px; }
  .bottom { padding-bottom: 0; }
  .bottom small { font-size: 12px; }
}
