/* The Remediate Now funnel's own content (cards, form fields, the side panel).
 * The header, footer, navy band and buttons come from marketing_site.css.
 * Scoped to .rn-page (the <main> in layouts/remediate_now). */

.rn-page { font-size: 1rem; }
.rn-page a:not(.btn):not(.ms-btn-primary) { color: var(--ms-brand); }
.rn-page .link { color: var(--ms-brand); text-underline-offset: 3px; }

/* Two columns on the start page: the steps card and the side panel */
.rn-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }

.rn-card {
  background: #fff; border: 1px solid var(--ms-border); border-radius: var(--ms-radius);
  box-shadow: var(--ms-shadow); padding: clamp(24px, 4vw, 40px);
}
.rn-card h2 {
  margin: 0 0 8px; color: var(--ms-ink);
  font-size: 1.35rem; font-weight: 700; line-height: 1.3; letter-spacing: -.02em;
}
.rn-card p { color: var(--ms-ink-soft); }
.rn-card section + section { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--ms-border); }

.rn-eyebrow {
  display: block; margin-bottom: 6px; color: var(--ms-brand);
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}

/* Form fields */
.rn-page label { color: var(--ms-ink); font-size: .9rem; font-weight: 600; }
.rn-page :is(.input, .file-input) {
  min-height: 48px; border: 1px solid var(--ms-border); border-radius: var(--ms-radius-sm);
  background: #fff; color: var(--ms-ink); font-size: 1rem;
}
.rn-page .input { padding: 10px 14px; }
.rn-page :is(.input, .file-input):focus {
  outline: none; border-color: var(--ms-brand); box-shadow: 0 0 0 3px rgb(35 58 196 / 18%);
}
.rn-page .file-input::file-selector-button {
  min-height: 46px; border: 0; border-right: 1px solid var(--ms-border);
  background: var(--ms-brand-light); color: var(--ms-brand-dark);
  font-weight: 700; text-transform: none;
}
.rn-page .alert { border-radius: var(--ms-radius-sm); }
.rn-page progress.progress { height: 10px; color: var(--ms-brand); }

/* Side panel */
.rn-aside { display: grid; gap: 20px; }
.rn-aside .rn-card { padding: 28px; }
.rn-aside h2 { font-size: 1.1rem; }
.rn-checklist { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.rn-checklist li {
  position: relative; padding-left: 30px; color: var(--ms-ink-soft); font-size: .92rem; line-height: 1.55;
}
.rn-checklist li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 999px;
  background: var(--ms-brand-light) no-repeat center / 12px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23233ac4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.rn-aside-navy {
  border-radius: var(--ms-radius); padding: 28px; color: #fff;
  background: radial-gradient(ellipse at 90% 10%, #203574 0%, transparent 60%), var(--ms-navy);
}
.rn-aside-navy h2 { margin: 0 0 8px; color: #fff; font-size: 1.1rem; font-weight: 700; }
.rn-aside-navy p { margin: 0 0 16px; color: rgb(255 255 255 / 80%); font-size: .92rem; line-height: 1.6; }

@media (max-width: 900px) {
  .rn-grid { grid-template-columns: 1fr; }
}
.marketing-site .rn-aside-navy .ms-btn-primary { width: 100%; white-space: normal; text-align: center; }
