.instant-sermon-quiz-page {
  background: #fffaf0;
  color: #021023;
  font-family: "Satoshi", sans-serif;
}

.instant-sermon-quiz-page main {
  overflow: hidden;
}

.sr-hero {
  background:
    radial-gradient(circle at 14% 18%, rgba(236, 190, 9, 0.2), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(5, 92, 90, 0.14), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fff7df 100%);
  padding: 72px 0 88px;
  position: relative;
}

.sr-hero::after {
  background: rgba(5, 92, 90, 0.08);
  border-radius: 999px;
  content: "";
  height: 340px;
  position: absolute;
  right: -170px;
  top: 120px;
  width: 340px;
}

.sr-hero__grid,
.sr-preview-grid {
  display: grid;
  gap: 52px;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  position: relative;
  z-index: 1;
}

.sr-hero__grid {
  align-items: center;
}

.sr-eyebrow {
  color: #055c5a;
  font-family: "Tomatoes", cursive;
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 18px;
}

.sr-hero h1 {
  color: #021023;
  font-family: "Satoshi", sans-serif;
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.98;
  margin: 0;
  max-width: 900px;
  text-wrap: balance;
}

.sr-hero__lead {
  color: rgba(2, 16, 35, 0.76);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.48;
  margin: 28px 0 0;
  max-width: 760px;
}

.sr-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.sr-proof-row span {
  background: rgba(5, 92, 90, 0.1);
  border: 1px solid rgba(5, 92, 90, 0.14);
  border-radius: 999px;
  color: #055c5a;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 16px;
}

.sr-form-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(5, 92, 90, 0.13);
  border-radius: 34px;
  box-shadow: 0 28px 80px rgba(5, 92, 90, 0.17);
  padding: clamp(24px, 4vw, 38px);
  position: relative;
}

.sr-form-card::before {
  background: linear-gradient(103deg, #6d5700 -11.41%, #ecbe09 93.24%);
  border-radius: 999px;
  content: "";
  height: 8px;
  left: 34px;
  position: absolute;
  right: 34px;
  top: 0;
  transform: translateY(-50%);
}

.sr-form-card__header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.sr-form-card__header span {
  color: #055c5a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sr-form-card__header strong {
  color: #021023;
  font-size: 24px;
  line-height: 1.18;
}

/* Splash-style URL row (scoped; do not load splash.css — it scales the whole page body) */
.sr-form-card .sr-hero-form {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin: 0;
  max-width: none;
  padding: 0;
  width: 100%;
}

.sr-form-card .sr-hero-form .input-group {
  align-items: stretch;
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.sr-form-card .sr-hero-form .input-group input {
  background: #fff;
  border: 2px solid #168785;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(22, 135, 133, 0.2);
  color: #1e1e1e;
  flex: 1;
  font-family: "Satoshi", sans-serif;
  font-size: 18px;
  outline: none;
  padding: 14px 21px;
  transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.sr-form-card .sr-hero-form .input-group input:focus {
  background: #fff;
  border-color: #168785;
  box-shadow: 0 0 0 4px rgba(22, 135, 133, 0.15);
}

.sr-form-card .sr-hero-form .input-group input::placeholder {
  color: #717171;
  font-weight: 400;
}

.sr-form-card .sr-hero-form .input-group input.is-invalid {
  border-color: #b42318;
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.12);
}

.sr-form-card .sr-hero-form .submit-btn {
  background: linear-gradient(103deg, #6d5700 -11.41%, #ecbe09 93.24%);
  border: 1px solid #fff;
  border-radius: 50px;
  box-shadow: 0 21px 46.1px 0 rgba(22, 135, 133, 0.5);
  color: #fff;
  cursor: pointer;
  font-family: "Satoshi", sans-serif;
  font-size: 22px;
  font-weight: 400;
  padding: 14px 21px;
  text-transform: capitalize;
  transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
  white-space: nowrap;
}

.sr-form-card .sr-hero-form .submit-btn:hover:not(:disabled) {
  background: linear-gradient(103deg, #7d6800 -11.41%, #fccf19 93.24%);
  box-shadow: 0 25px 50px 0 rgba(22, 135, 133, 0.6);
  transform: translateY(-2px);
}

.sr-form-card .sr-hero-form .submit-btn:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.sr-form-card .sr-hero-form .sr-hero-form-note {
  color: #1e1e1e;
  margin: 0.5rem 0 0;
  text-align: center;
}

.sr-field-error--url {
  margin-top: 10px;
}

.sr-form-step[hidden] {
  display: none !important;
}

.sr-field,
.sr-field-grid {
  margin-bottom: 18px;
}

.sr-field-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

/* Avoid double spacing: grid already has margin-bottom; inner fields must not add more */
.sr-field-grid .sr-field {
  margin-bottom: 0;
}

.sr-field label {
  color: #021023;
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.sr-required {
  color: #b42318;
  font-weight: 700;
}

.sr-field input {
  background: #fff;
  border: 1px solid rgba(2, 16, 35, 0.18);
  border-radius: 18px;
  color: #021023;
  font: inherit;
  font-size: 17px;
  outline: none;
  padding: 16px 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.sr-field input:focus {
  border-color: #055c5a;
  box-shadow: 0 0 0 4px rgba(5, 92, 90, 0.12);
}

.sr-field input.is-invalid {
  border-color: #b42318;
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.08);
}

.sr-field-error {
  color: #b42318;
  display: none;
  font-size: 13px;
  font-weight: 700;
  margin: 7px 0 0;
}

.sr-field-error.is-visible {
  display: block;
}

.sr-alert {
  border-radius: 16px;
  display: none;
  font-size: 15px;
  line-height: 1.45;
  margin: 0 0 16px;
  padding: 14px 16px;
}

.sr-alert.is-visible {
  display: block;
}

.sr-alert--error {
  background: #fff0ed;
  border: 1px solid rgba(180, 35, 24, 0.18);
  color: #b42318;
}

.sr-alert--success {
  background: rgba(5, 92, 90, 0.1);
  border: 1px solid rgba(5, 92, 90, 0.18);
  color: #055c5a;
}

.sr-alert--success strong {
  display: block;
}

.sr-submit {
  align-items: center;
  background: #055c5a;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 21px 46px rgba(22, 135, 133, 0.35);
  color: #fff;
  cursor: pointer;
  display: flex;
  font-family: "Satoshi", sans-serif;
  font-size: 20px;
  font-weight: 700;
  justify-content: center;
  min-height: 60px;
  padding: 16px 24px;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.sr-submit:hover:not(:disabled) {
  background: #021023;
  box-shadow: 0 18px 34px rgba(2, 16, 35, 0.22);
  transform: translateY(-1px);
}

.sr-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.sr-form-note {
  color: rgba(2, 16, 35, 0.58);
  font-size: 13px;
  line-height: 1.45;
  margin: 14px 0 0;
  text-align: center;
}

.sr-preview-section {
  background: #055c5a;
  color: #fff;
  padding: 88px 0;
}

.sr-preview-section .sr-eyebrow {
  color: #ecbe09;
}

.sr-preview-section h2,
.sr-steps h2 {
  font-family: "Satoshi", sans-serif;
  font-size: clamp(40px, 4.6vw, 68px);
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0 0 22px;
  text-wrap: balance;
}

.sr-preview-section p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.58;
  margin: 0;
}

.sr-quiz-preview {
  background: #fffaf0;
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
  color: #021023;
  padding: 28px;
}

.sr-quiz-preview__top {
  color: rgba(2, 16, 35, 0.56);
  display: flex;
  font-size: 13px;
  font-weight: 800;
  justify-content: space-between;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.sr-quiz-preview h3 {
  font-family: "Satoshi", sans-serif;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.16;
  margin: 0 0 20px;
}

.sr-quiz-preview ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sr-quiz-preview li {
  background: #fff;
  border: 1px solid rgba(2, 16, 35, 0.12);
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 16px;
}

.sr-quiz-preview li.is-correct {
  background: rgba(5, 92, 90, 0.1);
  border-color: rgba(5, 92, 90, 0.32);
  color: #055c5a;
}

.sr-quiz-result {
  background: linear-gradient(103deg, #6d5700 -11.41%, #ecbe09 93.24%);
  border-radius: 18px;
  color: #fff;
  font-weight: 800;
  margin-top: 18px;
  padding: 16px;
}

.sr-steps {
  background: #fffaf0;
  padding: 88px 0 104px;
}

.sr-section-heading {
  margin: 0 auto 36px;
  max-width: 860px;
  text-align: center;
}

.sr-section-heading .sr-eyebrow {
  margin-bottom: 14px;
}

.sr-step-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}

.sr-step-grid article {
  background: #fff;
  border: 1px solid rgba(5, 92, 90, 0.12);
  border-radius: 30px;
  box-shadow: 0 16px 46px rgba(5, 92, 90, 0.08);
  padding: 30px;
}

.sr-step-grid span {
  color: #ecbe09;
  display: block;
  font-family: "Chillax", sans-serif;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 16px;
}

.sr-step-grid h3 {
  color: #021023;
  font-size: 25px;
  line-height: 1.18;
  margin: 0 0 12px;
}

.sr-step-grid p {
  color: rgba(2, 16, 35, 0.68);
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 1100px) {
  .sr-hero__grid,
  .sr-preview-grid {
    grid-template-columns: 1fr;
  }

  .sr-hero__copy {
    text-align: center;
  }

  .sr-proof-row {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .sr-hero {
    padding: 44px 0 62px;
  }

  .sr-field-grid,
  .sr-step-grid {
    grid-template-columns: 1fr;
  }

  .sr-form-card {
    border-radius: 24px;
  }

  .sr-form-card .sr-hero-form .input-group {
    flex-direction: column;
    gap: 1rem;
  }

  .sr-form-card .sr-hero-form .input-group input {
    font-size: 16px;
    padding: 12px 18px;
    width: 100%;
  }

  .sr-form-card .sr-hero-form .submit-btn {
    border-radius: 50px !important;
    font-size: 18px;
    padding: 12px 18px;
    width: 100%;
  }

  .sr-preview-section,
  .sr-steps {
    padding: 62px 0;
  }

  .isq-footer__grid {
    gap: 36px;
    grid-template-columns: 1fr;
  }

  .isq-footer__nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .isq-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

/* —— Page footer (scoped; overrides global ministry-style `footer` rules) —— */
.instant-sermon-quiz-page footer.isq-footer {
  position: relative;
  margin-top: 0;
  padding: 0 0 40px;
  background:
    radial-gradient(ellipse 90% 80% at 50% 0%, rgba(236, 190, 9, 0.12), transparent 55%),
    linear-gradient(180deg, #043d3c 0%, #021023 72%);
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
}

.instant-sermon-quiz-page footer.isq-footer .isq-footer__heading {
  text-align: left;
}

.instant-sermon-quiz-page footer.isq-footer .isq-footer__lede,
.instant-sermon-quiz-page footer.isq-footer .isq-footer__fine-print,
.instant-sermon-quiz-page footer.isq-footer .isq-footer__copyright {
  text-align: left;
}

.isq-footer__accent {
  height: 5px;
  background: linear-gradient(103deg, #6d5700 -11.41%, #ecbe09 93.24%);
  width: 100%;
}

.isq-footer .container {
  padding-top: 52px;
  padding-bottom: 8px;
}

.isq-footer__grid {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  align-items: start;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.isq-footer__heading {
  font-family: "Chillax", sans-serif;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 14px;
  color: #fff;
}

.isq-footer__lede {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
}

.isq-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: "Satoshi", sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  color: #021023;
  background: linear-gradient(103deg, #6d5700 -11.41%, #ecbe09 93.24%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.isq-footer__cta:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.isq-footer__links-label {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(236, 190, 9, 0.95);
}

.isq-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 22px;
}

.isq-footer__nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.isq-footer__nav a:hover {
  color: #ecbe09;
  border-bottom-color: rgba(236, 190, 9, 0.5);
}

.isq-footer__fine-print {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.52);
  max-width: 340px;
}

.isq-footer__fine-print a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.isq-footer__fine-print a:hover {
  color: #ecbe09;
}

.isq-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
}

.isq-footer__logo-link {
  display: inline-flex;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.isq-footer__logo-link:hover {
  opacity: 1;
}

.isq-footer__logo-link img {
  display: block;
  height: 36px;
  width: auto;
}

.isq-footer__copyright {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.isq-footer__copyright a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  text-decoration: none;
}

.isq-footer__copyright a:hover {
  color: #ecbe09;
}
