/* ==========================================================================
   D02 · Managed Detection & Response  (pages/mdr.html)
   ========================================================================== */

/* Hero ------------------------------------------------------------------- */

.hero__lead {
  margin-top: 28px;
}

.hero__actions {
  margin-top: 36px;
}

/* 01 · Triage funnel ------------------------------------------------------ */

.funnel__title {
  margin-bottom: 40px;
}

.funnel__counter-label {
  margin-bottom: 8px;
}

.funnel__counter-value {
  font: 300 clamp(44px, 5vw, 72px)/1 var(--w-sans);
  letter-spacing: -.03em;
  color: var(--w-text);
  transition: color 280ms;
}

/* Last step reached: value and bars switch to the action color */
[data-funnel].is-complete .funnel__counter-value {
  color: var(--w-action);
}

.funnel__progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 24px;
}

.funnel__bar {
  height: 3px;
  background: var(--w-line-2);
  transition: background 280ms;
}

.funnel__bar.is-filled {
  background: var(--w-text);
}

[data-funnel].is-complete .funnel__bar.is-filled {
  background: var(--w-action);
}

.funnel__note {
  margin-top: 16px;
}

.funnel__step {
  min-height: calc(52vh + 80px);
  padding: 40px 0;
  border-top: 1px solid var(--w-line);
  opacity: .35;
  transition: opacity 420ms var(--w-ease-out);
}

.funnel__step.is-active {
  opacity: 1;
}

.funnel__step-label {
  margin-bottom: 16px;
}

.funnel__step-title {
  margin-bottom: 16px;
}

/* 02 · SLA table ---------------------------------------------------------- */

.section-title {
  max-width: 20ch;
}

.sla-table {
  min-width: 760px;
}

/* 03 · Coverage matrix ---------------------------------------------------- */

.coverage-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font: 12px var(--w-mono);
  color: var(--w-text-2);
}

.coverage-legend li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.coverage-legend .coverage__cell {
  width: 12px;
  height: 12px;
  border-radius: 0;
}

.coverage {
  display: grid;
  grid-template-columns: repeat(12, minmax(84px, 1fr));
  gap: 4px;
  min-width: 1040px;
}

.coverage__col {
  display: grid;
  gap: 4px;
  align-content: start;
}

.coverage__tactic {
  height: 34px;
  margin-bottom: 6px;
  font: 11px/1.3 var(--w-mono);
  color: var(--w-text-2);
}

.coverage__cell {
  display: block;
  height: 24px;
  border: 1px solid transparent;
  border-radius: 2px;
}

.coverage__cell--respond    { background: #8B7DFF; }
.coverage__cell--detect     { background: rgba(139, 125, 255, .4); }
.coverage__cell--visibility { border-color: var(--w-line-2); }

.coverage__note {
  margin-top: 20px;
}

/* 04 · Integrations ------------------------------------------------------- */

.integrations__title {
  margin-bottom: 20px;
}

.logo-grid {
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  align-self: start;
}

.logo-grid li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  height: 84px;
  padding: 0 16px;
  font: 14px var(--w-sans);
  color: var(--w-text-2);
}

.logo-grid li span {
  font: 11px var(--w-mono);
  color: var(--w-text-3);
}

/* 05 · Analysts & shift model -------------------------------------------- */

.team__title {
  max-width: 22ch;
}

.shift-chart {
  margin-bottom: 56px;
  background: transparent;
}

.shift-chart__scale {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font: 12px var(--w-mono);
  color: var(--w-text-3);
}

.shift-chart__bar {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  gap: 2px;
}

.shift-chart__hour {
  height: 36px;
  border-radius: 1px;
}

.shift-chart__hour--day      { background: rgba(230, 234, 237, .22); }
.shift-chart__hour--night    { background: rgba(139, 125, 255, .28); }
.shift-chart__hour--handover { background: #8B7DFF; }

.shift-chart__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 14px;
  font: 12px var(--w-mono);
  color: var(--w-text-2);
}

.analysts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}

.analyst {
  border: 1px solid var(--w-line-2);
  border-radius: 8px;
  overflow: hidden;
}

/* Photo placeholder: hatched duotone with a UV glow */
.analyst__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(135deg, #141a20 0 10px, #10151a 10px 20px);
}

.analyst__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(139, 125, 255, .2), transparent 60%);
}

.analyst__photo span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font: 11px var(--w-mono);
  color: var(--w-text-2);
}

.analyst__body {
  padding: 20px;
}

.analyst__name {
  font: 500 18px var(--w-sans);
}

.analyst__role {
  margin: 4px 0 14px;
  font: 14px var(--w-sans);
  color: var(--w-text-2);
}

.analyst__certs {
  font: 12px var(--w-mono);
  color: var(--w-text-2);
}

.tour-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  padding: 24px 28px;
}

.tour-cta__text {
  font: 400 18px/1.5 var(--w-sans);
}

/* 06 · Sample report ------------------------------------------------------ */

.report {
  align-items: center;
}

.report__title {
  margin-bottom: 20px;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.04;
}

.report__text {
  max-width: 44ch;
  margin-bottom: 28px;
}

/* Paper mock-up, always light */
.report-mock {
  position: relative;
  padding: 28px;
  border-radius: 4px;
  background: #F3F4F2;
  color: #0D1114;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .4);
  transform: rotate(-1.2deg);
  font: 13px/1.6 var(--w-sans);
}

.report-mock__head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  font: 11px var(--w-mono);
}

.report-mock__tlp {
  padding: 3px 7px;
  border-radius: 2px;
  background: #000;
  color: #FFC000;
}

.report-mock__title {
  margin-bottom: 6px;
  font: 500 22px var(--w-sans);
}

.report-mock__client {
  margin-bottom: 18px;
}

/* Redaction on light paper */
.report-mock .redacted {
  background: #0D1114;
  color: #0D1114;
}

.report-mock__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
  font: 20px var(--w-mono);
}

.report-mock__kpis div {
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(13, 17, 20, .1);
}

.report-mock__kpis small {
  display: block;
  font-size: 10px;
  color: #5B646D;
}

.report-mock__lines {
  display: grid;
  gap: 6px;
}

.report-mock__lines span {
  width: var(--w, 100%);
  height: 8px;
  background: #DDE0DC;
}

.report-mock__lines span.is-dark {
  background: #0D1114;
}

/* 07 · Pricing ------------------------------------------------------------ */

.pricing__terms {
  font: 13px var(--w-mono);
  color: var(--w-text-3);
}

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
}

.tier {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  border: 1px solid var(--w-line-2);
  border-radius: 8px;
  background: var(--w-surface-1);
}

.tier--featured {
  border-color: var(--w-action-line);
}

.tier__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tier__name {
  font: 500 20px var(--w-sans);
}

.tier__flag {
  font: 11px var(--w-mono);
  color: var(--w-action);
}

.tier__price {
  font: 300 52px var(--w-sans);
  letter-spacing: -.03em;
}

.tier__unit {
  font: 14px var(--w-sans);
  color: var(--w-text-2);
}

.tier__desc {
  font: 15px/1.5 var(--w-sans);
  color: var(--w-text-2);
}

.tier__features {
  display: grid;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--w-line);
  font: 15px var(--w-sans);
}

.tier__features li {
  display: flex;
  gap: 10px;
}

.tier__features li::before {
  content: "✓";
  color: var(--w-action);
}

.tier__cta {
  margin-top: auto;
}

/* 08 · Comparison --------------------------------------------------------- */

.compare-table {
  min-width: 680px;
}

.compare-table th,
.compare-table td {
  padding-block: 16px;
}

.compare-table tbody th {
  color: var(--w-text-2);
}

.compare__note {
  margin-top: 16px;
}

/* 09 · FAQ ---------------------------------------------------------------- */

.faq-layout {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 48px 80px;
}

/* Closing CTA ------------------------------------------------------------- */

