/* ==========================================================================
   NIS2 landing — supplements style.css. Reuses every existing token; adds only
   the scope-checker and a few NIS2-specific blocks. No new colours or fonts.
   ========================================================================== */

/* --- Breadcrumb ---------------------------------------------------------- */
.crumbs {
  padding-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--text-faint);
}
.crumbs a { color: var(--text-dim); }
.crumbs a:hover { color: var(--accent); }
.crumbs span { margin: 0 0.4rem; color: var(--text-faint); }

/* --- Tiered catalogue: free / entry / core / premium --------------------- */
.tier-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-3);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.tier-label.free { color: var(--accent-bright); border-color: var(--line-accent); }

.price-free {
  font-family: var(--font-mono);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent-bright);
}

/* Two-up free-resource cards use the existing .product-grid/.product-card. */

/* --- What's inside: the 9-part toolkit manifest -------------------------- */
.manifest {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.manifest li {
  position: relative;
  padding: 1.1rem 1.1rem 1.1rem 3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
  font-size: 0.86rem;
  color: var(--text-soft);
}
.manifest li b {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}
.manifest li span { color: var(--text-dim); }
.manifest .m-num {
  position: absolute;
  left: 1rem;
  top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
}

/* --- Scope self-checker -------------------------------------------------- */
.checker {
  border: 1px solid var(--line-accent);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 90% 120% at 0% 0%, rgba(61, 220, 132, 0.06), transparent 55%),
    linear-gradient(180deg, var(--surface-2), var(--surface-1));
  box-shadow: var(--shadow-lg);
  padding: 2rem;
}
@media (min-width: 720px) { .checker { padding: 2.5rem; } }

.checker-q {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.checker-q:first-of-type { padding-top: 0.25rem; }
.checker-q legend,
.checker-q .q-text {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
}
.checker-q .q-hint {
  display: block;
  margin: -0.4rem 0 0.7rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.checker-q fieldset { margin: 0; padding: 0; border: 0; }

/* Segmented radio options */
.opt-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.opt {
  position: relative;
}
.opt input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.opt label {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-3);
  font-size: 0.82rem;
  color: var(--text-soft);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.opt label:hover { border-color: var(--line-accent); color: var(--text); }
.opt input:checked + label {
  border-color: transparent;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent-deep));
  color: #04140b;
  font-weight: 600;
}
.opt input:focus-visible + label {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.checker-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.4rem;
}
.checker-actions .buy-btn { flex: none; min-width: 200px; }
.btn-ghost {
  padding: 0.8rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn-ghost:hover { color: var(--accent); border-color: var(--line-accent); }

.nis2-warn {
  margin: 0.9rem 0 0;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--warn);
  border-radius: var(--radius-sm);
  background: rgba(230, 180, 85, 0.08);
  color: var(--warn);
  font-size: 0.82rem;
}

/* Result panel */
.nis2-result {
  margin-top: 1.6rem;
  padding: 1.5rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.28);
}
.nis2-result:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.nis2-result.is-in { border-color: var(--line-accent); background: rgba(61, 220, 132, 0.06); }
.nis2-result.is-out { border-color: var(--line-strong); }
.nis2-result h3 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.nis2-result.is-in h3 { color: var(--accent-bright); }
.nis2-result-lead { margin: 0 0 0.6rem; color: var(--text-soft); font-size: 0.9rem; }
.nis2-result-note { margin: 0; color: var(--text-dim); font-size: 0.82rem; line-height: 1.6; }
.nis2-result-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.nis2-result-cta .buy-btn { flex: none; }

/* Printable worksheet fallback link */
.checker-fallback {
  margin-top: 1.2rem;
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* --- Compliance callout on the homepage ---------------------------------- */
.compliance-band {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 2.25rem;
  border: 1px solid var(--line-accent);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 70% 120% at 100% 0%, rgba(61, 220, 132, 0.07), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface-1));
  box-shadow: var(--shadow-md);
}
.compliance-band h3 {
  margin: 0.5rem 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}
.compliance-band p { margin: 0 0 1rem; color: var(--text-dim); font-size: 0.92rem; max-width: 46ch; }
.compliance-band .band-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 720px) {
  .bundle, .compliance-band { grid-template-columns: 1fr; gap: 1.5rem; }
  .checker-actions .buy-btn { width: 100%; min-width: 0; }
  .nis2-result-cta .buy-btn { width: 100%; }
}

/* --- Tier comparison table ----------------------------------------------- */
.tier-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.tier-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.tier-table th, .tier-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.tier-table thead th {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  background: var(--surface-2);
}
.tier-table tbody tr:last-child td { border-bottom: 0; }
.tier-table td { color: var(--text-soft); }
.tier-table .tt-price {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.tier-table .buy-btn { padding: 0.5rem 0.9rem; font-size: 0.8rem; white-space: nowrap; }
.tier-table tr.tt-highlight {
  background:
    linear-gradient(90deg, var(--accent-glow), transparent 60%);
}
.tier-table tr.tt-highlight td:first-child { box-shadow: inset 3px 0 0 var(--accent); }

/* Coming-soon buttons: look like a button, but inert (not links). */
.buy-btn.soon {
  cursor: default;
  opacity: 0.72;
  filter: saturate(0.6);
}
.buy-btn.soon::after { display: none; }
.buy-btn.soon:hover { transform: none; border-color: var(--line-strong); }
.buy-btn.primary.soon { color: #04140b; }

/* Reveal integration: honour the shared .reveal system from style.css. */
