/* MissionFit's calm identity. Generated from tokens.json ("next") by build.mjs; edit tokens.json, not this file.
   Applies inside .mf-next only, in the light or dark theme of the page (OS setting, or data-theme on <html>).
   Breakpoints (media queries can't read variables): phone 640px, tablet 960px, desktop 1280px. */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/figtree-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./fonts/figtree-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./fonts/figtree-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/figtree-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

.mf-next {
  --mf-surface-100: #f7f5f1;
  --mf-surface-200: #ffffff;
  --mf-ink: #262a3d;
  --mf-ink-muted: #5b6076;
  --mf-rule: #e5e1d8;
  --mf-brand: #5560cf;
  --mf-on-brand: #ffffff;
  --mf-brand-soft: #eaecfb;
  --mf-done: #1c7557;
  --mf-done-soft: #dcf3e8;
  --mf-needs: #8f5300;
  --mf-needs-soft: #fdebc8;
  --mf-danger: #b8352f;
  --mf-danger-soft: #fbe3e1;
  --mf-shadow: 0 1px 2px rgb(38 42 61 / 0.05), 0 8px 24px -12px rgb(38 42 61 / 0.14);
  --mf-font-sans: "Figtree", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --mf-text-caption: 13px;
  --mf-leading-caption: 18px;
  --mf-text-small: 14px;
  --mf-leading-small: 20px;
  --mf-text-body: 16px;
  --mf-leading-body: 24px;
  --mf-text-lead: 18px;
  --mf-leading-lead: 26px;
  --mf-text-title: 22px;
  --mf-leading-title: 28px;
  --mf-text-heading: 26px;
  --mf-leading-heading: 32px;
  --mf-text-display: 32px;
  --mf-leading-display: 40px;
  --mf-space-1: 4px;
  --mf-space-2: 8px;
  --mf-space-3: 12px;
  --mf-space-4: 16px;
  --mf-space-5: 24px;
  --mf-space-6: 32px;
  --mf-space-7: 48px;
  --mf-space-8: 64px;
  --mf-radius-sm: 12px;
  --mf-radius-md: 16px;
  --mf-radius-lg: 24px;
  --mf-radius-pill: 999px;
  --mf-touch: 44px;
  --mf-duration-fast: 150ms;
  --mf-duration: 200ms;
  --mf-ease: cubic-bezier(0.2, 0, 0, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mf-next {
    --mf-surface-100: #1a2030;
    --mf-surface-200: #232a3c;
    --mf-ink: #e8eaf2;
    --mf-ink-muted: #a9afc4;
    --mf-rule: #353d54;
    --mf-brand: #a3adf7;
    --mf-on-brand: #1a2030;
    --mf-brand-soft: #2d3454;
    --mf-done: #74d6b0;
    --mf-done-soft: #1f3b35;
    --mf-needs: #f2bb66;
    --mf-needs-soft: #40351f;
    --mf-danger: #f59189;
    --mf-danger-soft: #47282c;
    --mf-shadow: 0 1px 2px rgb(0 0 0 / 0.2), 0 8px 24px -12px rgb(0 0 0 / 0.5);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] .mf-next {
  --mf-surface-100: #1a2030;
  --mf-surface-200: #232a3c;
  --mf-ink: #e8eaf2;
  --mf-ink-muted: #a9afc4;
  --mf-rule: #353d54;
  --mf-brand: #a3adf7;
  --mf-on-brand: #1a2030;
  --mf-brand-soft: #2d3454;
  --mf-done: #74d6b0;
  --mf-done-soft: #1f3b35;
  --mf-needs: #f2bb66;
  --mf-needs-soft: #40351f;
  --mf-danger: #f59189;
  --mf-danger-soft: #47282c;
  --mf-shadow: 0 1px 2px rgb(0 0 0 / 0.2), 0 8px 24px -12px rgb(0 0 0 / 0.5);
  color-scheme: dark;
}

/* Reduced motion: nothing moves, the final state shows at once. From the OS, or the app's own setting (data-motion on <html>). */
@media (prefers-reduced-motion: reduce) {
  .mf-next {
    --mf-duration-fast: 0ms;
    --mf-duration: 0ms;
  }
}

:root[data-motion="reduce"] .mf-next {
  --mf-duration-fast: 0ms;
  --mf-duration: 0ms;
}

/* Focus ring */
.mf-next :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--mf-brand); outline-offset: 2px; }
