/*
 * Layer: tokens
 * The April 2026 token block is the authoritative source of truth.
 * Legacy compatibility tokens are retained here only to avoid breaking
 * older sections while the stylesheet is progressively cleaned up.
 */
:root {
  --bg: #03060b;
  --bg-2: #08090f;
  --panel: #121318;
  --panel-2: #17181f;
  --panel-3: #1f1726;
  --panel-4: #241d2d;
  --panel-strong: #2a2a30;
  --panel-plum: #2d1b36;
  --text: #d7dce0;
  --text-strong: #f1f3f5;
  --text-muted: #aeb4ba;
  --muted: #adb2b6;
  --line: rgba(173, 178, 182, 0.14);
  --line-strong: rgba(173, 178, 182, 0.28);
  --line-soft: rgba(173, 178, 182, 0.08);
  --brand: #432762;
  --brand-strong: #5a3485;
  --brand-soft: rgba(67, 39, 98, 0.22);
  --brand-plum: #2d1b36;
  --brand-2: #7f97c2;
  --neutral-silver: #b9c0c8;
  --success: #7bc89e;
  --info: #7f97c2;
  --warning: #c9a96b;
  --danger: #c97878;
  --panel-light: #f4f7fc;
  --panel-light-2: #ebf1fa;
  --ink: #13253f;
  --ink-muted: #4e6488;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

/* Layer: base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 110px;
}

body {
  color: var(--text);
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  font-weight: 500;
  line-height: 1.7;
  background:
    radial-gradient(circle at 82% 12%, rgba(67, 39, 98, 0.28), transparent 22%),
    radial-gradient(circle at 14% 18%, rgba(173, 178, 182, 0.06), transparent 16%),
    linear-gradient(180deg, #05070c 0%, #03060b 42%, #06070c 100%);
}

body.nav-open {
  overflow: hidden;
}

a {
  color: #d9c7ff;
  text-decoration: none;
}

a:hover {
  color: #f2ecff;
  text-decoration: none;
}

p,
li,
label,
input,
select,
textarea,
button {
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-head h2,
.section-title h1,
.section-title h2,
.card h1,
.card h2,
.card h3,
.site-brand-wordmark,
.header-nav-link,
.section-kicker,
.panel-label,
.card-meta {
  font-family: "Oxanium", "Montserrat", sans-serif;
}

.container {
  max-width: 1360px;
  padding-inline: 32px;
}

/* Layer: components */
.section {
  padding: 50px 0;
}

.section-kicker,
.panel-label,
.card-meta,
.feature-card-meta {
  color: rgba(173, 178, 182, 0.82);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.section-head h2,
.section-title h2 {
  font-size: clamp(2rem, 3vw, 3.4rem);
}

.section-intro {
  max-width: 66ch;
  color: var(--text-muted);
}

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 100%),
    linear-gradient(180deg, rgba(45, 27, 54, 0.36), rgba(18, 19, 24, 0.96));
  box-shadow: none;
}

.card-light {
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 100%),
    linear-gradient(180deg, rgba(42, 42, 48, 0.98), rgba(18, 19, 24, 0.98));
}

.badge,
.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(173, 178, 182, 0.18);
  color: #e3e6ea;
  background: rgba(255, 255, 255, 0.04);
}

.badge-soft {
  color: #d8cced;
  background: rgba(67, 39, 98, 0.22);
  border-color: rgba(173, 178, 182, 0.16);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  min-height: 50px;
  padding: 0 18px;
  border-radius: 15px;
  border: 1px solid transparent;
  font-family: "Oxanium", "Montserrat", sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.button-primary {
  color: #f7f3ff;
  background: linear-gradient(135deg, #58328a 0%, #432762 50%, #2d1b36 100%);
  box-shadow: 0 14px 30px rgba(67, 39, 98, 0.28);
}

.button-primary:hover {
  box-shadow: 0 18px 34px rgba(67, 39, 98, 0.34);
}

.button-secondary,
.button-ghost {
  color: #eceef1;
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(173, 178, 182, 0.22);
}

.button-ghost {
  background: transparent;
}

input,
select,
textarea {
  min-height: 50px;
  padding: 14px 16px;
  border: 1px solid rgba(173, 178, 182, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(173, 178, 182, 0.85) 50%),
    linear-gradient(135deg, rgba(173, 178, 182, 0.85) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

select option {
  color: #111317;
}

input::placeholder,
textarea::placeholder {
  color: rgba(173, 178, 182, 0.72);
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: #58328a;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid rgba(217, 199, 255, 0.9);
  outline-offset: 2px;
}

.site-header {
  border-bottom: 1px solid rgba(173, 178, 182, 0.08);
  background: rgba(3, 6, 11, 0.88);
  backdrop-filter: blur(22px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.site-header.is-condensed {
  background: rgba(3, 6, 11, 0.94);
}

.site-header-inner {
  min-height: 90px;
  gap: 22px;
}

.site-header.is-condensed .site-header-inner {
  min-height: 84px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.site-brand-logo {
  display: block;
  width: auto;
  height: 36px;
  max-width: min(260px, 42vw);
}

#primary-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.header-nav-link {
  min-height: 44px;
  padding-inline: 16px;
  color: rgba(237, 240, 243, 0.82);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.header-nav-link:hover,
.header-nav-link:focus-visible {
  background: rgba(67, 39, 98, 0.14);
}

.header-nav-link.is-active {
  color: #f7f3ff;
  background: linear-gradient(180deg, rgba(67, 39, 98, 0.45), rgba(45, 27, 54, 0.92));
  border: 1px solid rgba(173, 178, 182, 0.12);
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.header-search {
  width: clamp(240px, 20vw, 310px);
}

.header-search input {
  min-height: 48px;
  padding-inline: 18px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.026);
}

.header-submit-cta {
  min-width: 166px;
}

.header-submit-label-short {
  display: none;
}

.nav-toggle {
  display: none;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(173, 178, 182, 0.18);
  border-radius: 14px;
  color: #eef1f4;
  background: rgba(255, 255, 255, 0.04);
}

.hero-home {
  position: relative;
  overflow: clip;
  isolation: isolate;
  --spotlight-x: 78%;
  --spotlight-y: 26%;
  --spotlight-opacity: 0.6;
  padding: clamp(76px, 9vw, 124px) 0 64px;
  background: transparent;
}

.hero-home::before,
.hero-home::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-home::before {
  z-index: -3;
  background:
    radial-gradient(circle at var(--spotlight-x) var(--spotlight-y), rgba(67, 39, 98, var(--spotlight-opacity)), transparent 24%),
    radial-gradient(circle at 20% 22%, rgba(173, 178, 182, 0.08), transparent 16%),
    linear-gradient(180deg, rgba(3, 6, 11, 0.78), rgba(3, 6, 11, 0.98));
}

.hero-home::after {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(3, 6, 11, 0) 0%, rgba(3, 6, 11, 0.32) 50%, rgba(3, 6, 11, 0.86) 100%);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(173, 178, 182, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(173, 178, 182, 0.06) 1px, transparent 1px);
  background-size: 66px 66px;
  mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, transparent 80%);
  opacity: 0.18;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(400px, 0.98fr);
  align-items: center;
  gap: 46px;
}

.hero-copy-column {
  max-width: 640px;
}

.hero-brand-token {
  margin: 0 0 10px;
  color: rgba(173, 178, 182, 0.88);
  font-family: "Oxanium", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero-copy-column h1 {
  max-width: 11ch;
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(3.4rem, 6vw, 6.25rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.hero-intro {
  max-width: 35rem;
  margin: 26px 0 0;
  color: rgba(215, 220, 224, 0.82);
  font-size: clamp(1.04rem, 1.45vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.quick-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-top: 22px;
  padding: 12px;
  border: 1px solid rgba(173, 178, 182, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.quick-search input {
  min-height: 54px;
  border: none;
  background: rgba(255, 255, 255, 0.022);
}

.quick-search .button {
  min-width: 132px;
}

.quick-searches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.quick-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(173, 178, 182, 0.16);
  border-radius: 999px;
  color: #dadddf;
  background: rgba(255, 255, 255, 0.03);
}

.quick-chip:hover {
  color: #f1f3f5;
  border-color: rgba(173, 178, 182, 0.32);
  background: rgba(67, 39, 98, 0.24);
}

.hero-trust-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-trust-inline span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(173, 178, 182, 0.14);
  color: rgba(237, 240, 243, 0.88);
  background: rgba(255, 255, 255, 0.02);
}

.hero-visual {
  position: relative;
}

.hero-console {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(173, 178, 182, 0.16);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 100%),
    linear-gradient(180deg, rgba(45, 27, 54, 0.62), rgba(15, 16, 22, 0.98));
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.26);
}

.hero-console::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(173, 178, 182, 0.08);
  border-radius: 22px;
  pointer-events: none;
}

.hero-console-topbar,
.hero-console-query,
.hero-console-links,
.article-card-topline,
.section-head-inline,
.tool-card-footer,
.article-card-footer,
.tool-hero-actions,
.collection-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-console-dots {
  display: flex;
  gap: 8px;
}

.hero-console-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(173, 178, 182, 0.42);
}

.hero-console-status {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: #f3edf9;
  font-family: "Oxanium", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(67, 39, 98, 0.3);
  border: 1px solid rgba(173, 178, 182, 0.16);
}

.hero-console-header {
  margin-top: 22px;
}

.hero-console-header h2 {
  margin-top: 10px;
  color: #f1f3f5;
  font-size: clamp(2rem, 2.6vw, 3.2rem);
  font-weight: 700;
  line-height: 1.02;
}

.hero-console-header p:last-child {
  margin: 14px 0 0;
  color: rgba(215, 220, 224, 0.76);
}

.hero-console-query {
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(173, 178, 182, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.026);
}

.hero-console-mode {
  color: rgba(173, 178, 182, 0.84);
  font-family: "Oxanium", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-console-input {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  min-width: 0;
  color: rgba(237, 240, 243, 0.88);
}

.hero-console-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #dccff2;
  background: rgba(67, 39, 98, 0.22);
}

.hero-console-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 18px;
  margin-top: 18px;
}

.hero-console-primary,
.hero-console-note {
  padding: 20px;
  border: 1px solid rgba(173, 178, 182, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.028);
}

.hero-console-primary h3 {
  margin-top: 10px;
  font-size: 1.65rem;
  line-height: 1.08;
}

.hero-console-primary p:last-of-type,
.hero-console-note p:last-child {
  margin-bottom: 0;
  color: rgba(215, 220, 224, 0.78);
}

.hero-console-stack {
  display: grid;
  gap: 14px;
}

.hero-console-note {
  position: relative;
  overflow: hidden;
}

.hero-console-note::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(173, 178, 182, 0.82), rgba(67, 39, 98, 0.9));
}

.hero-console-links {
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(173, 178, 182, 0.1);
}

.hero-console-links a {
  color: #ece7f4;
  font-family: "Oxanium", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-shell {
  padding-bottom: 12px;
}

.home-section-shell {
  padding-top: 0;
}

.section-head-inline {
  margin-bottom: 24px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  color: #ece7f4;
  font-family: "Oxanium", sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-path-grid,
.home-feature-grid,
.home-collection-grid {
  gap: 24px;
}

.home-path-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  grid-template-areas:
    "primary secondary-a"
    "primary secondary-b";
}

.home-path-grid > :nth-child(1) {
  grid-area: primary;
}

.home-path-grid > :nth-child(2) {
  grid-area: secondary-a;
}

.home-path-grid > :nth-child(3) {
  grid-area: secondary-b;
}

.home-feature-grid,
.home-collection-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.featured-tool-card.is-emphasis,
.collection-card.is-emphasis {
  min-height: 100%;
  grid-row: 1 / span 2;
}

.feature-card,
.tool-card,
.collection-card,
.article-card,
.collection-tool-card,
.collection-pick-card {
  position: relative;
  overflow: hidden;
}

.feature-card::before,
.tool-card::before,
.collection-card::before,
.article-card::before,
.collection-tool-card::before,
.collection-pick-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(173, 178, 182, 0.035), transparent 45%);
  pointer-events: none;
}

.feature-card-primary,
.featured-tool-card.is-emphasis,
.collection-card.is-emphasis,
.collection-spotlight,
.contribute-card-home {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 100%),
    linear-gradient(180deg, rgba(67, 39, 98, 0.52), rgba(18, 19, 24, 0.98));
}

.feature-card h3,
.tool-card h3,
.collection-card h3,
.article-card h2,
.article-card h3,
.collection-spotlight h2 {
  margin-top: 14px;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.06;
}

.feature-card p:last-of-type,
.tool-card-summary,
.article-card-body p,
.collection-card p,
.collection-tool-card p {
  color: rgba(215, 220, 224, 0.78);
}

.feature-card-link,
.collection-card-meta-note {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  color: #e9ddfd;
  font-family: "Oxanium", sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tool-card,
.collection-card,
.article-card,
.collection-tool-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.article-card-body {
  display: grid;
  gap: 12px;
}

.article-card-note {
  margin: 0;
}

.article-card-topline {
  align-items: flex-start;
}

.tool-card-footer,
.article-card-footer,
.collection-card-footer,
.collection-tool-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.tool-card-footer .button,
.article-card-footer .button,
.collection-tool-card-actions .button,
.collection-card-footer .button {
  flex: 1 1 170px;
}

.section-trust-contribute .trust-contribute-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 24px;
}

.section-methodology,
.contribute-card {
  min-height: 100%;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.method-grid > div {
  padding: 18px;
  border: 1px solid rgba(173, 178, 182, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.022);
}

.method-grid h3,
.contribute-card h2 {
  font-size: 1.36rem;
}

.contribute-points {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.contribute-points li {
  padding-left: 18px;
  position: relative;
}

.contribute-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #8f6ac1;
}

.archive-shell,
.editorial-shell,
.section-tool-single {
  display: grid;
  gap: 28px;
}

.directory-shell {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
}

.directory-main {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.filters,
.directory-filters {
  position: sticky;
  top: 112px;
  align-self: start;
}

.filters form,
.directory-filters form,
.osint4all-form {
  display: grid;
  gap: 16px;
}

.filters label,
.directory-filters label,
.osint4all-form > label {
  display: grid;
  gap: 8px;
  color: rgba(215, 220, 224, 0.88);
  font-weight: 600;
}

.filters label:has(input[type="checkbox"]),
.directory-filters label:has(input[type="checkbox"]),
.osint4all-form > label:has(input[type="checkbox"]) {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
}

.filters label:has(input[type="checkbox"]) input[type="checkbox"],
.directory-filters label:has(input[type="checkbox"]) input[type="checkbox"],
.osint4all-form > label:has(input[type="checkbox"]) input[type="checkbox"] {
  margin-top: 3px;
}

.archive-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 24px;
  align-items: start;
}

.archive-header-copy h1 {
  font-size: clamp(2.3rem, 4vw, 4.1rem);
  line-height: 0.98;
}

.archive-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.archive-proof-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 100%),
    linear-gradient(180deg, rgba(42, 42, 48, 0.82), rgba(16, 18, 24, 0.96));
}

.archive-proof-card ul,
.page-process-card ul,
.osint4all-next-steps ul,
.tool-related-grid ul {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
  padding-left: 18px;
}

.directory-results-grid,
.article-archive-grid,
.collection-archive-grid {
  gap: 24px;
}

.archive-empty-state,
.archive-intel-panels,
.archive-newsletter-panel {
  padding: 28px;
}

.comparison-empty-state {
  padding: 42px;
  text-align: left;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 100%),
    linear-gradient(180deg, rgba(67, 39, 98, 0.44), rgba(14, 15, 21, 0.98));
}

.comparison-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.archive-intel-panels .grid {
  gap: 24px;
}

.archive-newsletter-panel,
.footer-newsletter {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}

.archive-newsletter-copy,
.footer-newsletter-copy {
  display: grid;
  gap: 10px;
}

.archive-newsletter-copy h2,
.footer-newsletter-copy h3 {
  margin: 0;
  font-size: clamp(1.8rem, 2.6vw, 2.8rem);
  line-height: 1.02;
}

.archive-shell-generic .archive-header-generic,
.archive-shell-generic .article-card-generic {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 100%),
    linear-gradient(180deg, rgba(42, 42, 48, 0.74), rgba(16, 18, 24, 0.98));
}

.collection-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 24px;
}

.collection-spotlight-meta {
  display: grid;
  gap: 18px;
}

.article-shell,
.collection-shell,
.page-shell,
.form-shell {
  padding: 34px;
}

.article-shell {
  max-width: 1100px;
  margin: 0 auto;
}

.article-header {
  display: grid;
  gap: 14px;
}

.article-header-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.article-header h1,
.collection-shell-header h1,
.tool-hero h1,
.page-shell-header h1 {
  font-size: clamp(2.5rem, 4.8vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.article-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0;
}

.article-proof-card,
.tool-hero-intel-card,
.page-process-card,
.osint4all-next-steps {
  padding: 20px;
  border: 1px solid rgba(173, 178, 182, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
}

.article-proof-card p:last-child,
.tool-hero-intel-card p:last-child,
.page-process-card p:last-child {
  margin-bottom: 0;
}

.article-content,
.page-shell-content,
.editorial-content {
  color: rgba(222, 226, 230, 0.86);
}

.article-content > * + *,
.page-shell-content > * + *,
.editorial-content > * + * {
  margin-top: 1.15em;
}

.article-content h2,
.page-shell-content h2,
.editorial-content h2 {
  margin-top: 1.7em;
  font-size: clamp(1.6rem, 2.2vw, 2.3rem);
}

.article-content h3,
.page-shell-content h3,
.editorial-content h3 {
  margin-top: 1.4em;
  font-size: 1.35rem;
}

.article-content blockquote,
.page-shell-content blockquote,
.editorial-content blockquote {
  margin-left: 0;
  padding: 18px 20px;
  border-left: 3px solid rgba(173, 178, 182, 0.22);
  background: rgba(255, 255, 255, 0.02);
}

.article-footnote-block {
  margin-top: 28px;
}

.article-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.tool-dossier {
  display: grid;
  gap: 24px;
}

.tool-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(290px, 0.92fr);
  gap: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 100%),
    linear-gradient(180deg, rgba(67, 39, 98, 0.52), rgba(14, 15, 21, 0.98));
}

.tool-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 16%, rgba(173, 178, 182, 0.09), transparent 18%),
    radial-gradient(circle at 16% 34%, rgba(67, 39, 98, 0.22), transparent 22%);
  pointer-events: none;
}

.tool-hero-main,
.tool-hero-meta {
  position: relative;
  z-index: 1;
}

.tool-hero-main {
  display: grid;
  gap: 16px;
}

.tool-hero-main > p:first-of-type {
  color: rgba(215, 220, 224, 0.82);
  font-size: 1.04rem;
}

.tool-hero-intel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.meta-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.meta-list li {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(173, 178, 182, 0.1);
}

.meta-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.meta-list strong {
  color: rgba(173, 178, 182, 0.82);
  font-family: "Oxanium", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.meta-list span {
  color: #f1f3f5;
}

.tool-hero-meta {
  display: grid;
  gap: 18px;
}

.tool-hero-footnote {
  margin: 0;
  color: rgba(173, 178, 182, 0.78);
  font-size: 0.94rem;
}

.tool-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-jump-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(173, 178, 182, 0.14);
  border-radius: 999px;
  color: rgba(237, 240, 243, 0.84);
  background: rgba(255, 255, 255, 0.025);
}

.tool-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.tool-section-grid > .card,
.tool-related-grid > div {
  min-width: 0;
}

.tool-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.tool-disclosure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tool-disclosure-grid p {
  margin: 0;
}

.collection-shell-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 24px;
}

.collection-shell-sidebar {
  display: grid;
  gap: 16px;
}

.collection-picks,
.collection-tool-card,
.collection-shell {
  overflow: hidden;
}

.collection-picks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.collection-pick-card h3,
.collection-tool-card h3 {
  font-size: 1.32rem;
}

.collection-tools-grid {
  gap: 24px;
}

.page-shell-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  gap: 24px;
}

.page-shell-main,
.page-shell-sidebar {
  min-width: 0;
}

.page-process-card ul {
  padding-left: 18px;
}

.page-shell-trust {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 100%),
    linear-gradient(180deg, rgba(67, 39, 98, 0.34), rgba(18, 19, 24, 0.98));
}

.form-shell .notice {
  margin: 0 0 16px;
}

.notice {
  padding: 16px 18px;
  border: 1px solid rgba(173, 178, 182, 0.14);
  border-radius: 16px;
  color: #eff2f4;
  background: rgba(67, 39, 98, 0.2);
}

.osint4all-form {
  margin-top: 18px;
}

.osint4all-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.osint4all-form-note {
  margin: 0;
  color: rgba(215, 220, 224, 0.82);
}

.osint4all-next-steps h2 {
  margin: 0;
  font-size: 1.2rem;
}

.osint4all-form > button,
.newsletter-form > button {
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 15px;
  color: #f7f3ff;
  font-family: "Oxanium", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #58328a 0%, #432762 50%, #2d1b36 100%);
  cursor: pointer;
}

.newsletter-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.newsletter-form > label:first-of-type,
.newsletter-form > label:has(input[type="checkbox"]),
.newsletter-form > button,
.newsletter-form > .osint4all-form-note {
  grid-column: 1 / -1;
}

.newsletter-form > label {
  display: grid;
  gap: 8px;
  color: rgba(237, 240, 243, 0.86);
  font-weight: 600;
}

.newsletter-form > label:has(input[type="checkbox"]) {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
}

.newsletter-form > label:has(input[type="checkbox"]) input[type="checkbox"] {
  margin-top: 3px;
}

.site-footer {
  padding: 58px 0 40px;
  border-top: 1px solid rgba(173, 178, 182, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent 100%),
    linear-gradient(180deg, rgba(6, 7, 12, 0.98), rgba(3, 6, 11, 1));
}

.site-footer-shell {
  display: grid;
  gap: 30px;
}

.footer-brand {
  display: grid;
  gap: 16px;
  max-width: 56rem;
}

.footer-brand-lockup {
  display: block;
}

.footer-brand-logo {
  display: block;
  width: min(100%, 480px);
  height: auto;
  color: rgba(215, 220, 224, 0.94);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.footer-grid h3 {
  margin: 0 0 14px;
  font-size: 1.1rem;
}

.footer-menu {
  display: grid;
  justify-content: start;
  gap: 10px;
}

.footer-menu a {
  color: rgba(215, 220, 224, 0.78);
}

.footer-menu a:hover {
  color: #f1f3f5;
}

.footer-newsletter {
  padding: 28px;
}

.footer-newsletter .newsletter-form > label,
.footer-newsletter .osint4all-form-note,
.footer-newsletter p,
.footer-newsletter h3 {
  color: inherit;
}

.footer-meta {
  margin: 0;
  color: rgba(173, 178, 182, 0.72);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(173, 178, 182, 0.14);
  border-radius: 999px;
  color: rgba(237, 240, 243, 0.84);
  background: rgba(255, 255, 255, 0.025);
}

.page-numbers.current {
  color: #f7f3ff;
  background: rgba(67, 39, 98, 0.34);
}

/* Layer: utilities */
@media (prefers-reduced-motion: reduce) {
  .hero-home,
  .hero-console,
  .card,
  .button {
    transition: none !important;
    animation: none !important;
  }

  .hero-home::before {
    background:
      radial-gradient(circle at 78% 26%, rgba(67, 39, 98, 0.28), transparent 24%),
      linear-gradient(180deg, rgba(3, 6, 11, 0.78), rgba(3, 6, 11, 0.98));
  }
}

@media (max-width: 1240px) {
  .hero-grid,
  .collection-shell-header,
  .archive-header,
  .tool-hero {
    grid-template-columns: 1fr;
  }

  .hero-copy-column h1 {
    max-width: 12ch;
  }

  .section-trust-contribute .trust-contribute-grid,
  .page-shell-grid,
  .collection-spotlight {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1120px) {
  .site-header-inner {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  #primary-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 32px;
    right: 32px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid rgba(173, 178, 182, 0.14);
    border-radius: 20px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 100%),
      linear-gradient(180deg, rgba(42, 42, 48, 0.96), rgba(11, 13, 19, 0.98));
    box-shadow: 0 24px 42px rgba(0, 0, 0, 0.22);
  }

  #primary-menu.is-open {
    display: flex;
  }

  .header-nav-link {
    justify-content: flex-start;
    width: 100%;
  }

  .directory-shell {
    grid-template-columns: 1fr;
  }

  .filters,
  .directory-filters {
    position: static;
  }

  .hero-console-body,
  .tool-hero-intel,
  .tool-section-grid,
  .tool-related-grid,
  .tool-disclosure-grid,
  .article-proof-grid {
    grid-template-columns: 1fr;
  }

  .home-path-grid,
  .home-feature-grid,
  .home-collection-grid,
  .footer-grid,
  .collection-picks-grid,
  .archive-newsletter-panel,
  .footer-newsletter {
    grid-template-columns: 1fr;
  }

  .home-path-grid {
    grid-template-areas:
      "primary"
      "secondary-a"
      "secondary-b";
  }

  .featured-tool-card.is-emphasis,
  .collection-card.is-emphasis {
    grid-row: auto;
  }
}

@media (max-width: 920px) {
  .header-search {
    display: none;
  }

  .container {
    padding-inline: 24px;
  }

    #primary-menu {
      left: 24px;
      right: 24px;
    }

  .newsletter-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 38px 0;
  }

  .site-header-inner {
    min-height: 78px;
    gap: 12px;
  }

  .site-brand-logo {
    height: 28px;
    max-width: min(220px, 48vw);
  }

  .header-submit-cta {
    min-width: 0;
    padding-inline: 14px;
  }

  .hero-home {
    padding-top: 56px;
  }

  .hero-console-query {
    display: grid;
  }

  .hero-copy-column h1 {
    max-width: none;
    font-size: clamp(2.7rem, 13vw, 4.3rem);
  }

  .hero-actions,
  .article-footer,
  .comparison-empty-actions,
  .tool-hero-actions,
  .tool-card-footer,
  .article-card-footer,
  .collection-card-footer,
  .collection-tool-card-actions,
  .section-inline-actions {
    display: grid;
  }

  .hero-actions .button,
  .article-footer .button,
  .comparison-empty-actions .button,
  .tool-hero-actions .button,
  .tool-card-footer .button,
  .article-card-footer .button,
  .collection-card-footer .button,
  .collection-tool-card-actions .button,
  .section-inline-actions .button {
    width: 100%;
  }

  .quick-search {
    grid-template-columns: 1fr;
  }

  .card,
  .article-shell,
  .collection-shell,
  .page-shell,
  .archive-header,
  .archive-empty-state,
  .archive-intel-panels,
  .archive-newsletter-panel,
  .footer-newsletter,
  .hero-console {
    padding: 22px;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }

  .tool-jump-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .container {
    padding-inline: 18px;
  }

    #primary-menu {
      left: 18px;
      right: 18px;
    }

  .site-header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    min-height: 70px;
  }

  .site-brand {
    min-width: 0;
  }

  .site-brand-logo {
    height: 28px;
    max-width: min(170px, 44vw);
  }

  .nav-toggle {
    min-height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 0.82rem;
  }

  .header-right {
    justify-content: flex-end;
  }

  .header-submit-cta {
    min-height: 44px;
    min-width: 0;
    padding-inline: 11px;
    border-radius: 12px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .site-footer-shell {
    gap: 24px;
  }

  .footer-brand {
    gap: 12px;
  }

  .footer-brand-logo {
    width: min(100%, 240px);
  }

  .footer-grid {
    gap: 20px;
  }

  .footer-newsletter {
    padding: 20px;
  }

  .tool-jump-nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .site-header-inner {
    gap: 8px;
  }

  .site-brand-logo {
    height: 26px;
    max-width: min(150px, 40vw);
  }

  .nav-toggle {
    padding-inline: 10px;
    font-size: 0.78rem;
  }

  .header-submit-cta {
    padding-inline: 10px;
    font-size: 0.76rem;
  }

  .header-submit-label-full {
    display: none;
  }

  .header-submit-label-short {
    display: inline;
  }
}

/*
 * Legacy compatibility layer
 * Older theme rules continue below to preserve page-level parity during
 * migration. Do not add new brand rules beneath this boundary.
 */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font: 400 16px/1.65 Inter, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 76% -8%, rgba(70, 102, 168, 0.34), transparent 34%),
    linear-gradient(180deg, #0a1323 0%, #070d18 52%, #06101d 100%);
}

a {
  color: var(--brand-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #0c1729;
  color: var(--text);
}

input::placeholder,
textarea::placeholder {
  color: #89a2c8;
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  padding: 0;
  accent-color: var(--brand);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid #8cb2ff;
  outline-offset: 2px;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 60px 0;
}

.section-kicker {
  margin: 0 0 10px;
  color: #9db5d8;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-head h2,
.section-title h1,
.section-title h2,
.card h1,
.card h2,
.card h3 {
  margin: 0;
  color: var(--text-strong);
  font-family: Manrope, Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-head h2,
.section-title h2 {
  font-size: clamp(1.55rem, 2.8vw, 3rem);
}

.section-intro {
  margin: 12px 0 0;
  max-width: 72ch;
  color: #bccce5;
}

.panel-label,
.card-meta {
  margin: 0;
  color: #9ab0d0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.button-primary {
  background: linear-gradient(140deg, var(--brand), var(--brand-strong));
  color: #fff;
  box-shadow: 0 12px 30px rgba(78, 126, 255, 0.28);
}

.button-secondary {
  background: rgba(16, 29, 50, 0.92);
  border-color: #486a99;
  color: #e4efff;
}

.button-ghost {
  background: transparent;
  border-color: #35527b;
  color: #c9daf7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  border-bottom: 1px solid rgba(115, 146, 197, 0.16);
  background: rgba(7, 13, 24, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 28px rgba(2, 7, 16, 0.22);
}

.site-header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 78px;
  transition: min-height 180ms ease;
}

.site-header.is-condensed .site-header-inner {
  min-height: 74px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
}

.site-brand:hover {
  text-decoration: none;
}

.site-brand-logo {
  display: block;
  height: 40px;
}

.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.header-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  color: #d8e4f7;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.header-nav-link:hover,
.header-nav-link:focus-visible {
  background: rgba(27, 45, 74, 0.88);
  text-decoration: none;
}

.header-nav-link.is-active {
  background: rgba(28, 44, 71, 0.98);
  color: #f6f9ff;
  box-shadow: inset 0 0 0 1px rgba(95, 133, 192, 0.24);
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.header-search {
  display: flex;
}

.header-search input {
  min-width: 190px;
  width: clamp(190px, 21vw, 240px);
  min-height: 44px;
  border-radius: 999px;
  background: rgba(10, 20, 37, 0.92);
}

.header-submit-cta {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #101a2d;
  color: var(--text-strong);
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-home {
  --spotlight-x: 79%;
  --spotlight-y: 30%;
  --spotlight-opacity: 0.85;
  padding: 88px 0 74px;
  border-bottom: 1px solid rgba(115, 146, 197, 0.12);
  background:
    radial-gradient(circle at 20% 10%, rgba(30, 52, 91, 0.55), transparent 40%),
    linear-gradient(180deg, #0a1322 0%, #08111f 55%, #07101d 100%);
}

.hero-home::before,
.hero-home::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-home::before {
  background-image:
    linear-gradient(rgba(133, 160, 214, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(133, 160, 214, 0.09) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.16;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.88), transparent 100%);
}

.hero-home::after {
  background:
    radial-gradient(circle 240px at var(--spotlight-x) var(--spotlight-y), rgba(112, 153, 255, 0.2), transparent 60%),
    radial-gradient(circle 130px at var(--spotlight-x) var(--spotlight-y), rgba(255, 255, 255, 0.08), transparent 56%);
  opacity: var(--spotlight-opacity);
  transition: opacity 180ms ease;
}

.hero-grid-overlay,
.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid-overlay {
  opacity: 0.5;
}

.node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 0 8px rgba(134, 213, 255, 0.08);
}

.node-1 { top: 24%; right: 14%; }
.node-2 { top: 42%; right: 28%; }
.node-3 { top: 17%; right: 33%; }

.link {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(134, 213, 255, 0.72), transparent);
}

.link-1 {
  top: 28%;
  right: 16%;
  width: 240px;
  transform: rotate(-20deg);
}

.link-2 {
  top: 36%;
  right: 28%;
  width: 170px;
  transform: rotate(22deg);
}

.hero-atmosphere {
  opacity: 0.54;
}

.hero-signal-label {
  position: absolute;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(83, 118, 175, 0.22);
  background: rgba(11, 22, 40, 0.72);
  color: #8ca8d4;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.hero-signal-label-1 { top: 18%; left: 6%; }
.hero-signal-label-2 { top: 24%; right: 9%; }
.hero-signal-label-3 { bottom: 24%; right: 20%; }
.hero-signal-label-4 { bottom: 18%; left: 11%; }
.hero-signal-label-5 { top: 50%; right: 34%; }
.hero-signal-label-6 { top: 60%; left: 42%; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  gap: 44px;
  align-items: center;
}

.hero-copy-column {
  display: grid;
  gap: 0;
  max-width: 720px;
}

.hero h1 {
  max-width: 9.7ch;
  font-size: clamp(3.4rem, 6.6vw, 6.15rem);
  line-height: 0.98;
}

.hero-intro {
  margin-top: 18px;
  max-width: 40ch;
  color: #c5d4ec;
  font-size: 1.08rem;
  line-height: 1.76;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 22px;
}

.quick-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 860px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(9, 19, 37, 0.9);
  box-shadow: var(--shadow);
}

.quick-search input {
  min-height: 54px;
  border-color: rgba(66, 96, 144, 0.92);
  background: #091327;
}

.quick-search .button {
  min-width: 120px;
}

.quick-searches {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.quick-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #2f4d7a;
  border-radius: 999px;
  background: rgba(12, 25, 45, 0.86);
  color: #c7d9f7;
  font-size: 0.84rem;
  font-weight: 700;
}

.quick-chip:hover,
.quick-chip:focus-visible {
  border-color: #5d88d3;
  color: #f2f6ff;
  text-decoration: none;
}

.card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 27, 46, 0.98), rgba(13, 21, 36, 0.96));
  box-shadow: var(--shadow);
}

.card p,
.card li {
  color: #cad8ef;
}

.card-light {
  background: linear-gradient(180deg, var(--panel-light), var(--panel-light-2));
  border-color: #d2ddec;
}

.card-light h1,
.card-light h2,
.card-light h3,
.card-light p,
.card-light li,
.card-light .panel-label,
.card-light .card-meta {
  color: var(--ink);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #37527e;
  border-radius: 999px;
  background: rgba(16, 31, 57, 0.96);
  color: #d2e0f9;
  font-size: 0.74rem;
  font-weight: 700;
}

.badge-soft {
  border-color: #4d6996;
  background: rgba(27, 47, 79, 0.96);
  color: #dbe7fd;
}

.card-light .badge {
  background: #fff;
  border-color: #c7d4e7;
  color: var(--ink);
}

.card-light .badge-soft {
  background: #edf2fa;
  border-color: #ced9ea;
}

.hero-panel {
  padding: 32px;
  border-radius: 28px;
}

.evidence-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(50, 82, 133, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(50, 82, 133, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.58;
  pointer-events: none;
}

.evidence-card > * {
  position: relative;
  z-index: 1;
}

.evidence-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.evidence-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #c5d4ea;
  border-radius: 999px;
  background: #e9eff8;
  color: #3b5683;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.evidence-status::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6ecf92;
  box-shadow: 0 0 0 6px rgba(110, 207, 146, 0.12);
}

.hero-proof-grid {
  display: grid;
  gap: 14px;
  margin: 20px 0 22px;
}

.hero-proof-item {
  padding: 18px;
  border: 1px solid #d8e1ef;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(16, 38, 74, 0.05);
}

.hero-proof-item h3 {
  margin-bottom: 6px;
}

.hero-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-panel-actions a {
  color: #3a5683;
  font-weight: 800;
}

.home-shell {
  display: grid;
  gap: 2px;
}

.home-shell .section {
  padding: 34px 0;
}

.home-section-shell {
  padding: 30px;
  border: 1px solid rgba(55, 81, 124, 0.58);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(13, 22, 39, 0.96), rgba(9, 17, 30, 0.98)),
    linear-gradient(90deg, rgba(44, 74, 122, 0.12), transparent 45%);
  box-shadow: 0 22px 44px rgba(2, 8, 18, 0.2);
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.section-head-inline {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #35527b;
  border-radius: 999px;
  color: #dbe8fe;
  font-weight: 700;
  white-space: nowrap;
}

.section-link:hover,
.section-link:focus-visible {
  background: rgba(22, 39, 66, 0.94);
  text-decoration: none;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.feature-card,
.featured-tool-card,
.article-card,
.collection-card,
.collection-tool-card {
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.feature-card:hover,
.featured-tool-card:hover,
.article-card:hover,
.collection-card:hover,
.collection-tool-card:hover,
.card:focus-within {
  transform: translateY(-2px);
  border-color: #456da8;
  background: linear-gradient(180deg, rgba(21, 35, 58, 0.98), rgba(15, 26, 44, 0.97));
}

.feature-card {
  gap: 14px;
  min-height: 240px;
}

.feature-card-meta {
  margin: 0;
  color: #95acd0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature-card-link {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  color: #e2ecff;
  font-size: 0.92rem;
  font-weight: 800;
}

.tool-card-summary {
  color: #d6e3f7;
}

.tool-proof-card {
  margin-bottom: 16px;
}

.tool-proof-surface {
  position: relative;
  overflow: hidden;
  min-height: 214px;
  border: 1px solid rgba(117, 147, 196, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(92, 140, 220, 0.22), transparent 34%),
    linear-gradient(160deg, rgba(19, 32, 56, 0.98), rgba(9, 16, 30, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.tool-proof-card--archive .tool-proof-surface,
.tool-proof-card--compact .tool-proof-surface {
  min-height: 188px;
}

.tool-proof-card--hero .tool-proof-surface {
  min-height: 286px;
}

.tool-proof-image,
.tool-proof-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tool-proof-image {
  object-fit: cover;
  object-position: center top;
}

.tool-proof-fallback {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  background:
    linear-gradient(180deg, rgba(16, 26, 45, 0.55), rgba(8, 12, 22, 0.18)),
    linear-gradient(135deg, rgba(67, 100, 156, 0.15), rgba(30, 55, 94, 0.04));
}

.tool-proof-card.tool-proof-card--has-screenshot:not(.is-proof-missing) .tool-proof-fallback {
  display: none;
}

.tool-proof-card--has-screenshot.is-proof-missing .tool-proof-fallback {
  opacity: 1;
  pointer-events: none;
}

.tool-proof-card--has-screenshot.is-proof-missing .tool-proof-image {
  display: none;
}

.tool-proof-fallback-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(136, 163, 209, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(136, 163, 209, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82), transparent 100%);
}

.tool-proof-fallback-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  align-self: end;
  max-width: 76%;
  padding: 18px;
}

.tool-proof-fallback-label,
.tool-proof-label {
  margin: 0;
  color: #9ac0ff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tool-proof-fallback-title,
.tool-proof-vendor {
  margin: 0;
  color: #f6f9ff;
  font-family: "Oxanium", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
}

.tool-proof-fallback-text,
.tool-proof-tagline,
.tool-proof-best-for {
  margin: 0;
  color: rgba(232, 239, 251, 0.92);
  font-size: 0.92rem;
  line-height: 1.45;
}

.tool-proof-overlay {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  height: 100%;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(6, 9, 18, 0.06) 0%, rgba(6, 9, 18, 0.6) 42%, rgba(6, 9, 18, 0.94) 100%);
}

.tool-proof-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.tool-proof-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.tool-proof-logo,
.tool-proof-monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(4, 10, 22, 0.28);
}

.tool-proof-logo {
  object-fit: contain;
  padding: 8px;
}

.tool-proof-monogram {
  color: #0d1a31;
  font-family: "Oxanium", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.tool-proof-brand-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.tool-proof-verified {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(239, 244, 252, 0.94);
  font-size: 0.78rem;
  font-weight: 700;
}

.tool-proof-body {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.tool-proof-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-proof-metrics span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(7, 13, 24, 0.54);
  border: 1px solid rgba(143, 168, 214, 0.12);
  color: #dbe8ff;
  font-size: 0.78rem;
}

.tool-proof-metrics strong {
  margin-right: 4px;
  color: #ffffff;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

.tool-proof-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-proof-card--compact .tool-proof-overlay {
  padding: 14px;
}

.tool-proof-card--compact .tool-proof-tagline,
.tool-proof-card--compact .tool-proof-best-for,
.tool-proof-card--compact .tool-proof-fallback-text {
  font-size: 0.84rem;
}

.tool-proof-card--compact .tool-proof-metrics span {
  font-size: 0.72rem;
}

.tool-card-footer,
.article-card-footer,
.directory-tool-card-actions,
.collection-tool-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: auto;
}

.article-card-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.article-card-body {
  display: grid;
  gap: 10px;
}

.article-card-note {
  margin: 0;
  color: #a9bcda;
  font-size: 0.95rem;
}

.collection-card-meta-note {
  margin: 0;
  color: #94abd0;
  font-size: 0.92rem;
}

.home-feature-grid,
.home-collection-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.featured-tool-card.is-emphasis,
.home-collection-grid .collection-card.is-emphasis {
  grid-column: span 2;
  grid-row: span 2;
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(84, 125, 206, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(18, 31, 54, 0.98), rgba(12, 20, 34, 0.98));
}

.featured-tool-card.is-emphasis h3,
.home-collection-grid .collection-card.is-emphasis h3 {
  font-size: clamp(1.7rem, 2.5vw, 2.45rem);
  line-height: 1.05;
}

.featured-tool-card.is-emphasis .tool-card-summary,
.home-collection-grid .collection-card.is-emphasis p:not(.card-meta):not(.article-card-note) {
  font-size: 1.02rem;
}

.section-methodology {
  gap: 16px;
}

.trust-contribute-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 22px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.method-grid > div {
  padding: 18px;
  border: 1px solid #29425f;
  border-radius: 16px;
  background: rgba(13, 24, 42, 0.72);
}

.section-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.contribute-card {
  display: grid;
  gap: 22px;
  align-content: space-between;
}

.contribute-card .hero-actions {
  margin: 0;
}

.contribute-points {
  margin: 18px 0 0;
  padding-left: 18px;
}

.contribute-points li + li {
  margin-top: 8px;
}

.layout {
  display: grid;
  grid-template-columns: 284px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.directory-main {
  display: grid;
  gap: 24px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--text-strong);
  font-weight: 700;
}

.directory-filters {
  padding: 24px 20px;
  border-color: #34527d;
  background: linear-gradient(180deg, rgba(17, 28, 49, 0.98), rgba(11, 20, 34, 0.97));
}

.directory-filters form {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 16px;
}

.directory-filters label:has(input[type="checkbox"]),
.osint4all-form label:has(input[type="checkbox"]) {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
}

.archive-shell {
  display: grid;
  gap: 24px;
}

.archive-header {
  display: grid;
  align-items: start;
  gap: 22px;
  padding: 28px;
}

.archive-header-directory,
.archive-header-editorial,
.archive-header-collections,
.archive-header-comparisons {
  grid-template-columns: minmax(0, 1.4fr) minmax(290px, 0.8fr);
}

.archive-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.archive-proof {
  align-self: stretch;
}

.archive-proof-card {
  background: linear-gradient(180deg, rgba(19, 33, 58, 0.98), rgba(14, 24, 40, 0.97));
  border-color: #2c4668;
}

.archive-proof-card ul,
.archive-intel-panels ul,
.tool-related-grid ul {
  margin: 0;
  padding-left: 18px;
}

.archive-proof-card li + li,
.archive-intel-panels li + li {
  margin-top: 8px;
}

.article-archive-grid,
.collection-archive-grid {
  align-items: stretch;
}

.collection-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.82fr);
  gap: 24px;
}

.collection-spotlight-meta {
  display: grid;
  gap: 16px;
  align-content: start;
}

.archive-empty-state {
  display: grid;
  gap: 12px;
  padding: 32px;
}

.comparison-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.archive-intel-panels > .grid {
  margin-top: 10px;
}

.archive-newsletter-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 24px;
  align-items: start;
}

.archive-newsletter-form {
  padding: 18px;
  border: 1px solid #304b73;
  border-radius: 20px;
  background: rgba(9, 18, 33, 0.72);
}

.navigation.pagination .nav-links,
.posts-navigation .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(16, 29, 50, 0.92);
  color: var(--text);
}

.page-numbers.current {
  background: rgba(29, 49, 82, 0.98);
  color: var(--text-strong);
}

.page-shell,
.article-shell,
.collection-shell {
  padding: 28px;
}

.page-shell-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.82fr);
  gap: 22px;
  align-items: start;
}

.page-shell-main,
.page-shell-sidebar {
  display: grid;
  gap: 18px;
}

.page-process-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.page-process-card li + li {
  margin-top: 8px;
}

.page-shell-trust {
  background: linear-gradient(180deg, rgba(20, 36, 61, 0.98), rgba(14, 25, 43, 0.97));
}

.editorial-shell {
  max-width: 980px;
}

.editorial-content,
.article-content {
  color: var(--text);
}

.editorial-content > * + *,
.article-content > * + * {
  margin-top: 1rem;
}

.editorial-content p,
.article-content p {
  color: #d4e0f5;
}

.editorial-content h2,
.editorial-content h3,
.article-content h2,
.article-content h3 {
  color: var(--text-strong);
}

.editorial-content ul,
.editorial-content ol,
.article-content ul,
.article-content ol {
  padding-left: 1.2rem;
}

.osint4all-form {
  display: grid;
  gap: 16px;
}

.osint4all-form label {
  color: var(--text-strong);
}

.newsletter-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.newsletter-form > label:first-of-type,
.newsletter-form > label:has(input[type="checkbox"]),
.newsletter-form > button {
  grid-column: 1 / -1;
}

.newsletter-form > label {
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #e6f0ff;
}

.newsletter-form input[type="email"],
.newsletter-form select {
  min-height: 52px;
  border-radius: 14px;
  border-color: #41658f;
  background: rgba(9, 18, 34, 0.94);
  color: #ecf3ff;
}

.newsletter-form select option {
  color: #14233e;
}

.newsletter-form > label:has(input[type="checkbox"]) {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-top: 2px;
  color: #dbe7fb;
  font-weight: 600;
}

.newsletter-form > label:has(input[type="checkbox"]) input[type="checkbox"] {
  margin-top: 2px;
}

.osint4all-form-note {
  margin: 0;
  color: #afc4e4;
}

.osint4all-next-steps {
  padding: 18px;
  border: 1px solid #2f486e;
  border-radius: 16px;
  background: rgba(13, 24, 42, 0.82);
}

.osint4all-next-steps h2 {
  margin-bottom: 10px;
}

.osint4all-next-steps ul {
  margin: 0;
  padding-left: 1.2rem;
}

.osint4all-form button {
  width: 100%;
}

.article-header-review {
  display: grid;
  gap: 14px;
}

.article-header-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.article-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0;
}

.article-proof-card,
.collection-pick-card {
  padding: 18px;
  border: 1px solid #2f4669;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(21, 36, 62, 0.98), rgba(15, 26, 44, 0.97));
}

.article-footnote-block {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid #2d476b;
  border-radius: 16px;
  background: rgba(13, 24, 42, 0.82);
}

.article-content {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.article-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.collection-shell-header {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.82fr);
  gap: 22px;
}

.collection-shell-copy {
  display: grid;
  gap: 12px;
}

.collection-shell-sidebar {
  display: grid;
  gap: 14px;
  align-content: start;
}

.collection-picks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.collection-pick-card h3 {
  margin: 0;
}

.collection-tools-grid {
  margin-top: 0;
}

.tool-dossier {
  display: grid;
  gap: 20px;
}

.tool-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(280px, 0.78fr);
  gap: 22px;
  background: linear-gradient(180deg, rgba(17, 29, 51, 0.98), rgba(12, 20, 36, 0.97));
}

.dossier-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(114, 145, 196, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114, 145, 196, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.24;
  pointer-events: none;
}

.tool-hero-main,
.tool-hero-meta {
  position: relative;
  z-index: 1;
}

.tool-hero-main {
  display: grid;
  gap: 12px;
}

.tool-hero-main > p:first-of-type {
  color: #d2dff5;
}

.tool-hero-badges {
  margin-top: 4px;
}

.tool-hero-intel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.tool-hero-intel-card {
  padding: 16px;
  border: 1px solid #2e4669;
  border-radius: 16px;
  background: rgba(17, 30, 52, 0.9);
}

.tool-hero-meta {
  display: grid;
  gap: 16px;
  align-content: start;
}

.tool-hero-meta .tool-proof-card {
  margin-bottom: 0;
}

.meta-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.meta-list li {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid #2e4567;
  border-radius: 14px;
  background: rgba(16, 29, 51, 0.9);
}

.meta-list strong {
  color: var(--text-strong);
}

.tool-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-hero-footnote {
  margin: 0;
  color: #a8bcda;
  font-size: 0.92rem;
}

.tool-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-jump-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #35527b;
  border-radius: 999px;
  background: rgba(15, 28, 50, 0.95);
  color: #d4e1f7;
}

.tool-jump-nav a:hover {
  background: rgba(26, 45, 76, 0.96);
  text-decoration: none;
}

.tool-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tool-section-grid > .card {
  height: 100%;
}

.tool-disclosure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tool-disclosure-grid p {
  margin: 0;
}

.tool-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tool-related-grid > div {
  padding: 16px;
  border: 1px solid #2e4567;
  border-radius: 16px;
  background: rgba(14, 25, 43, 0.9);
}

.tool-related-grid h3 {
  margin-bottom: 10px;
}

.quick-facts-card {
  border-left: 3px solid rgba(78, 126, 255, 0.6);
}

.site-footer {
  margin-top: 30px;
  padding-top: 0;
  border-top: 1px solid rgba(115, 146, 197, 0.16);
  background: #08111f;
}

.site-footer-shell {
  display: grid;
  gap: 24px;
}

.footer-brand {
  display: grid;
  gap: 12px;
}

.footer-brand img {
  max-width: 300px;
}

.footer-brand p {
  margin: 0;
  max-width: 72ch;
  color: #a8bddb;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 22px;
}

.footer-menu {
  display: grid;
  gap: 8px;
}

.footer-menu a {
  padding: 0;
  color: #d6e3f8;
}

.footer-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 24px;
  background: linear-gradient(180deg, rgba(23, 40, 69, 0.98), rgba(18, 31, 53, 0.98));
  border-color: #35527b;
}

.footer-newsletter-copy {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-newsletter-copy .section-kicker {
  margin-bottom: 0;
}

.footer-newsletter-form {
  padding: 18px;
  border: 1px solid #35527b;
  border-radius: 20px;
  background: rgba(8, 17, 31, 0.42);
}

.footer-newsletter .newsletter-form > label,
.footer-newsletter .osint4all-form-note,
.footer-newsletter p,
.footer-newsletter h3 {
  color: #d4e2f8;
}

.footer-meta {
  margin: 0;
  color: #8ea5ca;
}

.notice {
  background: rgba(17, 54, 44, 0.9);
  border-left: 4px solid #4ab08c;
  border-radius: 12px;
  padding: 12px 14px;
}

.screen-reader-text,
.screen-reader-submit {
  position: absolute !important;
  left: -9999px !important;
}

.osint4all-honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
}

/* Layer: components - inner-page brand sprint */
.directory-shell {
  grid-template-columns: minmax(290px, 320px) minmax(0, 1fr);
  gap: 26px;
}

.directory-filters,
.archive-header-directory,
.archive-proof-card,
.archive-intel-panels,
.archive-newsletter-panel,
.tool-hero,
.tool-jump-nav,
.tool-trust,
.tool-section-grid > .card,
.directory-tool-card,
.page-shell,
.page-process-card {
  border: 1px solid rgba(173, 178, 182, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent 100%),
    linear-gradient(180deg, rgba(13, 16, 24, 0.98), rgba(7, 10, 16, 1));
}

.directory-filters {
  padding: 24px;
}

.directory-filters-head,
.tool-trust-header,
.page-shell-header {
  display: grid;
  gap: 10px;
}

.directory-filter-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.directory-filter-footnote {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(173, 178, 182, 0.1);
}

.archive-header-directory {
  position: relative;
  overflow: hidden;
  padding: 32px;
  background:
    radial-gradient(circle at 88% 14%, rgba(185, 192, 200, 0.08), transparent 16%),
    radial-gradient(circle at 12% 24%, rgba(67, 39, 98, 0.34), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 100%),
    linear-gradient(180deg, rgba(15, 19, 29, 0.98), rgba(7, 10, 16, 1));
}

.archive-proof-card h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
}

.archive-intel-panels,
.archive-newsletter-panel,
.page-shell {
  padding: 30px;
}

.directory-results-grid {
  gap: 26px;
}

.directory-tool-card {
  padding: 18px;
}

.directory-tool-card-frame,
.directory-tool-signal-grid {
  display: grid;
  gap: 14px;
}

.directory-tool-best-for {
  margin-top: 2px;
}

.page-shell-lede {
  margin: 0;
  max-width: 48rem;
  color: rgba(215, 220, 224, 0.82);
  font-size: 1.04rem;
  line-height: 1.65;
}

.page-shell-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 6px;
}

.page-shell-pillar {
  padding: 18px;
  border: 1px solid rgba(173, 178, 182, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(67, 39, 98, 0.16), transparent 100%),
    rgba(255, 255, 255, 0.02);
}

.page-shell-pillar p:last-child,
.tool-hero-brief-card p:last-child,
.tool-disclosure-item p:last-child {
  margin-bottom: 0;
}

.page-process-card h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.page-shell-trust {
  background:
    linear-gradient(180deg, rgba(67, 39, 98, 0.42), transparent 100%),
    linear-gradient(180deg, rgba(14, 17, 27, 0.98), rgba(7, 10, 16, 1));
}

.tool-dossier {
  gap: 24px;
}

.tool-hero {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
  padding: 34px;
  background:
    linear-gradient(140deg, rgba(67, 39, 98, 0.84), rgba(17, 21, 34, 0.92) 48%, rgba(8, 11, 17, 1)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 100%);
}

.dossier-grid {
  background-image:
    linear-gradient(rgba(185, 192, 200, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 192, 200, 0.09) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), transparent 92%);
  opacity: 0.26;
}

.tool-hero-main {
  gap: 16px;
}

.tool-hero-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.tool-hero-path {
  margin: 0;
  color: rgba(215, 220, 224, 0.76);
  font-size: 0.92rem;
}

.tool-hero-copy {
  display: grid;
  gap: 12px;
  max-width: 62rem;
}

.tool-hero-summary {
  margin: 0;
  max-width: 48rem;
  color: #f4f2fb;
  font-size: clamp(1.2rem, 2vw, 1.46rem);
  line-height: 1.35;
}

.tool-hero-lede {
  margin: 0;
  max-width: 46rem;
  color: rgba(215, 220, 224, 0.8);
  font-size: 1rem;
  line-height: 1.6;
}

.tool-hero-badges {
  margin-top: 2px;
}

.tool-hero-intel,
.tool-hero-brief {
  display: grid;
  gap: 14px;
}

.tool-hero-intel {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tool-hero-brief {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tool-hero-intel-card,
.tool-hero-brief-card,
.tool-hero-panel {
  padding: 18px;
  border: 1px solid rgba(185, 192, 200, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 100%),
    rgba(10, 13, 21, 0.7);
  backdrop-filter: blur(8px);
}

.tool-hero-meta {
  gap: 18px;
}

.tool-hero-meta .tool-proof-card {
  margin-bottom: 0;
}

.meta-list {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-top: 10px;
  gap: 12px;
}

.meta-list li {
  border: 1px solid rgba(185, 192, 200, 0.12);
  background: rgba(255, 255, 255, 0.025);
}

.tool-hero-actions {
  gap: 12px;
}

.tool-hero-footnotes {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid rgba(185, 192, 200, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.tool-hero-footnote {
  color: rgba(215, 220, 224, 0.78);
}

.tool-jump-nav {
  gap: 10px;
  padding: 18px 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 100%),
    rgba(9, 12, 19, 0.88);
}

.tool-jump-nav a {
  padding: 0 14px;
  border: 1px solid rgba(185, 192, 200, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(237, 240, 243, 0.9);
}

.tool-jump-nav a:hover {
  background: rgba(67, 39, 98, 0.22);
}

.tool-section-grid {
  gap: 20px;
}

.tool-disclosure-item {
  padding: 16px;
  border: 1px solid rgba(185, 192, 200, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.tool-related-grid {
  gap: 18px;
}

.tool-related-grid > div {
  padding: 18px;
  border: 1px solid rgba(185, 192, 200, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(67, 39, 98, 0.18), transparent 100%),
    rgba(9, 12, 19, 0.94);
}

.quick-facts-card {
  border-left: 3px solid rgba(185, 192, 200, 0.38);
}

@media (max-width: 1180px) {
  .directory-shell {
    display: flex;
    flex-direction: column;
  }

  .menu {
    display: none;
  }

  .menu.is-open {
    position: absolute;
    top: calc(100% + 10px);
    left: 24px;
    right: 24px;
    display: grid;
    justify-content: stretch;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: #0b172d;
    box-shadow: var(--shadow);
  }

  .menu.is-open .header-nav-link {
    justify-content: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header-inner {
    grid-template-columns: auto auto 1fr;
  }

  .header-right {
    justify-self: end;
  }

  .header-search input {
    min-width: 180px;
    width: 200px;
  }

  .layout,
  .hero-grid,
  .trust-contribute-grid,
  .archive-header-directory,
  .archive-header-editorial,
  .archive-header-collections,
  .archive-header-comparisons,
  .archive-newsletter-panel,
  .collection-spotlight,
  .collection-shell-header,
  .tool-hero,
  .page-shell-grid,
  .contribute-card {
    grid-template-columns: 1fr;
  }

  .directory-main {
    order: 1;
  }

  .directory-filters {
    order: 2;
  }

  .home-feature-grid,
  .home-collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-tool-card.is-emphasis,
  .home-collection-grid .collection-card.is-emphasis {
    grid-column: span 2;
    grid-row: auto;
  }

  .tool-hero-intel,
  .tool-hero-brief,
  .method-grid,
  .article-proof-grid,
  .tool-section-grid,
  .tool-related-grid,
  .collection-picks-grid,
  .newsletter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-shell-pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .header-search {
    display: none;
  }

  .site-header-inner {
    gap: 14px;
    min-height: 72px;
  }

  .site-brand-logo {
    height: 40px;
  }

  .hero-home {
    padding: 72px 0 56px;
  }

  .hero-atmosphere {
    display: none;
  }

  .section,
  .home-shell .section {
    padding: 42px 0;
  }

  .home-section-shell {
    padding: 24px;
  }

  .tool-hero-intel,
  .tool-hero-brief,
  .method-grid,
  .article-proof-grid,
  .tool-section-grid,
  .tool-related-grid,
  .collection-picks-grid,
  .grid-2,
  .newsletter-form,
  .home-feature-grid,
  .home-collection-grid,
  .section-head-inline {
    grid-template-columns: 1fr;
  }

  .featured-tool-card.is-emphasis,
  .home-collection-grid .collection-card.is-emphasis {
    grid-column: auto;
  }

  .tool-proof-metrics {
    flex-direction: column;
  }

  .directory-filter-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

  .hero h1 {
    max-width: 9.8ch;
    font-size: clamp(2.6rem, 14vw, 4.2rem);
  }

  .hero-actions,
  .tool-card-footer,
  .article-card-footer,
  .tool-hero-actions,
  .comparison-empty-actions,
  .section-inline-actions,
  .article-footer,
  .hero-panel-actions {
    display: grid;
  }

  .hero-actions .button,
  .tool-card-footer .button,
  .article-card-footer .button,
  .tool-hero-actions .button,
  .tool-proof-verified,
  .comparison-empty-actions .button,
  .section-inline-actions .button,
  .article-footer .button {
    width: 100%;
  }

  .quick-search {
    grid-template-columns: 1fr;
  }

  .page-shell,
  .article-shell,
  .collection-shell,
  .hero-panel,
  .archive-header,
  .card,
  .home-section-shell,
  .archive-newsletter-form,
  .footer-newsletter-form {
    padding: 20px;
  }

  .footer-newsletter {
    grid-template-columns: 1fr;
  }

  .tool-jump-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/*
 * OSINT4ALL 2026 product UI layer
 * Final cascade layer intentionally lives after the retired compatibility rules.
 * It normalizes the public product around the official silver/plum/graphite brand.
 */
:root {
  --o4-bg: #03060b;
  --o4-bg-2: #07080d;
  --o4-graphite: #121318;
  --o4-graphite-2: #191a20;
  --o4-graphite-3: #22232a;
  --o4-ink: #2a2a30;
  --o4-plum: #2d1b36;
  --o4-purple: #432762;
  --o4-purple-2: #5b347f;
  --o4-silver: #adb2b6;
  --o4-silver-2: #d8dcdf;
  --o4-white: #f5f6f7;
  --o4-muted: #9ea4aa;
  --o4-line: rgba(173, 178, 182, 0.16);
  --o4-line-strong: rgba(173, 178, 182, 0.32);
  --o4-line-soft: rgba(173, 178, 182, 0.08);
  --o4-glow: rgba(67, 39, 98, 0.34);
  --o4-success: #86c89d;
  --o4-radius: 10px;
  --o4-radius-lg: 14px;
  --o4-radius-xl: 18px;
  --o4-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
  --o4-shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.26);
  --bg: var(--o4-bg);
  --panel: var(--o4-graphite);
  --panel-2: var(--o4-graphite-2);
  --panel-strong: var(--o4-ink);
  --brand: var(--o4-purple);
  --brand-strong: var(--o4-purple-2);
  --text: var(--o4-silver-2);
  --text-strong: var(--o4-white);
  --text-muted: var(--o4-muted);
  --line: var(--o4-line);
  --line-strong: var(--o4-line-strong);
  --radius: var(--o4-radius);
  --radius-lg: var(--o4-radius-lg);
  --shadow: var(--o4-shadow-soft);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--o4-silver-2);
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
  background:
    radial-gradient(circle at 78% 8%, rgba(67, 39, 98, 0.32), transparent 30rem),
    radial-gradient(circle at 16% 0%, rgba(173, 178, 182, 0.09), transparent 23rem),
    linear-gradient(180deg, #05060a 0%, #03060b 44%, #08080d 100%);
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(173, 178, 182, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(173, 178, 182, 0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 78%);
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #dfd5f2;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

a:hover,
a:focus-visible {
  color: #ffffff;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-kicker,
.panel-label,
.card-meta,
.feature-card-meta,
.header-nav-link,
.button {
  font-family: "Oxanium", "Montserrat", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-head h2,
.section-title h1,
.section-title h2,
.card h1,
.card h2,
.card h3 {
  margin: 0;
  color: var(--o4-white);
  line-height: 1.08;
  letter-spacing: 0;
}

p {
  margin-top: 0;
}

p:last-child,
li:last-child {
  margin-bottom: 0;
}

.container {
  width: min(100%, 1400px);
  max-width: 1400px;
  margin: 0 auto;
  padding-inline: 34px;
}

.section {
  padding: 58px 0;
}

.section-kicker,
.panel-label,
.card-meta,
.feature-card-meta {
  margin: 0;
  color: rgba(173, 178, 182, 0.84);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-intro,
.hero-intro,
.page-shell-lede {
  color: rgba(216, 220, 223, 0.82);
}

.section-head h2,
.section-title h2 {
  font-size: 2.75rem;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.home-section-shell,
.archive-header,
.archive-empty-state,
.archive-intel-panels,
.archive-newsletter-panel,
.article-shell,
.collection-shell,
.page-shell,
.form-shell,
.tool-jump-nav {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--o4-line);
  border-radius: var(--o4-radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 34%),
    linear-gradient(180deg, rgba(34, 35, 42, 0.94), rgba(16, 17, 23, 0.98));
  box-shadow: none;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  padding: 24px;
}

.card::after,
.home-section-shell::after,
.archive-header::after,
.tool-hero::after,
.page-shell::after,
.collection-shell::after,
.article-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.card p,
.card li,
.article-content,
.page-shell-content,
.editorial-content {
  color: rgba(216, 220, 223, 0.82);
}

.card a:not(.button),
.article-content a,
.page-shell-content a,
.editorial-content a {
  color: #dcccff;
  font-weight: 700;
}

.feature-card:hover,
.featured-tool-card:hover,
.article-card:hover,
.collection-card:hover,
.collection-tool-card:hover,
.card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(173, 178, 182, 0.34);
}

.feature-card,
.featured-tool-card,
.article-card,
.collection-card,
.collection-tool-card,
.tool-card {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.feature-card::before,
.tool-card::before,
.collection-card::before,
.article-card::before,
.collection-tool-card::before,
.collection-pick-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 100% 0%, rgba(67, 39, 98, 0.24), transparent 16rem),
    linear-gradient(135deg, rgba(173, 178, 182, 0.045), transparent 42%);
}

.feature-card > *,
.tool-card > *,
.collection-card > *,
.article-card > *,
.collection-tool-card > *,
.collection-pick-card > * {
  position: relative;
  z-index: 1;
}

.badge,
.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(173, 178, 182, 0.2);
  border-radius: 999px;
  color: rgba(244, 245, 246, 0.9);
  background: rgba(255, 255, 255, 0.045);
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
}

.badge-soft {
  color: #e9ddfb;
  background: rgba(67, 39, 98, 0.3);
  border-color: rgba(173, 178, 182, 0.18);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.button,
.osint4all-form > button,
.newsletter-form > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--o4-radius);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.osint4all-form > button:hover,
.newsletter-form > button:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.button-primary,
.osint4all-form > button,
.newsletter-form > button {
  color: #ffffff;
  background: linear-gradient(135deg, #684093 0%, var(--o4-purple) 52%, var(--o4-plum) 100%);
  box-shadow: 0 16px 34px rgba(67, 39, 98, 0.34);
}

.button-primary:hover,
.button-primary:focus-visible,
.osint4all-form > button:hover,
.newsletter-form > button:hover {
  box-shadow: 0 18px 38px rgba(67, 39, 98, 0.46);
}

.button-secondary,
.button-ghost {
  color: rgba(244, 245, 246, 0.94);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(173, 178, 182, 0.22);
}

.button-secondary:hover,
.button-secondary:focus-visible,
.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: rgba(216, 220, 223, 0.44);
  background: rgba(255, 255, 255, 0.085);
}

.button-ghost {
  background: transparent;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 15px;
  border: 1px solid rgba(173, 178, 182, 0.22);
  border-radius: var(--o4-radius);
  color: var(--o4-white);
  background: rgba(3, 6, 11, 0.66);
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  font-size: 0.95rem;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

select {
  appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(216, 220, 223, 0.86) 50%),
    linear-gradient(135deg, rgba(216, 220, 223, 0.86) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 3px),
    calc(100% - 14px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

select option {
  color: #111218;
}

input::placeholder,
textarea::placeholder {
  color: rgba(173, 178, 182, 0.58);
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  accent-color: var(--o4-purple-2);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid rgba(220, 204, 255, 0.9);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  border-bottom: 1px solid rgba(173, 178, 182, 0.1);
  background: rgba(3, 6, 11, 0.9);
  backdrop-filter: blur(22px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.24);
}

.site-header.is-condensed {
  background: rgba(3, 6, 11, 0.96);
}

.site-header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 78px;
  transition: min-height 180ms ease;
}

.site-header.is-condensed .site-header-inner {
  min-height: 70px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.site-brand-logo {
  display: block;
  width: auto;
  height: 42px;
  max-width: 272px;
}

#primary-menu,
.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}

.header-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(234, 236, 238, 0.8);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.header-nav-link:hover,
.header-nav-link:focus-visible {
  color: var(--o4-white);
  background: rgba(255, 255, 255, 0.055);
}

.header-nav-link.is-active {
  color: var(--o4-white);
  border-color: rgba(173, 178, 182, 0.18);
  background:
    linear-gradient(135deg, rgba(67, 39, 98, 0.72), rgba(45, 27, 54, 0.58));
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.header-search {
  display: block;
  width: 300px;
}

.header-search input {
  min-width: 0;
  width: 100%;
  min-height: 46px;
  border-radius: 999px;
  background: rgba(3, 6, 11, 0.52);
}

.header-submit-cta {
  min-width: 154px;
  white-space: nowrap;
}

.header-submit-label-short {
  display: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(173, 178, 182, 0.22);
  border-radius: var(--o4-radius);
  color: var(--o4-white);
  background: rgba(255, 255, 255, 0.055);
}

.hero-home {
  position: relative;
  isolation: isolate;
  overflow: clip;
  --spotlight-x: 78%;
  --spotlight-y: 28%;
  --spotlight-opacity: 0.58;
  padding: 68px 0 50px;
  border-bottom: 1px solid rgba(173, 178, 182, 0.08);
  background:
    radial-gradient(circle at var(--spotlight-x) var(--spotlight-y), rgba(67, 39, 98, var(--spotlight-opacity)), transparent 25rem),
    linear-gradient(180deg, rgba(3, 6, 11, 0.42), rgba(3, 6, 11, 0.96));
}

.hero-home::before,
.hero-home::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.hero-home::before {
  background:
    radial-gradient(circle at 15% 28%, rgba(173, 178, 182, 0.1), transparent 19rem),
    radial-gradient(circle at 84% 16%, rgba(67, 39, 98, 0.46), transparent 25rem);
}

.hero-home::after {
  z-index: -1;
  background:
    linear-gradient(rgba(173, 178, 182, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(173, 178, 182, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.2;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 76%);
}

.hero-grid-overlay {
  display: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(440px, 0.9fr);
  align-items: center;
  gap: 64px;
}

.hero-copy-column {
  display: grid;
  gap: 0;
  max-width: 720px;
}

.hero-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin: 12px 0 22px;
  padding: 8px 14px 8px 10px;
  border: 1px solid rgba(173, 178, 182, 0.16);
  border-radius: 999px;
  color: rgba(245, 246, 247, 0.84);
  background: rgba(255, 255, 255, 0.035);
  font-family: "Oxanium", "Montserrat", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.hero-brand-lockup img {
  width: 28px;
  height: 28px;
}

.hero-copy-column h1,
.hero h1 {
  max-width: 14ch;
  color: var(--o4-white);
  font-size: 4.45rem;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-intro {
  max-width: 43rem;
  margin: 22px 0 0;
  color: rgba(216, 220, 223, 0.82);
  font-size: 1.14rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
}

.quick-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  width: min(100%, 720px);
  margin-top: 22px;
  padding: 9px;
  border: 1px solid rgba(173, 178, 182, 0.16);
  border-radius: var(--o4-radius-lg);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.quick-search input {
  min-height: 52px;
  border-color: transparent;
  background: rgba(3, 6, 11, 0.58);
}

.quick-search .button {
  min-width: 118px;
}

.quick-searches,
.hero-trust-inline,
.archive-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.quick-searches {
  margin-top: 14px;
}

.quick-chip,
.hero-trust-inline span,
.section-link,
.tool-jump-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(173, 178, 182, 0.16);
  border-radius: 999px;
  color: rgba(230, 233, 235, 0.86);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.82rem;
  font-weight: 700;
}

.quick-chip:hover,
.hero-trust-inline span:hover,
.section-link:hover,
.tool-jump-nav a:hover {
  border-color: rgba(173, 178, 182, 0.32);
  background: rgba(67, 39, 98, 0.22);
}

.hero-trust-inline {
  margin-top: 18px;
}

.hero-trust-inline span::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--o4-success);
  box-shadow: 0 0 0 5px rgba(134, 200, 157, 0.1);
}

.hero-visual {
  position: relative;
}

.hero-console {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(173, 178, 182, 0.2);
  border-radius: var(--o4-radius-xl);
  background:
    radial-gradient(circle at 78% 8%, rgba(173, 178, 182, 0.16), transparent 14rem),
    linear-gradient(145deg, rgba(46, 47, 54, 0.94), rgba(17, 18, 24, 0.98));
  box-shadow: var(--o4-shadow);
}

.hero-console::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(173, 178, 182, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(173, 178, 182, 0.045) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 88%);
}

.hero-console-brand {
  position: absolute;
  right: -24px;
  bottom: -30px;
  width: 220px;
  opacity: 0.045;
  transform: rotate(-7deg);
}

.hero-console > *:not(.hero-console-brand) {
  position: relative;
  z-index: 1;
}

.hero-console-topbar,
.article-card-topline,
.section-head-inline,
.tool-card-footer,
.article-card-footer,
.tool-hero-actions,
.collection-card-footer,
.collection-tool-card-actions,
.hero-console-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-console-topbar {
  align-items: flex-start;
}

.hero-console-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(173, 178, 182, 0.18);
  border-radius: 999px;
  color: #efe6ff;
  background: rgba(67, 39, 98, 0.42);
  font-family: "Oxanium", "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-console-status span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--o4-success);
  box-shadow: 0 0 0 5px rgba(134, 200, 157, 0.12);
}

.hero-console-header {
  margin-top: 22px;
}

.hero-console-header h2 {
  max-width: 15ch;
  color: var(--o4-white);
  font-size: 2.12rem;
  line-height: 1.08;
}

.hero-console-header p {
  max-width: 44rem;
  margin: 12px 0 0;
  color: rgba(216, 220, 223, 0.78);
}

.hero-console-body.hero-trust-list,
.hero-trust-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 18px;
}

.hero-console-note,
.hero-console-primary,
.tool-hero-intel-card,
.tool-hero-brief-card,
.article-proof-card,
.page-process-card,
.osint4all-next-steps,
.page-shell-pillar,
.tool-hero-panel {
  position: relative;
  padding: 15px;
  border: 1px solid rgba(173, 178, 182, 0.14);
  border-radius: var(--o4-radius);
  background: rgba(3, 6, 11, 0.32);
}

.hero-console-note::before {
  content: "";
  position: absolute;
  inset: 16px auto 16px 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--o4-silver), var(--o4-purple-2));
}

.hero-console-note .panel-label,
.hero-console-note p {
  margin-left: 12px;
}

.hero-dossier-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.hero-dossier-strip span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(173, 178, 182, 0.12);
  border-radius: var(--o4-radius);
  color: rgba(244, 245, 246, 0.86);
  background: rgba(255, 255, 255, 0.035);
  font-family: "Oxanium", "Montserrat", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-console-links {
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(173, 178, 182, 0.12);
}

.hero-console-links a {
  color: #efe6ff;
  font-family: "Oxanium", "Montserrat", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-shell {
  display: grid;
  gap: 0;
  padding-bottom: 22px;
}

.home-shell .section {
  padding: 42px 0;
}

.home-section-shell {
  padding: 30px;
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.section-head-inline {
  align-items: end;
  margin-bottom: 24px;
}

.home-path-grid,
.home-feature-grid,
.home-collection-grid,
.directory-results-grid,
.article-archive-grid,
.collection-archive-grid {
  gap: 22px;
}

.home-path-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas:
    "primary secondary-a"
    "primary secondary-b";
}

.home-path-grid > :nth-child(1) {
  grid-area: primary;
}

.home-path-grid > :nth-child(2) {
  grid-area: secondary-a;
}

.home-path-grid > :nth-child(3) {
  grid-area: secondary-b;
}

.home-feature-grid,
.home-collection-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.featured-tool-card.is-emphasis,
.collection-card.is-emphasis {
  grid-row: 1 / span 2;
  background:
    radial-gradient(circle at 100% 0%, rgba(67, 39, 98, 0.36), transparent 15rem),
    linear-gradient(180deg, rgba(45, 27, 54, 0.72), rgba(18, 19, 24, 0.98));
}

.feature-card h3,
.tool-card h3,
.collection-card h3,
.article-card h2,
.article-card h3,
.collection-spotlight h2 {
  font-size: 1.75rem;
}

.tool-card,
.collection-card,
.article-card,
.collection-tool-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.article-card-body {
  display: grid;
  gap: 11px;
}

.article-card-note {
  margin: 0;
  color: rgba(216, 220, 223, 0.78);
}

.tool-card-footer,
.article-card-footer,
.collection-card-footer,
.collection-tool-card-actions {
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: auto;
}

.tool-card-footer .button,
.article-card-footer .button,
.collection-card-footer .button,
.collection-tool-card-actions .button {
  flex: 1 1 150px;
}

.section-trust-contribute .trust-contribute-grid,
.trust-contribute-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 22px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.method-grid > div {
  padding: 16px;
  border: 1px solid rgba(173, 178, 182, 0.12);
  border-radius: var(--o4-radius);
  background: rgba(3, 6, 11, 0.24);
}

.contribute-points {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.contribute-points li {
  position: relative;
  padding-left: 18px;
}

.contribute-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--o4-purple-2);
}

.archive-shell,
.editorial-shell,
.section-tool-single {
  display: grid;
  gap: 24px;
}

.directory-shell {
  display: grid;
  grid-template-columns: 328px minmax(0, 1fr);
  gap: 24px;
}

.directory-main {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.filters,
.directory-filters {
  position: sticky;
  top: 98px;
  align-self: start;
  padding: 22px;
}

.filters form,
.directory-filters form,
.osint4all-form {
  display: grid;
  gap: 14px;
}

.filters label,
.directory-filters label,
.osint4all-form > label,
.newsletter-form > label {
  display: grid;
  gap: 7px;
  color: rgba(235, 237, 239, 0.88);
  font-weight: 700;
}

.filters label:has(input[type="checkbox"]),
.directory-filters label:has(input[type="checkbox"]),
.osint4all-form > label:has(input[type="checkbox"]),
.newsletter-form > label:has(input[type="checkbox"]) {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 11px;
}

.directory-filter-actions {
  display: grid;
  gap: 10px;
}

.directory-filter-footnote {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(173, 178, 182, 0.12);
}

.archive-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 380px);
  gap: 24px;
  align-items: start;
  padding: 28px;
}

.archive-header-copy h1 {
  max-width: 13ch;
  font-size: 3.35rem;
  line-height: 1;
}

.archive-header-meta {
  margin-top: 20px;
}

.archive-proof-card {
  background:
    linear-gradient(145deg, rgba(173, 178, 182, 0.07), transparent 34%),
    linear-gradient(180deg, rgba(42, 42, 48, 0.76), rgba(13, 14, 20, 0.96));
}

.archive-proof-card ul,
.page-process-card ul,
.osint4all-next-steps ul,
.tool-related-grid ul {
  display: grid;
  gap: 11px;
  margin: 12px 0 0;
  padding-left: 18px;
}

.archive-empty-state,
.comparison-empty-state {
  padding: 34px;
  text-align: left;
  background:
    radial-gradient(circle at 100% 0%, rgba(67, 39, 98, 0.28), transparent 16rem),
    linear-gradient(180deg, rgba(34, 35, 42, 0.9), rgba(13, 14, 20, 0.98));
}

.comparison-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.archive-intel-panels .grid {
  gap: 22px;
}

.archive-newsletter-panel,
.footer-newsletter {
  display: grid;
  grid-template-columns: minmax(240px, 0.88fr) minmax(0, 1.12fr);
  gap: 24px;
  align-items: start;
}

.newsletter-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.newsletter-form > label:first-of-type,
.newsletter-form > label:has(input[type="checkbox"]),
.newsletter-form > button,
.newsletter-form > .osint4all-form-note {
  grid-column: 1 / -1;
}

.tool-proof-card {
  margin: 0 0 14px;
}

.tool-proof-surface {
  position: relative;
  overflow: hidden;
  min-height: 218px;
  border: 1px solid rgba(173, 178, 182, 0.18);
  border-radius: var(--o4-radius);
  background:
    radial-gradient(circle at top right, rgba(67, 39, 98, 0.34), transparent 16rem),
    linear-gradient(160deg, rgba(34, 35, 42, 0.96), rgba(5, 7, 12, 0.98));
}

.tool-proof-card--archive .tool-proof-surface,
.tool-proof-card--compact .tool-proof-surface {
  min-height: 280px;
}

.tool-proof-card--archive .tool-proof-surface {
  min-height: 330px;
}

.tool-proof-card--hero .tool-proof-surface {
  min-height: 300px;
}

.tool-proof-image,
.tool-proof-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tool-proof-image {
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.82) contrast(1.04) brightness(0.74);
}

.tool-proof-fallback {
  background:
    linear-gradient(rgba(173, 178, 182, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(173, 178, 182, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 76% 18%, rgba(67, 39, 98, 0.42), transparent 15rem),
    linear-gradient(135deg, rgba(34, 35, 42, 0.96), rgba(5, 7, 12, 0.98));
  background-size: 28px 28px, 28px 28px, auto, auto;
}

.tool-proof-fallback-grid {
  display: none;
}

.tool-proof-fallback-copy {
  position: relative;
  z-index: 1;
  display: none;
  gap: 8px;
  align-self: end;
  max-width: 78%;
  padding: 18px;
}

.tool-proof-overlay {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
  min-height: inherit;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(3, 6, 11, 0.1) 0%, rgba(3, 6, 11, 0.46) 48%, rgba(3, 6, 11, 0.95) 100%);
}

.tool-proof-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.tool-proof-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.tool-proof-logo,
.tool-proof-monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--o4-radius);
  border: 1px solid rgba(173, 178, 182, 0.16);
  background: rgba(245, 246, 247, 0.94);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.tool-proof-logo {
  padding: 7px;
  object-fit: contain;
}

.tool-proof-monogram {
  color: var(--o4-bg);
  font-family: "Oxanium", "Montserrat", sans-serif;
  font-weight: 700;
}

.tool-proof-brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.tool-proof-label,
.tool-proof-fallback-label {
  margin: 0;
  color: rgba(216, 220, 223, 0.84);
  font-family: "Oxanium", "Montserrat", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tool-proof-vendor,
.tool-proof-fallback-title {
  margin: 0;
  color: var(--o4-white);
  font-family: "Oxanium", "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.tool-proof-verified {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(173, 178, 182, 0.16);
  border-radius: 999px;
  color: rgba(245, 246, 247, 0.88);
  background: rgba(3, 6, 11, 0.46);
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.tool-proof-body {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.tool-proof-tagline,
.tool-proof-best-for,
.tool-proof-fallback-text {
  margin: 0;
  color: rgba(245, 246, 247, 0.9);
  font-size: 0.9rem;
}

.tool-proof-metrics,
.tool-proof-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tool-proof-metrics span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(173, 178, 182, 0.16);
  border-radius: 999px;
  color: rgba(238, 240, 242, 0.88);
  background: rgba(3, 6, 11, 0.5);
  font-size: 0.72rem;
}

.tool-proof-metrics strong {
  margin-right: 4px;
  color: var(--o4-white);
}

.directory-tool-card-frame {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.directory-tool-signal-grid {
  display: grid;
  gap: 9px;
}

.tool-dossier {
  display: grid;
  gap: 24px;
}

.tool-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 28px;
  padding: 30px;
  border: 1px solid rgba(173, 178, 182, 0.17);
  border-radius: var(--o4-radius-xl);
  background:
    radial-gradient(circle at 86% 10%, rgba(173, 178, 182, 0.13), transparent 16rem),
    radial-gradient(circle at 16% 16%, rgba(67, 39, 98, 0.4), transparent 20rem),
    linear-gradient(180deg, rgba(34, 35, 42, 0.94), rgba(13, 14, 20, 0.98));
}

.tool-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(173, 178, 182, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(173, 178, 182, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.74), transparent 82%);
}

.tool-hero-main,
.tool-hero-meta {
  position: relative;
  z-index: 1;
}

.tool-hero-main,
.tool-hero-meta,
.collection-shell-sidebar,
.page-shell-main,
.page-shell-sidebar {
  display: grid;
  gap: 16px;
}

.tool-hero-topline,
.article-header-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.tool-hero h1,
.article-header h1,
.collection-shell-header h1,
.page-shell-header h1 {
  max-width: 14ch;
  font-size: 4rem;
  line-height: 1;
}

.tool-hero-summary {
  color: rgba(245, 246, 247, 0.92);
  font-size: 1.18rem;
}

.tool-hero-lede {
  max-width: 46rem;
  color: rgba(216, 220, 223, 0.78);
}

.tool-hero-intel,
.tool-hero-brief,
.article-proof-grid,
.tool-section-grid,
.tool-disclosure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tool-hero-intel {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tool-hero-brief {
  margin-top: 2px;
}

.tool-hero-actions {
  flex-wrap: wrap;
  justify-content: flex-start;
}

.tool-hero-footnotes {
  display: grid;
  gap: 8px;
}

.tool-hero-footnote {
  margin: 0;
  color: rgba(173, 178, 182, 0.82);
  font-size: 0.92rem;
}

.tool-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 14px;
}

.tool-section-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.tool-section-grid > .card,
.tool-related-grid > div {
  min-width: 0;
}

.tool-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.meta-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.meta-list li {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(173, 178, 182, 0.12);
}

.meta-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.meta-list strong {
  color: rgba(173, 178, 182, 0.84);
  font-family: "Oxanium", "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.meta-list span {
  color: var(--o4-white);
}

.article-shell,
.collection-shell,
.page-shell,
.form-shell {
  padding: 30px;
}

.article-shell {
  max-width: 1120px;
  margin: 0 auto;
}

.article-header,
.collection-shell-copy,
.page-shell-header {
  display: grid;
  gap: 14px;
}

.article-content,
.page-shell-content,
.editorial-content {
  max-width: 78ch;
}

.article-content > * + *,
.page-shell-content > * + *,
.editorial-content > * + * {
  margin-top: 1.1em;
}

.article-content h2,
.page-shell-content h2,
.editorial-content h2 {
  margin-top: 1.55em;
  font-size: 2rem;
}

.article-content h3,
.page-shell-content h3,
.editorial-content h3 {
  margin-top: 1.35em;
  font-size: 1.35rem;
}

.article-content blockquote,
.page-shell-content blockquote,
.editorial-content blockquote {
  margin-left: 0;
  padding: 18px 20px;
  border-left: 3px solid rgba(173, 178, 182, 0.34);
  background: rgba(255, 255, 255, 0.035);
}

.article-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.collection-shell-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 24px;
}

.collection-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  gap: 24px;
}

.collection-picks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.collection-pick-card {
  padding: 18px;
  border: 1px solid rgba(173, 178, 182, 0.14);
  border-radius: var(--o4-radius);
  background: rgba(3, 6, 11, 0.26);
}

.collection-tools-grid {
  gap: 22px;
}

.page-shell-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
  gap: 24px;
}

.page-shell-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 6px;
}

.page-shell-trust,
.contribute-card-home,
.feature-card-primary {
  background:
    radial-gradient(circle at 100% 0%, rgba(67, 39, 98, 0.34), transparent 14rem),
    linear-gradient(180deg, rgba(45, 27, 54, 0.6), rgba(15, 16, 22, 0.98));
}

.notice {
  padding: 15px 16px;
  border: 1px solid rgba(173, 178, 182, 0.18);
  border-radius: var(--o4-radius);
  color: rgba(245, 246, 247, 0.92);
  background: rgba(67, 39, 98, 0.24);
}

.osint4all-form-note {
  margin: 0;
  color: rgba(216, 220, 223, 0.78);
}

.osint4all-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.site-footer {
  padding: 58px 0 42px;
  border-top: 1px solid rgba(173, 178, 182, 0.1);
  background:
    radial-gradient(circle at 82% 0%, rgba(67, 39, 98, 0.2), transparent 22rem),
    linear-gradient(180deg, rgba(7, 8, 13, 0.98), rgba(3, 6, 11, 1));
}

.site-footer-shell {
  display: grid;
  gap: 30px;
}

.footer-brand {
  display: grid;
  gap: 16px;
  max-width: 58rem;
}

.footer-brand-logo {
  display: block;
  width: min(100%, 460px);
  height: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.footer-grid h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.footer-menu {
  display: grid;
  justify-content: start;
  gap: 9px;
}

.footer-menu a {
  color: rgba(216, 220, 223, 0.72);
}

.footer-menu a:hover {
  color: var(--o4-white);
}

.footer-newsletter {
  padding: 24px;
}

.footer-meta {
  margin: 0;
  color: rgba(173, 178, 182, 0.72);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(173, 178, 182, 0.16);
  border-radius: 999px;
  color: rgba(235, 237, 239, 0.86);
  background: rgba(255, 255, 255, 0.035);
}

.page-numbers.current {
  color: var(--o4-white);
  background: rgba(67, 39, 98, 0.36);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

}

@media (max-width: 1280px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(400px, 0.9fr);
    gap: 44px;
  }

  .hero-copy-column h1,
  .hero h1 {
    font-size: 4.05rem;
  }

  .header-search {
    width: 250px;
  }
}

@media (max-width: 1160px) {
  .site-header-inner {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  #primary-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 34px;
    right: 34px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 14px;
    border: 1px solid rgba(173, 178, 182, 0.18);
    border-radius: var(--o4-radius-lg);
    background: rgba(18, 19, 24, 0.98);
    box-shadow: var(--o4-shadow);
  }

  #primary-menu.is-open {
    display: flex;
  }

  .header-nav-link {
    justify-content: flex-start;
    width: 100%;
  }

  .hero-grid,
  .archive-header,
  .tool-hero,
  .collection-shell-header,
  .collection-spotlight,
  .page-shell-grid,
  .trust-contribute-grid,
  .section-trust-contribute .trust-contribute-grid,
  .archive-newsletter-panel,
  .footer-newsletter {
    grid-template-columns: 1fr;
  }

  .hero-copy-column {
    max-width: 820px;
  }

  .hero-copy-column h1,
  .hero h1 {
    max-width: 13ch;
  }

  .directory-shell {
    grid-template-columns: 1fr;
  }

  .filters,
  .directory-filters {
    position: static;
  }

  .home-path-grid,
  .home-feature-grid,
  .home-collection-grid,
  .footer-grid,
  .collection-picks-grid,
  .tool-hero-intel,
  .tool-hero-brief,
  .tool-section-grid,
  .tool-related-grid,
  .tool-disclosure-grid,
  .article-proof-grid {
    grid-template-columns: 1fr;
  }

  .home-path-grid {
    grid-template-areas:
      "primary"
      "secondary-a"
      "secondary-b";
  }

  .featured-tool-card.is-emphasis,
  .collection-card.is-emphasis {
    grid-row: auto;
  }
}

@media (max-width: 920px) {
  .container {
    padding-inline: 24px;
  }

  #primary-menu {
    left: 24px;
    right: 24px;
  }

  .header-search {
    display: none;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .section-head-inline,
  .hero-console-topbar,
  .article-card-topline {
    display: grid;
    justify-content: stretch;
  }

  .newsletter-form,
  .page-shell-pillars,
  .method-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 40px 0;
  }

  .site-header-inner {
    min-height: 72px;
    gap: 10px;
  }

  .site-brand-logo {
    height: 31px;
    max-width: min(220px, 46vw);
  }

  .header-submit-cta {
    min-width: 0;
    min-height: 44px;
    padding-inline: 12px;
    font-size: 0.78rem;
  }

  .hero-home {
    padding: 54px 0 40px;
  }

  .hero-copy-column h1,
  .hero h1 {
    max-width: none;
    font-size: 3.3rem;
  }

  .hero-intro {
    font-size: 1rem;
  }

  .quick-search,
  .hero-dossier-strip {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .article-footer,
  .comparison-empty-actions,
  .tool-hero-actions,
  .tool-card-footer,
  .article-card-footer,
  .collection-card-footer,
  .collection-tool-card-actions,
  .section-inline-actions {
    display: grid;
    width: 100%;
  }

  .hero-actions .button,
  .article-footer .button,
  .comparison-empty-actions .button,
  .tool-hero-actions .button,
  .tool-card-footer .button,
  .article-card-footer .button,
  .collection-card-footer .button,
  .collection-tool-card-actions .button,
  .section-inline-actions .button {
    width: 100%;
  }

  .home-section-shell,
  .card,
  .article-shell,
  .collection-shell,
  .page-shell,
  .archive-header,
  .archive-empty-state,
  .archive-intel-panels,
  .archive-newsletter-panel,
  .footer-newsletter,
  .hero-console,
  .tool-hero {
    padding: 20px;
  }

  .archive-header-copy h1,
  .tool-hero h1,
  .article-header h1,
  .collection-shell-header h1,
  .page-shell-header h1 {
    max-width: none;
    font-size: 2.65rem;
  }

  .section-head h2,
  .section-title h2 {
    font-size: 2.15rem;
  }

  .tool-jump-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .container {
    padding-inline: 18px;
  }

  .container > .article-shell,
  .container > .collection-shell,
  .container > .page-shell,
  .container > .form-shell {
    width: 100%;
    max-width: 100%;
  }

  #primary-menu {
    left: 18px;
    right: 18px;
  }

  .site-header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    min-height: 68px;
  }

  .site-brand-logo {
    height: 28px;
    max-width: min(170px, 42vw);
  }

  .nav-toggle {
    min-height: 40px;
    padding: 0 11px;
    font-size: 0.8rem;
  }

  .header-submit-cta {
    min-height: 40px;
    padding-inline: 10px;
    font-size: 0.74rem;
  }

  .hero-copy-column h1,
  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-brand-lockup {
    letter-spacing: 0.14em;
  }

  .hero-console-header h2 {
    font-size: 1.9rem;
  }

  .tool-jump-nav {
    grid-template-columns: 1fr;
  }

  .footer-brand-logo {
    width: min(100%, 260px);
  }
}

@media (max-width: 420px) {
  .site-brand-logo {
    max-width: min(145px, 38vw);
  }

  .header-submit-label-full {
    display: none;
  }

  .header-submit-label-short {
    display: inline;
  }

  .hero-copy-column h1,
  .hero h1 {
    font-size: 2.55rem;
  }
}

/*
 * Pre-production polish pass
 * Tightens dense product surfaces after real staging content was reviewed.
 */
.badges {
  align-items: center;
}

.directory-results-grid {
  gap: 18px;
}

.directory-tool-card {
  padding: 16px;
}

.directory-tool-card-frame {
  gap: 12px;
}

.tool-proof-card--archive-preview {
  margin-bottom: 0;
}

.tool-proof-card--archive-preview .tool-proof-surface {
  min-height: 188px;
}

.tool-proof-card--archive-preview .tool-proof-overlay {
  gap: 10px;
  padding: 14px;
}

.tool-proof-card--archive-preview .tool-proof-best-for,
.tool-proof-card--archive-preview .tool-proof-badges {
  display: none;
}

.tool-proof-card--archive-preview .tool-proof-tagline {
  max-width: 28ch;
}

.tool-proof-card--archive-preview .tool-proof-metrics {
  gap: 6px;
}

.tool-proof-card--archive-preview .tool-proof-metrics span {
  min-height: 24px;
  padding: 0 8px;
  font-size: 0.68rem;
}

.directory-tool-title {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.08;
}

.directory-tool-card .tool-card-summary,
.directory-tool-best-for {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.directory-tool-card .tool-card-summary {
  -webkit-line-clamp: 2;
}

.directory-tool-best-for {
  -webkit-line-clamp: 2;
}

.directory-tool-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.directory-tool-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(173, 178, 182, 0.14);
  border-radius: 999px;
  color: rgba(235, 237, 239, 0.84);
  background: rgba(3, 6, 11, 0.3);
  font-size: 0.72rem;
}

.directory-tool-meta-row strong {
  color: var(--o4-white);
}

.directory-tool-card .article-card-footer .button {
  min-height: 42px;
}

.collection-single-section {
  display: grid;
  gap: 22px;
}

.collection-shell {
  padding: 28px 30px;
}

.collection-shell-header {
  align-items: center;
}

.collection-shell-copy {
  align-content: center;
}

.collection-shell-sidebar {
  align-content: start;
  gap: 12px;
}

.collection-shell-sidebar .article-proof-card {
  padding: 16px;
}

.collection-shell-sidebar .article-proof-card p:not(.panel-label) {
  font-size: 0.96rem;
  line-height: 1.48;
}

.collection-shell .badges {
  align-items: center;
  margin: 2px 0 0;
}

.collection-shell .badge,
.collection-shell .badge-soft {
  min-height: 30px;
  padding: 0 11px;
}

.collection-shell .editorial-content {
  max-width: 72ch;
}

.collection-tools-head {
  display: grid;
  gap: 8px;
  max-width: 760px;
}

.collection-tools-head h2 {
  margin: 0;
  color: var(--o4-white);
  font-size: 2rem;
}

.collection-tools-head p {
  margin: 0;
  color: rgba(216, 220, 223, 0.78);
}

.collection-tool-card {
  gap: 12px;
  padding: 18px;
}

.collection-tool-card .tool-proof-card--stack {
  margin-bottom: 0;
}

.collection-tool-card .tool-proof-card--stack .tool-proof-surface {
  min-height: 220px;
}

.collection-tool-card .tool-proof-card--stack .tool-proof-best-for,
.collection-tool-card .tool-proof-card--stack .tool-proof-badges {
  display: none;
}

.collection-tool-card h3 {
  margin: 0;
  font-size: 1.45rem;
}

@media (max-width: 720px) {
  .home-shell .section {
    padding: 26px 0;
  }

  .home-section-shell {
    padding: 18px;
    border-radius: var(--o4-radius-lg);
  }

  .home-section-shell .section-head {
    margin-bottom: 18px;
  }

  .home-section-shell .section-intro,
  .home-section-shell p {
    font-size: 0.94rem;
  }

  .feature-card h3,
  .tool-card h3,
  .collection-card h3,
  .article-card h2,
  .article-card h3 {
    font-size: 1.55rem;
  }

  .tool-proof-card--archive-preview .tool-proof-surface {
    min-height: 170px;
  }

  .directory-tool-meta-row span {
    flex: 1 1 100%;
  }

  .collection-shell {
    padding: 20px;
  }

  .collection-shell-header {
    align-items: start;
    gap: 18px;
  }

  .collection-tools-head {
    padding: 0 2px;
  }

  .collection-tool-card .tool-proof-card--stack .tool-proof-surface {
    min-height: 180px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 18px;
  }

  .site-footer {
    padding: 42px 0 32px;
  }
}

@media (max-width: 430px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid h3 {
    font-size: 0.95rem;
  }

  .footer-menu a,
  .footer-meta {
    font-size: 0.82rem;
  }
}

/*
 * Homepage mobile finalization
 * Keeps the brand system but removes stacked repetition on small screens.
 */
@media (max-width: 720px) {
  .hero-home {
    padding: 32px 0 24px;
  }

  .hero-grid {
    gap: 18px;
  }

  .hero-copy-column > .section-kicker {
    margin-bottom: 8px;
  }

  .hero-brand-lockup {
    display: none;
  }

  .hero-copy-column h1,
  .hero h1 {
    font-size: clamp(2.18rem, 11vw, 2.65rem);
    line-height: 0.96;
  }

  .hero-intro {
    max-width: 34rem;
    margin-top: 12px;
    font-size: 0.95rem;
    line-height: 1.52;
  }

  .hero-copy-column .hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
  }

  .hero-copy-column .hero-actions .button {
    width: auto;
    min-height: 38px;
    font-size: 0.78rem;
  }

  .hero-copy-column .hero-actions .button-primary {
    flex: 1 1 100%;
    justify-content: center;
    min-height: 42px;
  }

  .hero-copy-column .hero-actions .button-secondary,
  .hero-copy-column .hero-actions .button-ghost {
    flex: 1 1 auto;
    justify-content: flex-start;
    min-height: 30px;
    padding: 0;
    border-color: transparent;
    background: transparent;
    color: rgba(230, 233, 235, 0.84);
    box-shadow: none;
  }

  .quick-search {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    margin-top: 14px;
    padding: 6px;
    border-radius: 16px;
  }

  .quick-search input {
    min-height: 42px;
    padding-inline: 12px;
    font-size: 0.82rem;
  }

  .quick-search .button {
    min-width: 76px;
    min-height: 42px;
    padding-inline: 12px;
    font-size: 0.75rem;
  }

  .quick-searches {
    gap: 7px;
    margin-top: 10px;
  }

  .quick-searches .quick-chip:nth-child(n+4) {
    display: none;
  }

  .quick-chip {
    min-height: 29px;
    padding-inline: 9px;
    font-size: 0.74rem;
  }

  .hero-trust-inline {
    display: none;
  }

  .hero-console {
    padding: 16px;
    border-radius: 18px;
  }

  .hero-console-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .hero-console-status {
    min-height: 28px;
    padding-inline: 9px;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .hero-console-header {
    margin-top: 12px;
  }

  .hero-console-header h2 {
    max-width: none;
    font-size: 1.36rem;
    line-height: 1.08;
  }

  .hero-console-header p {
    margin-top: 7px;
    font-size: 0.84rem;
    line-height: 1.44;
  }

  .hero-console-body.hero-trust-list,
  .hero-trust-list {
    gap: 7px;
    margin-top: 12px;
  }

  .hero-console-note {
    padding: 10px 10px 10px 12px;
  }

  .hero-console-note .panel-label,
  .hero-console-note p {
    margin-left: 9px;
  }

  .hero-console-note .panel-label {
    font-size: 0.58rem;
    letter-spacing: 0.13em;
  }

  .hero-console-note p {
    font-size: 0.8rem;
    line-height: 1.38;
  }

  .hero-dossier-strip {
    display: none;
  }

  .hero-console-links {
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
  }

  .hero-console-links a {
    font-size: 0.7rem;
  }

  .home-shell .section {
    padding: 18px 0;
  }

  .home-section-shell {
    padding: 16px;
  }

  .section-head,
  .section-head-inline {
    gap: 8px;
    margin-bottom: 14px;
  }

  .section-head h2,
  .section-title h2 {
    font-size: 1.68rem;
    line-height: 1.05;
  }

  .section-head .section-intro {
    font-size: 0.9rem;
    line-height: 1.48;
  }

  .section-link {
    min-height: 30px;
    padding-inline: 10px;
    font-size: 0.72rem;
  }

  .section-discovery .home-path-grid {
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(173, 178, 182, 0.12);
    border-radius: 16px;
    background: rgba(3, 6, 11, 0.22);
  }

  .section-discovery .feature-card {
    gap: 8px;
    padding: 14px;
    border: 0;
    border-top: 1px solid rgba(173, 178, 182, 0.1);
    border-radius: 0;
    background: transparent;
  }

  .section-discovery .feature-card:first-child {
    border-top: 0;
    background: linear-gradient(135deg, rgba(67, 39, 98, 0.32), rgba(3, 6, 11, 0.08));
  }

  .section-discovery .feature-card h3 {
    font-size: 1.18rem;
  }

  .section-discovery .feature-card p {
    margin: 0;
  }

  .section-discovery .feature-card .article-card-note,
  .section-discovery .feature-card .badges {
    display: none;
  }

  .section-discovery .feature-card .tool-card-footer {
    display: flex;
    gap: 8px;
    margin-top: 4px;
  }

  .section-discovery .feature-card .tool-card-footer .button {
    width: auto;
    min-height: 32px;
    padding-inline: 10px;
    font-size: 0.7rem;
  }

  .home-feature-grid,
  .home-collection-grid {
    gap: 12px;
  }

  .featured-tool-card,
  .collection-card {
    gap: 8px;
    padding: 14px;
  }

  .feature-card h3,
  .tool-card h3,
  .collection-card h3,
  .article-card h2,
  .article-card h3 {
    font-size: 1.3rem;
  }

  .home-feature-grid .tool-card-summary,
  .home-feature-grid .article-card-note,
  .home-collection-grid .collection-card > p:not(.card-meta) {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .home-feature-grid .badges,
  .home-collection-grid .article-card-note {
    display: none;
  }

  .home-feature-grid .tool-card-footer,
  .home-collection-grid .tool-card-footer {
    margin-top: 2px;
  }

  .home-feature-grid .tool-card-footer .button,
  .home-collection-grid .tool-card-footer .button {
    min-height: 34px;
    font-size: 0.7rem;
  }

  .method-grid {
    gap: 8px;
    margin-top: 14px;
  }

  .method-grid > div {
    padding: 12px;
  }

  .method-grid h3 {
    font-size: 1rem;
  }

  .contribute-points {
    gap: 7px;
    margin-top: 12px;
  }

  .site-footer {
    padding: 32px 0 24px;
  }

  .site-footer-shell {
    gap: 20px;
  }

  .footer-brand {
    gap: 10px;
  }

  .footer-brand p {
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .footer-newsletter {
    padding: 16px;
  }

  .footer-newsletter-copy h3 {
    font-size: 1.25rem;
  }

  .footer-newsletter .newsletter-form {
    gap: 10px;
  }
}

@media (max-width: 430px) {
  .hero-copy-column h1,
  .hero h1 {
    font-size: 2.18rem;
  }

  .quick-search {
    grid-template-columns: 1fr;
  }

  .quick-search .button {
    width: 100%;
  }
}

/* Header/footer unification + card diet pass */
.site-header-inner {
  min-height: 78px;
}

.site-brand-logo {
  width: auto;
  max-width: 258px;
  height: 42px;
  object-fit: contain;
}

.hero-trust-console .hero-console-body.hero-trust-list {
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(173, 178, 182, 0.12);
  border-radius: var(--o4-radius-xl);
  background: rgba(3, 6, 11, 0.18);
}

.hero-trust-console .hero-console-note {
  display: grid;
  grid-template-columns: minmax(12rem, 0.42fr) minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 14px 16px;
  border: 0;
  border-top: 1px solid rgba(173, 178, 182, 0.1);
  border-radius: 0;
  background: transparent;
}

.hero-trust-console .hero-console-note:first-child {
  border-top: 0;
}

.hero-trust-console .hero-console-note::before {
  inset: 14px auto 14px 0;
  background: linear-gradient(180deg, rgba(173, 178, 182, 0.86), rgba(67, 39, 98, 0.72));
}

.hero-trust-console .hero-console-note .panel-label,
.hero-trust-console .hero-console-note p {
  margin: 0 0 0 10px;
}

.hero-trust-console .hero-console-note .panel-label {
  color: var(--o4-white);
}

.section-discovery .home-section-shell {
  padding: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(67, 39, 98, 0.2), transparent 18rem),
    linear-gradient(180deg, rgba(18, 19, 24, 0.76), rgba(7, 10, 16, 0.94));
}

.section-discovery .home-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: none;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(173, 178, 182, 0.12);
  border-radius: var(--o4-radius-lg);
  background: rgba(3, 6, 11, 0.18);
}

.section-discovery .home-path-grid > * {
  grid-area: auto !important;
}

.section-discovery .feature-card {
  gap: 12px;
  padding: 22px;
  border: 0;
  border-left: 1px solid rgba(173, 178, 182, 0.1);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.section-discovery .feature-card:first-child {
  border-left: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(67, 39, 98, 0.26), transparent 12rem),
    rgba(255, 255, 255, 0.025);
}

.section-discovery .feature-card h3 {
  font-size: clamp(1.32rem, 1.8vw, 1.85rem);
}

.archive-proof.card.archive-proof-card {
  align-self: stretch;
  padding: 18px 20px;
  border-color: rgba(173, 178, 182, 0.12);
  background:
    linear-gradient(90deg, rgba(67, 39, 98, 0.24), transparent 52%),
    rgba(3, 6, 11, 0.22);
  box-shadow: none;
}

.archive-proof-card ul {
  gap: 9px;
  margin-top: 12px;
  padding-left: 0;
  list-style: none;
}

.archive-proof-card li {
  padding-left: 13px;
  border-left: 2px solid rgba(173, 178, 182, 0.28);
}

.page-process-card,
.osint4all-next-steps {
  padding: 20px;
  border-color: rgba(173, 178, 182, 0.1);
  background:
    linear-gradient(90deg, rgba(67, 39, 98, 0.16), transparent 55%),
    rgba(3, 6, 11, 0.2);
  box-shadow: none;
}

.page-process-card ul,
.osint4all-next-steps ul {
  gap: 9px;
  padding-left: 18px;
}

.directory-filter-advanced {
  margin: 0;
  padding: 0;
  border: 0;
}

.directory-filter-advanced summary {
  display: none;
}

.directory-filter-advanced-panel {
  display: grid;
  gap: 14px;
}

.tool-hero-badges:empty {
  display: none;
}

@media (max-width: 1160px) {
  .directory-main {
    order: 2;
  }

  .directory-filters {
    order: 1;
  }
}

@media (max-width: 920px) {
  .site-brand-logo {
    height: 34px;
  }

  .directory-filter-advanced {
    padding-top: 4px;
  }

  .directory-filter-advanced summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 0 13px;
    border: 1px solid rgba(173, 178, 182, 0.16);
    border-radius: 14px;
    color: var(--o4-white);
    background: rgba(255, 255, 255, 0.035);
    cursor: pointer;
    font-family: "Oxanium", "Montserrat", sans-serif;
    font-weight: 800;
    list-style: none;
  }

  .directory-filter-advanced summary::-webkit-details-marker {
    display: none;
  }

  .directory-filter-advanced summary::after {
    content: "Show";
    color: var(--o4-muted);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .directory-filter-advanced[open] summary::after {
    content: "Hide";
  }

  .directory-filter-advanced-panel {
    margin-top: 13px;
  }

  .directory-filter-footnote {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    min-height: 68px;
  }

  .site-brand-logo {
    height: 31px;
    max-width: min(220px, 46vw);
  }

  .section-discovery .home-section-shell {
    padding: 16px;
  }

  .section-discovery .home-path-grid {
    grid-template-columns: 1fr;
  }

  .section-discovery .feature-card {
    border-left: 0;
    border-top: 1px solid rgba(173, 178, 182, 0.1);
    padding: 14px;
  }

  .section-discovery .feature-card:first-child {
    border-top: 0;
  }

  .hero-trust-console .hero-console-note {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 12px;
  }

  .hero-trust-console .hero-console-note .panel-label,
  .hero-trust-console .hero-console-note p {
    margin-left: 9px;
  }

  .directory-filters {
    padding: 16px;
  }

  .directory-filters-head {
    gap: 7px;
  }
}

@media (max-width: 430px) {
  .site-brand-logo {
    max-width: 42vw;
  }
}

/* Safe split brand lockup: avoids clipping the tall 4/crow symbol in combined SVGs. */
.site-brand {
  gap: 14px;
  min-height: 54px;
  overflow: visible;
}

.site-brand-symbol,
.site-brand-wordmark {
  display: block;
  object-fit: contain;
}

.site-brand-symbol {
  width: 54px;
  height: 48px;
  flex: 0 0 auto;
}

.site-brand-wordmark {
  width: 260px;
  max-width: min(260px, 42vw);
  height: auto;
}

.site-brand-logo {
  display: none;
}

.footer-newsletter {
  width: min(100%, 1080px);
  margin-inline: auto;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
  padding: 28px 32px;
}

.footer-newsletter-copy h3 {
  font-size: clamp(1.35rem, 1.8vw, 1.8rem);
}

.footer-newsletter-copy p {
  max-width: 30rem;
}

.footer-newsletter-form {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.footer-newsletter .newsletter-form {
  gap: 12px 14px;
}

.footer-newsletter .osint4all-form-note {
  padding: 10px 12px;
  border-left: 2px solid rgba(173, 178, 182, 0.22);
  border-radius: 12px;
  background: rgba(3, 6, 11, 0.22);
  font-size: 0.82rem;
  line-height: 1.45;
}

.footer-newsletter .newsletter-form > label {
  gap: 6px;
  font-size: 0.86rem;
}

.footer-newsletter input,
.footer-newsletter select {
  min-height: 44px;
}

.footer-newsletter .newsletter-form > button {
  min-height: 46px;
}

@media (max-width: 1160px) {
  .site-brand-symbol {
    width: 46px;
    height: 40px;
  }

  .site-brand-wordmark {
    width: 214px;
  }

  .footer-newsletter {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-brand {
    gap: 8px;
  }

  .site-brand-symbol {
    width: 35px;
    height: 31px;
  }

  .site-brand-wordmark {
    width: 146px;
    max-width: 36vw;
  }

  .footer-newsletter {
    padding: 18px;
  }

  .footer-newsletter .newsletter-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .site-brand-wordmark {
    width: 132px;
    max-width: 34vw;
  }
}

/*
 * Launch density pass: keep the approved brand system while reducing card bulk.
 */
.directory-shell {
  gap: 18px;
}

.directory-filters {
  padding: 18px;
}

.directory-filters-head {
  gap: 6px;
}

.directory-filters-head h2 {
  font-size: 1.35rem;
}

.directory-filters .section-intro,
.directory-filter-footnote p {
  font-size: 0.88rem;
  line-height: 1.42;
}

.directory-filters form,
.directory-filter-advanced-panel {
  gap: 10px;
}

.directory-filters label {
  gap: 6px;
  font-size: 0.78rem;
}

.directory-filters input,
.directory-filters select {
  min-height: 38px;
  border-radius: 10px;
}

.directory-filter-actions {
  gap: 8px;
}

.directory-filter-actions .button {
  min-height: 38px;
}

.archive-header-directory {
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.46fr);
  gap: 18px;
  align-items: center;
  padding: 22px;
}

.archive-header-directory .section-intro {
  max-width: 54rem;
}

.archive-header-directory .archive-header-meta {
  gap: 7px;
}

.archive-header-directory .archive-header-meta .badge {
  min-height: 27px;
  padding-inline: 10px;
}

.archive-proof.card.archive-proof-card {
  align-self: center;
  padding: 14px 16px;
  border-color: rgba(173, 178, 182, 0.1);
  background:
    linear-gradient(90deg, rgba(67, 39, 98, 0.16), transparent 62%),
    rgba(3, 6, 11, 0.16);
}

.archive-proof-card h2 {
  margin: 4px 0 0;
  font-size: 1.05rem;
}

.archive-proof-card ul {
  gap: 7px;
  margin-top: 10px;
}

.archive-proof-card li {
  padding-left: 10px;
  font-size: 0.82rem;
  line-height: 1.35;
}

.directory-results-grid {
  gap: 14px;
}

.directory-tool-card {
  padding: 12px;
  border-radius: 18px;
}

.directory-tool-card-frame {
  gap: 9px;
}

.directory-tool-title {
  font-size: clamp(1.16rem, 1.25vw, 1.38rem);
  line-height: 1.06;
}

.directory-tool-card .tool-card-summary {
  color: rgba(216, 220, 223, 0.82);
  font-size: 0.88rem;
  line-height: 1.42;
  -webkit-line-clamp: 2;
}

.directory-tool-meta-row {
  gap: 5px;
}

.directory-tool-meta-row span {
  min-height: 24px;
  padding: 0 7px;
  gap: 4px;
  font-size: 0.65rem;
  line-height: 1;
}

.directory-tool-meta-row strong {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tool-proof-card--archive-preview {
  margin: 2px 0 0;
}

.tool-proof-card--archive-preview .tool-proof-surface {
  min-height: 128px;
  border-radius: 14px;
}

.tool-proof-card--archive-preview .tool-proof-overlay {
  align-content: start;
  gap: 0;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(3, 6, 11, 0.34), rgba(3, 6, 11, 0.08) 44%, rgba(3, 6, 11, 0.68));
}

.tool-proof-card--archive-preview .tool-proof-body {
  display: none;
}

.tool-proof-card--archive-preview .tool-proof-logo,
.tool-proof-card--archive-preview .tool-proof-monogram {
  width: 30px;
  height: 30px;
  border-radius: 10px;
}

.tool-proof-card--archive-preview .tool-proof-brand {
  gap: 8px;
}

.tool-proof-card--archive-preview .tool-proof-label {
  font-size: 0.56rem;
}

.tool-proof-card--archive-preview .tool-proof-vendor {
  font-size: 0.8rem;
}

.tool-proof-card--archive-preview .tool-proof-verified {
  min-height: 24px;
  padding-inline: 8px;
  font-size: 0.6rem;
}

.directory-tool-card .badges {
  gap: 5px;
}

.directory-tool-card .badge {
  min-height: 24px;
  padding-inline: 8px;
  font-size: 0.64rem;
}

.directory-tool-card .article-card-footer {
  gap: 7px;
}

.directory-tool-card .article-card-footer .button {
  min-height: 36px;
  border-radius: 10px;
  font-size: 0.72rem;
}

.collection-single-section {
  gap: 16px;
}

.collection-shell {
  padding: 22px;
}

.collection-shell-header {
  align-items: start;
  gap: 18px;
}

.collection-shell-copy {
  gap: 10px;
}

.collection-shell-header h1 {
  max-width: 12ch;
}

.collection-shell-summary {
  max-width: 62ch;
  margin: 0;
  color: rgba(216, 220, 223, 0.84);
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  line-height: 1.52;
}

.collection-shell-sidebar {
  gap: 9px;
}

.collection-shell-sidebar .article-proof-card {
  padding: 13px 14px;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(67, 39, 98, 0.14), transparent 58%),
    rgba(3, 6, 11, 0.2);
}

.collection-shell-sidebar .article-proof-card p:not(.panel-label) {
  font-size: 0.88rem;
  line-height: 1.4;
}

.collection-picks {
  padding: 18px;
}

.collection-picks h2 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.collection-pick-card {
  padding: 14px;
}

.collection-pick-card h3 {
  font-size: 1.08rem;
}

.collection-tools-head {
  gap: 6px;
  max-width: 640px;
}

.collection-tools-head h2 {
  font-size: 1.65rem;
}

.collection-tools-grid {
  gap: 14px;
}

.collection-tool-card {
  gap: 9px;
  padding: 14px;
}

.collection-tool-card .tool-proof-card--stack .tool-proof-surface {
  min-height: 150px;
}

.collection-tool-card .tool-proof-card--stack .tool-proof-body {
  display: none;
}

.collection-tool-card h3 {
  font-size: 1.22rem;
  line-height: 1.08;
}

.collection-tool-card > p:not(.card-meta) {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: rgba(216, 220, 223, 0.82);
  font-size: 0.9rem;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.collection-tool-card .badges {
  gap: 5px;
}

.collection-tool-card .badges .badge:nth-child(n+3) {
  display: none;
}

.collection-tool-card-actions .button {
  min-height: 36px;
}

.collection-workflow-notes {
  padding: 22px;
}

.collection-workflow-notes .editorial-content {
  max-width: 78ch;
}

@media (max-width: 920px) {
  .archive-header-directory {
    grid-template-columns: 1fr;
  }

  .archive-proof.card.archive-proof-card {
    align-self: stretch;
  }
}

@media (max-width: 720px) {
  .directory-shell {
    gap: 14px;
  }

  .directory-filters,
  .archive-header-directory {
    padding: 14px;
  }

  .directory-filters-head h2 {
    font-size: 1.18rem;
  }

  .archive-header-copy h1,
  .collection-shell-header h1 {
    font-size: 2.15rem;
  }

  .archive-proof-card h2 {
    font-size: 0.98rem;
  }

  .archive-proof-card ul {
    grid-template-columns: 1fr;
  }

  .directory-tool-card {
    padding: 11px;
  }

  .directory-tool-card-frame {
    gap: 8px;
  }

  .tool-proof-card--archive-preview .tool-proof-surface {
    min-height: 94px;
  }

  .tool-proof-card--archive-preview .tool-proof-label,
  .tool-proof-card--archive-preview .tool-proof-verified,
  .tool-proof-card--archive-preview .tool-proof-brand-copy {
    display: none;
  }

  .tool-proof-card--archive-preview .tool-proof-logo,
  .tool-proof-card--archive-preview .tool-proof-monogram {
    width: 28px;
    height: 28px;
  }

  .directory-tool-meta-row span {
    flex: 1 1 auto;
    max-width: 100%;
  }

  .directory-tool-card .article-card-footer .button {
    min-height: 34px;
    flex-basis: calc(50% - 4px);
  }

  .collection-shell {
    padding: 16px;
  }

  .collection-shell-header {
    gap: 14px;
  }

  .collection-shell-summary {
    font-size: 0.96rem;
  }

  .collection-shell-sidebar {
    gap: 8px;
  }

  .collection-shell-sidebar .article-proof-card {
    padding: 11px 12px;
  }

  .collection-picks,
  .collection-workflow-notes {
    padding: 14px;
  }

  .collection-picks-grid,
  .collection-tools-grid {
    gap: 10px;
  }

  .collection-tool-card {
    padding: 12px;
  }

  .collection-tool-card .tool-proof-card--stack .tool-proof-surface {
    min-height: 104px;
  }

  .collection-tool-card .tool-proof-card--stack .tool-proof-brand-copy,
  .collection-tool-card .tool-proof-card--stack .tool-proof-verified {
    display: none;
  }

  .collection-tool-card h3 {
    font-size: 1.08rem;
  }

  .collection-tool-card .badges .badge:nth-child(n+2) {
    display: none;
  }

  .section-discovery .home-section-shell {
    padding: 13px;
  }

  .section-discovery .home-path-grid {
    border-radius: 14px;
  }

  .section-discovery .feature-card {
    gap: 6px;
    padding: 12px;
  }

  .section-discovery .feature-card h3 {
    font-size: 1.05rem;
  }

  .section-discovery .feature-card p:not(.feature-card-meta) {
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .section-discovery .feature-card .tool-card-footer .button,
  .home-feature-grid .tool-card-footer .button,
  .home-collection-grid .tool-card-footer .button {
    min-height: 30px;
    padding-inline: 9px;
    border-radius: 9px;
    font-size: 0.66rem;
  }

  .home-feature-grid,
  .home-collection-grid {
    gap: 9px;
  }

  .featured-tool-card,
  .collection-card {
    gap: 7px;
    padding: 12px;
  }

  .featured-tool-card .article-card-topline .badge {
    display: none;
  }

  .feature-card h3,
  .tool-card h3,
  .collection-card h3,
  .article-card h2,
  .article-card h3 {
    font-size: 1.12rem;
  }

  .home-feature-grid .tool-card-summary,
  .home-collection-grid .collection-card > p:not(.card-meta) {
    font-size: 0.86rem;
    line-height: 1.38;
    -webkit-line-clamp: 2;
  }

  .home-feature-grid .article-card-note,
  .home-collection-grid .article-card-note {
    display: none;
  }
}

/* Single tool dossier + contribution density pass */
.tool-hero-dossier {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.74fr);
  gap: clamp(18px, 2.4vw, 34px);
  padding: clamp(18px, 2.5vw, 32px);
}

.tool-hero-dossier .tool-hero-copy {
  display: grid;
  gap: 12px;
}

.tool-hero-dossier .tool-hero-summary {
  max-width: 52rem;
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.5;
}

.tool-dossier-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(173, 178, 182, 0.12);
  border-radius: 18px;
  background: rgba(173, 178, 182, 0.08);
}

.tool-dossier-facts div {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 88px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(67, 39, 98, 0.14), transparent 72%),
    rgba(3, 6, 11, 0.52);
}

.tool-dossier-facts span,
.tool-dossier-matrix span {
  color: rgba(173, 178, 182, 0.72);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.15;
  text-transform: uppercase;
}

.tool-dossier-facts strong,
.tool-dossier-matrix strong {
  color: rgba(245, 246, 247, 0.94);
  font-family: var(--o4-font-ui);
  font-size: 0.88rem;
  line-height: 1.35;
}

.tool-dossier-signal {
  padding: 14px;
  border: 1px solid rgba(173, 178, 182, 0.1);
  border-radius: 16px;
  background: rgba(3, 6, 11, 0.36);
}

.tool-dossier-signal .meta-list {
  gap: 8px;
}

.tool-dossier-signal .meta-list li {
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  padding-bottom: 8px;
}

.tool-jump-nav-compact {
  padding: 8px;
  border: 1px solid rgba(173, 178, 182, 0.1);
  border-radius: 999px;
  background: rgba(3, 6, 11, 0.58);
}

.tool-jump-nav-compact a {
  min-height: 34px;
  padding-inline: 13px;
  border-radius: 999px;
}

.tool-dossier .tool-trust {
  padding: 20px;
}

.tool-dossier .tool-trust-header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.tool-dossier .tool-trust h2 {
  margin: 0;
  font-size: clamp(1.25rem, 1.5vw, 1.65rem);
}

.tool-dossier .tool-disclosure-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid rgba(173, 178, 182, 0.1);
  border-radius: 16px;
  background: rgba(173, 178, 182, 0.07);
}

.tool-dossier .tool-disclosure-item {
  padding: 14px;
  border: 0;
  border-radius: 0;
  background: rgba(3, 6, 11, 0.46);
}

.tool-dossier .tool-disclosure-item p {
  font-size: 0.84rem;
  line-height: 1.42;
}

.tool-dossier-panel {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2vw, 26px);
}

.tool-dossier-panel-head {
  display: grid;
  gap: 7px;
  max-width: 68rem;
}

.tool-dossier-panel-head h2,
.form-entry-title {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.05;
}

.tool-dossier-panel-head p:last-child {
  margin: 0;
  color: rgba(216, 220, 223, 0.76);
}

.tool-dossier-rows {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(173, 178, 182, 0.12);
}

.tool-dossier-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) minmax(0, 1fr);
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(173, 178, 182, 0.1);
}

.tool-dossier-row > strong {
  color: rgba(245, 246, 247, 0.92);
  font-family: var(--o4-font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.tool-dossier-row p {
  margin: 0;
  color: rgba(216, 220, 223, 0.84);
  line-height: 1.55;
}

.tool-dossier-row p + p {
  margin-top: 8px;
}

.tool-dossier-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(173, 178, 182, 0.11);
  border-radius: 18px;
  background: rgba(173, 178, 182, 0.08);
}

.tool-dossier-matrix div {
  display: grid;
  gap: 7px;
  min-height: 86px;
  padding: 14px;
  background: rgba(3, 6, 11, 0.48);
}

.tool-dossier-row-full {
  border-top: 1px solid rgba(173, 178, 182, 0.1);
  border-bottom: 0;
}

.tool-maintenance-row {
  grid-template-columns: minmax(0, 1fr);
}

.tool-maintenance-row > .card {
  max-width: 58rem;
}

.form-shell.page-shell {
  padding: clamp(18px, 2.3vw, 28px);
}

.form-shell .page-shell-grid {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.38fr);
  gap: clamp(18px, 2.5vw, 30px);
}

.form-shell .page-shell-header {
  gap: 12px;
}

.form-shell .page-shell-header h1 {
  max-width: 13ch;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.form-shell .page-shell-lede {
  max-width: 50rem;
  font-size: 1rem;
  line-height: 1.5;
}

.page-shell-route-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.page-shell-route-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(173, 178, 182, 0.15);
  border-radius: 999px;
  color: rgba(245, 246, 247, 0.9);
  background: rgba(67, 39, 98, 0.16);
  font-family: var(--o4-font-ui);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-shell-content-compact {
  max-width: 58rem;
  padding-top: 4px;
}

.page-shell-content-compact p {
  margin-bottom: 0.6rem;
  color: rgba(216, 220, 223, 0.76);
  font-size: 0.94rem;
  line-height: 1.52;
}

.form-entry-title {
  margin-top: 8px;
}

.form-shell .osint4all-form {
  gap: 13px;
  margin-top: 10px;
  padding: clamp(16px, 2vw, 22px);
}

.form-shell .osint4all-form-note {
  margin: 0;
  padding: 11px 13px;
  border: 1px solid rgba(173, 178, 182, 0.12);
  border-radius: 14px;
  color: rgba(216, 220, 223, 0.8);
  background: rgba(3, 6, 11, 0.28);
  font-size: 0.86rem;
  line-height: 1.45;
}

.form-shell .osint4all-next-steps {
  padding: 13px;
  border-radius: 16px;
}

.form-shell .osint4all-next-steps h2 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.form-shell .osint4all-next-steps ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.form-shell .osint4all-next-steps li {
  padding: 9px 10px;
  border: 1px solid rgba(173, 178, 182, 0.1);
  border-radius: 12px;
  color: rgba(216, 220, 223, 0.78);
  background: rgba(3, 6, 11, 0.3);
  font-size: 0.82rem;
  line-height: 1.35;
}

.form-shell .osint4all-form label {
  gap: 7px;
}

.form-shell .osint4all-form input,
.form-shell .osint4all-form select,
.form-shell .osint4all-form textarea {
  border-radius: 12px;
}

.form-shell .osint4all-form textarea {
  min-height: 118px;
}

.page-process-card-compact {
  padding: 16px;
}

.page-process-card-compact h2,
.page-process-card-plain h2 {
  font-size: 1.12rem;
}

.page-process-card-compact ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 17px;
}

.page-process-card-compact li,
.page-process-card-plain p {
  color: rgba(216, 220, 223, 0.78);
  font-size: 0.88rem;
  line-height: 1.45;
}

.page-process-card-plain {
  padding: 2px 0 0 14px;
  border-left: 2px solid rgba(67, 39, 98, 0.68);
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 920px) {
  .tool-hero-dossier,
  .form-shell .page-shell-grid {
    grid-template-columns: 1fr;
  }

  .tool-dossier .tool-disclosure-grid,
  .tool-dossier-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .tool-hero-dossier {
    padding: 15px;
  }

  .tool-dossier-facts,
  .tool-dossier .tool-disclosure-grid,
  .tool-dossier-matrix,
  .form-shell .osint4all-next-steps ul {
    grid-template-columns: 1fr;
  }

  .tool-dossier-facts div,
  .tool-dossier-matrix div {
    min-height: auto;
    padding: 12px;
  }

  .tool-dossier-signal .meta-list li,
  .tool-dossier-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .tool-jump-nav-compact {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    border-radius: 16px;
  }

  .tool-jump-nav-compact a {
    flex: 0 0 auto;
  }

  .tool-dossier .tool-trust-header {
    grid-template-columns: 1fr;
  }

  .tool-dossier-panel {
    padding: 15px;
  }

  .form-shell .page-shell-header h1 {
    font-size: clamp(2rem, 13vw, 3rem);
  }

  .form-shell .page-shell-lede,
  .page-shell-content-compact p {
    font-size: 0.9rem;
  }

  .form-shell .osint4all-form {
    padding: 14px;
  }

  .page-shell-route-strip span {
    min-height: 28px;
    font-size: 0.62rem;
  }
}

/* Layer: catalog navigation and taxonomy path pages */
.directory-pathways {
  display: grid;
  gap: 22px;
  margin: 22px 0;
}

.directory-pathways-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: 22px;
  align-items: end;
}

.directory-pathways-head h2 {
  margin: 4px 0 0;
  font-size: clamp(1.65rem, 2.2vw, 2.35rem);
}

.directory-pathways-head p {
  margin: 0;
  color: var(--text-muted);
}

.directory-pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.directory-pathway-card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 18px;
  border: 1px solid rgba(173, 178, 182, 0.13);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(67, 39, 98, 0.2), transparent 48%),
    rgba(255, 255, 255, 0.025);
}

.directory-pathway-card h3 {
  margin: 8px 0 10px;
  font-size: clamp(1.05rem, 1.3vw, 1.28rem);
  line-height: 1.15;
}

.directory-pathway-card p:not(.card-meta) {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.directory-pathway-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
}

.directory-pathway-footer a {
  font-family: "Oxanium", "Montserrat", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.taxonomy-tool-shell {
  display: grid;
  gap: 24px;
}

.taxonomy-tool-header .archive-proof-card {
  display: grid;
  gap: 18px;
}

.taxonomy-tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.taxonomy-tool-card .directory-tool-title {
  font-size: clamp(1.15rem, 1.35vw, 1.45rem);
}

.taxonomy-tool-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.taxonomy-tool-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(173, 178, 182, 0.16);
  border-radius: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
}

.taxonomy-tool-pagination .page-numbers.current {
  color: #fff;
  background: rgba(67, 39, 98, 0.72);
}

@media (max-width: 1100px) {
  .directory-pathways-head {
    grid-template-columns: 1fr;
  }

  .directory-pathway-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directory-pathways-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 5px;
  }

  .directory-pathways-head .panel-label {
    display: none;
  }

  .directory-pathways-head h2 {
    max-width: none;
    font-size: 1.16rem;
  }

  .directory-pathways-head > p {
    display: none;
  }
}

@media (max-width: 680px) {
  .directory-pathways {
    padding: 18px;
  }

  .directory-pathway-grid {
    grid-template-columns: 1fr;
  }

  .directory-pathway-card {
    min-height: 0;
  }

  .taxonomy-tool-actions .button {
    width: 100%;
  }
}

/*
 * OSINT4ALL icon and motion system
 * A lightweight UI layer inspired by the May 2026 motion-board reference.
 */
.o4-ui-icon {
  flex: 0 0 auto;
  width: 1.12em;
  height: 1.12em;
  color: currentColor;
}

.button-icon,
.header-nav-icon,
.quick-chip-icon,
.trust-inline-icon,
.jump-nav-icon,
.inline-link-icon,
.card-meta-icon,
.heading-icon,
.fact-icon,
.proof-list-icon,
.hero-strip-icon,
.badge-icon {
  width: 18px;
  height: 18px;
}

.badge-icon {
  width: 15px;
  height: 15px;
}

.button-icon,
.header-nav-icon,
.quick-chip-icon,
.trust-inline-icon,
.jump-nav-icon,
.hero-strip-icon {
  opacity: 0.9;
}

.header-nav-icon {
  display: none;
}

.nav-toggle {
  gap: 8px;
}

.nav-toggle-icon {
  width: 18px;
  height: 18px;
  opacity: 0.9;
}

@media (min-width: 1500px) {
  .header-nav-icon {
    display: inline-flex;
  }
}

@media (max-width: 1499px) {
  .site-header-inner {
    gap: 18px;
  }

  .header-nav-link {
    padding-inline: 9px;
  }

  .header-search {
    width: 260px;
  }
}

.header-nav-link,
.quick-chip,
.hero-trust-inline span,
.tool-jump-nav a,
.tool-dossier-facts span,
.tool-dossier-matrix span,
.archive-intel-panels h3,
.tool-related-grid h3,
.directory-pathway-footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.card-meta:has(.o4-ui-icon),
.panel-label:has(.o4-ui-icon),
.section-kicker:has(.o4-ui-icon) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.archive-proof-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.hero-trust-inline span::before {
  display: none;
}

.header-nav-link:hover .header-nav-icon,
.header-nav-link.is-active .header-nav-icon,
.button:hover .button-icon,
.quick-chip:hover .quick-chip-icon,
.tool-jump-nav a:hover .jump-nav-icon,
.directory-pathway-card:hover .o4-card-icon,
.feature-card:hover .o4-card-icon,
.tool-dossier-panel:hover .o4-card-icon,
.card:focus-within .o4-card-icon {
  transform: translateY(-1px) scale(1.08);
  color: #ffffff;
}

.o4-card-icon,
.hero-note-icon,
.method-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(173, 178, 182, 0.18);
  border-radius: 14px;
  color: rgba(245, 246, 247, 0.92);
  background:
    radial-gradient(circle at 65% 20%, rgba(134, 200, 157, 0.16), transparent 48%),
    linear-gradient(145deg, rgba(67, 39, 98, 0.46), rgba(3, 6, 11, 0.46));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.o4-card-icon .o4-ui-icon,
.hero-note-icon .o4-ui-icon,
.method-icon .o4-ui-icon {
  width: 24px;
  height: 24px;
}

.o4-card-icon-compact {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.o4-card-icon-compact .o4-ui-icon {
  width: 20px;
  height: 20px;
}

.method-icon {
  margin-bottom: 12px;
}

.feature-card .o4-card-icon,
.directory-pathway-card .o4-card-icon,
.tool-dossier-panel .o4-card-icon,
.directory-empty-state .o4-card-icon {
  margin-bottom: 2px;
}

.heading-icon,
.card-meta-icon,
.fact-icon,
.proof-list-icon,
.inline-link-icon {
  color: rgba(216, 220, 223, 0.86);
}

.inline-link-icon {
  width: 15px;
  height: 15px;
  margin-left: 2px;
}

.hero-capability-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-capability-strip span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(173, 178, 182, 0.16);
  border-radius: 999px;
  color: rgba(245, 246, 247, 0.9);
  background:
    linear-gradient(135deg, rgba(67, 39, 98, 0.28), rgba(255, 255, 255, 0.025));
  font-family: "Oxanium", "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-capability-icon {
  width: 19px;
  height: 19px;
  color: rgba(134, 200, 157, 0.94);
}

.hero-console {
  transform-style: preserve-3d;
}

.hero-console::after,
.tool-proof-surface::after,
.tool-hero-dossier::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0%, rgba(216, 220, 223, 0.1) 48%, transparent 52%);
  opacity: 0.24;
  transform: translateY(-100%);
  animation: o4-scan 5.8s ease-in-out infinite;
}

.tool-proof-surface::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(173, 178, 182, 0.08);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(173, 178, 182, 0.24) 0 28px, transparent 28px calc(100% - 28px), rgba(173, 178, 182, 0.24) calc(100% - 28px)) top / 100% 1px no-repeat,
    linear-gradient(90deg, rgba(173, 178, 182, 0.24) 0 28px, transparent 28px calc(100% - 28px), rgba(173, 178, 182, 0.24) calc(100% - 28px)) bottom / 100% 1px no-repeat,
    linear-gradient(180deg, rgba(173, 178, 182, 0.24) 0 28px, transparent 28px calc(100% - 28px), rgba(173, 178, 182, 0.24) calc(100% - 28px)) left / 1px 100% no-repeat,
    linear-gradient(180deg, rgba(173, 178, 182, 0.24) 0 28px, transparent 28px calc(100% - 28px), rgba(173, 178, 182, 0.24) calc(100% - 28px)) right / 1px 100% no-repeat;
  opacity: 0.78;
}

.tool-proof-surface::after {
  opacity: 0.16;
  animation-duration: 7.2s;
}

.tool-proof-image {
  transition: transform 520ms ease, filter 520ms ease;
}

.tool-proof-card:hover .tool-proof-image {
  transform: scale(1.025);
  filter: saturate(0.94) contrast(1.06) brightness(0.8);
}

.tool-hero-dossier::after {
  opacity: 0.11;
  animation-duration: 8.4s;
}

.hero-console-status span,
.hero-map-ping {
  animation: o4-pulse 2.6s ease-in-out infinite;
}

.hero-console-brand {
  animation: o4-float 8s ease-in-out infinite;
}

.hero-brand-lockup img,
.site-brand-symbol {
  filter: drop-shadow(0 0 12px rgba(173, 178, 182, 0.12));
}

.site-brand-symbol {
  transition: transform 220ms ease, filter 220ms ease;
}

.site-brand:hover .site-brand-symbol,
.site-brand:focus-visible .site-brand-symbol {
  transform: translateY(-1px) rotate(-2deg);
  filter: drop-shadow(0 0 16px rgba(216, 220, 223, 0.2));
}

.hero-signal-map {
  position: relative;
  min-height: 150px;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid rgba(173, 178, 182, 0.13);
  border-radius: 16px;
  background:
    radial-gradient(circle at 20% 58%, rgba(134, 200, 157, 0.12), transparent 9rem),
    radial-gradient(circle at 78% 32%, rgba(67, 39, 98, 0.42), transparent 11rem),
    linear-gradient(135deg, rgba(3, 6, 11, 0.42), rgba(255, 255, 255, 0.028));
}

.hero-signal-map::before,
.hero-signal-map::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-signal-map::before {
  inset: 23% 12% auto 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(173, 178, 182, 0.3), transparent);
  box-shadow:
    80px 46px 0 rgba(173, 178, 182, 0.18),
    196px 22px 0 rgba(134, 200, 157, 0.2),
    280px 66px 0 rgba(173, 178, 182, 0.16);
  transform-origin: left center;
  animation: o4-line-trace 4.8s ease-in-out infinite;
}

.hero-signal-map::after {
  inset: 16px;
  border: 1px solid rgba(173, 178, 182, 0.08);
  border-radius: 12px;
}

.hero-signal-map-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(173, 178, 182, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(173, 178, 182, 0.045) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  opacity: 0.58;
}

.hero-map-node {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(173, 178, 182, 0.2);
  border-radius: 999px;
  color: rgba(245, 246, 247, 0.92);
  background:
    radial-gradient(circle at 50% 50%, rgba(67, 39, 98, 0.44), rgba(3, 6, 11, 0.86));
  box-shadow:
    0 0 0 6px rgba(67, 39, 98, 0.08),
    0 14px 28px rgba(0, 0, 0, 0.22);
}

.hero-map-icon {
  width: 20px;
  height: 20px;
}

.hero-map-node-a {
  left: 13%;
  top: 54%;
}

.hero-map-node-b {
  left: 40%;
  top: 25%;
}

.hero-map-node-c {
  right: 22%;
  top: 48%;
}

.hero-map-node-d {
  right: 10%;
  top: 20%;
}

.hero-map-ping {
  position: absolute;
  z-index: 1;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(134, 200, 157, 0.34);
  border-radius: 999px;
  opacity: 0;
}

.hero-map-ping-a {
  left: calc(40% - 13px);
  top: calc(25% - 13px);
}

.hero-map-ping-b {
  right: calc(22% - 13px);
  top: calc(48% - 13px);
  animation-delay: 900ms;
}

.hero-console-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.hero-trust-console .hero-console-note .panel-label,
.hero-trust-console .hero-console-note p {
  margin-left: 0;
}

.hero-note-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.hero-note-icon .o4-ui-icon {
  width: 19px;
  height: 19px;
}

.hero-dossier-strip span {
  gap: 8px;
}

.directory-pathway-card {
  position: relative;
  overflow: hidden;
}

.directory-pathway-card::after,
.tool-dossier-facts div::after,
.tool-dossier-matrix div::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.055) 46%, transparent 58%);
  opacity: 0;
  transform: translateX(-40%);
  transition: opacity 180ms ease, transform 520ms ease;
}

.directory-pathway-card:hover::after,
.tool-dossier-facts div:hover::after,
.tool-dossier-matrix div:hover::after {
  opacity: 1;
  transform: translateX(60%);
}

.tool-dossier-facts div,
.tool-dossier-matrix div {
  position: relative;
  overflow: hidden;
}

.archive-proof-card li {
  padding-left: 0;
  border-left: 0;
}

.proof-list-icon {
  color: rgba(134, 200, 157, 0.92);
}

.tool-dossier-facts span,
.tool-dossier-matrix span {
  gap: 7px;
}

.tool-related-grid h3,
.archive-intel-panels h3 {
  gap: 9px;
}

.home-command-section {
  padding-top: 42px;
  padding-bottom: 26px;
}

.home-command-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.48fr);
  grid-template-areas:
    "copy visual"
    "modes modes";
  gap: clamp(20px, 3vw, 38px);
  overflow: hidden;
  padding: clamp(24px, 3vw, 42px);
  border: 1px solid rgba(173, 178, 182, 0.14);
  border-radius: 20px;
  background:
    radial-gradient(circle at 82% 16%, rgba(67, 39, 98, 0.34), transparent 18rem),
    radial-gradient(circle at 16% 74%, rgba(134, 200, 157, 0.08), transparent 16rem),
    linear-gradient(145deg, rgba(34, 35, 42, 0.88), rgba(5, 7, 12, 0.96));
}

.home-command-shell::before,
.home-command-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-command-shell::before {
  background:
    linear-gradient(rgba(173, 178, 182, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(173, 178, 182, 0.032) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(120deg, rgba(0, 0, 0, 0.78), transparent 74%);
}

.home-command-shell::after {
  background:
    linear-gradient(135deg, transparent 0 64%, rgba(173, 178, 182, 0.12) 64.3%, transparent 65%),
    linear-gradient(135deg, transparent 0 70%, rgba(67, 39, 98, 0.28) 70.3%, transparent 71%);
  opacity: 0.55;
}

.home-command-copy,
.home-command-visual,
.home-command-modes {
  position: relative;
  z-index: 1;
}

.home-command-copy {
  grid-area: copy;
  align-self: center;
  max-width: 760px;
}

.home-command-copy h2 {
  max-width: 12ch;
  margin-top: 8px;
  font-size: clamp(2.35rem, 4.6vw, 5.2rem);
  line-height: 0.96;
}

.home-command-copy p:not(.section-kicker) {
  max-width: 42rem;
  margin: 20px 0 0;
  color: rgba(216, 220, 223, 0.78);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
}

.home-command-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.home-command-visual {
  grid-area: visual;
  align-self: center;
}

.command-radar {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  margin-left: auto;
  border: 1px solid rgba(173, 178, 182, 0.16);
  border-radius: 999px;
  background:
    radial-gradient(circle at center, rgba(134, 200, 157, 0.12), transparent 18%),
    radial-gradient(circle at center, rgba(67, 39, 98, 0.26), transparent 56%),
    rgba(3, 6, 11, 0.38);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 24px 60px rgba(0, 0, 0, 0.22);
}

.command-radar-ring,
.command-radar-cross,
.command-radar-sweep,
.command-radar-node {
  position: absolute;
  pointer-events: none;
}

.command-radar-ring {
  inset: 20%;
  border: 1px solid rgba(173, 178, 182, 0.14);
  border-radius: inherit;
}

.command-radar-ring-b {
  inset: 36%;
  border-color: rgba(134, 200, 157, 0.18);
}

.command-radar-cross {
  background: linear-gradient(90deg, transparent, rgba(173, 178, 182, 0.24), transparent);
}

.command-radar-cross-x {
  left: 10%;
  right: 10%;
  top: 50%;
  height: 1px;
}

.command-radar-cross-y {
  top: 10%;
  bottom: 10%;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(173, 178, 182, 0.24), transparent);
}

.command-radar-sweep {
  inset: 8%;
  border-radius: inherit;
  background: conic-gradient(from 0deg, rgba(134, 200, 157, 0.22), transparent 18%, transparent 100%);
  animation: o4-radar-sweep 7.5s linear infinite;
}

.command-radar-node {
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(173, 178, 182, 0.22);
  border-radius: 999px;
  color: rgba(245, 246, 247, 0.94);
  background:
    radial-gradient(circle at 50% 25%, rgba(245, 246, 247, 0.12), transparent 42%),
    rgba(3, 6, 11, 0.72);
}

.command-radar-node .o4-ui-icon {
  width: 21px;
  height: 21px;
}

.command-radar-node-a {
  left: 12%;
  top: 43%;
}

.command-radar-node-b {
  left: 40%;
  top: 12%;
}

.command-radar-node-c {
  right: 15%;
  top: 40%;
}

.command-radar-node-d {
  left: 47%;
  bottom: 11%;
}

.home-command-modes {
  grid-area: modes;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(173, 178, 182, 0.1);
  border-radius: 16px;
  background: rgba(173, 178, 182, 0.08);
}

.home-command-mode {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 180px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(67, 39, 98, 0.16), transparent 58%),
    rgba(3, 6, 11, 0.48);
}

.home-command-mode h3 {
  margin: 0;
  font-size: 1.2rem;
}

.home-command-mode p {
  margin: 0;
  color: rgba(216, 220, 223, 0.72);
  font-size: 0.88rem;
  line-height: 1.46;
}

.archive-header-editorial,
.archive-header-collections,
.archive-header-comparisons,
.archive-header-use-cases,
.collection-shell {
  background:
    radial-gradient(circle at 90% 10%, rgba(67, 39, 98, 0.28), transparent 16rem),
    linear-gradient(145deg, rgba(34, 35, 42, 0.94), rgba(8, 10, 16, 0.98));
}

.archive-header-editorial::before,
.archive-header-collections::before,
.archive-header-comparisons::before,
.archive-header-use-cases::before,
.collection-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(173, 178, 182, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(173, 178, 182, 0.028) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(100deg, transparent, rgba(0, 0, 0, 0.78) 45%, transparent 92%);
}

.archive-header-editorial > *,
.archive-header-collections > *,
.archive-header-comparisons > *,
.archive-header-use-cases > *,
.collection-shell > * {
  position: relative;
  z-index: 1;
}

.collection-picks h2,
.collection-tools-head .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.collection-route-map {
  position: relative;
  min-height: 124px;
  overflow: hidden;
  border: 1px solid rgba(173, 178, 182, 0.11);
  border-radius: 16px;
  background:
    linear-gradient(rgba(173, 178, 182, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(173, 178, 182, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 72% 35%, rgba(67, 39, 98, 0.28), transparent 9rem),
    rgba(3, 6, 11, 0.34);
  background-size: 22px 22px, 22px 22px, auto, auto;
}

.collection-route-map::before {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(173, 178, 182, 0.36), transparent);
}

.collection-route-node {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(173, 178, 182, 0.18);
  border-radius: 999px;
  color: rgba(245, 246, 247, 0.92);
  background: rgba(3, 6, 11, 0.74);
  box-shadow: 0 0 0 6px rgba(67, 39, 98, 0.08);
}

.collection-route-node .o4-ui-icon {
  width: 18px;
  height: 18px;
}

.collection-route-node-a {
  left: 9%;
  top: 36%;
}

.collection-route-node-b {
  left: 36%;
  top: 18%;
}

.collection-route-node-c {
  right: 34%;
  top: 56%;
}

.collection-route-node-d {
  right: 9%;
  top: 31%;
}

.article-card-review,
.article-card-use-case,
.article-card-comparison {
  background:
    radial-gradient(circle at 100% 0%, rgba(67, 39, 98, 0.2), transparent 12rem),
    linear-gradient(145deg, rgba(34, 35, 42, 0.92), rgba(13, 15, 21, 0.98));
}

.article-card-review::after,
.article-card-use-case::after,
.article-card-comparison::after,
.collection-pick-card::after {
  content: "";
  position: absolute;
  inset: auto 14px 14px auto;
  width: 42px;
  height: 42px;
  pointer-events: none;
  border-right: 1px solid rgba(173, 178, 182, 0.22);
  border-bottom: 1px solid rgba(173, 178, 182, 0.22);
  opacity: 0.68;
}

.footer-newsletter {
  position: relative;
  overflow: hidden;
}

.footer-newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 24%, rgba(134, 200, 157, 0.08), transparent 12rem),
    linear-gradient(rgba(173, 178, 182, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(173, 178, 182, 0.026) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.78), transparent 82%);
}

.footer-newsletter > * {
  position: relative;
  z-index: 1;
}

.footer-signal-lockup {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-signal-lockup span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(173, 178, 182, 0.16);
  border-radius: 12px;
  color: rgba(245, 246, 247, 0.9);
  background: rgba(3, 6, 11, 0.42);
}

.footer-signal-lockup .o4-ui-icon {
  width: 18px;
  height: 18px;
}

.footer-grid h3 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.directory-tool-card .article-card-topline {
  align-items: center;
  gap: 10px;
}

.directory-shortlist-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  margin-left: auto;
  padding: 0 10px;
  border: 1px solid rgba(173, 178, 182, 0.14);
  border-radius: 999px;
  color: rgba(245, 246, 247, 0.78);
  background: rgba(3, 6, 11, 0.32);
  cursor: pointer;
  font-family: "Oxanium", "Montserrat", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.directory-shortlist-button:hover,
.directory-shortlist-button:focus-visible,
.directory-shortlist-button.is-pinned {
  border-color: rgba(134, 200, 157, 0.42);
  color: rgba(245, 246, 247, 0.96);
  background:
    linear-gradient(135deg, rgba(67, 39, 98, 0.5), rgba(134, 200, 157, 0.1)),
    rgba(3, 6, 11, 0.55);
  transform: translateY(-1px);
}

.investigation-dock {
  position: fixed;
  right: clamp(18px, 2.6vw, 40px);
  bottom: 18px;
  z-index: 90;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 10px;
  width: min(390px, calc(100vw - 32px));
  pointer-events: none;
}

.investigation-dock-toggle,
.investigation-dock-panel {
  pointer-events: auto;
}

.investigation-dock-toggle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: min(250px, 100%);
  min-height: 54px;
  padding: 8px 10px;
  border: 1px solid rgba(173, 178, 182, 0.16);
  border-radius: 18px;
  color: rgba(245, 246, 247, 0.95);
  background:
    radial-gradient(circle at 18% 22%, rgba(134, 200, 157, 0.12), transparent 8rem),
    linear-gradient(135deg, rgba(34, 35, 42, 0.96), rgba(7, 9, 15, 0.94));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  cursor: pointer;
  text-align: left;
}

.investigation-dock-toggle strong {
  display: block;
  margin-top: 2px;
  font-family: "Oxanium", "Montserrat", sans-serif;
  font-size: 0.96rem;
  line-height: 1;
}

.investigation-dock-icon,
.investigation-dock-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(173, 178, 182, 0.16);
  background: rgba(67, 39, 98, 0.34);
}

.investigation-dock-icon {
  width: 36px;
  height: 36px;
  border-radius: 13px;
}

.investigation-dock-count {
  min-width: 30px;
  height: 30px;
  padding-inline: 8px;
  border-radius: 999px;
  color: var(--o4-white);
  font-family: "Oxanium", "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
}

.investigation-dock-panel {
  display: grid;
  gap: 14px;
  width: 100%;
  max-height: min(66vh, 560px);
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(173, 178, 182, 0.16);
  border-radius: 20px;
  background:
    linear-gradient(rgba(173, 178, 182, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(173, 178, 182, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 88% 14%, rgba(67, 39, 98, 0.34), transparent 12rem),
    rgba(8, 10, 16, 0.96);
  background-size: 28px 28px, 28px 28px, auto, auto;
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.44);
}

.investigation-dock-panel[hidden] {
  display: none;
}

.investigation-dock-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.investigation-dock-head h2 {
  margin: 3px 0 0;
  font-size: 1.32rem;
  line-height: 1.05;
}

.investigation-dock-close,
.investigation-dock-remove {
  border: 1px solid rgba(173, 178, 182, 0.14);
  color: rgba(245, 246, 247, 0.82);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.investigation-dock-close {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  font-size: 1.1rem;
}

.investigation-dock-copy,
.investigation-dock-empty {
  margin: 0;
  color: rgba(216, 220, 223, 0.74);
  font-size: 0.88rem;
  line-height: 1.45;
}

.investigation-dock-list {
  display: grid;
  gap: 8px;
}

.investigation-dock-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px;
  border: 1px solid rgba(173, 178, 182, 0.12);
  border-radius: 14px;
  background: rgba(3, 6, 11, 0.42);
}

.investigation-dock-item a {
  color: var(--o4-white);
  font-family: "Oxanium", "Montserrat", sans-serif;
  font-weight: 800;
}

.investigation-dock-item p {
  margin: 4px 0 0;
  color: rgba(216, 220, 223, 0.68);
  font-size: 0.74rem;
  line-height: 1.35;
}

.investigation-dock-remove {
  min-height: 30px;
  padding: 0 9px;
  border-radius: 999px;
  font-family: "Oxanium", "Montserrat", sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.investigation-dock-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.investigation-dock-actions .button {
  min-height: 38px;
}

.investigation-dock-actions .button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.shortlist-brief-open {
  overflow: hidden;
}

.shortlist-brief {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 42px);
}

.shortlist-brief[hidden] {
  display: none;
}

.shortlist-brief-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 76% 18%, rgba(67, 39, 98, 0.24), transparent 24rem),
    rgba(0, 0, 0, 0.68);
  cursor: pointer;
}

.shortlist-brief-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  width: min(1180px, 100%);
  max-height: min(82vh, 860px);
  overflow: auto;
  padding: clamp(20px, 2.4vw, 32px);
  border: 1px solid rgba(173, 178, 182, 0.16);
  border-radius: 22px;
  outline: none;
  background:
    linear-gradient(rgba(173, 178, 182, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(173, 178, 182, 0.032) 1px, transparent 1px),
    radial-gradient(circle at 90% 10%, rgba(67, 39, 98, 0.34), transparent 18rem),
    radial-gradient(circle at 6% 92%, rgba(134, 200, 157, 0.08), transparent 17rem),
    rgba(8, 10, 16, 0.98);
  background-size: 34px 34px, 34px 34px, auto, auto, auto;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.58);
}

.shortlist-brief-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(135deg, transparent 0 67%, rgba(173, 178, 182, 0.14) 67.2%, transparent 68%),
    linear-gradient(135deg, transparent 0 74%, rgba(67, 39, 98, 0.24) 74.2%, transparent 75%);
  opacity: 0.62;
}

.shortlist-brief-panel > * {
  position: relative;
  z-index: 1;
}

.shortlist-brief-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.shortlist-brief-head h2 {
  margin: 4px 0 0;
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 0.95;
}

.shortlist-brief-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shortlist-brief-status span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(173, 178, 182, 0.14);
  border-radius: 999px;
  color: rgba(245, 246, 247, 0.86);
  background: rgba(255, 255, 255, 0.035);
  font-family: "Oxanium", "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.shortlist-brief-status .o4-ui-icon {
  width: 17px;
  height: 17px;
  color: rgba(134, 200, 157, 0.9);
}

.shortlist-brief-copy,
.shortlist-brief-empty,
.shortlist-brief-copy-status {
  margin: 0;
  color: rgba(216, 220, 223, 0.74);
  font-size: 0.95rem;
  line-height: 1.5;
}

.shortlist-brief-copy {
  max-width: 68ch;
}

.shortlist-brief-empty {
  padding: 18px;
  border: 1px dashed rgba(173, 178, 182, 0.2);
  border-radius: 16px;
  background: rgba(3, 6, 11, 0.32);
}

.shortlist-brief-matrix {
  display: grid;
  gap: 8px;
}

.shortlist-brief-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.05fr) repeat(4, minmax(126px, 0.62fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(173, 178, 182, 0.12);
  border-radius: 16px;
  background: rgba(173, 178, 182, 0.09);
}

.shortlist-brief-tool,
.shortlist-brief-cell {
  min-width: 0;
  background:
    linear-gradient(135deg, rgba(67, 39, 98, 0.16), transparent 64%),
    rgba(3, 6, 11, 0.54);
}

.shortlist-brief-tool {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
}

.shortlist-brief-tool > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(173, 178, 182, 0.16);
  border-radius: 12px;
  color: rgba(245, 246, 247, 0.88);
  background: rgba(67, 39, 98, 0.36);
  font-family: "Oxanium", "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
}

.shortlist-brief-tool a {
  color: var(--o4-white);
  font-family: "Oxanium", "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.shortlist-brief-tool p {
  display: -webkit-box;
  margin: 6px 0 0;
  overflow: hidden;
  color: rgba(216, 220, 223, 0.7);
  font-size: 0.78rem;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.shortlist-brief-cell {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 14px;
}

.shortlist-brief-cell span {
  color: rgba(216, 220, 223, 0.54);
  font-family: "Oxanium", "Montserrat", sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shortlist-brief-cell strong {
  color: rgba(245, 246, 247, 0.88);
  font-size: 0.82rem;
  line-height: 1.38;
}

.shortlist-brief-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.shortlist-brief-copy-status {
  min-height: 1.5em;
  margin-left: auto;
  font-size: 0.82rem;
}

.o4-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 520ms ease,
    transform 520ms ease,
    border-color 180ms ease,
    background 180ms ease;
  transition-delay: var(--o4-reveal-delay, 0ms);
}

.o4-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card.o4-reveal.is-visible:hover,
.featured-tool-card.o4-reveal.is-visible:hover,
.article-card.o4-reveal.is-visible:hover,
.collection-card.o4-reveal.is-visible:hover,
.collection-tool-card.o4-reveal.is-visible:hover,
.directory-pathway-card.o4-reveal.is-visible:hover,
.directory-tool-card.o4-reveal.is-visible:hover {
  transform: translateY(-2px);
}

@keyframes o4-scan {
  0%,
  58% {
    transform: translateY(-110%);
  }

  76%,
  100% {
    transform: translateY(110%);
  }
}

@keyframes o4-pulse {
  0% {
    opacity: 0.2;
    transform: scale(0.82);
  }

  45% {
    opacity: 0.86;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}

@keyframes o4-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-7deg);
  }

  50% {
    transform: translate3d(-6px, -8px, 0) rotate(-4deg);
  }
}

@keyframes o4-line-trace {
  0%,
  100% {
    opacity: 0.26;
    transform: scaleX(0.5);
  }

  48% {
    opacity: 0.72;
    transform: scaleX(1);
  }
}

@keyframes o4-radar-sweep {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 920px) {
  .header-nav-link {
    justify-content: flex-start;
  }

  .hero-capability-strip {
    gap: 8px;
  }

  .hero-signal-map {
    min-height: 128px;
  }

  .home-command-shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "modes";
  }

  .command-radar {
    margin-inline: auto;
  }

  .home-command-modes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-map-node {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 680px) {
  .hero-capability-strip span {
    min-height: 34px;
    padding-inline: 10px;
    font-size: 0.68rem;
  }

  .hero-console-note {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .o4-card-icon,
  .hero-note-icon,
  .method-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .o4-card-icon .o4-ui-icon,
  .hero-note-icon .o4-ui-icon,
  .method-icon .o4-ui-icon {
    width: 19px;
    height: 19px;
  }

  .hero-signal-map {
    min-height: 112px;
  }

  .home-command-section {
    padding-top: 24px;
  }

  .home-command-shell {
    padding: 18px;
  }

  .home-command-copy h2 {
    max-width: none;
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .home-command-actions {
    display: grid;
  }

  .home-command-actions .button {
    width: 100%;
  }

  .command-radar {
    width: min(100%, 260px);
  }

  .home-command-modes {
    grid-template-columns: 1fr;
  }

  .home-command-mode {
    min-height: 0;
    padding: 14px;
  }

  .collection-route-map {
    min-height: 96px;
  }

  .investigation-dock {
    right: 12px;
    bottom: 10px;
    left: 12px;
    width: auto;
    align-items: stretch;
  }

  .investigation-dock-toggle {
    width: 100%;
    min-height: 58px;
    border-radius: 16px;
  }

  .investigation-dock-panel {
    max-height: 58vh;
    padding: 14px;
    border-radius: 18px;
  }

  .investigation-dock-actions {
    grid-template-columns: 1fr;
  }

  .investigation-dock-actions .button {
    width: 100%;
  }

  .shortlist-brief {
    align-items: end;
    padding: 10px;
  }

  .shortlist-brief-panel {
    max-height: 86vh;
    padding: 16px;
    border-radius: 18px;
  }

  .shortlist-brief-head h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .shortlist-brief-status span {
    min-height: 30px;
    padding-inline: 9px;
    font-size: 0.62rem;
  }

  .shortlist-brief-row {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }

  .shortlist-brief-tool,
  .shortlist-brief-cell {
    padding: 12px;
  }

  .shortlist-brief-cell {
    grid-template-columns: 7.5rem minmax(0, 1fr);
    align-items: start;
  }

  .shortlist-brief-actions {
    display: grid;
  }

  .shortlist-brief-actions .button {
    width: 100%;
  }

  .shortlist-brief-copy-status {
    margin-left: 0;
  }

  .hero-map-node-d {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .o4-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-console::after,
  .tool-proof-surface::after,
  .tool-hero-dossier::after,
  .hero-console-status span,
  .hero-map-ping,
  .hero-console-brand,
  .hero-signal-map::before,
  .command-radar-sweep {
    animation: none !important;
  }
}

/*
 * Clarity pass: make the tool archive easier for first-time users.
 * Visual proof comes first; explanatory text becomes secondary.
 */
.archive-header-directory {
  padding: clamp(18px, 2vw, 26px);
}

.hero-copy-column .hero-trust-inline,
.quick-searches .quick-chip:nth-child(n+4) {
  display: none;
}

.hero-copy-column h1 {
  max-width: 11ch;
}

.hero-intro {
  max-width: 40rem;
}

.archive-header-directory .archive-header-copy h1 {
  max-width: 12ch;
}

.archive-header-directory .section-intro {
  max-width: 48ch;
  font-size: clamp(0.98rem, 1.08vw, 1.08rem);
}

.archive-proof.card.archive-proof-card {
  padding: 14px;
}

.archive-proof-card h2 {
  font-size: 1rem;
}

.archive-proof-card li {
  font-size: 0.78rem;
}

.hero-home .hero-actions {
  max-width: 35rem;
}

.hero-home .hero-actions .button {
  flex: 1 1 13rem;
}

.home-feature-grid .featured-tool-card {
  display: grid;
  gap: 10px;
  padding: 10px;
  border-radius: 18px;
}

.home-feature-grid .featured-tool-card.is-emphasis {
  grid-column: auto;
  grid-row: auto;
  min-height: 0;
  padding: 10px;
  transform: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 100%),
    linear-gradient(180deg, rgba(20, 21, 28, 0.98), rgba(10, 12, 18, 0.98));
}

.home-feature-grid .featured-tool-card.is-emphasis h3 {
  font-size: clamp(1.14rem, 1.4vw, 1.46rem);
}

.home-feature-grid .featured-tool-card.is-emphasis .tool-card-summary {
  font-size: 0.86rem;
}

.tool-proof-card--home-feature {
  margin: 0;
}

.tool-proof-card--home-feature .tool-proof-surface {
  min-height: 172px;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
}

.tool-proof-card--home-feature .tool-proof-overlay {
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(3, 6, 11, 0.48), transparent 36%, rgba(3, 6, 11, 0.82));
}

.tool-proof-card--home-feature .tool-proof-body {
  display: none;
}

.tool-proof-card--home-feature .tool-proof-fallback,
.tool-proof-card--archive-preview .tool-proof-fallback {
  display: grid;
  align-items: end;
}

.tool-proof-card--home-feature .tool-proof-fallback-copy,
.tool-proof-card--archive-preview .tool-proof-fallback-copy {
  display: grid;
  max-width: 90%;
  padding: 12px;
}

.tool-proof-card--home-feature .tool-proof-fallback-title,
.tool-proof-card--archive-preview .tool-proof-fallback-title {
  font-size: 0.94rem;
}

.tool-proof-card--home-feature .tool-proof-fallback-text,
.tool-proof-card--archive-preview .tool-proof-fallback-text {
  display: none;
}

.tool-proof-card--home-feature .tool-proof-logo,
.tool-proof-card--home-feature .tool-proof-monogram {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.tool-proof-card--home-feature .tool-proof-label {
  font-size: 0.54rem;
}

.tool-proof-card--home-feature .tool-proof-vendor {
  max-width: 15rem;
  overflow: hidden;
  font-size: 0.84rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-feature-grid .featured-tool-card .article-card-topline,
.home-feature-grid .featured-tool-card h3,
.home-feature-grid .featured-tool-card .tool-card-summary,
.home-feature-grid .featured-tool-card .article-card-note,
.home-feature-grid .featured-tool-card .badges,
.home-feature-grid .featured-tool-card .tool-card-footer {
  padding-inline: 4px;
}

.home-feature-grid .featured-tool-card h3 {
  display: -webkit-box;
  overflow: hidden;
  margin-block: 0;
  font-size: clamp(1.14rem, 1.4vw, 1.46rem);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-feature-grid .featured-tool-card .tool-card-summary {
  display: -webkit-box;
  overflow: hidden;
  min-height: 2.7em;
  font-size: 0.86rem;
  line-height: 1.36;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-feature-grid .featured-tool-card .article-card-note {
  display: none;
}

.home-feature-grid .featured-tool-card .badges .badge:nth-child(n+2),
.section-discovery .feature-card .badges .badge:nth-child(n+2),
.section-discovery .feature-card .tool-card-footer .button:nth-child(n+2),
.contribute-card-home .hero-actions .button:nth-child(n+3) {
  display: none;
}

.directory-pathways {
  gap: 14px;
  padding: clamp(16px, 2vw, 22px);
}

.directory-pathways-head {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: 16px;
}

.directory-pathways-head h2 {
  font-size: clamp(1.55rem, 2vw, 2rem);
}

.directory-pathways-head > p {
  max-width: 28rem;
  font-size: 0.92rem;
}

.directory-pathway-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.directory-pathway-card {
  min-height: 142px;
  padding: 13px;
  border-radius: 14px;
}

.directory-pathway-card .o4-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
}

.directory-pathway-card .o4-card-icon .o4-ui-icon {
  width: 17px;
  height: 17px;
}

.directory-pathway-card h3 {
  margin: 7px 0 6px;
  font-size: 0.96rem;
}

.directory-pathway-card p:not(.card-meta) {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.74rem;
  line-height: 1.34;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.directory-pathway-footer {
  gap: 6px;
  padding-top: 10px;
}

.directory-pathway-footer a {
  font-size: 0.7rem;
}

.directory-tool-card {
  padding: 10px;
  border-radius: 18px;
}

.directory-tool-card-frame {
  gap: 10px;
}

.directory-tool-card .article-card-topline {
  order: 2;
}

.directory-tool-title {
  order: 3;
  display: -webkit-box;
  overflow: hidden;
  margin-top: 0;
  font-size: clamp(1.1rem, 1.25vw, 1.34rem);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.directory-tool-card .tool-card-summary {
  order: 4;
  min-height: 2.75em;
  color: rgba(216, 220, 223, 0.75);
  font-size: 0.84rem;
  line-height: 1.36;
  -webkit-line-clamp: 2;
}

.directory-tool-meta-row {
  order: 5;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.directory-tool-meta-row span {
  min-width: 0;
  min-height: 31px;
  padding: 0 8px;
  border-radius: 10px;
  font-size: 0.66rem;
}

.directory-tool-meta-row span:first-child {
  grid-column: 1 / -1;
}

.tool-proof-card--archive-preview {
  order: 1;
  margin: 0;
}

.tool-proof-card--archive-preview .tool-proof-surface {
  min-height: 166px;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
}

.tool-proof-card--archive-preview .tool-proof-overlay {
  align-content: start;
  padding: 11px;
  background:
    linear-gradient(180deg, rgba(3, 6, 11, 0.52), transparent 34%, rgba(3, 6, 11, 0.8));
}

.tool-proof-card--archive-preview .tool-proof-head {
  gap: 8px;
}

.tool-proof-card--archive-preview .tool-proof-logo,
.tool-proof-card--archive-preview .tool-proof-monogram {
  width: 36px;
  height: 36px;
  border-radius: 11px;
}

.tool-proof-card--archive-preview .tool-proof-label {
  font-size: 0.54rem;
}

.tool-proof-card--archive-preview .tool-proof-vendor {
  max-width: 14rem;
  overflow: hidden;
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tool-proof-card--archive-preview .tool-proof-body {
  display: none;
}

.directory-tool-card .badges {
  order: 6;
}

.directory-tool-card .badges .badge:nth-child(n+2) {
  display: none;
}

.directory-tool-card-actions {
  order: 7;
}

@media (max-width: 1280px) {
  .directory-pathway-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .directory-pathway-card {
    min-height: 132px;
  }
}

@media (max-width: 720px) {
  .archive-header-directory .archive-header-copy h1 {
    max-width: none;
  }

  .directory-pathways-head {
    grid-template-columns: 1fr;
  }

  .directory-pathway-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directory-pathway-card {
    min-height: 124px;
    padding: 12px;
  }

  .directory-pathway-card p:not(.card-meta) {
    display: none;
  }

  .tool-proof-card--archive-preview .tool-proof-surface {
    min-height: 142px;
  }

  .tool-proof-card--home-feature .tool-proof-surface {
    min-height: 148px;
  }

  .tool-proof-card--archive-preview .tool-proof-brand-copy {
    display: grid;
  }

  .directory-tool-meta-row {
    grid-template-columns: 1fr;
  }
}

/*
 * Premium restraint pass.
 * Keep the functional preview system, remove the cyber-dashboard treatment.
 */
:root {
  --o4-premium-bg: #090a0d;
  --o4-premium-bg-2: #0d0f13;
  --o4-premium-surface: #13151a;
  --o4-premium-surface-2: #181b21;
  --o4-premium-line: rgba(232, 235, 238, 0.11);
  --o4-premium-line-strong: rgba(232, 235, 238, 0.18);
  --o4-premium-text: #eef0f2;
  --o4-premium-muted: #a7adb5;
  --o4-premium-accent: #c8b88d;
  --o4-premium-accent-strong: #e1d1a5;
}

html {
  background-color: var(--o4-premium-bg);
}

body {
  color: var(--o4-premium-text);
  background:
    linear-gradient(180deg, #0b0c10 0%, #090a0d 46%, #07080b 100%);
  background-color: var(--o4-premium-bg);
}

body::before {
  display: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-head h2,
.section-title h1,
.section-title h2,
.card h1,
.card h2,
.card h3,
.section-kicker,
.panel-label,
.card-meta,
.feature-card-meta,
.button,
.header-nav-link,
.section-link,
.hero-console-status,
.hero-console-links a,
.tool-proof-label,
.tool-proof-vendor,
.tool-proof-verified {
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

.section-kicker,
.panel-label,
.card-meta,
.feature-card-meta {
  color: var(--o4-premium-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-header {
  border-bottom: 1px solid var(--o4-premium-line);
  background: rgba(9, 10, 13, 0.92);
  box-shadow: none;
}

.site-header-inner,
.site-header.is-condensed .site-header-inner {
  min-height: 76px;
}

.site-brand-logo {
  height: 30px;
}

.header-nav-link {
  min-height: 38px;
  padding-inline: 10px;
  border-radius: 7px;
  color: rgba(238, 240, 242, 0.72);
  font-size: 0.82rem;
  font-weight: 650;
}

.header-nav-link:hover,
.header-nav-link:focus-visible,
.header-nav-link.is-active {
  color: var(--o4-premium-text);
  border: 0;
  background: rgba(255, 255, 255, 0.055);
}

.header-search input {
  min-height: 40px;
  border-radius: 8px;
  background: #0f1116;
}

.button {
  min-height: 42px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #111216;
  border-color: var(--o4-premium-accent);
  background: linear-gradient(180deg, var(--o4-premium-accent-strong), var(--o4-premium-accent));
  box-shadow: none;
}

.button-primary:hover {
  color: #090a0d;
  background: #ead9aa;
  box-shadow: none;
}

.button-secondary,
.button-ghost,
.header-submit-cta {
  color: var(--o4-premium-text);
  border-color: var(--o4-premium-line-strong);
  background: rgba(255, 255, 255, 0.035);
}

.button-secondary:hover,
.button-ghost:hover {
  border-color: rgba(232, 235, 238, 0.32);
  background: rgba(255, 255, 255, 0.065);
}

.card,
.card-light,
.feature-card-primary,
.featured-tool-card.is-emphasis,
.collection-card.is-emphasis,
.collection-spotlight,
.contribute-card-home,
.directory-filters,
.archive-proof-card,
.directory-tool-card,
.featured-tool-card,
.collection-card,
.article-card {
  border-color: var(--o4-premium-line);
  border-radius: 8px;
  background: var(--o4-premium-surface);
  box-shadow: none;
}

.feature-card::before,
.tool-card::before,
.collection-card::before,
.article-card::before,
.collection-tool-card::before,
.collection-pick-card::before,
.hero-home::before,
.hero-home::after,
.hero-grid-overlay,
.hero-console::before,
.hero-console::after,
.hero-signal-map,
.hero-console-brand,
.tool-proof-surface::before,
.tool-proof-surface::after,
.tool-hero-dossier::after,
.home-command-shell::before,
.home-command-shell::after,
.command-radar,
.command-radar-sweep {
  display: none !important;
  animation: none !important;
}

.o4-card-icon,
.hero-note-icon,
.method-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: rgba(238, 240, 242, 0.86);
  border-color: var(--o4-premium-line);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}

.o4-card-icon .o4-ui-icon,
.hero-note-icon .o4-ui-icon,
.method-icon .o4-ui-icon {
  width: 17px;
  height: 17px;
}

.header-nav-link:hover .header-nav-icon,
.header-nav-link.is-active .header-nav-icon,
.button:hover .button-icon,
.quick-chip:hover .quick-chip-icon,
.tool-jump-nav a:hover .jump-nav-icon,
.directory-pathway-card:hover .o4-card-icon,
.feature-card:hover .o4-card-icon,
.tool-dossier-panel:hover .o4-card-icon,
.card:focus-within .o4-card-icon {
  color: currentColor;
  transform: none;
}

.badge,
.badge-soft {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: rgba(238, 240, 242, 0.78);
  border-color: var(--o4-premium-line);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.72rem;
}

.hero-home {
  padding: clamp(58px, 8vw, 102px) 0 clamp(46px, 6vw, 72px);
  background: linear-gradient(180deg, #0b0c10, #090a0d);
}

.hero-grid {
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.82fr);
  gap: clamp(34px, 5vw, 72px);
}

.hero-copy-column {
  max-width: 720px;
}

.hero-copy-column h1 {
  max-width: 12.5ch;
  color: #f6f6f4;
  font-size: clamp(3.05rem, 5.4vw, 5.7rem);
  font-weight: 760;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-brand-lockup {
  margin-bottom: 22px;
}

.hero-intro {
  max-width: 42rem;
  color: rgba(238, 240, 242, 0.72);
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  line-height: 1.62;
}

.quick-search {
  margin-top: 26px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.quick-search input,
.directory-filters input,
.directory-filters select,
.directory-filters textarea {
  border-radius: 8px;
  border-color: var(--o4-premium-line);
  background: #101218;
}

.quick-searches {
  gap: 8px;
}

.quick-chip {
  min-height: 30px;
  border-radius: 999px;
  color: rgba(238, 240, 242, 0.68);
  background: transparent;
}

.quick-chip:hover {
  color: var(--o4-premium-text);
  border-color: var(--o4-premium-line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.hero-console {
  padding: clamp(22px, 3vw, 34px);
  border-radius: 8px;
  border-color: var(--o4-premium-line);
  background: #121419;
  box-shadow: none;
}

.hero-console-topbar {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--o4-premium-line);
}

.hero-console-status {
  min-height: 28px;
  padding: 0 9px;
  color: rgba(238, 240, 242, 0.72);
  border-color: var(--o4-premium-line);
  background: transparent;
  font-size: 0.66rem;
}

.hero-console-status span {
  display: none;
}

.hero-console-header {
  margin-top: 24px;
}

.hero-console-header h2 {
  margin: 0;
  color: #f3f1ec;
  font-size: clamp(1.65rem, 2.2vw, 2.55rem);
  font-weight: 740;
  letter-spacing: 0;
  line-height: 1.08;
}

.hero-console-header p:last-child {
  max-width: 34rem;
  color: rgba(238, 240, 242, 0.68);
  font-size: 0.96rem;
  line-height: 1.62;
}

.hero-console-body.hero-trust-list,
.hero-trust-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 22px;
  border-top: 1px solid var(--o4-premium-line);
}

.hero-console-note {
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 13px;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid var(--o4-premium-line);
  border-radius: 0;
  background: transparent;
}

.hero-console-note::before {
  display: none;
}

.hero-console-note p:last-child {
  color: rgba(238, 240, 242, 0.62);
  font-size: 0.88rem;
  line-height: 1.5;
}

.hero-dossier-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
}

.hero-dossier-strip span {
  min-height: 36px;
  border-radius: 7px;
  color: rgba(238, 240, 242, 0.72);
  border-color: var(--o4-premium-line);
  background: rgba(255, 255, 255, 0.028);
}

.hero-console-links {
  margin-top: 16px;
  border-top-color: var(--o4-premium-line);
}

.hero-console-links a,
.section-link,
.directory-pathway-footer a {
  color: rgba(238, 240, 242, 0.76);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.home-command-section {
  padding-top: 24px;
}

.home-command-shell {
  grid-template-columns: 1fr;
  grid-template-areas:
    "copy"
    "modes";
  padding: clamp(26px, 4vw, 48px) 0;
  border-width: 1px 0;
  border-radius: 0;
  border-color: var(--o4-premium-line);
  background: transparent;
}

.home-command-visual {
  display: none;
}

.home-command-copy {
  max-width: 860px;
}

.home-command-copy h2 {
  max-width: 15ch;
  font-size: clamp(2.25rem, 4.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.home-command-copy p:not(.section-kicker) {
  max-width: 46rem;
  color: rgba(238, 240, 242, 0.68);
}

.home-command-modes {
  gap: 0;
  border-radius: 8px;
  border-color: var(--o4-premium-line);
  background: transparent;
}

.home-command-mode {
  min-height: 150px;
  padding: 18px;
  border-right: 1px solid var(--o4-premium-line);
  background: #111318;
}

.home-command-mode:last-child {
  border-right: 0;
}

.home-command-mode p {
  color: rgba(238, 240, 242, 0.6);
}

.home-section-shell,
.section-discovery .home-section-shell {
  padding: clamp(26px, 3vw, 40px) 0;
  border-top: 1px solid var(--o4-premium-line);
}

.home-path-grid,
.home-feature-grid,
.home-collection-grid {
  gap: 12px;
}

.feature-card,
.featured-tool-card,
.collection-card,
.article-card,
.collection-tool-card {
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.feature-card:hover,
.featured-tool-card:hover,
.article-card:hover,
.collection-card:hover,
.collection-tool-card:hover,
.card:focus-within {
  border-color: rgba(232, 235, 238, 0.22);
  background: #16191f;
  transform: translateY(-1px);
  box-shadow: none;
}

.feature-card h3,
.tool-card h3,
.collection-card h3,
.article-card h2,
.article-card h3,
.collection-spotlight h2 {
  margin-top: 10px;
  font-size: clamp(1.12rem, 1.55vw, 1.52rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-head h2,
.section-title h2 {
  color: #f3f1ec;
  font-size: clamp(1.85rem, 2.7vw, 3rem);
  letter-spacing: 0;
}

.directory-shell {
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 28px;
}

.directory-filters {
  padding: 18px;
  background: #111318;
}

.directory-filters-head .o4-card-icon {
  display: none;
}

.directory-filters-head h2 {
  margin-top: 6px;
  font-size: 1.1rem;
}

.directory-filters-head .section-intro,
.directory-filter-footnote {
  color: rgba(238, 240, 242, 0.56);
  font-size: 0.82rem;
}

.directory-filter-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.archive-header-directory.card,
.directory-pathways.card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.archive-header-directory {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  padding-bottom: 26px;
  border-bottom: 1px solid var(--o4-premium-line);
}

.archive-header-directory .archive-header-copy h1 {
  max-width: 12ch;
  color: #f3f1ec;
  font-size: clamp(2.8rem, 4.8vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.archive-header-directory .section-intro {
  max-width: 46rem;
  color: rgba(238, 240, 242, 0.68);
}

.archive-proof.card.archive-proof-card {
  padding: 18px;
  background: #111318;
}

.archive-proof-card ul {
  padding-left: 0;
  list-style: none;
}

.archive-proof-card li {
  color: rgba(238, 240, 242, 0.66);
  font-size: 0.82rem;
}

.archive-proof-card .proof-list-icon {
  color: var(--o4-premium-accent);
}

.directory-pathways {
  padding-top: 8px;
}

.directory-pathways-head {
  align-items: end;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--o4-premium-line);
}

.directory-pathways-head h2 {
  font-size: clamp(1.45rem, 1.9vw, 2rem);
  letter-spacing: 0;
}

.directory-pathways-head > p {
  color: rgba(238, 240, 242, 0.58);
}

.directory-pathway-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--o4-premium-line);
  border-radius: 8px;
  background: var(--o4-premium-line);
}

.directory-pathway-card {
  min-height: 126px;
  padding: 16px;
  border: 0;
  border-radius: 0;
  background: #111318;
}

.directory-pathway-card:hover {
  background: #16191f;
}

.directory-pathway-card .o4-card-icon {
  margin-bottom: 8px;
}

.directory-pathway-card h3 {
  font-size: 1rem;
}

.directory-results-grid {
  gap: 14px;
}

.directory-tool-card {
  padding: 0;
  overflow: hidden;
  background: #111318;
}

.directory-tool-card-frame {
  gap: 0;
}

.directory-tool-card .article-card-topline,
.directory-tool-title,
.directory-tool-card .tool-card-summary,
.directory-tool-meta-row,
.directory-tool-card .badges,
.directory-tool-card-actions {
  padding-inline: 14px;
}

.directory-tool-card .article-card-topline {
  padding-top: 13px;
}

.directory-tool-title {
  margin: 9px 0 0;
  font-size: clamp(1.02rem, 1.18vw, 1.22rem);
}

.directory-tool-card .tool-card-summary {
  min-height: 2.7em;
  margin-top: 8px;
  color: rgba(238, 240, 242, 0.62);
  font-size: 0.82rem;
}

.directory-tool-meta-row {
  gap: 5px;
  margin-top: 12px;
}

.directory-tool-meta-row span {
  min-height: 28px;
  border: 1px solid rgba(232, 235, 238, 0.075);
  border-radius: 6px;
  color: rgba(238, 240, 242, 0.66);
  background: rgba(255, 255, 255, 0.025);
}

.directory-tool-card-actions {
  gap: 8px;
  padding-bottom: 14px;
  margin-top: 12px;
}

.directory-tool-card-actions .button {
  min-height: 36px;
  font-size: 0.76rem;
}

.directory-shortlist-button {
  color: rgba(238, 240, 242, 0.62);
  border-color: var(--o4-premium-line);
  background: transparent;
}

.tool-proof-card--archive-preview,
.tool-proof-card--home-feature {
  border-bottom: 1px solid var(--o4-premium-line);
  background: #0f1116;
}

.tool-proof-card--archive-preview .tool-proof-surface,
.tool-proof-card--home-feature .tool-proof-surface {
  min-height: 150px;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 0;
  background: #0f1116;
}

.tool-proof-image {
  filter: saturate(0.86) contrast(1) brightness(0.88);
  transition: transform 260ms ease, filter 260ms ease;
}

.tool-proof-card:hover .tool-proof-image {
  transform: scale(1.012);
  filter: saturate(0.9) contrast(1.02) brightness(0.92);
}

.tool-proof-card--archive-preview .tool-proof-overlay,
.tool-proof-card--home-feature .tool-proof-overlay {
  position: absolute;
  inset: 10px auto auto 10px;
  display: block;
  min-height: 0;
  padding: 0;
  background: transparent;
}

.tool-proof-card--archive-preview .tool-proof-head,
.tool-proof-card--home-feature .tool-proof-head {
  display: block;
}

.tool-proof-card--archive-preview .tool-proof-brand,
.tool-proof-card--home-feature .tool-proof-brand {
  display: block;
}

.tool-proof-card--archive-preview .tool-proof-brand-copy,
.tool-proof-card--archive-preview .tool-proof-label,
.tool-proof-card--archive-preview .tool-proof-vendor,
.tool-proof-card--archive-preview .tool-proof-verified,
.tool-proof-card--home-feature .tool-proof-brand-copy,
.tool-proof-card--home-feature .tool-proof-label,
.tool-proof-card--home-feature .tool-proof-vendor,
.tool-proof-card--home-feature .tool-proof-verified,
.tool-proof-card--archive-preview .tool-proof-body,
.tool-proof-card--home-feature .tool-proof-body {
  display: none;
}

.tool-proof-card--archive-preview .tool-proof-logo,
.tool-proof-card--archive-preview .tool-proof-monogram,
.tool-proof-card--home-feature .tool-proof-logo,
.tool-proof-card--home-feature .tool-proof-monogram {
  width: 34px;
  height: 34px;
  padding: 6px;
  border-radius: 7px;
  border-color: rgba(232, 235, 238, 0.22);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
}

.tool-proof-card--archive-preview .tool-proof-fallback,
.tool-proof-card--home-feature .tool-proof-fallback {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent 48%),
    #111318;
}

.tool-proof-card--archive-preview .tool-proof-fallback-copy,
.tool-proof-card--home-feature .tool-proof-fallback-copy {
  display: none;
}

.home-feature-grid .featured-tool-card {
  padding: 0;
  overflow: hidden;
  background: #111318;
}

.home-feature-grid .featured-tool-card .article-card-topline,
.home-feature-grid .featured-tool-card h3,
.home-feature-grid .featured-tool-card .tool-card-summary,
.home-feature-grid .featured-tool-card .badges,
.home-feature-grid .featured-tool-card .tool-card-footer {
  padding-inline: 14px;
}

.home-feature-grid .featured-tool-card .article-card-topline {
  padding-top: 13px;
}

.home-feature-grid .featured-tool-card .tool-card-footer {
  padding-bottom: 14px;
}

.home-feature-grid .featured-tool-card .button-primary {
  color: var(--o4-premium-text);
  border-color: var(--o4-premium-line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.section-trust-contribute .card,
.footer-newsletter {
  background: #111318;
}

.method-grid > div {
  border-radius: 8px;
  border-color: var(--o4-premium-line);
  background: rgba(255, 255, 255, 0.025);
}

@media (max-width: 1180px) {
  .hero-grid,
  .archive-header-directory,
  .directory-shell {
    grid-template-columns: 1fr;
  }

  .directory-filters {
    position: static;
  }
}

@media (max-width: 760px) {
  .hero-copy-column h1,
  .archive-header-directory .archive-header-copy h1 {
    max-width: none;
    font-size: clamp(2.5rem, 12vw, 3.6rem);
  }

  .hero-actions,
  .home-command-actions,
  .directory-tool-card-actions {
    display: grid;
  }

  .quick-search,
  .home-command-modes,
  .directory-pathway-grid,
  .hero-dossier-strip {
    grid-template-columns: 1fr;
  }

  .home-command-mode {
    border-right: 0;
    border-bottom: 1px solid var(--o4-premium-line);
  }

  .home-command-mode:last-child {
    border-bottom: 0;
  }

  .directory-pathway-grid {
    display: grid;
  }
}

/*
 * Premium refinement: calm header, editorial hero, neutral shortlist dock.
 */
.site-header-inner,
.site-header.is-condensed .site-header-inner {
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) auto;
  min-height: 68px;
  gap: 18px;
}

.site-brand {
  gap: 9px;
  min-height: 42px;
}

.site-brand-symbol {
  width: 34px;
  height: 30px;
  filter: none;
}

.site-brand-wordmark {
  width: 178px;
  max-width: 178px;
}

.site-brand:hover .site-brand-symbol,
.site-brand:focus-visible .site-brand-symbol {
  transform: none;
  filter: none;
}

#primary-menu,
.menu {
  justify-content: flex-start;
  gap: 2px;
}

.header-search {
  width: clamp(190px, 18vw, 250px);
}

.site-header .header-submit-cta.button-primary {
  min-width: 136px;
  color: rgba(238, 240, 242, 0.86);
  border-color: var(--o4-premium-line-strong);
  background: transparent;
  box-shadow: none;
}

.site-header .header-submit-cta.button-primary:hover {
  color: var(--o4-premium-text);
  background: rgba(255, 255, 255, 0.055);
}

.button-icon,
.header-nav-icon,
.quick-chip-icon,
.trust-inline-icon,
.jump-nav-icon,
.inline-link-icon,
.card-meta-icon,
.heading-icon,
.fact-icon,
.proof-list-icon,
.hero-strip-icon {
  width: 15px;
  height: 15px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
}

.hero-copy-column h1 {
  max-width: 13.5ch;
  font-size: clamp(2.85rem, 4.9vw, 5.15rem);
}

.hero-brand-lockup {
  color: rgba(238, 240, 242, 0.78);
  border-color: var(--o4-premium-line);
  background: transparent;
}

.hero-brand-lockup img {
  filter: none;
}

.hero-visual {
  align-self: center;
}

.hero-console {
  padding: 4px 0 4px clamp(26px, 3vw, 42px);
  border-width: 0 0 0 1px;
  border-radius: 0;
  background: transparent;
}

.hero-console-topbar {
  align-items: center;
  padding-bottom: 13px;
}

.hero-console-header h2 {
  max-width: 14ch;
  font-size: clamp(1.55rem, 2vw, 2.2rem);
}

.hero-console-note {
  padding: 13px 0;
}

.hero-note-icon {
  background: transparent;
}

.hero-dossier-strip {
  display: none;
}

.hero-console-links {
  justify-content: flex-start;
  gap: 18px;
}

.home-command-copy h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 3.5vw, 3.75rem);
}

.home-command-modes {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-command-mode {
  min-height: 132px;
}

.archive-header-directory .archive-header-copy h1 {
  max-width: 13.5ch;
  font-size: clamp(2.45rem, 4vw, 4.35rem);
}

.archive-header-meta {
  gap: 7px;
}

.archive-proof.card.archive-proof-card {
  background: transparent;
}

.directory-pathway-card h3 a,
.directory-tool-title a,
.home-feature-grid .featured-tool-card h3 a,
.collection-card h3 a,
.feature-card h3 a {
  color: #f2f0ea;
}

.directory-pathway-card h3 a:hover,
.directory-tool-title a:hover,
.home-feature-grid .featured-tool-card h3 a:hover,
.collection-card h3 a:hover,
.feature-card h3 a:hover {
  color: var(--o4-premium-accent-strong);
}

.directory-pathway-footer a {
  color: rgba(238, 240, 242, 0.64);
}

.directory-pathway-footer a:hover {
  color: var(--o4-premium-text);
}

.investigation-dock {
  right: clamp(16px, 2vw, 28px);
  bottom: 16px;
  width: min(330px, calc(100vw - 32px));
}

.investigation-dock.is-empty {
  display: none;
}

.investigation-dock-toggle {
  width: min(220px, 100%);
  min-height: 46px;
  padding: 7px 9px;
  border-radius: 8px;
  color: rgba(238, 240, 242, 0.88);
  border-color: var(--o4-premium-line-strong);
  background: #121419;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.investigation-dock-toggle strong,
.investigation-dock-count,
.investigation-dock-item a,
.investigation-dock-remove {
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

.investigation-dock-toggle strong {
  font-size: 0.88rem;
}

.investigation-dock-icon,
.investigation-dock-count {
  color: rgba(238, 240, 242, 0.78);
  border-color: var(--o4-premium-line);
  background: rgba(255, 255, 255, 0.04);
}

.investigation-dock-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

.investigation-dock-count {
  min-width: 28px;
  height: 28px;
}

.investigation-dock-panel {
  border-radius: 8px;
  border-color: var(--o4-premium-line);
  background: #121419;
  background-size: auto;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.38);
}

.investigation-dock-item {
  border-radius: 7px;
  border-color: var(--o4-premium-line);
  background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 1280px) {
  .site-header-inner,
  .site-header.is-condensed .site-header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .site-brand-wordmark {
    width: 150px;
    max-width: 150px;
  }

  .header-search {
    width: 210px;
  }

  .header-submit-label-full {
    display: none;
  }

  .header-submit-label-short {
    display: inline;
  }

  .site-header .header-submit-cta.button-primary {
    min-width: 96px;
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-console {
    padding: 24px 0 0;
    border-width: 1px 0 0;
  }
}

/*
 * Final premium tightening: make the first viewport quieter and expose cards sooner.
 */
.hero-copy-column h1 {
  max-width: 13.5ch;
  font-size: clamp(2.7rem, 4.45vw, 4.75rem);
  font-weight: 720;
}

.hero-capability-strip {
  gap: 18px;
  margin-top: 20px;
}

.hero-capability-strip span {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(238, 240, 242, 0.6);
  background: transparent;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.hero-capability-strip span + span::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-right: 10px;
  border-radius: 999px;
  background: rgba(200, 184, 141, 0.55);
}

.hero-capability-icon {
  display: none;
}

.hero-console-note {
  padding: 11px 0;
}

.hero-console-note .panel-label {
  font-size: 0.62rem;
  letter-spacing: 0.06em;
}

.hero-note-icon {
  width: 28px;
  height: 28px;
}

.hero-console-note p:last-child {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.archive-header-directory .archive-header-copy h1 {
  max-width: 13.5ch;
  font-size: clamp(2.45rem, 4vw, 4.35rem);
}

.directory-pathways {
  padding-top: 0;
}

.directory-pathways-head {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding-bottom: 9px;
}

.directory-pathways-head h2 {
  font-size: clamp(1.05rem, 1.25vw, 1.25rem);
}

.directory-pathways-head > p {
  max-width: 19rem;
  font-size: 0.82rem;
}

.directory-pathway-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.directory-pathway-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  gap: 6px 10px;
  min-height: 82px;
  padding: 11px;
}

.directory-pathway-card .o4-card-icon {
  grid-row: span 2;
  width: 28px;
  height: 28px;
  margin-bottom: 0;
}

.directory-pathway-card .o4-card-icon .o4-ui-icon {
  width: 14px;
  height: 14px;
}

.directory-pathway-card .card-meta {
  display: none;
}

.directory-pathway-card h3 {
  margin: 0;
  align-self: center;
  font-size: 0.84rem;
  line-height: 1.15;
}

.directory-pathway-card p:not(.card-meta),
.directory-pathway-footer a {
  display: none;
}

.directory-pathway-footer {
  grid-column: 2;
  padding-top: 0;
}

.directory-pathway-footer .badge {
  min-height: 22px;
  padding-inline: 7px;
  font-size: 0.62rem;
}

.hero-console-note p:last-child {
  display: none;
}

.directory-pathways .directory-pathway-card h3 a,
.directory-tool-card .directory-tool-title a,
.home-feature-grid .featured-tool-card h3 a,
.collection-card h3 a,
.feature-card h3 a {
  color: #f2f0ea;
}

.directory-pathways .directory-pathway-card h3 a:hover,
.directory-tool-card .directory-tool-title a:hover,
.home-feature-grid .featured-tool-card h3 a:hover,
.collection-card h3 a:hover,
.feature-card h3 a:hover {
  color: var(--o4-premium-accent-strong);
}

@media (max-width: 1180px) {
  .directory-pathway-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header-inner,
  .site-header.is-condensed .site-header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    padding-inline: 18px;
  }

  .site-brand {
    max-width: 150px;
    overflow: hidden;
  }

  .site-brand-symbol {
    width: 30px;
    height: 26px;
  }

  .site-brand-wordmark {
    width: 112px;
    max-width: 112px;
  }

  .nav-toggle {
    min-height: 40px;
    padding-inline: 10px;
    border-radius: 8px;
  }

  .site-header .header-submit-cta.button-primary {
    min-width: 0;
    min-height: 40px;
    padding-inline: 10px;
    border-radius: 8px;
  }

  .directory-main {
    order: 1;
  }

  .directory-filters {
    order: 2;
  }

  .archive-proof.card.archive-proof-card {
    display: none;
  }

  .hero-capability-strip {
    gap: 12px;
  }

  .directory-pathway-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/*
 * Premium detail systems: calm dossiers, visual-first stacks, quieter workflow archives.
 */
.section-tool-single,
.collection-single-section,
.editorial-shell,
.archive-shell-collections,
.archive-shell-use-cases {
  box-sizing: border-box;
  padding-top: clamp(36px, 5vw, 70px);
  padding-right: clamp(18px, 3vw, 36px);
  padding-left: clamp(18px, 3vw, 36px);
}

.tool-hero-dossier.card,
.collection-shell.card,
.article-shell-use-case.card,
.archive-header-collections.card,
.archive-header-use-cases.card {
  overflow: visible;
  padding: 0 0 clamp(28px, 4vw, 48px);
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--o4-premium-line);
  background: transparent;
  box-shadow: none;
}

.tool-hero-dossier::before,
.tool-hero-dossier::after,
.collection-shell::before,
.collection-shell::after,
.article-shell-use-case::before,
.article-shell-use-case::after,
.archive-header-collections::before,
.archive-header-collections::after,
.archive-header-use-cases::before,
.archive-header-use-cases::after,
.dossier-grid,
.collection-route-map,
.article-card-use-case::after,
.collection-pick-card::after {
  display: none !important;
}

.tool-hero-dossier,
.collection-shell-header,
.archive-header-collections,
.archive-header-use-cases {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(28px, 4.8vw, 70px);
  align-items: start;
}

.tool-hero-dossier .tool-hero-main,
.collection-shell-copy,
.article-shell-use-case .article-header-review,
.archive-header-collections .archive-header-copy,
.archive-header-use-cases .archive-header-copy {
  display: grid;
  gap: 14px;
  max-width: 780px;
}

.tool-hero-dossier .tool-hero-topline,
.article-shell-use-case .article-header-topline {
  align-items: center;
  gap: 12px;
}

.tool-hero-dossier h1,
.collection-shell-header h1,
.article-shell-use-case .article-header h1,
.archive-header-collections .archive-header-copy h1,
.archive-header-use-cases .archive-header-copy h1 {
  max-width: 14ch;
  color: #f4f1e9;
  font-size: clamp(2.55rem, 4.5vw, 5rem);
  font-weight: 730;
  line-height: 0.99;
  letter-spacing: 0;
}

.tool-hero-dossier .tool-hero-summary,
.collection-shell-summary,
.article-shell-use-case .section-intro,
.archive-header-collections .section-intro,
.archive-header-use-cases .section-intro {
  max-width: 50rem;
  color: rgba(238, 240, 242, 0.68);
  font-size: clamp(1rem, 1.15vw, 1.14rem);
  line-height: 1.62;
}

.tool-hero-path,
.tool-hero-path a {
  color: rgba(238, 240, 242, 0.52);
}

.tool-hero-badges,
.collection-shell .badges,
.article-shell-use-case .badges,
.archive-header-meta {
  gap: 7px;
}

.tool-dossier-facts,
.tool-dossier-matrix,
.article-proof-grid {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--o4-premium-line);
  border-radius: 8px;
  background: var(--o4-premium-line);
}

.tool-dossier-facts {
  grid-template-columns: minmax(230px, 1.45fr) repeat(3, minmax(130px, 1fr));
  margin-top: 4px;
}

.tool-dossier-facts div,
.tool-dossier-matrix div,
.article-proof-card {
  min-height: 104px;
  padding: 15px;
  border: 0;
  border-radius: 0;
  background: #111318;
}

.tool-dossier-facts span,
.tool-dossier-matrix span,
.article-proof-card .panel-label,
.collection-shell-sidebar .panel-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(238, 240, 242, 0.48);
  font-size: 0.64rem;
  font-weight: 760;
  letter-spacing: 0.06em;
}

.tool-dossier-facts strong,
.tool-dossier-matrix strong {
  color: rgba(246, 246, 244, 0.9);
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.42;
}

.fact-icon {
  width: 13px;
  height: 13px;
  color: var(--o4-premium-accent);
}

.tool-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.tool-hero-actions .button {
  min-height: 40px;
  padding-inline: 13px;
  border-radius: 7px;
}

.tool-hero-actions .button-ghost {
  border-color: transparent;
  background: transparent;
}

.tool-hero-footnotes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 2px;
}

.tool-hero-footnote {
  margin: 0;
  color: rgba(238, 240, 242, 0.48);
  font-size: 0.76rem;
}

.tool-hero-meta {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.tool-hero-meta .tool-proof-card,
.collection-tool-card .tool-proof-card,
.article-shell-use-case .tool-card .tool-proof-card {
  margin: 0;
}

.tool-proof-card--hero .tool-proof-surface {
  min-height: 330px;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  border-color: var(--o4-premium-line);
  background: #0f1116;
}

.tool-proof-card--hero .tool-proof-overlay,
.tool-proof-card--stack .tool-proof-overlay,
.tool-proof-card--related .tool-proof-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 12px;
  background: linear-gradient(180deg, rgba(7, 8, 11, 0.22), transparent 42%, rgba(7, 8, 11, 0.7));
}

.tool-proof-card--hero .tool-proof-brand-copy,
.tool-proof-card--hero .tool-proof-body,
.tool-proof-card--stack .tool-proof-brand-copy,
.tool-proof-card--related .tool-proof-brand-copy,
.tool-proof-card--stack.is-proof-loaded .tool-proof-body,
.tool-proof-card--related.is-proof-loaded .tool-proof-body {
  display: none;
}

.tool-proof-card--hero .tool-proof-head,
.tool-proof-card--stack .tool-proof-head,
.tool-proof-card--related .tool-proof-head {
  display: flex;
  width: 100%;
}

.tool-proof-card--hero .tool-proof-logo,
.tool-proof-card--hero .tool-proof-monogram,
.tool-proof-card--stack .tool-proof-logo,
.tool-proof-card--stack .tool-proof-monogram,
.tool-proof-card--related .tool-proof-logo,
.tool-proof-card--related .tool-proof-monogram {
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: 7px;
  border: 1px solid rgba(232, 235, 238, 0.22);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.tool-proof-card--hero .tool-proof-verified {
  min-height: 28px;
  color: rgba(246, 246, 244, 0.88);
  border: 1px solid rgba(232, 235, 238, 0.16);
  background: rgba(11, 12, 16, 0.66);
  backdrop-filter: blur(8px);
}

.tool-dossier-signal,
.collection-shell-sidebar .article-proof-card,
.archive-proof.card.archive-proof-card {
  padding: 14px 0;
  border: 0;
  border-radius: 0;
  border-top: 1px solid var(--o4-premium-line);
  background: transparent;
  box-shadow: none;
}

.tool-dossier-signal .meta-list li {
  grid-template-columns: 92px minmax(0, 1fr);
  padding: 9px 0;
  border-bottom-color: var(--o4-premium-line);
}

.tool-dossier-signal .meta-list li:last-child {
  border-bottom: 0;
}

.tool-jump-nav.tool-jump-nav-compact {
  justify-content: flex-start;
  gap: 18px;
  margin: clamp(18px, 3vw, 30px) 0;
  padding: 0 0 13px;
  border-width: 0 0 1px;
  border-radius: 0;
  border-color: var(--o4-premium-line);
  background: transparent;
}

.tool-jump-nav-compact a {
  min-height: 30px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(238, 240, 242, 0.58);
  background: transparent;
  font-size: 0.74rem;
}

.tool-jump-nav-compact a:hover,
.tool-jump-nav-compact a:focus-visible {
  color: var(--o4-premium-text);
  background: transparent;
}

.tool-dossier .tool-trust,
.tool-dossier-panel.card,
.tool-single-shell > section.card:not(.tool-dossier-panel),
.collection-picks.card,
.collection-workflow-notes.card,
.article-shell-use-case .tool-section-grid > .card,
.article-footnote-block {
  border-color: var(--o4-premium-line);
  border-radius: 8px;
  background: #111318;
  box-shadow: none;
}

.tool-dossier-panel-head .o4-card-icon,
.tool-single-shell > section.card > .o4-card-icon,
.directory-filters-head .o4-card-icon {
  display: none;
}

.tool-dossier-panel {
  gap: 18px;
}

.tool-dossier-panel-head h2,
.collection-tools-head h2,
.article-shell-use-case .section-head h2 {
  font-size: clamp(1.35rem, 1.9vw, 2.1rem);
  line-height: 1.12;
}

.tool-dossier-panel-head p:last-child,
.collection-tools-head p,
.article-shell-use-case .section-head p {
  max-width: 42rem;
  color: rgba(238, 240, 242, 0.58);
}

.tool-dossier-row {
  grid-template-columns: minmax(130px, 0.24fr) minmax(0, 1fr);
  border-bottom-color: var(--o4-premium-line);
}

.tool-related-grid {
  gap: 10px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.tool-related-grid > div {
  padding: 16px;
  border: 1px solid var(--o4-premium-line);
  border-radius: 8px;
  background: #111318;
}

.collection-shell-header {
  padding-bottom: 0;
  border: 0;
}

.collection-shell-sidebar {
  display: grid;
  gap: 0;
  padding-left: clamp(18px, 2.4vw, 28px);
  border-left: 1px solid var(--o4-premium-line);
}

.collection-shell-sidebar .article-proof-card:first-of-type {
  border-top: 0;
}

.collection-shell-sidebar .article-proof-card p:not(.panel-label) {
  margin: 8px 0 0;
  color: rgba(238, 240, 242, 0.62);
  font-size: 0.86rem;
  line-height: 1.52;
}

.collection-picks,
.collection-workflow-notes {
  margin-top: clamp(22px, 3vw, 34px);
}

.collection-picks-grid {
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--o4-premium-line);
  border-radius: 8px;
  background: var(--o4-premium-line);
}

.collection-pick-card {
  min-height: 126px;
  padding: 15px;
  border: 0;
  border-radius: 0;
  background: #0f1116;
}

.collection-pick-card h3 {
  font-size: 1.05rem;
  line-height: 1.24;
}

.collection-tools-head {
  display: grid;
  gap: 8px;
  margin: clamp(30px, 4vw, 46px) 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--o4-premium-line);
}

.collection-tools-grid,
.article-shell-use-case .article-archive-grid {
  gap: 14px;
}

.collection-tool-card.card,
.article-shell-use-case .tool-card.card {
  gap: 0;
  overflow: hidden;
  padding: 0;
  border-radius: 8px;
  background: #111318;
}

.tool-proof-card--stack,
.tool-proof-card--related {
  border-bottom: 1px solid var(--o4-premium-line);
  background: #0f1116;
}

.tool-proof-card--stack .tool-proof-surface,
.tool-proof-card--related .tool-proof-surface {
  height: clamp(156px, 17vw, 230px);
  min-height: 0;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(rgba(232, 235, 238, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 235, 238, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 16% 20%, rgba(200, 184, 141, 0.12), transparent 9rem),
    #0f1116;
  background-size: 24px 24px, 24px 24px, auto, auto;
}

.tool-proof-card--stack:not(.is-proof-loaded) .tool-proof-image,
.tool-proof-card--related:not(.is-proof-loaded) .tool-proof-image {
  opacity: 0;
}

.tool-proof-card--stack:not(.is-proof-loaded) .tool-proof-body,
.tool-proof-card--related:not(.is-proof-loaded) .tool-proof-body {
  display: grid;
  gap: 0;
  align-self: end;
  margin-top: auto;
  padding-top: 0;
}

.tool-proof-card--stack:not(.is-proof-loaded) .tool-proof-tagline,
.tool-proof-card--related:not(.is-proof-loaded) .tool-proof-tagline {
  display: -webkit-box;
  overflow: hidden;
  max-width: 22rem;
  color: rgba(238, 240, 242, 0.72);
  font-size: 0.78rem;
  line-height: 1.38;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tool-proof-card--stack:not(.is-proof-loaded) .tool-proof-metrics,
.tool-proof-card--stack:not(.is-proof-loaded) .tool-proof-best-for,
.tool-proof-card--stack:not(.is-proof-loaded) .tool-proof-badges,
.tool-proof-card--related:not(.is-proof-loaded) .tool-proof-metrics,
.tool-proof-card--related:not(.is-proof-loaded) .tool-proof-best-for,
.tool-proof-card--related:not(.is-proof-loaded) .tool-proof-badges {
  display: none;
}

.tool-proof-card--stack.tool-proof-card--no-screenshot .tool-proof-overlay,
.tool-proof-card--stack.is-proof-missing .tool-proof-overlay,
.tool-proof-card--related.tool-proof-card--no-screenshot .tool-proof-overlay,
.tool-proof-card--related.is-proof-missing .tool-proof-overlay {
  display: none;
}

.tool-proof-card--stack .tool-proof-fallback,
.tool-proof-card--related .tool-proof-fallback {
  display: grid;
  align-items: end;
  background:
    linear-gradient(180deg, rgba(17, 19, 24, 0.12), rgba(17, 19, 24, 0.84)),
    radial-gradient(circle at 16% 20%, rgba(200, 184, 141, 0.12), transparent 9rem),
    #101217;
}

.tool-proof-card--stack .tool-proof-fallback-grid,
.tool-proof-card--related .tool-proof-fallback-grid {
  opacity: 0.78;
  background-image:
    linear-gradient(rgba(232, 235, 238, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 235, 238, 0.045) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 100%);
}

.tool-proof-card--stack .tool-proof-fallback-copy,
.tool-proof-card--related .tool-proof-fallback-copy {
  display: grid;
  gap: 6px;
  align-self: end;
  max-width: none;
  padding: 54px 13px 13px;
}

.tool-proof-card--stack .tool-proof-fallback-label,
.tool-proof-card--related .tool-proof-fallback-label {
  display: none;
}

.tool-proof-card--stack .tool-proof-fallback-title,
.tool-proof-card--related .tool-proof-fallback-title {
  color: rgba(246, 246, 244, 0.9);
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 760;
  line-height: 1.12;
}

.tool-proof-card--stack .tool-proof-fallback-text,
.tool-proof-card--related .tool-proof-fallback-text {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(238, 240, 242, 0.58);
  font-size: 0.76rem;
  line-height: 1.36;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.collection-tool-card > .card-meta,
.collection-tool-card > h3,
.collection-tool-card > p:not(.card-meta),
.collection-tool-card > .badges,
.collection-tool-card-actions,
.article-shell-use-case .tool-card > .card-meta,
.article-shell-use-case .tool-card > h3,
.article-shell-use-case .tool-card > .tool-card-summary,
.article-shell-use-case .tool-card > .article-card-note,
.article-shell-use-case .tool-card > .badges,
.article-shell-use-case .tool-card-footer {
  padding-inline: 14px;
}

.collection-tool-card > .card-meta,
.article-shell-use-case .tool-card > .card-meta {
  padding-top: 13px;
}

.collection-tool-card h3,
.article-shell-use-case .tool-card h3 {
  margin-top: 8px;
  font-size: clamp(1rem, 1.2vw, 1.24rem);
  line-height: 1.18;
}

.collection-tool-card > p:not(.card-meta),
.article-shell-use-case .tool-card-summary {
  display: -webkit-box;
  min-height: 2.8em;
  margin-top: 8px;
  overflow: hidden;
  color: rgba(238, 240, 242, 0.62);
  font-size: 0.84rem;
  line-height: 1.44;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.collection-tool-card > .badges,
.article-shell-use-case .tool-card > .badges {
  gap: 6px;
  margin-top: 11px;
}

.collection-tool-card .badge:nth-child(n+3),
.article-shell-use-case .tool-card .badge:nth-child(n+3) {
  display: none;
}

.collection-tool-card-actions,
.article-shell-use-case .tool-card-footer {
  gap: 8px;
  padding-bottom: 14px;
  margin-top: 12px;
}

.collection-tool-card-actions .button,
.article-shell-use-case .tool-card-footer .button {
  min-height: 36px;
  font-size: 0.76rem;
}

.collection-tool-card-actions .button-primary {
  color: rgba(238, 240, 242, 0.78);
  border-color: var(--o4-premium-line);
  background: transparent;
}

.article-shell-use-case .article-header-topline .badge {
  display: none;
}

.article-shell-use-case .article-header-review {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--o4-premium-line);
}

.article-shell-use-case .article-proof-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

.article-proof-card p:not(.panel-label) {
  margin: 9px 0 0;
  color: rgba(238, 240, 242, 0.62);
  font-size: 0.84rem;
  line-height: 1.5;
}

.article-shell-use-case .tool-section-grid {
  gap: 14px;
  margin-top: 22px;
}

.article-shell-use-case .tool-section-grid > .card {
  padding: 20px;
}

.article-shell-use-case .section {
  padding: clamp(24px, 3vw, 38px) 0;
  border-top: 1px solid var(--o4-premium-line);
}

.article-shell-use-case .section-head {
  margin-bottom: 14px;
}

.article-shell-use-case .tool-card .article-card-note {
  display: none;
}

.article-shell-use-case .article-content {
  max-width: 760px;
  margin-inline: 0;
  color: rgba(238, 240, 242, 0.72);
}

.article-shell-use-case .article-footer {
  justify-content: flex-start;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--o4-premium-line);
}

.archive-header-collections,
.archive-header-use-cases {
  padding-bottom: clamp(28px, 4vw, 44px);
}

.archive-proof.card.archive-proof-card {
  padding-left: clamp(18px, 2.2vw, 28px);
  border-top: 0;
  border-left: 1px solid var(--o4-premium-line);
}

.archive-proof-card ul {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.archive-proof-card li {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: rgba(238, 240, 242, 0.62);
}

.collection-spotlight.card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: clamp(18px, 3vw, 32px);
  padding: clamp(18px, 2vw, 24px);
  border-radius: 8px;
  background: #111318;
}

.collection-spotlight h2 {
  max-width: 17ch;
  font-size: clamp(1.55rem, 2.2vw, 2.6rem);
}

.collection-spotlight .article-card-body {
  max-width: 50rem;
}

.collection-spotlight .article-card-note,
.collection-card .article-card-note,
.article-card-use-case .article-card-note {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.collection-spotlight-meta {
  align-content: space-between;
  gap: 18px;
  padding-left: 18px;
  border-left: 1px solid var(--o4-premium-line);
}

.collection-archive-grid,
.archive-shell-use-cases .article-archive-grid {
  gap: 14px;
}

.collection-archive-grid .article-card,
.archive-shell-use-cases .article-card {
  padding: 16px;
  background: #111318;
}

.collection-archive-grid .article-card-body > p:first-child,
.archive-shell-use-cases .article-card-body > p:first-child {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(238, 240, 242, 0.62);
  font-size: 0.88rem;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.archive-shell-use-cases .article-card-body .article-card-note {
  -webkit-line-clamp: 2;
}

.archive-shell-use-cases .article-card .badges,
.collection-archive-grid .article-card .badges {
  gap: 6px;
}

.archive-shell-use-cases .article-card .badge:nth-child(n+3),
.collection-archive-grid .article-card .badge:nth-child(n+3) {
  display: none;
}

.archive-shell-use-cases .article-card-footer,
.collection-archive-grid .article-card-footer {
  padding-top: 12px;
  border-top: 1px solid var(--o4-premium-line);
}

@media (prefers-reduced-motion: no-preference) {
  .tool-proof-image {
    will-change: transform, filter;
  }

  .tool-proof-card:hover .tool-proof-image,
  .collection-tool-card:hover .tool-proof-image,
  .article-shell-use-case .tool-card:hover .tool-proof-image {
    transform: scale(1.018);
  }

  .tool-jump-nav-compact a,
  .collection-tool-card,
  .article-shell-use-case .tool-card,
  .collection-archive-grid .article-card,
  .archive-shell-use-cases .article-card {
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
  }
}

@media (max-width: 1180px) {
  .tool-hero-dossier,
  .collection-shell-header,
  .archive-header-collections,
  .archive-header-use-cases,
  .collection-spotlight.card {
    grid-template-columns: 1fr;
  }

  .collection-shell-sidebar,
  .archive-proof.card.archive-proof-card,
  .collection-spotlight-meta {
    padding-left: 0;
    border-left: 0;
  }

  .tool-dossier-facts,
  .tool-dossier-matrix,
  .article-shell-use-case .article-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .tool-hero-dossier.card,
  .collection-shell.card,
  .article-shell-use-case.card,
  .archive-header-collections.card,
  .archive-header-use-cases.card {
    padding-bottom: 26px;
  }

  .tool-hero-dossier h1,
  .collection-shell-header h1,
  .article-shell-use-case .article-header h1,
  .archive-header-collections .archive-header-copy h1,
  .archive-header-use-cases .archive-header-copy h1 {
    max-width: none;
    font-size: clamp(2.3rem, 11vw, 3.45rem);
  }

  .tool-dossier-facts,
  .tool-dossier-matrix,
  .article-shell-use-case .article-proof-grid,
  .collection-picks-grid {
    grid-template-columns: 1fr;
  }

  .tool-hero-actions,
  .collection-tool-card-actions,
  .article-shell-use-case .tool-card-footer,
  .article-shell-use-case .article-footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .tool-proof-card--hero .tool-proof-surface {
    min-height: 240px;
  }

  .tool-jump-nav.tool-jump-nav-compact {
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .tool-jump-nav.tool-jump-nav-compact::-webkit-scrollbar {
    display: none;
  }

  .tool-jump-nav-compact a {
    white-space: nowrap;
  }

  .tool-dossier-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .collection-shell-sidebar .article-proof-card:nth-of-type(n+3),
  .archive-header-meta .badge:nth-child(n+3) {
    display: none;
  }
}

/*
 * Premium editorial pass: reviews and comparisons as analyst briefings.
 */
.archive-shell-editorial,
.archive-shell-comparisons,
.comparison-single-section {
  box-sizing: border-box;
  padding-top: clamp(36px, 5vw, 70px);
  padding-right: clamp(18px, 3vw, 36px);
  padding-left: clamp(18px, 3vw, 36px);
}

.archive-header-editorial.card,
.archive-header-comparisons.card {
  overflow: visible;
  padding: 0 0 clamp(28px, 4vw, 46px);
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--o4-premium-line);
  background: transparent;
  box-shadow: none;
}

.archive-header-editorial::before,
.archive-header-editorial::after,
.archive-header-comparisons::before,
.archive-header-comparisons::after,
.article-card-review::after,
.article-card-comparison::after {
  display: none !important;
}

.archive-header-editorial,
.archive-header-comparisons {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(28px, 4.8vw, 70px);
  align-items: start;
}

.archive-header-editorial .archive-header-copy,
.archive-header-comparisons .archive-header-copy {
  display: grid;
  gap: 14px;
  max-width: 790px;
}

.archive-header-editorial .archive-header-copy h1,
.archive-header-comparisons .archive-header-copy h1,
.article-shell-review-detail h1,
.comparison-lead h1 {
  max-width: 14ch;
  color: #f4f1e9;
  font-size: clamp(2.55rem, 4.5vw, 5rem);
  font-weight: 730;
  line-height: 0.99;
  letter-spacing: 0;
}

.archive-header-editorial .section-intro,
.archive-header-comparisons .section-intro,
.article-shell-review-detail .section-intro,
.comparison-lead p {
  max-width: 52rem;
  color: rgba(238, 240, 242, 0.68);
  font-size: clamp(1rem, 1.15vw, 1.14rem);
  line-height: 1.62;
}

.archive-header-editorial .archive-proof-card,
.archive-header-comparisons .archive-proof-card {
  padding-left: clamp(18px, 2.2vw, 28px);
  border-top: 0;
  border-left: 1px solid var(--o4-premium-line);
}

.archive-shell-editorial .article-archive-grid,
.archive-shell-comparisons .article-archive-grid {
  gap: 14px;
}

.article-card-review.card,
.article-card-comparison.card {
  overflow: hidden;
  border-radius: 8px;
  background: #111318;
}

.article-card-review.card {
  padding: 0;
}

.article-card-comparison.card {
  padding: 18px;
}

.article-card-review .article-card-topline,
.article-card-review h2,
.article-card-review .article-card-body,
.article-card-review .badges,
.article-card-review .article-card-footer {
  padding-inline: 16px;
}

.article-card-review .article-card-topline {
  padding-top: 14px;
}

.article-card-review h2,
.article-card-comparison h2 {
  margin-top: 10px;
  font-size: clamp(1.06rem, 1.35vw, 1.42rem);
  line-height: 1.18;
}

.article-card-review .article-card-body > p:first-child,
.article-card-comparison .article-card-body > p:first-child {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(238, 240, 242, 0.62);
  font-size: 0.88rem;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.article-card-review .article-card-note {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(238, 240, 242, 0.58);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-card-review .article-card-footer,
.article-card-comparison .article-card-footer {
  padding-bottom: 16px;
}

.article-card-review .button,
.article-card-comparison .button {
  width: 100%;
  min-height: 38px;
}

.tool-proof-card--review-preview,
.tool-proof-card--review-hero,
.tool-proof-card--review-panel,
.tool-proof-card--comparison {
  margin: 0;
  border-bottom: 1px solid var(--o4-premium-line);
  background: #0f1116;
}

.tool-proof-card--review-preview .tool-proof-surface,
.tool-proof-card--review-panel .tool-proof-surface,
.tool-proof-card--comparison .tool-proof-surface {
  height: clamp(156px, 17vw, 230px);
  min-height: 0;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(rgba(232, 235, 238, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 235, 238, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 16% 20%, rgba(200, 184, 141, 0.12), transparent 9rem),
    #0f1116;
  background-size: 24px 24px, 24px 24px, auto, auto;
}

.tool-proof-card--review-hero .tool-proof-surface {
  height: clamp(250px, 25vw, 350px);
  min-height: 0;
  border-radius: 8px;
  border-color: var(--o4-premium-line);
  background: #0f1116;
}

.tool-proof-card--review-preview .tool-proof-overlay,
.tool-proof-card--review-hero .tool-proof-overlay,
.tool-proof-card--review-panel .tool-proof-overlay,
.tool-proof-card--comparison .tool-proof-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 12px;
  background: linear-gradient(180deg, rgba(7, 8, 11, 0.22), transparent 42%, rgba(7, 8, 11, 0.7));
}

.tool-proof-card--review-preview .tool-proof-brand-copy,
.tool-proof-card--review-hero .tool-proof-brand-copy,
.tool-proof-card--review-panel .tool-proof-brand-copy,
.tool-proof-card--comparison .tool-proof-brand-copy,
.tool-proof-card--review-preview.is-proof-loaded .tool-proof-body,
.tool-proof-card--review-hero.is-proof-loaded .tool-proof-body,
.tool-proof-card--review-panel.is-proof-loaded .tool-proof-body,
.tool-proof-card--comparison.is-proof-loaded .tool-proof-body {
  display: none;
}

.tool-proof-card--review-preview .tool-proof-logo,
.tool-proof-card--review-preview .tool-proof-monogram,
.tool-proof-card--review-hero .tool-proof-logo,
.tool-proof-card--review-hero .tool-proof-monogram,
.tool-proof-card--review-panel .tool-proof-logo,
.tool-proof-card--review-panel .tool-proof-monogram,
.tool-proof-card--comparison .tool-proof-logo,
.tool-proof-card--comparison .tool-proof-monogram {
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: 7px;
  border: 1px solid rgba(232, 235, 238, 0.22);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.tool-proof-card--review-preview:not(.is-proof-loaded) .tool-proof-image,
.tool-proof-card--review-hero:not(.is-proof-loaded) .tool-proof-image,
.tool-proof-card--review-panel:not(.is-proof-loaded) .tool-proof-image,
.tool-proof-card--comparison:not(.is-proof-loaded) .tool-proof-image {
  opacity: 0;
}

.tool-proof-card--review-preview:not(.is-proof-loaded) .tool-proof-body,
.tool-proof-card--review-hero:not(.is-proof-loaded) .tool-proof-body,
.tool-proof-card--review-panel:not(.is-proof-loaded) .tool-proof-body,
.tool-proof-card--comparison:not(.is-proof-loaded) .tool-proof-body {
  display: grid;
  align-self: end;
  margin-top: auto;
}

.tool-proof-card--review-preview:not(.is-proof-loaded) .tool-proof-tagline,
.tool-proof-card--review-hero:not(.is-proof-loaded) .tool-proof-tagline,
.tool-proof-card--review-panel:not(.is-proof-loaded) .tool-proof-tagline,
.tool-proof-card--comparison:not(.is-proof-loaded) .tool-proof-tagline {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(238, 240, 242, 0.72);
  font-size: 0.78rem;
  line-height: 1.38;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tool-proof-card--review-preview:not(.is-proof-loaded) .tool-proof-metrics,
.tool-proof-card--review-preview:not(.is-proof-loaded) .tool-proof-best-for,
.tool-proof-card--review-preview:not(.is-proof-loaded) .tool-proof-badges,
.tool-proof-card--review-hero:not(.is-proof-loaded) .tool-proof-metrics,
.tool-proof-card--review-hero:not(.is-proof-loaded) .tool-proof-best-for,
.tool-proof-card--review-hero:not(.is-proof-loaded) .tool-proof-badges,
.tool-proof-card--review-panel:not(.is-proof-loaded) .tool-proof-metrics,
.tool-proof-card--review-panel:not(.is-proof-loaded) .tool-proof-best-for,
.tool-proof-card--review-panel:not(.is-proof-loaded) .tool-proof-badges,
.tool-proof-card--comparison:not(.is-proof-loaded) .tool-proof-metrics,
.tool-proof-card--comparison:not(.is-proof-loaded) .tool-proof-best-for,
.tool-proof-card--comparison:not(.is-proof-loaded) .tool-proof-badges {
  display: none;
}

.comparison-card-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.comparison-card-tool {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  gap: 7px;
  min-height: 32px;
  padding: 4px 8px 4px 5px;
  border: 1px solid var(--o4-premium-line);
  border-radius: 999px;
  color: rgba(238, 240, 242, 0.72);
  background: rgba(255, 255, 255, 0.03);
}

.comparison-card-tool img,
.comparison-card-tool > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #111216;
  background: rgba(255, 255, 255, 0.94);
  font-size: 0.58rem;
  font-weight: 800;
}

.comparison-card-tool img {
  object-fit: contain;
  padding: 4px;
}

.comparison-card-tool small {
  overflow: hidden;
  max-width: 13rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 700;
}

.article-shell-review-detail.card,
.comparison-lead.card {
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.review-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(28px, 4.8vw, 70px);
  align-items: start;
  padding-bottom: clamp(26px, 4vw, 44px);
  border-bottom: 1px solid var(--o4-premium-line);
}

.article-shell-review-detail .article-header-review {
  display: grid;
  gap: 14px;
  padding: 0;
  border: 0;
}

.article-shell-review-detail .article-proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.article-shell-review-detail .article-proof-card,
.article-shell-review-detail .tool-section-grid > .card,
.article-shell-review-detail .article-footnote-block,
.comparison-fit-signal.card,
.comparison-support-grid > .card {
  border: 1px solid var(--o4-premium-line);
  border-radius: 8px;
  background: #111318;
  box-shadow: none;
}

.article-shell-review-detail .tool-section-grid,
.comparison-support-grid {
  gap: 14px;
  margin-top: 22px;
}

.review-tool-panel.card {
  overflow: hidden;
  padding: 0;
}

.review-tool-panel > h2,
.review-tool-panel > p,
.review-tool-panel > .badges,
.review-tool-panel > .article-card-note,
.review-tool-panel > .hero-actions {
  padding-inline: 16px;
}

.review-tool-panel > h2 {
  margin-top: 0;
  padding-top: 16px;
}

.review-tool-panel > .hero-actions {
  padding-bottom: 16px;
}

.article-shell-review-detail .article-content {
  max-width: 780px;
  margin-top: clamp(24px, 3vw, 36px);
  color: rgba(238, 240, 242, 0.72);
}

.article-shell-review-detail .article-content h2,
.article-shell-review-detail .article-content h3 {
  max-width: 18ch;
  color: #f4f1e9;
}

.article-shell-review-detail .article-footer {
  justify-content: flex-start;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--o4-premium-line);
}

.comparison-lead.card {
  padding-bottom: clamp(26px, 4vw, 44px);
  border-bottom: 1px solid var(--o4-premium-line);
}

.comparison-lead h1 {
  max-width: 20ch;
}

.comparison-lead .editorial-content,
.comparison-lead > p:not(.section-kicker),
.comparison-lead ul {
  max-width: 880px;
}

.comparison-tool-grid {
  gap: 14px;
  margin-top: clamp(22px, 3vw, 36px);
}

.comparison-tool-card.card {
  overflow: hidden;
  padding: 0;
  border-radius: 8px;
  background: #111318;
}

.comparison-tool-card > h2,
.comparison-tool-card > p,
.comparison-tool-card > .badges,
.comparison-tool-card > p:last-child {
  padding-inline: 16px;
}

.comparison-tool-card > h2 {
  margin-top: 16px;
  font-size: clamp(1.12rem, 1.45vw, 1.55rem);
}

.comparison-tool-card > p {
  margin-top: 10px;
  color: rgba(238, 240, 242, 0.64);
  font-size: 0.88rem;
  line-height: 1.52;
}

.comparison-tool-card > p strong {
  color: rgba(246, 246, 244, 0.82);
}

.comparison-tool-card > p:nth-of-type(n+4) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.comparison-tool-card > .badges {
  gap: 6px;
  margin-top: 12px;
}

.comparison-tool-card .badge:nth-child(n+3) {
  display: none;
}

.comparison-tool-card > p:last-child {
  padding-bottom: 16px;
}

.comparison-fit-signal.card {
  margin-top: 14px;
  padding: 20px;
}

.comparison-fit-signal h2,
.comparison-support-grid h2 {
  margin-top: 0;
  font-size: clamp(1.3rem, 1.75vw, 2rem);
}

@media (max-width: 1180px) {
  .archive-header-editorial,
  .archive-header-comparisons,
  .review-hero-grid {
    grid-template-columns: 1fr;
  }

  .archive-header-editorial .archive-proof-card,
  .archive-header-comparisons .archive-proof-card {
    padding-left: 0;
    border-left: 0;
  }

  .article-shell-review-detail .article-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .archive-header-editorial .archive-header-copy h1,
  .archive-header-comparisons .archive-header-copy h1,
  .article-shell-review-detail h1,
  .comparison-lead h1 {
    max-width: none;
    font-size: clamp(2.3rem, 11vw, 3.45rem);
  }

  .article-shell-review-detail .article-proof-grid,
  .article-shell-review-detail .tool-section-grid,
  .comparison-tool-grid,
  .comparison-support-grid {
    grid-template-columns: 1fr;
  }

  .archive-header-meta .badge:nth-child(n+3),
  .article-card-review .badge:nth-child(n+3) {
    display: none;
  }

  .review-tool-panel > .hero-actions,
  .article-shell-review-detail .article-footer {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/*
 * Premium coverage pass: regional guides without SEO-page clutter.
 */
.archive-shell-coverage,
.coverage-single-section {
  box-sizing: border-box;
  padding-top: clamp(36px, 5vw, 70px);
  padding-right: clamp(18px, 3vw, 36px);
  padding-left: clamp(18px, 3vw, 36px);
}

.archive-header-coverage .archive-proof-card li {
  grid-template-columns: 17px minmax(0, 1fr);
}

.article-card-coverage.card {
  overflow: hidden;
  padding: 16px;
  border-radius: 8px;
  background: #111318;
}

.article-card-coverage.is-emphasis {
  border-color: rgba(200, 184, 141, 0.24);
  background:
    linear-gradient(180deg, rgba(200, 184, 141, 0.035), transparent 42%),
    #111318;
}

.article-card-coverage .article-card-topline {
  align-items: center;
}

.article-card-coverage h2 {
  margin-top: 12px;
  font-size: clamp(1.08rem, 1.35vw, 1.44rem);
  line-height: 1.18;
}

.article-card-coverage .article-card-body > p:first-child,
.article-card-coverage .article-card-note {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(238, 240, 242, 0.62);
  font-size: 0.88rem;
  line-height: 1.48;
  -webkit-box-orient: vertical;
}

.article-card-coverage .article-card-body > p:first-child {
  -webkit-line-clamp: 3;
}

.article-card-coverage .article-card-note {
  -webkit-line-clamp: 3;
}

.article-card-coverage .button {
  width: 100%;
  min-height: 38px;
}

.article-shell-coverage.card {
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.article-shell-coverage .article-header-review {
  display: grid;
  gap: 14px;
  padding: 0 0 clamp(26px, 4vw, 44px);
  border-bottom: 1px solid var(--o4-premium-line);
}

.article-shell-coverage h1 {
  max-width: 14ch;
  color: #f4f1e9;
  font-size: clamp(2.55rem, 4.5vw, 5rem);
  font-weight: 730;
  line-height: 0.99;
  letter-spacing: 0;
}

.article-shell-coverage .section-intro {
  max-width: 52rem;
  color: rgba(238, 240, 242, 0.68);
  font-size: clamp(1rem, 1.15vw, 1.14rem);
  line-height: 1.62;
}

.article-shell-coverage .article-proof-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.article-shell-coverage .article-proof-card,
.article-shell-coverage .tool-section-grid > .card {
  border: 1px solid var(--o4-premium-line);
  border-radius: 8px;
  background: #111318;
  box-shadow: none;
}

.article-shell-coverage .tool-section-grid {
  gap: 14px;
  margin-top: 22px;
}

.article-shell-coverage .section {
  padding: clamp(24px, 3vw, 38px) 0;
  border-top: 1px solid var(--o4-premium-line);
}

.article-shell-coverage .tool-card.card {
  overflow: hidden;
  padding: 0;
  border-radius: 8px;
  background: #111318;
}

.article-shell-coverage .tool-card > .card-meta,
.article-shell-coverage .tool-card > h3,
.article-shell-coverage .tool-card > .tool-card-summary,
.article-shell-coverage .tool-card > .article-card-note,
.article-shell-coverage .tool-card > .badges,
.article-shell-coverage .tool-card-footer {
  padding-inline: 14px;
}

.article-shell-coverage .tool-card > .card-meta {
  padding-top: 13px;
}

.article-shell-coverage .tool-card .article-card-note {
  display: none;
}

.article-shell-coverage .article-content {
  max-width: 780px;
  margin-top: clamp(24px, 3vw, 36px);
  color: rgba(238, 240, 242, 0.72);
}

.article-shell-coverage .article-content h2,
.article-shell-coverage .article-content h3 {
  max-width: 18ch;
  color: #f4f1e9;
}

.article-shell-coverage .article-footer {
  justify-content: flex-start;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--o4-premium-line);
}

@media (max-width: 1180px) {
  .article-shell-coverage .article-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .article-shell-coverage h1 {
    max-width: none;
    font-size: clamp(2.3rem, 11vw, 3.45rem);
  }

  .article-shell-coverage .article-proof-grid,
  .article-shell-coverage .tool-section-grid {
    grid-template-columns: 1fr;
  }

  .article-shell-coverage .article-footer {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/*
 * Premium policy/static page pass: trust pages become navigable operating
 * documents instead of plain article blocks.
 */
.page-section-premium {
  padding-top: 50px;
  padding-bottom: 72px;
}

.page-shell.page-shell-premium,
.form-shell.page-shell-premium {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid rgba(238, 240, 242, 0.1);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(200, 184, 141, 0.055), transparent 31%),
    linear-gradient(180deg, rgba(18, 20, 24, 0.96), rgba(8, 10, 14, 0.99));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
}

.page-shell.page-shell-premium::before,
.form-shell.page-shell-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(238, 240, 242, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(238, 240, 242, 0.028) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(140deg, transparent 0 12%, #000 35%, transparent 82%);
}

.page-shell.page-shell-premium > *,
.form-shell.page-shell-premium > * {
  position: relative;
  z-index: 1;
}

.page-shell-premium.page-shell-trust {
  background:
    linear-gradient(135deg, rgba(122, 167, 138, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(18, 20, 24, 0.96), rgba(8, 10, 14, 0.99));
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 350px);
  gap: 28px;
  align-items: stretch;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(238, 240, 242, 0.09);
}

.page-shell-premium .page-shell-header {
  align-content: center;
  min-height: 270px;
}

.page-kicker-row {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.page-kicker-row span {
  display: inline-flex;
  color: rgba(200, 184, 141, 0.96);
}

.page-shell-premium .page-shell-header h1 {
  max-width: 13ch;
  color: #f4f1e9;
  font-size: 4.6rem;
  font-weight: 730;
  line-height: 0.98;
  letter-spacing: 0;
}

.page-shell-premium .page-shell-lede {
  max-width: 54rem;
  color: rgba(238, 240, 242, 0.7);
  font-size: 1.08rem;
  line-height: 1.62;
}

.page-signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.page-signal-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(238, 240, 242, 0.1);
  border-radius: 999px;
  color: rgba(238, 240, 242, 0.78);
  background: rgba(255, 255, 255, 0.035);
  font-family: var(--o4-font-ui);
  font-size: 0.68rem;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-intel-panel {
  display: grid;
  align-content: end;
  gap: 10px;
  min-height: 270px;
  padding: 22px;
  border: 1px solid rgba(238, 240, 242, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 42%),
    #111318;
}

.page-intel-mark {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: auto;
  border: 1px solid rgba(200, 184, 141, 0.24);
  border-radius: 8px;
  color: #f4f1e9;
  background:
    radial-gradient(circle at 35% 24%, rgba(200, 184, 141, 0.18), transparent 55%),
    rgba(3, 6, 11, 0.42);
}

.page-intel-mark .o4-ui-icon {
  width: 30px;
  height: 30px;
}

.page-intel-panel h2,
.page-pillar-card h2 {
  margin: 0;
  color: #f4f1e9;
  font-size: 1.18rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.page-intel-panel p:last-child,
.page-pillar-card p,
.page-route-link small {
  margin: 0;
  color: rgba(238, 240, 242, 0.62);
  font-size: 0.9rem;
  line-height: 1.52;
}

.page-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.page-pillar-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 12px;
  padding: 16px;
  border: 1px solid rgba(238, 240, 242, 0.09);
  border-radius: 8px;
  background: #111318;
}

.page-pillar-card p {
  grid-column: 2;
}

.page-pillar-icon,
.page-route-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(122, 167, 138, 0.22);
  border-radius: 8px;
  color: rgba(219, 226, 219, 0.95);
  background: rgba(122, 167, 138, 0.08);
}

.page-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  gap: 22px;
  margin-top: 22px;
}

.page-body-grid-single {
  grid-template-columns: minmax(0, 820px);
}

.page-content-panel {
  max-width: none;
  padding: 22px;
  border: 1px solid rgba(238, 240, 242, 0.08);
  border-radius: 8px;
  background: rgba(3, 6, 11, 0.26);
}

.page-shell-premium .page-content-panel p,
.page-shell-premium .page-content-panel li {
  color: rgba(238, 240, 242, 0.71);
  font-size: 1rem;
  line-height: 1.68;
}

.page-shell-premium .page-content-panel h2 {
  margin-top: 1.5em;
  color: #f4f1e9;
  font-size: 1.55rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.page-shell-premium .page-content-panel h3 {
  margin-top: 1.3em;
  color: #f4f1e9;
  font-size: 1.18rem;
  letter-spacing: 0;
}

.page-shell-premium .page-content-panel > :first-child {
  margin-top: 0;
}

.page-shell-seo-guide .page-content-panel {
  display: grid;
  gap: 20px;
  padding: clamp(18px, 2.4vw, 28px);
  background:
    radial-gradient(circle at top left, rgba(67, 39, 98, 0.24), transparent 34%),
    rgba(3, 6, 11, 0.2);
}

.page-shell-seo-guide .page-content-panel > h2 {
  margin: 12px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(238, 240, 242, 0.09);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.page-shell-seo-guide .page-content-panel > h2:first-child,
.page-shell-seo-guide .guide-answer-box + h2 {
  padding-top: 0;
  border-top: 0;
}

.page-shell-seo-guide .page-content-panel > p {
  max-width: 76ch;
}

.page-shell-seo-guide .page-content-panel a {
  color: #f4f1e9;
  text-decoration-color: rgba(122, 76, 157, 0.85);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.page-shell-seo-guide .page-content-panel a:hover,
.page-shell-seo-guide .page-content-panel a:focus-visible {
  color: #ffffff;
  text-decoration-color: rgba(200, 184, 141, 0.95);
}

.guide-answer-box,
.guide-warning {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 2.5vw, 28px);
  border: 1px solid rgba(238, 240, 242, 0.11);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(67, 39, 98, 0.3), rgba(17, 19, 24, 0.9) 46%, rgba(3, 6, 11, 0.92)),
    #111318;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}

.guide-answer-box::before,
.guide-warning::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(238, 240, 242, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 240, 242, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(120deg, rgba(0, 0, 0, 0.95), transparent 70%);
}

.guide-answer-box > *,
.guide-warning > * {
  position: relative;
  z-index: 1;
}

.guide-label,
.guide-tool-type {
  margin: 0 0 8px;
  color: rgba(200, 184, 141, 0.88);
  font-family: var(--o4-font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-shell-seo-guide .guide-answer-box h2,
.page-shell-seo-guide .guide-warning h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  line-height: 1.05;
}

.page-shell-seo-guide .guide-answer-box p,
.page-shell-seo-guide .guide-warning p {
  max-width: 82ch;
  color: rgba(238, 240, 242, 0.8);
  font-size: clamp(1rem, 1.35vw, 1.08rem);
}

.page-shell-seo-guide .guide-answer-box ul {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.page-shell-seo-guide .guide-answer-box li {
  padding: 12px 13px;
  border: 1px solid rgba(238, 240, 242, 0.08);
  border-radius: 10px;
  background: rgba(3, 6, 11, 0.3);
}

.guide-tool-matrix,
.guide-decision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.guide-tool-card,
.guide-decision-grid section {
  padding: 16px;
  border: 1px solid rgba(238, 240, 242, 0.1);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 42%),
    rgba(17, 19, 24, 0.82);
}

.guide-tool-card h3,
.guide-decision-grid h3 {
  margin: 0 0 8px;
  color: #f4f1e9;
  font-size: 1.05rem;
  line-height: 1.18;
}

.page-shell-premium .guide-tool-card p,
.page-shell-premium .guide-decision-grid p {
  margin: 0;
  color: rgba(238, 240, 242, 0.7);
  font-size: 0.94rem;
  line-height: 1.58;
}

.guide-tool-card span {
  display: block;
  margin-top: 13px;
  padding-top: 10px;
  border-top: 1px solid rgba(238, 240, 242, 0.08);
  color: rgba(173, 178, 182, 0.82);
  font-family: var(--o4-font-ui);
  font-size: 0.79rem;
  line-height: 1.45;
}

.guide-step-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: guide-step;
}

.guide-step-list li {
  position: relative;
  min-height: 54px;
  padding: 13px 14px 13px 58px;
  border: 1px solid rgba(238, 240, 242, 0.09);
  border-radius: 12px;
  background: rgba(17, 19, 24, 0.72);
  counter-increment: guide-step;
}

.guide-step-list li::before {
  content: counter(guide-step, decimal-leading-zero);
  position: absolute;
  top: 12px;
  left: 13px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(122, 76, 157, 0.6);
  border-radius: 9px;
  color: #ffffff;
  background: rgba(67, 39, 98, 0.7);
  font-family: var(--o4-font-ui);
  font-size: 0.72rem;
}

.guide-warning {
  background:
    linear-gradient(135deg, rgba(200, 184, 141, 0.12), rgba(17, 19, 24, 0.93) 48%, rgba(67, 39, 98, 0.2)),
    #111318;
}

.page-route-panel {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(238, 240, 242, 0.09);
  border-radius: 8px;
  background: #111318;
}

.page-route-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid rgba(238, 240, 242, 0.08);
  color: inherit;
  text-decoration: none;
}

.page-route-link:first-of-type {
  border-top: 0;
}

.page-route-link strong {
  display: block;
  margin-bottom: 3px;
  color: #f4f1e9;
  font-family: var(--o4-font-ui);
  font-size: 0.86rem;
  letter-spacing: 0;
}

.page-route-link:hover strong,
.page-route-link:focus-visible strong {
  color: rgba(200, 184, 141, 0.98);
}

.page-shell-form .page-shell-grid {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .page-intel-mark .o4-ui-icon {
    animation: o4-page-signal 7s ease-in-out infinite;
  }

  .page-pillar-card,
  .page-route-icon {
    transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
  }

  .page-pillar-card:hover {
    transform: translateY(-2px);
    border-color: rgba(200, 184, 141, 0.2);
    background: #13161b;
  }

  .page-route-link:hover .page-route-icon,
  .page-route-link:focus-visible .page-route-icon {
    transform: translateX(2px);
    border-color: rgba(200, 184, 141, 0.28);
    background: rgba(200, 184, 141, 0.08);
  }
}

@keyframes o4-page-signal {
  0%,
  100% {
    opacity: 0.78;
    transform: translateY(0);
  }

  48% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

@media (max-width: 960px) {
  .page-hero-grid,
  .page-body-grid {
    grid-template-columns: 1fr;
  }

  .page-shell-premium .page-shell-header,
  .page-intel-panel {
    min-height: 0;
  }

  .page-pillar-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-section-premium {
    padding-top: 30px;
    padding-bottom: 48px;
  }

  .page-shell.page-shell-premium,
  .form-shell.page-shell-premium {
    padding: 20px;
    border-radius: 8px;
  }

  .page-shell-premium .page-shell-header h1 {
    max-width: none;
    font-size: 3.1rem;
  }

  .page-shell-premium .page-shell-lede {
    font-size: 1rem;
  }

  .page-content-panel,
  .page-route-panel,
  .page-intel-panel {
    padding: 16px;
  }
}

@media (max-width: 520px) {
  .page-shell-premium .page-shell-header h1 {
    font-size: 2.45rem;
  }

  .page-pillar-card {
    grid-template-columns: 1fr;
  }

  .page-pillar-card p {
    grid-column: auto;
  }
}

/*
 * Premium proof fallback pass: blocked official screenshots should still feel
 * like intentional editorial proof, not empty media slots.
 */
.tool-proof-card--no-screenshot .tool-proof-surface {
  background:
    linear-gradient(rgba(238, 240, 242, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 240, 242, 0.028) 1px, transparent 1px),
    radial-gradient(circle at 18% 20%, rgba(200, 184, 141, 0.14), transparent 9rem),
    radial-gradient(circle at 84% 12%, rgba(122, 167, 138, 0.09), transparent 11rem),
    #101217;
  background-size: 26px 26px, 26px 26px, auto, auto, auto;
}

.tool-proof-card--no-screenshot .tool-proof-fallback {
  display: grid;
  align-items: stretch;
  background:
    linear-gradient(180deg, rgba(17, 19, 24, 0.02), rgba(17, 19, 24, 0.82)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 44%);
}

.tool-proof-card--no-screenshot .tool-proof-fallback-grid {
  opacity: 0.78;
  background-image:
    linear-gradient(rgba(238, 240, 242, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 240, 242, 0.04) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(140deg, rgba(0, 0, 0, 0.86), transparent 78%);
}

.tool-proof-fallback-identity {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: 7px;
  width: min(58%, 310px);
  min-height: 100%;
  padding: 22px;
}

.tool-proof-fallback-mark {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 4px;
  border: 1px solid rgba(238, 240, 242, 0.16);
  border-radius: 12px;
  color: #101217;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.tool-proof-fallback-mark img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 12px;
  object-fit: contain;
}

.tool-proof-fallback-mark > span {
  font-family: var(--o4-font-ui);
  font-size: 1.14rem;
  font-weight: 820;
  letter-spacing: 0.08em;
}

.tool-proof-mark-fallback {
  display: none;
  place-items: center;
  width: 100%;
  height: 100%;
}

.tool-proof-mark-fallback.is-active {
  display: grid;
}

.tool-proof-logo-fallback {
  display: none;
}

.tool-proof-card.is-proof-mark-missing .tool-proof-fallback-mark img,
.tool-proof-card.is-proof-mark-missing .tool-proof-logo {
  display: none;
}

.tool-proof-card.is-proof-mark-missing .tool-proof-mark-fallback,
.tool-proof-card.is-proof-mark-missing .tool-proof-logo-fallback {
  display: grid;
}

.tool-proof-fallback-eyebrow {
  color: rgba(200, 184, 141, 0.82);
  font-family: var(--o4-font-ui);
  font-size: 0.66rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tool-proof-fallback-identity strong {
  color: #f4f1e9;
  font-family: var(--o4-font-ui);
  font-size: clamp(1.06rem, 1.6vw, 1.48rem);
  line-height: 1.08;
}

.tool-proof-fallback-identity small {
  overflow: hidden;
  max-width: 100%;
  color: rgba(238, 240, 242, 0.56);
  font-size: 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tool-proof-fallback-lines {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: grid;
  gap: 7px;
  width: min(34%, 180px);
}

.tool-proof-fallback-lines span {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 184, 141, 0.45), transparent);
}

.tool-proof-fallback-lines span:nth-child(2) {
  width: 72%;
  margin-left: auto;
  opacity: 0.72;
}

.tool-proof-fallback-lines span:nth-child(3) {
  width: 46%;
  margin-left: auto;
  opacity: 0.46;
}

.tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-overlay,
.tool-proof-card--home-feature.tool-proof-card--no-screenshot .tool-proof-overlay {
  display: none;
}

.tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback,
.tool-proof-card--home-feature.tool-proof-card--no-screenshot .tool-proof-fallback {
  background:
    radial-gradient(circle at 16% 18%, rgba(200, 184, 141, 0.16), transparent 7rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 48%),
    #101217;
}

.tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback-identity,
.tool-proof-card--home-feature.tool-proof-card--no-screenshot .tool-proof-fallback-identity {
  width: 100%;
  padding: 16px;
}

.tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback-mark,
.tool-proof-card--home-feature.tool-proof-card--no-screenshot .tool-proof-fallback-mark {
  width: 48px;
  height: 48px;
  margin-bottom: 0;
  border-radius: 10px;
}

.tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback-eyebrow,
.tool-proof-card--home-feature.tool-proof-card--no-screenshot .tool-proof-fallback-eyebrow {
  font-size: 0.58rem;
}

.tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback-identity strong,
.tool-proof-card--home-feature.tool-proof-card--no-screenshot .tool-proof-fallback-identity strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 1rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback-copy,
.tool-proof-card--home-feature.tool-proof-card--no-screenshot .tool-proof-fallback-copy {
  display: none;
}

.tool-proof-card--stack.tool-proof-card--no-screenshot .tool-proof-fallback-identity,
.tool-proof-card--stack.is-proof-missing .tool-proof-fallback-identity,
.tool-proof-card--related.tool-proof-card--no-screenshot .tool-proof-fallback-identity,
.tool-proof-card--related.is-proof-missing .tool-proof-fallback-identity,
.tool-proof-card--review-preview.tool-proof-card--no-screenshot .tool-proof-fallback-identity,
.tool-proof-card--review-hero.tool-proof-card--no-screenshot .tool-proof-fallback-identity,
.tool-proof-card--comparison.tool-proof-card--no-screenshot .tool-proof-fallback-identity {
  width: min(66%, 330px);
  padding: 18px;
}

.tool-proof-card--stack.tool-proof-card--no-screenshot .tool-proof-fallback-mark,
.tool-proof-card--stack.is-proof-missing .tool-proof-fallback-mark,
.tool-proof-card--related.tool-proof-card--no-screenshot .tool-proof-fallback-mark,
.tool-proof-card--related.is-proof-missing .tool-proof-fallback-mark,
.tool-proof-card--review-preview.tool-proof-card--no-screenshot .tool-proof-fallback-mark,
.tool-proof-card--review-hero.tool-proof-card--no-screenshot .tool-proof-fallback-mark,
.tool-proof-card--comparison.tool-proof-card--no-screenshot .tool-proof-fallback-mark {
  width: 52px;
  height: 52px;
}

@media (max-width: 760px) {
  .tool-proof-fallback-identity,
  .tool-proof-card--stack.tool-proof-card--no-screenshot .tool-proof-fallback-identity,
  .tool-proof-card--stack.is-proof-missing .tool-proof-fallback-identity,
  .tool-proof-card--related.tool-proof-card--no-screenshot .tool-proof-fallback-identity,
  .tool-proof-card--related.is-proof-missing .tool-proof-fallback-identity,
  .tool-proof-card--review-preview.tool-proof-card--no-screenshot .tool-proof-fallback-identity,
  .tool-proof-card--review-hero.tool-proof-card--no-screenshot .tool-proof-fallback-identity,
  .tool-proof-card--comparison.tool-proof-card--no-screenshot .tool-proof-fallback-identity {
    width: 100%;
    padding: 16px;
  }

  .tool-proof-fallback-lines {
    width: 42%;
    opacity: 0.7;
  }
}

/*
 * Production frontend focus pass: make the homepage and tools archive more
 * visual, less text-heavy, and easier to scan under deadline pressure.
 */
.hero-home {
  min-height: calc(92svh - 68px);
  padding: clamp(64px, 7vw, 94px) 0 clamp(52px, 6vw, 78px);
  background:
    radial-gradient(circle at 72% 22%, rgba(200, 184, 141, 0.1), transparent 26rem),
    radial-gradient(circle at 18% 14%, rgba(122, 167, 138, 0.08), transparent 24rem),
    linear-gradient(180deg, #090b0f 0%, #0b0d12 58%, #090b0f 100%);
}

.hero-home::before {
  background-size: 32px 32px;
  opacity: 0.11;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.88fr);
  gap: clamp(34px, 5vw, 78px);
}

.hero-copy-column {
  max-width: 760px;
}

.hero-copy-column h1 {
  max-width: 12.5ch;
  font-size: clamp(3rem, 5.4vw, 5.65rem);
  line-height: 0.96;
}

.hero-intro {
  max-width: 42rem;
  color: rgba(238, 240, 242, 0.72);
  font-size: clamp(1rem, 1.15vw, 1.13rem);
  line-height: 1.62;
}

.quick-search {
  max-width: 720px;
  border-radius: 9px;
  border-color: rgba(238, 240, 242, 0.12);
  background: rgba(17, 19, 24, 0.92);
  box-shadow: none;
}

.quick-search input {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.03);
}

.quick-searches {
  max-width: 720px;
}

.quick-chip {
  min-height: 34px;
  border-color: rgba(238, 240, 242, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(238, 240, 242, 0.66);
  font-size: 0.78rem;
}

.quick-chip:hover,
.quick-chip:focus-visible {
  border-color: rgba(200, 184, 141, 0.5);
  color: rgba(246, 246, 244, 0.94);
}

.hero-trust-inline {
  gap: 14px 20px;
}

.hero-visual-proofwall {
  align-self: stretch;
  display: grid;
  align-items: center;
}

.hero-proofwall {
  position: relative;
  overflow: hidden;
  padding: clamp(14px, 1.6vw, 20px);
  border: 1px solid rgba(238, 240, 242, 0.11);
  border-radius: 10px;
  background:
    linear-gradient(rgba(238, 240, 242, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 240, 242, 0.028) 1px, transparent 1px),
    #111318;
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.32);
}

.hero-proofwall::before {
  content: "";
  position: absolute;
  inset: -40% 0 auto;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(200, 184, 141, 0.12), transparent);
  transform: translateY(-80%);
  pointer-events: none;
}

.hero-proofwall-head,
.hero-proofwall-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.hero-proofwall-head {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(238, 240, 242, 0.1);
}

.hero-proofwall-head h2 {
  max-width: 14ch;
  margin: 4px 0 0;
  font-size: clamp(1.35rem, 1.9vw, 2rem);
  line-height: 1.06;
}

.hero-proofwall-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(122, 167, 138, 0.26);
  border-radius: 999px;
  color: rgba(238, 240, 242, 0.78);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-proofwall-status span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #7aa78a;
  box-shadow: 0 0 0 6px rgba(122, 167, 138, 0.11);
}

.hero-proofwall-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.hero-proofwall-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: end;
  min-height: 142px;
  padding: 12px;
  border: 1px solid rgba(238, 240, 242, 0.1);
  border-radius: 8px;
  color: #f4f1e9;
  background:
    radial-gradient(circle at 18% 18%, rgba(200, 184, 141, 0.12), transparent 9rem),
    #0d0f14;
  isolation: isolate;
}

.hero-proofwall-card:first-child {
  grid-column: span 2;
  min-height: clamp(210px, 22vw, 286px);
}

.hero-proofwall-card:hover,
.hero-proofwall-card:focus-visible {
  color: #fff;
  text-decoration: none;
  border-color: rgba(200, 184, 141, 0.42);
}

.hero-proofwall-image,
.hero-proofwall-scrim {
  position: absolute;
  inset: 0;
}

.hero-proofwall-image {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0.72;
  filter: saturate(0.82) contrast(1.05);
}

.hero-proofwall-scrim {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 6, 9, 0.12), rgba(5, 6, 9, 0.32) 40%, rgba(5, 6, 9, 0.9)),
    radial-gradient(circle at 80% 10%, rgba(200, 184, 141, 0.15), transparent 12rem);
}

.hero-proofwall-mark {
  position: absolute;
  top: 10px;
  left: 10px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(238, 240, 242, 0.2);
  border-radius: 8px;
  color: #111318;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.hero-proofwall-mark img {
  width: 100%;
  height: 100%;
  padding: 7px;
  object-fit: contain;
}

.hero-proofwall-mark > span {
  font-family: var(--o4-font-ui);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.06em;
}

.hero-proofwall-card strong,
.hero-proofwall-card small {
  position: relative;
  z-index: 1;
}

.hero-proofwall-card strong {
  display: -webkit-box;
  overflow: hidden;
  max-width: 16rem;
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  line-height: 1.08;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hero-proofwall-card small {
  margin-top: 6px;
  color: rgba(238, 240, 242, 0.62);
  font-size: 0.72rem;
}

.hero-proofwall-footer {
  padding-top: 13px;
  border-top: 1px solid rgba(238, 240, 242, 0.1);
}

.hero-proofwall-footer span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(238, 240, 242, 0.66);
  font-size: 0.72rem;
  font-weight: 760;
}

.home-command-shell {
  grid-template-columns: minmax(0, 0.78fr) minmax(190px, 0.34fr) minmax(0, 1fr);
  min-height: 0;
  padding: clamp(22px, 2.6vw, 34px);
  border-radius: 10px;
}

.home-command-mode {
  min-height: 112px;
}

.home-command-mode p {
  -webkit-line-clamp: 3;
}

.archive-header-directory.card {
  align-items: center;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(238, 240, 242, 0.1);
}

.archive-header-directory .section-intro {
  max-width: 50rem;
}

.directory-hero-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  max-width: 680px;
  margin-top: 22px;
  padding: 8px;
  border: 1px solid rgba(238, 240, 242, 0.12);
  border-radius: 9px;
  background: rgba(17, 19, 24, 0.88);
}

.directory-hero-search input {
  min-height: 48px;
  border-color: transparent;
  background: rgba(255, 255, 255, 0.035);
}

.directory-hero-search .button {
  min-width: 116px;
}

.directory-shell {
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}

.directory-filters.card {
  border-radius: 8px;
  background: #111318;
  box-shadow: none;
}

.directory-filters-head {
  display: grid;
  gap: 6px;
}

.directory-filters-head .section-intro {
  display: none;
}

.directory-filters form {
  gap: 12px;
}

.directory-filters label {
  color: rgba(238, 240, 242, 0.72);
  font-size: 0.76rem;
}

.directory-filters input,
.directory-filters select {
  min-height: 44px;
  border-radius: 7px;
}

.directory-filter-footnote {
  padding-top: 14px;
  border-top: 1px solid rgba(238, 240, 242, 0.1);
}

.directory-pathways.card {
  padding: 0 0 18px;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(238, 240, 242, 0.1);
  background: transparent;
  box-shadow: none;
}

.directory-pathway-card {
  border-radius: 8px;
  background: #111318;
}

.directory-results-grid {
  grid-template-columns: repeat(auto-fill, minmax(282px, 1fr));
  gap: 14px;
}

.directory-tool-card.card {
  gap: 0;
  overflow: hidden;
  padding: 0;
  border-radius: 8px;
  background: #111318;
  box-shadow: none;
}

.directory-tool-card-frame {
  position: relative;
  display: grid;
  gap: 10px;
  height: 100%;
  padding: 0 14px 14px;
}

.directory-tool-card .tool-proof-card {
  margin: 0 -14px 2px;
}

.directory-tool-card .tool-proof-surface {
  min-height: 178px;
  border: 0;
  border-radius: 0;
}

.directory-tool-card .article-card-topline {
  position: absolute;
  top: 10px;
  right: 10px;
  left: 10px;
  z-index: 4;
  justify-content: flex-end;
  pointer-events: none;
}

.directory-tool-card .article-card-topline .card-meta {
  display: none;
}

.directory-shortlist-button {
  pointer-events: auto;
  min-height: 34px;
  padding: 0 10px;
  border-color: rgba(238, 240, 242, 0.18);
  border-radius: 999px;
  color: rgba(246, 246, 244, 0.84);
  background: rgba(8, 9, 12, 0.62);
  backdrop-filter: blur(10px);
}

.directory-shortlist-button:hover,
.directory-shortlist-button:focus-visible,
.directory-shortlist-button.is-pinned {
  border-color: rgba(200, 184, 141, 0.46);
  background: rgba(18, 20, 26, 0.84);
}

.directory-tool-title {
  margin: 2px 0 0;
  font-size: clamp(1.1rem, 1.25vw, 1.34rem);
  line-height: 1.1;
}

.directory-tool-card .tool-card-summary {
  display: -webkit-box;
  overflow: hidden;
  min-height: 2.8em;
  margin: 0;
  color: rgba(238, 240, 242, 0.62);
  font-size: 0.86rem;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.directory-tool-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.directory-tool-meta-row strong {
  display: none;
}

.directory-tool-meta-row span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  max-width: 100%;
  padding: 0 8px;
  border: 1px solid rgba(238, 240, 242, 0.1);
  border-radius: 999px;
  color: rgba(238, 240, 242, 0.66);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.7rem;
  font-weight: 720;
}

.directory-tool-card .badges {
  gap: 6px;
  margin-top: 0;
}

.directory-tool-card .badges .badge {
  min-height: 24px;
  padding-inline: 8px;
  color: rgba(238, 240, 242, 0.72);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.68rem;
}

.directory-tool-card .badges .badge:nth-child(n+3) {
  display: none;
}

.directory-tool-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding-top: 4px;
}

.directory-tool-card-actions .button {
  min-height: 36px;
  border-radius: 7px;
  font-size: 0.76rem;
}

.directory-tool-card-actions .button-ghost {
  padding-inline: 10px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-proofwall::before {
    animation: o4ProofScan 7s ease-in-out infinite;
  }

  .hero-proofwall-card,
  .directory-tool-card {
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  }

  .hero-proofwall-card:hover,
  .hero-proofwall-card:focus-visible,
  .directory-tool-card:hover,
  .directory-tool-card:focus-within {
    transform: translateY(-3px);
  }

  .hero-proofwall-card:hover .hero-proofwall-image,
  .hero-proofwall-card:focus-visible .hero-proofwall-image {
    transform: scale(1.025);
    filter: saturate(0.95) contrast(1.08);
  }

  .hero-proofwall-image {
    transition: transform 520ms ease, filter 520ms ease;
  }
}

@keyframes o4ProofScan {
  0%,
  52% {
    transform: translateY(-90%);
    opacity: 0;
  }

  62% {
    opacity: 1;
  }

  100% {
    transform: translateY(310%);
    opacity: 0;
  }
}

@media (max-width: 1180px) {
  .hero-grid,
  .home-command-shell,
  .archive-header-directory,
  .directory-shell {
    grid-template-columns: 1fr;
  }

  .directory-filters {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .hero-home {
    min-height: auto;
    padding-top: 46px;
    padding-bottom: 42px;
  }

  .hero-copy-column h1 {
    max-width: 9.8ch;
    font-size: clamp(2.55rem, 10.8vw, 3.35rem);
  }

  .hero-intro {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-actions {
    margin: 20px 0 16px;
  }

  .hero-capability-strip,
  .quick-searches {
    display: none;
  }

  .quick-search,
  .directory-hero-search {
    grid-template-columns: 1fr;
  }

  .hero-proofwall {
    margin-top: 18px;
  }

  .hero-proofwall-grid {
    grid-template-columns: 1fr;
  }

  .hero-proofwall-card:first-child {
    grid-column: auto;
    min-height: 178px;
  }

  .hero-proofwall-card:nth-child(n+3) {
    display: none;
  }

  .hero-proofwall-footer {
    display: grid;
    gap: 8px;
    align-items: start;
  }

  .home-command-visual {
    display: none;
  }

  .directory-hero-search {
    margin-top: 18px;
  }

  .directory-pathways {
    padding-bottom: 12px;
  }

  .directory-pathway-grid {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .directory-pathway-grid::-webkit-scrollbar {
    display: none;
  }

  .directory-pathway-card {
    flex: 0 0 150px;
    min-height: 70px;
    padding: 10px;
  }

  .directory-pathway-card .o4-card-icon {
    width: 26px;
    height: 26px;
  }

  .directory-pathway-card h3 {
    font-size: 0.82rem;
  }

  .directory-pathway-footer .badge {
    min-height: 20px;
    font-size: 0.58rem;
  }

  .directory-results-grid {
    grid-template-columns: 1fr;
  }

  .directory-tool-card .tool-proof-surface {
    min-height: 164px;
  }

  .directory-tool-card-actions {
    grid-template-columns: 1fr;
  }

  .home-command-shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "modes";
  }

  .home-command-modes {
    grid-template-columns: 1fr;
    overflow: hidden;
  }

  .home-command-mode {
    grid-template-columns: 38px minmax(0, 1fr);
    grid-template-areas:
      "icon title"
      "icon copy";
    min-height: 0;
    padding: 14px;
    column-gap: 12px;
    border-right: 0;
    border-bottom: 1px solid var(--o4-premium-line);
  }

  .home-command-mode:last-child {
    border-bottom: 0;
  }

  .home-command-mode .o4-card-icon {
    grid-area: icon;
    width: 36px;
    height: 36px;
  }

  .home-command-mode h3 {
    grid-area: title;
    font-size: 1rem;
    line-height: 1.2;
  }

  .home-command-mode p {
    grid-area: copy;
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    font-size: 0.84rem;
    line-height: 1.42;
  }
}

/* Final command-flow override: this must stay after all brand-sprint layers. */
.home-command-shell {
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  grid-template-areas: "copy modes";
  align-items: start;
}

.home-command-modes {
  grid-template-columns: repeat(4, minmax(150px, 1fr));
}

.home-command-mode p {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}

@media (max-width: 1180px) {
  .home-command-shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "modes";
  }

  .home-command-modes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home-command-modes {
    grid-template-columns: 1fr;
    overflow: hidden;
  }

  .home-command-mode {
    grid-template-columns: 38px minmax(0, 1fr);
    grid-template-areas:
      "icon title"
      "icon copy";
    min-height: 0;
    padding: 14px;
    column-gap: 12px;
    border-right: 0;
    border-bottom: 1px solid var(--o4-premium-line);
  }

  .home-command-mode:last-child {
    border-bottom: 0;
  }

  .home-command-mode .o4-card-icon {
    grid-area: icon;
    width: 36px;
    height: 36px;
  }

  .home-command-mode h3 {
    grid-area: title;
    font-size: 1rem;
    line-height: 1.2;
  }

  .home-command-mode p {
    grid-area: copy;
    font-size: 0.84rem;
    line-height: 1.42;
  }
}

/*
 * Launch polish: premium navigation, compact mobile controls, and a signal-rich footer.
 */
.site-header {
  border-bottom-color: rgba(238, 240, 242, 0.08);
  background: rgba(4, 6, 10, 0.82);
  backdrop-filter: blur(18px);
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(200, 184, 141, 0.22), rgba(134, 200, 157, 0.14), transparent);
  opacity: 0.72;
}

.header-nav-link {
  position: relative;
}

.header-nav-link::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 7px;
  left: 12px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(200, 184, 141, 0.78), rgba(134, 200, 157, 0.48));
  opacity: 0;
  transform: scaleX(0.36);
  transform-origin: center;
  transition: opacity 160ms ease, transform 160ms ease;
}

.header-nav-link:hover::after,
.header-nav-link:focus-visible::after,
.header-nav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-search input {
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.header-search input:focus {
  border-color: rgba(200, 184, 141, 0.42);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 0 3px rgba(200, 184, 141, 0.08);
}

.footer-newsletter {
  position: relative;
  overflow: hidden;
}

.footer-newsletter::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 64%, rgba(200, 184, 141, 0.12) 64.2%, transparent 64.6%),
    linear-gradient(180deg, transparent, rgba(134, 200, 157, 0.045));
  opacity: 0.68;
}

.footer-signal-graph {
  position: relative;
  width: min(100%, 320px);
  height: 92px;
  margin: 8px 0 6px;
  border: 1px solid rgba(238, 240, 242, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(rgba(238, 240, 242, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 240, 242, 0.03) 1px, transparent 1px),
    rgba(4, 6, 10, 0.34);
  background-size: 28px 28px;
}

.footer-signal-line,
.footer-signal-node,
.footer-signal-pulse {
  position: absolute;
  pointer-events: none;
}

.footer-signal-line {
  left: 20%;
  right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 184, 141, 0.58), rgba(134, 200, 157, 0.46), transparent);
  transform-origin: left center;
}

.footer-signal-line-a {
  top: 37%;
  transform: rotate(13deg);
}

.footer-signal-line-b {
  top: 59%;
  transform: rotate(-10deg);
}

.footer-signal-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(238, 240, 242, 0.16);
  border-radius: 9px;
  color: rgba(238, 240, 242, 0.82);
  background: rgba(13, 15, 20, 0.84);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.footer-signal-node .o4-ui-icon {
  width: 16px;
  height: 16px;
}

.footer-signal-node-a {
  left: 10%;
  top: 18%;
}

.footer-signal-node-b {
  left: 46%;
  top: 46%;
}

.footer-signal-node-c {
  right: 11%;
  top: 20%;
}

.footer-signal-pulse {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(134, 200, 157, 0.84);
  box-shadow: 0 0 0 0 rgba(134, 200, 157, 0.34);
}

.footer-signal-pulse-a {
  left: 31%;
  top: 35%;
}

.footer-signal-pulse-b {
  right: 28%;
  bottom: 32%;
}

.footer-brand p {
  max-width: 56rem;
}

@media (prefers-reduced-motion: no-preference) {
  .footer-signal-line {
    animation: o4-footer-trace 6.4s ease-in-out infinite;
  }

  .footer-signal-line-b {
    animation-delay: 1.2s;
  }

  .footer-signal-pulse {
    animation: o4-footer-pulse 3.8s ease-out infinite;
  }

  .footer-signal-pulse-b {
    animation-delay: 1.4s;
  }
}

@keyframes o4-footer-trace {
  0%,
  100% {
    opacity: 0.24;
    scale: 0.78 1;
  }

  48% {
    opacity: 0.88;
    scale: 1 1;
  }
}

@keyframes o4-footer-pulse {
  0% {
    opacity: 0;
    transform: scale(0.72);
    box-shadow: 0 0 0 0 rgba(134, 200, 157, 0.34);
  }

  28% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(1);
    box-shadow: 0 0 0 20px rgba(134, 200, 157, 0);
  }
}

@media (max-width: 760px) {
  .site-header {
    background: rgba(4, 6, 10, 0.92);
  }

  #primary-menu.is-open {
    border-radius: 12px;
    background:
      radial-gradient(circle at 92% 8%, rgba(67, 39, 98, 0.26), transparent 13rem),
      rgba(10, 12, 17, 0.98);
  }

  .header-nav-link::after {
    right: auto;
    bottom: 50%;
    left: 10px;
    width: 3px;
    height: 18px;
    transform: translateY(50%) scaleY(0.35);
  }

  .header-nav-link:hover::after,
  .header-nav-link:focus-visible::after,
  .header-nav-link.is-active::after {
    transform: translateY(50%) scaleY(1);
  }

  .header-search {
    display: none;
  }

  .footer-newsletter {
    padding-top: 22px;
  }

  .footer-signal-graph {
    height: 76px;
  }

  .footer-brand p {
    max-width: 23rem;
  }
}

/*
 * Design recovery: calmer first impressions, clearer hierarchy, and restrained motion.
 */
.hero-home {
  min-height: min(900px, calc(100vh - 28px));
  padding-top: 124px;
  padding-bottom: 68px;
  background:
    linear-gradient(90deg, rgba(3, 6, 11, 0.98) 0%, rgba(3, 6, 11, 0.88) 48%, rgba(3, 6, 11, 0.7) 100%),
    radial-gradient(circle at 74% 25%, rgba(127, 151, 194, 0.14), transparent 26rem),
    radial-gradient(circle at 88% 72%, rgba(123, 200, 158, 0.1), transparent 18rem);
}

.hero-home .hero-grid {
  align-items: center;
  gap: 56px;
}

.hero-home .hero-copy-column {
  max-width: 690px;
}

.hero-home .hero-brand-lockup {
  width: fit-content;
  margin-bottom: 22px;
  padding: 10px 13px 10px 10px;
  border: 1px solid rgba(238, 240, 242, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.hero-home .hero-copy-column h1 {
  max-width: 11ch;
  margin-bottom: 20px;
  font-size: 5.8rem;
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-home .hero-intro {
  max-width: 50rem;
  color: rgba(231, 235, 238, 0.82);
  font-size: 1.14rem;
  line-height: 1.78;
}

.hero-home .hero-actions {
  margin-top: 26px;
}

.hero-home .hero-actions .button {
  min-height: 46px;
}

.hero-capability-strip {
  max-width: 560px;
  border-color: rgba(238, 240, 242, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.028);
}

.quick-search {
  max-width: 650px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.quick-searches {
  max-width: 650px;
}

.quick-chip {
  border-radius: 8px;
}

.hero-trust-inline {
  max-width: 620px;
}

.hero-proofwall {
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.hero-proofwall-card {
  border-radius: 8px;
  transform: translateZ(0);
}

.hero-proofwall-card:hover,
.hero-proofwall-card:focus-visible {
  transform: translateY(-4px);
}

.section-discovery .home-section-shell {
  border-radius: 0;
}

.home-priority-lanes {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(220px, 0.92fr) minmax(220px, 0.92fr);
  overflow: hidden;
  border-top: 1px solid rgba(238, 240, 242, 0.1);
  border-bottom: 1px solid rgba(238, 240, 242, 0.1);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), transparent 44%),
    rgba(255, 255, 255, 0.014);
}

.home-priority-lanes .feature-lane {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 30px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: background 180ms ease, transform 180ms ease;
}

.home-priority-lanes .feature-lane + .feature-lane {
  border-left: 1px solid rgba(238, 240, 242, 0.1);
}

.home-priority-lanes .feature-lane::before {
  content: "";
  position: absolute;
  top: 0;
  right: 30px;
  left: 30px;
  height: 1px;
  background: linear-gradient(90deg, rgba(200, 184, 141, 0.72), transparent);
  opacity: 0;
  transition: opacity 180ms ease;
}

.home-priority-lanes .feature-card-primary {
  background:
    linear-gradient(140deg, rgba(67, 39, 98, 0.28), rgba(255, 255, 255, 0.02) 56%, transparent),
    rgba(255, 255, 255, 0.02);
}

.home-priority-lanes .feature-lane:hover,
.home-priority-lanes .feature-lane:focus-within {
  background: rgba(255, 255, 255, 0.035);
  transform: translateY(-2px);
}

.home-priority-lanes .feature-lane:hover::before,
.home-priority-lanes .feature-lane:focus-within::before {
  opacity: 1;
}

.home-priority-lanes .feature-lane h3 {
  margin-top: 18px;
  font-size: 1.35rem;
}

.home-priority-lanes .feature-lane p:not(.feature-card-meta) {
  color: rgba(215, 220, 224, 0.78);
}

.home-priority-lanes .feature-lane .tool-card-footer {
  margin-top: auto;
}

.archive-header-directory {
  align-items: center;
  padding: 8px 0 28px;
  border: 0;
  border-bottom: 1px solid rgba(238, 240, 242, 0.1);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.archive-header-directory .archive-header-copy h1 {
  max-width: 10ch;
  font-size: 4.8rem;
  line-height: 0.94;
  letter-spacing: 0;
}

.archive-header-directory .section-intro {
  max-width: 52rem;
}

.archive-proof-card {
  max-width: 390px;
  padding: 22px;
  border: 1px solid rgba(238, 240, 242, 0.11);
  border-left: 2px solid rgba(200, 184, 141, 0.68);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(200, 184, 141, 0.08), transparent 48%),
    rgba(255, 255, 255, 0.026);
}

.archive-proof-card h2 {
  font-size: 1.15rem;
  line-height: 1.25;
}

.directory-pathways {
  margin-top: 30px;
  padding: 24px 0;
  border-top: 1px solid rgba(238, 240, 242, 0.1);
  border-bottom: 1px solid rgba(238, 240, 242, 0.1);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.directory-pathways-head {
  margin-bottom: 18px;
}

.directory-pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.directory-pathway-card {
  min-height: 220px;
  padding: 18px;
  border: 1px solid rgba(238, 240, 242, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.024);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.directory-pathway-card:hover,
.directory-pathway-card:focus-within {
  border-color: rgba(200, 184, 141, 0.26);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.directory-tool-card.card {
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent 42%),
    rgba(11, 13, 18, 0.92);
}

.directory-tool-card-frame {
  gap: 15px;
}

.directory-tool-card .directory-tool-title {
  font-size: 1.05rem;
  line-height: 1.25;
}

.directory-tool-card-actions .button {
  min-height: 40px;
  padding-inline: 14px;
}

.directory-tool-card-actions .button-ghost {
  width: auto;
}

.archive-intel-panels {
  margin-top: 38px;
  padding: 26px 0 0;
  border-top: 1px solid rgba(238, 240, 242, 0.1);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.archive-intel-panels h2 {
  margin-bottom: 18px;
}

.archive-intel-panels > .grid > div {
  padding: 20px;
  border: 1px solid rgba(238, 240, 242, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.024);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-proofwall-card,
  .home-priority-lanes .feature-lane,
  .directory-pathway-card,
  .directory-tool-card.card {
    will-change: transform;
  }

  .hero-proofwall-card:nth-child(1) {
    animation: o4-proofwall-breathe 7.4s ease-in-out infinite;
  }

  .hero-proofwall-card:nth-child(2) {
    animation: o4-proofwall-breathe 8.2s ease-in-out 0.9s infinite;
  }

  .hero-proofwall-card:nth-child(3) {
    animation: o4-proofwall-breathe 7.9s ease-in-out 1.8s infinite;
  }
}

@keyframes o4-proofwall-breathe {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(200, 184, 141, 0);
  }

  48% {
    box-shadow: 0 0 28px rgba(200, 184, 141, 0.12);
  }
}

@media (max-width: 1120px) {
  .hero-home .hero-grid {
    gap: 36px;
  }

  .hero-home .hero-copy-column h1 {
    font-size: 4.7rem;
  }

  .archive-header-directory .archive-header-copy h1 {
    font-size: 4rem;
  }

  .home-priority-lanes,
  .directory-pathway-grid {
    grid-template-columns: 1fr;
  }

  .home-priority-lanes .feature-lane {
    min-height: auto;
  }

  .home-priority-lanes .feature-lane + .feature-lane {
    border-top: 1px solid rgba(238, 240, 242, 0.1);
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .hero-home {
    min-height: auto;
    padding-top: 96px;
    padding-bottom: 46px;
  }

  .hero-home .hero-copy-column h1 {
    max-width: 12ch;
    font-size: 3.35rem;
    line-height: 0.96;
  }

  .hero-home .hero-intro {
    font-size: 1rem;
  }

  .hero-home .hero-actions,
  .quick-search {
    width: 100%;
  }

  .quick-searches {
    grid-template-columns: 1fr;
  }

  .hero-capability-strip span:nth-child(n+4) {
    display: none;
  }

  .home-priority-lanes .feature-lane {
    padding: 24px;
  }

  .archive-header-directory {
    gap: 22px;
  }

  .archive-header-directory .archive-header-copy h1 {
    max-width: 11ch;
    font-size: 3rem;
  }

  .archive-proof-card {
    max-width: none;
  }

  .directory-pathway-card {
    min-height: auto;
  }
}

/*
 * Post-audit consolidation: remove awkward empty surfaces and tighten directory scanning.
 */
.section-featured .home-section-shell {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(238, 240, 242, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 36%),
    rgba(17, 19, 24, 0.82);
}

.section-featured .home-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.section-featured .featured-tool-card,
.section-featured .featured-tool-card.is-emphasis {
  display: flex;
  min-height: 100%;
  grid-column: auto;
  grid-row: auto;
  flex-direction: column;
  padding: 0;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent 42%),
    rgba(10, 12, 17, 0.94);
  transform: none;
}

.section-featured .featured-tool-card .tool-proof-card--home-feature {
  flex: 0 0 auto;
}

.section-featured .tool-proof-card--home-feature .tool-proof-surface {
  min-height: 220px;
  border-radius: 8px 8px 0 0;
}

.section-featured .featured-tool-card .article-card-topline,
.section-featured .featured-tool-card h3,
.section-featured .featured-tool-card .tool-card-summary,
.section-featured .featured-tool-card .badges,
.section-featured .featured-tool-card .tool-card-footer {
  padding-inline: 18px;
}

.section-featured .featured-tool-card .article-card-topline {
  padding-top: 16px;
}

.section-featured .featured-tool-card .tool-card-footer {
  margin-top: auto;
  padding-bottom: 18px;
}

.section-featured .featured-tool-card .button {
  min-height: 42px;
  border-radius: 8px;
}

.directory-tool-card .tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-surface,
.section-featured .tool-proof-card--home-feature.tool-proof-card--no-screenshot .tool-proof-surface {
  background: #101217;
}

.directory-tool-card .tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback,
.section-featured .tool-proof-card--home-feature.tool-proof-card--no-screenshot .tool-proof-fallback {
  position: absolute;
  overflow: hidden;
  display: grid;
  align-items: stretch;
  background:
    radial-gradient(circle at 18% 18%, rgba(200, 184, 141, 0.15), transparent 7rem),
    radial-gradient(circle at 84% 18%, rgba(134, 200, 157, 0.08), transparent 8rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent 46%),
    #101217;
}

.directory-tool-card .tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback::before,
.section-featured .tool-proof-card--home-feature.tool-proof-card--no-screenshot .tool-proof-fallback::before {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 36%;
  height: 42%;
  border: 1px solid rgba(238, 240, 242, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(rgba(238, 240, 242, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 240, 242, 0.035) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.82;
}

.directory-tool-card .tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback::after,
.section-featured .tool-proof-card--home-feature.tool-proof-card--no-screenshot .tool-proof-fallback::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 34px;
  width: 30%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 184, 141, 0.64), rgba(134, 200, 157, 0.42));
  transform-origin: right center;
}

.directory-tool-card .tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback-grid,
.section-featured .tool-proof-card--home-feature.tool-proof-card--no-screenshot .tool-proof-fallback-grid {
  opacity: 0.72;
  mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.84), transparent 76%);
}

.directory-tool-card .tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback-identity,
.section-featured .tool-proof-card--home-feature.tool-proof-card--no-screenshot .tool-proof-fallback-identity {
  align-content: end;
  width: min(100%, 19rem);
  min-height: 100%;
  gap: 6px;
  padding: 18px;
}

.directory-tool-card .tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback-mark,
.section-featured .tool-proof-card--home-feature.tool-proof-card--no-screenshot .tool-proof-fallback-mark {
  width: 42px;
  height: 42px;
  border-radius: 9px;
}

.directory-tool-card .tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback-identity strong,
.section-featured .tool-proof-card--home-feature.tool-proof-card--no-screenshot .tool-proof-fallback-identity strong {
  max-width: 16rem;
  font-size: 0.98rem;
}

.directory-tool-card .tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback-identity small,
.section-featured .tool-proof-card--home-feature.tool-proof-card--no-screenshot .tool-proof-fallback-identity small {
  display: block;
  max-width: 15rem;
}

@media (prefers-reduced-motion: no-preference) {
  .directory-tool-card .tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback::after,
  .section-featured .tool-proof-card--home-feature.tool-proof-card--no-screenshot .tool-proof-fallback::after {
    animation: o4-proof-fallback-trace 5.2s ease-in-out infinite;
  }
}

@keyframes o4-proof-fallback-trace {
  0%,
  100% {
    opacity: 0.24;
    transform: scaleX(0.56);
  }

  46% {
    opacity: 0.86;
    transform: scaleX(1);
  }
}

.directory-filter-jump {
  display: none;
}

.archive-header-directory .archive-header-meta .directory-filter-jump {
  display: none;
}

.directory-pathway-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.directory-pathway-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  min-height: 150px;
  align-content: start;
  gap: 7px 12px;
  padding: 16px;
  border-color: rgba(238, 240, 242, 0.11);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 58%),
    rgba(255, 255, 255, 0.022);
}

.directory-pathway-card .o4-card-icon {
  grid-row: 1 / span 3;
  width: 30px;
  height: 30px;
}

.directory-pathway-card .card-meta {
  display: block;
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
}

.directory-pathway-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
}

.directory-pathway-card p:not(.card-meta) {
  display: block;
  margin: 0;
  color: rgba(215, 220, 224, 0.72);
  font-size: 0.76rem;
  line-height: 1.45;
}

.directory-pathway-footer {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
}

.directory-pathway-footer a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(238, 240, 242, 0.78);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.directory-pathway-footer .badge {
  min-height: 24px;
  padding-inline: 8px;
  font-size: 0.64rem;
}

@media (max-width: 1180px) {
  .section-featured .home-feature-grid {
    grid-template-columns: 1fr;
  }

  .section-featured .tool-proof-card--home-feature .tool-proof-surface {
    min-height: 190px;
  }

  .directory-pathway-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .container.directory-shell {
    padding-inline: clamp(18px, 3vw, 32px) !important;
  }

  .directory-main {
    order: 1;
  }

  .directory-filters {
    order: 2;
  }
}

@media (max-width: 760px) {
  .section-featured .home-section-shell {
    padding: 0;
    border-radius: 8px;
  }

  .section-featured .home-feature-grid {
    gap: 0;
  }

  .section-featured .featured-tool-card,
  .section-featured .featured-tool-card.is-emphasis {
    border-radius: 0;
  }

  .section-featured .featured-tool-card:first-child {
    border-radius: 8px 8px 0 0;
  }

  .section-featured .featured-tool-card:last-child {
    border-radius: 0 0 8px 8px;
  }

  .directory-filter-jump {
    display: inline-flex;
  }

  .archive-header-directory .archive-header-meta .directory-filter-jump {
    display: inline-flex;
  }

  .directory-pathway-grid {
    grid-template-columns: 1fr;
  }

  .directory-pathway-card {
    min-height: auto;
    padding: 12px;
  }

  .directory-pathway-card p:not(.card-meta) {
    display: none;
  }

  .directory-pathway-footer a {
    display: none;
  }
}

/*
 * Deadline tidy pass: resolve fragile mobile overrides and keep the header calm
 * at production desktop widths without changing the broader visual system.
 */
.site-header-inner {
  column-gap: clamp(10px, 1.2vw, 18px);
}

#primary-menu,
.header-right,
.header-search {
  min-width: 0;
}

@media (min-width: 1161px) and (max-width: 1500px) {
  .site-header-inner,
  .site-header.is-condensed .site-header-inner {
    grid-template-columns: minmax(188px, 222px) minmax(0, 1fr) minmax(282px, auto);
  }

  #primary-menu {
    gap: 0;
  }

  .header-nav-link {
    padding-inline: clamp(7px, 0.65vw, 10px);
    font-size: 0.78rem;
  }

  .header-search {
    width: clamp(176px, 14vw, 230px);
  }

  .site-header .header-submit-cta.button-primary {
    min-width: 108px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-proofwall::before {
    animation: o4-proofwall-scan 8s ease-in-out infinite;
  }
}

@keyframes o4-proofwall-scan {
  0%,
  100% {
    transform: translateY(-88%);
    opacity: 0;
  }

  36%,
  52% {
    opacity: 0.58;
  }

  70% {
    transform: translateY(185%);
    opacity: 0;
  }
}

@media (max-width: 760px) {
  .hero-home .hero-copy-column h1 {
    max-width: 11ch;
    font-size: clamp(2.45rem, 11.2vw, 3.05rem);
    line-height: 0.98;
  }

  .hero-copy-column .hero-actions,
  .hero-home .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: none;
    margin: 22px 0 18px;
  }

  .hero-copy-column .hero-actions .button,
  .hero-home .hero-actions .button,
  .hero-copy-column .hero-actions .button-secondary,
  .hero-copy-column .hero-actions .button-ghost {
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--o4-premium-line-strong);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--o4-premium-text);
  }

  .hero-copy-column .hero-actions .button-primary,
  .hero-home .hero-actions .button-primary {
    color: #111216;
    border-color: var(--o4-premium-accent);
    background: linear-gradient(180deg, var(--o4-premium-accent-strong), var(--o4-premium-accent));
  }

  .directory-pathways {
    margin-top: 24px;
    padding: 22px 0 10px;
  }

  .directory-pathways-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
  }

  .directory-pathways-head > p {
    display: none;
  }

  .directory-pathway-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
  }

  .directory-pathway-card {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    min-height: 0;
    align-items: center;
    gap: 4px 12px;
    padding: 12px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.026), transparent 62%),
      rgba(255, 255, 255, 0.018);
  }

  .directory-pathway-card .o4-card-icon {
    grid-row: 1 / span 2;
    width: 30px;
    height: 30px;
  }

  .directory-pathway-card .card-meta {
    display: block;
    grid-column: 2;
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }

  .directory-pathway-card h3 {
    grid-column: 2;
    font-size: 0.96rem;
  }

  .directory-pathway-card p:not(.card-meta),
  .directory-pathway-footer a {
    display: none;
  }

  .directory-pathway-footer {
    grid-column: 3;
    grid-row: 1 / span 2;
    justify-self: end;
    padding-top: 0;
  }

  .directory-pathway-footer .badge {
    min-height: 26px;
    padding-inline: 9px;
    font-size: 0.64rem;
    white-space: nowrap;
  }
}

/*
 * Authority Engine sprint 2: make comparisons and Tool Watch feel like a
 * product workflow instead of more homepage cards.
 */
.home-decision-engine {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(238, 240, 242, 0.08);
  border-radius: 8px;
  background: rgba(238, 240, 242, 0.07);
}

.home-comparison-panel,
.home-tool-watch-panel {
  display: grid;
  align-content: start;
  gap: clamp(14px, 2vw, 22px);
  min-width: 0;
  padding: clamp(18px, 2.2vw, 28px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.032), transparent 48%),
    rgba(17, 19, 24, 0.94);
}

.home-tool-watch-panel {
  background:
    radial-gradient(circle at 12% 12%, rgba(122, 167, 138, 0.16), transparent 32%),
    linear-gradient(145deg, rgba(200, 184, 141, 0.055), transparent 52%),
    rgba(17, 19, 24, 0.94);
}

.home-decision-panel-head {
  display: grid;
  gap: 8px;
}

.home-decision-panel-head h3 {
  max-width: 18ch;
  margin: 0;
  color: #f4f1e9;
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.home-comparison-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(238, 240, 242, 0.08);
  border-radius: 8px;
  background: rgba(238, 240, 242, 0.07);
}

.home-comparison-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 12px;
  padding: 14px;
  color: inherit;
  text-decoration: none;
  background: rgba(3, 6, 11, 0.3);
}

.home-comparison-link > span {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(200, 184, 141, 0.18);
  border-radius: 8px;
  color: rgba(200, 184, 141, 0.96);
  background: rgba(200, 184, 141, 0.055);
}

.home-comparison-link .o4-ui-icon {
  width: 17px;
  height: 17px;
}

.home-comparison-link strong {
  color: #f4f1e9;
  font-family: var(--o4-font-ui);
  font-size: 0.96rem;
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: balance;
}

.home-comparison-link small {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(238, 240, 242, 0.58);
  font-size: 0.78rem;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-tool-watch-panel > p {
  max-width: 32rem;
  margin: 0;
  color: rgba(238, 240, 242, 0.66);
  font-size: 0.94rem;
  line-height: 1.55;
}

.home-tool-watch-signals {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(238, 240, 242, 0.08);
  border-radius: 8px;
  background: rgba(238, 240, 242, 0.07);
}

.home-tool-watch-signals > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  padding: 12px;
  background: rgba(3, 6, 11, 0.32);
}

.home-tool-watch-signals > div > span {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(122, 167, 138, 0.24);
  border-radius: 8px;
  color: rgba(122, 167, 138, 0.96);
  background: rgba(122, 167, 138, 0.075);
}

.home-tool-watch-signals .o4-ui-icon {
  width: 16px;
  height: 16px;
}

.home-tool-watch-signals strong {
  color: #f4f1e9;
  font-family: var(--o4-font-ui);
  font-size: 0.85rem;
  line-height: 1.15;
}

.home-tool-watch-signals small {
  color: rgba(238, 240, 242, 0.58);
  font-size: 0.76rem;
  line-height: 1.42;
}

@media (prefers-reduced-motion: no-preference) {
  .home-comparison-link,
  .home-tool-watch-signals > div {
    transition: transform 190ms ease, background 190ms ease, border-color 190ms ease;
  }

  .home-comparison-link:hover,
  .home-comparison-link:focus-visible {
    transform: translateX(2px);
    background: rgba(200, 184, 141, 0.055);
  }

  .home-tool-watch-signals > div:hover {
    transform: translateX(2px);
    background: rgba(122, 167, 138, 0.07);
  }
}

@media (max-width: 980px) {
  .home-decision-engine {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-comparison-panel,
  .home-tool-watch-panel {
    padding: 14px;
  }

  .home-decision-panel-head h3 {
    max-width: 14ch;
    font-size: clamp(1.35rem, 7vw, 1.9rem);
  }
}

@media (max-width: 1160px) {
  .site-header-inner,
  .site-header.is-condensed .site-header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .site-brand {
    justify-self: start;
  }

  .nav-toggle,
  .header-right {
    justify-self: end;
  }

  .header-search {
    display: none;
  }
}

/*
 * Visual quality pass: keep the directory and homepage feeling premium under
 * real catalog conditions, including delayed screenshots and long editorial text.
 */
.tool-proof-card.tool-proof-card--has-screenshot:not(.is-proof-missing) .tool-proof-fallback {
  z-index: 0;
  display: grid;
  opacity: 1;
}

.o4-reveal {
  opacity: 1;
  transform: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.tool-proof-image {
  z-index: 1;
  background: #101217;
  filter: saturate(0.96) contrast(1.04) brightness(0.99);
}

.tool-proof-card.tool-proof-card--has-screenshot:not(.is-proof-loaded):not(.is-proof-missing) .tool-proof-image {
  opacity: 0;
}

.tool-proof-card.tool-proof-card--has-screenshot.is-proof-loaded .tool-proof-image {
  opacity: 1;
}

.tool-proof-card:hover .tool-proof-image,
.directory-tool-card:focus-within .tool-proof-image {
  filter: saturate(1) contrast(1.06) brightness(1.03);
}

.tool-proof-overlay {
  z-index: 2;
}

.tool-proof-card--archive-preview .tool-proof-surface,
.tool-proof-card--home-feature .tool-proof-surface {
  background:
    linear-gradient(rgba(238, 240, 242, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 240, 242, 0.032) 1px, transparent 1px),
    radial-gradient(circle at 14% 18%, rgba(200, 184, 141, 0.12), transparent 8rem),
    #101217;
  background-size: 24px 24px, 24px 24px, auto, auto;
}

.directory-tool-card.card {
  border-color: rgba(238, 240, 242, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.024), rgba(255, 255, 255, 0.006) 48%),
    rgba(11, 13, 18, 0.96);
}

.directory-tool-card:hover,
.directory-tool-card:focus-within {
  border-color: rgba(200, 184, 141, 0.28);
}

.directory-tool-card .directory-tool-title,
.directory-tool-card .directory-tool-title a,
.featured-tool-card h3,
.featured-tool-card h3 a,
.collection-card h3,
.collection-card h3 a {
  overflow-wrap: anywhere;
}

.directory-tool-card .tool-card-summary,
.featured-tool-card .tool-card-summary,
.collection-card > p:not(.card-meta):not(.article-card-note) {
  text-wrap: pretty;
}

.directory-tool-card .tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback-mark,
.section-featured .tool-proof-card--home-feature.tool-proof-card--no-screenshot .tool-proof-fallback-mark {
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.directory-tool-card .tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback-identity small,
.section-featured .tool-proof-card--home-feature.tool-proof-card--no-screenshot .tool-proof-fallback-identity small {
  color: rgba(238, 240, 242, 0.68);
}

.section-collections .home-section-shell {
  padding: 0;
  border: 0;
  background: transparent;
}

.section-collections .section-head {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(238, 240, 242, 0.1);
}

.section-collections .home-collection-grid {
  overflow: hidden;
  gap: 0;
  border: 1px solid rgba(238, 240, 242, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.026), transparent 44%),
    rgba(12, 14, 18, 0.88);
}

.section-collections .collection-card,
.section-collections .collection-card.is-emphasis {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 315px;
  padding: clamp(22px, 2.4vw, 34px);
  border: 0;
  border-radius: 0;
  background: transparent;
}

.section-collections .collection-card + .collection-card {
  border-left: 1px solid rgba(238, 240, 242, 0.1);
}

.section-collections .collection-card::after {
  content: none;
  display: none;
}

.section-collections .collection-card.is-emphasis {
  color: var(--o4-premium-text);
  background:
    linear-gradient(145deg, rgba(200, 184, 141, 0.09), rgba(255, 255, 255, 0.018) 48%, transparent),
    rgba(255, 255, 255, 0.012);
}

.section-collections .collection-card.is-emphasis::after {
  content: "";
  display: block;
  position: absolute;
  inset: auto;
  top: clamp(28px, 4vw, 54px);
  right: clamp(40px, 7vw, 112px);
  z-index: 0;
  width: min(28%, 320px);
  min-width: 220px;
  height: 132px;
  border: 1px solid rgba(238, 240, 242, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(rgba(238, 240, 242, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 240, 242, 0.036) 1px, transparent 1px),
    linear-gradient(112deg, transparent 0 28%, rgba(200, 184, 141, 0.46) 28.4%, transparent 29%, transparent 58%, rgba(134, 200, 157, 0.28) 58.4%, transparent 59%),
    rgba(255, 255, 255, 0.012);
  background-size: 24px 24px, 24px 24px, auto, auto;
  box-shadow: none;
  opacity: 0.46;
  pointer-events: none;
}

.section-collections .collection-card > * {
  position: relative;
  z-index: 1;
}

.section-collections .collection-card h3,
.section-collections .collection-card.is-emphasis h3 {
  max-width: 18ch;
  color: var(--o4-premium-text);
  font-size: clamp(1.34rem, 1.85vw, 1.95rem);
  line-height: 1.08;
}

.section-collections .collection-card h3 a {
  color: inherit;
}

.section-collections .collection-card > p:not(.card-meta) {
  color: rgba(238, 240, 242, 0.72);
  font-size: 0.94rem;
  line-height: 1.58;
}

.section-collections .collection-card .article-card-note {
  display: block;
  overflow: visible;
  margin-top: auto;
  color: rgba(238, 240, 242, 0.66);
  -webkit-line-clamp: unset;
}

.section-collections .collection-card .tool-card-footer {
  margin-top: 22px;
}

.section-collections .collection-card .button {
  width: 100%;
  min-height: 40px;
  border-radius: 7px;
}

@media (prefers-reduced-motion: no-preference) {
  .section-collections .collection-card,
  .directory-tool-card.card {
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
  }

  .section-collections .collection-card:hover,
  .section-collections .collection-card:focus-within {
    background: rgba(255, 255, 255, 0.032);
    transform: translateY(-2px);
  }
}

@media (max-width: 980px) {
  .section-collections .home-collection-grid {
    grid-template-columns: 1fr;
  }

  .section-collections .collection-card,
  .section-collections .collection-card.is-emphasis {
    min-height: 0;
  }

  .section-collections .collection-card + .collection-card {
    border-top: 1px solid rgba(238, 240, 242, 0.1);
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .tool-proof-card--archive-preview .tool-proof-surface,
  .tool-proof-card--home-feature .tool-proof-surface,
  .directory-tool-card .tool-proof-surface {
    min-height: 172px;
  }

  .section-collections .section-head {
    display: grid;
    gap: 12px;
  }

  .section-collections .collection-card,
  .section-collections .collection-card.is-emphasis {
    padding: 20px;
  }

  .section-collections .collection-card.is-emphasis::after {
    display: none;
  }

  .section-collections .collection-card h3,
  .section-collections .collection-card.is-emphasis h3 {
    max-width: none;
    font-size: 1.35rem;
  }
}

/*
 * First-fold correction: remove dead vertical space and make the full homepage
 * hero readable in realistic desktop browser windows with toolbars visible.
 */
@media (min-width: 1161px) {
  .site-header-inner,
  .site-header.is-condensed .site-header-inner {
    grid-template-columns: minmax(220px, 300px) minmax(430px, 1fr) minmax(330px, auto) !important;
    min-height: 64px;
    align-items: center;
  }

  #primary-menu {
    justify-self: center;
    justify-content: center;
    width: 100%;
  }

  .header-right {
    justify-self: end;
  }
}

.hero-home {
  min-height: calc(100svh - 64px) !important;
  padding-top: clamp(34px, 5vh, 48px) !important;
  padding-bottom: clamp(28px, 4vh, 42px) !important;
}

.hero-home .hero-grid {
  align-items: center !important;
  gap: clamp(26px, 3vw, 44px) !important;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 0.74fr) !important;
}

.hero-home .section-kicker,
.hero-home .hero-brand-lockup {
  display: none !important;
}

.hero-home .hero-copy-column {
  max-width: 720px !important;
}

.hero-home .hero-copy-column h1 {
  max-width: 12.6ch !important;
  margin-bottom: 14px !important;
  font-size: clamp(3.9rem, 5.25vw, 4.85rem) !important;
  line-height: 0.93 !important;
}

.hero-home .hero-intro {
  max-width: 42rem !important;
  font-size: 1.02rem !important;
  line-height: 1.5 !important;
}

.hero-home .hero-actions {
  gap: 12px !important;
  margin-top: 18px !important;
}

.hero-home .hero-actions .button {
  min-height: 42px !important;
}

.hero-capability-strip {
  max-width: 520px !important;
  margin-top: 14px !important;
  font-size: 0.64rem !important;
}

.quick-search {
  grid-template-columns: minmax(0, 1fr) 112px !important;
  max-width: 580px !important;
  min-height: 46px !important;
  margin-top: 16px !important;
}

.quick-search input,
.quick-search button {
  min-height: 42px !important;
}

.quick-searches,
.hero-trust-inline {
  display: none !important;
}

.hero-visual-proofwall {
  align-self: center !important;
}

.hero-proofwall {
  max-height: min(535px, calc(100svh - 164px)) !important;
  padding: 14px !important;
}

.hero-proofwall-head {
  padding-bottom: 10px !important;
}

.hero-proofwall-head h2 {
  font-size: clamp(1.45rem, 2vw, 1.82rem) !important;
}

.hero-proofwall-grid {
  gap: 9px !important;
  margin: 10px 0 !important;
}

.hero-proofwall-card {
  min-height: 118px !important;
}

.hero-proofwall-card:first-child {
  min-height: clamp(178px, 18vw, 220px) !important;
}

.hero-proofwall-footer {
  padding-top: 10px !important;
}

@media (max-width: 1160px) {
  .hero-home .hero-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  .hero-home {
    min-height: auto !important;
    padding-top: 44px !important;
    padding-bottom: 38px !important;
  }

  .hero-home .hero-copy-column h1 {
    font-size: clamp(2.75rem, 12vw, 3.2rem) !important;
  }

  .hero-capability-strip {
    display: none !important;
  }
}

/*
 * Full-block tightening pass: every homepage and directory block should scan
 * quickly, keep one job, and avoid consuming a full viewport without need.
 */
.home-shell > .section {
  padding-block: clamp(34px, 4vw, 54px);
}

.section-head,
.section-head.section-head-inline {
  gap: 18px;
  margin-bottom: 20px;
}

.section-head h2 {
  max-width: 22ch;
  font-size: clamp(1.85rem, 2.9vw, 3rem);
  line-height: 0.98;
}

.section-intro {
  max-width: 48rem;
  line-height: 1.52;
}

.home-command-section {
  padding-top: clamp(28px, 4vw, 46px);
  padding-bottom: clamp(22px, 3vw, 34px);
}

.home-command-shell {
  grid-template-columns: minmax(280px, 0.46fr) minmax(0, 1fr);
  grid-template-areas: "copy modes";
  gap: clamp(22px, 3vw, 36px);
  padding: clamp(22px, 2.7vw, 34px);
  border-radius: 10px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.03), transparent 54%),
    rgba(13, 15, 20, 0.9);
}

.home-command-shell::before,
.home-command-shell::after,
.home-command-visual {
  display: none !important;
}

.home-command-copy {
  align-self: start;
}

.home-command-copy h2 {
  max-width: 10.5ch;
  font-size: clamp(2rem, 3.4vw, 3.8rem);
  line-height: 0.98;
}

.home-command-copy p:not(.section-kicker) {
  margin-top: 14px;
  font-size: 0.98rem;
  line-height: 1.5;
}

.home-command-actions {
  display: grid;
  max-width: 260px;
  gap: 10px;
  margin-top: 18px;
}

.home-command-actions .button {
  min-height: 40px;
  border-radius: 7px;
}

.home-command-modes {
  align-self: start;
  border-radius: 8px;
}

.home-command-mode {
  min-height: 132px;
  gap: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.022);
}

.home-command-mode .o4-card-icon {
  width: 34px;
  height: 34px;
}

.home-command-mode h3 {
  font-size: 1rem;
  line-height: 1.15;
}

.home-command-mode p {
  font-size: 0.8rem;
  line-height: 1.4;
}

.section-discovery .home-section-shell,
.section-featured .home-section-shell,
.section-collections .home-section-shell {
  padding: clamp(24px, 3vw, 34px);
  border-radius: 8px;
}

.section-discovery .section-head,
.section-featured .section-head,
.section-collections .section-head {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(238, 240, 242, 0.1);
}

.home-priority-lanes {
  grid-template-columns: minmax(0, 1.05fr) repeat(2, minmax(220px, 0.85fr));
}

.home-priority-lanes .feature-lane {
  min-height: 248px;
  padding: 22px;
}

.home-priority-lanes .feature-lane h3 {
  margin-top: 14px;
  font-size: 1.2rem;
}

.home-priority-lanes .feature-lane p:not(.feature-card-meta) {
  font-size: 0.9rem;
  line-height: 1.48;
}

.home-priority-lanes .feature-lane .badges {
  margin-top: 12px;
}

.section-featured .home-section-shell {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.026), transparent 36%),
    rgba(14, 16, 20, 0.88);
}

.section-featured .home-feature-grid {
  gap: 12px;
}

.section-featured .tool-proof-card--home-feature .tool-proof-surface {
  min-height: 178px;
}

.section-featured .featured-tool-card .article-card-topline,
.section-featured .featured-tool-card h3,
.section-featured .featured-tool-card .tool-card-summary,
.section-featured .featured-tool-card .badges,
.section-featured .featured-tool-card .tool-card-footer {
  padding-inline: 16px;
}

.section-featured .featured-tool-card h3 {
  font-size: 1.05rem;
  line-height: 1.2;
}

.section-featured .featured-tool-card .tool-card-summary {
  font-size: 0.86rem;
  line-height: 1.45;
}

.section-featured .featured-tool-card .article-card-note {
  display: none;
}

.section-collections .home-section-shell {
  padding: 0;
}

.section-collections .section-head {
  margin: 0;
  padding: clamp(22px, 2.7vw, 32px);
}

.section-collections .home-collection-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 0;
}

.section-collections .collection-card,
.section-collections .collection-card.is-emphasis {
  min-height: 300px;
  padding: clamp(20px, 2vw, 26px);
}

.section-collections .collection-card.is-emphasis {
  grid-column: auto;
}

.section-collections .collection-card + .collection-card {
  border-top: 0;
  border-left: 1px solid rgba(238, 240, 242, 0.1);
}

.section-collections .collection-card.is-emphasis::after {
  display: none;
}

.section-collections .collection-card h3,
.section-collections .collection-card.is-emphasis h3 {
  max-width: 14ch;
  font-size: clamp(1.25rem, 1.6vw, 1.6rem);
  line-height: 1.08;
}

.section-collections .collection-card > p:not(.card-meta) {
  font-size: 0.86rem;
  line-height: 1.48;
}

.section-collections .collection-card .article-card-note {
  font-size: 0.82rem;
  line-height: 1.42;
}

.section-trust-contribute {
  padding-bottom: clamp(40px, 5vw, 64px);
}

.trust-contribute-grid {
  align-items: stretch;
  gap: 14px;
}

.section-trust-contribute .card {
  padding: clamp(22px, 2.6vw, 34px);
  border-radius: 8px;
}

.section-methodology .section-head {
  margin-bottom: 14px;
}

.section-methodology .section-intro,
.contribute-card-home > div > p {
  font-size: 0.94rem;
  line-height: 1.5;
}

.method-grid {
  gap: 10px;
  margin-top: 22px;
}

.method-grid > div {
  padding: 16px;
}

.method-grid h3 {
  font-size: 1.02rem;
  line-height: 1.12;
}

.method-grid p {
  font-size: 0.82rem;
  line-height: 1.42;
}

.contribute-card-home h2 {
  max-width: 24ch;
  font-size: clamp(1.55rem, 2.1vw, 2.15rem);
  line-height: 1.02;
}

.contribute-points {
  gap: 10px;
  margin-top: 18px;
}

.contribute-points li {
  font-size: 0.92rem;
  line-height: 1.45;
}

.contribute-card-home .hero-actions {
  gap: 10px;
  margin-top: 22px;
}

.contribute-card-home .hero-actions .button {
  min-height: 40px;
}

.directory-shell {
  gap: 24px;
  padding-top: clamp(32px, 4vw, 48px);
}

.directory-filters.card {
  align-self: start;
  height: auto;
  min-height: 0;
  max-height: calc(100svh - 110px);
  overflow: auto;
  padding: 18px;
  border-radius: 8px;
}

.directory-filters-head {
  gap: 8px;
}

.directory-filters-head .section-intro {
  display: none;
}

.directory-filters form {
  position: static;
  gap: 12px;
}

.directory-filter-advanced {
  padding-top: 2px;
}

.directory-filter-advanced:not([open]) {
  padding-bottom: 0;
}

.directory-filter-advanced summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  border: 1px solid rgba(238, 240, 242, 0.11);
  border-radius: 7px;
  padding: 10px 12px;
  color: rgba(238, 240, 242, 0.9);
  background: rgba(255, 255, 255, 0.024);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  list-style: none;
  text-transform: uppercase;
}

.directory-filter-advanced summary::-webkit-details-marker {
  display: none;
}

.directory-filter-advanced summary::after {
  content: "+";
  color: var(--o4-premium-accent);
  font-size: 1rem;
  line-height: 1;
}

.directory-filter-advanced[open] summary::after {
  content: "-";
}

.directory-filter-advanced:not([open]) summary {
  color: rgba(238, 240, 242, 0.76);
}

.directory-filter-advanced:not([open]) + .directory-filter-actions {
  margin-top: 2px;
}

.directory-filter-actions {
  gap: 8px;
}

.archive-header-directory {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
  gap: clamp(22px, 3vw, 36px);
  min-height: 0;
  padding: 0 0 24px;
}

.archive-header-directory .archive-header-copy h1 {
  max-width: 10.5ch;
  font-size: clamp(3.2rem, 5vw, 4.35rem);
  line-height: 0.94;
}

.directory-hero-search {
  max-width: 650px;
  margin-top: 20px;
}

.archive-proof-card {
  max-width: 330px;
  min-height: 0;
  padding: 20px;
}

.archive-proof-card h2 {
  font-size: 1.05rem;
}

.archive-proof-card li {
  font-size: 0.82rem;
  line-height: 1.42;
}

.directory-pathways {
  margin-top: 24px;
  padding: 18px 0;
}

.directory-pathways-head {
  align-items: end;
  margin-bottom: 14px;
}

.directory-pathways-head h2 {
  font-size: 1.18rem;
}

.directory-pathway-grid {
  gap: 10px;
}

.directory-pathway-card {
  min-height: 128px;
  padding: 14px;
}

.directory-pathway-card p:not(.card-meta) {
  font-size: 0.78rem;
  line-height: 1.38;
}

.archive-intel-panels {
  margin-top: 28px;
  padding-top: 22px;
}

.archive-intel-panels > .grid {
  gap: 12px;
}

.archive-intel-panels > .grid > div {
  padding: 18px;
}

@media (max-width: 1180px) {
  .home-command-shell,
  .home-priority-lanes,
  .section-collections .home-collection-grid,
  .trust-contribute-grid,
  .archive-header-directory {
    grid-template-columns: 1fr;
  }

  .section-collections .collection-card + .collection-card {
    border-top: 1px solid rgba(238, 240, 242, 0.1);
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .home-shell > .section {
    padding-block: 28px;
  }

  .section-head,
  .section-head.section-head-inline {
    display: grid;
    gap: 12px;
  }

  .home-command-section {
    padding-top: 26px;
  }

  .home-command-actions {
    max-width: none;
  }

  .home-command-modes {
    grid-template-columns: 1fr;
  }

  .home-command-mode {
    min-height: 0;
  }

  .home-priority-lanes .feature-lane,
  .section-collections .collection-card,
  .section-collections .collection-card.is-emphasis {
    min-height: 0;
  }

  .section-featured .tool-proof-card--home-feature .tool-proof-surface {
    min-height: 170px;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }

  .archive-header-directory .archive-header-copy h1 {
    max-width: 11ch;
    font-size: clamp(2.55rem, 13vw, 3.2rem);
  }
}

/*
 * Cross-site tightening pass: remaining archives, single editorial pages,
 * comparison briefs, tool profiles, coverage guides, and operator forms.
 */
.archive-shell-collections,
.archive-shell-editorial,
.archive-shell-comparisons,
.archive-shell-coverage,
.collection-single-section,
.comparison-single-section,
.coverage-single-section,
.editorial-shell,
.section-tool-single {
  padding-top: clamp(30px, 4vw, 50px);
  padding-bottom: clamp(42px, 5vw, 70px);
}

.archive-header-collections.card,
.archive-header-use-cases.card,
.archive-header-editorial.card,
.archive-header-comparisons.card,
.archive-header-coverage.card {
  min-height: 0;
  padding-bottom: clamp(22px, 3vw, 34px);
}

.archive-header-collections .archive-header-copy h1,
.archive-header-use-cases .archive-header-copy h1,
.archive-header-editorial .archive-header-copy h1,
.archive-header-comparisons .archive-header-copy h1,
.archive-header-coverage .archive-header-copy h1 {
  max-width: 12ch;
  font-size: clamp(2.75rem, 4.3vw, 4.45rem);
  line-height: 0.96;
}

.archive-header-meta {
  gap: 7px;
}

.archive-header-meta .badge {
  min-height: 28px;
  padding-inline: 10px;
  font-size: 0.68rem;
}

.archive-proof.card.archive-proof-card {
  max-width: 360px;
  min-height: 0;
  padding: 18px 0 18px clamp(18px, 2vw, 24px);
}

.archive-proof-card h2 {
  max-width: 17ch;
  font-size: 1.08rem;
  line-height: 1.18;
}

.archive-proof-card li {
  font-size: 0.8rem;
  line-height: 1.4;
}

.collection-spotlight.card,
.collection-shell.card,
.article-shell-use-case.card,
.article-shell-review-detail.card,
.article-shell-coverage.card,
.comparison-lead.card {
  max-width: 1328px;
  margin-inline: auto;
}

.collection-spotlight.card {
  min-height: 0;
  padding: 20px;
}

.collection-spotlight h2,
.collection-archive-grid .article-card h2,
.archive-shell-use-cases .article-card h2,
.article-card-review h2,
.article-card-comparison h2,
.article-card-coverage h2 {
  max-width: 16ch;
}

.collection-archive-grid .article-card,
.archive-shell-use-cases .article-card,
.article-card-review.card,
.article-card-comparison.card,
.article-card-coverage.card {
  min-height: 0;
}

.collection-archive-grid .article-card-body,
.archive-shell-use-cases .article-card-body,
.article-card-review .article-card-body,
.article-card-comparison .article-card-body,
.article-card-coverage .article-card-body {
  margin-top: 8px;
}

.collection-archive-grid .article-card-footer,
.archive-shell-use-cases .article-card-footer,
.article-card-review .article-card-footer,
.article-card-comparison .article-card-footer,
.article-card-coverage .article-card-footer {
  margin-top: auto;
}

.tool-proof-card--review-preview .tool-proof-surface,
.tool-proof-card--review-panel .tool-proof-surface,
.tool-proof-card--comparison .tool-proof-surface,
.tool-proof-card--stack .tool-proof-surface,
.tool-proof-card--related .tool-proof-surface {
  height: clamp(140px, 14vw, 184px);
}

.article-card-review .article-card-note:nth-of-type(n+2),
.collection-archive-grid .article-card .article-card-note:nth-of-type(n+2) {
  display: none;
}

.collection-shell.card,
.article-shell-use-case.card,
.article-shell-review-detail.card,
.article-shell-coverage.card {
  width: min(100%, 1328px);
}

.collection-shell-header,
.review-hero-grid,
.article-shell-coverage .article-header-review {
  padding-bottom: clamp(22px, 3vw, 34px);
}

.collection-shell-header h1,
.article-shell-use-case .article-header h1,
.article-shell-review-detail h1,
.article-shell-coverage h1 {
  max-width: 12ch;
  font-size: clamp(2.65rem, 4.4vw, 4.75rem);
  line-height: 0.96;
}

.article-shell-use-case .section-intro,
.article-shell-review-detail .section-intro,
.article-shell-coverage .section-intro,
.collection-shell-summary {
  max-width: 58rem;
  font-size: clamp(0.98rem, 1.05vw, 1.1rem);
  line-height: 1.56;
}

.article-shell-use-case .article-proof-grid,
.article-shell-review-detail .article-proof-grid,
.article-shell-coverage .article-proof-grid {
  gap: 8px;
  margin-top: 18px;
}

.article-proof-card {
  padding: 16px;
}

.article-proof-card p:not(.panel-label) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.article-shell-use-case .tool-section-grid,
.article-shell-review-detail .tool-section-grid,
.article-shell-coverage .tool-section-grid,
.comparison-support-grid {
  gap: 12px;
  margin-top: 18px;
}

.article-shell-use-case .tool-section-grid > .card,
.article-shell-review-detail .tool-section-grid > .card,
.article-shell-coverage .tool-section-grid > .card,
.comparison-support-grid > .card,
.tool-dossier-panel.card,
.tool-single-shell > section.card:not(.tool-dossier-panel) {
  padding: 18px;
}

.article-shell-use-case .article-content,
.article-shell-review-detail .article-content,
.article-shell-coverage .article-content,
.collection-workflow-notes .editorial-content {
  max-width: 760px;
  font-size: 0.98rem;
  line-height: 1.64;
}

.collection-tools-grid {
  gap: 12px;
}

.collection-tool-card.card,
.article-shell-use-case .tool-card.card,
.article-shell-coverage .tool-card.card {
  min-height: 0;
}

.collection-tool-card-actions,
.article-shell-use-case .tool-card-footer,
.article-shell-coverage .tool-card-footer {
  margin-top: 10px;
}

.tool-hero-dossier.card {
  min-height: 0;
  padding: clamp(24px, 3vw, 34px);
}

.tool-hero-dossier h1 {
  max-width: 11ch;
  font-size: clamp(3.1rem, 5.8vw, 5.6rem);
  line-height: 0.92;
}

.tool-dossier-facts {
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--o4-premium-line);
  border-radius: 8px;
  background: var(--o4-premium-line);
}

.tool-dossier-facts div {
  border: 0;
  border-radius: 0;
  background: #111318;
}

.tool-hero-footnotes {
  gap: 8px;
}

.tool-hero-footnote {
  min-height: 38px;
  padding: 11px 14px;
}

.tool-jump-nav.tool-jump-nav-compact {
  margin-top: 16px;
  padding: 10px 0;
}

.tool-dossier-panel {
  gap: 14px;
}

.tool-dossier-rows {
  gap: 0;
}

.tool-dossier-row {
  padding: 14px 0;
}

.tool-dossier-row p {
  margin-bottom: 0;
}

.comparison-lead.card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.68fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: end;
  min-height: 0;
  padding: clamp(28px, 4vw, 46px) 0 clamp(24px, 3vw, 34px);
  border-bottom: 1px solid var(--o4-premium-line);
}

.comparison-lead .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.comparison-lead h1 {
  grid-column: 1;
  max-width: 12.5ch;
  font-size: clamp(3rem, 5.4vw, 5.35rem);
  line-height: 0.94;
}

.comparison-lead > p,
.comparison-lead > h2,
.comparison-lead > h3,
.comparison-lead > ul,
.comparison-lead > ol,
.comparison-lead > .editorial-content {
  grid-column: 2;
  max-width: 38rem;
}

.comparison-lead > h2,
.comparison-lead > h3 {
  margin: 0;
  color: #f4f1e9;
  font-size: 1.05rem;
  line-height: 1.18;
}

.comparison-lead > p,
.comparison-lead li {
  margin: 0;
  color: rgba(238, 240, 242, 0.66);
  font-size: 0.94rem;
  line-height: 1.52;
}

.comparison-lead > ul,
.comparison-lead > ol {
  display: grid;
  gap: 6px;
  padding-left: 18px;
}

.comparison-tool-grid {
  gap: 12px;
  margin-top: clamp(18px, 2.4vw, 28px);
}

.comparison-tool-card.card {
  min-height: 0;
}

.comparison-tool-card > h2 {
  margin-top: 14px;
  font-size: clamp(1.02rem, 1.25vw, 1.34rem);
}

.comparison-tool-card > p {
  margin-top: 8px;
  font-size: 0.8rem;
  line-height: 1.42;
}

.comparison-tool-card > p:nth-of-type(6),
.comparison-tool-card > p:nth-of-type(7) {
  display: none;
}

.comparison-tool-card > .badges {
  margin-top: 10px;
}

.comparison-tool-card > p:last-child {
  margin-top: auto;
  padding-bottom: 14px;
}

.comparison-fit-signal.card {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
}

.comparison-fit-signal h2 {
  margin: 0;
}

.comparison-fit-signal p {
  margin: 0;
  color: rgba(238, 240, 242, 0.66);
  font-size: 0.92rem;
  line-height: 1.5;
}

.page-shell.page-shell-premium,
.form-shell.page-shell-premium {
  max-width: 1120px;
  padding: clamp(24px, 3vw, 30px);
}

.page-shell-form .page-shell-grid {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 296px);
  gap: clamp(24px, 4vw, 52px);
}

.page-shell-premium .page-shell-header {
  min-height: 0;
}

.page-shell-premium .page-shell-header h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 5vw, 4.35rem);
  line-height: 0.96;
}

.page-shell-premium .page-shell-lede {
  max-width: 48rem;
  font-size: 1rem;
}

.page-shell-route-strip {
  gap: 7px;
}

.page-shell-route-strip span {
  min-height: 28px;
  padding-inline: 10px;
  font-size: 0.68rem;
}

.form-entry-title {
  margin-top: clamp(28px, 4vw, 46px);
  font-size: clamp(1.55rem, 2.1vw, 2.35rem);
}

.page-process-card.card,
.page-shell-sidebar .page-process-card {
  padding: 16px;
}

.page-process-card h2 {
  font-size: 1.08rem;
  line-height: 1.18;
}

.page-process-card li,
.page-process-card p {
  font-size: 0.88rem;
  line-height: 1.48;
}

@media (prefers-reduced-motion: no-preference) {
  .archive-header-collections,
  .archive-header-use-cases,
  .archive-header-editorial,
  .archive-header-comparisons,
  .archive-header-coverage,
  .tool-hero-dossier,
  .collection-shell,
  .article-shell-use-case,
  .article-shell-review-detail,
  .article-shell-coverage,
  .comparison-lead,
  .page-shell-premium {
    animation: o4-section-rise 480ms ease both;
  }

  .comparison-tool-card,
  .collection-tool-card,
  .article-card-review,
  .article-card-comparison,
  .article-card-coverage,
  .archive-shell-use-cases .article-card,
  .collection-archive-grid .article-card {
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  }

  .comparison-tool-card:hover,
  .collection-tool-card:hover,
  .article-card-review:hover,
  .article-card-comparison:hover,
  .article-card-coverage:hover,
  .archive-shell-use-cases .article-card:hover,
  .collection-archive-grid .article-card:hover {
    transform: translateY(-2px);
    border-color: rgba(200, 184, 141, 0.24);
  }
}

@keyframes o4-section-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .comparison-lead.card,
  .comparison-fit-signal.card,
  .page-shell-form .page-shell-grid {
    grid-template-columns: 1fr;
  }

  .comparison-lead > p,
  .comparison-lead > h2,
  .comparison-lead > h3,
  .comparison-lead > ul,
  .comparison-lead > ol,
  .comparison-lead > .editorial-content {
    grid-column: 1;
  }
}

@media (max-width: 760px) {
  .archive-shell-collections,
  .archive-shell-editorial,
  .archive-shell-comparisons,
  .archive-shell-coverage,
  .collection-single-section,
  .comparison-single-section,
  .coverage-single-section,
  .editorial-shell,
  .section-tool-single {
    padding-top: 24px;
  }

  .archive-header-collections .archive-header-copy h1,
  .archive-header-use-cases .archive-header-copy h1,
  .archive-header-editorial .archive-header-copy h1,
  .archive-header-comparisons .archive-header-copy h1,
  .archive-header-coverage .archive-header-copy h1,
  .collection-shell-header h1,
  .article-shell-use-case .article-header h1,
  .article-shell-review-detail h1,
  .article-shell-coverage h1,
  .comparison-lead h1,
  .tool-hero-dossier h1,
  .page-shell-premium .page-shell-header h1 {
    max-width: none;
    font-size: clamp(2.35rem, 11vw, 3.15rem);
  }

  .archive-proof.card.archive-proof-card {
    max-width: none;
    padding-left: 0;
    border-left: 0;
  }

  .article-proof-card p:not(.panel-label) {
    -webkit-line-clamp: 6;
  }

  .comparison-tool-card > p:nth-of-type(6),
  .comparison-tool-card > p:nth-of-type(7) {
    display: block;
  }

  .comparison-fit-signal.card,
  .page-shell.page-shell-premium,
  .form-shell.page-shell-premium {
    padding: 18px;
  }
}

/*
 * Template-backed comparison brief refinement. The intro content is now a
 * dedicated brief column, so it can sit beside the title instead of stacking.
 */
.comparison-lead.card {
  align-items: start;
  padding-top: clamp(22px, 3vw, 34px);
  padding-bottom: clamp(18px, 2.5vw, 26px);
}

.comparison-lead-copy,
.comparison-lead-brief {
  display: grid;
  gap: 14px;
}

.comparison-lead-copy {
  grid-column: 1;
  align-content: start;
}

.comparison-lead .comparison-lead-copy .section-kicker,
.comparison-lead .comparison-lead-copy h1,
.comparison-lead .comparison-lead-brief {
  grid-column: auto;
}

.comparison-lead .comparison-lead-copy h1 {
  max-width: 14ch;
  font-size: clamp(2.45rem, 4vw, 4.05rem);
  line-height: 0.95;
}

.comparison-lead-brief {
  grid-column: 2;
  align-self: end;
  max-width: 42rem;
  padding: 0 0 0 clamp(18px, 2.4vw, 28px);
  border-left: 1px solid var(--o4-premium-line);
  gap: 10px;
}

.comparison-lead-brief > :first-child {
  margin-top: 0;
}

.comparison-lead-brief h2,
.comparison-lead-brief h3 {
  margin: 0;
  color: #f4f1e9;
  font-size: 0.98rem;
  line-height: 1.2;
}

.comparison-lead-brief p,
.comparison-lead-brief li {
  margin: 0;
  color: rgba(238, 240, 242, 0.66);
  font-size: 0.86rem;
  line-height: 1.42;
}

.comparison-lead-brief ul,
.comparison-lead-brief ol {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 18px;
}

.comparison-lead-brief > p:last-child {
  display: none;
}

.collection-shell-header h1,
.article-shell-use-case .article-header h1,
.article-shell-coverage h1 {
  max-width: 13.5ch;
  font-size: clamp(2.45rem, 4vw, 4.2rem);
  line-height: 0.98;
}

@media (max-width: 1180px) {
  .comparison-lead-copy,
  .comparison-lead-brief {
    grid-column: 1;
  }

  .comparison-lead-brief {
    padding-left: 0;
    border-left: 0;
  }
}

/*
 * Homepage card breathing-room pass: keep later homepage blocks structured on
 * desktop and prevent mobile cards from collapsing into cramped strips.
 */
.home-command-modes,
.home-priority-lanes,
.section-featured .home-feature-grid,
.section-collections .home-collection-grid,
.method-grid {
  min-width: 0;
}

.home-command-mode,
.home-priority-lanes .feature-lane,
.section-featured .featured-tool-card,
.section-collections .collection-card,
.method-grid > div {
  min-width: 0;
}

.home-command-mode,
.home-priority-lanes .feature-lane {
  padding: clamp(18px, 1.6vw, 24px);
}

.home-command-mode p,
.home-priority-lanes .feature-lane p:not(.feature-card-meta),
.method-grid p {
  max-width: 28rem;
}

.section-featured .featured-tool-card {
  border: 1px solid rgba(238, 240, 242, 0.12);
}

.section-featured .featured-tool-card .article-card-topline {
  align-items: start;
  gap: 10px;
}

.section-featured .featured-tool-card .badges {
  gap: 7px;
  margin-top: 12px;
}

.section-featured .featured-tool-card .tool-card-footer {
  padding-top: 14px;
  border-top: 1px solid rgba(238, 240, 242, 0.08);
}

.section-collections .collection-card,
.section-collections .collection-card.is-emphasis {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-collections .collection-card > p:not(.card-meta),
.section-collections .collection-card .article-card-note {
  margin: 0;
}

.section-collections .collection-card .tool-card-footer {
  padding-top: 14px;
  border-top: 1px solid rgba(238, 240, 242, 0.08);
}

.section-methodology .section-inline-actions,
.contribute-card-home .hero-actions {
  align-items: center;
}

@media (max-width: 1180px) {
  .home-command-shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "modes";
  }

  .home-command-modes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-command-mode {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .site-footer-shell {
    width: calc(100% - 32px);
    margin-inline: auto;
  }

  .footer-brand {
    justify-items: center;
    text-align: center;
  }

  .footer-grid {
    gap: 22px;
    padding-top: 28px;
  }

  .footer-grid h3 {
    margin-bottom: 8px;
  }

  .footer-menu {
    gap: 7px;
  }

  .home-command-shell {
    gap: 18px;
    padding: 18px;
  }

  .home-command-copy h2 {
    max-width: 9.5ch;
  }

  .home-command-modes {
    grid-template-columns: 1fr;
    gap: 10px;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .home-command-mode {
    gap: 8px;
    padding: 16px;
    border: 1px solid rgba(238, 240, 242, 0.11);
    border-radius: 8px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.034), transparent 58%),
      rgba(255, 255, 255, 0.018);
  }

  .home-command-mode p {
    max-width: none;
  }

  .home-priority-lanes {
    gap: 10px;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .home-priority-lanes .feature-lane,
  .home-priority-lanes .feature-lane + .feature-lane {
    padding: 18px;
    border: 1px solid rgba(238, 240, 242, 0.11);
    border-radius: 8px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 62%),
      rgba(255, 255, 255, 0.018);
  }

  .home-priority-lanes .feature-lane + .feature-lane {
    border-left: 1px solid rgba(238, 240, 242, 0.11);
  }

  .section-featured .home-section-shell {
    padding: 14px;
  }

  .section-featured .home-feature-grid {
    gap: 12px;
  }

  .section-featured .featured-tool-card,
  .section-featured .featured-tool-card.is-emphasis,
  .section-featured .featured-tool-card:first-child,
  .section-featured .featured-tool-card:last-child {
    overflow: hidden;
    border-radius: 8px;
  }

  .section-featured .featured-tool-card .article-card-topline,
  .section-featured .featured-tool-card h3,
  .section-featured .featured-tool-card .tool-card-summary,
  .section-featured .featured-tool-card .badges,
  .section-featured .featured-tool-card .tool-card-footer {
    padding-inline: 14px;
  }

  .section-collections .home-collection-grid {
    gap: 12px;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .section-collections .collection-card,
  .section-collections .collection-card.is-emphasis,
  .section-collections .collection-card + .collection-card {
    padding: 18px;
    border: 1px solid rgba(238, 240, 242, 0.11);
    border-radius: 8px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.032), transparent 58%),
      rgba(255, 255, 255, 0.018);
  }

  .section-collections .collection-card + .collection-card {
    border-left: 1px solid rgba(238, 240, 242, 0.11);
  }

  .method-grid {
    gap: 10px;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .method-grid > div {
    padding: 16px;
    border: 1px solid rgba(238, 240, 242, 0.11);
    border-radius: 8px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.032), transparent 58%),
      rgba(255, 255, 255, 0.018);
  }

  .section-methodology .section-inline-actions,
  .contribute-card-home .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/*
 * Tools archive hardening pass: consistent proof slots, cleaner fallback media,
 * and denser cards that still scan cleanly on desktop, tablet, and mobile.
 */
.directory-results-grid {
  align-items: stretch;
  gap: clamp(14px, 1.4vw, 18px);
}

.directory-tool-card.card {
  border-color: rgba(238, 240, 242, 0.13);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.004) 48%),
    #101217;
}

.directory-tool-card-frame {
  gap: 12px;
  padding: 0 16px 16px;
}

.directory-tool-card .tool-proof-card {
  margin: 0 -16px 0;
}

.directory-tool-card .tool-proof-card--archive-preview .tool-proof-surface {
  aspect-ratio: 16 / 9;
  min-height: 0;
  border-radius: 0;
  background:
    linear-gradient(rgba(238, 240, 242, 0.036) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 240, 242, 0.028) 1px, transparent 1px),
    radial-gradient(circle at 16% 18%, rgba(200, 184, 141, 0.13), transparent 8rem),
    #101217;
  background-size: 24px 24px, 24px 24px, auto, auto;
}

.directory-tool-card .tool-proof-image {
  transition: transform 520ms ease, filter 520ms ease, opacity 220ms ease;
}

.directory-tool-card:hover .tool-proof-image,
.directory-tool-card:focus-within .tool-proof-image {
  transform: scale(1.018);
}

.directory-tool-card .article-card-topline {
  top: 12px;
  right: 12px;
  left: 12px;
}

.directory-shortlist-button {
  min-width: 68px;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.directory-tool-title {
  min-height: 0;
  margin-top: 0;
  text-wrap: balance;
}

.directory-tool-card .tool-card-summary {
  min-height: 2.8em;
}

.directory-tool-meta-row {
  min-height: 30px;
  align-content: start;
  gap: 7px;
}

.directory-tool-meta-row span {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  justify-content: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.directory-tool-card .badges {
  min-height: 24px;
}

.directory-tool-card-actions {
  grid-template-columns: minmax(0, 1fr) minmax(86px, 0.34fr);
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(238, 240, 242, 0.08);
}

.directory-tool-card-actions .button {
  min-height: 38px;
}

.directory-tool-card .tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback {
  background:
    radial-gradient(circle at 16% 18%, rgba(200, 184, 141, 0.14), transparent 7rem),
    radial-gradient(circle at 74% 26%, rgba(134, 200, 157, 0.07), transparent 8rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.038), transparent 48%),
    #101217;
}

.directory-tool-card .tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback::before {
  right: 16px;
  bottom: 18px;
  width: min(38%, 156px);
  height: 44%;
  border-color: rgba(238, 240, 242, 0.09);
  background-size: 16px 16px;
}

.directory-tool-card .tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback::after {
  right: 24px;
  bottom: 42px;
  width: min(32%, 128px);
}

.directory-tool-card .tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback-identity {
  align-content: end;
  width: min(66%, 250px);
  padding: 18px;
}

.directory-tool-card .tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback-mark {
  width: 46px;
  height: 46px;
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(232, 235, 238, 0.92));
}

.directory-tool-card .tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback-identity strong {
  max-width: 14rem;
  font-size: 0.98rem;
}

.directory-tool-card .tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback-identity small {
  max-width: 13rem;
}

.directory-tool-card .tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback-lines {
  right: 22px;
  bottom: 30px;
  width: min(34%, 150px);
}

.archive-intel-panels {
  border-color: rgba(238, 240, 242, 0.12);
}

@media (max-width: 980px) {
  .directory-results-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  }
}

@media (max-width: 760px) {
  .directory-tool-card-frame {
    gap: 10px;
    padding: 0 12px 12px;
  }

  .directory-tool-card .tool-proof-card {
    margin-inline: -12px;
  }

  .directory-tool-title {
    min-height: 0;
    font-size: 1.12rem;
  }

  .directory-tool-card .tool-card-summary {
    min-height: 0;
    font-size: 0.84rem;
    line-height: 1.42;
  }

  .directory-tool-meta-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
  }

  .directory-tool-meta-row span {
    min-height: 26px;
    padding-inline: 7px;
    font-size: 0.66rem;
  }

  .directory-tool-meta-row span:last-child:nth-child(3) {
    grid-column: 1 / -1;
  }

  .directory-tool-card .badges {
    min-height: 0;
  }

  .directory-tool-card-actions {
    grid-template-columns: minmax(0, 1fr) minmax(84px, 0.44fr);
    gap: 8px;
    padding-top: 10px;
  }

  .directory-tool-card-actions .button {
    min-height: 38px;
    font-size: 0.72rem;
  }

  .directory-tool-card .tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback-identity {
    width: min(70%, 220px);
    padding: 16px;
  }

  .directory-tool-card .tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback-identity strong {
    max-width: 11rem;
    font-size: 0.9rem;
  }
}

/*
 * Production visual audit pass: tighten the first viewport, reduce repeated
 * card pressure, and harden proof surfaces that were still showing overflow.
 */
.hero-home {
  min-height: min(780px, calc(100svh - 64px)) !important;
  padding-top: clamp(34px, 4vh, 44px) !important;
  padding-bottom: clamp(26px, 3.5vh, 38px) !important;
}

.hero-home .hero-grid {
  align-items: center !important;
}

.hero-home .hero-copy-column h1 {
  line-height: 0.97 !important;
}

.home-command-copy h2 {
  line-height: 1.02;
}

.section-head h2,
.collection-spotlight h2,
.archive-header h1,
.tool-hero-dossier h1 {
  line-height: 1.04 !important;
}

.hero-proofwall {
  max-height: min(505px, calc(100svh - 150px)) !important;
}

.hero-proofwall-card:first-child {
  min-height: clamp(164px, 16vw, 205px) !important;
}

.home-command-section {
  margin-top: 0;
}

.home-shell > .section {
  padding-block: clamp(30px, 3.4vw, 48px);
}

.home-command-shell,
.section-discovery .home-section-shell,
.section-featured .home-section-shell,
.section-collections .home-section-shell,
.section-trust-contribute .card {
  max-width: 100%;
  overflow: hidden;
}

.home-priority-lanes,
.section-featured .home-feature-grid,
.section-collections .home-collection-grid,
.method-grid {
  align-items: stretch;
}

.home-command-mode,
.home-priority-lanes .feature-lane,
.section-featured .featured-tool-card,
.section-collections .collection-card,
.method-grid > div {
  min-height: 0 !important;
  box-sizing: border-box;
}

.home-priority-lanes .feature-lane,
.section-featured .featured-tool-card,
.section-collections .collection-card,
.method-grid > div {
  display: flex;
  flex-direction: column;
}

.home-priority-lanes .feature-lane {
  gap: 12px;
  padding: clamp(18px, 1.8vw, 24px);
}

.home-priority-lanes .feature-lane .article-card-note {
  display: none;
}

.home-priority-lanes .feature-lane .tool-card-footer,
.section-featured .featured-tool-card .tool-card-footer,
.section-collections .collection-card .tool-card-footer {
  margin-top: auto;
}

.section-featured .featured-tool-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.004) 52%),
    #101217;
}

.section-featured .featured-tool-card .tool-card-summary {
  display: block;
  min-height: 0 !important;
}

.section-featured .featured-tool-card .badges .badge {
  max-width: 100%;
}

.section-collections .home-collection-grid {
  gap: 0;
}

.section-collections .collection-card,
.section-collections .collection-card.is-emphasis {
  padding: clamp(20px, 2vw, 26px) !important;
}

.section-collections .collection-card > p:not(.card-meta) {
  max-width: 32rem;
}

.section-collections .collection-card .article-card-note {
  display: none;
}

.section-methodology .section-head,
.contribute-card-home > div {
  max-width: 58rem;
}

.method-grid > div {
  gap: 10px;
}

.method-grid p,
.contribute-points li {
  max-width: 34rem;
}

.archive-header .archive-proof.archive-proof-card {
  min-height: 0;
  padding: clamp(16px, 1.8vw, 22px);
  border: 1px solid rgba(238, 240, 242, 0.11);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 58%),
    rgba(255, 255, 255, 0.018);
  box-shadow: none;
}

.archive-proof.archive-proof-card ul {
  gap: 10px;
}

.archive-proof.archive-proof-card li {
  min-width: 0;
}

.collection-spotlight.card {
  grid-template-columns: minmax(0, 1fr) minmax(230px, 315px);
  gap: clamp(20px, 3vw, 34px);
  padding: clamp(22px, 2.6vw, 34px);
}

.collection-spotlight .article-card-body {
  display: grid;
  gap: 12px;
}

.collection-spotlight .article-card-note,
.collection-archive-grid .collection-card .article-card-note {
  display: block;
  overflow: visible;
  -webkit-box-orient: initial;
  -webkit-line-clamp: initial;
}

.collection-spotlight .article-card-note:nth-of-type(n+2),
.collection-archive-grid .collection-card .article-card-note:nth-of-type(n+2) {
  display: none !important;
}

.collection-spotlight-meta,
.collection-archive-grid .collection-card {
  min-width: 0;
}

.collection-archive-grid .collection-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  padding: clamp(18px, 1.8vw, 22px);
}

.collection-archive-grid .collection-card .badges {
  margin-top: auto;
}

.collection-archive-grid .collection-card .collection-card-footer {
  padding-top: 12px;
  border-top: 1px solid rgba(238, 240, 242, 0.08);
}

.tool-hero-dossier,
.tool-hero-dossier * {
  box-sizing: border-box;
}

.tool-hero-meta,
.tool-hero-meta .tool-proof-card,
.tool-hero-meta .tool-proof-surface,
.tool-hero-meta .tool-proof-fallback,
.tool-dossier-signal {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.tool-hero-meta .tool-proof-fallback-identity {
  width: min(62%, 260px);
  min-width: 0;
  max-width: 100%;
  padding: 18px;
}

.tool-hero-meta .tool-proof-fallback-identity strong,
.tool-hero-meta .tool-proof-fallback-identity small,
.meta-list-compact li,
.meta-list-compact span,
.tool-dossier-facts strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.tool-hero-meta .tool-proof-fallback-identity small {
  white-space: normal;
}

.tool-proof-card--hero .tool-proof-surface {
  min-height: clamp(260px, 25vw, 325px);
}

.tool-proof-card.tool-proof-card--has-screenshot:not(.is-proof-missing) .tool-proof-fallback,
.tool-proof-card.tool-proof-card--has-screenshot:not(.is-proof-missing) .tool-proof-fallback-identity {
  overflow: hidden;
}

.tool-proof-card.tool-proof-card--has-screenshot:not(.is-proof-missing) .tool-proof-fallback-eyebrow {
  white-space: normal;
}

.directory-tool-card .tool-proof-card--archive-preview .tool-proof-fallback,
.section-featured .tool-proof-card--home-feature .tool-proof-fallback {
  display: block;
  overflow: hidden;
}

.directory-tool-card .tool-proof-card--archive-preview .tool-proof-fallback-identity,
.section-featured .tool-proof-card--home-feature .tool-proof-fallback-identity {
  width: min(76%, 270px);
  min-width: 210px;
  overflow: hidden;
}

.directory-tool-card .tool-proof-card--archive-preview .tool-proof-fallback-eyebrow,
.section-featured .tool-proof-card--home-feature .tool-proof-fallback-eyebrow {
  white-space: normal;
}

.directory-tool-card .tool-proof-card--archive-preview .tool-proof-fallback-identity strong,
.section-featured .tool-proof-card--home-feature .tool-proof-fallback-identity strong {
  max-width: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  .home-command-mode,
  .home-priority-lanes .feature-lane,
  .section-featured .featured-tool-card,
  .section-collections .collection-card,
  .collection-archive-grid .collection-card {
    transition:
      transform 220ms ease,
      border-color 220ms ease,
      background-color 220ms ease;
  }

  .home-command-mode:hover,
  .home-priority-lanes .feature-lane:hover,
  .section-featured .featured-tool-card:hover,
  .section-collections .collection-card:hover,
  .collection-archive-grid .collection-card:hover {
    transform: translateY(-2px);
  }

  .hero-proofwall-card,
  .tool-proof-card .tool-proof-image {
    transition:
      transform 520ms ease,
      filter 520ms ease,
      opacity 240ms ease;
  }

  .hero-proofwall-card:hover,
  .hero-proofwall-card:focus-visible {
    transform: translateY(-3px);
  }
}

@media (min-width: 981px) {
  .tool-hero-dossier {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 420px) !important;
  }

  .tool-hero-meta {
    width: 100%;
    max-width: 420px;
  }
}

@media (min-width: 1181px) and (min-height: 940px) {
  .hero-home {
    min-height: 760px !important;
  }
}

@media (max-width: 1160px) {
  .hero-home {
    min-height: auto !important;
  }

  .hero-proofwall {
    max-height: none !important;
  }
}

@media (max-width: 760px) {
  .hero-home {
    min-height: auto !important;
    padding-top: 40px !important;
    padding-bottom: 34px !important;
  }

  .quick-search {
    width: 100% !important;
    max-width: 100% !important;
  }

  .home-shell > .section {
    padding-block: 30px;
  }

  .home-priority-lanes,
  .section-featured .home-feature-grid,
  .section-collections .home-collection-grid,
  .method-grid {
    grid-template-columns: 1fr !important;
  }

  .section-featured .home-section-shell,
  .section-discovery .home-section-shell,
  .section-collections .home-section-shell,
  .section-trust-contribute .card {
    padding: 16px;
  }

  .section-collections .home-section-shell {
    padding: 0;
  }

  .collection-spotlight.card {
    grid-template-columns: 1fr;
  }

  .collection-spotlight-meta {
    padding-top: 16px;
    padding-left: 0;
    border-top: 1px solid rgba(238, 240, 242, 0.1);
    border-left: 0;
  }

  .tool-hero-dossier h1 {
    max-width: 12ch;
  }

  .tool-proof-card--hero .tool-proof-surface {
    min-height: 235px;
    aspect-ratio: 16 / 11;
  }

  .tool-hero-meta .tool-proof-fallback-identity {
    width: min(72%, 230px);
    padding: 16px;
  }

  .directory-tool-card .tool-proof-card--archive-preview .tool-proof-fallback-identity,
  .section-featured .tool-proof-card--home-feature .tool-proof-fallback-identity {
    width: min(78%, 230px);
    min-width: 132px;
  }
}

/*
 * Mobile directory filter pass: desktop keeps the persistent sidebar, while
 * phones get a compact filter panel before the result list.
 */
.directory-mobile-filters {
  display: none;
}

@media (max-width: 760px) {
  .archive-header-directory .archive-header-meta .directory-filter-jump {
    display: none !important;
  }

  .directory-filters {
    display: none !important;
  }

  .directory-mobile-filters {
    display: block;
    overflow: hidden;
    width: 100%;
    margin: 2px 0 0;
    padding: 0;
    border-radius: 8px;
    background:
      linear-gradient(135deg, rgba(200, 184, 141, 0.07), transparent 44%),
      rgba(17, 19, 24, 0.94);
  }

  .directory-mobile-filter-toggle {
    border: 0;
  }

  .directory-mobile-filter-toggle > summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px;
    min-height: 58px;
    padding: 14px 16px;
    cursor: pointer;
    list-style: none;
  }

  .directory-mobile-filter-toggle > summary::-webkit-details-marker {
    display: none;
  }

  .directory-mobile-filter-toggle > summary span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    grid-column: 1;
    color: #f4f1e9;
    font-family: var(--o4-font-ui);
    font-size: 0.88rem;
    font-weight: 780;
    line-height: 1.2;
  }

  .directory-mobile-filter-toggle > summary small {
    grid-column: 1;
    color: rgba(238, 240, 242, 0.56);
    font-size: 0.74rem;
    line-height: 1.35;
  }

  .directory-mobile-filter-toggle > summary::after {
    content: "+";
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: end;
    color: var(--o4-premium-accent);
    font-size: 1.1rem;
    line-height: 1;
  }

  .directory-mobile-filter-toggle[open] > summary::after {
    content: "-";
  }

  .directory-mobile-filter-toggle[open] > summary {
    border-bottom: 1px solid rgba(238, 240, 242, 0.1);
  }

  .directory-filter-form-mobile {
    display: grid;
    gap: 10px;
    padding: 14px;
  }

  .directory-filter-form-mobile label {
    display: grid;
    gap: 6px;
    margin: 0;
    color: rgba(238, 240, 242, 0.72);
    font-size: 0.76rem;
    font-weight: 720;
  }

  .directory-filter-form-mobile label:has(input[type="checkbox"]) {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 32px;
  }

  .directory-filter-form-mobile input,
  .directory-filter-form-mobile select {
    min-width: 0;
    min-height: 42px;
    border-radius: 7px;
  }

  .directory-filter-form-mobile .directory-filter-advanced-panel {
    display: grid;
    gap: 10px;
    padding-top: 10px;
  }

  .directory-filter-form-mobile .directory-filter-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
  }

  .directory-filter-form-mobile .directory-filter-actions .button {
    min-width: 0;
    width: 100%;
    justify-content: center;
    padding-inline: 10px;
  }
}

/*
 * Homepage lower-section polish: reduce nested card pressure, trim mobile
 * repetition, and keep the proof-led sections feeling lighter.
 */
.home-command-modes {
  align-self: center;
}

.section-methodology .method-grid {
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid rgba(238, 240, 242, 0.1);
}

.section-methodology .method-grid > div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid rgba(238, 240, 242, 0.1);
  border-radius: 0;
  background: transparent;
}

.section-methodology .method-grid > div:last-child {
  border-bottom: 0;
}

.section-methodology .method-icon {
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
}

.section-methodology .method-grid h3,
.section-methodology .method-grid p {
  margin: 0;
}

.section-methodology .method-grid p {
  max-width: 32rem;
}

.section-collections .collection-card .article-card-note {
  display: none !important;
}

@media (max-width: 760px) {
  .section-discovery .section-link,
  .section-featured .section-link,
  .section-collections .section-link {
    display: none;
  }

  .section-discovery .section-head,
  .section-featured .section-head,
  .section-collections .section-head {
    padding-bottom: 14px;
  }

  .section-featured .tool-proof-card--home-feature .tool-proof-surface {
    min-height: 148px;
    aspect-ratio: 16 / 9;
  }

  .section-featured .featured-tool-card .article-card-topline,
  .section-featured .featured-tool-card h3,
  .section-featured .featured-tool-card .tool-card-summary,
  .section-featured .featured-tool-card .badges,
  .section-featured .featured-tool-card .tool-card-footer {
    padding-inline: 12px;
  }

  .section-methodology .method-grid > div {
    padding: 14px 0;
  }
}

/*
 * Tool system polish: bring visual proof earlier on mobile, make profile
 * navigation scan like chips, and keep quick routes compact.
 */
@media (max-width: 760px) {
  .tool-hero-dossier.card {
    padding: 18px;
  }

  .tool-hero-dossier h1 {
    max-width: 9.5ch;
    font-size: clamp(3rem, 18vw, 4.1rem);
    line-height: 0.94 !important;
  }

  .tool-hero-dossier .tool-hero-summary {
    max-width: 22rem;
    font-size: 1rem;
    line-height: 1.48;
  }

  .tool-dossier-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    border-radius: 8px;
  }

  .tool-dossier-facts div {
    min-height: 82px !important;
    padding: 12px !important;
  }

  .tool-dossier-facts strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.82rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  .tool-hero-actions {
    gap: 8px;
  }

  .tool-hero-actions .button-ghost {
    display: none;
  }

  .tool-hero-footnotes {
    display: none;
  }

  .tool-hero-meta {
    gap: 16px;
    margin-top: 4px;
  }

  .tool-proof-card--hero .tool-proof-surface {
    min-height: 176px;
    aspect-ratio: 16 / 9;
  }

  .tool-dossier-signal {
    padding: 0;
    border: 0;
    background: transparent;
  }

  .tool-dossier-signal .meta-list {
    gap: 0;
    border-top: 1px solid rgba(238, 240, 242, 0.1);
  }

  .tool-dossier-signal .meta-list li {
    grid-template-columns: 86px minmax(0, 1fr) !important;
    gap: 10px;
    min-height: 46px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(238, 240, 242, 0.1);
  }

  .tool-dossier-signal .meta-list li strong {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .tool-dossier-signal .meta-list li span {
    font-size: 0.9rem;
    line-height: 1.32;
  }

  .tool-jump-nav.tool-jump-nav-compact {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    margin-top: 14px;
    padding: 0 0 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    scrollbar-width: none;
  }

  .tool-jump-nav.tool-jump-nav-compact::-webkit-scrollbar {
    display: none;
  }

  .tool-jump-nav.tool-jump-nav-compact a {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(238, 240, 242, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.024);
    font-size: 0.76rem;
  }

  .tool-dossier .tool-disclosure-grid {
    gap: 0;
    border: 0;
    background: transparent;
  }

  .tool-dossier .tool-disclosure-item {
    padding: 13px 0;
    border-bottom: 1px solid rgba(238, 240, 242, 0.1);
    background: transparent;
  }

  .tool-dossier .tool-disclosure-item:last-child {
    border-bottom: 0;
  }

  .tool-dossier .tool-disclosure-item p,
  .tool-dossier-row p {
    font-size: 0.94rem;
    line-height: 1.52;
  }

  .directory-pathways {
    margin-top: 16px;
    padding: 14px 0 8px;
  }

  .directory-pathway-grid {
    display: flex !important;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .directory-pathway-grid::-webkit-scrollbar {
    display: none;
  }

  .directory-pathway-card {
    flex: 0 0 min(82vw, 300px);
    grid-template-columns: 32px minmax(0, 1fr) auto !important;
    min-height: 104px !important;
    align-content: center;
    scroll-snap-align: start;
  }

  .directory-pathway-card .o4-card-icon {
    grid-row: 1 / span 2;
  }

  .directory-pathway-footer {
    grid-column: 3;
    grid-row: 1 / span 2;
    justify-self: end;
    padding-top: 0;
  }

  .directory-pathway-footer .badge {
    min-height: 28px;
    white-space: nowrap;
  }
}

/*
 * Tool profile finishing pass: keep long proof identities contained and make
 * the lower mobile dossier feel like scannable facts instead of stacked boxes.
 */
.tool-proof-fallback-identity,
.tool-proof-fallback-identity strong,
.tool-proof-fallback-identity small {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tool-proof-fallback-identity small {
  display: block;
}

@media (max-width: 760px) {
  .directory-tool-card .tool-proof-fallback-identity small {
    display: -webkit-box;
    overflow: hidden;
    max-width: 100%;
    line-height: 1.2;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .tool-single-shell > section.tool-dossier-panel.card {
    padding: 16px 18px;
    border-radius: 10px;
  }

  .tool-dossier-panel {
    gap: 13px;
  }

  .tool-dossier-panel-head {
    gap: 6px;
  }

  .tool-dossier-panel-head h2 {
    max-width: 13ch;
    font-size: clamp(1.45rem, 7.4vw, 1.9rem);
    line-height: 1.06;
  }

  .tool-dossier-panel-head p:last-child {
    font-size: 0.94rem;
    line-height: 1.45;
  }

  .tool-dossier-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    border-radius: 10px;
  }

  .tool-dossier-matrix div {
    min-height: 76px;
    padding: 11px 12px;
  }

  .tool-dossier-matrix span {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .tool-dossier-matrix strong {
    font-size: 0.85rem;
    line-height: 1.28;
  }

  .tool-dossier-row {
    padding: 12px 0;
  }

  .tool-dossier-row > strong {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
  }

  .tool-related-grid > div {
    padding: 14px;
  }

  .tool-related-grid h3 {
    font-size: 0.86rem;
    line-height: 1.25;
  }
}

/*
 * Archive path polish: taxonomy/category pages should show the path, the
 * proof cue, and the first tools without turning the opening viewport into a
 * tall explanatory panel.
 */
.taxonomy-tool-header.archive-header-directory.card {
  min-height: 0 !important;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: end;
  gap: clamp(26px, 4vw, 58px);
  padding: clamp(28px, 4vw, 46px) 0 clamp(24px, 3vw, 34px);
}

.taxonomy-tool-header .archive-header-copy {
  display: grid;
  gap: 12px;
  max-width: 780px;
}

.taxonomy-tool-header.archive-header-directory .archive-header-copy h1 {
  max-width: 13ch;
  font-size: clamp(3.1rem, 5.2vw, 5rem);
  line-height: 0.96;
}

.taxonomy-tool-header .archive-proof-card {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  overflow: hidden;
  padding: 18px;
  border-left-width: 1px;
  background:
    linear-gradient(135deg, rgba(200, 184, 141, 0.06), transparent 46%),
    rgba(255, 255, 255, 0.018);
}

.taxonomy-tool-header .archive-proof-card ul {
  gap: 9px;
  margin-top: 10px;
}

.taxonomy-tool-header .archive-proof-card li {
  grid-template-columns: 17px minmax(0, 1fr);
  gap: 9px;
  font-size: 0.82rem;
  line-height: 1.42;
}

.taxonomy-tool-actions {
  gap: 8px;
  margin-top: 2px;
}

.taxonomy-tool-actions .button {
  min-height: 38px;
  border-radius: 7px;
  font-size: 0.76rem;
}

.taxonomy-tool-grid.directory-results-grid {
  gap: 14px;
}

.taxonomy-tool-card .directory-tool-card-frame {
  gap: 10px;
}

.taxonomy-tool-card .tool-proof-card {
  margin: 0 -14px 0;
}

.taxonomy-tool-card .card-meta {
  margin-top: 2px;
}

.taxonomy-tool-card .directory-tool-card-actions {
  grid-template-columns: 1fr;
}

.taxonomy-tool-card .directory-tool-card-actions .button {
  width: 100%;
}

.article-card-use-case .article-card-note,
.article-card-coverage .article-card-note {
  color: rgba(238, 240, 242, 0.66);
  font-size: 0.84rem;
  line-height: 1.44;
}

@media (max-width: 900px) {
  .taxonomy-tool-header.archive-header-directory.card {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 760px) {
  .taxonomy-tool-header.archive-header-directory.card {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .taxonomy-tool-header.archive-header-directory .archive-header-copy h1 {
    max-width: 9.8ch;
    font-size: clamp(2.9rem, 14vw, 3.9rem);
  }

  .taxonomy-tool-header .archive-proof-card {
    padding: 14px;
  }

  .taxonomy-tool-header .archive-proof-card li {
    font-size: 0.8rem;
    line-height: 1.36;
  }

  .taxonomy-tool-header .archive-proof-card li:nth-child(3),
  .taxonomy-tool-actions .button-secondary {
    display: none;
  }

  .taxonomy-tool-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .taxonomy-tool-card .tool-proof-card--archive-preview .tool-proof-surface {
    min-height: 166px;
  }

  .article-card-use-case .article-card-note,
  .article-card-coverage .article-card-note {
    display: none;
  }
}

/*
 * Collection and comparison decision polish: move tool evidence higher on the
 * page and keep long reasoning copy out of the first mobile viewport.
 */
.comparison-lead.card {
  grid-template-columns: minmax(0, 0.92fr) minmax(310px, 0.58fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
  padding-top: clamp(22px, 3vw, 32px);
  padding-bottom: clamp(20px, 3vw, 30px);
}

.comparison-lead-brief {
  display: grid;
  gap: 0;
  align-self: stretch;
  max-width: none;
}

.comparison-brief-line {
  display: grid;
  gap: 7px;
  padding: 14px 0;
  border-top: 1px solid var(--o4-premium-line);
}

.comparison-brief-line:first-child {
  padding-top: 0;
  border-top: 0;
}

.comparison-brief-line:last-child {
  padding-bottom: 0;
}

.comparison-brief-line p {
  margin: 0;
  color: rgba(238, 240, 242, 0.64);
  font-size: 0.88rem;
  line-height: 1.48;
}

.comparison-brief-line .panel-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(238, 240, 242, 0.52);
  font-size: 0.66rem;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.comparison-brief-line a {
  color: #f4f1e9;
  font-weight: 740;
}

.comparison-tool-card.card {
  overflow: hidden;
  padding: 0;
  border-radius: 8px;
  background: #111318;
}

.comparison-tool-card > h2,
.comparison-tool-card > p,
.comparison-tool-card > .badges {
  padding-inline: 16px;
}

.comparison-tool-card > h2 {
  margin-top: 16px;
  color: #f4f1e9;
  font-size: clamp(1.08rem, 1.35vw, 1.42rem);
  line-height: 1.16;
}

.comparison-tool-card > p {
  margin-top: 9px;
  color: rgba(238, 240, 242, 0.64);
  font-size: 0.84rem;
  line-height: 1.44;
}

.comparison-tool-card > p:nth-of-type(1),
.comparison-tool-card > p:nth-of-type(2) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.comparison-tool-card > p:nth-of-type(1) {
  -webkit-line-clamp: 2;
}

.comparison-tool-card > p:nth-of-type(2) {
  -webkit-line-clamp: 3;
}

.comparison-tool-card > p:nth-of-type(n+3):nth-of-type(-n+5) {
  margin-top: 7px;
  font-size: 0.78rem;
  line-height: 1.34;
}

.comparison-tool-card > p:nth-of-type(6),
.comparison-tool-card > p:nth-of-type(7) {
  display: none !important;
}

.comparison-tool-card > .badges {
  gap: 6px;
  margin-top: 11px;
}

.comparison-tool-card > .badges .badge:nth-child(n+3) {
  display: none;
}

.comparison-tool-card > p:last-child {
  margin-top: auto;
  padding: 12px 16px 16px;
}

.comparison-tool-card > p:last-child .button {
  width: 100%;
  min-height: 38px;
}

.comparison-decision-notes.card {
  max-width: 960px;
  margin-top: 18px;
  padding: 18px;
  border-color: var(--o4-premium-line);
  border-radius: 8px;
  background: #111318;
  box-shadow: none;
}

.comparison-decision-notes .editorial-content {
  max-width: 760px;
  color: rgba(238, 240, 242, 0.7);
  font-size: 0.94rem;
  line-height: 1.58;
}

.comparison-decision-notes .editorial-content h2,
.comparison-decision-notes .editorial-content h3 {
  max-width: 18ch;
  color: #f4f1e9;
  font-size: clamp(1.05rem, 1.5vw, 1.42rem);
  line-height: 1.18;
}

.collection-picks.card {
  padding: 18px;
}

.collection-picks h2 {
  margin: 0;
  font-size: clamp(1.22rem, 1.7vw, 1.75rem);
  line-height: 1.15;
}

.collection-pick-card {
  min-height: 112px;
}

@media (max-width: 760px) {
  .collection-shell.card {
    width: 100%;
    min-width: 0;
  }

  .collection-shell > *,
  .comparison-lead > * {
    min-width: 0;
  }

  .comparison-lead.card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-bottom: 20px;
  }

  .comparison-lead .comparison-lead-copy h1 {
    font-size: clamp(2.18rem, 10.4vw, 3rem);
    line-height: 0.98;
  }

  .comparison-lead-brief {
    padding-left: 0;
    border-left: 0;
  }

  .comparison-brief-line {
    padding: 12px 0;
  }

  .comparison-brief-line:nth-child(3),
  .collection-shell-sidebar {
    display: none;
  }

  .comparison-brief-line p {
    font-size: 0.84rem;
    line-height: 1.42;
  }

  .comparison-tool-grid {
    gap: 12px;
    margin-top: 18px;
  }

  .comparison-tool-card > h2,
  .comparison-tool-card > p,
  .comparison-tool-card > .badges {
    padding-inline: 14px;
  }

  .comparison-tool-card > h2 {
    margin-top: 14px;
    font-size: 1.18rem;
  }

  .comparison-tool-card > p:nth-of-type(n+3):nth-of-type(-n+5) {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    min-height: 28px;
    align-items: center;
    gap: 3px;
    margin-right: 5px;
    padding: 0 9px;
    border: 1px solid var(--o4-premium-line);
    border-radius: 999px;
    color: rgba(238, 240, 242, 0.62);
    background: rgba(255, 255, 255, 0.025);
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .comparison-tool-card > .badges {
    display: none;
  }

  .comparison-tool-card > p:last-child {
    display: block;
    padding: 12px 14px 14px;
  }

  .comparison-decision-notes.card {
    margin-top: 14px;
    padding: 15px;
  }

  .comparison-decision-notes .editorial-content {
    font-size: 0.9rem;
    line-height: 1.52;
  }

  .comparison-fit-signal.card {
    margin-top: 14px;
  }

  .collection-picks.card {
    padding: 15px;
  }

  .collection-picks-grid {
    display: flex !important;
    gap: 8px;
    overflow-x: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .collection-picks-grid::-webkit-scrollbar {
    display: none;
  }

  .collection-pick-card {
    flex: 0 0 min(76vw, 260px);
    min-height: 110px;
    border: 1px solid var(--o4-premium-line);
    border-radius: 8px;
    background: #111318;
    scroll-snap-align: start;
  }

  .collection-tools-head {
    margin-top: 28px;
    padding-bottom: 14px;
  }

  .collection-tools-head h2 {
    font-size: 1.45rem;
  }

  .collection-tools-head p:last-child {
    font-size: 0.92rem;
    line-height: 1.46;
  }

  .collection-tool-card > .badges {
    display: none;
  }

  .collection-tool-card-actions {
    grid-template-columns: 1fr;
  }
}

/*
 * Review detail polish: keep mobile reviews from becoming stacked proof walls
 * and make review evidence labels as scannable as the other brief pages.
 */
.article-shell-review-detail.card {
  box-sizing: border-box;
  display: grid;
  width: 100%;
  min-width: 0;
}

.article-shell-review-detail > * {
  min-width: 0;
}

.article-shell-review-detail .article-proof-card {
  position: relative;
  overflow: hidden;
  min-height: 150px;
}

.article-shell-review-detail .article-proof-card::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(200, 184, 141, 0.9), rgba(200, 184, 141, 0.08));
  opacity: 0.5;
}

.article-shell-review-detail .article-proof-card .panel-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(238, 240, 242, 0.56);
  letter-spacing: 0.08em;
}

.article-shell-review-detail .article-proof-card p:not(.panel-label) {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(238, 240, 242, 0.64);
  font-size: 0.84rem;
  line-height: 1.46;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.article-shell-review-detail .review-tool-panel h2,
.article-shell-review-detail .tool-section-grid > .card h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 760px) {
  .article-shell-review-detail .review-hero-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .article-shell-review-detail .article-header-review,
  .article-shell-review-detail .review-hero-proof {
    min-width: 0;
  }

  .article-shell-review-detail h1 {
    overflow-wrap: anywhere;
  }

  .article-shell-review-detail .article-proof-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 8px;
    overflow-x: auto;
    margin-top: 16px;
    padding: 0 0 4px;
    border: 0;
    border-radius: 0;
    background: transparent;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .article-shell-review-detail .article-proof-grid::-webkit-scrollbar {
    display: none;
  }

  .article-shell-review-detail .article-proof-card {
    flex: 0 0 min(82vw, 310px);
    min-height: 154px;
    padding: 14px;
    border: 1px solid var(--o4-premium-line);
    border-radius: 8px;
    background: #111318;
    scroll-snap-align: start;
  }

  .article-shell-review-detail .tool-section-grid {
    gap: 10px;
    margin-top: 16px;
  }

  .article-shell-review-detail .tool-section-grid > .card {
    padding: 15px;
  }

  .article-shell-review-detail .review-tool-panel .badges,
  .article-shell-review-detail .review-tool-panel .article-card-note {
    display: none;
  }

  .article-shell-review-detail .review-tool-panel p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.9rem;
    line-height: 1.46;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .article-shell-review-detail .review-tool-panel .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .article-shell-review-detail .article-content {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--o4-premium-line);
  }
}

/*
 * Single brief polish: use-case and coverage pages should scan like analyst
 * briefs, not long articles broken into stacked boxes.
 */
.article-shell-use-case.card,
.article-shell-coverage.card {
  display: grid;
  width: 100%;
  min-width: 0;
}

.article-shell-use-case > *,
.article-shell-coverage > * {
  min-width: 0;
}

.article-shell-use-case .article-proof-card,
.article-shell-coverage .article-proof-card {
  position: relative;
  display: grid;
  align-content: start;
  overflow: hidden;
  min-width: 0;
  min-height: 148px;
}

.article-shell-use-case .article-proof-card::after,
.article-shell-coverage .article-proof-card::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(200, 184, 141, 0.92), rgba(200, 184, 141, 0.08));
  opacity: 0.5;
}

.article-shell-use-case .article-proof-card .panel-label,
.article-shell-coverage .article-proof-card .panel-label {
  min-height: 18px;
  color: rgba(238, 240, 242, 0.58);
  letter-spacing: 0.08em;
}

.article-shell-use-case .article-proof-card p:not(.panel-label),
.article-shell-coverage .article-proof-card p:not(.panel-label) {
  color: rgba(238, 240, 242, 0.64);
  font-size: 0.83rem;
  line-height: 1.46;
  -webkit-line-clamp: 5;
}

.proof-card-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: var(--o4-premium-accent);
  opacity: 0.9;
}

.article-shell-use-case .tool-section-grid > .card,
.article-shell-coverage .tool-section-grid > .card {
  display: grid;
  align-content: start;
  gap: 10px;
  background:
    linear-gradient(135deg, rgba(200, 184, 141, 0.045), transparent 42%),
    #111318;
}

.article-shell-use-case .tool-section-grid > .card h2,
.article-shell-coverage .tool-section-grid > .card h2 {
  max-width: 18ch;
  margin: 0;
  color: #f4f1e9;
  font-size: clamp(1.16rem, 1.55vw, 1.62rem);
  line-height: 1.12;
}

.article-shell-use-case .tool-section-grid > .card h3,
.article-shell-coverage .tool-section-grid > .card h3 {
  margin: 8px 0 0;
  color: rgba(238, 240, 242, 0.76);
  font-size: 0.82rem;
  line-height: 1.25;
}

.article-shell-use-case .tool-section-grid > .card p,
.article-shell-use-case .tool-section-grid > .card li,
.article-shell-coverage .tool-section-grid > .card p,
.article-shell-coverage .tool-section-grid > .card li {
  margin: 0;
  color: rgba(238, 240, 242, 0.64);
  font-size: 0.9rem;
  line-height: 1.5;
}

.article-shell-use-case .tool-section-grid > .card .article-card-note,
.article-shell-coverage .tool-section-grid > .card .article-card-note {
  color: rgba(238, 240, 242, 0.55);
  font-size: 0.84rem;
  line-height: 1.44;
}

.article-shell-use-case .article-content,
.article-shell-coverage .article-content {
  padding-top: clamp(22px, 3vw, 34px);
  border-top: 1px solid var(--o4-premium-line);
}

.article-shell-use-case .article-content > :first-child,
.article-shell-coverage .article-content > :first-child {
  margin-top: 0;
}

.article-shell-use-case .article-content h2,
.article-shell-use-case .article-content h3,
.article-shell-coverage .article-content h2,
.article-shell-coverage .article-content h3 {
  max-width: 20ch;
  color: #f4f1e9;
  line-height: 1.14;
}

.article-shell-coverage .tool-card h3 {
  margin-top: 8px;
  font-size: clamp(1rem, 1.2vw, 1.24rem);
  line-height: 1.18;
}

.article-shell-coverage .tool-card-summary {
  display: -webkit-box;
  min-height: 2.8em;
  margin-top: 8px;
  overflow: hidden;
  color: rgba(238, 240, 242, 0.62);
  font-size: 0.84rem;
  line-height: 1.44;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-shell-coverage .tool-card > .badges {
  gap: 6px;
  margin-top: 11px;
}

.article-shell-coverage .tool-card .badge:nth-child(n+3) {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .article-shell-use-case .article-proof-card,
  .article-shell-coverage .article-proof-card,
  .article-shell-use-case .tool-section-grid > .card,
  .article-shell-coverage .tool-section-grid > .card {
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
  }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .article-shell-use-case .article-proof-card:hover,
  .article-shell-coverage .article-proof-card:hover,
  .article-shell-use-case .tool-section-grid > .card:hover,
  .article-shell-coverage .tool-section-grid > .card:hover {
    transform: translateY(-1px);
    border-color: rgba(200, 184, 141, 0.24);
  }
}

@media (max-width: 760px) {
  .article-shell-use-case .article-header-review,
  .article-shell-coverage .article-header-review {
    gap: 12px;
    padding-bottom: 18px;
  }

  .article-shell-use-case .article-header h1,
  .article-shell-coverage h1 {
    font-size: clamp(2.18rem, 10.4vw, 3rem);
    line-height: 0.98;
  }

  .article-shell-use-case .section-intro,
  .article-shell-coverage .section-intro {
    font-size: 0.96rem;
    line-height: 1.5;
  }

  .article-shell-use-case .badges .badge:nth-child(n+4),
  .article-shell-coverage .badges .badge:nth-child(n+4) {
    display: none;
  }

  .article-shell-use-case .article-proof-grid,
  .article-shell-coverage .article-proof-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 8px;
    overflow-x: auto;
    margin-top: 16px;
    padding: 0 0 4px;
    border: 0;
    border-radius: 0;
    background: transparent;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .article-shell-use-case .article-proof-grid::-webkit-scrollbar,
  .article-shell-coverage .article-proof-grid::-webkit-scrollbar {
    display: none;
  }

  .article-shell-use-case .article-proof-card,
  .article-shell-coverage .article-proof-card {
    flex: 0 0 min(82vw, 310px);
    min-height: 154px;
    padding: 14px;
    border: 1px solid var(--o4-premium-line);
    border-radius: 8px;
    background: #111318;
    scroll-snap-align: start;
  }

  .article-shell-use-case .article-proof-card p:not(.panel-label),
  .article-shell-coverage .article-proof-card p:not(.panel-label) {
    font-size: 0.82rem;
    line-height: 1.44;
    -webkit-line-clamp: 5;
  }

  .article-shell-use-case .tool-section-grid,
  .article-shell-coverage .tool-section-grid {
    gap: 10px;
    margin-top: 16px;
  }

  .article-shell-use-case .tool-section-grid > .card,
  .article-shell-coverage .tool-section-grid > .card {
    padding: 15px;
    border-radius: 8px;
  }

  .article-shell-use-case .tool-section-grid > .card h2,
  .article-shell-coverage .tool-section-grid > .card h2 {
    max-width: none;
    font-size: 1.18rem;
  }

  .article-shell-use-case .tool-section-grid > .card > p,
  .article-shell-coverage .tool-section-grid > .card > p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.86rem;
    line-height: 1.44;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .article-shell-use-case .section,
  .article-shell-coverage .section {
    padding: 24px 0;
  }

  .article-shell-use-case .section-head-inline,
  .article-shell-coverage .section-head-inline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .article-shell-use-case .section-link,
  .article-shell-coverage .section-link {
    justify-self: start;
  }

  .article-shell-use-case .article-content,
  .article-shell-coverage .article-content {
    margin-top: 22px;
    padding-top: 22px;
    font-size: 0.95rem;
    line-height: 1.62;
  }
}

/*
 * Form and policy surface polish: reduce card-on-card pressure, make process
 * states visual, and keep trust pages easier to scan on mobile.
 */
.page-shell.page-shell-premium,
.form-shell.page-shell-premium {
  isolation: isolate;
  box-shadow: 0 22px 74px rgba(0, 0, 0, 0.3);
}

.page-shell.page-shell-premium::after,
.form-shell.page-shell-premium::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent, rgba(200, 184, 141, 0.42), transparent) 18px 0 / min(42%, 480px) 1px no-repeat,
    linear-gradient(180deg, rgba(238, 240, 242, 0.07), transparent 38%) 0 0 / 1px 100% no-repeat;
  opacity: 0.72;
}

.page-shell.page-shell-premium > *,
.form-shell.page-shell-premium > * {
  position: relative;
  z-index: 1;
}

.page-shell-route-strip span {
  gap: 6px;
}

.route-strip-icon,
.form-entry-icon {
  flex: 0 0 auto;
  color: rgba(200, 184, 141, 0.92);
}

.route-strip-icon {
  width: 13px;
  height: 13px;
}

.form-entry-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-entry-icon {
  width: 24px;
  height: 24px;
  padding: 4px;
  border: 1px solid rgba(200, 184, 141, 0.22);
  border-radius: 8px;
  background: rgba(200, 184, 141, 0.07);
}

.form-shell .osint4all-form {
  gap: 14px;
  padding: 0;
}

.form-shell .osint4all-form > .osint4all-form-note:first-of-type {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  border-color: rgba(200, 184, 141, 0.18);
  background: rgba(200, 184, 141, 0.045);
}

.form-shell .osint4all-form > .osint4all-form-note:first-of-type::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 999px;
  background: rgba(122, 167, 138, 0.96);
  box-shadow: 0 0 0 5px rgba(122, 167, 138, 0.12);
}

.form-shell .osint4all-next-steps {
  display: grid;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
}

.form-shell .osint4all-next-steps h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: rgba(245, 246, 247, 0.92);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.form-shell .osint4all-next-steps h2::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 1px solid rgba(200, 184, 141, 0.22);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(200, 184, 141, 0.94) 0 2px, transparent 3px),
    rgba(200, 184, 141, 0.06);
}

.form-shell .osint4all-next-steps ul {
  counter-reset: o4-form-step;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.form-shell .osint4all-next-steps li {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  min-height: 56px;
  padding: 10px;
  border-color: rgba(238, 240, 242, 0.09);
  background: rgba(3, 6, 11, 0.22);
}

.form-shell .osint4all-next-steps li::before {
  counter-increment: o4-form-step;
  content: counter(o4-form-step);
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(200, 184, 141, 0.2);
  border-radius: 999px;
  color: rgba(200, 184, 141, 0.94);
  font-family: var(--o4-font-ui);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

.form-shell .osint4all-form > label {
  gap: 6px;
  color: rgba(238, 240, 242, 0.82);
  font-size: 0.86rem;
}

.form-shell .osint4all-form input,
.form-shell .osint4all-form select,
.form-shell .osint4all-form textarea {
  min-width: 0;
  border-color: rgba(238, 240, 242, 0.14);
  background: rgba(1, 4, 8, 0.58);
}

.form-shell .osint4all-form textarea {
  min-height: 104px;
}

.form-shell .osint4all-form input:focus,
.form-shell .osint4all-form select:focus,
.form-shell .osint4all-form textarea:focus {
  border-color: rgba(200, 184, 141, 0.5);
  box-shadow: 0 0 0 3px rgba(200, 184, 141, 0.08);
}

.form-shell .osint4all-form > button {
  min-height: 50px;
  border-color: rgba(200, 184, 141, 0.18);
  background: linear-gradient(180deg, rgba(113, 70, 151, 0.96), rgba(67, 39, 98, 0.98));
}

.form-shell .osint4all-form > .osint4all-form-note:last-child {
  padding: 11px 13px;
  border-color: rgba(238, 240, 242, 0.08);
  background: rgba(3, 6, 11, 0.2);
}

.page-process-card-checklist ul {
  gap: 9px;
  padding-left: 0;
  list-style: none;
}

.page-process-card-checklist li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: start;
}

.page-process-card-checklist li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 7px;
  border-radius: 999px;
  background: rgba(200, 184, 141, 0.9);
}

.page-boundary-note {
  padding-top: 2px;
  padding-left: 16px;
  border-left-color: rgba(200, 184, 141, 0.45);
}

.page-pillar-grid {
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(238, 240, 242, 0.08);
  border-radius: 8px;
  background: rgba(238, 240, 242, 0.07);
}

.page-pillar-card {
  min-height: 150px;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(200, 184, 141, 0.035), transparent 48%),
    rgba(17, 19, 24, 0.9);
}

.page-content-panel {
  background: rgba(3, 6, 11, 0.18);
}

.page-route-panel {
  position: sticky;
  top: 116px;
  background: rgba(17, 19, 24, 0.86);
}

.page-route-link strong {
  font-size: 0.84rem;
}

.page-route-link small {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (prefers-reduced-motion: no-preference) {
  .form-shell .osint4all-next-steps li,
  .form-shell .osint4all-form input,
  .form-shell .osint4all-form select,
  .form-shell .osint4all-form textarea,
  .page-process-card-checklist li::before {
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, transform 180ms ease;
  }

  .form-shell .osint4all-next-steps li:hover,
  .page-process-card-checklist li:hover::before {
    transform: translateY(-1px);
  }
}

@media (max-width: 760px) {
  .form-shell .osint4all-next-steps ul {
    grid-template-columns: 1fr;
  }

  .form-shell .osint4all-next-steps li {
    min-height: 0;
  }

  .form-entry-title {
    margin-top: 24px;
    font-size: 1.55rem;
  }

  .page-shell-route-strip span {
    min-height: 27px;
    padding-inline: 9px;
  }

  .page-pillar-grid {
    display: grid;
    gap: 1px;
    overflow: hidden;
    margin-right: 0;
    margin-left: 0;
    padding: 0;
    border: 1px solid rgba(238, 240, 242, 0.08);
    border-radius: 8px;
    background: rgba(238, 240, 242, 0.07);
  }

  .page-pillar-card {
    min-height: 0;
    padding: 13px;
    border: 0;
    border-radius: 0;
  }

  .page-pillar-card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .page-body-grid {
    gap: 12px;
    margin-top: 16px;
  }

  .page-content-panel,
  .page-route-panel,
  .page-intel-panel {
    padding: 15px;
  }

  .page-route-panel {
    position: relative;
    top: auto;
  }

  .guide-tool-matrix,
  .guide-decision-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .guide-answer-box,
  .guide-warning,
  .guide-tool-card,
  .guide-decision-grid section {
    border-radius: 10px;
  }

  .guide-tool-card,
  .guide-decision-grid section {
    padding: 14px;
  }

  .guide-step-list li {
    padding: 12px 12px 12px 52px;
  }

  .guide-step-list li::before {
    left: 11px;
    width: 29px;
    height: 29px;
  }

  .page-route-link {
    gap: 9px;
    padding: 10px 0;
  }
}

@media (max-width: 520px) {
  .form-shell .osint4all-form textarea {
    min-height: 96px;
  }

  .form-shell .osint4all-form > .osint4all-form-note:first-of-type {
    padding: 11px 12px;
  }

  .route-strip-icon {
    width: 12px;
    height: 12px;
  }
}

/*
 * Global footer/newsletter refinement: this block appears on most journeys, so
 * keep it useful without becoming another heavy content card.
 */
.osint4all-footer-newsletter-section {
  padding-top: clamp(50px, 6vw, 82px);
  padding-bottom: clamp(42px, 5vw, 68px);
}

.footer-newsletter {
  display: grid;
  grid-template-columns: minmax(230px, 0.46fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  max-width: 1120px;
  margin-inline: auto;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(17, 20, 24, 0.96), rgba(15, 17, 22, 0.94)),
    rgba(17, 19, 24, 0.9);
}

.footer-newsletter::after {
  background:
    linear-gradient(90deg, transparent 0 47%, rgba(200, 184, 141, 0.11) 47.15%, transparent 47.55%),
    linear-gradient(180deg, transparent, rgba(134, 200, 157, 0.035));
}

.footer-newsletter-copy {
  align-content: center;
  max-width: 340px;
}

.footer-signal-lockup {
  margin-bottom: 12px;
}

.footer-signal-graph {
  height: 74px;
  margin: 8px 0 12px;
}

.footer-newsletter-copy h2 {
  margin-top: 0;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.05;
}

.footer-newsletter-copy p:not(.section-kicker) {
  max-width: 31ch;
  color: rgba(238, 240, 242, 0.66);
  font-size: 0.94rem;
  line-height: 1.48;
}

.footer-newsletter-form .newsletter-form {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.56fr);
  gap: 12px;
  align-items: end;
}

.footer-newsletter .newsletter-form > .osint4all-form-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid rgba(238, 240, 242, 0.08);
  border-radius: 12px;
  color: rgba(238, 240, 242, 0.7);
  background: rgba(3, 6, 11, 0.24);
  font-size: 0.84rem;
}

.footer-newsletter .newsletter-form > .osint4all-form-note::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(122, 167, 138, 0.92);
  box-shadow: 0 0 0 5px rgba(122, 167, 138, 0.1);
}

.footer-newsletter .newsletter-form > label {
  gap: 6px;
  color: rgba(238, 240, 242, 0.82);
  font-size: 0.83rem;
}

.footer-newsletter .newsletter-form input[type="email"],
.footer-newsletter .newsletter-form select {
  min-height: 48px;
  border-color: rgba(92, 136, 182, 0.55);
  background: rgba(4, 10, 18, 0.68);
}

.footer-newsletter .newsletter-form > label:has(input[type="checkbox"]) {
  grid-column: 1 / -1;
  color: rgba(238, 240, 242, 0.74);
  font-size: 0.82rem;
  line-height: 1.35;
}

.footer-newsletter .newsletter-form > button {
  min-height: 48px;
  border-color: rgba(225, 209, 165, 0.35);
  color: #12100a;
  background: linear-gradient(180deg, #e8dba9, #c8b88d);
  box-shadow: 0 14px 30px rgba(200, 184, 141, 0.12);
}

.footer-newsletter .newsletter-form > button:hover,
.footer-newsletter .newsletter-form > button:focus-visible {
  box-shadow: 0 16px 36px rgba(200, 184, 141, 0.2);
}

@media (max-width: 760px) {
  .osint4all-footer-newsletter-section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .footer-newsletter {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }

  .footer-newsletter-copy {
    max-width: none;
  }

  .footer-signal-graph {
    height: 66px;
    margin-bottom: 10px;
  }

  .footer-newsletter-copy p:not(.section-kicker) {
    max-width: 30rem;
    font-size: 0.9rem;
  }

  .footer-newsletter-form .newsletter-form {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-newsletter .newsletter-form > label:has(input[type="checkbox"]) {
    font-size: 0.78rem;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 20px;
  }

  .footer-grid-column {
    min-width: 0;
  }

  .footer-grid h3 {
    font-size: 0.94rem;
  }

  .footer-menu a {
    font-size: 0.86rem;
  }
}

@media (max-width: 420px) {
  .footer-newsletter {
    padding: 16px;
  }

  .footer-grid {
    gap: 20px 16px;
  }
}

/*
 * Homepage + tools directory major polish: keep the first screen calm, visual,
 * and ordered around the analyst's next action rather than every available
 * control at once.
 */
.hero-home .hero-copy-column h1,
.archive-header-directory .archive-header-copy h1 {
  text-wrap: balance;
}

.hero-home .hero-intro,
.archive-header-directory .section-intro,
.directory-pathways-head > p {
  text-wrap: pretty;
}

.directory-shell {
  align-items: start;
}

.directory-tool-card.card {
  border-color: rgba(238, 240, 242, 0.1);
}

.directory-tool-card .tool-proof-card--archive-preview .tool-proof-surface {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.directory-tool-card .tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-surface,
.directory-tool-card .tool-proof-card--archive-preview.is-proof-missing .tool-proof-surface {
  aspect-ratio: 16 / 8.2;
}

.directory-tool-card .tool-proof-card--archive-preview .tool-proof-fallback-identity {
  width: min(74%, 220px);
}

@media (min-width: 1181px) {
  .directory-shell {
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    gap: 28px;
  }

  .directory-filters.card {
    position: sticky;
    top: 86px;
    max-height: calc(100svh - 102px);
  }
}

@media (max-width: 760px) {
  .hero-home {
    min-height: 0 !important;
    padding-top: 34px !important;
    padding-bottom: 30px !important;
  }

  .hero-home .hero-grid {
    gap: 20px !important;
  }

  .hero-home .section-kicker,
  .hero-home .hero-brand-lockup {
    margin-bottom: 12px;
  }

  .hero-home .hero-brand-lockup {
    padding: 8px 10px 8px 8px;
  }

  .hero-home .hero-copy-column h1 {
    max-width: 11ch !important;
    margin-bottom: 10px !important;
    font-size: clamp(2.45rem, 11.3vw, 3.05rem) !important;
    line-height: 0.94 !important;
  }

  .hero-home .hero-intro {
    max-width: 31rem;
    font-size: 0.92rem !important;
    line-height: 1.42 !important;
  }

  .hero-home .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 8px !important;
    margin: 14px 0 12px !important;
  }

  .hero-home .hero-actions .button {
    min-height: 40px !important;
  }

  .hero-capability-strip,
  .quick-searches,
  .hero-trust-inline {
    display: none !important;
  }

  .quick-search {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 6px !important;
    margin-top: 12px !important;
    padding: 6px !important;
  }

  .quick-search input,
  .quick-search button {
    min-height: 40px !important;
  }

  .quick-search button {
    min-width: 42px;
    padding-inline: 12px;
  }

  .hero-proofwall {
    margin-top: 2px !important;
    padding: 12px !important;
  }

  .hero-proofwall-head {
    align-items: center !important;
    padding-bottom: 8px !important;
  }

  .hero-proofwall-head h2 {
    max-width: 12ch;
    font-size: 1.05rem !important;
    line-height: 1.08;
  }

  .hero-proofwall-status {
    min-height: 24px;
    padding-inline: 8px;
    font-size: 0.58rem;
  }

  .hero-proofwall-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    margin: 8px 0 0 !important;
  }

  .hero-proofwall-card:not(:first-child) {
    display: none !important;
  }

  .hero-proofwall-card:first-child {
    min-height: 148px !important;
  }

  .hero-proofwall-card strong {
    font-size: 1rem;
  }

  .hero-proofwall-footer {
    display: none !important;
  }

  .post-type-archive-tool .directory-shell,
  .tax-tool_category .directory-shell,
  .tax-use_case_type .directory-shell,
  .tax-workflow_stage .directory-shell {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    padding-top: 22px !important;
  }

  .post-type-archive-tool .directory-main,
  .tax-tool_category .directory-main,
  .tax-use_case_type .directory-main,
  .tax-workflow_stage .directory-main {
    order: 1 !important;
    width: 100%;
  }

  .post-type-archive-tool #directory-filters.directory-filters,
  .post-type-archive-tool .directory-shell > .directory-filters,
  .tax-tool_category #directory-filters.directory-filters,
  .tax-tool_category .directory-shell > .directory-filters,
  .tax-use_case_type #directory-filters.directory-filters,
  .tax-use_case_type .directory-shell > .directory-filters,
  .tax-workflow_stage #directory-filters.directory-filters,
  .tax-workflow_stage .directory-shell > .directory-filters {
    display: none !important;
  }

  .post-type-archive-tool .archive-header-directory,
  .tax-tool_category .archive-header-directory,
  .tax-use_case_type .archive-header-directory,
  .tax-workflow_stage .archive-header-directory {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 0 0 14px !important;
  }

  .post-type-archive-tool .archive-header-copy,
  .tax-tool_category .archive-header-copy,
  .tax-use_case_type .archive-header-copy,
  .tax-workflow_stage .archive-header-copy {
    order: 1 !important;
  }

  .post-type-archive-tool .directory-mobile-filters,
  .tax-tool_category .directory-mobile-filters,
  .tax-use_case_type .directory-mobile-filters,
  .tax-workflow_stage .directory-mobile-filters {
    display: block !important;
    order: 2 !important;
    margin-top: 0 !important;
  }

  .post-type-archive-tool .archive-proof-card,
  .tax-tool_category .archive-proof-card,
  .tax-use_case_type .archive-proof-card,
  .tax-workflow_stage .archive-proof-card {
    display: none !important;
  }

  .post-type-archive-tool .archive-header-directory .archive-header-copy h1,
  .tax-tool_category .archive-header-directory .archive-header-copy h1,
  .tax-use_case_type .archive-header-directory .archive-header-copy h1,
  .tax-workflow_stage .archive-header-directory .archive-header-copy h1 {
    max-width: 11ch !important;
    font-size: clamp(2.35rem, 12vw, 3rem) !important;
    line-height: 0.94 !important;
  }

  .post-type-archive-tool .archive-header-directory .section-intro,
  .tax-tool_category .archive-header-directory .section-intro,
  .tax-use_case_type .archive-header-directory .section-intro,
  .tax-workflow_stage .archive-header-directory .section-intro {
    max-width: 34rem;
    font-size: 0.92rem;
    line-height: 1.44;
  }

  .post-type-archive-tool .directory-hero-search,
  .tax-tool_category .directory-hero-search,
  .tax-use_case_type .directory-hero-search,
  .tax-workflow_stage .directory-hero-search {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 6px !important;
    margin-top: 14px !important;
    padding: 6px !important;
  }

  .post-type-archive-tool .directory-hero-search input,
  .post-type-archive-tool .directory-hero-search .button,
  .tax-tool_category .directory-hero-search input,
  .tax-tool_category .directory-hero-search .button,
  .tax-use_case_type .directory-hero-search input,
  .tax-use_case_type .directory-hero-search .button,
  .tax-workflow_stage .directory-hero-search input,
  .tax-workflow_stage .directory-hero-search .button {
    min-height: 40px;
  }

  .post-type-archive-tool .archive-header-meta,
  .tax-tool_category .archive-header-meta,
  .tax-use_case_type .archive-header-meta,
  .tax-workflow_stage .archive-header-meta {
    gap: 6px;
  }

  .post-type-archive-tool .archive-header-meta .badge:nth-child(n+3),
  .tax-tool_category .archive-header-meta .badge:nth-child(n+3),
  .tax-use_case_type .archive-header-meta .badge:nth-child(n+3),
  .tax-workflow_stage .archive-header-meta .badge:nth-child(n+3) {
    display: none;
  }

  .post-type-archive-tool .directory-pathways,
  .tax-tool_category .directory-pathways,
  .tax-use_case_type .directory-pathways,
  .tax-workflow_stage .directory-pathways {
    margin-top: 8px !important;
    padding: 12px 0 !important;
  }

  .post-type-archive-tool .directory-pathways-head,
  .tax-tool_category .directory-pathways-head,
  .tax-use_case_type .directory-pathways-head,
  .tax-workflow_stage .directory-pathways-head {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 4px !important;
    margin-bottom: 10px !important;
  }

  .post-type-archive-tool .directory-pathways-head > p,
  .tax-tool_category .directory-pathways-head > p,
  .tax-use_case_type .directory-pathways-head > p,
  .tax-workflow_stage .directory-pathways-head > p {
    display: none !important;
  }

  .post-type-archive-tool .directory-pathway-grid,
  .tax-tool_category .directory-pathway-grid,
  .tax-use_case_type .directory-pathway-grid,
  .tax-workflow_stage .directory-pathway-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
  }

  .post-type-archive-tool .directory-pathway-card,
  .tax-tool_category .directory-pathway-card,
  .tax-use_case_type .directory-pathway-card,
  .tax-workflow_stage .directory-pathway-card {
    min-height: 82px !important;
    padding: 10px !important;
  }

  .post-type-archive-tool .directory-pathway-card .o4-card-icon,
  .tax-tool_category .directory-pathway-card .o4-card-icon,
  .tax-use_case_type .directory-pathway-card .o4-card-icon,
  .tax-workflow_stage .directory-pathway-card .o4-card-icon {
    width: 26px !important;
    height: 26px !important;
  }

  .post-type-archive-tool .directory-pathway-card .card-meta,
  .post-type-archive-tool .directory-pathway-card p:not(.card-meta),
  .post-type-archive-tool .directory-pathway-footer,
  .tax-tool_category .directory-pathway-card .card-meta,
  .tax-tool_category .directory-pathway-card p:not(.card-meta),
  .tax-tool_category .directory-pathway-footer,
  .tax-use_case_type .directory-pathway-card .card-meta,
  .tax-use_case_type .directory-pathway-card p:not(.card-meta),
  .tax-use_case_type .directory-pathway-footer,
  .tax-workflow_stage .directory-pathway-card .card-meta,
  .tax-workflow_stage .directory-pathway-card p:not(.card-meta),
  .tax-workflow_stage .directory-pathway-footer {
    display: none !important;
  }

  .post-type-archive-tool .directory-pathway-card h3,
  .tax-tool_category .directory-pathway-card h3,
  .tax-use_case_type .directory-pathway-card h3,
  .tax-workflow_stage .directory-pathway-card h3 {
    margin: 8px 0 0;
    font-size: 0.8rem !important;
    line-height: 1.15;
  }

  .post-type-archive-tool .directory-results-grid,
  .tax-tool_category .directory-results-grid,
  .tax-use_case_type .directory-results-grid,
  .tax-workflow_stage .directory-results-grid {
    gap: 12px !important;
  }

  .directory-tool-card .tool-proof-card--archive-preview .tool-proof-surface {
    aspect-ratio: 16 / 8.8;
  }

  .directory-tool-card-frame {
    gap: 12px;
    padding-inline: 12px;
    padding-bottom: 12px;
  }

  .directory-tool-card .tool-proof-card {
    margin-inline: -12px;
  }

  .directory-tool-card .badges .badge:nth-child(n+2),
  .directory-tool-meta-row span:nth-child(n+3) {
    display: none;
  }

  .directory-tool-card-actions {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .post-type-archive-tool .directory-shell,
  .tax-tool_category .directory-shell,
  .tax-use_case_type .directory-shell,
  .tax-workflow_stage .directory-shell {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    padding-top: 30px !important;
  }

  .post-type-archive-tool .directory-main,
  .tax-tool_category .directory-main,
  .tax-use_case_type .directory-main,
  .tax-workflow_stage .directory-main {
    order: 1 !important;
    width: 100%;
  }

  .post-type-archive-tool #directory-filters.directory-filters,
  .post-type-archive-tool .directory-shell > .directory-filters,
  .tax-tool_category #directory-filters.directory-filters,
  .tax-tool_category .directory-shell > .directory-filters,
  .tax-use_case_type #directory-filters.directory-filters,
  .tax-use_case_type .directory-shell > .directory-filters,
  .tax-workflow_stage #directory-filters.directory-filters,
  .tax-workflow_stage .directory-shell > .directory-filters {
    display: none !important;
  }

  .post-type-archive-tool .archive-header-directory,
  .tax-tool_category .archive-header-directory,
  .tax-use_case_type .archive-header-directory,
  .tax-workflow_stage .archive-header-directory {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding-bottom: 18px !important;
  }

  .post-type-archive-tool .archive-header-directory .archive-header-copy h1,
  .tax-tool_category .archive-header-directory .archive-header-copy h1,
  .tax-use_case_type .archive-header-directory .archive-header-copy h1,
  .tax-workflow_stage .archive-header-directory .archive-header-copy h1 {
    max-width: 11ch !important;
    font-size: clamp(3rem, 9vw, 4.1rem) !important;
  }

  .post-type-archive-tool .directory-mobile-filters,
  .tax-tool_category .directory-mobile-filters,
  .tax-use_case_type .directory-mobile-filters,
  .tax-workflow_stage .directory-mobile-filters {
    overflow: hidden;
    display: block !important;
    max-width: 650px;
    margin-top: 0 !important;
    padding: 0;
    border-radius: 8px;
    background:
      linear-gradient(135deg, rgba(200, 184, 141, 0.07), transparent 44%),
      rgba(17, 19, 24, 0.94);
  }

  .directory-mobile-filter-toggle {
    border: 0;
  }

  .directory-mobile-filter-toggle > summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px;
    min-height: 64px;
    padding: 16px 18px;
    cursor: pointer;
    list-style: none;
  }

  .directory-mobile-filter-toggle > summary::-webkit-details-marker {
    display: none;
  }

  .directory-mobile-filter-toggle > summary span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    grid-column: 1;
    color: #f4f1e9;
    font-family: var(--o4-font-ui);
    font-size: 0.9rem;
    font-weight: 780;
    line-height: 1.2;
  }

  .directory-mobile-filter-toggle > summary small {
    grid-column: 1;
    color: rgba(238, 240, 242, 0.56);
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .directory-mobile-filter-toggle > summary::after {
    content: "+";
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: end;
    color: var(--o4-premium-accent);
    font-size: 1.1rem;
    line-height: 1;
  }

  .directory-mobile-filter-toggle[open] > summary::after {
    content: "-";
  }

  .directory-mobile-filter-toggle[open] > summary {
    border-bottom: 1px solid rgba(238, 240, 242, 0.1);
  }

  .directory-filter-form-mobile {
    display: grid;
    gap: 10px;
    padding: 16px;
  }

  .directory-filter-form-mobile label {
    display: grid;
    gap: 6px;
    margin: 0;
    color: rgba(238, 240, 242, 0.72);
    font-size: 0.76rem;
    font-weight: 720;
  }

  .directory-filter-form-mobile label:has(input[type="checkbox"]) {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 32px;
  }

  .directory-filter-form-mobile input,
  .directory-filter-form-mobile select {
    min-width: 0;
    min-height: 42px;
    border-radius: 7px;
  }

  .directory-filter-form-mobile .directory-filter-advanced-panel {
    display: grid;
    gap: 10px;
    padding-top: 10px;
  }

  .directory-filter-form-mobile .directory-filter-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
  }

  .directory-filter-form-mobile .directory-filter-actions .button {
    min-width: 0;
    width: 100%;
    justify-content: center;
    padding-inline: 10px;
  }

  .post-type-archive-tool .archive-proof-card,
  .tax-tool_category .archive-proof-card,
  .tax-use_case_type .archive-proof-card,
  .tax-workflow_stage .archive-proof-card {
    display: none !important;
  }

  .post-type-archive-tool .directory-pathway-grid,
  .tax-tool_category .directory-pathway-grid,
  .tax-use_case_type .directory-pathway-grid,
  .tax-workflow_stage .directory-pathway-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 420px) {
  .quick-search button .button-icon,
  .directory-hero-search .button .button-icon {
    margin-inline: 0;
  }

  .quick-search button,
  .directory-hero-search .button {
    width: 42px;
    min-width: 42px;
    overflow: hidden;
    white-space: nowrap;
    color: transparent;
  }

  .quick-search button .o4-ui-icon,
  .directory-hero-search .button .o4-ui-icon {
    color: #11100c;
  }

  .hero-home .quick-search button {
    width: auto !important;
    min-width: 86px !important;
    overflow: visible !important;
    color: #11100c !important;
    border-color: rgba(232, 215, 170, 0.78) !important;
    background: linear-gradient(180deg, var(--o4-premium-accent-strong), var(--o4-premium-accent)) !important;
  }

  .hero-home .quick-search button .button-icon {
    margin-right: 6px;
  }
}

/*
 * Broad mobile/detail cleanup: archive and detail pages should never feel like
 * desktop panels squeezed onto a phone. Stack proof content, keep heroes inside
 * the viewport, and reduce first-screen card pressure.
 */
@media (max-width: 760px) {
  .archive-header-collections.card,
  .archive-header-use-cases.card,
  .archive-header-editorial.card,
  .archive-header-comparisons.card,
  .archive-header-coverage.card {
    gap: 14px !important;
    min-height: 0 !important;
    padding: 22px 0 18px !important;
    border-bottom: 1px solid rgba(238, 240, 242, 0.1);
  }

  .archive-header-collections .archive-proof-card,
  .archive-header-use-cases .archive-proof-card,
  .archive-header-editorial .archive-proof-card,
  .archive-header-comparisons .archive-proof-card,
  .archive-header-coverage .archive-proof-card {
    display: none !important;
  }

  .archive-header-collections .archive-header-copy h1,
  .archive-header-use-cases .archive-header-copy h1,
  .archive-header-editorial .archive-header-copy h1,
  .archive-header-comparisons .archive-header-copy h1,
  .archive-header-coverage .archive-header-copy h1 {
    max-width: 12ch !important;
    font-size: clamp(2.45rem, 11vw, 3.1rem) !important;
    line-height: 0.96 !important;
  }

  .archive-header-collections .section-intro,
  .archive-header-use-cases .section-intro,
  .archive-header-editorial .section-intro,
  .archive-header-comparisons .section-intro,
  .archive-header-coverage .section-intro {
    max-width: 34rem;
    font-size: 0.94rem;
    line-height: 1.46;
  }

  .archive-header-collections .archive-header-meta .badge:nth-child(n+3),
  .archive-header-use-cases .archive-header-meta .badge:nth-child(n+3),
  .archive-header-editorial .archive-header-meta .badge:nth-child(n+3),
  .archive-header-comparisons .archive-header-meta .badge:nth-child(n+3),
  .archive-header-coverage .archive-header-meta .badge:nth-child(n+3) {
    display: none;
  }

  .collection-picks.card {
    overflow: hidden;
    padding: 14px;
  }

  .collection-picks-grid,
  .article-shell-use-case .article-proof-grid,
  .article-shell-coverage .article-proof-grid,
  .article-shell-review-detail .article-proof-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    overflow: visible !important;
    margin-inline: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    scroll-snap-type: none !important;
  }

  .collection-pick-card,
  .article-shell-use-case .article-proof-card,
  .article-shell-coverage .article-proof-card,
  .article-shell-review-detail .article-proof-card {
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 100% !important;
    padding: 13px !important;
    scroll-snap-align: none !important;
  }

  .collection-pick-card h3,
  .article-shell-use-case .article-proof-card p:not(.panel-label),
  .article-shell-coverage .article-proof-card p:not(.panel-label),
  .article-shell-review-detail .article-proof-card p:not(.panel-label) {
    overflow-wrap: anywhere;
  }

  .article-shell-use-case .article-proof-card p:not(.panel-label),
  .article-shell-coverage .article-proof-card p:not(.panel-label) {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  .section-tool-single,
  .tool-single-shell,
  .tool-single-shell > *,
  .tool-hero-dossier,
  .tool-hero-dossier > *,
  .tool-hero-main,
  .tool-hero-copy,
  .tool-hero-meta {
    box-sizing: border-box;
    width: 100%;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden;
  }

  .tool-hero-dossier.card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
    margin-inline: 0 !important;
    padding: 14px !important;
  }

  .tool-hero-dossier .tool-hero-topline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .tool-hero-path,
  .tool-hero-path a {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .tool-hero-dossier h1 {
    max-width: 100% !important;
    font-size: clamp(2.55rem, 12vw, 3.25rem) !important;
    line-height: 0.94 !important;
    overflow-wrap: anywhere;
  }

  .tool-hero-dossier .tool-hero-summary {
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.42;
  }

  .tool-dossier-facts {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .tool-dossier-facts div {
    min-width: 0 !important;
    padding: 12px !important;
  }

  .tool-dossier-facts strong {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .tool-hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .tool-hero-actions .button {
    width: 100%;
    justify-content: center;
  }

  .tool-jump-nav-compact {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    overflow: visible !important;
  }

  .tool-jump-nav-compact a {
    width: 100%;
    min-width: 0 !important;
    justify-content: center;
    padding-inline: 10px;
  }

  .tool-dossier-signal .meta-list,
  .tool-dossier-signal .meta-list-compact {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .tool-dossier-signal .meta-list li,
  .tool-dossier-signal .meta-list-compact li {
    display: grid !important;
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr) !important;
    gap: 8px !important;
    width: 100%;
    min-width: 0 !important;
  }

  .tool-dossier-signal .meta-list li span,
  .tool-dossier-signal .meta-list-compact li span {
    min-width: 0;
    overflow-wrap: anywhere;
    text-align: right;
  }

  .tool-proof-card--hero .tool-proof-surface {
    min-height: 210px !important;
    aspect-ratio: 16 / 9 !important;
  }

  .collection-tool-card .tool-proof-card--stack .tool-proof-surface,
  .article-shell-use-case .tool-proof-card--related .tool-proof-surface,
  .article-shell-coverage .tool-proof-card--related .tool-proof-surface {
    height: auto !important;
    min-height: 170px !important;
    aspect-ratio: 16 / 8.7;
  }

  .collection-tool-card .tool-proof-card--stack.tool-proof-card--no-screenshot .tool-proof-surface,
  .collection-tool-card .tool-proof-card--stack.is-proof-missing .tool-proof-surface,
  .article-shell-use-case .tool-proof-card--related.tool-proof-card--no-screenshot .tool-proof-surface,
  .article-shell-use-case .tool-proof-card--related.is-proof-missing .tool-proof-surface,
  .article-shell-coverage .tool-proof-card--related.tool-proof-card--no-screenshot .tool-proof-surface,
  .article-shell-coverage .tool-proof-card--related.is-proof-missing .tool-proof-surface {
    min-height: 156px !important;
  }

  .collection-tool-card .tool-proof-card--stack.tool-proof-card--no-screenshot .tool-proof-fallback-identity,
  .collection-tool-card .tool-proof-card--stack.is-proof-missing .tool-proof-fallback-identity,
  .article-shell-use-case .tool-proof-card--related.tool-proof-card--no-screenshot .tool-proof-fallback-identity,
  .article-shell-use-case .tool-proof-card--related.is-proof-missing .tool-proof-fallback-identity,
  .article-shell-coverage .tool-proof-card--related.tool-proof-card--no-screenshot .tool-proof-fallback-identity,
  .article-shell-coverage .tool-proof-card--related.is-proof-missing .tool-proof-fallback-identity {
    align-content: start;
    min-height: 0;
    padding: 14px !important;
  }

  .collection-tool-card .tool-proof-card--stack.tool-proof-card--no-screenshot .tool-proof-fallback-identity strong,
  .collection-tool-card .tool-proof-card--stack.is-proof-missing .tool-proof-fallback-identity strong,
  .article-shell-use-case .tool-proof-card--related.tool-proof-card--no-screenshot .tool-proof-fallback-identity strong,
  .article-shell-use-case .tool-proof-card--related.is-proof-missing .tool-proof-fallback-identity strong,
  .article-shell-coverage .tool-proof-card--related.tool-proof-card--no-screenshot .tool-proof-fallback-identity strong,
  .article-shell-coverage .tool-proof-card--related.is-proof-missing .tool-proof-fallback-identity strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.98rem !important;
    line-height: 1.1;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .collection-tool-card .tool-proof-card--stack.tool-proof-card--no-screenshot .tool-proof-fallback-identity small,
  .collection-tool-card .tool-proof-card--stack.is-proof-missing .tool-proof-fallback-identity small,
  .article-shell-use-case .tool-proof-card--related.tool-proof-card--no-screenshot .tool-proof-fallback-identity small,
  .article-shell-use-case .tool-proof-card--related.is-proof-missing .tool-proof-fallback-identity small,
  .article-shell-coverage .tool-proof-card--related.tool-proof-card--no-screenshot .tool-proof-fallback-identity small,
  .article-shell-coverage .tool-proof-card--related.is-proof-missing .tool-proof-fallback-identity small {
    display: -webkit-box;
    overflow: hidden;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  .collection-tool-card .tool-proof-card--stack.tool-proof-card--no-screenshot .tool-proof-fallback-eyebrow,
  .collection-tool-card .tool-proof-card--stack.tool-proof-card--no-screenshot .tool-proof-fallback-identity strong,
  .collection-tool-card .tool-proof-card--stack.tool-proof-card--no-screenshot .tool-proof-fallback-identity small,
  .collection-tool-card .tool-proof-card--stack.is-proof-missing .tool-proof-fallback-eyebrow,
  .collection-tool-card .tool-proof-card--stack.is-proof-missing .tool-proof-fallback-identity strong,
  .collection-tool-card .tool-proof-card--stack.is-proof-missing .tool-proof-fallback-identity small,
  .article-shell-use-case .tool-proof-card--related.tool-proof-card--no-screenshot .tool-proof-fallback-eyebrow,
  .article-shell-use-case .tool-proof-card--related.tool-proof-card--no-screenshot .tool-proof-fallback-identity strong,
  .article-shell-use-case .tool-proof-card--related.tool-proof-card--no-screenshot .tool-proof-fallback-identity small,
  .article-shell-use-case .tool-proof-card--related.is-proof-missing .tool-proof-fallback-eyebrow,
  .article-shell-use-case .tool-proof-card--related.is-proof-missing .tool-proof-fallback-identity strong,
  .article-shell-use-case .tool-proof-card--related.is-proof-missing .tool-proof-fallback-identity small,
  .article-shell-coverage .tool-proof-card--related.tool-proof-card--no-screenshot .tool-proof-fallback-eyebrow,
  .article-shell-coverage .tool-proof-card--related.tool-proof-card--no-screenshot .tool-proof-fallback-identity strong,
  .article-shell-coverage .tool-proof-card--related.tool-proof-card--no-screenshot .tool-proof-fallback-identity small,
  .article-shell-coverage .tool-proof-card--related.is-proof-missing .tool-proof-fallback-eyebrow,
  .article-shell-coverage .tool-proof-card--related.is-proof-missing .tool-proof-fallback-identity strong,
  .article-shell-coverage .tool-proof-card--related.is-proof-missing .tool-proof-fallback-identity small {
    display: none !important;
  }

  .collection-tool-card .tool-proof-card--stack.tool-proof-card--no-screenshot .tool-proof-fallback-mark,
  .collection-tool-card .tool-proof-card--stack.is-proof-missing .tool-proof-fallback-mark,
  .article-shell-use-case .tool-proof-card--related.tool-proof-card--no-screenshot .tool-proof-fallback-mark,
  .article-shell-use-case .tool-proof-card--related.is-proof-missing .tool-proof-fallback-mark,
  .article-shell-coverage .tool-proof-card--related.tool-proof-card--no-screenshot .tool-proof-fallback-mark,
  .article-shell-coverage .tool-proof-card--related.is-proof-missing .tool-proof-fallback-mark {
    width: 44px;
    height: 44px;
    margin: 0;
  }

  .collection-tool-card .tool-proof-card--stack.tool-proof-card--has-screenshot:not(.is-proof-loaded) .tool-proof-body,
  .collection-tool-card .tool-proof-card--stack.tool-proof-card--has-screenshot:not(.is-proof-loaded) .tool-proof-overlay,
  .article-shell-use-case .tool-proof-card--related.tool-proof-card--has-screenshot:not(.is-proof-loaded) .tool-proof-body,
  .article-shell-use-case .tool-proof-card--related.tool-proof-card--has-screenshot:not(.is-proof-loaded) .tool-proof-overlay,
  .article-shell-coverage .tool-proof-card--related.tool-proof-card--has-screenshot:not(.is-proof-loaded) .tool-proof-body,
  .article-shell-coverage .tool-proof-card--related.tool-proof-card--has-screenshot:not(.is-proof-loaded) .tool-proof-overlay {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .collection-single-section,
  .editorial-shell,
  .section-tool-single {
    padding-top: 22px;
  }

  .tool-hero-dossier h1 {
    font-size: clamp(2.35rem, 11vw, 2.9rem) !important;
  }

  .post-type-archive-tool .directory-hero-search .button,
  .tax-tool_category .directory-hero-search .button,
  .tax-use_case_type .directory-hero-search .button,
  .tax-workflow_stage .directory-hero-search .button {
    width: auto !important;
    min-width: 82px !important;
    overflow: visible !important;
    color: #11100c !important;
  }

  .post-type-archive-tool .directory-hero-search .button .button-icon,
  .tax-tool_category .directory-hero-search .button .button-icon,
  .tax-use_case_type .directory-hero-search .button .button-icon,
  .tax-workflow_stage .directory-hero-search .button .button-icon {
    margin-right: 6px;
  }
}

/*
 * Tool profile signal chips: keep metadata readable when names are longer than
 * the sidebar column, especially on verified screenshots and vendor labels.
 */
.tool-dossier-signal .meta-list,
.tool-dossier-signal .meta-list-compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tool-dossier-signal .meta-list li,
.tool-dossier-signal .meta-list-compact li {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 6px;
  min-width: 0;
  min-height: 76px;
  padding: 14px;
  border: 1px solid rgba(238, 240, 242, 0.09);
  border-radius: 14px;
  background: rgba(18, 21, 26, 0.64);
}

.tool-dossier-signal .meta-list li strong,
.tool-dossier-signal .meta-list-compact li strong {
  min-width: 0;
  color: rgba(173, 178, 182, 0.75);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.tool-dossier-signal .meta-list li span,
.tool-dossier-signal .meta-list-compact li span {
  min-width: 0;
  color: rgba(245, 246, 247, 0.95);
  font-family: var(--o4-font-ui);
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-align: left;
}

.tool-proof-card.tool-proof-card--has-screenshot.is-proof-loaded:not(.is-proof-missing) .tool-proof-fallback {
  display: none !important;
}

.tool-dossier-signal .meta-list li:last-child,
.tool-dossier-signal .meta-list-compact li:last-child {
  grid-column: 1 / -1;
  min-height: 68px;
}

@media (max-width: 760px) {
  .tool-dossier-signal .meta-list,
  .tool-dossier-signal .meta-list-compact {
    grid-template-columns: 1fr;
  }

  .tool-dossier-signal .meta-list li,
  .tool-dossier-signal .meta-list-compact li {
    min-height: 0;
    padding: 12px;
  }

  .tool-dossier-signal .meta-list li:last-child,
  .tool-dossier-signal .meta-list-compact li:last-child {
    grid-column: auto;
  }

  .article-card-review .tool-proof-card--review-preview.tool-proof-card--no-screenshot .tool-proof-fallback-identity {
    gap: 5px;
    min-height: 100%;
    padding: 12px;
  }

  .article-card-review .tool-proof-card--review-preview.tool-proof-card--no-screenshot .tool-proof-fallback-mark {
    width: 44px;
    height: 44px;
  }

  .article-card-review .tool-proof-card--review-preview.tool-proof-card--no-screenshot .tool-proof-fallback-identity strong {
    font-size: 0.96rem;
    line-height: 1.08;
  }

  .article-card-review .tool-proof-card--review-preview.tool-proof-card--no-screenshot .tool-proof-fallback-identity small {
    display: none;
  }
}

/*
 * Authority Engine v1: audience-led OSINT decision paths. This is deliberately
 * quieter than the earlier guide-card grid so the homepage reads as a system,
 * not a pile of recommendations.
 */
.home-authority-section {
  padding-top: clamp(34px, 5vw, 66px);
}

.home-authority-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px);
  overflow: hidden;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--o4-premium-line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 10%, rgba(122, 167, 138, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(200, 184, 141, 0.055), transparent 38%),
    rgba(10, 12, 15, 0.88);
}

.home-authority-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(238, 240, 242, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(238, 240, 242, 0.028) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(120deg, #000, transparent 72%);
  opacity: 0.75;
}

.home-authority-shell > * {
  position: relative;
  z-index: 1;
}

.home-authority-lead {
  display: grid;
  align-content: center;
  gap: 14px;
}

.home-authority-lead h2 {
  max-width: 11ch;
  margin: 0;
  color: #f6f3ec;
  font-size: clamp(2.2rem, 4vw, 4.05rem);
  font-weight: 760;
  line-height: 0.95;
  letter-spacing: 0;
}

.home-authority-proof {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.home-authority-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(238, 240, 242, 0.09);
  border-radius: 999px;
  color: rgba(238, 240, 242, 0.72);
  background: rgba(255, 255, 255, 0.035);
  font-family: var(--o4-font-ui);
  font-size: 0.74rem;
  font-weight: 800;
}

.home-authority-proof .o4-ui-icon {
  width: 14px;
  height: 14px;
  color: rgba(200, 184, 141, 0.95);
}

.home-authority-map {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(238, 240, 242, 0.09);
  border-radius: 8px;
  background: rgba(238, 240, 242, 0.075);
}

.home-authority-track {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(168px, 0.34fr);
  gap: 14px;
  align-items: center;
  min-height: 108px;
  padding: 16px;
  color: inherit;
  text-decoration: none;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 48%),
    rgba(17, 19, 24, 0.94);
}

.home-authority-node {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(200, 184, 141, 0.24);
  border-radius: 8px;
  color: rgba(244, 241, 233, 0.96);
  background: rgba(200, 184, 141, 0.065);
}

.home-authority-node::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(122, 167, 138, 0.16);
  border-radius: 12px;
  opacity: 0;
}

.home-authority-node .o4-ui-icon {
  width: 23px;
  height: 23px;
}

.home-authority-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.home-authority-copy small,
.authority-brand-strip span,
.home-authority-signals em {
  font-family: var(--o4-font-ui);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-authority-copy small {
  color: rgba(200, 184, 141, 0.9);
}

.home-authority-copy strong {
  color: #f4f1e9;
  font-family: var(--o4-font-ui);
  font-size: 1.1rem;
  font-weight: 850;
  letter-spacing: 0;
}

.home-authority-copy > span:last-child {
  color: rgba(238, 240, 242, 0.62);
  font-size: 0.9rem;
  line-height: 1.48;
}

.home-authority-signals {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}

.home-authority-signals em {
  min-height: 25px;
  padding: 6px 8px;
  border: 1px solid rgba(238, 240, 242, 0.09);
  border-radius: 999px;
  color: rgba(238, 240, 242, 0.66);
  background: rgba(3, 6, 11, 0.28);
  line-height: 1;
  white-space: nowrap;
}

.home-field-guides {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(210px, 0.28fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid rgba(238, 240, 242, 0.08);
}

.home-field-guides h3 {
  margin: 0;
  color: #f4f1e9;
  font-size: 1.05rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.home-field-guides nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.home-field-guides a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 48px;
  padding: 10px 11px;
  border: 1px solid rgba(238, 240, 242, 0.09);
  border-radius: 8px;
  color: rgba(238, 240, 242, 0.74);
  background: rgba(3, 6, 11, 0.26);
  font-family: var(--o4-font-ui);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.field-guide-icon {
  width: 16px;
  height: 16px;
  color: rgba(200, 184, 141, 0.92);
}

.authority-brand-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 4px;
}

.authority-brand-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(238, 240, 242, 0.09);
  border-radius: 999px;
  color: rgba(238, 240, 242, 0.7);
  background: rgba(255, 255, 255, 0.035);
}

.authority-brand-strip span:first-child {
  border-color: rgba(200, 184, 141, 0.22);
  color: rgba(200, 184, 141, 0.96);
  background: rgba(200, 184, 141, 0.055);
}

.page-shell-authority-hub .page-content-panel {
  background:
    radial-gradient(circle at top left, rgba(122, 167, 138, 0.12), transparent 34%),
    rgba(3, 6, 11, 0.18);
}

.page-shell-authority-hub .guide-answer-box {
  background:
    linear-gradient(135deg, rgba(122, 167, 138, 0.16), rgba(17, 19, 24, 0.94) 44%, rgba(200, 184, 141, 0.08)),
    #111318;
}

.page-shell-authority-hub .guide-tool-card,
.page-shell-authority-hub .guide-decision-grid section,
.page-shell-authority-hub .guide-step-list li {
  border-radius: 8px;
}

@media (prefers-reduced-motion: no-preference) {
  .home-authority-track,
  .home-field-guides a,
  .home-authority-node::after {
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease, opacity 180ms ease, transform 180ms ease;
  }

  .home-authority-track:hover,
  .home-authority-track:focus-visible {
    background:
      linear-gradient(145deg, rgba(200, 184, 141, 0.055), transparent 46%),
      rgba(20, 23, 28, 0.96);
  }

  .home-authority-track:hover .home-authority-node,
  .home-authority-track:focus-visible .home-authority-node {
    transform: translateY(-1px);
    border-color: rgba(200, 184, 141, 0.42);
  }

  .home-authority-track:hover .home-authority-node::after,
  .home-authority-track:focus-visible .home-authority-node::after {
    opacity: 1;
    animation: o4-authority-pulse 950ms ease both;
  }

  .home-field-guides a:hover,
  .home-field-guides a:focus-visible {
    color: #f4f1e9;
    border-color: rgba(200, 184, 141, 0.24);
    background: rgba(200, 184, 141, 0.055);
    transform: translateY(-1px);
  }
}

@keyframes o4-authority-pulse {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1120px) {
  .home-authority-shell,
  .home-field-guides {
    grid-template-columns: 1fr;
  }

  .home-authority-lead h2 {
    max-width: 14ch;
  }

  .home-field-guides nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home-authority-shell {
    padding: 18px;
  }

  .home-authority-track {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 0;
    padding: 14px;
  }

  .home-authority-signals {
    grid-column: 2;
    justify-content: flex-start;
  }

  .home-field-guides nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .home-authority-track {
    grid-template-columns: 1fr;
  }

  .home-authority-signals {
    grid-column: auto;
  }

  .home-authority-node {
    width: 42px;
    height: 42px;
  }
}

/*
 * Core growth pass: homepage routes brand arrivals into the directory, and the
 * tools archive reads as the primary OSINT4ALL workspace rather than a passive
 * archive list.
 */
.hero-home .hero-copy-column h1 {
  max-width: 15.5ch !important;
}

.hero-home .hero-intro {
  max-width: 42rem;
}

.home-core-routes-section {
  padding-top: clamp(28px, 4vw, 54px);
  padding-bottom: 0;
}

.home-core-routes-head {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(260px, 0.42fr);
  gap: clamp(18px, 3vw, 38px);
  align-items: end;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(238, 240, 242, 0.09);
}

.home-core-routes-head h2 {
  max-width: 16ch;
  margin: 0;
  color: #f6f3ec;
  font-size: clamp(1.9rem, 3.4vw, 3.35rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.home-core-routes-head > p {
  max-width: 34rem;
  margin: 0;
  color: rgba(238, 240, 242, 0.66);
  font-size: 0.96rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.home-core-routes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(238, 240, 242, 0.08);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: rgba(238, 240, 242, 0.07);
}

.home-core-route {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
  min-height: 238px;
  padding: clamp(16px, 1.8vw, 22px);
  color: inherit;
  text-decoration: none;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.034), transparent 46%),
    rgba(17, 19, 24, 0.94);
}

.home-core-route::after {
  content: "";
  position: absolute;
  inset: auto 16px 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(200, 184, 141, 0.64), transparent);
  opacity: 0;
}

.home-core-route-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(200, 184, 141, 0.2);
  border-radius: 8px;
  color: rgba(200, 184, 141, 0.96);
  background: rgba(200, 184, 141, 0.055);
}

.home-core-route-icon .o4-ui-icon {
  width: 21px;
  height: 21px;
}

.home-core-route-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.home-core-route-copy small,
.home-core-route-meta {
  font-family: var(--o4-font-ui);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-core-route-copy small {
  color: rgba(200, 184, 141, 0.9);
}

.home-core-route-copy strong {
  color: #f4f1e9;
  font-family: var(--o4-font-ui);
  font-size: clamp(1.15rem, 1.55vw, 1.45rem);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: 0;
}

.home-core-route-copy > span {
  color: rgba(238, 240, 242, 0.63);
  font-size: 0.9rem;
  line-height: 1.5;
}

.home-core-route-meta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(238, 240, 242, 0.09);
  border-radius: 999px;
  color: rgba(238, 240, 242, 0.62);
  background: rgba(3, 6, 11, 0.3);
  line-height: 1;
}

.directory-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.directory-hero-actions a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(238, 240, 242, 0.1);
  border-radius: 999px;
  color: rgba(238, 240, 242, 0.72);
  background: rgba(3, 6, 11, 0.26);
  font-family: var(--o4-font-ui);
  font-size: 0.74rem;
  font-weight: 820;
  text-decoration: none;
}

.directory-journey-panel {
  display: grid;
  gap: 14px;
  margin-top: clamp(18px, 2.6vw, 30px);
  padding: clamp(16px, 2vw, 22px) 0;
  border-top: 1px solid rgba(238, 240, 242, 0.08);
  border-bottom: 1px solid rgba(238, 240, 242, 0.08);
}

.directory-journey-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.directory-journey-head h2 {
  max-width: 18ch;
  margin: 0;
  color: #f4f1e9;
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.directory-journey-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(238, 240, 242, 0.08);
  border-radius: 8px;
  background: rgba(238, 240, 242, 0.07);
}

.directory-journey-step {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 14px;
  background: rgba(17, 19, 24, 0.9);
}

.directory-journey-step > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(200, 184, 141, 0.18);
  border-radius: 8px;
  color: rgba(200, 184, 141, 0.94);
  background: rgba(200, 184, 141, 0.05);
}

.directory-journey-step .o4-ui-icon {
  width: 17px;
  height: 17px;
}

.directory-journey-step strong {
  color: #f4f1e9;
  font-family: var(--o4-font-ui);
  font-size: 0.9rem;
  line-height: 1.15;
}

.directory-journey-step small {
  color: rgba(238, 240, 242, 0.58);
  font-size: 0.78rem;
  line-height: 1.42;
}

@media (prefers-reduced-motion: no-preference) {
  .home-core-route,
  .home-core-route::after,
  .directory-hero-actions a,
  .directory-journey-step {
    transition: transform 190ms ease, border-color 190ms ease, background 190ms ease, color 190ms ease, opacity 190ms ease;
  }

  .home-core-route:hover,
  .home-core-route:focus-visible,
  .directory-journey-step:hover {
    transform: translateY(-2px);
    background:
      linear-gradient(145deg, rgba(200, 184, 141, 0.05), transparent 46%),
      rgba(20, 23, 28, 0.96);
  }

  .home-core-route:hover::after,
  .home-core-route:focus-visible::after {
    opacity: 1;
  }

  .directory-hero-actions a:hover,
  .directory-hero-actions a:focus-visible {
    color: #f4f1e9;
    border-color: rgba(200, 184, 141, 0.22);
    background: rgba(200, 184, 141, 0.055);
  }
}

@media (max-width: 1120px) {
  .home-core-routes-head,
  .directory-journey-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .home-core-routes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directory-journey-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero-home .hero-copy-column h1 {
    max-width: 13.5ch !important;
    font-size: clamp(2.2rem, 10.3vw, 2.85rem) !important;
  }

  .home-core-routes-section {
    padding-top: 30px;
  }

  .home-core-routes-head {
    gap: 10px;
    padding-bottom: 12px;
  }

  .home-core-routes-head h2 {
    max-width: 13ch;
    font-size: clamp(1.65rem, 8vw, 2.35rem);
  }

  .home-core-routes-head > p {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .home-core-routes {
    grid-template-columns: 1fr;
    border-radius: 0 0 8px 8px;
  }

  .home-core-route {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: start;
    min-height: 0;
    gap: 12px;
    padding: 14px;
  }

  .home-core-route-icon {
    grid-row: 1 / span 2;
    width: 36px;
    height: 36px;
  }

  .home-core-route-copy {
    gap: 5px;
  }

  .home-core-route-copy > span {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.82rem;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .home-core-route-meta {
    grid-column: 2;
  }

  .directory-hero-actions {
    gap: 6px;
  }

  .directory-hero-actions a:nth-child(n+4) {
    display: none;
  }

  .directory-journey-panel {
    margin-top: 12px;
    padding: 14px 0;
  }

  .directory-journey-head .section-link {
    justify-self: start;
  }

  .directory-journey-steps {
    grid-template-columns: 1fr;
  }

  .directory-journey-step {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 0;
    gap: 8px 10px;
    padding: 12px;
  }

  .directory-journey-step > span {
    grid-row: 1 / span 2;
    width: 30px;
    height: 30px;
  }
}
