/* ============================================================
   UNIQUE — Brand System
   Premium light-editorial palette. Deep navy ink, Unique red,
   warm paper. Subtle Gambian flag accents (blue / green).
   Shared across: Website · Customer PWA · Admin Portal
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Hanken+Grotesk:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  color-scheme: only light;
  /* ---- Surfaces ---- */
  --paper:      #FAFAF7;   /* warm off-white base */
  --paper-2:    #F3F1EA;   /* section tint */
  --paper-3:    #ECE9DF;   /* deeper tint / chips */
  --card:       #FFFFFF;
  --navy:       #0A2540;   /* dark brand surface */
  --navy-2:     #0B2E50;
  --navy-deep:  #061726;   /* near-black navy */

  /* ---- Ink ---- */
  --ink:        #0B1F33;   /* primary text */
  --ink-soft:   #44566B;   /* secondary text */
  --ink-faint:  #7A8a9A;   /* tertiary / captions */
  --on-navy:    #EAF1F8;   /* text on dark */
  --on-navy-soft:#9FB4C9;

  /* ---- Brand accents ---- */
  --red:        #E63946;   /* primary accent / Unique red */
  --red-deep:   #C42B38;
  --red-soft:   #FBE7E9;
  --blue:       #1D6FB8;   /* Gambia flag blue */
  --blue-soft:  #E4EFF8;
  --green:      #119A6B;   /* Gambia flag green */
  --green-soft: #E2F4EC;
  --gold:       #E9A23B;   /* warm highlight */

  /* ---- Lines & shadow ---- */
  --line:       rgba(11,31,51,0.10);
  --line-2:     rgba(11,31,51,0.16);
  --line-on-navy: rgba(234,241,248,0.14);
  --shadow-sm:  0 1px 2px rgba(6,23,38,.06), 0 1px 1px rgba(6,23,38,.04);
  --shadow-md:  0 8px 24px -10px rgba(6,23,38,.18), 0 2px 6px rgba(6,23,38,.06);
  --shadow-lg:  0 32px 64px -24px rgba(6,23,38,.28), 0 8px 20px -12px rgba(6,23,38,.16);

  /* ---- Type ---- */
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  /* ---- Radius ---- */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv01";
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--red); color: #fff; }

/* ---- Reusable utility primitives ---- */

.u-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
}

.u-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-soft);
}

.u-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s, background .18s, color .18s;
  white-space: nowrap;
  text-decoration: none;
}
.u-btn:active { transform: translateY(1px) scale(.99); }

.u-btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px -10px rgba(230,57,70,.7); }
.u-btn--primary:hover { background: var(--red-deep); box-shadow: 0 14px 28px -12px rgba(230,57,70,.8); transform: translateY(-1px); }

.u-btn--ink { background: var(--ink); color: var(--paper); }
.u-btn--ink:hover { background: #06121f; transform: translateY(-1px); }

.u-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.u-btn--ghost:hover { background: var(--card); border-color: var(--ink); }

.u-btn--lg { padding: 17px 30px; font-size: 16px; }

/* The Unique logomark animates its signal dot on hover via parent .u-logo:hover */
.u-logo { display: inline-flex; align-items: center; gap: 11px; }
.u-logo svg { display: block; }
.u-logo .u-word {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 23px;
  color: var(--ink);
}
.u-logo .u-word b { color: var(--red); font-weight: 700; }

/* scrollbars in panels */
.u-scroll::-webkit-scrollbar { width: 10px; height: 10px; }
.u-scroll::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 99px; border: 3px solid transparent; background-clip: padding-box; }
.u-scroll::-webkit-scrollbar-track { background: transparent; }

/* generic card */
.u-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

/* dotted/grid texture helper */
.u-grid-bg {
  background-image: radial-gradient(rgba(11,31,51,.06) 1px, transparent 1px);
  background-size: 22px 22px;
}

@keyframes u-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.82); }
}
@keyframes u-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes u-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes u-slideup { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes u-pop { 0% { transform: scale(.8); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes u-spin { to { transform: rotate(360deg); } }
@keyframes u-slidein { from { transform: translateX(100%); } to { transform: translateX(0); } }
