:root {
  --bb-kelly:var(--theme-component-primary-1);
  --bb-kelly-dim:var(--theme-catalog-muted-54);
  --bb-bg:var(--theme-component-page-20);
  --bb-panel-bg:var(--theme-catalog-page-56);
  --bb-text:var(--theme-component-ink-18);
  --bb-text-dim:var(--theme-catalog-muted-58);
  --bb-error:var(--theme-component-error-1);
  --bb-glow-primary:0 0 20px var(--theme-component-primary-34);
  --font-tech:'Ultra', Georgia, serif;
  --font-code:'JetBrains Mono', 'Fira Code', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color:var(--bb-bg);
  color:var(--bb-text);
  font-family: var(--font-body, 'Geist', sans-serif);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

.bb-container {
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.scan-beam {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background:linear-gradient(90deg, transparent, var(--bb-kelly), transparent);
  box-shadow:0 0 15px var(--bb-kelly);
  z-index: 9998;
  pointer-events: none;
  opacity: 0.15;
  animation: autoScan 10s infinite linear;
}

@keyframes autoScan {

  0% {
    top: -5%;
  }

  100% {
    top: 105%;
  }
}

/* NAVIGATION */

nav {
  height: 80px;
  background:var(--theme-component-page-21);
  border-bottom:1px solid var(--bb-kelly-dim);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  backdrop-filter: blur(10px);
}

.logo img {
  height: 45px;
  filter:drop-shadow(0 0 5px var(--bb-kelly));
  transition: 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
  filter:drop-shadow(0 0 12px var(--bb-kelly));
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav ul li a {
  color:var(--bb-text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: 0.3s;
  position: relative;
}

nav ul li a:hover, nav ul li a.active {
  color:var(--bb-kelly);
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background:var(--bb-kelly);
  transition: 0.3s;
}

nav ul li a:hover::after, nav ul li a.active::after {
  width: 100%;
}

/* COMING SOON CONTENT */

.coming-soon-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 80px;
}

.watermark-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 400px;
  opacity: 0.03;
  filter:grayscale(100%);
  pointer-events: none;
}

.redacted-file {
  background:var(--bb-panel-bg);
  border:1px solid var(--theme-catalog-border-66);
  padding: 60px;
  max-width: 800px;
  width: 90%;
  position: relative;
  z-index: 2;
  box-shadow:0 0 50px var(--theme-component-page-51);
}

.file-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-code);
  font-size: 14px;
  color:var(--bb-kelly);
  margin-bottom: 40px;
  border-bottom:1px solid var(--bb-kelly-dim);
  padding-bottom: 10px;
}

.redacted-title {
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.redact {
  background:var(--bb-text);
  color:var(--bb-text);
  padding: 0 5px;
  user-select: none;
}

.status-badge {
  display: inline-block;
  border:1px solid var(--bb-error);
  color:var(--bb-error);
  padding: 5px 15px;
  font-family: var(--font-code);
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.file-content p {
  color:var(--bb-text-dim);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* TACTICAL RETICLE HUD */

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 55px;
  height: 55px;
  border:1px solid var(--bb-kelly);
  border-radius:50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10000;
  transition: width 0.3s, height 0.3s, border-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:0 0 8px var(--theme-component-primary-34);
  background-image:linear-gradient(90deg, var(--bb-kelly) 20%, transparent 20%, transparent 80%, var(--bb-kelly) 80%),
                        linear-gradient(180deg, var(--bb-kelly) 20%, transparent 20%, transparent 80%, var(--bb-kelly) 80%);
  background-position:center;
  background-size:100% 1px, 1px 100%;
  background-repeat:no-repeat;
}

.cursor::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  border-top:1px dotted var(--bb-kelly);
  opacity: 0.4;
}

.cursor::after {
  content: '';
  position: absolute;
  height: 100%;
  width: 1px;
  border-left:1px dotted var(--bb-kelly);
  opacity: 0.4;
}

.cursor-coords {
  position: absolute;
  right: -85px;
  top: -15px;
  font-family: var(--font-code);
  font-size: 14px;
  color:var(--bb-kelly);
  line-height: 1.4;
  text-transform: uppercase;
  text-shadow:0 0 5px var(--theme-catalog-primary-125);
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 4px;
  height: 4px;
  background:var(--theme-catalog-surface-31);
  border-radius:50%;
  transform: translate(-50%, -50%);
  z-index: 10001;
  pointer-events: none;
  box-shadow:0 0 12px var(--theme-catalog-primary-32);
}

.cursor.active {
  width: 85px;
  height: 85px;
  background:var(--theme-catalog-surface-126);
  border-color:var(--theme-component-border-7);
}

@media (max-width: 768px) {

  nav ul {
    display: none;
  }

  body {
    cursor: auto;
  }

  .cursor, .cursor-dot {
    display: none;
  }

  .redacted-file {
    padding: 30px;
  }
}

/* BB nav normalization: keeps the command bar locked between root header pages. */

nav {
  box-sizing: border-box;
  height: 80px;
  min-height: 80px;
  padding: 0;
  display: flex;
  align-items: center;
}

nav > .bb-container {
  width: 92%;
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

nav .logo,
    nav .logo a {
  display: flex;
  align-items: center;
  line-height: 0;
  flex: 0 0 auto;
}

nav .logo img {
  display: block;
  width: auto;
  height: 45px;
  max-height: 45px;
}

nav .bb-container > div:last-child {
  display: flex !important;
  align-items: center !important;
  gap: 28px;
  min-height: 80px;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  line-height: 1;
}

nav ul li a {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0;
  line-height: 1;
  letter-spacing: 1.5px;
}

nav ul li a::after {
  bottom: -7px;
}

nav . {
  display: flex;
  align-items: center;
  margin: 0;
  min-height: 40px;
}

nav . {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* BB nav normalization mobile guard */

@media (max-width: 768px) {

  nav ul {
    display: none;
  }

  nav > .bb-container {
    width: 92%;
  }

  nav .bb-container > div:last-child {
    gap: 12px;
  }
}

/* =========================================================
       INTEL POLISH: clean coming-soon briefing
    ========================================================= */

:root {
  --bb-ink:var(--theme-component-ink-20);
  --bb-muted:var(--theme-component-muted-9);
  --bb-soft-line:var(--theme-catalog-border-78);
  --bb-panel:var(--theme-catalog-surface-177);
  --bb-accent:var(--theme-component-primary-44);
  --bb-accent-soft:var(--theme-component-primary-45);
  --bb-blue:var(--theme-component-info-5);
}

body {
  background:linear-gradient(var(--theme-catalog-surface-84) 1px, transparent 1px),
        linear-gradient(90deg, var(--theme-catalog-surface-84) 1px, transparent 1px),
        radial-gradient(circle at 76% 16%, var(--theme-catalog-surface-75), transparent 32rem),
        var(--theme-component-page-18);
  background-size:68px 68px, 68px 68px, auto, auto;
  color:var(--bb-ink);
}

.scan-beam {
  opacity: 0.08;
}

.coming-soon-wrapper {
  min-height: 100svh;
  padding: 136px 0 70px;
  display: block;
  overflow: hidden;
}

.watermark-logo {
  height: min(42vw, 560px);
  opacity: 0.045;
  filter:grayscale(100%) drop-shadow(0 0 70px var(--theme-component-primary-34));
  left: auto;
  right: -80px;
  top: 52%;
  transform: translateY(-50%);
}

.intel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.7fr);
  gap: 46px;
  align-items: center;
}

.redacted-file {
  width: 100%;
  max-width: none;
  padding: 0;
  background:transparent;
  border:0;
  box-shadow:none;
}

.file-header {
  width: max-content;
  max-width: 100%;
  gap: 12px;
  border:1px solid var(--theme-catalog-border-88);
  border-radius:999px;
  margin-bottom: 24px;
  padding: 7px 12px;
  background:var(--theme-catalog-surface-89);
  color:var(--bb-accent);
  font-size: 14px;
  letter-spacing: 0;
}

.file-header span + span::before {
  content: "/";
  margin-right: 12px;
  color:var(--theme-catalog-ink-178);
}

.status-badge {
  display: inline-flex;
  width: max-content;
  margin-bottom: 20px;
  padding: 7px 12px;
  border:1px solid var(--theme-catalog-border-179);
  border-radius:999px;
  background:var(--theme-catalog-surface-102);
  color:var(--bb-blue);
  letter-spacing: 0;
}

.redacted-title {
  max-width: 860px;
  margin: 0 0 22px;
  color:var(--bb-ink);
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: none;
}

.redact {
  background:linear-gradient(90deg, var(--bb-accent), var(--theme-catalog-surface-180));
  color:var(--theme-catalog-primary-181);
  border-radius:6px;
  padding: 0 10px;
  user-select: auto;
}

.file-content {
  max-width: 760px;
}

.file-content p {
  color:var(--bb-muted);
  font-size: clamp(max(15px, 1.05rem), 1.45vw, 1.28rem);
  line-height: 1.75;
}

.intel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.intel-actions a {
  color:var(--bb-ink);
  text-decoration: none;
  border:1px solid var(--bb-soft-line);
  border-radius:999px;
  padding: 10px 14px;
  background:var(--theme-catalog-surface-90);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.intel-actions a:first-child {
  background:var(--bb-accent);
  border-color:var(--bb-accent);
  color:var(--theme-catalog-primary-91);
  font-weight: 800;
}

.intel-actions a:hover {
  border-color:var(--theme-catalog-border-92);
  background:var(--bb-accent-soft);
  transform: translateY(-2px);
}

.intel-preview {
  border:1px solid var(--bb-soft-line);
  border-radius:8px;
  background:linear-gradient(135deg, var(--theme-catalog-surface-182), var(--theme-component-page-26));
  padding: 28px;
  position: relative;
  z-index: 2;
  box-shadow:0 24px 80px var(--theme-component-page-52);
}

.intel-preview h2 {
  margin-bottom: 18px;
  color:var(--bb-ink);
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1;
  letter-spacing: 0;
}

.intel-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.intel-list li {
  border-top:1px solid var(--bb-soft-line);
  padding-top: 14px;
}

.intel-list strong {
  display: block;
  color:var(--bb-ink);
  margin-bottom: 4px;
}

.intel-list span {
  color:var(--bb-muted);
  line-height: 1.55;
}

.intel-note {
  margin-top: 22px;
  padding-top: 16px;
  border-top:1px solid var(--bb-soft-line);
  color:var(--bb-muted);
  font-size: max(15px, 0.95rem);
}

@media (max-width: 980px) {

  .intel-layout {
    grid-template-columns: 1fr;
  }

  .watermark-logo {
    right: -170px;
    opacity: 0.032;
  }
}

@media (max-width: 768px) {

  .coming-soon-wrapper {
    padding: 118px 0 48px;
  }

  .redacted-file {
    padding: 0;
  }

  .file-header {
    flex-wrap: wrap;
    width: auto;
  }
}

/* T125: give the entry headline the available phone width. */
@media (max-width: 768px) {
  .coming-soon-wrapper { padding-inline: 16px !important; }
  .intel-layout .redacted-file { padding: 0 !important; }
  .intel-layout.bb-container { width: 100%; padding-inline: 0; }
  .redacted-title { font-size: clamp(2rem, 8vw, 3.2rem); line-height: 1.15; text-wrap: balance; }
}
