/* ── Glossary (gls) — LIGHT MODE ─────────────────── */
  .page-gls { background: #fafafa; }

  /* ── Hero ─────────────────────────────────────────── */
  .gls-hero {
    position: relative;
    background: #ffffff;
    color: #1b1b3c;
    padding: 100px 24px 64px;
    text-align: center;
    overflow: hidden;
  }
  .gls-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255, 69, 98, 0.08) 0%, transparent 60%),
      radial-gradient(circle at 20% 80%, rgba(255, 69, 98, 0.04) 0%, transparent 40%),
      radial-gradient(circle at 80% 20%, rgba(255, 69, 98, 0.04) 0%, transparent 40%);
    pointer-events: none;
  }
  .gls-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(to right, rgba(0,0,0, 0.04) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(0,0,0, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
    pointer-events: none;
  }
  .gls-hero__radar {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 720px;
    height: 720px;
    pointer-events: none;
    transform: translate(-50%, -45%);
    z-index: 0;
    background:
      repeating-radial-gradient(circle at center, transparent 0, transparent 89px, rgba(255, 69, 98, 0.08) 90px, transparent 91px);
    border-radius: 50%;
    mask-image: radial-gradient(circle, #000 0%, #000 45%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle, #000 0%, #000 45%, transparent 72%);
  }
  .gls-hero__radar::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg, transparent 280deg, rgba(255, 69, 98, 0.12) 350deg, rgba(255, 69, 98, 0.28) 360deg);
    animation: gls-radar-sweep 6s linear infinite;
  }
  .gls-hero__radar::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #FF4562;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 12px rgba(255, 69, 98, 0.5);
  }
  @keyframes gls-radar-sweep { to { transform: rotate(360deg); } }
  @media (prefers-reduced-motion: reduce) {
    .gls-hero__radar::before { animation: none; }
  }

  .gls-hero__container {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    z-index: 1;
  }
  .gls-hero__eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #FF4562;
    margin-bottom: 20px;
  }
  .gls-hero__title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: #1b1b3c;
    margin: 0 0 18px;
  }
  .gls-hero__title-accent { color: inherit; }
  .gls-hero__subtitle {
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.7;
    color: #1b1b3c;
    margin: 0 auto 28px;
    max-width: 680px;
  }

  /* Search box */
  .gls-hero__search {
    position: relative;
    max-width: 600px;
    margin: 0 auto 28px;
  }
  .gls-hero__search-icon {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #a3a3a3;
    pointer-events: none;
  }
  .gls-hero__search-input {
    width: 100%;
    border: 1px solid #e5e5e5;
    background: #fff;
    border-radius: 12px;
    padding: 18px 24px 18px 54px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #1b1b3c;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.10), 0 1px 2px -1px rgba(0,0,0,0.10);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
  }
  .gls-hero__search-input::placeholder { color: #a3a3a3; }
  .gls-hero__search-input:focus {
    border-color: #FF4562;
    box-shadow: 0 0 0 3px rgba(255,69,98,0.15);
  }

  .gls-hero__meta {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    font-size: 0.875rem;
    color: #404040;
  }
  .gls-hero__meta-item { display: inline-flex; align-items: center; gap: 8px; }

  /* ── Alphabet Nav (sticky) ────────────────────────── */
  .gls-alpha {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    transition: box-shadow 0.2s;
  }
  .gls-alpha.is-stuck { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.10), 0 2px 4px -2px rgba(0,0,0,0.10); }
  .gls-alpha__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
  }
  .gls-alpha__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: transparent;
    color: #1b1b3c;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
  }
  .gls-alpha__btn:hover { background: rgba(255, 69, 98, 0.08); color: #FF4562; }
  .gls-alpha__btn.is-disabled {
    color: #d4d4d4;
    pointer-events: none;
  }
  .gls-alpha__btn.is-active {
    background: #FF4562;
    color: #fff;
    border-color: #FF4562;
  }

  /* ── Featured Row ─────────────────────────────────── */
  .gls-featured {
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 24px 24px;
  }
  .gls-section-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #1b1b3c;
    margin: 0 0 20px;
  }
  .gls-featured__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .gls-feat {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .gls-feat:hover {
    border-color: #FF4562;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.10), 0 2px 4px -2px rgba(0,0,0,0.10);
  }
  .gls-feat__cover {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
  }
  .gls-feat__cover svg { width: 44px; height: 44px; }
  .gls-feat__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; }
  .gls-feat__pill {
    align-self: flex-start;
    font-size: 0.688rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #FF4562;
    background: rgba(255, 69, 98, 0.08);
    padding: 4px 10px;
    border-radius: 12px;
  }
  .gls-feat__title {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #1b1b3c;
    margin: 0;
    line-height: 1.35;
  }
  .gls-feat__excerpt {
    font-size: 0.875rem;
    color: #4e4e70;
    margin: 0;
    line-height: 1.5;
  }
  .gls-feat__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #a3a3a3;
    margin-top: 4px;
  }
  .gls-feat__more { color: #FF4562; font-weight: 600; }

  /* Featured gradient covers (reuse blog-grad-*) */
  .blog-grad-darkweb     { background: linear-gradient(135deg, #ec4899, #FF4562); }
  .blog-grad-cybernews   { background: linear-gradient(135deg, #ef4444, #ff4562); }
  .blog-grad-threat      { background: linear-gradient(135deg, #7c3aed, #a855f7); }
  .blog-grad-cti         { background: linear-gradient(135deg, #2563eb, #0ea5e9); }

  /* ── Main 2-col Layout ────────────────────────────── */
  .gls-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 24px 64px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
  }

  /* Sidebar */
  .gls-side {
    position: sticky;
    top: 140px;
    align-self: start;
  }
  .gls-side__heading {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4e4e70;
    margin: 0 0 12px;
  }
  .gls-cats { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 4px; }
  .gls-cat-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 12px;
    border-radius: 9999px;
    border: 1px solid transparent;
    background: transparent;
    color: #404040;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
  }
  .gls-cat-btn:hover { background: #f5f5f5; color: #1b1b3c; }
  .gls-cat-btn.is-active {
    background: rgba(255, 69, 98, 0.08);
    color: #FF4562;
    border-color: rgba(255, 69, 98, 0.2);
    font-weight: 600;
  }
  .gls-cat-btn__count {
    font-size: 0.75rem;
    color: #a3a3a3;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 12px;
  }
  .gls-cat-btn.is-active .gls-cat-btn__count { background: #fff; color: #FF4562; }

  .gls-quick { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
  .gls-quick a {
    font-size: 0.813rem;
    color: #4e4e70;
    text-decoration: none;
    padding: 4px 0;
  }
  .gls-quick a:hover { color: #FF4562; }

  /* Mini Dark Web Report — minimal */
  .gls-dw {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
  }
  .gls-dw__title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #1b1b3c;
    margin: 0 0 10px;
    letter-spacing: -0.005em;
  }
  .gls-dw__form {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .gls-dw__input {
    width: 100%;
    padding: 8px 12px;
    font-size: 0.75rem;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fff;
    color: #1b1b3c;
    outline: none;
    transition: border-color 0.15s;
  }
  .gls-dw__input:focus { border-color: #FF4562; box-shadow: 0 0 0 3px rgba(255,69,98,0.15); }
  .gls-dw__btn {
    padding: 8px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background: #FF4562;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
    transition: background 0.15s;
  }
  .gls-dw__btn:hover { background: #e8294a; }

  /* Content */
  .gls-content { min-width: 0; }
  .gls-letter-sec {
    position: relative;
    padding: 24px 0 40px;
    border-bottom: 1px solid #e5e5e5;
  }
  .gls-letter-sec:last-child { border-bottom: none; }
  .gls-letter-sec__wm {
    position: absolute;
    top: 8px;
    right: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 140px;
    font-weight: 900;
    line-height: 1;
    color: rgba(255, 69, 98, 0.06);
    pointer-events: none;
    z-index: 0;
  }
  .gls-letter-sec__head {
    position: relative;
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #1b1b3c;
    margin: 0 0 16px;
    z-index: 1;
  }
  .gls-terms { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; }
  .gls-term {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  }
  .gls-term:hover {
    border-color: #FF4562;
    background: #fff;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
  }
  .gls-term:hover .gls-term__arrow { opacity: 1; transform: translateX(0); }
  .gls-term:hover .gls-term__name { color: #FF4562; }
  .gls-term__avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #f5f5f5;
    color: #1b1b3c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
  }
  .gls-term__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .gls-term__name {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1b1b3c;
    transition: color 0.15s;
  }
  .gls-term__def {
    font-size: 0.875rem;
    color: #1b1b3c;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .gls-term__right {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .gls-term__arrow {
    color: #FF4562;
    font-size: 1.125rem;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.2s, transform 0.2s;
  }

  /* Category pills (small, tinted per category) */
  .gls-pill {
    font-size: 0.688rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 12px;
    white-space: nowrap;
  }
  .gls-pill--ai          { background: rgba(124, 58, 237, 0.1);  color: #7c3aed; }
  .gls-pill--auth        { background: rgba(14, 165, 233, 0.1);  color: #0ea5e9; }
  .gls-pill--cloud       { background: rgba(6, 182, 212, 0.1);   color: #06b6d4; }
  .gls-pill--crypto      { background: rgba(245, 158, 11, 0.12); color: #d97706; }
  .gls-pill--darkweb     { background: rgba(236, 72, 153, 0.1);  color: #ec4899; }
  .gls-pill--data        { background: rgba(34, 197, 94, 0.1);   color: #16a34a; }
  .gls-pill--detection   { background: rgba(239, 68, 68, 0.1);   color: #ef4444; }
  .gls-pill--identity    { background: rgba(59, 130, 246, 0.1);  color: #3b82f6; }
  .gls-pill--network     { background: rgba(20, 184, 166, 0.1);  color: #14b8a6; }
  .gls-pill--offensive   { background: rgba(255, 69, 98, 0.1);   color: #FF4562; }
  .gls-pill--actors      { background: rgba(0,0,0, 0.08);   color: #1b1b3c; }
  .gls-pill--vulns       { background: rgba(249, 115, 22, 0.12); color: #ea580c; }

  /* No results */
  .gls-empty {
    display: none;
    padding: 48px 24px;
    text-align: center;
    color: #4e4e70;
    background: #fff;
    border: 1px dashed #e5e5e5;
    border-radius: 16px;
  }
  .gls-empty.is-visible { display: block; }
  .gls-letter-sec.is-hidden { display: none; }
  .gls-term.is-hidden { display: none; }

  /* ── CTA ──────────────────────────────────────────── */
  .gls-cta {
    background: #1b1b3c;
    color: #fff;
    padding: 80px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .gls-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255, 69, 98, 0.18) 0%, transparent 60%);
    pointer-events: none;
  }
  .gls-cta__inner { position: relative; max-width: 720px; margin: 0 auto; }
  .gls-cta__title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    margin: 0 0 14px;
  }
  .gls-cta__desc {
    font-size: 1.063rem;
    color: #d4d4d4;
    line-height: 1.6;
    margin: 0 auto 28px;
    max-width: 560px;
  }
  .gls-cta__btn {
    display: inline-block;
    background: #FF4562;
    color: #fff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    line-height: 20px;
    padding: 12px 32px;
    border-radius: 9999px;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
    transition: background 0.2s;
  }
  .gls-cta__btn:hover { background: #e8294a; }

  /* ── Responsive ───────────────────────────────────── */
  @media (max-width: 960px) {
    .gls-main { grid-template-columns: 1fr; }
    .gls-side { position: static; }
    .gls-cats { flex-direction: row; flex-wrap: wrap; }
    .gls-cat-btn { width: auto;
      font-weight: 600;
    border-radius: 9999px;
  }
    .gls-featured__grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 640px) {
    .gls-hero { padding: 64px 16px 48px; }
    .gls-hero__radar { width: 420px; height: 420px; }
    .gls-featured__grid { grid-template-columns: 1fr; }
    .gls-featured { padding: 40px 16px 16px; }
    .gls-main { padding: 24px 16px 56px; }
    .gls-alpha__inner {
      flex-wrap: nowrap;
      overflow-x: auto;
      justify-content: flex-start;
      -webkit-overflow-scrolling: touch;
      padding: 10px 16px;
    }
    .gls-alpha__inner::-webkit-scrollbar { display: none; }
    .gls-alpha__btn { height: 40px; min-width: 40px; }
    .gls-letter-sec__wm { font-size: 96px; }
    .gls-term { grid-template-columns: 36px 1fr; padding: 14px 16px; }
    .gls-term__right { grid-column: 2; justify-self: end; }
    .gls-term__avatar { width: 32px; height: 32px; font-size: 0.875rem; }
    .gls-hero__search-input { padding: 16px 20px 16px 50px; }
    .gls-dw__input { padding: 12px; font-size: 0.875rem; }
    .gls-dw__btn { padding: 12px; font-size: 0.875rem;
      font-weight: 600;
    border-radius: 9999px;
  }
    .gls-cta { padding: 56px 16px; }
  }
