/* Scoped to .bg-brand-scope — BytesGlue branding pages shared tokens */
/* additions for web-services shell */
.bg-brand-scope .eyebrow-code { font-family: var(--font-mono); font-weight: 600; color: var(--blue); margin-right: 2px; opacity: 0.9; }
.bg-brand-scope .site-footer .footer-tag { margin-top: 18px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; color: #6FD3F5; opacity: 0.8; }
/* BytesGlue · Branding pages · shared tokens
   LIGHT theme matched to bytesglue.com: light body + white cards, dark-blue
   hero/CTA/footer bands, pill buttons with circular arrow badge, light-blue
   icon circles. Poppins (rounded geometric) = closest fallback to the site font. */

.bg-brand-scope {
  /* light surfaces */
  --page: #EEF3F9;
  --page-2: #E5ECF4;
  --card: #FFFFFF;
  --card-2: #F4F8FC;     /* subtle inner panel */

  /* ink / text */
  --ink: #122036;        /* headings */
  --ink-2: #324155;      /* strong body */
  --text-2: #5A6B81;     /* body */
  --muted: #8595A8;      /* muted */

  /* lines */
  --line: #E4EAF1;
  --line-2: #D3DDE9;

  /* brand */
  --blue: #2E8BFF;
  --blue-deep: #1E6FE0;
  --cyan: #1FB6E3;
  --orange: #FB7A2E;
  --green: #34C77B;

  /* dark band surfaces */
  --navy: #0F1B30;
  --navy-2: #16243E;

  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 28px;

  --shadow-sm: 0 2px 10px rgba(18, 32, 54, 0.06);
  --shadow-card: 0 16px 40px -22px rgba(18, 32, 54, 0.20);
  --shadow-pop: 0 26px 60px -26px rgba(18, 32, 54, 0.30);

  --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Poppins", system-ui, sans-serif;
  --font-mono: "Poppins", system-ui, sans-serif; /* alias: no terminal/mono look */

  /* legacy aliases so older component styles keep resolving */
  --text: var(--ink);
  --surface: var(--card);
  --surface-2: var(--card-2);
  --bg-deep: var(--card-2);
  --border: var(--line);
  --border-strong: var(--line-2);
  --border-blue: rgba(46, 139, 255, 0.40);
  --amber: var(--orange);
  --shadow-glow: var(--shadow-pop);
}

.bg-brand-scope * { box-sizing: border-box; }

.bg-brand-scope a { color: inherit; text-decoration: none; }
::selection { background: var(--blue); color: #fff; }

/* ----- layout ----- */
.bg-brand-scope .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .bg-brand-scope .container { padding: 0 20px; } }

.bg-brand-scope .section { padding: 96px 0; position: relative; }
.bg-brand-scope .section.tight { padding: 60px 0; }
@media (max-width: 720px) { .bg-brand-scope .section { padding: 60px 0; } }

/* ----- type ----- */
.bg-brand-scope .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.bg-brand-scope .eyebrow .dot { display: none; }
.bg-brand-scope .eyebrow-pill {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(46, 139, 255, 0.10);
}

.bg-brand-scope h1, .bg-brand-scope h2, .bg-brand-scope h3, .bg-brand-scope h4 { font-family: var(--font-display); margin: 0; letter-spacing: -0.02em; font-weight: 700; color: var(--ink); }
.bg-brand-scope .h-display { font-size: clamp(38px, 4.8vw, 58px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; }
.bg-brand-scope .h-section { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
.bg-brand-scope .h-card { font-family: var(--font-display); font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.bg-brand-scope .lede { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.62; color: var(--text-2); max-width: 60ch; }
.bg-brand-scope .body { font-size: 15px; line-height: 1.65; color: var(--text-2); }
.bg-brand-scope .muted { color: var(--muted); }
.bg-brand-scope .kicker { font-family: var(--font-sans); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* centered section header */
.bg-brand-scope .sec-center { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.bg-brand-scope .sec-center .eyebrow { margin-bottom: 16px; }

/* ----- buttons (pill + circular arrow badge) ----- */
.bg-brand-scope .btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border-radius: 999px;
  padding: 11px 26px;
  font: 700 12.5px/1 var(--font-sans);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease;
  user-select: none;
  white-space: nowrap;
}
.bg-brand-scope .btn:active { transform: translateY(1px); }
.bg-brand-scope .btn:has(.btn-ico) { padding: 6px 6px 6px 22px; }
.bg-brand-scope .btn-ico {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s ease;
}
/* legacy alias so old markup still seats a badge */
.bg-brand-scope .arrow { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; }
.bg-brand-scope .arrow::after {
  content: "";
  width: 8px; height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  margin: 1px -2px 0 0;
}

.bg-brand-scope .btn-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 26px -14px rgba(46,139,255,0.7); }
.bg-brand-scope .btn-primary:hover { background: #3F97FF; box-shadow: 0 16px 30px -12px rgba(46,139,255,0.75); }
.bg-brand-scope .btn-primary .btn-ico, .bg-brand-scope .btn-primary .arrow { background: rgba(255,255,255,0.22); }

.bg-brand-scope .btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow-card); }
.bg-brand-scope .btn-light:hover { transform: translateY(-1px); }
.bg-brand-scope .btn-light .btn-ico, .bg-brand-scope .btn-light .arrow { background: var(--blue); color: #fff; }

.bg-brand-scope .btn-navy { background: var(--navy); color: #fff; }
.bg-brand-scope .btn-navy:hover { background: #15243f; }
.bg-brand-scope .btn-navy .btn-ico, .bg-brand-scope .btn-navy .arrow { background: var(--cyan); color: var(--navy); }

.bg-brand-scope .btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.bg-brand-scope .btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.bg-brand-scope .btn-ghost .btn-ico, .bg-brand-scope .btn-ghost .arrow { background: var(--blue); color: #fff; }

.bg-brand-scope .btn-dark { background: var(--navy); color: #fff; }
.bg-brand-scope .btn-dark .btn-ico, .bg-brand-scope .btn-dark .arrow { background: var(--cyan); color: var(--navy); }

.bg-brand-scope .btn-amber { background: transparent; color: var(--orange); border-color: rgba(251,122,46,0.5); }
.bg-brand-scope .btn-amber:hover { background: rgba(251,122,46,0.08); }
.bg-brand-scope .btn-amber .btn-ico, .bg-brand-scope .btn-amber .arrow { background: var(--orange); color: #fff; }

/* buttons inside dark bands */
.bg-brand-scope .band-dark .btn-ghost { border-color: rgba(255,255,255,0.35); color: #fff; }
.bg-brand-scope .band-dark .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.06); }
.bg-brand-scope .band-dark .btn-ghost .btn-ico, .bg-brand-scope .band-dark .btn-ghost .arrow { background: #fff; color: var(--navy); }

/* ----- cards ----- */
.bg-brand-scope .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.bg-brand-scope .card.pop { box-shadow: var(--shadow-card); }

/* ----- icon circle ----- */
.bg-brand-scope .icon-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(180deg, #EAF2FF, #DCEBFF);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.bg-brand-scope .icon-circle svg { width: 30px; height: 30px; }

/* ----- dark bands ----- */
.bg-brand-scope .band-dark { color: #fff; }
.bg-brand-scope .band-dark .h-display, .bg-brand-scope .band-dark .h-section, .bg-brand-scope .band-dark .h-card, .bg-brand-scope .band-dark h1, .bg-brand-scope .band-dark h2, .bg-brand-scope .band-dark h3, .bg-brand-scope .band-dark h4 { color: #fff; }
.bg-brand-scope .band-dark .lede, .bg-brand-scope .band-dark .body { color: rgba(233, 241, 251, 0.84); }
.bg-brand-scope .band-dark .kicker { color: rgba(233, 241, 251, 0.6); }
.bg-brand-scope .band-dark .eyebrow { color: #6FD3F5; }

.bg-brand-scope .hairline { height: 1px; background: var(--line); }

.bg-brand-scope .tick {
  display: inline-block;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: rgba(46, 139, 255, 0.14);
  color: var(--blue);
  position: relative;
  flex-shrink: 0;
  margin-top: 3px;
}
.bg-brand-scope .tick::after {
  content: "";
  position: absolute;
  left: 4.5px; top: 6px;
  width: 4px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

/* ----- header / nav (dark) ----- */
.bg-brand-scope .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.bg-brand-scope .nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.bg-brand-scope .brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: 0.01em; color: #fff; }
.bg-brand-scope .brand img { width: 38px; height: 38px; }
.bg-brand-scope .nav-links { display: flex; align-items: center; gap: 2px; }
.bg-brand-scope .nav-links a { padding: 9px 15px; font-size: 14px; font-weight: 500; color: rgba(233,241,251,0.78); border-radius: 8px; transition: color .15s ease; }
.bg-brand-scope .nav-links a:hover { color: #fff; }
.bg-brand-scope .nav-links a.active { color: #6FD3F5; }
.bg-brand-scope .nav-cta { margin-left: 12px; }

.bg-brand-scope .nav-burger { display: none; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,0.2); background: transparent; border-radius: 10px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.bg-brand-scope .nav-burger span { width: 16px; height: 1.5px; background: #fff; display: block; }
.bg-brand-scope .nav-mobile { display: none; flex-direction: column; gap: 4px; padding: 16px 20px 22px; border-top: 1px solid rgba(255,255,255,0.08); background: var(--navy); }
.bg-brand-scope .nav-mobile a { padding: 12px 14px; border-radius: 8px; color: rgba(233,241,251,0.82); font-size: 15px; }
.bg-brand-scope .nav-mobile a:hover { background: rgba(255,255,255,0.05); color: #fff; }

@media (max-width: 940px) {
  .bg-brand-scope .nav-links { display: none; }
  .bg-brand-scope .nav-burger { display: flex; }
  .bg-brand-scope .nav-mobile { display: flex; }
}

/* breadcrumb */
.bg-brand-scope .crumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.bg-brand-scope .crumb a { opacity: 0.7; }
.bg-brand-scope .crumb a:hover { opacity: 1; }
.bg-brand-scope .crumb .sep { opacity: 0.4; }

/* ----- footer (dark) ----- */
.bg-brand-scope .site-footer { background: var(--navy); color: #fff; padding: 64px 0 36px; margin-top: 0; }
.bg-brand-scope .footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
@media (max-width: 760px) { .bg-brand-scope .footer-grid { grid-template-columns: 1fr 1fr; } }
.bg-brand-scope .footer-grid h5 { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(233,241,251,0.5); margin: 0 0 16px; }
.bg-brand-scope .footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.bg-brand-scope .footer-grid a { color: rgba(233,241,251,0.78); font-size: 14px; transition: color .15s ease; }
.bg-brand-scope .footer-grid a:hover { color: #6FD3F5; }
.bg-brand-scope .footer-grid .brand { color: #fff; margin-bottom: 16px; }
.bg-brand-scope .footer-blurb { color: rgba(233,241,251,0.7); font-size: 14px; line-height: 1.6; max-width: 320px; }
.bg-brand-scope .footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(233,241,251,0.5); letter-spacing: 0.04em; }
@media (max-width: 720px) { .bg-brand-scope .footer-bottom { flex-direction: column; gap: 12px; } }
.bg-brand-scope .social-dot { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.16); display: inline-flex; align-items: center; justify-content: center; color: rgba(233,241,251,0.8); transition: all .15s ease; }
.bg-brand-scope .social-dot:hover { border-color: #6FD3F5; color: #6FD3F5; }

/* ----- form controls ----- */
.bg-brand-scope .field { display: grid; gap: 8px; }
.bg-brand-scope .field label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.bg-brand-scope .field input, .bg-brand-scope .field select, .bg-brand-scope .field textarea {
  width: 100%;
  background: var(--card-2);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 12px 14px;
  border-radius: var(--r-md);
  font: 400 14px/1.4 var(--font-sans);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.bg-brand-scope .field input::placeholder, .bg-brand-scope .field textarea::placeholder { color: var(--muted); }
.bg-brand-scope .field input:focus, .bg-brand-scope .field select:focus, .bg-brand-scope .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46,139,255,0.14); }
.bg-brand-scope .field textarea { min-height: 88px; resize: vertical; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(18,32,54,0.18); border-radius: 6px; }

.bg-brand-scope .hide-sm { display: inline; }
@media (max-width: 760px) { .bg-brand-scope .hide-sm { display: none; } }

/* ----- mobile refinements (shared) ----- */
@media (max-width: 600px) {
  .bg-brand-scope .hero-band { padding: 52px 0 56px; }
  .bg-brand-scope .hero-stats { gap: 26px; margin-top: 32px; }
  .bg-brand-scope .hero-stat-k { font-size: 26px; }
  .bg-brand-scope .section { padding: 56px 0; }
  .bg-brand-scope .btn { padding: 11px 20px; font-size: 12px; }
}
@media (max-width: 500px) {
  .bg-brand-scope .nav { height: 64px; }
  .bg-brand-scope .nav-cta { display: none; }
  .bg-brand-scope .brand { font-size: 16px; }
  .bg-brand-scope .brand img { width: 32px; height: 32px; }
}
@media (max-width: 420px) {
  .bg-brand-scope .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ----- shared blue hero band (matches site homepage / inner-page banner) ----- */
.bg-brand-scope .hero-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #18B6E0 0%, #2E8BFF 46%, #1A5FDE 100%);
  padding: 72px 0 84px;
}
.bg-brand-scope .hero-glow {
  position: absolute;
  top: -30%; right: -10%;
  width: 60%; height: 160%;
  background: radial-gradient(closest-side, rgba(255,255,255,0.22), transparent 70%);
  pointer-events: none;
}
.bg-brand-scope .hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}
@media (max-width: 940px) {
  .bg-brand-scope .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .bg-brand-scope .hero-art { order: -1; }
}
.bg-brand-scope .hero-art { display: flex; align-items: center; justify-content: center; }.bg-brand-scope .hero-art img { width: 86%; max-width: 420px; filter: drop-shadow(0 30px 50px rgba(8, 24, 52, 0.45)); }
@media (max-width: 940px) { .bg-brand-scope .hero-art img { width: 54%; max-width: 260px; } }
.bg-brand-scope .hero-stats { display: flex; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.bg-brand-scope .hero-stat-k { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.bg-brand-scope .hero-stat-l { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.72); margin-top: 6px; }
