/* Medono Design-System Tokens — zusammengefuehrt fuer eine Anfrage statt fuenf */

/* --- colors.css --- */
/* ── Medono color tokens ─────────────────────────────────────────
   White base. Accents: ink-black and brand blue, as in the logo.
   The signature gradient runs dark navy → steel blue (logo "MED"). */
:root {
  /* Base blues (sampled from logo gradient) */
  --blue-950: #081119;
  --blue-900: #0A1B2A;
  --blue-800: #10304A;
  --blue-700: #17466B;
  --blue-600: #1B598A;
  --blue-500: #1E6FA8;   /* primary brand blue */
  --blue-400: #4C90BE;
  --blue-300: #85B4D4;
  --blue-200: #BAD4E6;
  --blue-100: #E1EDF5;
  --blue-50:  #F2F7FB;

  /* Neutrals (ink black of "ONO" + cool grays) */
  --ink-900: #16181A;
  --ink-700: #33383D;
  --ink-500: #5A6570;
  --ink-400: #7C8894;
  --ink-300: #AEB9C2;
  --ink-200: #D5DCE2;
  --ink-100: #EAEEF1;
  --ink-50:  #F6F8F9;
  --white:   #FFFFFF;

  /* Signature gradients */
  --grad-brand: linear-gradient(120deg, var(--blue-950) 0%, var(--blue-700) 55%, var(--blue-500) 100%);
  --grad-brand-soft: linear-gradient(120deg, var(--blue-50) 0%, var(--white) 60%);
  --grad-ink: linear-gradient(120deg, #000000 0%, var(--blue-800) 60%, var(--blue-500) 100%);

  /* Semantic — surfaces */
  --surface-page: var(--white);
  --surface-raised: var(--white);
  --surface-tint: var(--blue-50);
  --surface-dark: var(--blue-900);

  /* Semantic — text */
  --text-heading: var(--ink-900);
  --text-body: var(--ink-500);
  --text-muted: var(--ink-400);
  --text-on-dark: var(--white);
  --text-on-dark-muted: rgba(255, 255, 255, 0.68);
  --text-accent: var(--blue-500);

  /* Semantic — interactive */
  --accent: var(--blue-500);
  --accent-hover: var(--blue-600);
  --accent-press: var(--blue-700);
  --focus-ring: rgba(30, 111, 168, 0.35);

  /* Semantic — lines */
  --border-subtle: var(--ink-100);
  --border-strong: var(--ink-200);
  --border-on-dark: rgba(255, 255, 255, 0.14);

  /* Feedback */
  --success: #1E8A5B;
  --success-tint: #E6F4EE;
  --warning: #B97A16;
  --warning-tint: #FBF3E3;
  --danger: #C03A3A;
  --danger-tint: #FAEAEA;
}

/* --- typography.css --- */
/* ── Medono typography tokens ────────────────────────────────────
   One sans-serif: Montserrat (geometric, matches the wordmark).
   Display weights are heavy (800/900) like "MED"; body is 400/500. */
:root {
  --font-sans: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Size scale */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-md: 16px;
  --text-lg: 18px;
  --text-xl: 22px;
  --text-2xl: 28px;
  --text-3xl: 36px;
  --text-4xl: 48px;
  --text-5xl: 64px;
  --text-6xl: 84px;

  /* Weights */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;
  --weight-black: 900;

  /* Leading */
  --leading-tight: 1.08;
  --leading-snug: 1.25;
  --leading-normal: 1.55;
  --leading-relaxed: 1.7;

  /* Tracking — display is tight like the wordmark; labels are wide */
  --tracking-display: -0.02em;
  --tracking-normal: 0;
  --tracking-label: 0.14em;

  /* Composite styles */
  --type-display: var(--weight-black) var(--text-5xl)/var(--leading-tight) var(--font-sans);
  --type-h1: var(--weight-extrabold) var(--text-4xl)/var(--leading-tight) var(--font-sans);
  --type-h2: var(--weight-extrabold) var(--text-3xl)/var(--leading-snug) var(--font-sans);
  --type-h3: var(--weight-bold) var(--text-xl)/var(--leading-snug) var(--font-sans);
  --type-body: var(--weight-regular) var(--text-md)/var(--leading-normal) var(--font-sans);
  --type-body-strong: var(--weight-semibold) var(--text-md)/var(--leading-normal) var(--font-sans);
  --type-small: var(--weight-regular) var(--text-sm)/var(--leading-normal) var(--font-sans);
  --type-label: var(--weight-bold) var(--text-xs)/1.2 var(--font-sans); /* + uppercase + --tracking-label */
}

/* --- spacing.css --- */
/* ── Medono spacing & radius tokens ──────────────────────────────
   4px base grid. Generous whitespace = the premium feel. */
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Section rhythm for the one-pager */
  --section-pad-y: var(--space-9);
  --content-max: 1200px;
  --content-pad-x: var(--space-6);

  /* Radii — clean, moderate; pills for buttons/badges */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
}

/* --- effects.css --- */
/* ── Medono shadow, border & motion tokens ───────────────────────
   Shadows are soft and blue-tinted; motion is calm and precise. */
:root {
  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(10, 27, 42, 0.06), 0 1px 4px rgba(10, 27, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(10, 27, 42, 0.08), 0 2px 4px rgba(10, 27, 42, 0.04);
  --shadow-lg: 0 16px 40px rgba(10, 27, 42, 0.12), 0 4px 12px rgba(10, 27, 42, 0.06);
  --shadow-xl: 0 32px 80px rgba(10, 27, 42, 0.18), 0 8px 24px rgba(10, 27, 42, 0.08);
  --shadow-accent: 0 8px 24px rgba(30, 111, 168, 0.28);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1); /* @kind other */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1); /* @kind other */
  --duration-fast: 150ms; /* @kind other */
  --duration-med: 300ms; /* @kind other */
  --duration-slow: 600ms; /* @kind other */
}
