/* The island pages (/join, /login, /account, /products, /app). The components
   carry their own styles, written for Framer's page, so this file gives them
   that page back:
   1. Framer's container: the page width, and at least the viewport's height
      on the four member pages.
   2. Framer's base instead of the site's (base.css and motion.css still load
      on every page, for the fonts): the element defaults Framer leaves to the
      browser, and the few site classes whose names the components also use
      (mz-btn, mz-footer, mz-corner, mz-badge, mz-plan*, mz-track) reverted.
      The resets carry the specificity of the site rule they undo and load
      after it; the components' own rules (".mz-join .mz-footer") outrank both. */

.mz-island { flex: none; width: 100%; height: auto; position: relative; }
.mz-island--join, .mz-island--login, .mz-island--account, .mz-island--products { min-height: 100vh; }
/* While status.moroccanz.org's notice is open it sets --mz-status-h (its card's
   height and margin): the sign-up and sign-in steps keep their last control
   (Back, the step count, the button) clear of it, on the component's own
   background (its inline padding is 0 at the bottom, hence !important). */
.mz-island--join > *, .mz-island--login > * { padding-bottom: var(--mz-status-h, 0px) !important; }

/* Framer: body, input, textarea, select, button { font-family: sans-serif; font-size: 12px } */
:where(.mz-island) :is(button, input, textarea, select) { font: revert; font-family: sans-serif; font-size: 12px; color: revert; }
:where(.mz-island) a { color: revert; text-decoration: revert; }
:where(.mz-island) :is(ul, ol) { padding: revert; }
:where(.mz-island) :is(img, svg, picture, video, canvas) { display: revert; max-width: revert; }

:where(.mz-island) :is(.mz-btn, .mz-badge, .mz-corner, .mz-footer, .mz-plan, .mz-plan-top, .mz-plan-head, .mz-plan-name, .mz-plan-price, .mz-plan-amount, .mz-plan-per, .mz-plan-pitch, .mz-plan-features, .mz-plan-popular, .mz-track) { all: revert; }
:where(.mz-island) :is(.mz-btn:focus-visible, .mz-corner svg, .mz-plan-features ul, .mz-plan-features li, [data-ticker] .mz-track) { all: revert; }
/* A pseudo-element is not allowed inside :is(), so the homepage card's bullet
   gets its own rule: JoinFlow's feature lines carry a tick instead. */
:where(.mz-island) .mz-plan-features li::before { content: none; }

/* Tifinagh in the components' font stack ("Inter Display", Inter, system-ui):
   on tzm the i18n Worker gave each site family a Noto Sans Tifinagh face for
   the Tifinagh range (LOCALE_FONT_CSS). Measured on live tzm.moroccanz.org
   /join (CDP platform fonts): Tifinagh at weights 400 and 500 renders in Noto,
   at 600 in the system's sans-serif (DejaVu Sans here), since Inter Display's
   heavier faces carry no Tifinagh. The same here: Noto faces in Inter Display
   at 400 and 500 only, and no "Inter" alias (the site declares no other Inter
   face, so one would catch every weight). */
@font-face { font-family: "Inter Display"; font-weight: 400; src: url("/fonts/noto-sans-tifinagh-400.woff2") format("woff2"); unicode-range: U+2D30-2D7F, U+25CC, U+200C-200D; font-display: swap; }
@font-face { font-family: "Inter Display"; font-weight: 500; src: url("/fonts/noto-sans-tifinagh-400.woff2") format("woff2"); unicode-range: U+2D30-2D7F, U+25CC, U+200C-200D; font-display: swap; }
html[lang="tzm"] body { font-feature-settings: normal; }
/* The language strip sits inside the island on /app (after AppWaitlist's
   footer): keep it out of the link revert above, as the switcher did on
   Framer (.mz-langs a { color: inherit; text-decoration: none }). */
.mz-langs a { text-decoration: none; }
.mz-langs .mz-tif { font-family: "Noto Sans Tifinagh", sans-serif; }
