/* Two more weights of the site's own faces. This page's stylesheet declares Janna 300 and 500 and At Hauss 400
   and 500; the navigation and the panel also set Arabic at 400 and Latin at 300. Copy the two files from
   itsrethink.com/fonts/ to this site's assets/fonts/. Until they are there the browser uses the nearest weight
   it has, and nothing breaks. */
@font-face { font-family: "Janna"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/Janna2-Regular.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "AtHauss"; font-weight: 300; font-style: normal; font-display: swap; src: url("fonts/AtHaussArabic-Light.sub.woff") format("woff"); }

/* Rethink art direction · startrethink.com (the page the "Rethink Wealth Series" link opens) · 2026-11-19
   Loads after that page's own assets/styles.css. One markup addition on the Arabic page: the navigation in
   series-nav.html, placed directly after the opening body tag; everything else restyles what is already there.
   series-en.html is a new English page built on the same markup and styled by this same file.

   Owner, 2026-11-19: the pattern showed as tiny pieces in the corners; the whole text block belongs on a centred
   frosted glass panel with the pattern oversized behind it, showing through the glass; the glass carries a subtle
   purple translucency from its corner; the page had no navigation.

   So: the owner's group, untouched, at one scale large enough that its pieces are taller than the screen. The
   filled blade stands half under the panel's near edge and the outlined bowl runs behind it and out the far
   side; both squares fall outside the screen. The lockup is the glass. System sources: tokens.json >
   rules["surface.glass"].page.dark (rim, frost, shadow, blur), components.cardCorner, mark.halo. */

/* the main site's content column: 420px wide at most on a phone, 800px from 834px, 1200px from 1280px, 1480px
   from 1680px, so the bar's wordmark and menu button stand where the main site's do at every width */
:root{--rk-m:16px;--rk-max:420px;--rk-nav:72px;}
@media (min-width:834px){:root{--rk-m:23px;--rk-max:800px;}}
@media (min-width:1280px){:root{--rk-m:45px;--rk-max:1200px;}}
@media (min-width:1680px){:root{--rk-max:1480px;}}

/* Owner, 2026-11-19: the bar moved a little when this page opened. Every other page is longer than the screen and
   so carries a scrollbar; this page fits the screen and had none, which made its content 15px wider and slid the
   centred bar by half of that. The page now always keeps the scrollbar's place, as the others do, so the bar sits
   on exactly the same pixels. (Where scrollbars float over the page, as on a Mac or a phone, nothing changes.) */
html{overflow-y:scroll;}
body{flex-direction:column;align-items:stretch;justify-content:flex-start;}

/* ── 1. Navigation: the main site's bar, value for value (measured from the built pages): 72px, Ink at 86% with
        a 14px blur, the wordmark with its halo, seven links at 15px, the language link at 12px in the secondary
        colour, and the 46px "Get the app" button, which turns Ember under the pointer. Below 1280px the links
        fold into the menu, which opens over the whole screen with the links at 24px, the language link and the
        button, as on the main site. ── */
.rk-nav{position:sticky;top:0;z-index:40;flex:none;color:var(--mist);background:rgba(12,0,43,.86);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid rgba(128,111,155,.25);
  font-family:var(--font);line-height:1.6;}
html[dir="rtl"] .rk-nav{line-height:1.8;}
.rk-nav-wrap{display:flex;align-items:center;justify-content:space-between;gap:23px;height:var(--rk-nav);
  width:min(100% - 2 * var(--rk-m),var(--rk-max));margin-inline:auto;}
.rk-nav a{color:inherit;text-decoration:none;}
.rk-nav-mark{flex:none;line-height:0;}
.rk-nav-mark img,.rk-nav-panel-mark{display:block;height:32px;width:auto;
  filter:drop-shadow(0 0 9px rgba(97,75,249,1)) drop-shadow(0 0 13px rgba(97,75,249,.73));}
.rk-nav-links{display:none;gap:23px;font-size:15px;font-weight:400;}
.rk-nav-links a{position:relative;padding:8px 0;white-space:nowrap;}
.rk-nav-links a::after{content:"";position:absolute;inset-inline:0;bottom:0;height:2px;background:var(--lumen);
  transform:scaleX(0);transform-origin:0 50%;}
html[dir="rtl"] .rk-nav-links a::after{transform-origin:100% 50%;}
.rk-nav-links a:hover::after,.rk-nav-links a:focus-visible::after,.rk-nav-links a[aria-current]::after{transform:scaleX(1);}
.rk-nav-end{display:flex;align-items:center;gap:16px;}
.rk-nav .rk-nav-lang{font-size:12px;font-weight:500;color:var(--sec);padding:8px 11px;border:1px solid transparent;border-radius:6px;
  transition:color 180ms,border-color 180ms;}
.rk-nav .rk-nav-lang:hover{color:var(--mist);border-color:var(--sec);}
.rk-nav .rk-nav-cta{display:none;align-items:center;justify-content:center;min-height:46px;padding:11px 23px;border-radius:6px;
  border:1px solid transparent;background:var(--lumen) linear-gradient(#e35336,#e35336) no-repeat 0 0 / 0% 100%;background-origin:border-box;color:var(--mist);font-size:17px;font-weight:500;line-height:1.2;white-space:nowrap;}
html[dir="rtl"] .rk-nav .rk-nav-cta{background-position:100% 0;}
html[dir="ltr"] .rk-nav .rk-nav-cta{letter-spacing:.02em;}
.rk-nav .rk-nav-cta:hover,.rk-nav .rk-nav-cta:focus-visible{background-size:100% 100%;color:#fff;}
.rk-nav .rk-nav-cta:active{transform:scale(.975);}
/* the bar's motion, as on the main site (site.css, section 6): the line draws from the reading edge, the Ember
   crosses the button from it; each withdraws a little faster than it came */
@media (prefers-reduced-motion:no-preference){
  .rk-nav-links a::after{transition:transform 320ms cubic-bezier(.16,1,.3,1);}
  .rk-nav-links a:hover::after{transition:transform 520ms cubic-bezier(.16,1,.3,1);}
  .rk-nav .rk-nav-cta{transition:background-size 360ms cubic-bezier(.16,1,.3,1),color 240ms,transform 180ms cubic-bezier(.16,1,.3,1);}
  .rk-nav .rk-nav-cta:hover,.rk-nav .rk-nav-cta:focus-visible{transition:background-size 560ms cubic-bezier(.16,1,.3,1),color 240ms,transform 180ms cubic-bezier(.16,1,.3,1);}
}
.rk-nav a:focus-visible,.rk-nav summary:focus-visible{outline:2px solid var(--mist);outline-offset:3px;}
.rk-nav-menu summary{position:relative;z-index:2;list-style:none;display:grid;place-items:center;width:46px;height:46px;cursor:pointer;
  border:1px solid var(--sec);border-radius:6px;color:var(--mist);}
.rk-nav-menu summary::-webkit-details-marker{display:none;}
.rk-nav-menu .rk-nav-close,.rk-nav-menu[open] .rk-nav-open{display:none;}
.rk-nav-menu[open] .rk-nav-close{display:block;}
/* the open menu covers the screen from the bar down; the bar's own menu button stays on top of it as the close */
.rk-nav-panel{position:absolute;z-index:1;top:0;inset-inline:0;height:100vh;height:100svh;overflow:auto;
  display:flex;flex-direction:column;align-items:flex-start;padding:20px max(var(--rk-m),calc((100% - var(--rk-max)) / 2)) 64px;
  background:var(--ink) radial-gradient(115% 90% at 94% -4%,#2E0B52 0%,#1B0538 40%,#0C002B 78%);}
.rk-nav-panel ul{margin:97px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:16px;font-size:24px;font-weight:300;line-height:1.6;}
html[dir="rtl"] .rk-nav-panel ul{line-height:1.8;}
.rk-nav-panel .rk-nav-lang{font-size:17px;padding:0;border:0;}
.rk-nav-panel a[aria-current]{text-decoration:underline;text-decoration-color:var(--lumen);text-decoration-thickness:2px;text-underline-offset:.4em;}
.rk-nav-panel .rk-nav-cta{display:inline-flex;margin-top:45px;}
@media (min-width:1280px){
  .rk-nav-links,.rk-nav-end > .rk-nav-cta{display:inline-flex;}
  .rk-nav-menu{display:none;}
}

/* ── 1b. The menu's motion, as on the main site (site.css, section 5): the panel unrolls from under the bar, the
         close mark turns into place, the links rise one after another, 45ms apart. This menu is a details element
         with no script, so the motion is written for the browser's own open and close: where a browser can animate
         those (current Chrome, Safari and Firefox) it opens and closes with the motion; where it cannot, the menu
         simply appears and goes. Nothing moves under prefers-reduced-motion. ── */
@media (prefers-reduced-motion:no-preference){
  .rk-nav-menu::details-content{transition:content-visibility 460ms allow-discrete;}
  .rk-nav-panel{clip-path:inset(0 0 calc(100% - 73px) 0);transition:clip-path 380ms cubic-bezier(.7,0,.84,0) 60ms;}
  .rk-nav-menu[open] .rk-nav-panel{clip-path:inset(0 0 0 0);transition:clip-path 640ms cubic-bezier(.16,1,.3,1);}
  .rk-nav-panel li,.rk-nav-panel > .rk-nav-cta{opacity:0;transform:translateY(18px);transition:opacity 140ms ease-in,transform 140ms ease-in;}
  .rk-nav-menu[open] .rk-nav-panel li,.rk-nav-menu[open] .rk-nav-panel > .rk-nav-cta{opacity:1;transform:none;
    transition:opacity 520ms ease-out calc(140ms + var(--rk-i,0) * 45ms),transform 680ms cubic-bezier(.16,1,.3,1) calc(140ms + var(--rk-i,0) * 45ms);}
  .rk-nav-panel li:nth-child(2){--rk-i:1;}
  .rk-nav-panel li:nth-child(3){--rk-i:2;}
  .rk-nav-panel li:nth-child(4){--rk-i:3;}
  .rk-nav-panel li:nth-child(5){--rk-i:4;}
  .rk-nav-panel li:nth-child(6){--rk-i:5;}
  .rk-nav-panel li:nth-child(7){--rk-i:6;}
  .rk-nav-panel li:nth-child(8){--rk-i:7;}
  .rk-nav-panel > .rk-nav-cta{--rk-i:9;}
  .rk-nav-menu .rk-nav-close{transform:rotate(-90deg) scale(.7);}
  .rk-nav-menu[open] .rk-nav-close{transform:none;transition:transform 520ms cubic-bezier(.16,1,.3,1) 80ms;}
  @starting-style{
    .rk-nav-menu[open] .rk-nav-panel{clip-path:inset(0 0 calc(100% - 73px) 0);}
    .rk-nav-menu[open] .rk-nav-panel li,.rk-nav-menu[open] .rk-nav-panel > .rk-nav-cta{opacity:0;transform:translateY(18px);}
    .rk-nav-menu[open] .rk-nav-close{transform:rotate(-90deg) scale(.7);}
  }
}

/* ── 2. The pattern: one group, oversized, behind the glass ──
   --u is one unit of the group's drawing (its viewBox is 1843.04 x 1935.25). The blade, bowl and stem stand
   about 1060 units tall, so at --u they run past the top and the foot of the screen. The group is placed by one
   point: the middle of the gap between the blade and the bowl (x 1245.9) sits under the panel's near third, and
   the pieces' top edge (y 199.88) sits a little below the navigation. */
.ground{--u:max(.132svh,.074vw);z-index:0;}
.ground .piece{display:none;}
.ground::before{content:"";position:absolute;width:calc(1843.04 * var(--u));aspect-ratio:1843.04/1935.25;
  left:calc(50% - var(--rk-pw) * .22 - 614.61 * var(--u));top:calc(var(--rk-nav) + 5svh - 439.93 * var(--u));
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='631.29 -240.05 1843.04 1935.25'%3E%3Cdefs%3E%3CclipPath id='bwl'%3E%3Cpath d='M1438.38,200.87h379.18v900.73c0,88.13-71.55,159.68-159.68,159.68h-379.18V360.55C1278.7,272.42,1350.25,200.87,1438.38,200.87Z'/%3E%3C/clipPath%3E%3C/defs%3E%3Cpath d='M999.74,479.71v778.07h197.54V453.24c0-120.25,5.28-159.73,15.82-253.36h0C1128.26,221.64,999.74,286.42,999.74,479.71Z' fill='%237019BD'/%3E%3Cpath d='M1438.38,200.87h379.18v900.73c0,88.13-71.55,159.68-159.68,159.68h-379.18V360.55C1278.7,272.42,1350.25,200.87,1438.38,200.87Z' fill='none' stroke='%237019BD' stroke-width='8' clip-path='url(%23bwl)'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  animation:rkRise 1200ms var(--ease) both;}
html[dir="ltr"] .ground::before{left:auto;right:calc(50% - var(--rk-pw) * .22 - 614.61 * var(--u));scale:-1 1;}
@keyframes rkRise{from{opacity:0;transform:translateY(6%);}to{opacity:1;transform:none;}}

/* ── 3. The lockup is the glass panel, centred in the screen under the bar ──
   Dark page glass: a thin frost, a 1px rim lit on its top and near edges, a soft Ink shadow, a backdrop blur.
   The purple translucency is Lumen light entering from the top corner at the line's start and fading across the
   panel. One rounded corner at the line's end (components.cardCorner). */
:root{--rk-pw:min(560px,100vw - 2 * var(--rk-m));}
.lockup{flex:none;width:var(--rk-pw);max-width:none;margin:auto;padding:56px 32px 45px;isolation:isolate;
  border:1px solid rgba(255,255,255,.14);border-radius:0;border-start-end-radius:28px;
  background:
    radial-gradient(130% 95% at 100% 0%,rgba(112,25,189,.46) 0%,rgba(112,25,189,.16) 36%,rgba(112,25,189,0) 68%),
    linear-gradient(135deg,rgba(255,255,255,.10),rgba(255,255,255,.035));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.26),inset -1px 0 0 rgba(255,255,255,.10),0 26px 72px rgba(12,0,43,.46);
  -webkit-backdrop-filter:blur(38px) saturate(1.25);backdrop-filter:blur(38px) saturate(1.25);}
html[dir="ltr"] .lockup{background:
    radial-gradient(130% 95% at 0% 0%,rgba(112,25,189,.46) 0%,rgba(112,25,189,.16) 36%,rgba(112,25,189,0) 68%),
    linear-gradient(225deg,rgba(255,255,255,.10),rgba(255,255,255,.035));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.26),inset 1px 0 0 rgba(255,255,255,.10),0 26px 72px rgba(12,0,43,.46);}
body::after{content:"";flex:none;height:32px;}

/* ── 4. Hierarchy inside the panel: the mark, the promise as the one large line, then the two store buttons ── */
.by{color:rgba(241,237,245,.86);}
.promise-en{color:rgba(241,237,245,.78);}
.status{margin-top:32px;color:rgba(241,237,245,.86);}
.free{color:rgba(241,237,245,.78);}
/* The two store links are the stores' own badges, not buttons of ours. Owner, 2026-11-19: use the official
   badges, with a purple sheen under the pointer. The files in img/ are Apple's and Google's, as downloaded from
   them on 2026-11-18 (Arabic and English), unaltered; Google publishes one badge only, the black one, and does
   not allow it to be recoloured, so the pair is the two black badges, which also match each other. Each link
   keeps its words for screen readers. Under the pointer a band of Lumen light crosses the badge once and a
   Lumen glow rises behind it; the badge's own artwork is not changed. */
.actions{flex-direction:row;flex-wrap:wrap;justify-content:center;gap:16px;margin-top:20px;}
/* Owner, 2026-11-20: the App Store badge showed no outline on its right edge. The badge's own outline lies
   exactly on the artwork's edge, and the badge's width, taken from its height, was not a whole number of pixels
   (161.53): the browser drew the artwork into 161 and the last half pixel, the outline, was lost. Each badge now
   has a whole width (162 and 181 at 54 high) and its artwork is fitted inside that, never stretched over it, so
   all four edges are drawn. Nothing clips the badge either: the band of light lives in its own rounded layer
   over the badge and moves inside that layer. */
.actions .btn{position:relative;flex:none;height:54px;min-height:0;padding:0;border:0;border-radius:8px;
  background:transparent center / contain no-repeat;font-size:0;
  transition:box-shadow 260ms ease,transform 260ms ease;}
.actions .btn[data-store="ios"]{width:162px;background-image:url("img/app-store-black-ar-ae.svg");}
.actions .btn[data-store="android"]{width:181px;background-image:url("img/google-play-ar.png");}
html[lang="en"] .actions .btn[data-store="ios"]{background-image:url("img/app-store-black-en-us.svg");}
html[lang="en"] .actions .btn[data-store="android"]{background-image:url("img/google-play-en.png");}
.actions .btn > *{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}
.actions .btn::after{content:"";position:absolute;inset:0;border-radius:8px;pointer-events:none;mix-blend-mode:screen;
  background:linear-gradient(105deg,rgba(112,25,189,0) 38%,rgba(150,70,240,.85) 50%,rgba(112,25,189,0) 62%) no-repeat 100% 0 / 300% 100%;opacity:0;}
.actions .btn:hover,.actions .btn:focus-visible{background-color:transparent;border:0;
  box-shadow:0 0 0 1px rgba(150,70,240,.9),0 10px 34px rgba(112,25,189,.70);transform:translateY(-1px);}
.actions .btn:hover::after,.actions .btn:focus-visible::after{opacity:1;background-position:0 0;transition:background-position 900ms cubic-bezier(.2,.7,.2,1),opacity 200ms;}
@media (prefers-reduced-motion:reduce){.actions .btn,.actions .btn::after,.actions .btn:hover::after{transition:none;}}
@media (min-width:720px){
  .lockup{padding:64px 56px 56px;}
}
/* the English page: the promise is a Latin line, a little smaller so it holds one line; the Arabic line under it
   keeps the Arabic face */
html[lang="en"] .promise{font-family:var(--latin);font-weight:500;letter-spacing:-.02em;font-size:clamp(30px,8.6vw,46px);line-height:1.15;}
html[lang="en"] .promise-en{font-family:var(--font);margin-top:11px;}
html[lang="en"] .by,html[lang="en"] .status,html[lang="en"] .free{font-family:var(--latin);}
@media (max-width:719px){
  .ground{--u:.21vw;}
  html[dir="ltr"] .ground::before{left:auto;right:calc(34vw - 614.61 * var(--u));}
  .ground::before{left:calc(34vw - 614.61 * var(--u));top:calc(var(--rk-nav) + 3svh - 439.93 * var(--u));}
  .lockup{padding:45px 23px 32px;border-start-end-radius:23px;}
}
@media (prefers-reduced-motion:reduce){.ground::before{animation:none;}}

/* ── The entrance, as on the main site (site.css, section 7): each line of the panel comes into focus, from an 8px
      blur and nothing to sharp and full, rising 14px, one after another 80ms apart, as the panel itself rises.
      These pages are one screen, so it is written for the page's arrival alone and needs no script. Nothing moves
      under prefers-reduced-motion. ── */
@keyframes rkFocus{from{opacity:0;translate:0 14px;filter:blur(8px);}}
@media (prefers-reduced-motion:no-preference){
  .lockup > *{animation:rkFocus 640ms cubic-bezier(.2,.7,.2,1) backwards;animation-delay:calc(320ms + var(--rk-n,0) * 80ms);}
  .lockup > :nth-child(2){--rk-n:1;}
  .lockup > :nth-child(3){--rk-n:2;}
  .lockup > :nth-child(4){--rk-n:3;}
  .lockup > :nth-child(5){--rk-n:4;}
  .lockup > :nth-child(6){--rk-n:5;}
  .lockup > :nth-child(7){--rk-n:6;}
  .lockup > :nth-child(n+8){--rk-n:7;}
}
