/* ITPU — Spacing, radius, shadow & layout tokens
 * The guideline is print-first (measures in mm) and geometric: square corners
 * everywhere except the fully-circular logo badge. Radii are therefore minimal.
 * Clear-space rule around the logo = 3x the logo's "x" unit (documented on the
 * "Свободное поле" pages) — encoded here as --logo-clear-space.
 */

:root {
  /* Spacing scale (4px base) */
  --space-0:  0;
  --space-1:  0.25rem;  /* 4  */
  --space-2:  0.5rem;   /* 8  */
  --space-3:  0.75rem;  /* 12 */
  --space-4:  1rem;     /* 16 */
  --space-5:  1.5rem;   /* 24 */
  --space-6:  2rem;     /* 32 */
  --space-7:  2.5rem;   /* 40 */
  --space-8:  3rem;     /* 48 */
  --space-9:  4rem;     /* 64 */
  --space-10: 5rem;     /* 80 */
  --space-12: 7.5rem;   /* 120 */

  /* Radius — the brand is square-cornered; keep these restrained */
  --radius-none: 0;
  --radius-sm:   3px;
  --radius-md:   6px;
  --radius-lg:   10px;
  --radius-pill: 999px;
  --radius-round:50%;   /* the round logo badge */

  /* Elevation — soft, low-contrast; the guideline forbids heavy logo shadows,
   * so shadows are reserved for UI surfaces, kept subtle. */
  --shadow-none: none;
  --shadow-sm:  0 1px 2px rgba(38, 56, 82, 0.06);
  --shadow-md:  0 4px 16px rgba(38, 56, 82, 0.08);
  --shadow-lg:  0 12px 32px rgba(38, 56, 82, 0.12);

  /* Borders */
  --border-width: 1px;
  --border-hairline: 1px solid var(--border-default);

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1398px;   /* the guideline artboard width */
  --gutter: var(--space-6);

  /* Logo clear space (3x rule) */
  --logo-clear-space: 3; /* @kind other */

  /* Motion — the brand is calm; simple fades/short eases, no bounce */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);   /* @kind other */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);  /* @kind other */
  --dur-fast:   140ms; /* @kind other */
  --dur-normal: 220ms; /* @kind other */
  --dur-slow:   360ms; /* @kind other */
}
