/* =========================================================
   MANGO Agency — Design Tokens
   Source: mangova.agency (MD3-flavored Tailwind theme)
   ========================================================= */

/* Fonts ----------------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap");

:root {
  /* ---------- Colors (MD3 tokens) ---------- */
  /* Brand / primary is near-black. The brand treats black as the hero. */
  --color-primary:            #000000;
  --color-primary-container:  #3b3b3b;
  --color-on-primary:         #e2e2e2;

  --color-secondary:          #5e5e63;

  /* Surfaces: off-whites with a cool gray tint */
  --color-surface:                    #f9f9fb;
  --color-surface-container-lowest:   #ffffff;
  --color-surface-container-low:      #f3f3f5;
  --color-surface-container:          #eeeef0;
  --color-surface-container-high:     #e8e8ea;

  /* On-surface text */
  --color-on-surface:         #1a1c1d;  /* body / headlines */
  --color-on-surface-variant: #474747;  /* secondary copy */
  --color-outline:            #777777;  /* meta, placeholders */
  --color-outline-variant:    #c6c6c6;  /* borders, dividers */

  --color-error:              #ba1a1a;

  /* Hero / dark mode surfaces (used on the landing hero and CTA blocks) */
  --color-inverse-surface:    #000000;
  --color-inverse-on-surface: #ffffff;
  --color-inverse-on-surface-variant: rgba(255,255,255,0.7);
  --color-inverse-outline:    rgba(255,255,255,0.2);

  /* Semantic aliases used throughout the invoice + kit */
  --fg-1: var(--color-on-surface);
  --fg-2: var(--color-on-surface-variant);
  --fg-3: var(--color-outline);
  --bg:   var(--color-surface-container-lowest);
  --bg-alt: var(--color-surface);
  --bg-muted: var(--color-surface-container-low);
  --border: var(--color-outline-variant);
  --border-soft: rgba(198,198,198,0.4); /* outline-variant/40 usage on site */
  --accent: var(--color-primary);

  /* ---------- Type ---------- */
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter", ui-sans-serif, system-ui, sans-serif; /* no separate display face */
  --font-icon: "Material Symbols Outlined";

  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semibold: 600;
  --fw-bold:    700;
  --fw-black:   900;

  --tracking-tight:   -0.025em;
  --tracking-normal:   0em;
  --tracking-wide:     0.025em;
  --tracking-wider:    0.05em;
  --tracking-widest:   0.1em;   /* eyebrow uppercase */
  --tracking-hero:     0.25em;  /* hero eyebrow "FOR CREATORS, BY CREATORS" */

  --leading-none:    1;
  --leading-hero:    1.05;
  --leading-tight:   1.1;
  --leading-snug:    1.15;
  --leading-normal:  1.5;
  --leading-relaxed: 1.625;

  /* Scale (Tailwind aligned) */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;
  --text-7xl:  4.5rem;
  --text-8xl:  6rem;

  /* ---------- Spacing / radius / elevation ---------- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-28: 7rem;
  --space-32: 8rem;

  --radius-sm:  0.375rem;
  --radius-md:  0.5rem;   /* inputs */
  --radius-lg:  0.75rem;  /* buttons, small cards */
  --radius-xl:  1rem;     /* cards */
  --radius-2xl: 1.25rem;  /* large cards, form container */
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.12);
  --shadow-hero: 0 25px 60px rgba(0,0,0,0.18);

  --dur-fast: 150ms;
  --dur: 200ms;
  --dur-slow: 300ms;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Semantic typography classes ---------- */
html { font-family: var(--font-body); color: var(--fg-1); }
body { margin: 0; background: var(--bg); }

.eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--tracking-hero);
  text-transform: uppercase;
  color: rgba(0,0,0,0.5);
}
.eyebrow--light { color: rgba(255,255,255,0.5); }

.label-caps {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--fg-2);
}

h1, .h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: var(--fw-black);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-hero);
  color: var(--fg-1);
  margin: 0;
}
h2, .h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: var(--fw-black);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
  color: var(--fg-1);
  margin: 0;
}
h3, .h3 {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--fg-1);
  line-height: var(--leading-tight);
  margin: 0;
}
h4, .h4 {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--fg-1);
  margin: 0;
}

p, .p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--fg-2);
  margin: 0;
}
.lead {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--fg-2);
}

.mono-num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* Big "revenue" numerals seen across the site */
.numeric-hero {
  font-weight: var(--fw-black);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-none);
  color: var(--fg-1);
  font-variant-numeric: tabular-nums;
}

/* Material Symbols helper */
.material-symbols-outlined {
  font-family: var(--font-icon);
  font-weight: normal;
  font-style: normal;
  font-size: 22px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}
