/* moos-tokens.css is now imported for real in app/layout.tsx via the npm package — don't
   re-import it here, that bare specifier doesn't resolve once served as a static file anyway.
   The Google Fonts import also moved to a <link> tag in app/layout.tsx, to match the platform
   pattern used by the other migrated apps and avoid a duplicate font fetch. */

/* ---- Moos brand fonts --------------------------------------------------
   Licensed files live in assets/fonts/. Eames Century Modern only ships
   Light/Regular/Medium/Bold (no separate "book" weight), which is exactly
   what the reference PDF uses: Light for regular display text, Medium for
   bold banner titles — see --font-display-weight-* below.
--------------------------------------------------------------------------- */
@font-face {
  font-family: "Eames Century Modern";
  src: url("../assets/fonts/Eames Century Modern-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Eames Century Modern";
  src: url("../assets/fonts/Eames Century Modern-Regular_2.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Eames Century Modern";
  src: url("../assets/fonts/Eames Century Modern-Regular Italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: "Eames Century Modern";
  src: url("../assets/fonts/Eames Century Modern-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Eames Century Modern";
  src: url("../assets/fonts/Eames Century Modern-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Aptos Narrow";
  src: url("../assets/fonts/Aptos-Narrow.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Aptos Narrow";
  src: url("../assets/fonts/Aptos-Narrow-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: "Aptos Narrow";
  src: url("../assets/fonts/Aptos-Narrow-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Aptos Narrow";
  src: url("../assets/fonts/Aptos-Narrow-Bold-Italic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
}

:root {
  /* Brand */
  --moos-blue: #2819FF;
  --moos-blue-ink: #1c11cc;
  --moos-grey-band: #D9D9D9;
  --moos-grey-line: #b9b9b9;
  --moos-white: #ffffff;
  --moos-black: #0c0c0c;

  /* Fonts: brand name first, close free fallback second (used only if the
     real files above fail to load). Weights match the actual Eames Century
     Modern files: Light for regular display text, Medium for bold titles —
     the reference PDF never uses true 400/700 Eames weights. */
  --font-display: "Eames Century Modern", "Fraunces", Georgia, serif;
  --font-display-weight-regular: 300;
  --font-display-weight-medium: 500;
  --font-body: "Aptos Narrow", "Barlow Condensed", Arial, sans-serif;
  --font-round: "Moos Rounded", "Quicksand", sans-serif;
  --font-round-body: "Moos Rounded Text", "Nunito", sans-serif;

  /* Type scale (px, at 96dpi reference) */
  --step-cover-title: 44px;
  --step-h1: 30px;
  --step-h2: 20px;
  --step-body: 13px;
  --step-small: 10.5px;
  --step-table: 9.5px;


  /* One page margin used everywhere (all layout templates, all formats) so
     text never touches the page edge and every footer sits the same
     distance from the bottom, page after page. --page-footer-h is the
     height reserved above the margin for a footer band. */
  --page-margin: 15mm;
  --page-footer-h: 7mm;
  /* Editor chrome UI tokens (aliased to @moos/design-system v3.1.0 semantic tokens for Light + Dark mode) */
  --font-ui: var(--font-sans, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
  --ui-bg: var(--bg-primary, #f6f7f8);
  --ui-panel: var(--bg-secondary, #ffffff);
  --ui-border: var(--border-color, #e2e5ec);
  --ui-border-hover: var(--border-hover, #cbd2df);
  --ui-text: var(--text-primary, #000000);
  --ui-text-dim: var(--text-muted, #6b7280);
  --ui-text-secondary: var(--text-secondary, #4b5563);
  --ui-accent: var(--moos-blue);
  --ui-subtle: var(--bg-subtle, #eff1f4);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  font-family: var(--font-ui);
  color: var(--ui-text);
  background: var(--ui-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }

/* Moos Brand Logo & Lockup rules are owned by @moos/design-system/moos-tokens.css
   (including .moos-logo-light / .moos-logo-dark auto-swap in Dark Mode). */

