/* Rislix concept 08c: R-Trax product pages (GRC Platform, Threat Intel, Brand Protection).
   Loaded after styles.css, pages.css and grc-platform.css. Same tokens, radii and type scale as 8c. */

/* ---------- R-Trax dropdown in the header ---------- */
.nav-dd { position: relative; }
.nav-dd > a.is-on { background-size: 100% 1px; }
.nav .nav-dd-menu {
  position: absolute; top: calc(100% + 10px); left: -16px; z-index: 5;
  display: grid; gap: 0; min-width: 200px; padding: 8px;
  border-radius: 14px; background: #fff; color: var(--ink-d);
  box-shadow: 0 0 0 1px var(--line-d), 0 24px 50px -20px rgba(16, 32, 48, .45);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .3s var(--ease-out), visibility 0s .3s;
}
.nav-dd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .3s var(--ease-out); }
.nav .nav-dd-menu a:not(.btn) { display: block; padding: 10px 12px; border-radius: 10px; background: none; white-space: nowrap; }
.nav .nav-dd-menu a:not(.btn):hover { background: rgba(16, 32, 48, .06); }
.nav .nav-dd-menu a[aria-current="page"] { color: var(--verd-d); font-weight: 600; }
@media (max-width: 1120px) {
  .nav-dd::after { display: none; }
  .nav .nav-dd-menu {
    position: static; min-width: 0; padding: 0 0 0 16px; border-radius: 0; background: none; color: inherit; box-shadow: none;
    opacity: 1; visibility: inherit; transform: none; transition: none;
  }
  .nav .nav-dd-menu a:not(.btn) { padding: 12px 0; border-radius: 0; font-size: 1rem; }
  .nav .nav-dd-menu a[aria-current="page"] { color: var(--lantern); }
}

/* ---------- numbered steps (same rail as the services engagement steps) ---------- */
.rt-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.rt-steps::before { content: ""; position: absolute; left: 19px; right: 0; top: 19px; height: 1px; background: var(--line-l); }
.rt-steps li { position: relative; }
.rt-steps .stage-n { position: relative; z-index: 1; background: var(--night); }
.rt-steps h3 { margin-top: 18px; font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.15; }
.rt-steps li > p { margin-top: 8px; color: var(--ink-l-soft); font-size: .9375rem; }
.rt-steps li:nth-child(2) { transition-delay: .12s; }
.rt-steps li:nth-child(3) { transition-delay: .24s; }
.rt-steps li:nth-child(4) { transition-delay: .36s; }

/* ---------- six-up card grid (the access grid, three across) ---------- */
.ac-grid.rt-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: clamp(32px, 4vw, 52px); }

/* ---------- product panes: list rows inside a .pane ---------- */
.rt-rows { display: grid; gap: 10px; }
.rt-row {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: start;
  padding: 14px 16px; border-radius: 12px; background: #F4F7F6; border: 1px solid var(--line-d);
}
.rt-row .pill { grid-row: span 2; margin-top: 2px; }
.rt-row b { font-family: var(--display); font-size: 1rem; font-weight: 600; }
.rt-row span.rt-sub { grid-column: 2; font-size: .875rem; color: var(--ink-d-soft); line-height: 1.45; }
.rt-row.is-stop { background: #FBF1EF; border-color: rgba(200, 71, 63, .28); }
.rt-arrow { justify-self: center; width: 2px; height: 18px; background: var(--line-d); }
.rt-split2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rt-note { margin-top: 14px; font-size: .8125rem; color: var(--ink-d-soft); }

/* status and priority chips under a heading */
.rt-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.rt-chips .rt-to { color: var(--ink-d-soft); font-size: .875rem; }
[data-tone="night"] .rt-chips .rt-to { color: var(--ink-l-soft); }
.rt-bands { margin-top: 24px; display: grid; gap: 10px; max-width: 420px; }
.rt-bands li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line-d); font-size: .9375rem; }
.rt-label { margin-top: 28px; font-weight: 600; }

/* a single real screen that opens the lightbox */
.pf-tile.rt-shot { width: 100%; aspect-ratio: 1150 / 666; }
.pf-tile.rt-shot.wide { aspect-ratio: 1536 / 674; }

/* ---------- brand protection: the name and its look-alike ---------- */
.rt-name { display: grid; gap: 10px; }
.rt-name code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 600; color: var(--ink-d); }
.rt-name mark { background: rgba(200, 71, 63, .16); color: #9E2F28; border-radius: 4px; padding: 0 2px; }
.rt-name .rt-row { align-items: center; }
.rt-name .rt-row .pill { grid-row: auto; margin: 0; }
.rt-name .rt-row { grid-template-columns: minmax(0, 1fr) auto; }
.rt-dom-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; }
.rt-dom-top code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 1.125rem; font-weight: 600; }
.rt-dom-top span { font-size: .875rem; color: var(--ink-d-soft); }
.rt-does { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.rt-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-d); }
.rt-btns span { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-d); font-size: .875rem; font-weight: 600; }
.rt-btns span.is-main { background: var(--ink-d); border-color: var(--ink-d); color: #fff; }
.rt-dl { margin-top: 24px; display: grid; gap: 16px; }
.rt-dl div { padding-left: 16px; border-left: 2px solid var(--verd); }
.rt-dl dt { font-family: var(--display); font-weight: 600; font-size: 1.0625rem; }
.rt-dl dd { margin-top: 4px; color: var(--ink-d-soft); font-size: .9375rem; max-width: 48ch; }
[data-tone="night"] .rt-dl div { border-color: var(--lantern); }
[data-tone="night"] .rt-dl dd { color: var(--ink-l-soft); }

@media (max-width: 1000px) {
  .ac-grid.rt-g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .rt-steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .rt-steps li { padding-left: 60px; }
  .rt-steps .stage-n { position: absolute; left: 0; top: 0; }
  .rt-steps h3 { margin-top: 6px; }
  .rt-steps::before { left: 19px; right: auto; top: 19px; bottom: 19px; width: 1px; height: auto; }
}
@media (max-width: 600px) {
  .ac-grid.rt-g3 { grid-template-columns: minmax(0, 1fr); }
  .rt-split2 { grid-template-columns: minmax(0, 1fr); }
}

/* small labels */
.copy > .rt-kick { margin: 0 0 12px; font-weight: 600; font-size: .9375rem; color: var(--verd-d); }
.rt-imit { margin-top: 6px; font-size: .875rem; color: var(--ink-d-soft); }

/* nine nav items: keep each on one line (the coordinator stamps the final navbar later) */
.nav a { white-space: nowrap; }
@media (min-width: 1121px) { .nav > ul { gap: clamp(12px, 1.5vw, 22px); } }

/* accept / reject cards: label above the text */
.rt-split2 .rt-row { grid-template-columns: minmax(0, 1fr); }
.rt-split2 .rt-row .pill { grid-row: auto; justify-self: start; margin: 0 0 4px; }
.rt-split2 .rt-row span.rt-sub { grid-column: 1; }
@media (max-width: 600px) {
  .rt-rows > .rt-row { grid-template-columns: minmax(0, 1fr); }
  .rt-rows > .rt-row .pill { grid-row: auto; justify-self: start; margin: 0 0 4px; }
  .rt-rows > .rt-row span.rt-sub { grid-column: 1; }
}
