/* UAE e-invoicing pages (/en-ae-einvoicing, /ar-ae-einvoicing): fonts, tokens and
   the parts every ae-* block shares. Loaded only on those two pages
   (softopia_ae_styles() in includes/MarketPages.php). Each section's own styles
   live in its block (src/<block>/style.css).
   Every class is prefixed "ae-" so nothing collides with the theme's classes.
   Type: Readex Pro (Arabic + Latin in one family, HEXP axis widens display type)
   and Reem Kufi for Arabic lettering, self-hosted (SIL Open Font License 1.1,
   assets/fonts/ae/OFL.txt). */

/* Readex Pro, arabic (SIL OFL 1.1) */
@font-face {
  font-family: 'Readex Pro';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url(../fonts/ae/ReadexPro-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* Readex Pro, latin-ext (SIL OFL 1.1) */
@font-face {
  font-family: 'Readex Pro';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url(../fonts/ae/ReadexPro-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Readex Pro, latin (SIL OFL 1.1) */
@font-face {
  font-family: 'Readex Pro';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url(../fonts/ae/ReadexPro-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Reem Kufi, arabic (SIL OFL 1.1) */
@font-face {
  font-family: 'Reem Kufi';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../fonts/ae/ReemKufi-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

body.ae-page {
    --maroon: #722913;
    --ember: #dc572e;
    --clay: #e37959;
    --night: #2a0e06;
    --ink: #2b1d18;
    --muted: #6b5a52;
    --ember-text: #b4401c;
    --sand: #f6eee6;
    --line: #eadfd5;
    --paper: #ffffff;
    --wa: #075e54;
    --wa-2: #0a7466;
    --gutter: clamp(16px, 4vw, 40px);
    --ease: cubic-bezier(.2, .7, .2, 1);
    /* Al Sadu weave, drawn cell by cell like the loom (docs/superpowers/prototypes/uae-einvoicing/build.js). */
    --sadu: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2257%22%20shape-rendering%3D%22crispEdges%22%3E%3Crect%20x%3D%220%22%20y%3D%220%22%20width%3D%2224%22%20height%3D%223%22%20fill%3D%22%23e37959%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%223%22%20width%3D%2224%22%20height%3D%223%22%20fill%3D%22%232b1d18%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%226%22%20width%3D%2224%22%20height%3D%223%22%20fill%3D%22%23722913%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%229%22%20width%3D%223%22%20height%3D%223%22%20fill%3D%22%23f4e7da%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%229%22%20width%3D%2218%22%20height%3D%223%22%20fill%3D%22%23722913%22%2F%3E%3Crect%20x%3D%2221%22%20y%3D%229%22%20width%3D%223%22%20height%3D%223%22%20fill%3D%22%23f4e7da%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2212%22%20width%3D%226%22%20height%3D%223%22%20fill%3D%22%23f4e7da%22%2F%3E%3Crect%20x%3D%226%22%20y%3D%2212%22%20width%3D%2212%22%20height%3D%223%22%20fill%3D%22%23722913%22%2F%3E%3Crect%20x%3D%2218%22%20y%3D%2212%22%20width%3D%226%22%20height%3D%223%22%20fill%3D%22%23f4e7da%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2215%22%20width%3D%229%22%20height%3D%223%22%20fill%3D%22%23f4e7da%22%2F%3E%3Crect%20x%3D%229%22%20y%3D%2215%22%20width%3D%226%22%20height%3D%223%22%20fill%3D%22%23722913%22%2F%3E%3Crect%20x%3D%2215%22%20y%3D%2215%22%20width%3D%229%22%20height%3D%223%22%20fill%3D%22%23f4e7da%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2218%22%20width%3D%2224%22%20height%3D%223%22%20fill%3D%22%23f4e7da%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2221%22%20width%3D%229%22%20height%3D%223%22%20fill%3D%22%232b1d18%22%2F%3E%3Crect%20x%3D%229%22%20y%3D%2221%22%20width%3D%226%22%20height%3D%223%22%20fill%3D%22%23dc572e%22%2F%3E%3Crect%20x%3D%2215%22%20y%3D%2221%22%20width%3D%229%22%20height%3D%223%22%20fill%3D%22%232b1d18%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2224%22%20width%3D%226%22%20height%3D%223%22%20fill%3D%22%232b1d18%22%2F%3E%3Crect%20x%3D%226%22%20y%3D%2224%22%20width%3D%2212%22%20height%3D%223%22%20fill%3D%22%23dc572e%22%2F%3E%3Crect%20x%3D%2218%22%20y%3D%2224%22%20width%3D%226%22%20height%3D%223%22%20fill%3D%22%232b1d18%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2227%22%20width%3D%223%22%20height%3D%223%22%20fill%3D%22%232b1d18%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%2227%22%20width%3D%226%22%20height%3D%223%22%20fill%3D%22%23dc572e%22%2F%3E%3Crect%20x%3D%229%22%20y%3D%2227%22%20width%3D%226%22%20height%3D%223%22%20fill%3D%22%232b1d18%22%2F%3E%3Crect%20x%3D%2215%22%20y%3D%2227%22%20width%3D%226%22%20height%3D%223%22%20fill%3D%22%23dc572e%22%2F%3E%3Crect%20x%3D%2221%22%20y%3D%2227%22%20width%3D%223%22%20height%3D%223%22%20fill%3D%22%232b1d18%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2230%22%20width%3D%226%22%20height%3D%223%22%20fill%3D%22%232b1d18%22%2F%3E%3Crect%20x%3D%226%22%20y%3D%2230%22%20width%3D%2212%22%20height%3D%223%22%20fill%3D%22%23dc572e%22%2F%3E%3Crect%20x%3D%2218%22%20y%3D%2230%22%20width%3D%226%22%20height%3D%223%22%20fill%3D%22%232b1d18%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2233%22%20width%3D%229%22%20height%3D%223%22%20fill%3D%22%232b1d18%22%2F%3E%3Crect%20x%3D%229%22%20y%3D%2233%22%20width%3D%226%22%20height%3D%223%22%20fill%3D%22%23dc572e%22%2F%3E%3Crect%20x%3D%2215%22%20y%3D%2233%22%20width%3D%229%22%20height%3D%223%22%20fill%3D%22%232b1d18%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2236%22%20width%3D%2224%22%20height%3D%223%22%20fill%3D%22%23f4e7da%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2239%22%20width%3D%229%22%20height%3D%223%22%20fill%3D%22%23f4e7da%22%2F%3E%3Crect%20x%3D%229%22%20y%3D%2239%22%20width%3D%226%22%20height%3D%223%22%20fill%3D%22%23722913%22%2F%3E%3Crect%20x%3D%2215%22%20y%3D%2239%22%20width%3D%229%22%20height%3D%223%22%20fill%3D%22%23f4e7da%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2242%22%20width%3D%226%22%20height%3D%223%22%20fill%3D%22%23f4e7da%22%2F%3E%3Crect%20x%3D%226%22%20y%3D%2242%22%20width%3D%2212%22%20height%3D%223%22%20fill%3D%22%23722913%22%2F%3E%3Crect%20x%3D%2218%22%20y%3D%2242%22%20width%3D%226%22%20height%3D%223%22%20fill%3D%22%23f4e7da%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2245%22%20width%3D%223%22%20height%3D%223%22%20fill%3D%22%23f4e7da%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%2245%22%20width%3D%2218%22%20height%3D%223%22%20fill%3D%22%23722913%22%2F%3E%3Crect%20x%3D%2221%22%20y%3D%2245%22%20width%3D%223%22%20height%3D%223%22%20fill%3D%22%23f4e7da%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2248%22%20width%3D%2224%22%20height%3D%223%22%20fill%3D%22%23722913%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2251%22%20width%3D%2224%22%20height%3D%223%22%20fill%3D%22%232b1d18%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2254%22%20width%3D%2224%22%20height%3D%223%22%20fill%3D%22%23e37959%22%2F%3E%3C%2Fsvg%3E");
    --sadu-sm: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2238%22%20shape-rendering%3D%22crispEdges%22%3E%3Crect%20x%3D%220%22%20y%3D%220%22%20width%3D%2216%22%20height%3D%222%22%20fill%3D%22%23e37959%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%222%22%20width%3D%2216%22%20height%3D%222%22%20fill%3D%22%232b1d18%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%224%22%20width%3D%2216%22%20height%3D%222%22%20fill%3D%22%23722913%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%226%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23f4e7da%22%2F%3E%3Crect%20x%3D%222%22%20y%3D%226%22%20width%3D%2212%22%20height%3D%222%22%20fill%3D%22%23722913%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%226%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23f4e7da%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%228%22%20width%3D%224%22%20height%3D%222%22%20fill%3D%22%23f4e7da%22%2F%3E%3Crect%20x%3D%224%22%20y%3D%228%22%20width%3D%228%22%20height%3D%222%22%20fill%3D%22%23722913%22%2F%3E%3Crect%20x%3D%2212%22%20y%3D%228%22%20width%3D%224%22%20height%3D%222%22%20fill%3D%22%23f4e7da%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2210%22%20width%3D%226%22%20height%3D%222%22%20fill%3D%22%23f4e7da%22%2F%3E%3Crect%20x%3D%226%22%20y%3D%2210%22%20width%3D%224%22%20height%3D%222%22%20fill%3D%22%23722913%22%2F%3E%3Crect%20x%3D%2210%22%20y%3D%2210%22%20width%3D%226%22%20height%3D%222%22%20fill%3D%22%23f4e7da%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2212%22%20width%3D%2216%22%20height%3D%222%22%20fill%3D%22%23f4e7da%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2214%22%20width%3D%226%22%20height%3D%222%22%20fill%3D%22%232b1d18%22%2F%3E%3Crect%20x%3D%226%22%20y%3D%2214%22%20width%3D%224%22%20height%3D%222%22%20fill%3D%22%23dc572e%22%2F%3E%3Crect%20x%3D%2210%22%20y%3D%2214%22%20width%3D%226%22%20height%3D%222%22%20fill%3D%22%232b1d18%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2216%22%20width%3D%224%22%20height%3D%222%22%20fill%3D%22%232b1d18%22%2F%3E%3Crect%20x%3D%224%22%20y%3D%2216%22%20width%3D%228%22%20height%3D%222%22%20fill%3D%22%23dc572e%22%2F%3E%3Crect%20x%3D%2212%22%20y%3D%2216%22%20width%3D%224%22%20height%3D%222%22%20fill%3D%22%232b1d18%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2218%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%232b1d18%22%2F%3E%3Crect%20x%3D%222%22%20y%3D%2218%22%20width%3D%224%22%20height%3D%222%22%20fill%3D%22%23dc572e%22%2F%3E%3Crect%20x%3D%226%22%20y%3D%2218%22%20width%3D%224%22%20height%3D%222%22%20fill%3D%22%232b1d18%22%2F%3E%3Crect%20x%3D%2210%22%20y%3D%2218%22%20width%3D%224%22%20height%3D%222%22%20fill%3D%22%23dc572e%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%2218%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%232b1d18%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2220%22%20width%3D%224%22%20height%3D%222%22%20fill%3D%22%232b1d18%22%2F%3E%3Crect%20x%3D%224%22%20y%3D%2220%22%20width%3D%228%22%20height%3D%222%22%20fill%3D%22%23dc572e%22%2F%3E%3Crect%20x%3D%2212%22%20y%3D%2220%22%20width%3D%224%22%20height%3D%222%22%20fill%3D%22%232b1d18%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2222%22%20width%3D%226%22%20height%3D%222%22%20fill%3D%22%232b1d18%22%2F%3E%3Crect%20x%3D%226%22%20y%3D%2222%22%20width%3D%224%22%20height%3D%222%22%20fill%3D%22%23dc572e%22%2F%3E%3Crect%20x%3D%2210%22%20y%3D%2222%22%20width%3D%226%22%20height%3D%222%22%20fill%3D%22%232b1d18%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2224%22%20width%3D%2216%22%20height%3D%222%22%20fill%3D%22%23f4e7da%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2226%22%20width%3D%226%22%20height%3D%222%22%20fill%3D%22%23f4e7da%22%2F%3E%3Crect%20x%3D%226%22%20y%3D%2226%22%20width%3D%224%22%20height%3D%222%22%20fill%3D%22%23722913%22%2F%3E%3Crect%20x%3D%2210%22%20y%3D%2226%22%20width%3D%226%22%20height%3D%222%22%20fill%3D%22%23f4e7da%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2228%22%20width%3D%224%22%20height%3D%222%22%20fill%3D%22%23f4e7da%22%2F%3E%3Crect%20x%3D%224%22%20y%3D%2228%22%20width%3D%228%22%20height%3D%222%22%20fill%3D%22%23722913%22%2F%3E%3Crect%20x%3D%2212%22%20y%3D%2228%22%20width%3D%224%22%20height%3D%222%22%20fill%3D%22%23f4e7da%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2230%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23f4e7da%22%2F%3E%3Crect%20x%3D%222%22%20y%3D%2230%22%20width%3D%2212%22%20height%3D%222%22%20fill%3D%22%23722913%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%2230%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23f4e7da%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2232%22%20width%3D%2216%22%20height%3D%222%22%20fill%3D%22%23722913%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2234%22%20width%3D%2216%22%20height%3D%222%22%20fill%3D%22%232b1d18%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2236%22%20width%3D%2216%22%20height%3D%222%22%20fill%3D%22%23e37959%22%2F%3E%3C%2Fsvg%3E");
    --sadu-thin: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2221%22%20shape-rendering%3D%22crispEdges%22%3E%3Crect%20x%3D%220%22%20y%3D%220%22%20width%3D%2224%22%20height%3D%223%22%20fill%3D%22%23e37959%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%223%22%20width%3D%229%22%20height%3D%223%22%20fill%3D%22%23722913%22%2F%3E%3Crect%20x%3D%229%22%20y%3D%223%22%20width%3D%226%22%20height%3D%223%22%20fill%3D%22%23dc572e%22%2F%3E%3Crect%20x%3D%2215%22%20y%3D%223%22%20width%3D%229%22%20height%3D%223%22%20fill%3D%22%23722913%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%226%22%20width%3D%226%22%20height%3D%223%22%20fill%3D%22%23722913%22%2F%3E%3Crect%20x%3D%226%22%20y%3D%226%22%20width%3D%223%22%20height%3D%223%22%20fill%3D%22%23dc572e%22%2F%3E%3Crect%20x%3D%229%22%20y%3D%226%22%20width%3D%226%22%20height%3D%223%22%20fill%3D%22%23f4e7da%22%2F%3E%3Crect%20x%3D%2215%22%20y%3D%226%22%20width%3D%223%22%20height%3D%223%22%20fill%3D%22%23dc572e%22%2F%3E%3Crect%20x%3D%2218%22%20y%3D%226%22%20width%3D%226%22%20height%3D%223%22%20fill%3D%22%23722913%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%229%22%20width%3D%223%22%20height%3D%223%22%20fill%3D%22%23722913%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%229%22%20width%3D%223%22%20height%3D%223%22%20fill%3D%22%23dc572e%22%2F%3E%3Crect%20x%3D%226%22%20y%3D%229%22%20width%3D%2212%22%20height%3D%223%22%20fill%3D%22%23f4e7da%22%2F%3E%3Crect%20x%3D%2218%22%20y%3D%229%22%20width%3D%223%22%20height%3D%223%22%20fill%3D%22%23dc572e%22%2F%3E%3Crect%20x%3D%2221%22%20y%3D%229%22%20width%3D%223%22%20height%3D%223%22%20fill%3D%22%23722913%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2212%22%20width%3D%226%22%20height%3D%223%22%20fill%3D%22%23722913%22%2F%3E%3Crect%20x%3D%226%22%20y%3D%2212%22%20width%3D%223%22%20height%3D%223%22%20fill%3D%22%23dc572e%22%2F%3E%3Crect%20x%3D%229%22%20y%3D%2212%22%20width%3D%226%22%20height%3D%223%22%20fill%3D%22%23f4e7da%22%2F%3E%3Crect%20x%3D%2215%22%20y%3D%2212%22%20width%3D%223%22%20height%3D%223%22%20fill%3D%22%23dc572e%22%2F%3E%3Crect%20x%3D%2218%22%20y%3D%2212%22%20width%3D%226%22%20height%3D%223%22%20fill%3D%22%23722913%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2215%22%20width%3D%229%22%20height%3D%223%22%20fill%3D%22%23722913%22%2F%3E%3Crect%20x%3D%229%22%20y%3D%2215%22%20width%3D%226%22%20height%3D%223%22%20fill%3D%22%23dc572e%22%2F%3E%3Crect%20x%3D%2215%22%20y%3D%2215%22%20width%3D%229%22%20height%3D%223%22%20fill%3D%22%23722913%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2218%22%20width%3D%2224%22%20height%3D%223%22%20fill%3D%22%23e37959%22%2F%3E%3C%2Fsvg%3E");
    interpolate-size: allow-keywords;
    margin: 0;
    font-family: 'Readex Pro', system-ui, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    overflow-x: clip;
    font-variation-settings: 'HEXP' 0;
    -webkit-text-size-adjust: 100%;
}
html:has(body.ae-page) { scroll-behavior: smooth; }
/* Below 1024px the WhatsApp bar sits at the bottom: keep focused controls above it. */
@media (max-width: 1023px) { html:has(body.ae-page) { scroll-padding-bottom: 96px; } }
/* The theme forces its own Arabic font with !important on [dir="rtl"] body. */
html[dir="rtl"] body.ae-page { font-family: 'Readex Pro', system-ui, sans-serif !important; }
body.ae-page--ar { font-size: 1.125rem; line-height: 1.85; }

/* Base rules sit inside :where() (no specificity): this file is unlayered, so it
   already beats the theme's layered Tailwind base, and every block class wins over it. */
:where(body.ae-page) *, :where(body.ae-page) *::before, :where(body.ae-page) *::after { box-sizing: border-box; }
:where(body.ae-page) :where(img, svg) { display: block; max-width: 100%; }
:where(body.ae-page) :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure) { margin: 0; padding: 0; }
:where(body.ae-page) :where(ul, ol) { list-style: none; }
:where(body.ae-page) a { color: inherit; }
:where(body.ae-page) button { font: inherit; }
:where(body.ae-page) bdi { unicode-bidi: isolate; }

:where(body.ae-page) :where(h1, h2) { font-weight: 600; letter-spacing: -0.02em; }
:where(body.ae-page) h2 {
    font-size: clamp(1.875rem, 1.3rem + 2.3vw, 3rem);
    line-height: 1.08;
    color: var(--maroon);
    font-variation-settings: 'HEXP' 18;
    max-width: 22ch;
    text-wrap: balance;
}
:where(body.ae-page) h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 600; }
:where(body.ae-page) h4 { font-size: 1rem; line-height: 1.4; font-weight: 600; }
:where(body.ae-page--ar) :where(h1, h2, h3) { letter-spacing: 0; line-height: 1.35; }

/* Links inside running text stay recognisable (underlined); buttons are not links here.
   The theme sets `a { text-decoration: none !important }` in its "base" layer; an
   !important rule in the earlier "theme" layer is the one place that outranks it. */
@layer theme {
    body.ae-page :is(p, li, dd) a:not(.ae-btn) { text-decoration: underline 1px !important; }
}
:where(body.ae-page :is(p, li, dd)) a:where(:not(.ae-btn)) { color: var(--ember-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.ae-wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.ae-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ae-skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 8px; }
.ae-skip:focus { top: 12px; }
.ae-nw { white-space: nowrap; }

/* The outline follows each control's own corners (pills stay pills). */
body.ae-page :focus-visible { outline: 3px solid var(--ember-text); outline-offset: 3px; }
/* On dark sections the focus ring is light. */
body.ae-page .ae-dark :focus-visible, body.ae-page .ae-dark:focus-visible { outline-color: #f6b49c; }

/* Icons */
.ae-ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ae-ic--fill { fill: currentColor; stroke: none; }

/* Dirham sign (CBUAE 2025): before the number, the digits' height, never
   stretched, never next to "AED", follows the text direction. */
.ae-money { display: inline-flex; align-items: baseline; gap: .14em; white-space: nowrap; }
.ae-dh { height: .74em; width: auto; flex: none; fill: currentColor; }
.ae-money__n { font-variant-numeric: tabular-nums; }

/* Buttons */
.ae-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 22px; border-radius: 999px;
    font-weight: 600; font-size: 1rem; line-height: 1.25; text-decoration: none;
    border: 1.5px solid transparent; cursor: pointer;
    transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.ae-btn:active { transform: translateY(1px); }
.ae-btn--wa { background: var(--wa); color: #fff; }
.ae-btn--wa:hover { background: var(--wa-2); }
.ae-btn--lg { min-height: 56px; padding: 15px 28px; font-size: 1.0625rem; }
.ae-btn--sm { min-height: 44px; padding: 8px 16px; font-size: .9375rem; }
.ae-btn--block { width: 100%; }
.ae-btn--light { background: #fff; color: var(--maroon); }
.ae-btn--light:hover { background: #fbeee8; }
.ae-btn--outline { border-color: var(--wa); color: var(--wa); background: transparent; }
.ae-btn--outline:hover { background: var(--wa); color: #fff; }
.ae-btn--ghost-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.ae-btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
/* The main booking button on light backgrounds (the form). */
.ae-btn--brand { background: var(--maroon); color: #fff; }
.ae-btn--brand:hover { background: #5c200f; }

/* A section's booking buttons: the form first, WhatsApp beside it (softopia_ae_cta_pair). */
.ae-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ae-cta--stack { flex-direction: column; align-items: stretch; }
@media (max-width: 479px) { .ae-cta { flex-direction: column; align-items: stretch; } .ae-cta .ae-btn { width: 100%; } }

/* Sadu weave bands */
.ae-sadu { height: 38px; background-image: var(--sadu-sm); background-repeat: repeat-x; background-size: auto 100%; }

/* Sections */
.ae-sec { padding-block: clamp(64px, 8vw, 120px); }
.ae-sec__head { margin-bottom: clamp(32px, 4vw, 52px); }
.ae-sec__intro { margin-top: 18px; font-size: 1.125rem; color: var(--muted); max-width: 62ch; }
.ae-sec__notes { margin-top: 24px; display: grid; gap: 8px; font-size: .875rem; color: var(--muted); max-width: 84ch; }

@media (prefers-reduced-motion: reduce) {
    html:has(body.ae-page) { scroll-behavior: auto; }
    body.ae-page *, body.ae-page *::before, body.ae-page *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* ---------- Motion (owner approved 2026-11-04; docs/superpowers/specs/2026-11-04-uae-motion-design.md) ----------
   On top of market-motion.css: the page's tokens for it, the form's first question in the booking card,
   the logos strip and the signature scene (the 10-day calendar weaves day by day). */
body.ae-page {
    --mm-ink: var(--ink);
    --mm-muted: var(--muted);
    --mm-accent: var(--maroon);
    --mm-soft: var(--sand);
    --mm-line: var(--line);
    --mm-line-strong: #d8c6b8;
    --mm-focus: var(--ember);
    --mm-card: #fff;
}

/* The first form question sits in the booking card, above the buttons */
body.ae-page .ae-book__card .mm-q { margin-block-end: 18px; box-shadow: 0 0 0 1px var(--line); }

/* Logos strip */
body.ae-page .mm-strip { --mm-strip-gap: 0px; }
body.ae-page .mm-strip .ae-logos__list > li { width: 200px; }

/* ---- signature: two weeks, woven ---- */
.mm-weave { position: relative; }
.mm-weave--pin .mm-weave__g { position: sticky; z-index: 1; transform: scale(var(--ws, 1)); transform-origin: 50% 0; }
/* 16 -> 9 px a row; ae-motion.js counts on it (FIT_SAVE). */
.mm-weave.mm-weave--fit .ae-gantt__row { padding-block: 9px; }
html.mm .mm-weave .ae-gantt__bar {
    clip-path: none !important;
    transition: none !important;
    transform: scaleX(var(--f, 0));
    transform-origin: 0 50%;
    will-change: transform;
}
html.mm[dir="rtl"] .mm-weave .ae-gantt__bar { transform-origin: 100% 50%; }
html.mm .mm-weave .ae-gantt__row .ae-gantt__txt { opacity: .5; transition: opacity .35s; }
html.mm .mm-weave .ae-gantt__row.mm-on .ae-gantt__txt,
html.mm .mm-weave .ae-gantt__row.mm-done .ae-gantt__txt { opacity: 1; }
html.mm .mm-weave .ae-gantt__days span { opacity: .45; transition: opacity .3s; }
html.mm .mm-weave .ae-gantt__days span.mm-lit { opacity: 1; }
html.mm .mm-weave .ae-gantt__flag {
    opacity: 0;
    transform: translate3d(0, 12px, 0) scale(.92);
    transition: opacity .35s, transform .5s cubic-bezier(.3, 1.5, .5, 1);
}
html.mm .mm-weave .ae-gantt__flag.mm-flag-on { opacity: 1; transform: none; }
.mm-weave__g { position: relative; }
.mm-cursor {
    position: absolute;
    left: 0;
    width: 2px;
    margin-left: -1px;
    pointer-events: none;
    background: linear-gradient(var(--clay), rgb(227 121 89 / 0));
    opacity: 0;
    transition: opacity .3s;
    z-index: 2;
}
.mm-cursor i {
    position: absolute;
    top: -6px;
    left: -5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--clay);
    box-shadow: 0 0 0 5px rgb(227 121 89 / .25);
}
@media (prefers-reduced-motion: reduce) { .mm-cursor { display: none; } }
