/* SkillCert-branded screens (landing, general instructions, notices). Palette: reference/brand/README.md
   (Primary dark #564C85, darker #3F3861, lightest #EDECF4; Neutral; Alert; Success). */
body.sc { background: #F4F3F9; color: #141414; }
.sc-page { max-width: 760px; margin: 0 auto; padding: 32px 20px 48px; }
.sc-brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.sc-brand img { width: 160px; height: auto; }
.sc-brand-note { color: #4D4D4D; font-size: 13px; }
.sc-card { background: #fff; border-radius: 14px; box-shadow: 0 1px 3px rgba(31,28,49,.08), 0 8px 24px rgba(31,28,49,.06); padding: 32px 36px; }
.sc-eyebrow { margin: 0; color: #564C85; font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.sc-card h1 { margin: 4px 0 10px; font-size: 30px; line-height: 1.2; color: #1F1C31; font-weight: 700; }
.sc-card h2 { font-size: 20px; color: #1F1C31; margin: 0 0 8px; }
.sc-lead { font-size: 16px; color: #4D4D4D; margin: 0 0 18px; }
.sc-facts { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.sc-facts li { background: #EDECF4; border-radius: 8px; padding: 10px 14px; font-size: 14px; }
.sc-facts strong { color: #3F3861; }
.sc-form fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.sc-form legend { font-weight: 700; font-size: 16px; color: #1F1C31; margin-bottom: 10px; padding: 0; }
.sc-types { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.sc-type { display: flex; gap: 10px; align-items: flex-start; border: 2px solid #D8D5E7; border-radius: 10px; padding: 12px; cursor: pointer; font-size: 14px; }
.sc-type:has(input:checked) { border-color: #564C85; background: #EDECF4; }
.sc-type input { margin-top: 3px; accent-color: #564C85; }
.sc-type strong { display: block; font-size: 16px; color: #1F1C31; }
.sc-label { display: block; font-weight: 500; margin: 8px 0 4px; font-size: 14px; }
.sc-input { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #B5B5B5; border-radius: 8px; background: #fff; }
.sc-input:focus { border-color: #564C85; }
.sc-hint { color: #4D4D4D; font-size: 13px; margin: 6px 0 0; }
.sc-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sc-privacy { font-size: 13px; color: #4D4D4D; }
.sc-error { background: #FFE0E0; color: #990000; border-radius: 8px; padding: 10px 14px; font-size: 14px; }
.sc-button {
  background: #564C85; color: #fff; border: 0; border-radius: 999px; padding: 12px 34px;
  font-size: 16px; font-weight: 500; min-width: 150px;
}
.sc-button:hover:not(:disabled) { background: #3F3861; }
.sc-button:disabled { opacity: .6; }
.sc-button-secondary { background: #fff; color: #564C85; border: 2px solid #564C85; }
.sc-button-secondary:hover:not(:disabled) { background: #EDECF4; }
.sc-sent { outline: none; }
.sc-footer { text-align: center; color: #4D4D4D; font-size: 13px; margin-top: 22px; }
.sc-footer p { margin: 4px 0; }
.sc-footer a, .sc-card a { color: #564C85; }
.sc-powered { text-align: center; margin-top: 18px; color: #696969; font-size: 11px; }
.sc-powered img { display: block; margin: 2px auto 0; width: 86px; }

/* General instructions screen (as the SkillCert pre-test page) */
.sc-instructions { list-style: none; padding: 0; margin: 12px 0 8px; display: grid; gap: 14px; }
.sc-instructions li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.sc-instructions svg { width: 26px; height: 26px; color: #8B4683; }
.sc-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.sc-centered { text-align: center; }

/* Privacy notice */
.sc-doc h2 { margin-top: 26px; font-size: 18px; }
.sc-doc table { border-collapse: collapse; width: 100%; font-size: 14px; margin: 8px 0; }
.sc-doc th, .sc-doc td { border: 1px solid #D8D5E7; padding: 8px 10px; text-align: left; vertical-align: top; }
.sc-doc th { background: #EDECF4; }

@media (max-width: 640px) {
  .sc-card { padding: 24px 18px; }
  .sc-types { grid-template-columns: 1fr; }
}
