/* ==========================================================================
   Tapansoft design tokens
   Edit this file to retune the brand. Everything else reads from these.
   Blues were sampled from assets/Tapansoft Logo.jpg:
     wordmark navy  #05355E   darkest edge #052743
     icon mid blue  #3F86B0   brightest    #2996CF
     tagline grey   #69717A
   ========================================================================== */
:root {
  /* ---- Brand blues ------------------------------------------------------ */
  --blue-950: #052743;
  --blue-900: #05355E;   /* primary */
  --blue-800: #0A4A7C;
  --blue-700: #0E5A8A;
  --blue-500: #3F86B0;
  --blue-400: #2996CF;
  --blue-300: #6FB6E0;
  --blue-100: #D6E6F3;
  --blue-50:  #EAF2FA;   /* very light tint */

  /* ---- Greys -------------------------------------------------------------- */
  --ink:      #121826;   /* near-black text */
  --slate:    #69717A;   /* secondary text */
  --grey-50:  #F8F9FA;
  --grey-100: #F1F3F5;   /* light grey sections */
  --grey-200: #E5E7EB;   /* borders */
  --grey-300: #D1D5DB;
  --charcoal: #151821;   /* CTA band */
  --charcoal-deep: #0F1218; /* footer */
  --white:    #FFFFFF;

  /* ---- Card tints (blue & grey family, cycled on product cards) ------------ */
  --tint-blue:  #EAF2FA;
  --tint-steel: #E9EEF3;
  --tint-sky:   #E3F0F9;
  --tint-grey:  #F1F3F5;

  /* ---- Semantic ------------------------------------------------------------ */
  --color-primary:       var(--blue-900);
  --color-primary-hover: var(--blue-950);
  --color-accent:        var(--blue-400);
  --color-text:          var(--ink);
  --color-text-muted:    var(--slate);
  --color-bg:            var(--white);
  --color-bg-alt:        var(--grey-100);
  --color-border:        var(--grey-200);
  --color-dark:          var(--charcoal);
  --color-success:       #1F7A4D;
  --color-error:         #B42318;
  --color-warning:       #B54708;

  /* ---- Typography ---------------------------------------------------------- */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-h1:         clamp(2.125rem, 2.4vw + 1.5rem, 3rem);     /* 34 -> 48px */
  --fs-h2:         clamp(1.625rem, 1vw + 1.35rem, 2rem);      /* 26 -> 32px */
  --fs-h3:         1.25rem;                                    /* 20px */
  --fs-card-title: 1.125rem;                                   /* 18px */
  --fs-lead:       clamp(1.0625rem, .4vw + .95rem, 1.25rem);  /* 17 -> 20px */
  --fs-body:       1rem;
  --fs-sm:         .9375rem;
  --fs-xs:         .8125rem;
  --fs-eyebrow:    .8125rem;
  --fs-display:    clamp(2.75rem, 6vw, 5.5rem);               /* technology band words */

  --lh-tight: 1.08;
  --lh-snug:  1.3;
  --lh-body:  1.6;
  --ls-tight: -0.02em;
  --ls-eyebrow: 0.08em;

  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;

  /* ---- Shape & spacing ----------------------------------------------------- */
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-pill: 999px;
  --panel-inset: 8px;              /* margin around the hero / band panels */

  --container:        1200px;
  --container-narrow: 760px;
  --gutter:           clamp(16px, 4vw, 40px);
  --section-y:        clamp(64px, 9vw, 128px);
  --grid-gap:         clamp(16px, 2vw, 24px);

  /* ---- Navigation ---------------------------------------------------------- */
  --nav-h:      60px;
  --nav-top:    16px;
  --nav-blur:   20px;
  --nav-bg:     rgba(12, 18, 30, 0.55);
  --nav-bg-solid: rgba(12, 18, 30, 0.78);
  --nav-border: rgba(255, 255, 255, 0.12);
  --nav-radius: 100px;

  /* ---- Elevation ----------------------------------------------------------- */
  --shadow-card:  0 1px 2px rgba(18, 24, 38, 0.04), 0 10px 30px -14px rgba(5, 53, 94, 0.18);
  --shadow-hover: 0 2px 4px rgba(18, 24, 38, 0.05), 0 22px 44px -18px rgba(5, 53, 94, 0.30);
  --shadow-nav:   0 10px 40px -12px rgba(5, 20, 40, 0.45);

  /* ---- Motion -------------------------------------------------------------- */
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast:  180ms;
  --dur:       650ms;
}
