/* =============================================================
    | Tred-Mark Communications | Developed by Javorsky Studio |
    | Viewing File: ~/shared/css/tokens.css            |
    ---      Styling/CSS File for GLOBAL ROOT ELEMENTS      ---
   ============================================================= */

/* =========================================================
   00. Design Tokens
   ========================================================= */

:root{
  --bg-0:#070a12;
  --bg-1:#0b1220;
  --bg-2:#071a2a;

  --text:#eaf0ff;
  --muted:#aab7d6;

  --brand:#4aa3ff;
  --brand-2:#2fe3c2;

  --nav-dropdown-bg: rgba(7,10,18,.82);

  --border:rgba(255,255,255,.10);
  --border-2:rgba(255,255,255,.16);

  --shadow: 0 18px 60px rgba(0,0,0,.55);

  --container: 1120px;
  --radius: 16px;

  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 72px;

  --header-offset: 84px;

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

/* =========================================================
   01. Reset / Base
   ========================================================= */

*{ box-sizing:border-box; }

html,
body{
  min-height:100%;
}

html{
  scroll-behavior:smooth;
  scrollbar-gutter:stable;
}

body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  overflow-x:hidden;
  background:var(--bg-0);
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

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

button,
input,
textarea,
select{
  font:inherit;
}

/* =========================================================
   02. Sitewide Scrollbar Theme
   ========================================================= */

*{
  scrollbar-width:thin;
  scrollbar-color:rgba(74,163,255,.45) rgba(7,10,18,.65);
}

::-webkit-scrollbar{
  width:12px;
  height:12px;
}

::-webkit-scrollbar-track{
  background:rgba(7,10,18,.65);
  border-left:1px solid rgba(255,255,255,.06);
}

::-webkit-scrollbar-thumb{
  background:linear-gradient(
    180deg,
    rgba(74,163,255,.55),
    rgba(47,227,194,.35)
  );
  border-radius:999px;
  border:3px solid rgba(7,10,18,.65);
}

::-webkit-scrollbar-thumb:hover{
  background:linear-gradient(
    180deg,
    rgba(74,163,255,.75),
    rgba(47,227,194,.55)
  );
}

/* =========================================================
   03. Shared Layout Helpers
   ========================================================= */

.container{
  width:min(var(--container), calc(100% - 2*var(--space-4)));
  margin-inline:auto;
}

.section{ padding:var(--space-7) 0; }
.section-slim{ padding:var(--space-6) 0; }

.muted{ color:var(--muted); }

.eyebrow{
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:12px;
  color:var(--muted);
  font-family:var(--mono);
}
