/* ============================================================
   SONI LABS DESIGN SYSTEM
   Colors + Type tokens
   ============================================================ */

@font-face {
  font-family: "Aeonik";
  src: url("../assets/fonts/Aeonik-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aeonik";
  src: url("../assets/fonts/Aeonik-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aeonik";
  src: url("../assets/fonts/Aeonik-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---------- Brand colors ---------- */
  --soni-red:        #DA241C;       /* primary brand red */
  --soni-red-deep:   #B41912;       /* press / hover */
  --soni-red-soft:   #EFAF96;       /* tint, used in gradients */
  --soni-orange:     #F44D06;       /* gradient pair w/ red */
  --soni-lime:       #CAFF92;       /* accent — used sparingly */

  /* ---------- Neutrals ---------- */
  --ink:             #000000;
  --ink-5:           #383838;       /* secondary text on light */
  --ink-6:           #606060;       /* tertiary text */
  --ink-7:           #A6A6A6;       /* muted text / dividers on light */
  --ink-9:           #DADADA;
  --ink-10:          #E7E7E7;
  --ink-13:          #F3F3F3;       /* primary light surface */
  --paper:           #FFFFFF;
  --night:           #101010;       /* dark section surface */

  /* ---------- Foreground semantic ---------- */
  --fg-on-dark:      var(--paper);

  /* ---------- Radii ---------- */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 999px;

  /* ---------- Type — families ---------- */
  --font-sans: "Aeonik", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-display: "Aeonik", "Helvetica Neue", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* ---------- Type — scale ---------- */
  --t-20:  20px;
  --t-18:  18px;
  --t-16:  16px;
  --t-14:  14px;
  --t-12:  12px;

  --lh-tight:  0.95;
  --lh-base:   1.4;

  --tr-tight:  -0.06em; /* display headings */
  --tr-base:   -0.02em;

  /* ---------- Motion ---------- */
  --ease-out:    cubic-bezier(.16, 1, .3, 1);   /* Apple-style outro */
  --ease-in-out: cubic-bezier(.4, 0, .2, 1);
  --dur-1:  120ms;
  --dur-2:  200ms;
  --dur-3:  320ms;
  --dur-4:  500ms;
}
