/* =============================================================================
   Decorous design tokens (BUILD-SPEC section 3). Ink navy, their blue as the one accent, a cool paper ground.
   Everything is a viewport-width unit on a 2400px design canvas (px(n) = n / 2400 x 100vw), so type, space and
   motion distances scale together. The one switch is at 1100px: above it the vw formulas, at or below it min(Xvw, Ypx).
   Token NAMES are kept from the base build so every shared rule still reads them: --navy is the INK (#0B2340), --ivory is the
   cool PAPER (#F3F5F8), --stone is the panel tint, --accent is Decorous blue. Their green, orange and yellow are NOT tokens:
   they live in the logo mark and in the 2 to 6 px .tick accents only.
   ========================================================================== */

@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/inter-tight-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/inter-tight-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/inter-tight-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); }

:root {
  /* colour */
  --navy: #0b2340;          /* ink: all text, the dark panels, marks */
  --navy-deep: #061528;     /* the dim mask under a mega menu */
  --ivory: #f3f5f8;         /* the page ground, a cool paper */
  --stone: #e8ecf2;         /* panels, footer, pinned ground */
  --hair: #d5dbe4;          /* hairlines on paper */
  --accent: #0078d2;        /* Decorous blue: the headline dot, buttons, the active index, links on hover. Never small text on paper (4.2:1) */
  --accent-deep: #005fa8;   /* the same blue where it must carry text on paper (6.2:1) */
  --quiet: #4a5b70;         /* secondary text, clears 4.5:1 on paper and on stone */
  --tick-green: #5ab43c;    /* their logo colours, ONLY as 2 to 6 px ticks (.tick), never a fill or a large area */
  --tick-orange: #f0783c;
  --tick-yellow: #f0d23c;
  --mark-big: rgba(11, 35, 64, .3);   /* the big service mark behind the pinned title (the title must read over it) */
  --ground: var(--ivory);
  --ink: var(--navy);
  --line-hair: rgba(11, 35, 64, .16);   /* header and menu hairline */

  /* type families (the base build's fonts, kept) */
  --display: "Inter Tight", Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;

  /* easings */
  --expo-out: cubic-bezier(.16, 1, .3, 1);
  --expo-in-out: cubic-bezier(.87, 0, .13, 1);
  --p2-out: cubic-bezier(.5, 1, .89, 1);

  /* geometry */
  --radius: .417vw;
  --radius2: .625vw;
  --space: .833vw;
  --head-h: 5vw;
  --pad-x: 2.5vw;

  /* aliases the shared parts read */
  --tint: var(--stone);
  --line: rgba(11, 35, 64, .45);
  --line-soft: var(--hair);
  --ink-invert: var(--ivory);
  --ink-quiet: var(--quiet);
  --r-card: .625vw;
  --r-pill: 999px;
  --shadow-chip: 0 2px 4px rgba(11, 35, 64, .08);
  --shadow-float: 0 3px 8px rgba(11, 35, 64, .2);
  --err: #b3261e;
  --demo-top: 74px;
  --bp-nav: 1100px;

  /* arc ring: circle 90vw, items 10vw, ring radius = circle/2 + item/2 */
  --cw: 90vw;
  --iw: 10vw;
}

@media (max-width: 1100px) {
  :root {
    --radius: min(1.667vw, 6.6px);
    --head-h: min(16.667vw, 66.15px);
    --pad-x: min(5vw, 19.845px);
    --cw: min(194.444vw, 771.75px);
    --iw: min(25vw, 99px);
  }
}
