/* FossPress — "Launchpad" direction (fix-it.ai-style modern SaaS; owner-approved q54 2026-08-05)
   Bold gradient hero, rounded cards, punchy sans type, soft depth shadows.
   Replaces the Stillwater serif/minimal theme (see git history for the old values).
   Mirror of design-tokens.json — edit both together.
   Variable NAMES are unchanged on purpose: every generator reads this file at build time,
   so the whole export tier re-themes from here alone. */

:root {
  /* Neutrals */
  --color-bg:          #FFFFFF;
  --color-bg-tint:     #F2F7FA;
  --color-surface:     #F7F9FC;
  --color-surface-alt: #F2F6FA;
  --color-line:        #E7ECF3;

  /* Text */
  --color-ink:      #0B1220;
  --color-ink-soft: #47566A;
  --color-ink-mut:  #5E6E80;  /* keep >=4.5:1 on bg (AA) */

  /* Brand — glacier blue, now with gradient energy + one warm accent */
  --color-primary:      #2C6E88;
  --color-primary-2:    #4FB0D0;
  --color-primary-ink:  #FFFFFF;
  --color-primary-soft: #E4F1F6;
  --color-accent-grad:  #2C6E88;
  --color-accent-2:     #F0994B;   /* warm accent — focal only */

  /* Gradients (the signature of the Launchpad look) */
  --grad-hero: linear-gradient(135deg,#0E2A38 0%,#1C4A5E 45%,#2C6E88 100%);
  --grad-cta:  linear-gradient(135deg,#2C6E88 0%,#4FB0D0 100%);
  --hero-ink:      #FFFFFF;
  --hero-ink-soft: #D6E6EE;
  --hero-eyebrow:  #8FD6EA;

  /* Water swatches (kept for FossKids/back-compat) */
  --color-water-glacier: #2C6E88;
  --color-water-shallow: #5FA6C0;
  --color-water-mist:    #DEEBF0;
  --color-water-ember:   #F0994B;

  /* Status */
  --color-good:      #2C7D6A;
  --color-good-soft: #DCEEEA;
  --color-warn:      #B0762F;
  --color-warn-soft: #F4E9D7;
  --color-bad:       #B04A4A;

  /* Warm marker highlight */
  --color-hl-bg:  #FDEBD7;
  --color-hl-ink: #8A5A24;

  /* Typography — modern sans, heavy display weights */
  --font-display: system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --font-body:    system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --font-kicker:  system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --font-mono:    ui-monospace, "SFMono-Regular", Menlo, monospace;
  --disp-weight:  800;
  --disp-spacing: -.03em;
  --accent-fstyle: normal;

  /* Type scale (rem) */
  --text-xs:   0.72rem;
  --text-sm:   0.85rem;
  --text-base: 0.97rem;
  --text-md:   1.06rem;
  --text-lg:   1.18rem;
  --text-xl:   1.55rem;
  --text-2xl:  2.10rem;
  --text-3xl:  2.60rem;
  --text-4xl:  3.60rem;

  /* Radius — rounded, friendly */
  --radius-sm:   12px;
  --radius-md:   16px;
  --radius-lg:   22px;
  --radius-pill: 999px;

  /* Shadow — soft depth */
  --shadow-sm: 0 1px 2px rgba(11,18,32,.06);
  --shadow-md: 0 12px 30px rgba(11,18,32,.09);
  --shadow-lg: 0 30px 70px rgba(11,18,32,.16);

  /* Rhythm (px) */
  --space-1: 36px;
  --space-2: 44px;
  --space-3: 52px;
  --space-4: 56px;
  --space-5: 64px;
  --space-6: 72px;
  --space-7: 84px;
  --space-hero-top: 96px;
  --space-hero-bot: 108px;

  /* Tracking helpers */
  --track-kicker: .16em;
  --track-label:  .14em;
  --track-status: .10em;
}

/* Ambient motion (legacy names kept so older baked pages don't break) */
@keyframes swFallA { from { transform: translateY(-53px); } to { transform: translateY(0); } }
@keyframes swFallB { from { transform: translateY(-97px); } to { transform: translateY(0); } }
@keyframes swMist  { 0%,100% { transform: translateX(-4%); opacity:.5; } 50% { transform: translateX(4%); opacity:.85; } }
@keyframes swDrop  { 0% { transform: translateY(0); opacity:0; } 12% { opacity:.55; } 82% { opacity:.35; } 100% { transform: translateY(340px); opacity:0; } }
@keyframes swSheet { from { transform: translateY(0); } to { transform: translateY(71px); } }

@media (prefers-reduced-motion: reduce) {
  [style*="swFallA"], [style*="swFallB"], [style*="swMist"], [style*="swDrop"] { animation: none !important; }
}
