/* ONCyber design tokens + base styles. Direction A · Bold SMB. */

:root {
  /* Brand */
  --ink: #0a0b14;
  --ink-2: #15172a;
  --ink-3: #1f2238;
  --paper: #ffffff;
  --paper-2: #f7f6f1;
  --paper-3: #efeee7;
  --line: #e3e1d8;
  --line-2: #d3d1c5;

  /* Text */
  --text: #0a0b14;
  --text-2: #4a4c63;
  --text-3: #7a7d92;
  --text-inv: #ffffff;
  --text-inv-2: #b9bbcd;

  /* Accents — from oncyber.ca logo */
  --violet: #7c3aed;     /* primary brand purple */
  --violet-2: #a100ff;   /* logo gradient start */
  --blue: #2d5cff;       /* logo gradient end */
  --gradient: linear-gradient(95deg, #a100ff 0%, #6b2bff 50%, #2d5cff 100%);
  --gradient-soft: linear-gradient(95deg, rgba(161,0,255,.12), rgba(45,92,255,.12));

  /* Action */
  --action: #0a0b14;
  --action-hover: #1f2238;
  --maple: #d8392c;      /* accent only, used sparingly */
  --highlight: #ffe26a;
  --success: #1f8a5b;

  /* Sizing */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(10, 11, 20, .06);
  --shadow: 0 12px 32px -12px rgba(10, 11, 20, .15);
  --shadow-lg: 0 24px 60px -16px rgba(10, 11, 20, .25);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-size: 16px;
  line-height: 1.55;
}

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

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

/* Typography scale */
.eyebrow {
  font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
}
.eyebrow-light { color: rgba(255,255,255,.5); }

.h-display {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 7vw, 96px);
  line-height: .95;
  letter-spacing: -0.035em;
}
.h-1 {
  font-weight: 800;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.h-2 {
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.h-3 {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.lede {
  font-size: 19px;
  line-height: 1.5;
  color: var(--text-2);
}
.muted { color: var(--text-2); }
.mono { font-family: 'JetBrains Mono', monospace; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s, color .2s, border-color .2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-3); }
.btn-violet { background: var(--violet); color: #fff; }
.btn-violet:hover { background: #6929d6; }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-lg { padding: 16px 26px; font-size: 16px; }

/* Pills / tags */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--line-2);
  background: var(--paper);
}
.pill-violet { background: rgba(124,58,237,.08); color: var(--violet); border-color: rgba(124,58,237,.25); }
.pill-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill-dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: inline-block; }

/* Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 16px;
}
.brand-mark {
  width: 30px;
  height: 30px;
  position: relative;
  border-radius: 50%;
}
.brand-mark::before, .brand-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 4px solid transparent;
}
.brand-mark::before {
  background: conic-gradient(from 200deg, transparent 0%, transparent 50%, var(--violet-2) 50%, var(--blue) 95%, transparent 100%) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  border-color: transparent;
}
.brand-mark::after {
  background: conic-gradient(from 20deg, transparent 0%, transparent 50%, var(--blue) 50%, var(--violet-2) 95%, transparent 100%) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
.brand-inv { color: #fff; }

/* Sections */
section { padding: 96px 0; position: relative; }
section.tight { padding: 64px 0; }
section.dark { background: var(--ink); color: #fff; }
section.dark .muted { color: var(--text-inv-2); }
section.cream { background: var(--paper-2); }
section.paper { background: var(--paper-3); }

/* Cards */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card-dark {
  background: var(--ink-2);
  border-color: rgba(255,255,255,.08);
  color: #fff;
}

/* Grids */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  section { padding: 64px 0; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
}

/* Marquee (vendor carousel) */
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 55s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Floating CTA */
.float-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  background: var(--ink);
  color: #fff;
  padding: 14px 16px 14px 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  width: 320px;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,.08);
}
.float-cta .badge {
  background: var(--highlight);
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 3px 7px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
}
.float-cta .label {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  gap: 2px;
  line-height: 1.2;
}
.float-cta .label b { font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-cta .label span { font-size: 11px; color: var(--text-inv-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-cta .arrow {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--violet); display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.float-cta .close {
  position: absolute; top: -8px; right: -8px;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; color: var(--ink);
  border: none; cursor: pointer; font-size: 12px; line-height: 1;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

/* Footer */
.foot {
  background: var(--ink);
  color: #fff;
  padding: 80px 0 32px;
}
.foot a { color: var(--text-inv-2); }
.foot a:hover { color: #fff; }

/* Anchor offset for sticky header */
:target { scroll-margin-top: 90px; }

/* Hero blob — subtle gradient orb */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  pointer-events: none;
}
