/* ==========================================================================
   StealerHunt — site chrome, page sections, blog
   ========================================================================== */

/* ── Header / navbar ─────────────────────────────────────────────────────── */

.sh-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 200ms;
}
.sh-header.is-scrolled { box-shadow: 0 6px 20px -8px rgb(15 18 34 / 0.1); }

.sh-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  gap: 1rem;
}

.sh-brand { display: flex; align-items: center; flex: none; }
.sh-brand img, .sh-brand svg { height: 1.75rem; width: auto; }

.sh-nav { display: none; align-items: center; }
@media (min-width: 1024px) { .sh-nav { display: flex; } }

.sh-nav ul { display: flex; align-items: center; gap: 0.125rem; }
.sh-nav li { position: relative; }

.sh-nav a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--r-md);
  color: var(--ink-2);
  transition: color 150ms;
}
.sh-nav a:hover { color: var(--ink); }
.sh-nav .current-menu-item > a,
.sh-nav .current-menu-ancestor > a,
.sh-nav .current-page-ancestor > a { color: var(--accent); }

/* Dropdowns */
.sh-nav .menu-item-has-children > a::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 150ms;
  margin-left: 0.25rem;
}
.sh-nav .menu-item-has-children:hover > a::after,
.sh-nav .menu-item-has-children:focus-within > a::after { transform: rotate(225deg) translateY(-3px); }

.sh-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  width: 19rem;
  display: flex;
  flex-direction: column;
  /* The row above sets align-items: center for the horizontal bar; left as is
     it would size every dropdown row to its own text and centre it, so a long
     description spills past both panel edges. */
  align-items: stretch;
  gap: 0.125rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-float);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 150ms, transform 150ms, visibility 150ms;
  z-index: 60;
}
.sh-nav .menu-item-has-children:hover > .sub-menu,
.sh-nav .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.sh-nav .sub-menu a {
  display: block;
  border-radius: var(--r-lg);
  padding: 0.625rem 0.75rem;
  color: var(--ink);
  font-weight: 600;
  /* Overrides the nowrap the bar needs: a dropdown row is two lines and its
     description has to wrap inside the panel rather than run past its edge. */
  white-space: normal;
}
.sh-nav .sub-menu a:hover { background: var(--canvas); }
.sh-nav .sub-menu .sh-nav__desc {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  margin-top: 0.125rem;
  color: var(--ink-3);
}

.sh-header__cta { display: none; align-items: center; gap: 0.5rem; }
@media (min-width: 1024px) { .sh-header__cta { display: flex; } }

.sh-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  width: 2.75rem;
  border-radius: var(--r-md);
  color: var(--ink-2);
}
.sh-burger:hover { color: var(--ink); }
@media (min-width: 1024px) { .sh-burger { display: none; } }
.sh-burger svg { width: 1.5rem; height: 1.5rem; }
.sh-burger .icon-close { display: none; }
.sh-burger[aria-expanded="true"] .icon-close { display: block; }
.sh-burger[aria-expanded="true"] .icon-open { display: none; }

.sh-mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--surface);
  max-height: 80vh;
  overflow-y: auto;
}
.sh-mobile-menu.is-open { display: block; }
@media (min-width: 1024px) { .sh-mobile-menu { display: none !important; } }
.sh-mobile-menu nav { padding-block: 1rem; display: flex; flex-direction: column; }
.sh-mobile-menu ul { display: flex; flex-direction: column; }
.sh-mobile-menu .sub-menu { padding-left: 0.75rem; }
.sh-mobile-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.75rem;
  border-radius: var(--r-lg);
  color: var(--ink-2);
}
.sh-mobile-menu a:hover { color: var(--ink); background: var(--canvas); }
.sh-mobile-menu .current-menu-item > a { color: var(--accent); background: var(--canvas); }
.sh-mobile-menu .sh-nav__desc { display: none; }
.sh-mobile-menu__actions {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

.sh-footer {
  border-top: 1px solid var(--line);
  background: var(--canvas);
  color: var(--ink-2);
}
.sh-footer .horizon-line { opacity: 0.7; }

.sh-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-block: 3rem;
}
@media (min-width: 768px) {
  .sh-footer__top { grid-template-columns: 1.4fr 2fr; gap: 4rem; }
}

.sh-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.sh-footer__brand img, .sh-footer__brand svg { height: 1.75rem; width: auto; }
.sh-footer__brand p { max-width: 22rem; font-size: 0.875rem; line-height: 1.65; color: var(--ink-2); }

.sh-footer__groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 640px) { .sh-footer__groups { grid-template-columns: repeat(3, 1fr); } }
.sh-footer__groups nav { display: flex; flex-direction: column; gap: 0.75rem; }
.sh-footer__groups .sh-footer__heading {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.sh-footer__groups ul { display: flex; flex-direction: column; gap: 0.625rem; }
.sh-footer__groups a { font-size: 0.875rem; color: var(--ink-2); transition: color 150ms; }
.sh-footer__groups a:hover { color: var(--accent); }

.sh-footer__bottom { border-top: 1px solid var(--line); }
.sh-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-block: 1.25rem;
}
@media (min-width: 1024px) {
  .sh-footer__bottom-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
}
.sh-footer__fineprint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.75rem;
  font-size: 0.75rem;
  color: var(--ink-3);
}
.sh-footer__sep { display: none; height: 0.75rem; width: 1px; background: var(--line-strong); }
@media (min-width: 640px) { .sh-footer__sep { display: block; } }
.sh-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem 1rem; }
.sh-footer__legal a { font-size: 0.75rem; color: var(--ink-2); transition: color 150ms; }
.sh-footer__legal a:hover { color: var(--accent); }

/* ── Hero (home) ─────────────────────────────────────────────────────────── */

.sh-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--night);
}
.sh-hero__bg { position: absolute; inset: 0; pointer-events: none; background-size: cover; background-position: center; }
.sh-hero__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(45rem 32rem at 18% 0%, rgb(0 156 255 / 0.18), transparent 62%),
    radial-gradient(38rem 28rem at 84% 100%, rgb(109 93 230 / 0.14), transparent 64%);
}
/* The scrim stack is tuned to the backdrop it sits on. The current clip is a
   dark, low-contrast ambient loop, so these are far lighter than they would be
   over bright footage — stacked any heavier they crush it to flat black and
   the video may as well not be there. Raise them again if the clip is ever
   swapped for a brighter one; white copy over this one still clears AA with
   room to spare. */
.sh-hero__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(180deg, rgb(4 7 15 / 0.72) 0%, rgb(4 7 15 / 0.4) 38%, rgb(4 7 15 / 0.4) 62%, rgb(4 7 15 / 0.8) 100%);
}
.sh-hero__focal {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(ellipse 78% 66% at 50% 46%, rgb(4 7 15 / 0.46) 0%, rgb(4 7 15 / 0.26) 55%, transparent 80%);
}
.sh-hero__horizon {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background-image: linear-gradient(90deg, transparent, color-mix(in srgb, var(--brand) 55%, transparent), transparent);
}
.sh-hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: none;
}

/* Decoration only: the poster carries the frame on narrow screens and for
   anyone who has asked the OS for less motion. */
@media (min-width: 1024px) {
  .sh-hero__video { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .sh-hero__video { display: none; }
}
/* Set by theme.js when the browser refuses to (re)start playback, so a frozen
   mid-loop frame never stands in for the poster. */
.sh-hero__video.is-stalled { display: none; }

.sh-hero__inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-block: 3.5rem 4rem;
}
@media (min-width: 640px) { .sh-hero__inner { padding-block: 5rem 4rem; } }
@media (min-width: 1024px) { .sh-hero__inner { gap: 3rem; padding-block: 6rem; } }

.sh-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  max-width: 48rem;
}

.sh-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.4rem + 3.2vw, 3.5rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
  filter: drop-shadow(0 2px 14px rgb(4 7 15 / 0.85));
}
.sh-hero__title em {
  font-style: normal;
  background: linear-gradient(to right, var(--brand-light), var(--brand));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sh-hero__lede {
  max-width: 36rem;
  font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.25rem);
  line-height: 1.6;
  color: rgb(255 255 255 / 0.78);
  text-shadow: 0 1px 12px rgb(4 7 15 / 0.9);
}

/* The two instruments. Below the lg breakpoint they stack, the check first:
   the coverage panel is context, the check is the thing to act on. */
.sh-hero__console {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 1024px) {
  .sh-hero__console {
    grid-template-columns: 7fr 5fr;
    align-items: start;
    gap: 1.5rem;
  }
}

.sh-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.25rem;
}
.sh-hero__families {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: rgb(255 255 255 / 0.45);
  max-width: 44rem;
}
.sh-hero__families strong { font-weight: 400; color: rgb(255 255 255 / 0.6); }

/* ── Coverage panel ──────────────────────────────────────────────────────── */

.sh-coverage {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--r-2xl);
  overflow: hidden;
  background-image: linear-gradient(180deg, rgb(255 255 255 / 0.06), rgb(255 255 255 / 0.015));
  border: 1px solid rgb(255 255 255 / 0.1);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.05), 0 18px 40px -26px rgb(0 0 0 / 0.8);
}

.sh-coverage__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}
@media (min-width: 640px) { .sh-coverage__head { padding-inline: 1.5rem; } }

.sh-coverage__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgb(255 255 255 / 0.6);
}
.sh-coverage__note { font-size: 0.75rem; color: rgb(255 255 255 / 0.5); }

.sh-coverage__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  flex: 1;
  margin: 0;
}

.sh-coverage__tile {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 1.25rem;
}
@media (min-width: 640px) { .sh-coverage__tile { padding-inline: 1.5rem; } }

.sh-coverage__tile:nth-child(odd) { border-right: 1px solid rgb(255 255 255 / 0.1); }
.sh-coverage__tile:nth-child(-n+2) { border-bottom: 1px solid rgb(255 255 255 / 0.1); }

.sh-coverage__tile-label { font-size: 0.75rem; font-weight: 500; color: rgb(255 255 255 / 0.6); }

.sh-coverage__tile-value {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2.25rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.sh-coverage__tile-detail {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgb(255 255 255 / 0.55);
}

/* ── Band 2: overview + product frame ───────────────────────────────────── */

.sh-overview { display: flex; flex-direction: column; gap: 3rem; }
@media (min-width: 1024px) { .sh-overview { gap: 3.5rem; } }

.sh-overview__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .sh-overview__head {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    gap: 4rem;
  }
}

.sh-overview__points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 640px) {
  .sh-overview__points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
}

.sh-overview__point { display: flex; flex-direction: column; gap: 0.375rem; }
.sh-overview__point dt { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.sh-overview__point dd { margin: 0; font-size: 0.875rem; line-height: 1.6; color: var(--ink-2); }

.sh-showcase { display: flex; flex-direction: column; gap: 1.5rem; }

.sh-showcase__tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.sh-showcase__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: border-color 150ms, color 150ms, background-color 150ms;
}
.sh-showcase__tab:hover { border-color: var(--line-strong); color: var(--ink); }
.sh-showcase__tab[aria-selected="true"] {
  border-color: var(--accent);
  background: var(--brand-soft);
  color: var(--accent);
}

.sh-showcase__frame { position: relative; margin-inline: auto; width: 100%; max-width: 72rem; }

.sh-showcase__glow {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  height: 8rem;
  pointer-events: none;
  overflow-x: hidden;
  background-image: radial-gradient(50% 60% at 50% 0%, rgb(0 156 255 / 0.28), transparent 70%);
}

.sh-showcase__screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--r-2xl);
  border: 1px solid rgb(255 255 255 / 0.12);
  background: var(--night-2);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06), 0 40px 120px -32px rgb(0 156 255 / 0.35);
}

.sh-showcase__pane {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 500ms var(--ease-out);
  pointer-events: none;
}
.sh-showcase__pane.is-active { opacity: 1; pointer-events: auto; }

.sh-showcase__img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.sh-showcase__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgb(255 255 255 / 0.4);
}

/* ── Band 3: how it works ────────────────────────────────────────────────── */

.sh-steps-band { position: relative; }
.sh-steps-band__inner { position: relative; display: flex; flex-direction: column; gap: 3rem; }
@media (min-width: 1024px) { .sh-steps-band__inner { gap: 3.5rem; } }

.hairline-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgb(15 18 34 / 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(15 18 34 / 0.035) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 85%);
}

.sh-steps {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 1024px) {
  .sh-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
}

.sh-steps__rail { display: none; }
@media (min-width: 1024px) {
  .sh-steps__rail {
    display: block;
    position: absolute;
    inset-inline: 0;
    top: 18px;
    height: 1px;
    pointer-events: none;
    background-image: linear-gradient(90deg, var(--line-strong), var(--line-strong) 60%, transparent);
  }
}

.sh-steps__step { position: relative; display: flex; flex-direction: column; gap: 1rem; }

.sh-steps__head { display: flex; align-items: center; gap: 0.75rem; }

.sh-steps__num {
  position: relative;
  z-index: 10;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}

.sh-steps__step h3 { font-size: 1rem; font-weight: 600; color: var(--ink); }
.sh-steps__copy { font-size: 0.875rem; line-height: 1.6; color: var(--ink-2); }

.sh-steps__record {
  display: block;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  padding: 0.625rem 0.875rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  line-height: 1.7;
  color: var(--ink-2);
  /* The gaps inside a record line are columns, not filler — keep them. */
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.sh-steps__record b { font-weight: 600; color: var(--accent); }

/* ── Band 4: why ─────────────────────────────────────────────────────────── */

.sh-why {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .sh-why { grid-template-columns: 5fr 7fr; gap: 5rem; }
}

.sh-why__aside { align-self: start; display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 1024px) { .sh-why__aside { position: sticky; top: 7rem; } }

.sh-why__trust { display: flex; flex-direction: column; gap: 0.625rem; margin: 0; padding: 0; list-style: none; }
.sh-why__trust li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: var(--ink-2); }

.sh-why__trust-icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--canvas);
  color: var(--accent);
}

.sh-why__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }

.sh-why__link { font-size: 0.875rem; font-weight: 500; color: var(--link); text-underline-offset: 2px; }
.sh-why__link:hover { text-decoration: underline; }

.sh-why__pillars { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }

.sh-why__pillar {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 2rem 0 2rem 1rem;
}
@media (min-width: 640px) { .sh-why__pillar { padding-left: 2rem; } }
.sh-why__pillar:first-child { border-top: 0; padding-top: 0.25rem; }

.sh-why__rule {
  position: absolute;
  inset-block: 1.5rem;
  left: 0;
  width: 1px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 500ms var(--ease-out);
}
.sh-why__pillar:hover .sh-why__rule { transform: scaleY(1); }

.sh-why__pillar h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.sh-why__pillar p {
  margin-top: 0.625rem;
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-2);
}

/* ── Page header (interior pages) ────────────────────────────────────────── */

.sh-page-header { position: relative; overflow: hidden; }
.sh-page-header__beam {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 24rem;
  pointer-events: none;
  background-image: radial-gradient(50% 100% at 50% 0%, rgb(0 156 255 / 0.1), transparent 70%);
}
.sh-page-header__inner { position: relative; padding-block: 4rem; }
@media (min-width: 640px) { .sh-page-header__inner { padding-block: 5rem; } }
@media (min-width: 1024px) { .sh-page-header__inner { padding-block: 6rem; } }
.sh-page-header__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: 52rem;
}
.sh-page-header h1 { color: #fff; }
.sh-page-header__lede { font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); color: rgb(255 255 255 / 0.7); max-width: 48rem; }
.sh-page-header__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; padding-top: 0.5rem; }
.sh-page-header__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  font-size: 0.8125rem;
  color: rgb(255 255 255 / 0.6);
}
.sh-page-header__meta a { color: rgb(255 255 255 / 0.8); text-decoration: underline; text-underline-offset: 3px; }

/* ── Generic grids & tiles ───────────────────────────────────────────────── */

.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.feature-card { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.5rem; }
.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: var(--r-lg);
  background: var(--brand-soft);
  color: var(--accent);
  flex: none;
}
.feature-card__icon svg { width: 1.25rem; height: 1.25rem; }
.feature-card h3 { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; color: var(--ink); }
.feature-card p { font-size: 0.9375rem; line-height: 1.6; color: var(--ink-2); }

/* Numbered steps */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1.25rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: 0; }
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 9999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
}
.step h3 { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.375rem; }
.step p { font-size: 0.9375rem; line-height: 1.6; color: var(--ink-2); }

/* Stat tiles */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); padding: 1.75rem 1.5rem; display: flex; flex-direction: column; gap: 0.375rem; }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat__label { font-size: 0.8125rem; color: var(--ink-2); }

/* Dark interlude band */
.night-band { position: relative; isolation: isolate; overflow: hidden; }
.night-band > .container-site { position: relative; z-index: 2; }

/* Comparison table */
.compare { width: 100%; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--surface); }
.compare table { font-size: 0.9375rem; }
.compare th, .compare td { padding: 0.875rem 1.25rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th {
  background: var(--canvas);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody th { font-weight: 600; color: var(--ink); width: 34%; }
.compare td { color: var(--ink-2); }
.compare td.is-yes { color: var(--ink); }
.compare .mark { display: inline-flex; align-items: center; gap: 0.5rem; }
.compare .mark svg { width: 1rem; height: 1rem; flex: none; }
.compare .mark--yes svg { color: var(--risk-low); }
.compare .mark--no svg { color: var(--ink-3); }

/* CTA band */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--r-3xl);
  padding: 2.75rem 1.75rem;
}
@media (min-width: 768px) { .cta-band { padding: 3.5rem 3rem; } }
@media (min-width: 1024px) { .cta-band { padding: 4rem 3.5rem; } }

/* Offer on the left, what actually happens on the right. They sit side by
   side from the width where two readable columns fit, and stack before that. */
.cta-band__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .cta-band__inner { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
}

.cta-band .eyebrow { display: block; margin-bottom: 0.9rem; }
.cta-band h2 { color: #fff; max-width: 22ch; }
.cta-band__lede {
  margin-top: 1rem;
  max-width: 44ch;
  color: rgb(255 255 255 / 0.72);
  font-size: 1.0625rem;
  line-height: 1.6;
}
.cta-band__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
/* Left-aligned beside a solid button, a borderless ghost reads as stray text
   rather than the second of two choices. Give it an outline here only. */
.cta-band__actions .btn-ghost-inverse {
  border: 1px solid rgb(255 255 255 / 0.22);
  color: #fff;
}
.cta-band__actions .btn-ghost-inverse:hover { border-color: rgb(255 255 255 / 0.4); }

/* ── What happens: numbered, hairline-separated, no icons ────────────────── */

.cta-band__steps { list-style: none; display: flex; flex-direction: column; }

.cta-band__step {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.25rem 0.75rem;
  padding: 1rem 0;
  border-top: 1px solid rgb(255 255 255 / 0.1);
}
.cta-band__step:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) {
  .cta-band__step:first-child { padding-top: 0.35rem; }
}
.cta-band__step:last-child { padding-bottom: 0; }

.cta-band__step-n {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--brand);
  padding-top: 0.15rem;
}
.cta-band__step-body { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.cta-band__step-body strong { color: #fff; font-size: 1rem; font-weight: 600; }
.cta-band__step-body span { color: rgb(255 255 255 / 0.62); font-size: 0.9375rem; line-height: 1.55; }

/* ── Procurement line ────────────────────────────────────────────────────── */

.cta-band__note {
  position: relative;
  z-index: 2;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: rgb(255 255 255 / 0.45);
}

/* ── Prose (page & post body from the block editor) ──────────────────────── */

.prose { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 3rem;
  scroll-margin-top: 6rem;
}
.prose h3 {
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  margin-top: 2.25rem;
  scroll-margin-top: 6rem;
}
.prose h4 { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; color: var(--ink); margin-top: 1.75rem; }
.prose p { text-wrap: pretty; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--ink-3); }
.prose blockquote {
  border-left: 2px solid var(--accent);
  padding-left: 1.25rem;
  color: var(--ink-2);
  font-size: 1.125rem;
  font-style: normal;
}
.prose code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--canvas-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0.125em 0.375em;
  color: var(--ink);
}
.prose pre {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.6;
  background: var(--abyss);
  color: rgb(255 255 255 / 0.85);
  border-radius: var(--r-card);
  padding: 1.25rem;
  overflow-x: auto;
}
.prose pre code { background: none; border: 0; padding: 0; color: inherit; }
.prose img, .prose figure img { border-radius: var(--r-card); border: 1px solid var(--line); }
.prose figure { margin-block: 2rem; }
.prose figcaption { margin-top: 0.75rem; font-size: 0.8125rem; color: var(--ink-3); text-align: center; }
.prose hr { margin-block: 2.5rem; }
.prose table { font-size: 0.9375rem; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.prose th, .prose td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); text-align: left; }
.prose thead th { background: var(--canvas); font-weight: 600; color: var(--ink); }
.prose .wp-block-table { overflow-x: auto; }

/* WP alignment helpers */
.prose .alignleft { float: left; margin: 0.5rem 1.5rem 1rem 0; }
.prose .alignright { float: right; margin: 0.5rem 0 1rem 1.5rem; }
.prose .aligncenter { margin-inline: auto; }
.prose .alignwide { width: min(100%, 60rem); margin-inline: auto; }
.prose .wp-caption-text { font-size: 0.8125rem; color: var(--ink-3); }

/* ── Blog ────────────────────────────────────────────────────────────────── */

.post-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card { display: flex; flex-direction: column; overflow: hidden; }
.post-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--canvas-2); border-bottom: 1px solid var(--line); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.03); }
.post-card__media--fallback {
  display: flex; align-items: center; justify-content: center;
  background: var(--night);
  background-image: radial-gradient(30rem 16rem at 30% 0%, rgb(0 156 255 / 0.22), transparent 62%);
}
.post-card__media--fallback span {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.55);
}
.post-card__body { display: flex; flex-direction: column; gap: 0.625rem; padding: 1.25rem 1.375rem 1.5rem; flex: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.post-card__cat { color: var(--accent); }
.post-card h3 { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; line-height: 1.35; color: var(--ink); letter-spacing: -0.01em; }
.post-card:hover h3 { color: var(--accent); }
.post-card p { font-size: 0.875rem; line-height: 1.6; color: var(--ink-2); }
.post-card__more { margin-top: auto; padding-top: 0.75rem; font-size: 0.8125rem; font-weight: 600; color: var(--accent); }

/* Featured post */
.post-feature { display: grid; grid-template-columns: 1fr; overflow: hidden; }
@media (min-width: 900px) { .post-feature { grid-template-columns: 1.1fr 1fr; } }
.post-feature__media { min-height: 16rem; background: var(--canvas-2); }
.post-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.post-feature__body { display: flex; flex-direction: column; gap: 1rem; padding: 2rem; justify-content: center; }
.post-feature__body h2 { font-family: var(--font-display); font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); }
.post-feature__body p { color: var(--ink-2); line-height: 1.65; }

/* Post layout */
.post-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .post-layout { grid-template-columns: minmax(0, 1fr) 16rem; gap: 4rem; } }
.post-aside { position: sticky; top: 6rem; align-self: start; display: flex; flex-direction: column; gap: 1.5rem; }
.post-toc { display: flex; flex-direction: column; gap: 0.625rem; }
.post-toc a { font-size: 0.8125rem; line-height: 1.5; color: var(--ink-2); padding-left: 0.75rem; border-left: 2px solid var(--line); transition: color 150ms, border-color 150ms; }
.post-toc a:hover, .post-toc a.is-active { color: var(--accent); border-left-color: var(--accent); }
.post-toc a.is-sub { padding-left: 1.5rem; font-size: 0.78125rem; }

.post-hero-media { margin-bottom: 2.5rem; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); }

.taxonomy-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-chip {
  display: inline-flex; align-items: center;
  border-radius: 9999px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.3125rem 0.75rem;
  font-size: 0.75rem;
  color: var(--ink-2);
  transition: border-color 150ms, color 150ms;
}
.tag-chip:hover, .tag-chip.is-active { border-color: var(--accent); color: var(--accent); }

.pagination { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 3.5rem; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.5rem; height: 2.5rem; padding-inline: 0.75rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.875rem;
  color: var(--ink-2);
  transition: border-color 150ms, color 150ms;
}
.pagination .page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.pagination .page-numbers.current { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }

.post-nav { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 3rem; }
@media (min-width: 640px) { .post-nav { grid-template-columns: repeat(2, 1fr); } }
.post-nav a { display: flex; flex-direction: column; gap: 0.375rem; padding: 1.25rem; }
.post-nav .eyebrow { color: var(--ink-3); }
.post-nav strong { font-family: var(--font-display); font-size: 0.9375rem; font-weight: 600; color: var(--ink); line-height: 1.4; }
.post-nav a:hover strong { color: var(--accent); }
.post-nav a.is-next { text-align: right; align-items: flex-end; }

/* Search form */
.search-form { display: flex; gap: 0.5rem; }
.search-form input[type="search"] {
  flex: 1;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: var(--ink);
}
.search-form input[type="search"]::placeholder { color: var(--ink-3); }
.search-form input[type="search"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent); }

/* Empty / 404 */
.state-empty { text-align: center; max-width: 34rem; margin-inline: auto; display: flex; flex-direction: column; gap: 1rem; align-items: center; }

/* Cookie notice */
.sh-cookie {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 80;
  padding: 1rem;
}
.sh-cookie__inner {
  max-width: 48rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-float);
  padding: 1.25rem;
}
@media (min-width: 640px) { .sh-cookie__inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.sh-cookie p { font-size: 0.8125rem; line-height: 1.6; color: var(--ink-2); }
.sh-cookie p a { color: var(--link); text-decoration: underline; }
.sh-cookie__actions { display: flex; gap: 0.5rem; flex: none; }

/* Admin bar offset */
body.admin-bar .sh-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .sh-header { top: 46px; } }

/* ── Scan band ───────────────────────────────────────────────────────────── */

.sh-scan-band { position: relative; isolation: isolate; overflow: hidden; }
.sh-scan-band__glow {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 10rem;
  pointer-events: none;
  background-image: radial-gradient(60% 100% at 50% 0%, rgb(0 156 255 / 0.07), transparent 70%);
}
.sh-scan-band__inner { position: relative; }
.sh-scan-band__form { margin-top: 2.5rem; max-width: 44rem; margin-inline: auto; }

/* ── Pipeline (dark) ─────────────────────────────────────────────────────── */

.sh-pipeline { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .sh-pipeline { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sh-pipeline { grid-template-columns: repeat(4, 1fr); } }
.sh-pipeline__step { display: flex; flex-direction: column; gap: .625rem; padding: 1.5rem; border-radius: var(--r-card); }
.sh-pipeline__head { display: flex; align-items: center; justify-content: space-between; }
.sh-pipeline__num {
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--brand);
}
.sh-pipeline__icon { color: rgb(255 255 255 / 0.55); }
.sh-pipeline__icon svg { width: 1.25rem; height: 1.25rem; }
.sh-pipeline__badge {
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.45);
}
.sh-pipeline__step h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: #fff; line-height: 1.35; }
.sh-pipeline__step p { font-size: .875rem; line-height: 1.6; color: rgb(255 255 255 / 0.7); }

/* ── Insights head ───────────────────────────────────────────────────────── */

.sh-insights__head { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 900px) {
  .sh-insights__head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 2rem; }
  .sh-insights__action { flex: none; padding-bottom: .25rem; }
}

/* ── Page body & child pages ─────────────────────────────────────────────── */

.sh-page-body { max-width: 52rem; margin-inline: auto; }
.sh-child-pages { max-width: 52rem; margin: 3rem auto 0; padding-top: 2rem; border-top: 1px solid var(--line); }
.sh-child-pages ul { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.sh-child-pages a {
  display: inline-flex;
  border-radius: 9999px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: .375rem .875rem;
  font-size: .875rem;
  color: var(--ink-2);
  transition: border-color 150ms, color 150ms;
}
.sh-child-pages a:hover { border-color: var(--accent); color: var(--accent); }

/* ── Comments ────────────────────────────────────────────────────────────── */

.sh-comments { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.sh-comment-list { display: flex; flex-direction: column; gap: 1.5rem; }
.sh-comment-list .children { margin-top: 1.25rem; padding-left: 1.5rem; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 1.25rem; }
.sh-comments .comment-body { font-size: .9375rem; line-height: 1.65; color: var(--ink-2); }
.sh-comments .comment-author { display: flex; align-items: center; gap: .625rem; font-size: .875rem; color: var(--ink); font-weight: 600; margin-bottom: .375rem; }
.sh-comments .comment-author img { border-radius: 9999px; }
.sh-comments .comment-meta { font-size: .75rem; color: var(--ink-3); margin-bottom: .625rem; }
.sh-comments .comment-form { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.sh-comments .comment-form input[type="text"],
.sh-comments .comment-form input[type="email"],
.sh-comments .comment-form input[type="url"],
.sh-comments .comment-form textarea {
  width: 100%;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  padding: .625rem .875rem;
  font-size: .9375rem;
  color: var(--ink);
}
.sh-comments .comment-form textarea { min-height: 8rem; resize: vertical; }
.sh-comments .comment-form label { display: block; font-size: .8125rem; font-weight: 600; color: var(--ink); margin-bottom: .375rem; }
.sh-comments .comment-form .form-submit { margin-top: .5rem; }

/* Nav labels must not wrap — the bar is a single line by design. The dropdown
   rows opt back out of this above, where .sh-nav .sub-menu a is defined. */
.sh-nav a { white-space: nowrap; }
.sh-header__cta .btn { white-space: nowrap; }

.sh-footer__legal ul { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem 1rem; }

/* ══════════════════════════════════════════════════════════════════════════
   Product frame — scroll tilt
   The frame leans back below the fold and eases flat as it reaches reading
   position. `--p` is the element's progress through the viewport (-1 below,
   0 centred, 1 past the top), written by theme.js; `--sh-tilt-deg` and
   `--sh-tilt-persp` are interpolated off the viewport width there too,
   because the same angle reads far flatter on a phone than on a desktop.
   ══════════════════════════════════════════════════════════════════════════ */

.sh-tilt {
  transform: perspective(calc(var(--sh-tilt-persp, 1000) * 1px))
    rotateX(clamp(0deg, calc(var(--p, -1) * var(--sh-tilt-deg, 10) * -1deg), calc(var(--sh-tilt-deg, 10) * 1deg)));
  transition: transform 120ms linear;
  will-change: transform;
}

/* The glow pools under the frame and drifts against the scroll. */
.sh-showcase__glow {
  transform: translate3d(0, calc(var(--p, -1) * 10px), 0);
}

@media (prefers-reduced-motion: reduce) {
  .sh-tilt { transform: none; transition: none; }
  .sh-showcase__glow { transform: none; }
}

/* ══════════════════════════════════════════════════════════════════════════
   Product frame — the drawn console (template-parts/home/console*.php)

   Everything sizes in `em` off a root of 1.16cqw, so the whole interface
   scales with the frame rather than snapping at breakpoints. The frame's
   aspect ratio is fixed, so width alone is enough to drive it.
   ══════════════════════════════════════════════════════════════════════════ */

.sh-showcase__screen { container-type: inline-size; }

.sh-ui {
  --ui-radius: 0.55em;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  font-size: 1.02cqw;
  font-family: var(--font-sans);
  line-height: 1.35;
  color: var(--ink);
  background: var(--canvas);
  text-align: left;
}

/* ── Top bar ─────────────────────────────────────────────────────────────── */

.sh-ui__topbar {
  display: flex;
  align-items: center;
  gap: 1em;
  padding: 0 1.4em;
  height: 4.2em;
  background: var(--night);
  color: #fff;
  flex: none;
}

.sh-ui__wordmark {
  font-family: var(--font-display);
  font-size: 1.45em;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.sh-ui__wordmark span { color: var(--brand); font-weight: 500; }

.sh-ui__tenant {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: var(--ui-radius);
  padding: 0.45em 0.7em;
  font-size: 0.92em;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.sh-ui__tenant-mark {
  display: grid;
  place-items: center;
  width: 1.7em;
  height: 1.7em;
  border-radius: 0.3em;
  background: var(--accent);
  font-size: 0.85em;
  font-weight: 700;
}
.sh-ui__tenant-plan {
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgb(255 255 255 / 0.55);
}

.sh-ui__search {
  flex: 1;
  min-width: 0;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: var(--ui-radius);
  padding: 0.55em 0.9em;
  font-size: 0.92em;
  color: rgb(255 255 255 / 0.42);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sh-ui__topbar-right {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  flex: none;
  font-size: 0.9em;
  color: rgb(255 255 255 / 0.7);
}
.sh-ui__chip-sm { font-weight: 600; letter-spacing: 0.04em; }
.sh-ui__dot-btn {
  width: 0.95em;
  height: 0.95em;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.26);
}
.sh-ui__avatar {
  display: grid;
  place-items: center;
  width: 2em;
  height: 2em;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--violet));
  color: #fff;
  font-size: 0.78em;
  font-weight: 700;
}
.sh-ui__user { font-weight: 500; color: #fff; }

/* ── Section nav ─────────────────────────────────────────────────────────── */

.sh-ui__nav {
  display: flex;
  align-items: center;
  gap: 1.6em;
  padding: 0 1.4em;
  height: 3em;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  flex: none;
}
.sh-ui__nav-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  height: 100%;
  font-size: 0.95em;
  font-weight: 500;
  color: var(--ink-3);
  border-bottom: 2px solid transparent;
}
.sh-ui__nav-item.is-on { color: var(--ink); border-bottom-color: var(--accent); font-weight: 600; }
.sh-ui__nav-count {
  border-radius: 999px;
  background: var(--canvas-2);
  padding: 0.1em 0.45em;
  font-size: 0.78em;
  color: var(--ink-3);
}

/* ── Body ────────────────────────────────────────────────────────────────── */

.sh-ui__body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85em;
  padding: 1.1em 1.4em;
  overflow: hidden;
}

.sh-ui__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  flex: none;
}
.sh-ui__title {
  font-family: var(--font-display);
  font-size: 1.5em;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.sh-ui__title-sep { color: var(--ink-3); font-weight: 400; }

.sh-ui__range {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--ui-radius);
  background: var(--surface);
  overflow: hidden;
  font-size: 0.88em;
}
.sh-ui__range span { padding: 0.45em 0.8em; color: var(--ink-3); }
.sh-ui__range .is-on { background: var(--canvas-2); color: var(--ink); font-weight: 600; }

.sh-ui__head-right { display: inline-flex; align-items: center; gap: 0.6em; }
.sh-ui__pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 0.35em 0.8em;
  font-size: 0.85em;
  color: var(--ink-3);
}
.sh-ui__btn {
  border-radius: var(--ui-radius);
  background: var(--accent);
  padding: 0.45em 0.95em;
  font-size: 0.85em;
  font-weight: 600;
  color: #fff;
}

/* ── Cards ───────────────────────────────────────────────────────────────── */

.sh-ui__row { display: grid; gap: 0.7em; flex: none; }
.sh-ui__row--5 { grid-template-columns: repeat(5, 1fr); }
.sh-ui__row--4 { grid-template-columns: repeat(4, 1fr); }

.sh-ui__card {
  display: flex;
  flex-direction: column;
  gap: 0.35em;
  border: 1px solid var(--line);
  border-radius: 0.7em;
  background: var(--surface);
  padding: 0.85em 1em;
  box-shadow: 0 1px 2px rgb(15 18 34 / 0.03);
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.sh-ui__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
  font-size: 0.85em;
  color: var(--ink-2);
}
.sh-ui__num {
  font-family: var(--font-display);
  font-size: 1.75em;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}
.sh-ui__num--lg { font-size: 2.35em; }
.sh-ui__num--crit { color: var(--risk-critical); }
.sh-ui__denom { font-size: 0.45em; font-weight: 600; color: var(--ink-3); }

.sh-ui__note { font-size: 0.78em; color: var(--ink-3); }
.sh-ui__up { color: var(--risk-high); font-weight: 600; }
.sh-ui__crit-tag { font-size: 0.92em; font-weight: 700; color: var(--risk-critical); }

.sh-ui__meter {
  height: 0.45em;
  border-radius: 999px;
  background: var(--canvas-2);
  overflow: hidden;
  margin-top: 0.15em;
}
.sh-ui__meter > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--risk-high), var(--risk-critical));
}

/* ── Split rows ──────────────────────────────────────────────────────────── */

.sh-ui__split { display: grid; grid-template-columns: 1.85fr 1fr; gap: 0.7em; flex: 1; min-height: 0; }
.sh-ui__split--wide { grid-template-columns: 2.1fr 1fr; }
.sh-ui__split--even { grid-template-columns: 1fr 1.6fr; flex: 0.85; }

.sh-ui__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8em;
}
.sh-ui__card-title { font-size: 0.95em; font-weight: 600; }
.sh-ui__viewall { font-size: 0.82em; font-weight: 500; color: var(--accent); }

/* ── Trend chart ─────────────────────────────────────────────────────────── */

.sh-ui__card--chart { overflow: hidden; }
.sh-ui__legend { display: inline-flex; gap: 1em; font-size: 0.8em; color: var(--ink-3); }
.sh-ui__legend b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.sh-ui__key {
  display: inline-block;
  width: 1.1em;
  height: 0.16em;
  border-radius: 999px;
  margin-right: 0.4em;
  vertical-align: middle;
}
.sh-ui__key--a { background: var(--accent); }
.sh-ui__key--b { background: var(--risk-medium); }

.sh-ui__chart { flex: 1; width: 100%; min-height: 0; }
.sh-ui__grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.sh-ui__line { fill: none; stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.sh-ui__line--a { stroke: var(--accent); }
.sh-ui__line--b { stroke: var(--risk-medium); }

.sh-ui__axis {
  display: flex;
  justify-content: space-between;
  font-size: 0.72em;
  color: var(--ink-3);
  font-family: var(--font-mono);
}

/* ── Priority actions ────────────────────────────────────────────────────── */

.sh-ui__card--actions { gap: 0; }
.sh-ui__action {
  display: flex;
  align-items: center;
  gap: 0.65em;
  padding: 0.5em 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.85em;
}
.sh-ui__action:last-child { border-bottom: 0; }
.sh-ui__action-icon {
  width: 0.85em;
  height: 0.85em;
  border-radius: 0.2em;
  background: var(--canvas-2);
  flex: none;
}
.sh-ui__action-label { flex: 1; min-width: 0; color: var(--ink-2); }
.sh-ui__action b { font-variant-numeric: tabular-nums; color: var(--ink-3); }
.sh-ui__action b.sh-ui__count--on { color: var(--risk-critical); }

/* ── Tables ──────────────────────────────────────────────────────────────── */

.sh-ui__card--table { gap: 0; }
.sh-ui__card--full { flex: 1; }

.sh-ui__thead,
.sh-ui__trow {
  display: grid;
  grid-template-columns: 5.5em 1fr 3.5em 11em 6em;
  align-items: center;
  gap: 0.6em;
}
.sh-ui__thead--scans,
.sh-ui__trow--scans { grid-template-columns: 1.7fr 1fr 5.5em 4.5em 7.5em; }
.sh-ui__thead--scans > :nth-child(3),
.sh-ui__thead--scans > :nth-child(4),
.sh-ui__trow--scans > :nth-child(3),
.sh-ui__trow--scans > :nth-child(4) { text-align: right; }

.sh-ui__thead {
  padding: 0.7em 0 0.5em;
  border-bottom: 1px solid var(--line);
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.sh-ui__trow {
  padding: 0.62em 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.85em;
}
.sh-ui__trow:last-child { border-bottom: 0; }

.sh-ui__sev { font-weight: 700; font-size: 0.95em; }
.sh-ui__sev--critical,
.sh-ui__sev--crit { color: var(--risk-critical); }
.sh-ui__sev--high { color: var(--risk-high); }
.sh-ui__sev--med { color: var(--risk-medium); }
.sh-ui__sev--low { color: var(--risk-low); }

.sh-ui__asset { font-family: var(--font-mono); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-ui__asset i {
  display: block;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.78em;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.sh-ui__mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-ui__dim { color: var(--ink-3); }
.sh-ui__status { font-weight: 600; }
.sh-ui__status.is-running { color: var(--accent); }

/* ── Severity donut ──────────────────────────────────────────────────────── */

.sh-ui__card--donut { align-items: center; min-height: 0; }
.sh-ui__donut { position: relative; flex: 1; display: grid; place-items: center; min-height: 0; width: 100%; }
.sh-ui__donut svg { height: 100%; max-height: 100%; width: auto; }
.sh-ui__arc {
  fill: none;
  stroke-width: 11;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}
.sh-ui__arc--crit { stroke: var(--risk-critical); }
.sh-ui__arc--high { stroke: var(--risk-high); }
.sh-ui__arc--med { stroke: var(--risk-medium); }
.sh-ui__arc--low { stroke: var(--risk-low); }

.sh-ui__donut-mid {
  position: absolute;
  display: grid;
  justify-items: center;
  line-height: 1.1;
}
.sh-ui__donut-mid b { font-family: var(--font-display); font-size: 2em; font-weight: 700; }
.sh-ui__donut-mid i {
  font-style: normal;
  font-size: 0.68em;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}

/* ── Scan detail ─────────────────────────────────────────────────────────── */

.sh-ui__card--score { justify-content: center; }
.sh-ui__score {
  font-family: var(--font-display);
  font-size: 3.4em;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--risk-critical);
  font-variant-numeric: tabular-nums;
}
.sh-ui__score-foot {
  display: flex;
  gap: 1.1em;
  margin-top: 0.3em;
  font-size: 0.8em;
  color: var(--ink-3);
}
.sh-ui__score-foot b { color: var(--ink); font-weight: 600; }

.sh-ui__card--factors { gap: 0.55em; justify-content: center; }
.sh-ui__card--families { gap: 0.55em; }
.sh-ui__families-foot { margin-top: auto; }
.sh-ui__factor--family { grid-template-columns: 5.5em 1fr 2.5em; }
.sh-ui__families-foot {
  padding-top: 0.5em;
  border-top: 1px solid var(--line);
  font-size: 0.75em;
  color: var(--ink-3);
}
.sh-ui__factor { display: grid; grid-template-columns: 9.5em 1fr 7.5em; align-items: center; gap: 0.8em; font-size: 0.83em; }
.sh-ui__factor-label { color: var(--ink-2); }
.sh-ui__factor-note { color: var(--ink-3); font-size: 0.92em; text-align: right; white-space: nowrap; }
.sh-ui__bar { height: 0.42em; border-radius: 999px; background: var(--canvas-2); overflow: hidden; }
.sh-ui__bar-fill { display: block; height: 100%; border-radius: 999px; }
.sh-ui__bar-fill--crit { background: var(--risk-critical); }
.sh-ui__bar-fill--high { background: var(--risk-high); }
.sh-ui__bar-fill--med { background: var(--risk-medium); }
.sh-ui__bar-fill--low { background: var(--risk-low); }

/* ── Language ────────────────────────────────────────────────────────────── */

/* Segmented EN|TR control. Kept quiet — it sits next to the demo button, and
   a visitor already reading the right language should not be drawn to it. */
.sh-langs {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 0.0625rem;
  padding: 0.125rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--canvas);
}
.sh-langs__item {
  display: block;
  padding: 0.25rem 0.4375rem;
  border-radius: calc(var(--r-md) - 0.125rem);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--ink-3);
  text-decoration: none;
  transition: color 150ms, background-color 150ms;
}
.sh-langs__item:hover { color: var(--ink); }
.sh-langs__item.is-current {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 2px rgb(15 18 34 / 0.06);
}
/* The title is for screen readers and hover, not a dotted underline. */
.sh-langs__item abbr { text-decoration: none; border: 0; cursor: inherit; }

.sh-langs--mobile { align-self: flex-start; margin-bottom: 0.25rem; }

/* The suggestion strip, which lives inside the sticky header. Hidden until the
   inline <head> script decides the visitor reads the other language — doing it
   there rather than in theme.js means the header is its final height at first
   paint, so nothing shifts and nothing re-rasterises mid-scroll. */
.sh-langbar {
  display: none;
  background: var(--night);
  color: #fff;
  border-bottom: 1px solid var(--night-edge);
}
html[data-sh-suggest-lang] .sh-langbar { display: block; }
.sh-langbar.is-dismissed { display: none; }

.sh-langbar__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0;
}
.sh-langbar__text {
  flex: 1 1 auto;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgb(255 255 255 / 0.78);
}
.sh-langbar__action {
  flex: none;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sh-langbar__action:hover { color: var(--brand-light); }
.sh-langbar__close {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  border-radius: var(--r-md);
  background: transparent;
  color: rgb(255 255 255 / 0.55);
  cursor: pointer;
}
.sh-langbar__close:hover { color: #fff; background: rgb(255 255 255 / 0.08); }
.sh-langbar__close svg { width: 1rem; height: 1rem; }

/* ── Interior page sections ──────────────────────────────────────────────── */

/* Anchor targets clear the sticky header. */
.sh-sec { scroll-margin-top: 5rem; }

/* The lede paragraph(s) above the first heading read one size up. */
.sh-lede-prose { max-width: 46rem; font-size: clamp(1.125rem, 1.02rem + 0.5vw, 1.3125rem); line-height: 1.6; }
.sh-lede-prose > p:first-child { color: var(--ink); text-wrap: pretty; }
.sh-lede-prose > p + p { font-size: 1.0625rem; line-height: 1.7; }

.sh-sec__body { margin-top: 2.5rem; }
.sh-sec__intro { max-width: 52rem; }
.sh-sec__intro + .grid-2,
.sh-sec__intro + .grid-3,
.sh-sec__intro + .steps,
.sh-sec__intro + .compare { margin-top: 2.5rem; }

/* Jump bar — the section list, sticky under the header. */
.sh-jump {
  position: sticky;
  top: 4rem;
  z-index: 30;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(150%) blur(10px);
  border-block: 1px solid var(--line);
}
.sh-jump__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-block: 0.75rem;
}
.sh-jump__label { flex: none; display: none; }
@media (min-width: 1024px) { .sh-jump__label { display: inline; } }
.sh-jump__list {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sh-jump__list::-webkit-scrollbar { display: none; }
.sh-jump__list a {
  display: inline-block;
  white-space: nowrap;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.8125rem;
  color: var(--ink-2);
  transition: border-color 150ms, color 150ms, background 150ms;
}
.sh-jump__list a:hover,
.sh-jump__list a.is-active {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  background: var(--brand-soft);
  color: var(--accent);
}

/* Dark bands an interior page can carry. */
.band-showcase,
.band-coverage { position: relative; isolation: isolate; overflow: hidden; }
.band-showcase__inner,
.band-coverage__inner { position: relative; z-index: 2; }
.band-coverage__inner { display: flex; justify-content: center; }
.band-coverage .sh-coverage { width: 100%; max-width: 64rem; }

/* A steps rail reads better with room around it than flush to the band. */
.sh-sec .steps { max-width: 56rem; }

/* Checklist — short, plain bullets read as guarantees, not as prose. */
.sh-checks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 60rem;
}
@media (min-width: 768px) { .sh-checks { grid-template-columns: repeat(2, 1fr); } }
.sh-checks li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.sh-checks__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.5rem;
  width: 1.5rem;
  border-radius: 9999px;
  background: var(--brand-soft);
  color: var(--accent);
  flex: none;
}
.sh-checks__mark svg { width: 0.875rem; height: 0.875rem; }
/* A card can be a jump-bar target when the whole page is one grid. */
.feature-card[id] { scroll-margin-top: 8rem; }
.step[id] { scroll-margin-top: 8rem; }

/* A prose-only section: heading in its own column, text beside it. */
.sh-split { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
@media (min-width: 1024px) {
  .sh-split { grid-template-columns: minmax(0, 19rem) minmax(0, 1fr); gap: 4rem; }
  .sh-split__aside { position: sticky; top: 7rem; align-self: start; }
}
.sh-split__body { max-width: 44rem; }
.sh-split .section-header .text-h2 { font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem); }
.sh-jump.is-done { opacity: 0; visibility: hidden; transition: opacity 200ms, visibility 200ms; }
/* A card or step whose title carries the section's own heading rank still
   reads at card scale — the level is for the outline, not the type. */
.feature-card h2 { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; color: var(--ink); }
.step h2 { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.375rem; color: var(--ink); }
/* The heading block of a full-width section. A plain block: `display:contents`
   would remove the box and take the reveal transition down with it. */
.sh-sec__head { display: block; }

/* The text follows its heading in rather than arriving with it. The theme's
   .stagger-* classes are animation-delays and do nothing for .reveal, which
   is a transition — so the delay is set here. */
.sh-split__body.reveal.is-visible { transition-delay: 90ms; }
