/* ══════════════════════════════════════════════
   Interactive Security Tools — shared styles
   ══════════════════════════════════════════════ */

/* ── Tool overview cards ── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.tool-card {
  border: 1px solid var(--w-border, #e2e8f0);
  border-radius: 12px;
  padding: 1.5rem;
  background: var(--w-card-bg, var(--w-surface, #f8fafc));
  transition: box-shadow .2s, border-color .2s;
  text-decoration: none;
  color: var(--w-text, #1e293b);
  display: flex;
  flex-direction: column;
}
.tool-card:hover {
  border-color: var(--w-primary, #2563eb);
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.tool-card__icon {
  font-size: 2rem;
  margin-bottom: .75rem;
  line-height: 1;
}
.tool-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 .5rem;
  color: var(--w-heading, var(--w-text, #1e293b));
}
.tool-card__desc {
  font-size: .9rem;
  color: var(--w-muted, #64748b);
  flex-grow: 1;
  margin: 0 0 1rem;
}
.tool-card__cta {
  font-size: .9rem;
  font-weight: 600;
  color: var(--w-primary, #2563eb);
}
.tool-card__price {
  display: inline-block;
  margin-top: .5rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--w-primary, #2563eb);
  background: rgba(37, 99, 235, .08);
  padding: .2rem .6rem;
  border-radius: 4px;
  align-self: flex-start;
}
.tool-card--premium {
  border-color: rgba(37, 99, 235, .25);
  background: linear-gradient(135deg, var(--w-card-bg, var(--w-surface, #f8fafc)) 0%, rgba(37, 99, 235, .03) 100%);
}
.tool-card--premium:hover {
  border-color: var(--w-primary, #2563eb);
}
.tools-section-title {
  margin-top: 3rem;
  margin-bottom: .5rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--w-heading, var(--w-text, #1e293b));
}

/* ── Wizard container ── */
.tool-wizard {
  max-width: 720px;
  margin: 0 auto;
}

/* ── Progress bar ── */
.tool-progress {
  display: flex;
  gap: 4px;
  margin-bottom: 2rem;
}
.tool-progress__step {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--w-border, #e2e8f0);
  transition: background .3s;
}
.tool-progress__step.is-done {
  background: var(--w-primary, #2563eb);
}
.tool-progress__step.is-active {
  background: var(--w-accent, var(--w-primary, #2563eb));
  opacity: .6;
}

/* ── Step panels ── */
.tool-step {
  display: none;
}
.tool-step.is-active {
  display: block;
  animation: toolFadeIn .3s ease;
}
@keyframes toolFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.tool-step__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 .5rem;
  color: var(--w-heading, var(--w-text, #1e293b));
}
.tool-step__desc {
  color: var(--w-muted, #64748b);
  font-size: .9rem;
  margin: 0 0 1.5rem;
}

/* ── Option cards (radio/checkbox) ── */
.tool-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.tool-option {
  position: relative;
  border: 2px solid var(--w-border, #e2e8f0);
  border-radius: 10px;
  padding: 1rem;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  background: var(--w-bg, #fff);
}
.tool-option:hover {
  border-color: var(--w-primary, #2563eb);
}
.tool-option.is-selected {
  border-color: var(--w-primary, #2563eb);
  background: rgba(37, 99, 235, .06);
}
.tool-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.tool-option__label {
  font-weight: 600;
  font-size: .95rem;
  display: block;
  margin-bottom: .25rem;
}
.tool-option__hint {
  font-size: .8rem;
  color: var(--w-muted, #64748b);
}

/* ── Checklist options (for multi-select) ── */
.tool-checklist {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.tool-check {
  display: flex;
  align-items: center;
  gap: .75rem;
  border: 2px solid var(--w-border, #e2e8f0);
  border-radius: 10px;
  padding: .75rem 1rem;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  background: var(--w-bg, #fff);
}
.tool-check:hover {
  border-color: var(--w-primary, #2563eb);
}
.tool-check.is-selected {
  border-color: var(--w-primary, #2563eb);
  background: rgba(37, 99, 235, .06);
}
.tool-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.tool-check__box {
  width: 22px;
  height: 22px;
  border: 2px solid var(--w-border, #cbd5e1);
  border-radius: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
}
.tool-check.is-selected .tool-check__box {
  background: var(--w-primary, #2563eb);
  border-color: var(--w-primary, #2563eb);
}
.tool-check__box svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
  stroke-width: 3;
  fill: none;
  opacity: 0;
  transition: opacity .2s;
}
.tool-check.is-selected .tool-check__box svg {
  opacity: 1;
}
.tool-check__text {
  font-weight: 600;
  font-size: .95rem;
}

/* ── Navigation buttons ── */
.tool-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}
.tool-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--w-border, #e2e8f0);
  background: var(--w-bg, #fff);
  color: var(--w-text, #1e293b);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.tool-btn:hover {
  border-color: var(--w-primary, #2563eb);
}
.tool-btn--primary {
  background: var(--w-primary, #2563eb);
  border-color: var(--w-primary, #2563eb);
  color: #fff;
}
.tool-btn--primary:hover {
  opacity: .9;
}
.tool-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}

/* ── Result section ── */
.tool-result {
  display: none;
  animation: toolFadeIn .4s ease;
}
.tool-result.is-visible {
  display: block;
}

/* Score display */
.tool-score {
  text-align: center;
  margin-bottom: 2rem;
}
.tool-score__value {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}
.tool-score__max {
  font-size: 1.2rem;
  color: var(--w-muted, #64748b);
}
.tool-score__label {
  display: inline-block;
  margin-top: .5rem;
  padding: .3rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
}
.tool-score--low { color: #16a34a; }
.tool-score--low .tool-score__label { background: rgba(22,163,74,.12); color: #16a34a; }
.tool-score--medium { color: #d97706; }
.tool-score--medium .tool-score__label { background: rgba(217,119,6,.12); color: #d97706; }
.tool-score--high { color: #ea580c; }
.tool-score--high .tool-score__label { background: rgba(234,88,12,.12); color: #ea580c; }
.tool-score--critical { color: #dc2626; }
.tool-score--critical .tool-score__label { background: rgba(220,38,38,.12); color: #dc2626; }

/* Radar chart */
.tool-radar {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}
.tool-radar svg {
  max-width: 100%;
  height: auto;
}

/* Category scores */
.tool-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.tool-cat {
  border: 1px solid var(--w-border, #e2e8f0);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  background: var(--w-card-bg, var(--w-surface, #f8fafc));
}
.tool-cat__name {
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: .5rem;
}
.tool-cat__bar {
  height: 8px;
  border-radius: 4px;
  background: var(--w-border, #e2e8f0);
  overflow: hidden;
}
.tool-cat__fill {
  height: 100%;
  border-radius: 4px;
  background: var(--w-primary, #2563eb);
  transition: width .6s ease;
}
.tool-cat__score {
  font-size: .85rem;
  color: var(--w-muted, #64748b);
  margin-top: .3rem;
}

/* Benchmark comparison */
.tool-benchmark {
  margin: 1rem 0 2rem;
}
.tool-benchmark__bar {
  position: relative;
  height: 12px;
  border-radius: 6px;
  background: var(--w-border, #e2e8f0);
  margin-bottom: .75rem;
}
.tool-benchmark__fill--avg {
  height: 100%;
  border-radius: 6px;
  background: rgba(100, 116, 139, .25);
}
.tool-benchmark__marker {
  position: absolute;
  top: -6px;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--w-primary, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tool-benchmark__marker span {
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
}
.tool-benchmark__legend {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  color: var(--w-muted, #64748b);
}
.tool-benchmark__text {
  font-size: .9rem;
  margin-top: .75rem;
}

/* Recommendations */
.tool-recs {
  margin: 2rem 0;
}
.tool-recs h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.tool-rec {
  border-left: 3px solid var(--w-primary, #2563eb);
  padding: .75rem 1rem;
  margin-bottom: .75rem;
  background: var(--w-card-bg, var(--w-surface, #f8fafc));
  border-radius: 0 8px 8px 0;
}
.tool-rec__title {
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: .25rem;
}
.tool-rec__text {
  font-size: .85rem;
  color: var(--w-muted, #64748b);
}

/* ── CTA block ── */
.tool-cta {
  background: var(--w-card-bg, var(--w-surface, #f8fafc));
  border: 2px solid var(--w-primary, #2563eb);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  text-align: center;
  margin: 2rem 0;
}
.tool-cta__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.tool-cta__text {
  font-size: .9rem;
  color: var(--w-muted, #64748b);
  margin-bottom: 1rem;
}
.tool-cta__link {
  display: inline-block;
  padding: .7rem 2rem;
  border-radius: 8px;
  background: var(--w-primary, #2563eb);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: opacity .2s;
}
.tool-cta__link:hover {
  opacity: .9;
}

/* ── Lead capture ── */
.tool-lead {
  background: var(--w-card-bg, var(--w-surface, #f8fafc));
  border: 1px solid var(--w-border, #e2e8f0);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.tool-lead__title {
  font-weight: 700;
  margin-bottom: .5rem;
}
.tool-lead__row {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: .75rem;
}
.tool-lead__input {
  flex: 1;
  min-width: 160px;
  padding: .6rem .8rem;
  border: 1px solid var(--w-border, #e2e8f0);
  border-radius: 6px;
  font-size: .9rem;
  background: var(--w-bg, #fff);
  color: var(--w-text, #1e293b);
}
.tool-lead__msg {
  font-size: .85rem;
  margin-top: .5rem;
}
.tool-lead__msg--ok { color: #16a34a; }
.tool-lead__msg--err { color: #dc2626; }

/* ── NIS2 specific: classification badge ── */
.tool-badge {
  display: inline-block;
  padding: .4rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
}
.tool-badge--essential {
  background: rgba(220,38,38,.12);
  color: #dc2626;
}
.tool-badge--important {
  background: rgba(217,119,6,.12);
  color: #d97706;
}
.tool-badge--none {
  background: rgba(22,163,74,.12);
  color: #16a34a;
}

/* NIS2 obligation checklist */
.tool-obligations {
  margin: 1.5rem 0;
}
.tool-obligation {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--w-border, #e2e8f0);
}
.tool-obligation:last-child {
  border-bottom: none;
}
.tool-obligation__status {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
}
.tool-obligation__status--ok {
  background: rgba(22,163,74,.12);
  color: #16a34a;
}
.tool-obligation__status--action {
  background: rgba(220,38,38,.12);
  color: #dc2626;
}
.tool-obligation__name {
  font-weight: 600;
  font-size: .95rem;
}
.tool-obligation__detail {
  font-size: .85rem;
  color: var(--w-muted, #64748b);
}

/* ── Datalek: cost breakdown ── */
.tool-cost {
  text-align: center;
  margin: 2rem 0;
}
.tool-cost__amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: #dc2626;
}
.tool-cost__range {
  font-size: .9rem;
  color: var(--w-muted, #64748b);
  margin-top: .25rem;
}
.tool-breakdown {
  margin: 1.5rem 0;
}
.tool-breakdown__item {
  display: flex;
  justify-content: space-between;
  padding: .6rem 0;
  border-bottom: 1px solid var(--w-border, #e2e8f0);
  font-size: .9rem;
}
.tool-breakdown__item:last-child {
  border-bottom: none;
}
.tool-breakdown__label {
  color: var(--w-muted, #64748b);
}
.tool-breakdown__value {
  font-weight: 700;
}
.tool-savings {
  margin: 1.5rem 0;
}
.tool-saving {
  display: flex;
  justify-content: space-between;
  padding: .5rem 0;
  font-size: .9rem;
}
.tool-saving__amount {
  color: #16a34a;
  font-weight: 700;
}
.tool-saving--total {
  border-top: 2px solid var(--w-border, #e2e8f0);
  margin-top: .5rem;
  padding-top: .75rem;
  font-weight: 700;
}

/* ── CSP-safe utility classes for JS output ── */
.p-center       { text-align: center; margin: 1.5rem 0; }
.p-muted         { font-size: .85rem; color: var(--w-muted, #64748b); margin-top: .5rem; }
.p-detail-header { margin-top: 1.25rem; margin-bottom: .5rem; font-size: .95rem; color: var(--w-muted, #64748b); }
.p-emphasis      { font-weight: 700; }
.p-cost-sm       { font-size: 1.5rem; }
.p-total-row {
  border-top: 2px solid var(--w-border, #e2e8f0);
  margin-top: .5rem;
  padding-top: .75rem;
  font-weight: 700;
}
.p-bar-inline { flex: 1; margin: 0 .75rem; }
.p-budget-section   { margin: 1.5rem 0; }
.p-budget-row       { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.p-budget-row:last-child { margin-bottom: 0; }
.p-budget-label     { min-width: 100px; font-size: .9rem; font-weight: 600; }
.p-budget-bar-track { flex: 1; height: 28px; background: var(--w-border, #e2e8f0); border-radius: 6px; overflow: hidden; }
.p-budget-bar-fill  { height: 100%; border-radius: 6px; transition: width .6s ease; }
.p-budget-amount    { min-width: 120px; text-align: right; font-weight: 700; }
.p-gap-box          { text-align: center; margin-top: 1rem; padding: .75rem; border-radius: 8px; }
.p-gap-box--deficit { background: rgba(220, 38, 38, .06); }
.p-gap-box--surplus { background: rgba(22, 163, 74, .06); }
.p-gap-box--unknown { background: rgba(217, 119, 6, .06); }
.p-gap-text         { font-size: .85rem; color: var(--w-muted, #64748b); margin-top: .25rem; }
.p-stacked-bar      { display: flex; height: 32px; border-radius: 8px; overflow: hidden; margin: 1rem 0 .5rem; }
.p-stacked-seg      { transition: width .6s ease; }
.p-alloc-grid       { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .5rem; margin-top: 1rem; }
.p-alloc-item       { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.p-alloc-swatch     { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }
.p-alloc-value      { margin-left: auto; font-weight: 700; }
.p-alloc-pct        { font-weight: 400; color: var(--w-muted, #64748b); }
.p-roi-card {
  background: var(--w-card-bg, var(--w-surface, #f8fafc));
  border: 1px solid var(--w-border, #e2e8f0);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1rem 0;
}
.p-roi-flex         { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; text-align: center; }
.p-roi-num          { font-size: 1.8rem; font-weight: 800; }
.p-roi-num--primary { color: var(--w-primary, #2563eb); }
.p-roi-num--green   { color: #16a34a; }
.p-roi-label        { font-size: .85rem; color: var(--w-muted, #64748b); }
.p-roi-arrow        { display: flex; align-items: center; font-size: 1.5rem; color: var(--w-muted, #64748b); }
.p-roi-note         { text-align: center; font-size: .85rem; color: var(--w-muted, #64748b); margin: 1rem 0 0; }
.p-roi-note--p0     { margin: 0; text-align: center; }
.p-sector-row       { display: flex; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.p-sector-label     { min-width: 80px; font-size: .85rem; }
.p-sector-bar       { flex: 1; height: 20px; background: var(--w-border, #e2e8f0); border-radius: 4px; overflow: hidden; }
.p-sector-fill      { height: 100%; border-radius: 4px; transition: width .6s ease; }
.p-sector-pct       { min-width: 36px; text-align: right; font-size: .85rem; }
.p-sector-amt       { min-width: 90px; text-align: right; font-size: .8rem; color: var(--w-muted, #64748b); }
.p-sector-note      { font-size: .85rem; color: var(--w-muted, #64748b); }
.p-active           { font-weight: 700; }
.p-score-mb         { margin-bottom: 1.5rem; }
.p-score-muted      { font-size: .85rem; color: var(--w-muted, #64748b); margin-top: .5rem; }
.p-db-strong--ok    { color: #16a34a; }
.p-db-strong--warn  { color: #dc2626; }
.p-db-strong--caution { color: #d97706; }
.p-desc              { color: var(--w-muted, #64748b); font-size: .9rem; margin-bottom: 1rem; }
.p-bold              { font-weight: 600; }
.p-bar-mb            { margin-bottom: .75rem; }
.p-bar-mb-lg         { margin-bottom: 1.5rem; }
.p-obligation-cat    { font-weight: 400; color: var(--w-text-muted, #64748b); }

/* ── Intro text (SEO) ── */
.tool-intro {
  margin-bottom: 2rem;
  line-height: 1.7;
}
.tool-intro p {
  margin: 0 0 .75rem;
  color: var(--w-muted, #64748b);
  font-size: .95rem;
}

/* ══════════════════════════════════════════════
   Tool explanation pages
   ══════════════════════════════════════════════ */

/* Breadcrumb */
.tool-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  font-size: .85rem;
  color: var(--w-muted, #64748b);
}
.tool-breadcrumb a {
  color: var(--w-primary, #2563eb);
  text-decoration: none;
}
.tool-breadcrumb a:hover {
  text-decoration: underline;
}
.tool-breadcrumb__sep {
  color: var(--w-border, #cbd5e1);
}

/* Table of contents */
.tool-toc {
  background: var(--w-card-bg, var(--w-surface, #f8fafc));
  border: 1px solid var(--w-border, #e2e8f0);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 0 0 2.5rem;
}
.tool-toc__title {
  font-weight: 700;
  font-size: .95rem;
  margin: 0 0 .75rem;
}
.tool-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tool-toc__list li {
  margin-bottom: .4rem;
}
.tool-toc__list a {
  font-size: .9rem;
  color: var(--w-primary, #2563eb);
  text-decoration: none;
}
.tool-toc__list a:hover {
  text-decoration: underline;
}

/* Article body for explanation pages */
.tool-article {
  line-height: 1.75;
  color: var(--w-text, #1e293b);
}
.tool-article h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  padding-top: .5rem;
  color: var(--w-heading, var(--w-text, #1e293b));
}
.tool-article h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.5rem 0 .5rem;
  color: var(--w-heading, var(--w-text, #1e293b));
}
.tool-article p {
  margin: 0 0 1rem;
  font-size: .95rem;
}
.tool-article ul, .tool-article ol {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}
.tool-article li {
  margin-bottom: .4rem;
  font-size: .95rem;
}

/* Step explanation cards */
.tool-explain-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}
.tool-explain-step {
  border: 1px solid var(--w-border, #e2e8f0);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  background: var(--w-card-bg, var(--w-surface, #f8fafc));
}
.tool-explain-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--w-primary, #2563eb);
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  margin-right: .5rem;
  flex-shrink: 0;
  vertical-align: middle;
}
.tool-explain-step__title {
  font-weight: 700;
  font-size: 1rem;
  vertical-align: middle;
}
.tool-explain-step p {
  margin: .5rem 0 0;
  font-size: .9rem;
  color: var(--w-muted, #64748b);
  line-height: 1.65;
}

/* Comparison table: free vs premium */
.tool-compare {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: .9rem;
}
.tool-compare th {
  background: var(--w-card-bg, var(--w-surface, #f8fafc));
  font-weight: 700;
  text-align: left;
  padding: .75rem 1rem;
  border-bottom: 2px solid var(--w-border, #e2e8f0);
}
.tool-compare td {
  padding: .6rem 1rem;
  border-bottom: 1px solid var(--w-border, #e2e8f0);
  vertical-align: top;
}
.tool-compare tr:last-child td {
  border-bottom: none;
}
.tool-compare__check {
  color: #16a34a;
  font-weight: 700;
}
.tool-compare__cross {
  color: var(--w-muted, #94a3b8);
}

/* Highlight box (for gratis rapport / premium info) */
.tool-highlight {
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0 1.5rem;
}
.tool-highlight--free {
  background: rgba(22, 163, 74, .06);
  border: 1px solid rgba(22, 163, 74, .2);
}
.tool-highlight--premium {
  background: rgba(37, 99, 235, .06);
  border: 1px solid rgba(37, 99, 235, .2);
}
.tool-highlight__title {
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 .5rem;
}
.tool-highlight--free .tool-highlight__title {
  color: #16a34a;
}
.tool-highlight--premium .tool-highlight__title {
  color: var(--w-primary, #2563eb);
}
.tool-highlight ul {
  margin: 0;
  padding-left: 1.5rem;
}
.tool-highlight li {
  font-size: .9rem;
  margin-bottom: .3rem;
}

/* Dual CTA block */
.tool-dual-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}
.tool-dual-cta__card {
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  text-decoration: none;
  transition: box-shadow .2s;
}
.tool-dual-cta__card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.tool-dual-cta__card--free {
  border: 2px solid var(--w-border, #e2e8f0);
  background: var(--w-bg, #fff);
  color: var(--w-text, #1e293b);
}
.tool-dual-cta__card--premium {
  border: 2px solid var(--w-primary, #2563eb);
  background: var(--w-primary, #2563eb);
  color: #fff;
}
.tool-dual-cta__label {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  opacity: .7;
  margin-bottom: .25rem;
}
.tool-dual-cta__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.tool-dual-cta__desc {
  font-size: .85rem;
  opacity: .8;
}

/* FAQ section on explanation pages */
.tool-faq {
  margin: 1rem 0 2rem;
}
.tool-faq__item {
  border-bottom: 1px solid var(--w-border, #e2e8f0);
  padding: 1rem 0;
}
.tool-faq__item:last-child {
  border-bottom: none;
}
.tool-faq__q {
  font-weight: 700;
  font-size: .95rem;
  margin: 0 0 .4rem;
}
.tool-faq__a {
  font-size: .9rem;
  color: var(--w-muted, #64748b);
  margin: 0;
  line-height: 1.65;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .tool-dual-cta {
    grid-template-columns: 1fr;
  }
  .tool-options {
    grid-template-columns: 1fr;
  }
  .tool-categories {
    grid-template-columns: 1fr;
  }
  .tool-score__value {
    font-size: 2.5rem;
  }
  .tool-cost__amount {
    font-size: 2rem;
  }
  .tool-cta {
    padding: 1.2rem;
  }
  .tool-lead__row {
    flex-direction: column;
  }
  .tool-nav {
    flex-direction: column;
  }
  .tool-nav .tool-btn {
    width: 100%;
    justify-content: center;
  }
}


/* ══════════════════════════════════════════════
   Hosting Tools — additional components
   ══════════════════════════════════════════════ */

/* ── Stat highlight ── */
.tool-stat-highlight {
  text-align: center;
  padding: 2rem 1rem;
  margin: 1.5rem 0;
  border-radius: 12px;
  background: var(--w-card-bg, var(--w-surface, #f8fafc));
  border: 1px solid var(--w-border, #e2e8f0);
}
.tool-stat-highlight__number {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--w-heading, var(--w-text, #1e293b));
}
.tool-stat-highlight__number.is-green { color: #16a34a; }
.tool-stat-highlight__number.is-yellow { color: #ca8a04; }
.tool-stat-highlight__number.is-red { color: #dc2626; }
.tool-stat-highlight__label {
  font-size: .95rem;
  color: var(--w-muted, #64748b);
  margin-top: .5rem;
}
.tool-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.tool-stats-row .tool-stat-highlight {
  margin: 0;
  padding: 1.25rem .75rem;
}
.tool-stats-row .tool-stat-highlight__number {
  font-size: 2rem;
}

/* ── Cost / data table ── */
.tool-cost-table {
  border: 1px solid var(--w-border, #e2e8f0);
  border-radius: 10px;
  overflow: hidden;
  margin: 1.5rem 0;
}
.tool-cost-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: .5rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--w-border, #e2e8f0);
  align-items: center;
}
.tool-cost-row:last-child { border-bottom: none; }
.tool-cost-row--header {
  background: var(--w-surface, #f1f5f9);
  font-weight: 600;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--w-muted, #64748b);
}
.tool-cost-row--total {
  background: var(--w-surface, #f1f5f9);
  border-top: 2px solid var(--w-primary, #2563eb);
}
.tool-cost-row.is-highlighted {
  background: rgba(37, 99, 235, .08);
}
.tool-cost-row span:not(:first-child) {
  text-align: right;
  white-space: nowrap;
}

/* ── Result card ── */
.tool-result-card {
  border: 1px solid var(--w-border, #e2e8f0);
  border-radius: 12px;
  padding: 1.25rem;
  margin: 1rem 0;
  background: var(--w-card-bg, var(--w-surface, #f8fafc));
}
.tool-result-card.is-recommended {
  border-color: var(--w-primary, #2563eb);
  box-shadow: 0 0 0 1px var(--w-primary, #2563eb);
}
.tool-result-card__header {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: .75rem;
}
.tool-result-card__price {
  color: var(--w-primary, #2563eb);
  font-weight: 700;
  font-size: 1.1rem;
}
.tool-result-card__features {
  margin: .5rem 0 0;
  padding-left: 1.2rem;
  font-size: .9rem;
  color: var(--w-muted, #64748b);
}
.tool-result-card__features li {
  margin-bottom: .25rem;
}
.tool-result-card__match { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }

/* ── Match bar ── */
.tool-match-bar {
  flex: 1;
  height: 8px;
  background: var(--w-border, #e2e8f0);
  border-radius: 4px;
  overflow: hidden;
}
.tool-match-bar__fill {
  height: 100%;
  width: 0;
  background: var(--w-primary, #2563eb);
  border-radius: 4px;
  transition: width .6s ease;
}
.tool-match-bar__fill.is-animated[data-animated-width] {
  width: var(--w, 0);
}

/* ── Progress bar (for checklist tools) ── */
.tool-progress-bar {
  height: 12px;
  background: var(--w-border, #e2e8f0);
  border-radius: 6px;
  overflow: hidden;
  margin: .5rem 0;
}
.tool-progress-bar--small { height: 8px; }
.tool-progress-bar__fill {
  height: 100%;
  width: 0;
  border-radius: 6px;
  transition: width .5s ease;
}
.tool-progress-bar__fill.is-green { background: #16a34a; }
.tool-progress-bar__fill.is-yellow { background: #ca8a04; }
.tool-progress-bar__fill.is-red { background: #dc2626; }
.tool-progress-bar__fill.is-animated[data-animated-width] {
  width: var(--w, 0);
}

/* ── Checklist progress (per section) ── */
.tool-checklist-progress {
  margin: .75rem 0;
}
.tool-checklist-progress__label {
  display: flex;
  justify-content: space-between;
  font-size: .9rem;
  margin-bottom: .25rem;
}

/* ── Status message ── */
.tool-status-msg {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin: 1rem 0;
  font-size: .95rem;
}
.tool-status-msg.is-success {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}
.tool-status-msg.is-warning {
  background: #fefce8;
  color: #a16207;
  border: 1px solid #fef08a;
}
.tool-status-msg.is-error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}
.tool-status-msg.is-info {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

/* ── Tips section ── */
.tool-tips {
  background: var(--w-card-bg, var(--w-surface, #f8fafc));
  border: 1px solid var(--w-border, #e2e8f0);
  border-radius: 10px;
  padding: 1.25rem;
  margin: 1.5rem 0;
}
.tool-tips h3 {
  font-size: 1rem;
  margin: 0 0 .75rem;
}
.tool-tips ul {
  margin: 0;
  padding-left: 1.2rem;
  font-size: .9rem;
  color: var(--w-muted, #64748b);
}
.tool-tips li { margin-bottom: .35rem; }

/* ── Badge ── */
.tool-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 9999px;
  background: var(--w-surface, #f1f5f9);
  color: var(--w-muted, #64748b);
  text-transform: uppercase;
  letter-spacing: .03em;
}
.tool-badge--green {
  background: #dcfce7;
  color: #15803d;
}

/* ── DNS sections ── */
.tool-dns-section {
  margin: 1.5rem 0;
}
.tool-dns-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .5rem;
}
.tool-dns-count {
  font-size: .85rem;
  color: var(--w-muted, #64748b);
}
.tool-dns-info {
  font-size: .85rem;
  color: var(--w-muted, #64748b);
  margin: 0 0 .5rem;
}
.tool-dns-records {
  background: var(--w-surface, #f1f5f9);
  border-radius: 8px;
  padding: .5rem;
}
.tool-dns-record {
  padding: .4rem .75rem;
  border-bottom: 1px solid var(--w-border, #e2e8f0);
}
.tool-dns-record:last-child { border-bottom: none; }
.tool-dns-record code {
  font-size: .85rem;
  word-break: break-all;
  color: var(--w-text, #1e293b);
}

/* ── Email check sections ── */
.tool-check-section {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--w-border, #e2e8f0);
  border-radius: 10px;
  background: var(--w-card-bg, var(--w-surface, #f8fafc));
}
.tool-check-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .5rem;
}
.tool-check-icon {
  font-size: 1.2rem;
  font-weight: 700;
  width: 1.5rem;
  text-align: center;
}
.tool-check-icon.is-green { color: #16a34a; }
.tool-check-icon.is-red { color: #dc2626; }
.tool-check-desc {
  font-size: .9rem;
  color: var(--w-muted, #64748b);
  margin: .25rem 0 .5rem;
}

/* ── AVG action items ── */
.tool-action-section {
  font-size: .95rem;
  margin: 1rem 0 .5rem;
  color: var(--w-heading, var(--w-text, #1e293b));
}
.tool-action-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 0;
  font-size: .9rem;
}
.tool-disclaimer {
  font-size: .8rem;
  color: var(--w-muted, #64748b);
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--w-border, #e2e8f0);
  font-style: italic;
}

/* ── Input groups ── */
.tool-input-group {
  margin-bottom: 1.25rem;
}
.tool-input-group label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .4rem;
}
.tool-input {
  width: 100%;
  max-width: 200px;
  padding: .6rem .75rem;
  border: 1px solid var(--w-border, #e2e8f0);
  border-radius: 8px;
  font-size: 1rem;
  background: var(--w-bg, #fff);
  color: var(--w-text, #1e293b);
  transition: border-color .2s;
}
.tool-input:focus {
  border-color: var(--w-primary, #2563eb);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}
.tool-input--wide {
  max-width: 100%;
}

/* ── Slider ── */
.tool-slider {
  width: 100%;
  max-width: 400px;
  margin: .5rem 0;
  accent-color: var(--w-primary, #2563eb);
}

/* widths set via element.style.width in JS (CSP-safe via CSSOM) */

/* ── Light mode overrides ── */
[data-theme="light"] .tool-status-msg.is-success,
.light .tool-status-msg.is-success {
  background: #f0fdf4;
}
[data-theme="light"] .tool-status-msg.is-info,
.light .tool-status-msg.is-info {
  background: #eff6ff;
}

/* ── Responsive hosting tools ── */
@media (max-width: 600px) {
  .tool-stats-row {
    grid-template-columns: 1fr;
  }
  .tool-cost-row {
    grid-template-columns: 1fr auto;
    font-size: .85rem;
  }
  .tool-cost-row span:nth-child(3) {
    display: none; /* hide yearly column on mobile, show monthly only */
  }
  .tool-cost-row--header span:nth-child(3) {
    display: none;
  }
  .tool-stat-highlight__number {
    font-size: 2.2rem;
  }
}

/* ── Website audit ── */
.tool-audit-grade {
  text-align: center;
  padding: 2rem;
  margin: 1.5rem 0;
}
.tool-audit-grade__letter {
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
}
.tool-audit-grade__score {
  font-size: 1.2rem;
  color: var(--w-muted, #64748b);
  margin-top: .5rem;
}
.tool-audit-grade .tool-progress-bar {
  max-width: 320px;
  margin: 1rem auto 0;
}
.tool-audit-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.tool-audit-cat {
  border: 1px solid var(--w-border, #e2e8f0);
  border-radius: 12px;
  padding: 1.25rem;
  background: var(--w-card-bg, var(--w-surface, #f8fafc));
}
.tool-audit-cat__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .75rem;
}
.tool-audit-cat__name {
  font-weight: 700;
  font-size: 1rem;
}
.tool-audit-cat__score {
  font-weight: 700;
  font-size: .9rem;
}
.tool-audit-cat .tool-progress-bar {
  margin-bottom: .75rem;
}
.tool-audit-check {
  display: flex;
  gap: .5rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--w-border, #e2e8f0);
  font-size: .85rem;
}
.tool-audit-check:last-child { border-bottom: none; }
.tool-audit-check__icon {
  flex-shrink: 0;
  width: 1.2rem;
  text-align: center;
  font-weight: 700;
}
.tool-audit-check__icon.pass { color: #16a34a; }
.tool-audit-check__icon.warn { color: #ca8a04; }
.tool-audit-check__icon.fail { color: #dc2626; }
.tool-audit-check__content { flex: 1; }
.tool-audit-check__name { font-weight: 600; }
.tool-audit-check__value {
  color: var(--w-muted, #64748b);
  font-size: .8rem;
}
.tool-audit-check__advice {
  margin-top: .25rem;
  padding: .4rem .6rem;
  background: #fffbeb;
  border-radius: 6px;
  font-size: .8rem;
  color: #92400e;
}
.tool-audit-check__advice.is-fail {
  background: #fef2f2;
  color: #991b1b;
}
@media (max-width: 600px) {
  .tool-audit-categories {
    grid-template-columns: 1fr;
  }
  .tool-audit-grade__letter {
    font-size: 3.5rem;
  }
}

/* Sample report callout */
.tool-sample-report {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  margin: 1.5rem 0;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: 8px;
}
.tool-sample-report__icon {
  flex-shrink: 0;
  color: #0369a1;
}
.tool-sample-report__body {
  flex: 1;
}
.tool-sample-report__body strong {
  display: block;
  font-size: 1.05rem;
  color: #0c4a6e;
  margin-bottom: 0.25rem;
}
.tool-sample-report__body p {
  margin: 0 0 0.75rem 0;
  font-size: 0.9rem;
  color: #075985;
}
.tool-sample-report__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: #0369a1;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.15s;
}
.tool-sample-report__link:hover {
  background: #075985;
  color: #fff;
}

/* Trust signals */
.tool-trust-signals {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #4b5563;
}
.tool-trust-signal {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.tool-trust-signal svg {
  flex-shrink: 0;
  color: #059669;
}

/* Bundle callout */
.tool-bundle-callout {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  margin: 2rem 0;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}
.tool-bundle-callout::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
  pointer-events: none;
}
.tool-bundle-callout__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.3rem 0.8rem;
  background: #ef4444;
  color: #fff;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tool-bundle-callout__body {
  flex: 1;
  position: relative;
  z-index: 1;
}
.tool-bundle-callout__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: #fff;
}
.tool-bundle-callout__desc {
  margin: 0 0 1rem 0;
  color: #cbd5e1;
  font-size: 0.95rem;
}
.tool-bundle-callout__price {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.tool-bundle-callout__price-now {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
}
.tool-bundle-callout__price-was {
  font-size: 1.1rem;
  color: #94a3b8;
  text-decoration: line-through;
}
.tool-bundle-callout__savings {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  background: #10b981;
  color: #fff;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
}
.tool-bundle-callout__cta {
  display: inline-block;
  padding: 0.9rem 1.75rem;
  background: #38bdf8;
  color: #0c4a6e;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.15s, background 0.15s;
  position: relative;
  z-index: 1;
}
.tool-bundle-callout__cta:hover {
  background: #7dd3fc;
  transform: translateY(-2px);
  color: #0c4a6e;
}
@media (max-width: 640px) {
  .tool-bundle-callout {
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
  }
  .tool-bundle-callout__price-now {
    font-size: 2rem;
  }
}

/* Section heading between tool groups */
.tool-section-heading {
  margin-top: 3rem;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text, #111);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-border, #e5e7eb);
}

/* CSP-strict utility classes (replacing inline styles) */
.u-icon-16 { width: 16px; height: 16px; }
.u-flex-row-center { display: flex; align-items: center; flex-wrap: wrap; }
.u-max-260 { max-width: 260px; }
.u-max-200 { max-width: 200px; }
.u-ml-auto { margin-left: auto; }

/* Premium tools grid — compact cards for tools overview */
.tool-premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.tool-premium-card {
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.tool-premium-card:hover {
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.tool-premium-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f3f4f6;
}
.tool-premium-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: #1e293b;
  line-height: 1.3;
}
.tool-premium-card__price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0369a1;
  white-space: nowrap;
}
.tool-premium-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
  color: #64748b;
}
.tool-premium-card__features li {
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.3rem;
}
.tool-premium-card__features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

/* Bundle footer CTA */
.tool-bundle-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background: #f0f9ff;
  border: 2px dashed #38bdf8;
  border-radius: 10px;
}
.tool-bundle-footer__text {
  flex: 1;
  margin: 0;
  color: #0c4a6e;
  font-size: 0.95rem;
}
.tool-bundle-footer__text strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

/* OSINT tool specific styles */
.osint-categories { margin: 1.5rem 0; }
.osint-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.osint-cat-card {
  padding: 1rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}
.osint-cat-card__name {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}
.osint-cat-card__bar {
  width: 100%;
  height: 8px;
  background: #f3f4f6;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.osint-cat-card__bar-fill {
  height: 100%;
  transition: width 0.3s;
}
.osint-cat-card__bar-fill.is-green { background: #10b981; }
.osint-cat-card__bar-fill.is-yellow { background: #f59e0b; }
.osint-cat-card__bar-fill.is-red { background: #ef4444; }
.osint-cat-card__score {
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
}
.osint-cat-card__detail {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.3rem;
}

.osint-block {
  padding: 1.25rem;
  margin: 1rem 0;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}
.osint-block h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  color: #1e293b;
}
.osint-block--danger {
  background: #fef2f2;
  border-color: #fecaca;
}
.osint-block--danger h3 { color: #991b1b; }
.osint-block--ok {
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.osint-block--ok h3 { color: #166534; }

.osint-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.osint-chip {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 0.8rem;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  color: #374151;
}
.osint-chip--tech {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
  font-family: inherit;
  font-weight: 500;
}
.osint-chip--ok {
  background: #f0fdf4;
  border-color: #86efac;
  color: #166534;
}
.osint-chip--missing {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #991b1b;
}

.osint-exposed-row {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #fecaca;
}
.osint-exposed-row:last-child { border-bottom: none; }
.osint-exposed-row code {
  flex: 1;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  color: #991b1b;
}

.osint-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.osint-badge--critical { background: #dc2626; color: #fff; }
.osint-badge--high { background: #f59e0b; color: #fff; }
.osint-badge--low { background: #10b981; color: #fff; }

.osint-rec {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}
.osint-rec:last-child { border-bottom: none; }

.tool-input-group { margin: 1.5rem 0; }
.tool-label { display: block; font-weight: 600; margin-bottom: 0.3rem; color: #374151; }
.tool-input-row { display: flex; gap: 0.6rem; }
.tool-input { flex: 1; }
.tool-hint { font-size: 0.85rem; color: #6b7280; margin-top: 0.4rem; }

.tool-info-block {
  margin: 3rem 0 1rem 0;
  padding: 2rem;
  background: #f9fafb;
  border-radius: 10px;
}
.tool-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.tool-feature {
  padding: 1rem;
  background: #fff;
  border-radius: 6px;
}
.tool-feature h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem 0;
  color: #1e293b;
}
.tool-feature p {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
}
.tool-feature code {
  background: #f3f4f6;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  font-size: 0.8rem;
}

/* New badge on tool cards */
.tool-card__badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  margin-left: 0.4rem;
  background: #10b981;
  color: #fff;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  vertical-align: middle;
}
.tool-card--new {
  position: relative;
  border: 2px solid #10b981;
}
.tool-card--new::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 40px 40px 0;
  border-color: transparent #10b981 transparent transparent;
}
