/* red-team.css — sourced from apps_site/, prelude (duplicate tokens + global resets) stripped. Tokens come from design-tokens.v1.css. */

/* ── Layout ────────────────────────────────────────────── */
.red-team-container { max-width: 1216px; margin: 0 auto; padding: 0 32px; }

.red-team-section { padding: 80px 0; border-bottom: 1.5px solid var(--border-lt); transition: background-color 280ms ease, border-color 280ms ease; }

/* ── Alert Bar ─────────────────────────────────────────── */
.red-team-alert-bar {
  background: var(--bg-dark);
  padding: 9px 32px;
  display: flex; align-items: center; gap: 10px;
}

.red-team-alert-dot { width: 7px; height: 7px; background: var(--lime); border-radius: 50%; flex-shrink: 0; animation: pulse 2s infinite; }

.red-team-alert-text { font-family: "IBM Plex Mono", monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; color: var(--lime); }

.red-team-alert-sub { font-size: 12px; color: rgba(255,255,255,0.55); margin-left: 4px; }

.red-team-alert-link { margin-left: auto; font-family: "IBM Plex Mono", monospace; font-size: 11px; font-weight: 700; color: var(--lime); }

.red-team-alert-link:hover { text-decoration: underline; }

/* ── Navigation ─────────────────────────────────────────── */
.red-team-nav-wrap {
  position: sticky; top: 0; z-index: 100;
  background: var(--nav-bg);
  border-bottom: 1.5px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 280ms ease, border-color 280ms ease;
}

.red-team-nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 62px; max-width: 1280px; margin: 0 auto; padding: 0 32px;
}

.red-team-nav-logo { display: flex; align-items: center; gap: 10px; }

.red-team-nav-logo svg path.red-team-logo-check { stroke: var(--surface-logo-stroke); }

.red-team-nav-logo-text { font-family: "IBM Plex Mono", monospace; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; color: var(--fg); }

.red-team-nav-links { display: flex; align-items: center; }

.red-team-nav-link {
  font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 500;
  letter-spacing: 0.02em; color: var(--fg-3);
  padding: 0 13px; height: 62px;
  display: flex; align-items: center;
  border-bottom: 2.5px solid transparent;
  transition: color 120ms, border-color 120ms;
}

.red-team-nav-link:hover { color: var(--fg); border-bottom-color: var(--lime); }

html[data-mode="apps"] .red-team-nav-link:hover { border-bottom-color: var(--green); }

.red-team-nav-actions { display: flex; gap: 10px; align-items: center; }

.red-team-nav-actions .red-team-btn-ghost, .red-team-nav-actions .red-team-btn-primary { white-space: nowrap; }

/* ── Mode Toggle (in nav) ─────────────────────────────── */

/* ── Mode Bar — full-width section below navbar ─────────── */

/* Large variant of the toggle for the mode bar */

/* Make the inactive button still readable */

/* ── Buttons ───────────────────────────────────────────── */
.red-team-btn-ghost {
  font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em; color: var(--fg-2);
  padding: 9px 17px; background: transparent;
  border: 1.5px solid var(--border-dk); border-radius: var(--radius);
  transition: border-color 120ms, background 120ms;
}

.red-team-btn-ghost:hover { background: var(--bg-raised); border-color: var(--green-mid); }

.red-team-btn-primary {
  font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em; color: #0A1A0C;
  padding: 10px 18px; background: var(--lime);
  border: none; border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(168,255,69,0.35);
  transition: background 120ms, box-shadow 120ms;
}

.red-team-btn-primary:hover { background: var(--lime-hover); box-shadow: 0 3px 16px rgba(168,255,69,0.5); }

.red-team-btn-primary-lg {
  font-family: "IBM Plex Mono", monospace; font-size: 14px; font-weight: 700;
  letter-spacing: 0.03em; color: #0A1A0C;
  padding: 15px 30px; background: var(--lime);
  border: none; border-radius: var(--radius);
  box-shadow: 0 3px 16px rgba(168,255,69,0.4);
  transition: all 120ms; cursor: pointer;
}

.red-team-btn-primary-lg:hover { background: var(--lime-hover); transform: translateY(-1px); box-shadow: 0 5px 22px rgba(168,255,69,0.5); }

.red-team-btn-secondary-lg {
  font-family: "IBM Plex Mono", monospace; font-size: 14px; font-weight: 600;
  letter-spacing: 0.03em; color: var(--fg-2);
  padding: 14px 30px; background: var(--bg-surface);
  border: 1.5px solid var(--border-dk); border-radius: var(--radius);
  display: flex; align-items: center; gap: 8px;
  transition: all 120ms; cursor: pointer;
}

.red-team-btn-secondary-lg:hover { border-color: var(--green-mid); background: var(--bg-raised); }

/* ── Hero ────────────────────────────────────────────────── */

/* ── Trust Logos ─────────────────────────────────────────── */

/* ── Section headings ────────────────────────────────────── */
.red-team-section-eyebrow { font-family: "IBM Plex Mono", monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 14px; }

.red-team-section-title { font-family: "IBM Plex Mono", monospace; font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -0.025em; color: var(--fg); line-height: 1.25; }

.red-team-section-head { margin-bottom: 48px; }

/* ── AI Core cards ───────────────────────────────────────── */

/* ── Services grid ───────────────────────────────────────── */

/* ── Pentest Timeline ────────────────────────────────── */

/* ── Methodology ─────────────────────────────────────── */

/* ── Tools Arsenal ───────────────────────────────────── */

/* ── Case Studies ────────────────────────────────────── */

/* ── Team ──────────────────────────────────────────── */

/* ── Compliance ────────────────────────────────────── */

/* ── CTA Block ─────────────────────────────────────── */
.red-team-cta-block {
  background: var(--bg-dark);
  padding: 88px 32px; text-align: center;
  position: relative; overflow: hidden;
}

.red-team-cta-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 110%, rgba(168,255,69,0.07) 0%, transparent 65%); pointer-events: none; }

.red-team-cta-inner { position: relative; max-width: 640px; margin: 0 auto; }

.red-team-cta-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(168,255,69,0.10);
  border: 1px solid rgba(168,255,69,0.25);
  border-radius: var(--r-sm); padding: 6px 14px; margin-bottom: 24px;
  font-family: "IBM Plex Mono", monospace; font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; color: var(--lime); text-transform: uppercase;
}

.red-team-cta-title { font-family: "IBM Plex Mono", monospace; font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -0.03em; color: #FFFFFF; line-height: 1.15; margin-bottom: 18px; }

.red-team-cta-body { font-size: 18px; color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 36px; }

.red-team-cta-btns { display: flex; gap: 12px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }

.red-team-btn-cta-primary { font-family: "IBM Plex Mono", monospace; font-size: 14px; font-weight: 700; letter-spacing: 0.03em; color: #0A1A0C; padding: 15px 30px; background: var(--lime); border: none; border-radius: var(--radius); cursor: pointer; transition: background 120ms; }

.red-team-btn-cta-primary:hover { background: var(--lime-hover); }

.red-team-btn-cta-ghost { font-family: "IBM Plex Mono", monospace; font-size: 14px; font-weight: 600; letter-spacing: 0.03em; color: #FFFFFF; padding: 14px 30px; background: transparent; border: 1.5px solid rgba(255,255,255,0.2); border-radius: var(--radius); cursor: pointer; transition: border-color 120ms, background 120ms; }

.red-team-btn-cta-ghost:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.04); }

.red-team-cta-trust { display: flex; gap: 44px; justify-content: center; flex-wrap: wrap; }

.red-team-cta-trust-item-title { font-family: "IBM Plex Mono", monospace; font-size: 13px; font-weight: 700; color: #FFFFFF; margin-bottom: 3px; }

.red-team-cta-trust-item-sub { font-size: 13px; color: rgba(255,255,255,0.45); }

/* ── Footer ────────────────────────────────────────── */
.red-team-footer { background: #040C06; border-top: 1px solid #0A1A0C; padding: 52px 0 24px; }

.red-team-footer-grid { display: grid; grid-template-columns: 220px repeat(3,1fr); gap: 48px; margin-bottom: 44px; }

.red-team-footer-brand-logo { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }

.red-team-footer-brand-name { font-family: "IBM Plex Mono", monospace; font-size: 15px; font-weight: 700; color: #FFFFFF; }

.red-team-footer-brand-addr { font-size: 13px; color: rgba(255,255,255,0.3); line-height: 1.65; margin-bottom: 12px; }

.red-team-footer-copy { font-family: "IBM Plex Mono", monospace; font-size: 10px; color: rgba(255,255,255,0.2); letter-spacing: 0.04em; }

.red-team-footer-col-title { font-family: "IBM Plex Mono", monospace; font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 18px; }

.red-team-footer-links { display: flex; flex-direction: column; gap: 10px; }

.red-team-footer-link { font-size: 13px; color: rgba(255,255,255,0.5); transition: color 120ms; }

.red-team-footer-link:hover { color: rgba(255,255,255,0.85); }

.red-team-footer-bottom { border-top: 1px solid #0A1A0C; padding-top: 20px; display: flex; gap: 20px; justify-content: flex-end; }

.red-team-footer-legal { font-family: "IBM Plex Mono", monospace; font-size: 10px; font-weight: 500; letter-spacing: 0.06em; color: rgba(255,255,255,0.2); }

/* ── Animations ──────────────────────────────────── */
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.45} }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 960px) {

    .red-team-footer-grid { grid-template-columns: 1fr; gap: 40px; }

  
  
      .red-team-nav-links { display: none; }

  
      .red-team-alert-sub { display: none; }

}

@media (max-width: 640px) {

    .red-team-container { padding: 0 20px; }

      .red-team-section { padding: 56px 0; }

      .red-team-nav-actions .red-team-btn-ghost { display: none; }

}

/* ════════════════════════════════════════════════════════════════
   CHAIN MODE — Rich Dark-Green Redesign
   Deeper backgrounds, lime glows, gradient accents, neon details.
   Apps mode untouched.
   ════════════════════════════════════════════════════════════════ */

/* Body — atmospheric vignette + faint grain */

/* Section dividers — softer, gradient hairlines */

/* Alert bar — subtle gradient + brighter glow */

/* Nav — glassy with lime underline accent */

/* Mode toggle — neon outline on active */

/* Buttons — glowing primary, refined ghost */

/* Hero — dramatic radial glow + scanline grid */

/* Hero stats — frosted card with edge glow */

/* Trust pills — frosted with hover glow */

/* Section eyebrows — neon underline */

/* AI section — gradient backdrop */

/* AI cards — gradient border + lift */

/* Service cards — refined surfaces with gradient corners */

/* Pentest timeline — vivid phase dots with glows */

/* Methodology — numbered cells with gradient nums */

/* Tools — circuit-board feel */

/* Cases — premium dark cards with red/amber/green accent glows */

/* Team — avatar gradient + neon hover */

/* Compliance badges — pill-glow */

/* CTA — bigger glow + animated shimmer line */

@keyframes shimmer {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* Footer — refined dark */

/* Subtle scan-line texture overlay on body in chain mode */

/* ════════════════════════════════════════════════════════════════
   NAV DROPDOWNS — Simple compact menus
   ════════════════════════════════════════════════════════════════ */
.red-team-nav-item {
  position: relative;
  height: 62px;
  display: flex;
  align-items: center;
}

.red-team-nav-trigger {
  font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 500;
  letter-spacing: 0.02em; color: var(--fg-3);
  padding: 0 11px; height: 62px;
  display: flex; align-items: center; gap: 5px;
  border-bottom: 2.5px solid transparent;
  transition: color 120ms, border-color 120ms;
  cursor: pointer; background: transparent; border-top: none; border-left: none; border-right: none;
  white-space: nowrap;
}

.red-team-nav-trigger:hover, .red-team-nav-item.red-team-open .red-team-nav-trigger {
  color: var(--fg);
  border-bottom-color: var(--lime);
}

html[data-mode="apps"] .red-team-nav-trigger:hover,
html[data-mode="apps"] .red-team-nav-item.red-team-open .red-team-nav-trigger {
  border-bottom-color: var(--green);
}

.red-team-nav-caret {
  font-size: 9px;
  transition: transform 200ms ease;
  opacity: 0.7;
}

.red-team-nav-item.red-team-open .red-team-nav-caret { transform: rotate(180deg); }

.red-team-nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 180ms, transform 180ms, visibility 180ms;
  z-index: 110;
}

.red-team-nav-item.red-team-open .red-team-nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.red-team-dropdown-link {
  display: block;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-2);
  padding: 9px 12px;
  border-radius: var(--r-sm);
  transition: background 120ms, color 120ms;
  letter-spacing: -0.005em;
}

.red-team-dropdown-link:hover {
  background: var(--bg-raised);
  color: var(--fg);
}

/* Chain-mode dropdown polish */

/* ════════════════════════════════════════════════════════════════
   SUB-PAGE LAYOUT
   ════════════════════════════════════════════════════════════════ */

/* Page hero — compact version of homepage hero */
.red-team-page-hero {
  background: var(--bg);
  padding: 72px 32px 64px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-lt);
  transition: background-color 280ms ease;
}

.red-team-page-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid-ln) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-ln) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.4; pointer-events: none;
}

.red-team-page-hero-inner {
  max-width: 1216px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}

.red-team-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--fg-4);
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.red-team-breadcrumb a { color: var(--fg-3); transition: color 120ms; }

.red-team-breadcrumb a:hover { color: var(--fg); }

.red-team-breadcrumb-sep { color: var(--fg-5); }

.red-team-breadcrumb .red-team-current { color: var(--green); }

.red-team-page-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--lime-bg);
  border: 1px solid var(--lime-bdr);
  border-radius: var(--r-sm);
  padding: 5px 12px;
  margin-bottom: 22px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.red-team-page-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
}

.red-team-page-title {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.1; color: var(--fg);
  margin-bottom: 18px;
}

.red-team-page-title em {
  font-style: normal;
  color: var(--green);
}

.red-team-page-lede {
  font-size: 17px;
  line-height: 1.75;
  color: var(--fg-2);
  margin-bottom: 28px;
  max-width: 560px;
}

.red-team-page-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero side panel — stat card */
.red-team-hero-side-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.red-team-hero-side-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 14px;
}

.red-team-hero-side-list {
  display: flex; flex-direction: column;
  gap: 12px;
}

.red-team-hero-side-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  background: var(--bg-raised);
  border-radius: var(--r-sm);
  font-size: 13px;
  color: var(--fg-2);
  font-weight: 500;
}

.red-team-hero-side-check {
  width: 18px; height: 18px;
  flex-shrink: 0;
  background: var(--lime-bg);
  border: 1px solid var(--lime-bdr);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
}

/* Two-column feature section */
.red-team-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.red-team-feature-row.red-team-reverse > :first-child { order: 2; }

.red-team-feature-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.red-team-feature-title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  line-height: 1.25;
  margin-bottom: 14px;
}

.red-team-feature-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--fg-3);
  margin-bottom: 18px;
}

.red-team-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.red-team-feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px;
  color: var(--fg-2);
}

.red-team-feature-list li::before {
  content: "›";
  color: var(--green);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  flex-shrink: 0;
}

/* Visual mock panel inside feature row */
.red-team-feature-visual {
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.red-team-feature-visual-header {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-lt);
  margin-bottom: 16px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--fg-3);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.red-team-feature-visual-dots {
  display: flex; gap: 5px;
}

.red-team-feature-visual-dots span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--border-dk);
}

.red-team-feature-visual-dots span:nth-child(1) { background: #FF5F57; }

.red-team-feature-visual-dots span:nth-child(2) { background: #FEBC2E; }

.red-team-feature-visual-dots span:nth-child(3) { background: #28C840; }

.red-team-feature-visual-title { margin-left: 8px; }

.red-team-code-block {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  line-height: 1.7;
  color: var(--fg-2);
  white-space: pre;
  overflow-x: auto;
}

.red-team-code-block .red-team-kw { color: var(--green); font-weight: 600; }

.red-team-code-block .red-team-com { color: var(--fg-4); font-style: italic; }

.red-team-code-block .red-team-vuln { color: #C0000A; font-weight: 600; }

/* Process steps (numbered grid) */

/* Highlights / feature pills grid */
.red-team-pill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.red-team-pill-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  transition: all 180ms ease;
}

.red-team-pill-card:hover {
  border-color: var(--border-dk);
  transform: translateY(-2px);
}

.red-team-pill-icon {
  width: 36px; height: 36px;
  background: var(--lime-bg);
  border: 1px solid var(--lime-bdr);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  margin-bottom: 14px;
}

.red-team-pill-title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px; font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.red-team-pill-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--fg-3);
}

/* FAQ */
.red-team-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  max-width: 880px;
  margin: 0 auto;
}

.red-team-faq-item {
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 180ms;
}

.red-team-faq-q {
  padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px; font-weight: 600;
  color: var(--fg);
  list-style: none;
  letter-spacing: -0.01em;
}

.red-team-faq-q::-webkit-details-marker { display: none; }

.red-team-faq-q::after {
  content: "+";
  font-size: 22px; font-weight: 400;
  color: var(--fg-4);
  transition: transform 200ms;
}

.red-team-faq-a {
  padding: 0 22px 20px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--fg-2);
}

/* Pricing card preview (used on solution pages) */

/* Page-end CTA mini block */
.red-team-mini-cta {
  background: var(--bg-raised);
  border-radius: var(--r-lg);
  padding: 36px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  border: 1.5px solid var(--border);
}

.red-team-mini-cta-text { flex: 1; min-width: 280px; }

.red-team-mini-cta-title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 6px;
}

.red-team-mini-cta-sub {
  font-size: 14px;
  color: var(--fg-3);
}

/* Responsive */
@media (max-width: 960px) {

    .red-team-nav-item .red-team-nav-dropdown { display: none; }

      .red-team-page-hero-inner { grid-template-columns: 1fr; gap: 32px; }

      .red-team-feature-row { grid-template-columns: 1fr; gap: 32px; }

      .red-team-feature-row.red-team-reverse > :first-child { order: 0; }

  
      .red-team-pill-grid { grid-template-columns: 1fr 1fr; }

}

@media (max-width: 640px) {

    .red-team-pill-grid { grid-template-columns: 1fr; }

      .red-team-page-hero { padding: 48px 20px 48px; }

}

/* ── Single-file: hide all pages by default, router shows one ── */
main[data-page] { display: none; }

/* ════════════════════════════════════════════════════════════════
   CredShields One — Featured Product Promo Section
   Dark inverted card on apps-mode cream background; refines naturally
   on chain-mode dark background.
   ════════════════════════════════════════════════════════════════ */

/* Continuous AppSec section pre-block (left column of pentest-grid) */

/* Top neon accent line */

/* Bottom subtle accent */

/* Background atmospheric glow */

/* Left column */

/* Right column — terminal */

@keyframes caretBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* ── Mode-aware nav dropdowns ─────────────────────── */
.red-team-nav-dropdown[data-show-mode="chain"] { display: none; }

.red-team-nav-dropdown[data-show-mode="apps"] { display: none; }

html[data-mode="apps"]  .red-team-nav-item.red-team-open .red-team-nav-dropdown[data-show-mode="apps"] { display: block; }

/* Hide chain-only nav items in apps mode */
html[data-mode="apps"] .red-team-nav-item-chain-only { display: none; }

/* Hide apps-only nav items in chain mode (none yet, but reserved) */

/* Flagship flag on dropdown link */
.red-team-dropdown-flag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 2px 6px;
  margin-right: 8px;
  border-radius: 3px;
  background: var(--lime-bg);
  color: var(--green);
  border: 1px solid var(--lime-bdr);
  vertical-align: middle;
}

/* ════════════════════════════════════════════════════════════════
   SEO Content Sections (Wave 1)
   ════════════════════════════════════════════════════════════════ */

/* Hero H1 SEO + visual headline pattern */
.red-team-page-h1-seo {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

/* Narrow section variant for definitional content */
.red-team-section-narrow .red-team-container {
  max-width: 880px;
}

/* "What is X" definition block */
.red-team-definition-block {
  max-width: 720px;
}

.red-team-definition-title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--fg);
  margin: 12px 0 22px;
}

.red-team-definition-body {
  font-size: 16px;
  line-height: 1.78;
  color: var(--fg-2);
  margin-bottom: 16px;
}

.red-team-definition-body strong {
  color: var(--fg);
  font-weight: 600;
}

.red-team-definition-facts {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid var(--lime-bdr);
  padding-left: 18px;
}

.red-team-definition-facts li {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--fg-2);
  margin-bottom: 8px;
  padding-left: 0;
}

.red-team-definition-facts li::before { content: ""; }

/* Comparison table */

/* Deliverables grid */

.red-team-deliverable-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px 22px 24px;
  transition: all 180ms ease;
}

.red-team-deliverable-card:hover {
  border-color: var(--border-dk);
  transform: translateY(-2px);
}

.red-team-deliverable-icon {
  display: inline-flex;
  width: 32px; height: 32px;
  background: var(--lime-bg);
  border: 1px solid var(--lime-bdr);
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 14px;
}

.red-team-deliverable-title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 8px;
}

.red-team-deliverable-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--fg-3);
  margin: 0;
}

/* Pricing overview */
.red-team-pricing-overview {
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
}

.red-team-pricing-title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin: 12px 0 14px;
}

.red-team-pricing-body {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--fg-2);
  margin-bottom: 24px;
}

.red-team-pricing-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.red-team-pricing-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-lt);
}

.red-team-pricing-row:last-child { border-bottom: none; }

.red-team-pricing-row-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--fg-4);
  flex-shrink: 0;
  min-width: 180px;
}

.red-team-pricing-row-value {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg);
  font-weight: 500;
  text-align: right;
}

/* Related links cluster */
.red-team-section-related { background: var(--bg-raised); }

.red-team-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 960px) {

    .red-team-related-grid { grid-template-columns: 1fr 1fr; }

}

@media (max-width: 640px) {

    .red-team-related-grid { grid-template-columns: 1fr; }

}

.red-team-related-card {
  display: block;
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  text-decoration: none;
  transition: all 180ms ease;
}

.red-team-related-card:hover {
  border-color: var(--green);
  transform: translateY(-1px);
}

.red-team-related-card-title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.red-team-related-card-arrow {
  color: var(--green);
  transition: transform 180ms;
}

.red-team-related-card:hover .red-team-related-card-arrow {
  transform: translateX(3px);
}

.red-team-related-card-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg-3);
  margin: 0;
}

/* Dropdown section headers (group labels inside dropdown) */
.red-team-dropdown-section-label {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-4);
  padding: 10px 12px 4px;
  margin-top: 4px;
  pointer-events: none;
  user-select: none;
}

.red-team-dropdown-section-label:first-child { margin-top: 0; padding-top: 6px; }

/* Wider dropdowns for grouped solutions */
.red-team-nav-dropdown-grouped {
  min-width: 280px;
}

/* ════════════════════════════════════════════════════════════════
   Wave 1 SEO additions — shared elements
   ════════════════════════════════════════════════════════════════ */

/* SEO H1 — small, indexable, sits above the visual headline */

/* "NEW" flag variant for dropdown */

/* Related-links cluster — 4-card grid for cross-page linking */
.red-team-related-section {
  background: var(--bg-raised);
  padding: 56px 0;
}

.red-team-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.red-team-related-card {
  display: block;
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 20px;
  transition: all 180ms ease;
  text-decoration: none;
}

.red-team-related-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.red-team-related-eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}

.red-team-related-title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 5px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.red-team-related-desc {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--fg-3);
}

.red-team-related-arrow {
  display: inline-block;
  margin-top: 8px;
  color: var(--green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
}

/* Comparison table */

/* Deliverables grid */
.red-team-deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.red-team-deliverable-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.red-team-deliverable-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  background: var(--lime-bg);
  border: 1px solid var(--lime-bdr);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
}

.red-team-deliverable-title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.red-team-deliverable-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg-3);
}

/* Pricing model callout */
.red-team-pricing-callout {
  background: linear-gradient(135deg, var(--bg-raised) 0%, var(--bg-surface) 100%);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 36px;
  align-items: center;
}

.red-team-pricing-callout-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}

.red-team-pricing-callout-title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 0;
}

.red-team-pricing-callout-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-2);
}

.red-team-pricing-callout-body strong {
  color: var(--green);
  font-weight: 600;
}

/* Sample finding inline box */

@media (max-width: 960px) {

    .red-team-related-grid { grid-template-columns: repeat(2, 1fr); }

      .red-team-deliverables-grid { grid-template-columns: 1fr; }

      .red-team-pricing-callout { grid-template-columns: 1fr; gap: 18px; padding: 24px; }

}

@media (max-width: 640px) {

    .red-team-related-grid { grid-template-columns: 1fr; }

}

/* ════════════════════════════════════════════════════════════════
   Mode-aware CTA + Footer
   ════════════════════════════════════════════════════════════════ */

.red-team-cta-block[data-show-mode="apps"], 
footer[data-show-mode="apps"] {
  display: none;
}

html[data-mode="apps"] .red-team-cta-block[data-show-mode="apps"],
html[data-mode="apps"] footer[data-show-mode="apps"] {
  display: block;
}

/* Footer tagline (one-liner under address) */
.red-team-footer-tagline {
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg-3);
  margin: 14px 0 16px;
  max-width: 280px;
}

/* Footer bottom: split layout for legal links + socials */
.red-team-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.red-team-footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.red-team-footer-legal-sep {
  color: var(--fg-5);
  font-size: 12px;
}

.red-team-footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.red-team-footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--fg-3);
  transition: all 150ms ease;
}

.red-team-footer-social:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-1px);
}

@media (max-width: 640px) {

    .red-team-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

}

main[data-mode="apps"][data-page="red-team"] {display:block !important;}
