/* ===========================================================================
   Bot landing pages (/<bot>-tracking, crawler-landing.php + includes/bot-page-layout.php)
   Loaded after nmos-glass-site.css and nmos-site-components.css.
   Every rule carries the foundation prefix plus at least one page class.
   =========================================================================== */

/* ---------- Hero: text left, the crawler's log excerpt right ------------- */
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .about-hero.bot-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  align-items: center;
  gap: 40px 64px;
}
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .about-hero.bot-hero > * + * { margin-top: 0; }
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-hero-text { min-width: 0; }
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-hero-text > * { margin-block: 0; }
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-hero-text h1 { overflow-wrap: anywhere; }
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-hero-text > .bot-hero-meta { margin-top: 16px; }
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-hero-text > .bot-hero-lead { margin-top: 16px; }
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-hero-text > .about-hero-actions { margin-top: 32px; }

body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 14px;
  line-height: 20px;
  color: var(--on-surface-variant);
}
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-hero-meta .bot-hero-safety { color: var(--on-surface); }
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-hero-meta-sep { color: var(--outline); }
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-hero-lead {
  max-width: 36rem;
  font-size: 18px;
  line-height: 28px;
  color: var(--on-surface-variant);
}

body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-hero-log { min-width: 0; margin: 0; }
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-hero-log-title {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 20px;
  color: var(--outline);
}
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-hero-log .nmos-log-lines { padding: 16px; }
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-hero-log-note {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 16px;
  color: var(--outline);
}

/* Two plain sections in a row share one 96px gap instead of 192 */
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .sentinel-main > .sentinel-section:not(.sentinel-section-muted) + .sentinel-section:not(.sentinel-section-muted) { padding-top: 0; }

/* ---------- Definition rows: problems, variants, FAQ ---------------------- */
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-rows {
  margin: 0;
  border-top: 1px solid var(--border-subtle);
}
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 8px 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-subtle);
}
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-row dt {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0;
  color: var(--on-surface);
}
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-row dd {
  max-width: 40rem;
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--on-surface-variant);
}

/* ---------- Plain lists: features, product hooks, steps ------------------- */
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) :is(.bot-list, .bot-steps) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) :is(.bot-list--3, .bot-steps) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-list > li {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--border-strong);
}
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-steps > li { margin: 0; }
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) :is(.bot-list, .bot-steps) h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0;
  color: var(--on-surface);
}
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) :is(.bot-list, .bot-steps) p {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 24px;
  color: var(--on-surface-variant);
}
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-steps .services-step-num { display: flex; margin: 0 0 12px; }
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-list + .nmos-actions { margin-top: 40px; }

/* ---------- Related crawlers ---------------------------------------------- */
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-related-list > li {
  margin: 0;
  border-bottom: 1px solid var(--border-subtle);
}
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 8px 12px;
  margin-inline: -12px;
  border-radius: var(--radius-md);
  color: var(--on-surface);
  transition: background-color var(--t-fast) var(--ease);
}
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-related-link:hover { background: var(--surface-container); }
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-related-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  line-height: 24px;
}
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-related-safety {
  flex: none;
  font-size: 13px;
  line-height: 20px;
  color: var(--on-surface-variant);
}
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-related-all {
  margin: 24px 0 0;
  font-size: 15px;
  line-height: 24px;
}

/* ---------- Narrower screens ---------------------------------------------- */
@media (max-width: 1024px) {
  body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .about-hero.bot-hero { grid-template-columns: minmax(0, 1fr); }
  body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-hero-log { max-width: 560px; }
  body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-related-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-row { grid-template-columns: minmax(0, 1fr); padding: 16px 0; }
  body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) :is(.bot-list, .bot-list--3, .bot-steps) { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .bot-related-list { grid-template-columns: minmax(0, 1fr); }
}

/* Safety is told by the dot and a neutral word; red text stays with "unverified" in the log excerpt */
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) :is(.bot-hero-safety, .bot-related-safety) .nmos-dot-label { color: inherit; }
