.protection-demo {
  --demo-surface: #091a31;
  --demo-ink: #f9f6ed;
  --demo-muted: #c6d3e2;
  --demo-rule: #b6ccdf39;
  --demo-gold: #e5cc91;
  --demo-selected: #f5f3ed;
  --demo-selected-ink: #111439;
  --demo-sim-ink: #f3cf94;
  --demo-sim-bg: #91652330;
  color: var(--demo-ink);
  background: var(--demo-surface);
  border: 1px solid var(--demo-rule);
  border-radius: 12px;
  padding: clamp(14px, 3vw, 32px);
  box-shadow: 0 17px 50px #050d2033;
}
:root[data-theme="light"] .protection-demo {
  --demo-surface: #fff;
  --demo-ink: #111439;
  --demo-muted: #444965;
  --demo-rule: #11143937;
  --demo-gold: #53598d;
  --demo-selected: #111439;
  --demo-selected-ink: #f8f8f9;
  --demo-sim-ink: #744913;
  --demo-sim-bg: #f7eddc;
  box-shadow: 0 14px 40px #11143912;
}
.protection-demo-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(17px, 3vw, 26px);
}
.protection-demo-head strong {
  color: var(--demo-ink);
  font-size: .89rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.protection-simulation {
  flex: none;
  color: var(--demo-sim-ink);
  background: var(--demo-sim-bg);
  font-size: .82rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
}
.protection-summary h3 {
  font: 700 clamp(1.3rem, 2.25vw, 1.8rem)/1.18 var(--sans);
  margin-bottom: 7px;
}
.protection-summary p, .protection-panel p, .protection-demo-note { color: var(--demo-muted); }
.protection-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(6px, 1vw, 12px);
  margin: 27px 0 21px;
}
.protection-tabs button {
  position: relative;
  min-height: 44px;
  padding: 6px 5px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--demo-ink);
  background: transparent;
  border: 1px solid var(--demo-rule);
  border-radius: 99px;
}
.protection-tabs button::before {
  content: "";
  position: absolute;
  inset: -12px -1px auto;
  height: 3px;
  border-radius: 99px;
  background: var(--demo-rule);
}
.protection-tabs button[data-reached]::before { background: var(--demo-gold); }
.protection-tabs button:hover { border-color: var(--demo-gold); }
.protection-tabs button[aria-selected="true"] {
  background: var(--demo-selected);
  color: var(--demo-selected-ink);
  border-color: var(--demo-selected);
}
.protection-tabs button:focus-visible, .protection-panel:focus-visible {
  outline: 2px solid var(--demo-gold);
  outline-offset: 4px;
}
.protection-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(16px, 3.7vw, 48px);
}
.protection-panel img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 7px;
  background: var(--demo-rule);
}
.protection-caption { max-width: 33ch; }
.protection-panel svg {
  width: 28px;
  height: 28px;
  margin-bottom: 11px;
  stroke: var(--demo-gold);
  stroke-width: 1.45;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.protection-panel h4 {
  margin: 0 0 5px;
  font: 700 clamp(1.03rem, 1.8vw, 1.25rem)/1.25 var(--sans);
}
.protection-demo-note {
  margin: 16px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--demo-rule);
  font-size: .82rem;
}
@media (max-width: 660px) {
  .protection-panel { grid-template-columns: 1fr; }
  .protection-caption { max-width: none; }
  .protection-panel svg { margin-bottom: 6px; }
}
