.encryption-teaser,
.encryption-hero {
  background: #eaf4f9;
  color: #0c2444;
}

.encryption-teaser { padding-block: 0.875rem; }
.encryption-hero { padding-block: clamp(2.75rem, 7vw, 6rem); }

.encryption-teaser-grid,
.encryption-hero-grid,
.encryption-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4.5rem);
}

.encryption-teaser-grid { gap: 0.75rem clamp(1rem, 3vw, 2.5rem); }

.encryption-hero h1,
.encryption-check-page h2 {
  margin: 0 0 0.75rem;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.encryption-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 12ch; }
.encryption-check-page h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); }

.encryption-kicker {
  margin: 0 0 0.55rem;
  color: #145d82;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.035em;
}

.encryption-teaser-heading { display: flex; align-items: center; gap: 0.5rem; }

.encryption-teaser h2 {
  margin: 0;
  max-width: none;
  font: 800 clamp(1rem, 1.5vw, 1.25rem)/1.2 system-ui, sans-serif;
  letter-spacing: normal;
}

.encryption-teaser-note { margin: 0.25rem 0 0; font-size: 0.875rem; line-height: 1.4; }

.encryption-teaser-alert {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 1.25em;
  height: 1.25em;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: #fff0d3;
  color: #8e4313;
  line-height: 1;
}

.encryption-intro { font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.6; }
.encryption-hero p:last-child { margin-bottom: 0; }

.encryption-card {
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid #cbdbe7;
  border-radius: 1rem;
  background: white;
  box-shadow: 0 12px 32px rgb(15 40 73 / 8%);
}

.encryption-form label,
.encryption-message label {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 800;
}

.encryption-form input,
.encryption-message textarea {
  width: 100%;
  min-width: 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid #7890a3;
  border-radius: 0.5rem;
  background: #fff;
  color: #0c2444;
  font: inherit;
}

.encryption-form input::placeholder { color: #50697c; opacity: 1; }
.encryption-form p { margin: 0.55rem 0 1rem; font-size: 0.9rem; }

.encryption-form-inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
}

.encryption-button.button {
  min-height: 3rem;
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #123d65;
  background: #123d65;
  color: #fff;
  font: inherit;
  font-weight: 800;
  white-space: normal;
  line-height: 1.25;
  text-align: center;
}
.encryption-button.button:hover { background: #195780; border-color: #195780; }
.encryption-form-inline :is(input, .encryption-button.button) { min-height: 2.75rem; padding: 0.4rem 0.65rem; }
.encryption-form-inline .encryption-button.button { font-size: 0.875rem; }
.encryption-button.button:disabled,
.encryption-secondary:disabled { cursor: wait; opacity: 0.65; }

.encryption-check-page a:focus-visible,
.encryption-form :is(input, button):focus-visible,
.encryption-check-page :is(button, textarea):focus-visible {
  outline: 3px solid #1b6ba8;
  outline-offset: 3px;
}

.encryption-progress { margin: 1.25rem 0 0; font-weight: 700; }
.encryption-progress:empty { margin: 0; }
.encryption-result { margin-top: 1.75rem; border-top-width: 5px; }
#encryption-verdict { scroll-margin-top: 7rem; }
.encryption-result[data-status="update-needed"] { border-top-color: #b05011; }
.encryption-result[data-status="no-update-needed"] { border-top-color: #237951; }
.encryption-result[data-status="could-not-verify"] { border-top-color: #60738a; }

.encryption-evidence {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 0.8rem 1.5rem;
  margin: 1.25rem 0;
  padding: 1rem;
  border-radius: 0.5rem;
  background: #f2f7fa;
}
.encryption-evidence dt { font-weight: 800; }
.encryption-evidence dd { margin: 0.2rem 0 0; overflow-wrap: anywhere; }
.encryption-evidence ul { margin: 0; padding-left: 1.2rem; }
.encryption-message { margin-bottom: 1.25rem; }
.encryption-message textarea { display: block; margin-bottom: 0.6rem; resize: vertical; }
.encryption-result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.2rem; }

.encryption-secondary {
  min-height: 2.75rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid #7890a3;
  border-radius: 0.5rem;
  background: white;
  color: #123d65;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.encryption-secondary:hover { background: #eaf4f9; }

.encryption-info-grid {
  align-items: start;
  padding-block: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1.65;
}
.encryption-info-grid a:not(.button),
.encryption-result-actions a { color: #145d82; text-decoration: underline; text-underline-offset: 0.18em; }
.encryption-help { scroll-margin-top: 7rem; background: #f2f7fa; }
.encryption-help .button { margin-top: 0.35rem; }

@media (max-width: 48rem) {
  .encryption-teaser-grid,
  .encryption-hero-grid,
  .encryption-info-grid { grid-template-columns: minmax(0, 1fr); }
  .encryption-teaser-heading { justify-content: center; }
  .encryption-teaser h2,
  .encryption-teaser-note { text-align: center; }
}

@media (max-width: 22rem) {
  .encryption-form-inline { grid-template-columns: minmax(0, 1fr); }
}
