/* ============================================================
   BARIPANEL — theme tokens & base (shared)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&family=Barlow:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* surfaces — cool near-black */
  --bg:        #0d0e10;
  --bg-2:      #121316;
  --surface:   #16181c;
  --surface-2: #1c1f24;
  --surface-3: #22262c;
  --line:      rgba(255,255,255,.09);
  --line-2:    rgba(255,255,255,.14);

  /* text */
  --ink:       #edeef0;
  --ink-soft:  #b6bbc1;
  --ink-mute:  #7b828b;
  --ink-faint: #565c64;

  /* brand */
  --blue:      #1559a8;   /* BARIPANEL wordmark blue */
  --blue-2:    #2f7fd1;
  --blue-ink:  #6fb0ec;
  --red:       #d11f26;   /* accent / CTA */
  --red-2:     #e8403f;
  --red-ink:   #ff6b66;

  --accent:    var(--blue);   /* swappable accent (Tweaks) — default = logo blue */
  --hero-img-opacity: .5;

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body:    'Barlow', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --r:   3px;
  --r-2: 6px;
  --maxw: 1240px;
  --shadow: 0 18px 50px -20px rgba(0,0,0,.7);
}

* { box-sizing: border-box; }

/* ---------- Light theme (white + logo blue) ---------- */
[data-theme="light"] {
  --bg:        #ffffff;
  --bg-2:      #f3f6fa;
  --surface:   #ffffff;
  --surface-2: #eef2f7;
  --surface-3: #e1e8f0;
  --line:      rgba(16,40,72,.12);
  --line-2:    rgba(16,40,72,.2);
  --ink:       #0f1b2d;
  --ink-soft:  #41506a;
  --ink-mute:  #6a778b;
  --ink-faint: #98a4b4;
  --blue-ink:  #1559a8;
  --hero-img-opacity: .92;
  --shadow: 0 18px 50px -24px rgba(16,40,72,.28);
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.02; margin: 0; letter-spacing: -.01em; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 28px; }

/* kicker — mono technical label */
.kicker {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue-ink);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.kicker::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  display: inline-block;
}

/* hazard stripe accent bar */
.hazard {
  background-image: repeating-linear-gradient(45deg, var(--accent) 0 14px, #0d0e10 14px 28px);
}

/* buttons */
.btn {
  --b: var(--accent);
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-display);
  font-weight: 700; font-size: .9rem;
  letter-spacing: .02em; text-transform: uppercase;
  padding: 14px 24px;
  background: var(--b); color: #fff;
  border: 1px solid var(--b);
  border-radius: var(--r);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn svg { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(209,31,38,.6); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--surface-2); box-shadow: none; border-color: var(--ink-mute); }
.btn--blue { --b: var(--blue); }
.btn--blue:hover { box-shadow: 0 12px 26px -10px rgba(21,89,168,.7); }

/* spec / data utilities */
.mono { font-family: var(--font-mono); }
.eyebrow { font-family: var(--font-mono); font-size:.7rem; letter-spacing:.2em; text-transform:uppercase; color: var(--ink-mute); }

/* scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2f36; border-radius: 6px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #3a414a; }
