/* ==========================================================================
   /shield — Figma /verosek-shield 0:5108 (desktop) / 0:7007 (mobile)
   Loaded after style.css + product.css. ≥ 1000 px desktop frame, < 1000 px
   mobile frame.
   ========================================================================== */

/* Scan-point pill (Figma: Inter Medium 10 — set in DM Sans, the site has no Inter) */
.pill {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 9px;
  border: 1px solid #7a7a7a;
  border-radius: 4px;
  background: #484848;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: 10px;
  line-height: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fcfcfc;
  white-space: nowrap;
}

/* ---- Full check catalog ─ 0:5155 ----
   Title, filter tabs and column labels stay pinned under the nav while the
   rows run underneath (sticky in the frame). */
.sh-cat { padding: 112px 0; }
.sh-cat__wrap { width: min(1200px, 100% - 48px); margin: 0 auto; }
.sh-cat__head {
  position: sticky;
  top: 62px;
  z-index: 3;
  border: 1px solid var(--hairline);
  background: #101010;
}
.sh-cat__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 40px; padding: 48px 32px; }
.sh-cat__title { font-size: 48px; font-weight: 600; font-variation-settings: "opsz" 31; line-height: 1.1; letter-spacing: -0.01em; }
.sh-cat__tabs { display: flex; border-block: 1px solid var(--hairline); }
.sh-cat__tabs button {
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0 20px;
  border-right: 1px solid var(--hairline);
  background: #171717;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.4;
  color: #fff;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease;
}
.sh-cat__tabs button:hover { background: #222; }
.sh-cat__tabs button[aria-selected="true"] { background: #fff; color: #171717; font-weight: 500; }
.sh-cat__tabs button:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }

.ck-cols, .ck-row { display: grid; grid-template-columns: 99px minmax(0, 1fr) 124px 82px; }
.ck-cols { height: 48px; background: #282828; font-family: var(--mono); font-size: 14px; color: #b4b4b4; }
.ck-cols span { display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--hairline); }
.ck-cols span:nth-child(2) { justify-content: flex-start; padding: 0 20px; }
.ck-cols span:last-child { border-right: 0; }

.ck-body { border: 1px solid var(--hairline); border-top: 0; }
.ck-row { height: 70px; border-top: 1px solid var(--hairline); background: #1e1e1e; }
.ck-row:first-child { border-top: 0; }
.ck-row[hidden] { display: none; }
.ck-row > * { display: flex; align-items: center; }
.ck-id { justify-content: center; border-right: 1px solid var(--hairline); font-family: var(--mono); font-size: 14px; color: #ededed; }
.ck-what { flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; padding: 12px 20px; border-right: 1px solid var(--hairline); line-height: normal; }
.ck-what b { font-size: 14px; font-weight: 600; color: #fff; }
.ck-what span { font-size: 13px; letter-spacing: .01em; color: #929292; }
.ck-pt { justify-content: center; border-right: 1px solid var(--hairline); }
.ck-ph { justify-content: center; font-family: var(--mono); font-size: 14px; color: #fff; }
.ck-row.is-in { animation: ck-in .45s var(--ease-sheet) both; animation-delay: var(--d, 0ms); }
@keyframes ck-in { from { opacity: 0; translate: 0 8px; } }

/* ---- Request lifecycle ─ 0:5332 → 0:5496 ----
   Desktop: the section pins in the middle of the screen while the dot runs
   the line from its very start to the fourth scan point; only then does the
   page move on. Each point lights up (and shows what it catches) as the dot
   reaches it. Phones/tablets: the vertical run follows the reading position. */
.sh-life { padding: 144px 0; overflow-x: clip; }
.sh-life__head { display: flex; flex-direction: column; align-items: flex-start; }
.sh-life .chip { margin-bottom: 40px; }
.sh-life__title { margin-bottom: 32px; font-size: 48px; font-weight: 600; font-variation-settings: "opsz" 31; line-height: 1.1; letter-spacing: -0.01em; }
.sh-life__sub { font-size: 15px; line-height: 1.3; color: var(--fg-1); }

.lc { position: relative; margin-top: 87.5px; }
.lc-pts { display: grid; grid-template-columns: repeat(4, minmax(0, 19.5%)); column-gap: 7.333%; }
.lc-pt { display: flex; flex-direction: column; gap: 64px; }
.lc-pt__head { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 15px; height: 89px; opacity: .5; transition: opacity .45s ease; }
.lc-pt__head p { max-width: 143px; font-size: 17px; line-height: 1.3; color: #ebebeb; }
.lc-pt__desc { font-size: 14px; line-height: 1.4; color: #fff; opacity: 0; translate: 0 6px; transition: opacity .45s ease, translate .6s var(--ease-sheet); }
.lc-pt.is-on .lc-pt__head { opacity: 1; }
.lc-pt.is-on .lc-pt__desc { opacity: 1; translate: none; }

.lc-track { position: absolute; left: calc(50% - 50vw); top: 121px; width: 100vw; height: 1px; pointer-events: none; }
.lc-track i { position: absolute; display: block; }
.lc-line { inset: 0; background: var(--hairline); }
.lc-fill { left: 0; top: 0; width: var(--at, 154px); height: 1px; background: var(--accent); }
.lc-dot { left: var(--at, 154px); top: -6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--accent); }

@media (min-width: 1000px) and (min-height: 560px) and (prefers-reduced-motion: no-preference) {
  .sh-life { padding: 0; }
  /* stage (one screen under the nav) + 110 vh of scroll for the run */
  .sh-life__pin { height: calc(210vh - 62px); height: calc(210svh - 62px); }
  .sh-life__stage {
    position: sticky;
    top: 62px;
    height: calc(100vh - 62px);
    height: calc(100svh - 62px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* ---- Every signal is local ─ 0:5368 ---- */
.sh-sig { padding: 104px 0; text-align: center; }
.sh-sig__title { font-size: 48px; font-weight: 600; font-variation-settings: "opsz" 31; line-height: 1.1; letter-spacing: -0.01em; }
.sh-sig__sub { margin-top: 32px; font-size: 15px; line-height: 1.3; color: var(--fg-1); }
.sg-row { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); height: 164px; margin-top: 72px; text-align: left; }
.sg-card { position: relative; display: flex; align-items: center; justify-content: center; border-left: 1px solid var(--hairline); }
.sg-card:last-child { border-right: 1px solid var(--hairline); }
.sg-card > div { display: flex; flex-direction: column; gap: 24px; width: min(256px, 100% - 32px); }
.sg-card h3 { font-size: 20px; font-weight: 600; font-variation-settings: "opsz" 31; line-height: 1.1; letter-spacing: -0.01em; }
.sg-card p { font-size: 15px; line-height: 1.3; color: var(--fg-2); }
/* Hover state (Figma draws it on #2): one highlight block appears on the
   hovered system and slides between systems while the pointer moves along
   the row; it fades out when the pointer leaves. */
.sg-hl {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  width: 25%;
  border-inline: 1px solid #fff;
  background: linear-gradient(to bottom, rgb(255 255 255 / .2), rgb(255 255 255 / 0));
  opacity: 0;
  transform: translateX(calc(var(--i, 0) * 100%));
  transition: transform .55s var(--ease-sheet), opacity .3s ease;
  pointer-events: none;
}
.sg-row.is-hover .sg-hl { opacity: 1; }
.sg-row.is-enter .sg-hl { transition: opacity .3s ease; }   /* first hover: appear in place, don't slide in */
.sg-card > div { position: relative; z-index: 2; }

@supports (text-box: trim-both cap alphabetic) {
  .sh-cat__tabs button, .sg-card h3 { text-box: trim-both cap alphabetic; }
  @media (min-width: 1000px) {
    .sh-cat__title, .sh-life__title, .sh-sig__title { text-box: trim-both cap alphabetic; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .ck-row.is-in { animation: none; }
  .sg-hl { transition: none; }
}

/* ==========================================================================
   < 1000: mobile frame
   ========================================================================== */
@media (max-width: 999px) {
  /* catalog ─ 0:7047: head + a sideways run of two-card columns */
  .sh-cat { padding: 56px 0; }
  .sh-cat__wrap { width: min(560px, 100% - 40px); border: 1px solid var(--hairline); }
  .sh-cat__head { position: static; border: 0; background: none; }
  .sh-cat__intro { gap: 32px; padding: 24px 16px 32px; }
  .sh-cat .chip { height: 32px; }
  .sh-cat__title { font-size: 28px; }
  .sh-cat__tabs { flex-wrap: wrap; gap: 8px; padding: 0 16px 24px; border: 0; }
  .sh-cat__tabs button { height: 36px; padding: 0 10px; border: 1px solid var(--hairline); font-size: 11px; }
  .sh-cat__tabs button[aria-selected="true"] { border-color: #fff; font-weight: 400; }
  .ck-cols { display: none; }
  .ck-body {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, auto);
    grid-auto-columns: 279px;
    gap: 8px;
    padding: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 12px;
    scrollbar-width: none;
    border: 0;
    border-top: 1px solid var(--hairline);
  }
  .ck-body::-webkit-scrollbar { display: none; }
  .ck-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "id ph" "what what" "pt pt";
    row-gap: 8px;
    height: auto;
    padding: 10px 12px;
    border: 1px solid var(--hairline);
    scroll-snap-align: start;
  }
  .ck-row:first-child { border-top: 1px solid var(--hairline); }
  .ck-id { grid-area: id; justify-content: flex-start; border: 0; font-size: 11px; }
  .ck-ph { grid-area: ph; justify-content: flex-end; font-family: var(--sans); font-weight: 500; font-size: 11px; line-height: 20px; letter-spacing: 1px; color: #fcfcfc; }
  .ck-what { grid-area: what; padding: 0; border: 0; }
  .ck-what b { font-size: 13px; }
  .ck-what span { font-size: 12px; }
  .ck-pt { grid-area: pt; justify-content: flex-start; margin-top: 4px; border: 0; }
  .ck-pt .pill { height: 22px; padding: 0 5px; font-size: 8px; }

  /* lifecycle ─ 0:7112: the same run, top to bottom */
  .sh-life { padding: 56px 0 108px; }
  .sh-life .chip { height: 32px; margin-bottom: 24px; }
  .sh-life__title { margin-bottom: 16px; font-size: 28px; }
  .sh-life__sub { font-size: 13px; line-height: 1.4; color: var(--fg-2); }
  .lc { margin-top: 56px; padding-left: 37px; }
  .lc-pts { display: flex; flex-direction: column; gap: 56px; }
  .lc-pt { gap: 28px; }
  .lc-pt__head { height: auto; }
  .lc-pt__head p { max-width: none; font-size: 15px; }
  .lc-pt__desc { font-size: 13px; }
  .lc-track { left: 5px; top: 44px; width: 2px; height: var(--len, 541px); }
  .lc-fill { width: 2px; height: var(--at, 84px); }
  .lc-dot { left: -5px; top: var(--at, 84px); margin: -6px 0 0; }

  /* signals ─ 0:7150 */
  .sh-sig { padding: 64px 0; text-align: left; }
  .sh-sig .wrap { width: min(560px, 100% - 32px); }
  .sh-sig__title, .sh-sig__sub { padding: 0 8px; }
  .sh-sig__title { font-size: 28px; }
  .sh-sig__sub { margin-top: 16px; font-size: 13px; color: var(--fg-2); }
  .sg-row { display: flex; flex-direction: column; height: auto; margin-top: 32px; }
  .sg-hl { display: none; }
  .sg-card { display: block; padding: 24px 16px; border: 0; border-bottom: 1px solid var(--hairline); }
  .sg-card:last-child { border: 0; }
  .sg-card > div { width: auto; gap: 12px; }
  .sg-card h3 { font-size: 15px; letter-spacing: 0; }
  .sg-card p { font-size: 13px; }
}
