.rra-safe-wrap {
  background: #f5f5f5;
  color: #333333;
  font-family: Arial, sans-serif;
  margin: 0 auto;
  max-width: 980px;
  padding: 28px;
}

.rra-safe-hero,
.rra-safe-form,
.rra-safe-answer,
.rra-safe-notice,
.rra-safe-next {
  border-radius: 8px;
}

.rra-safe-logo-wrap {
  align-items: center;
  background: #ffffff;
  border: 1px solid #e2e5e8;
  box-shadow: 0 10px 24px rgba(51, 51, 51, 0.06);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  padding: 20px;
}

.rra-safe-logo {
  display: block;
  height: auto;
  max-height: 120px;
  max-width: min(100%, 420px);
}

.rra-safe-hero {
  align-items: center;
  background: #3d99ce;
  color: #ffffff;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) 220px;
  margin-bottom: 16px;
  overflow: hidden;
  padding: 30px;
}

.rra-safe-kicker {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.rra-safe-hero h2 {
  color: #ffffff;
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 10px;
}

.rra-safe-hero p:last-child {
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}

.rra-safe-hero-badge {
  background: #ffffff;
  border-radius: 8px;
  color: #333333;
  padding: 18px;
}

.rra-safe-hero-badge span {
  color: #3d99ce;
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.rra-safe-hero-badge strong {
  display: block;
  font-size: 18px;
  line-height: 1.25;
}

.rra-safe-steps {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
}

.rra-safe-steps div {
  background: #ffffff;
  border: 1px solid #e2e5e8;
  border-radius: 8px;
  padding: 18px;
}

.rra-safe-steps span {
  align-items: center;
  background: #f26522;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  height: 28px;
  justify-content: center;
  margin-bottom: 12px;
  width: 28px;
}

.rra-safe-steps h3,
.rra-safe-next h3 {
  color: #333333;
  font-size: 18px;
  line-height: 1.25;
  margin: 0 0 8px;
}

.rra-safe-steps p,
.rra-safe-next p {
  line-height: 1.5;
  margin: 0;
}

.rra-safe-form,
.rra-safe-prompts,
.rra-safe-answer,
.rra-safe-next {
  background: #ffffff;
  border: 1px solid #e2e5e8;
  box-shadow: 0 10px 24px rgba(51, 51, 51, 0.05);
  margin-bottom: 16px;
  padding: 22px;
}

.rra-safe-answer-featured {
  border: 2px solid #3d99ce;
  box-shadow: 0 16px 36px rgba(61, 153, 206, 0.18);
  margin-bottom: 18px;
  position: relative;
}

.rra-safe-answer-featured:focus {
  outline: 3px solid rgba(242, 101, 34, 0.3);
  outline-offset: 3px;
}

.rra-safe-answer-featured h3 {
  color: #333333;
  font-size: 26px;
  line-height: 1.2;
  margin: 8px 0 12px;
}

.rra-safe-answer-featured p {
  font-size: 16px;
  line-height: 1.6;
}

.rra-safe-answer-body {
  color: #333333;
}

.rra-safe-answer-body p {
  margin: 0 0 14px;
}

.rra-safe-answer-body strong,
.rra-safe-answer-heading {
  font-weight: 800;
}

.rra-safe-answer-heading {
  color: #3d99ce;
  display: inline-block;
  margin-bottom: 2px;
}

.rra-safe-next-step {
  background: #fff1ea;
  border: 1px solid rgba(242, 101, 34, 0.25);
  border-radius: 8px;
  line-height: 1.5;
  margin-top: 14px;
  padding: 14px;
}

.rra-safe-next-step strong {
  color: #333333;
}

.rra-safe-prompts h3 {
  margin-top: 0;
}

.rra-safe-question-first {
  background: #eaf5fb;
  border: 1px solid rgba(61, 153, 206, 0.25);
  border-radius: 8px;
  margin-bottom: 16px;
  padding: 16px;
}

.rra-safe-question-first span {
  color: #3d99ce;
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.rra-safe-question-first h3 {
  color: #333333;
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 8px;
}

.rra-safe-question-first p {
  line-height: 1.5;
  margin: 0;
}

.rra-safe-prompts ul {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rra-safe-prompts li {
  background: #f5f5f5;
  border-left: 4px solid #3d99ce;
  border-radius: 8px;
  font-weight: 700;
  padding: 12px;
}

.rra-safe-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

.rra-safe-hidden-field {
  height: 0;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  width: 0;
}

.rra-safe-form textarea,
.rra-safe-form input,
.rra-safe-form select,
.rra-safe-project-panel input {
  border: 1px solid #e2e5e8;
  border-radius: 8px;
  box-sizing: border-box;
  font: inherit;
  margin-top: 6px;
  padding: 12px;
  width: 100%;
}

.rra-safe-form textarea:focus,
.rra-safe-form input:focus,
.rra-safe-form select:focus,
.rra-safe-project-panel input:focus {
  border-color: #3d99ce;
  box-shadow: 0 0 0 3px rgba(61, 153, 206, 0.18);
  outline: none;
}

.rra-safe-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 16px 0;
}

.rra-safe-consent {
  align-items: flex-start;
  display: flex !important;
  font-size: 14px;
  font-weight: 600 !important;
  gap: 10px;
  line-height: 1.45;
  margin: 0 0 16px !important;
}

.rra-safe-consent input {
  flex: 0 0 auto;
  margin-top: 3px;
  width: auto;
}

.rra-safe-project-request {
  background: #eaf5fb;
  border: 1px solid rgba(61, 153, 206, 0.25);
  border-radius: 8px;
  padding: 12px;
}

.rra-safe-project-panel {
  background: #f5f5f5;
  border: 1px solid #e2e5e8;
  border-radius: 8px;
  margin-top: 16px;
  padding: 18px;
}

.rra-safe-project-panel h4 {
  color: #333333;
  font-size: 20px;
  line-height: 1.25;
  margin: 0 0 8px;
}

.rra-safe-project-panel p {
  margin: 0 0 14px;
}

.rra-safe-project-panel label {
  display: block;
  font-weight: 700;
  margin-bottom: 12px;
}

.rra-safe-project-panel .rra-safe-consent input {
  width: auto;
}

.rra-safe-form button,
.rra-safe-button {
  background: #f26522;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  font-weight: 700;
  min-height: 46px;
  padding: 12px 18px;
  text-decoration: none;
}

.rra-safe-button-blue {
  background: #3d99ce;
}

.rra-safe-form button:hover,
.rra-safe-button:hover {
  background: #d95618;
  color: #ffffff;
}

.rra-safe-button-blue:hover {
  background: #2f7fab;
}

.rra-safe-helper,
.rra-safe-notice,
.rra-safe-optional-note {
  font-size: 13px;
  line-height: 1.5;
}

.rra-safe-optional-note {
  background: #eaf5fb;
  border-left: 4px solid #3d99ce;
  border-radius: 8px;
  color: #333333;
  margin: 12px 0 16px;
  padding: 12px;
}

.rra-safe-error,
.rra-safe-success,
.rra-safe-notice {
  padding: 12px;
}

.rra-safe-error,
.rra-safe-notice {
  background: #fff1ea;
  border-left: 4px solid #f26522;
}

.rra-safe-success {
  background: #eaf5fb;
  border-left: 4px solid #3d99ce;
  font-size: 14px;
  line-height: 1.5;
}

.rra-safe-category {
  background: #eaf5fb;
  border-radius: 6px;
  color: #3d99ce;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 9px;
}

.rra-safe-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.rra-safe-link {
  color: #333333;
  font-weight: 700;
}

.rra-safe-footer {
  align-items: flex-start;
  background: #333333;
  border-radius: 8px;
  color: #ffffff;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.8fr);
  margin-top: 16px;
  padding: 22px;
}

.rra-safe-footer h3 {
  color: #ffffff;
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 6px;
}

.rra-safe-footer p {
  color: #ffffff;
  line-height: 1.5;
  margin: 0;
}

.rra-safe-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.rra-safe-footer-links a {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #ffffff;
  font-weight: 700;
  padding: 9px 11px;
  text-decoration: none;
}

.rra-safe-footer-links a:hover {
  background: #3d99ce;
  color: #ffffff;
}

@media (max-width: 700px) {
  .rra-safe-wrap {
    padding: 16px;
  }

  .rra-safe-hero,
  .rra-safe-steps {
    grid-template-columns: 1fr;
  }

  .rra-safe-hero {
    padding: 22px;
  }

  .rra-safe-hero h2 {
    font-size: 28px;
  }

  .rra-safe-grid {
    grid-template-columns: 1fr;
  }

  .rra-safe-footer {
    grid-template-columns: 1fr;
  }

  .rra-safe-footer-links {
    justify-content: flex-start;
  }
}
