:root {
  --color-ink: #17233c;
  --color-ink-soft: #2b3650;
  --color-muted: #756a5d;
  --color-subtle: #998c7c;
  --color-bg: #f6f0e7;
  --color-bg-soft: #f1eadf;
  --color-paper: #fffdf8;
  --color-paper-warm: #fbf7ef;
  --color-line: #e6dac8;
  --color-line-strong: #d8c8aa;
  --color-gold: #c3a35a;
  --color-gold-soft: #f0e3c4;
  --color-wine: #88333d;
  --color-wine-soft: #f4e7e6;
  --color-navy: #192845;
  --color-navy-hover: #22395e;
  --shadow-soft: 0 18px 50px rgba(55, 43, 25, 0.08);
  --shadow-lifted: 0 24px 70px rgba(55, 43, 25, 0.13);
  --radius: 8px;
  --font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  font-size: 16px;
  min-height: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--color-ink);
  background: var(--color-bg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.92) 0%, rgba(246, 240, 231, 0.9) 38%, rgba(246, 240, 231, 1) 100%),
    repeating-linear-gradient(90deg, rgba(195, 163, 90, 0.035) 0, rgba(195, 163, 90, 0.035) 1px, transparent 1px, transparent 84px);
}

a {
  color: var(--color-wine);
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

a:hover {
  color: var(--color-navy);
}

img,
svg {
  display: block;
}

.container {
  max-width: 1180px;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 14px;
  color: var(--color-paper);
  background: var(--color-navy);
  border-radius: var(--radius);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(206, 173, 112, 0.38);
  box-shadow: 0 14px 44px rgba(52, 38, 17, 0.04);
  backdrop-filter: blur(20px);
}

.site-navbar {
  min-height: 112px;
  padding: 0;
}

.site-header .container {
  max-width: 1480px;
}

.site-nav-container {
  gap: 32px;
}

.brand-lockup {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  min-width: max-content;
  color: var(--color-ink);
}

.brand-lockup:hover {
  color: var(--color-ink);
}

.brand-logo-mark {
  position: relative;
  display: inline-block;
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  overflow: hidden;
}

.brand-logo-mark img {
  position: absolute;
  top: 0;
  left: -28px;
  width: 126px;
  max-width: none;
  height: auto;
}

.brand-medal {
  display: inline-flex;
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  align-items: center;
  justify-content: center;
  color: #c3943f;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 249, 235, 0.96) 0 45%, rgba(247, 236, 214, 0.9) 100%);
  border: 1.4px solid #c3943f;
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(139, 96, 31, 0.12);
}

.brand-medal svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-medal circle {
  stroke-width: 1.35;
}

.brand-symbol {
  position: relative;
  display: inline-flex;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 253, 248, 0.8);
  border: 1px solid var(--color-line-strong);
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(95, 72, 30, 0.08);
}

.brand-symbol::before,
.brand-symbol::after {
  position: absolute;
  content: "";
  background: var(--color-navy);
  border-radius: 999px;
}

.brand-symbol::before {
  width: 16px;
  height: 3px;
}

.brand-symbol::after {
  width: 3px;
  height: 16px;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-ink);
  letter-spacing: 0;
}

.site-header .brand-name {
  font-size: 2.12rem;
  font-weight: 600;
}

.brand-subtitle {
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-muted);
  letter-spacing: 0;
}

.site-header .brand-subtitle {
  font-size: 1.08rem;
  color: #70665d;
}

.site-navbar-collapse {
  align-items: center;
}

.site-nav-list {
  gap: 28px;
}

.navbar .nav-link {
  position: relative;
  padding: 10px 2px 14px;
  color: var(--color-ink);
  font-size: 1.06rem;
  font-weight: 500;
  letter-spacing: 0;
}

.navbar .nav-link::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  content: "";
  background: #c3943f;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--color-wine);
}

.navbar .nav-link:hover::after,
.navbar .nav-link:focus::after {
  transform: scaleX(1);
}

.support-nav-button,
.card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 22px;
  color: var(--color-ink);
  font-weight: 700;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(95, 72, 30, 0.06);
}

.support-nav-button {
  min-width: 164px;
  min-height: 66px;
  padding: 17px 30px;
  color: var(--color-ink);
  font-family: inherit;
  font-size: 1.06rem;
  background: rgba(255, 253, 248, 0.82);
  border-color: #c3943f;
  box-shadow: 0 18px 42px rgba(139, 96, 31, 0.09);
  cursor: pointer;
}

.site-nav-actions,
.auth-nav-actions,
.account-nav-card {
  display: inline-flex;
  align-items: center;
}

.site-nav-actions {
  gap: 14px;
}

.language-switcher {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  color: var(--color-subtle);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid rgba(216, 200, 170, 0.82);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(95, 72, 30, 0.05);
}

.language-switcher-link {
  display: inline-flex;
  min-width: 30px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  line-height: 1;
  text-decoration: none;
  border-radius: 999px;
}

.language-switcher-link:hover,
.language-switcher-link:focus {
  color: var(--color-wine);
  background: rgba(136, 51, 61, 0.08);
}

.language-switcher-link.is-active {
  color: var(--color-paper);
  background: var(--color-wine);
}

.auth-nav-actions {
  gap: 10px;
  padding: 6px;
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid rgba(216, 200, 170, 0.82);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(95, 72, 30, 0.06);
}

.auth-nav-button,
.account-nav-link,
.logout-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  color: var(--color-ink);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  border-radius: var(--radius);
}

.auth-nav-button {
  min-width: 118px;
  padding: 12px 18px;
  color: var(--color-paper);
  background: var(--color-navy);
  box-shadow: 0 14px 30px rgba(25, 40, 69, 0.16);
}

.auth-nav-button:hover,
.auth-nav-button:focus {
  color: var(--color-paper);
  background: var(--color-navy-hover);
  transform: translateY(-1px);
}

.account-nav-card {
  gap: 8px;
  max-width: 260px;
  padding: 6px;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(95, 72, 30, 0.06);
}

.account-nav-link {
  gap: 8px;
  min-width: 0;
  padding: 8px 10px;
}

.account-nav-link span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-nav-avatar {
  display: inline-flex;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  color: var(--color-paper);
  font-size: 0.82rem;
  font-weight: 900;
  background: var(--color-wine);
  border-radius: 50%;
}

.logout-nav-form {
  margin: 0;
}

.logout-nav-button {
  min-height: 36px;
  padding: 8px 10px;
  color: var(--color-muted);
  background: transparent;
  border: 0;
}

.logout-nav-button:hover,
.logout-nav-button:focus {
  color: var(--color-wine);
  background: var(--color-wine-soft);
}

.support-nav-button:hover,
.support-nav-button:focus,
.card-button:hover,
.card-button:focus {
  color: var(--color-ink);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.support-nav-button:hover,
.support-nav-button:focus {
  border-color: #ad7e2f;
  box-shadow: 0 22px 54px rgba(139, 96, 31, 0.15);
}

.button-icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.support-icon {
  width: 24px;
  height: 24px;
  color: #c3943f;
}

.site-toggler {
  padding: 8px 10px;
  border-color: var(--color-line-strong);
  border-radius: var(--radius);
}

.btn {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  font-weight: 700;
  line-height: 1.1;
  border-radius: var(--radius);
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.btn-lg {
  min-height: 52px;
  padding: 14px 24px;
  font-size: 1rem;
}

.btn-primary {
  color: #fffdf8;
  background: var(--color-navy);
  border-color: var(--color-navy);
  box-shadow: 0 16px 36px rgba(25, 40, 69, 0.18);
}

.btn-primary:hover,
.btn-primary:focus {
  color: #fffdf8;
  background: var(--color-navy-hover);
  border-color: var(--color-navy-hover);
  box-shadow: 0 20px 48px rgba(25, 40, 69, 0.24);
  transform: translateY(-1px);
}

.btn-outline-primary {
  color: var(--color-navy);
  background: rgba(255, 253, 248, 0.72);
  border-color: var(--color-line-strong);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  color: var(--color-paper);
  background: var(--color-navy);
  border-color: var(--color-navy);
}

.btn-secondary-soft,
.btn-light-premium {
  color: var(--color-ink);
  background: rgba(255, 253, 248, 0.82);
  border-color: var(--color-line-strong);
  box-shadow: 0 12px 30px rgba(95, 72, 30, 0.08);
}

.btn-secondary-soft:hover,
.btn-secondary-soft:focus,
.btn-light-premium:hover,
.btn-light-premium:focus {
  color: var(--color-ink);
  border-color: var(--color-gold);
  background: #fffdf8;
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.btn-light-premium {
  color: var(--color-navy);
  background: #fffdf8;
}

.auth-page {
  position: relative;
  padding: 88px 0 104px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.9), rgba(246, 240, 231, 0.96)),
    radial-gradient(circle at 12% 18%, rgba(195, 148, 63, 0.12), transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(136, 51, 61, 0.08), transparent 34%);
}

.auth-page::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(118deg, transparent 0 62%, rgba(207, 190, 160, 0.18) 63% 66%, transparent 67% 100%);
  opacity: 0.78;
}

.auth-container {
  position: relative;
  z-index: 1;
  max-width: 1180px;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.72fr);
  gap: 34px;
  align-items: stretch;
}

.auth-shell-google-only {
  align-items: center;
}

.auth-intro,
.auth-card,
.account-panel {
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.auth-intro {
  position: relative;
  min-height: 650px;
  padding: 66px 64px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.94), rgba(250, 244, 235, 0.9)),
    var(--color-paper);
  border-color: rgba(216, 185, 127, 0.5);
}

.auth-intro::before {
  position: absolute;
  inset: 14px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(216, 185, 127, 0.45);
  border-radius: var(--radius);
}

.auth-intro::after {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 270px;
  height: 270px;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle, rgba(195, 148, 63, 0.12), transparent 64%);
}

.auth-cross {
  position: relative;
  z-index: 1;
  display: flex;
  width: 118px;
  height: 118px;
  align-items: center;
  justify-content: center;
  margin-bottom: 44px;
  color: #c3943f;
  background: radial-gradient(circle at 50% 46%, rgba(255, 249, 235, 0.94), rgba(247, 235, 210, 0.72));
  border: 1.5px solid #c3943f;
  border-radius: 50%;
  box-shadow: 0 18px 52px rgba(139, 96, 31, 0.11);
}

.auth-cross span,
.auth-cross span::before,
.auth-cross span::after {
  position: absolute;
  background: currentColor;
  border-radius: 999px;
}

.auth-cross span {
  width: 44px;
  height: 2px;
}

.auth-cross span::before,
.auth-cross span::after {
  content: "";
}

.auth-cross span::before {
  top: -18px;
  left: 20px;
  width: 2px;
  height: 38px;
}

.auth-cross span::after {
  top: -31px;
  left: 20px;
  width: 2px;
  height: 9px;
}

.auth-intro .eyebrow,
.auth-card-heading .eyebrow {
  color: #b99043;
  letter-spacing: 0.12em;
}

.auth-intro h1,
.auth-card-heading h2,
.account-panel h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0;
}

.auth-intro h1 {
  max-width: 560px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 4.2vw, 4.8rem);
  line-height: 0.98;
}

.auth-intro p:not(.eyebrow),
.auth-card-heading p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  color: var(--color-muted);
  font-size: 1.08rem;
  line-height: 1.78;
}

.auth-benefits {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  max-width: 470px;
  margin-top: 42px;
}

.auth-benefits span {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--color-ink-soft);
  font-weight: 700;
}

.auth-benefits span::before {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--color-gold);
  transform: rotate(45deg);
}

.auth-card {
  padding: 42px;
}

.auth-google-card {
  align-self: center;
}

.auth-card-heading {
  margin-bottom: 24px;
}

.auth-card-heading h2 {
  margin-bottom: 10px;
  font-size: 2.55rem;
  line-height: 1;
}

.google-auth-form {
  margin: 0;
}

.google-auth-button {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 18px;
  color: var(--color-ink);
  font-weight: 800;
  background: #fffdf8;
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(95, 72, 30, 0.08);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.google-auth-button:hover,
.google-auth-button:focus {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.google-mark {
  display: inline-flex;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
}

.google-mark svg {
  width: 24px;
  height: 24px;
}

.auth-dev-message {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  color: #735719;
  font-weight: 700;
  background: #fff7de;
  border: 1px solid #ead89d;
  border-radius: var(--radius);
}

.auth-dev-message svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.auth-provider-note {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.auth-validation-summary {
  color: var(--color-wine);
  font-size: 0.88rem;
  font-weight: 600;
}

.auth-validation-summary ul {
  display: grid;
  gap: 6px;
  margin: 0 0 18px;
  padding: 14px 16px 14px 34px;
  background: var(--color-wine-soft);
  border: 1px solid rgba(136, 51, 61, 0.18);
  border-radius: var(--radius);
}

.validation-summary-valid {
  display: none;
}

.auth-google-note {
  margin: 18px 0 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
}

.account-section {
  padding-top: 58px;
}

.account-container {
  max-width: 980px;
}

.account-panel {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
}

.account-avatar {
  display: flex;
  width: 112px;
  height: 112px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--color-paper);
  background: var(--color-wine);
  border: 1px solid rgba(136, 51, 61, 0.22);
  border-radius: 50%;
  box-shadow: 0 16px 38px rgba(136, 51, 61, 0.16);
}

.account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-avatar span {
  font-size: 2rem;
  font-weight: 900;
}

.account-panel h2 {
  margin-bottom: 18px;
  font-size: 2.35rem;
}

.account-details dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.account-details dl div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
}

.account-details dt {
  color: var(--color-muted);
  font-weight: 800;
}

.account-details dd {
  margin: 0;
  color: var(--color-ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.account-logout-form {
  margin: 0;
}

.account-novenas-panel {
  margin-top: 22px;
  padding: 34px;
  background: rgba(255, 253, 248, 0.76);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.account-section-heading {
  margin-bottom: 22px;
}

.account-section-heading h2 {
  margin: 0;
  font-size: 2rem;
}

.account-novena-list {
  display: grid;
  gap: 14px;
}

.account-novena-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.account-novena-card h3 {
  margin: 0 0 6px;
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: 1.28rem;
}

.account-novena-card p {
  margin: 0;
  color: var(--color-muted);
  font-weight: 700;
}

.account-novena-status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  color: var(--color-wine);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  background: var(--color-wine-soft);
  border: 1px solid rgba(136, 51, 61, 0.14);
  border-radius: 999px;
}

.account-novena-status-complete {
  color: #5d481b;
  background: #fff7de;
  border-color: #ead89d;
}

.account-novena-link {
  color: var(--color-navy);
  font-weight: 900;
  text-decoration: none;
}

.account-novena-link:hover,
.account-novena-link:focus {
  color: var(--color-wine);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.account-empty-state {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.72;
}

.home-hero {
  position: relative;
  min-height: 690px;
  padding: 112px 0 96px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.94) 0%, rgba(250, 244, 235, 0.88) 56%, rgba(246, 238, 225, 0.78) 100%),
    radial-gradient(circle at 87% 38%, rgba(205, 182, 142, 0.18) 0 18%, transparent 38%);
  border-bottom: 1px solid rgba(218, 203, 176, 0.55);
}

.home-hero::before {
  position: absolute;
  inset: 0 0 0 auto;
  width: 42%;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(105deg, transparent 0 33%, rgba(255, 255, 255, 0.5) 34% 39%, transparent 40% 100%),
    linear-gradient(118deg, transparent 0 55%, rgba(207, 190, 160, 0.16) 56% 60%, transparent 61% 100%);
  opacity: 0.72;
}

.home-hero .container {
  position: relative;
  z-index: 1;
  max-width: 1480px;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 0.72fr);
  gap: 88px;
  align-items: center;
}

.home-hero-grid > *,
.content-layout > *,
.novena-layout > *,
.quiz-cta-card > *,
.footer-grid > *,
.saint-feature-card > * {
  min-width: 0;
}

.hero-copy {
  max-width: 800px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-wine);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-hero .eyebrow {
  margin-bottom: 18px;
  color: #b99043;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

.hero-ornament,
.saint-card-ornament {
  display: flex;
  gap: 14px;
  align-items: center;
  width: 116px;
  margin: 0 0 40px;
  color: #c3943f;
}

.hero-ornament::before,
.saint-card-ornament::before {
  flex: 1;
  height: 1px;
  content: "";
  background: currentColor;
}

.hero-ornament span,
.saint-card-ornament span {
  width: 9px;
  height: 9px;
  background: currentColor;
  transform: rotate(45deg);
}

.home-hero h1,
.page-hero h1,
.section-heading h2,
.highlight-panel h2,
.quiz-cta-card h2,
.support-card h2 {
  font-family: var(--font-heading);
  color: var(--color-ink);
  font-weight: 700;
  letter-spacing: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}

.home-hero h1 {
  max-width: 820px;
  margin: 0 0 26px;
  font-size: clamp(4.4rem, 4.95vw, 5.55rem);
  line-height: 0.98;
  text-wrap: balance;
}

.hero-text {
  max-width: 720px;
  margin: 0 0 44px;
  color: #615c57;
  font-size: 1.2rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.hero-actions .btn {
  min-width: 226px;
  min-height: 72px;
  padding: 20px 28px;
  font-size: 1.08rem;
}

.hero-primary-button {
  border-color: #c3943f;
  box-shadow: 0 24px 52px rgba(25, 40, 69, 0.22), 0 0 0 1px rgba(195, 148, 63, 0.16) inset;
}

.hero-secondary-button {
  min-width: 274px;
  color: var(--color-ink);
  border-color: rgba(195, 148, 63, 0.48);
}

.button-spark,
.button-medal {
  position: relative;
  display: inline-flex;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  color: #c3943f;
}

.button-spark::before,
.button-spark::after {
  position: absolute;
  content: "";
  background: currentColor;
  border-radius: 999px;
}

.button-spark::before {
  width: 20px;
  height: 2px;
}

.button-spark::after {
  width: 2px;
  height: 20px;
}

.button-spark {
  transform: rotate(0deg);
}

.button-medal {
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.button-medal::before,
.button-medal::after {
  position: absolute;
  content: "";
  background: currentColor;
  border-radius: 999px;
}

.button-medal::before {
  width: 10px;
  height: 2px;
}

.button-medal::after {
  width: 2px;
  height: 10px;
}

.saint-hero-card,
.content-card,
.saint-feature-card,
.progress-preview-card,
.quiz-cta-card,
.support-card,
.main-article,
.side-card,
.text-surface,
.recommendation-note,
.quiz-option,
.empty-state {
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.saint-hero-card {
  position: relative;
  min-height: 620px;
  padding: 48px 64px 56px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.94), rgba(252, 248, 241, 0.9)),
    var(--color-paper);
  border-color: rgba(216, 185, 127, 0.46);
  box-shadow: 0 32px 90px rgba(68, 50, 24, 0.13);
}

.saint-hero-card::before {
  position: absolute;
  inset: 12px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(216, 185, 127, 0.5);
  border-radius: 14px;
}

.saint-hero-card::after {
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle, rgba(195, 148, 63, 0.12), transparent 62%);
}

.card-topline {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 14px;
}

.saint-hero-card .eyebrow {
  color: #b99043;
}

.saint-card-ornament {
  position: relative;
  z-index: 1;
  width: 92px;
  margin-bottom: 2px;
}

.date-chip,
.tag,
.badge-deep,
.meta-row span,
.meta-row a,
.pill-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  color: var(--color-ink);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  background: var(--color-gold-soft);
  border: 1px solid var(--color-line-strong);
  border-radius: 999px;
}

.date-chip {
  color: var(--color-wine);
  background: var(--color-wine-soft);
  border-color: rgba(136, 51, 61, 0.18);
}

.saint-seal,
.saint-feature-icon,
.support-mark,
.soft-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f5eddd;
  border: 1px solid var(--color-line-strong);
  border-radius: 50%;
}

.saint-medallion {
  position: relative;
  z-index: 1;
  display: flex;
  width: 148px;
  height: 148px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 36px;
  color: #c3943f;
  background: radial-gradient(circle at 50% 46%, rgba(255, 249, 235, 0.92), rgba(247, 235, 210, 0.7));
  border: 1.5px solid #c3943f;
  border-radius: 50%;
  box-shadow: 0 18px 52px rgba(139, 96, 31, 0.11);
}

.saint-medallion svg {
  width: 110px;
  height: 110px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.saint-medallion circle {
  stroke-width: 1.1;
  opacity: 0.35;
}

.saint-seal {
  position: relative;
  z-index: 1;
  width: 104px;
  height: 104px;
  margin-bottom: 28px;
}

.saint-seal span,
.saint-feature-icon span,
.soft-icon span {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
}

.saint-seal span::before,
.saint-seal span::after,
.saint-feature-icon span::before,
.saint-feature-icon span::after,
.soft-icon span::before,
.soft-icon span::after {
  position: absolute;
  inset: 50% auto auto 50%;
  content: "";
  background: var(--color-gold);
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.saint-seal span::before,
.saint-feature-icon span::before,
.soft-icon span::before {
  width: 22px;
  height: 3px;
}

.saint-seal span::after,
.saint-feature-icon span::after,
.soft-icon span::after {
  width: 3px;
  height: 22px;
}

.saint-hero-card h2,
.saint-feature-card h2,
.content-card h2,
.content-card h3,
.progress-preview-card h3,
.side-card h2,
.article-block h2,
.list-title {
  font-family: var(--font-heading);
  color: var(--color-ink);
  font-weight: 700;
  letter-spacing: 0;
}

.saint-hero-card h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-size: 2.82rem;
  line-height: 1.02;
}

.virtue-line {
  margin: 0 0 18px;
  color: var(--color-muted);
  font-family: var(--font-heading);
  font-size: 1.16rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.35;
}

.saint-hero-card p {
  position: relative;
  z-index: 1;
  color: #615c57;
  font-size: 1.08rem;
  line-height: 1.72;
}

.prayer-preview {
  margin: 22px 0;
  padding: 18px 0 18px 18px;
  color: var(--color-ink-soft);
  border-left: 2px solid var(--color-gold);
}

.saint-hero-card .card-button {
  position: relative;
  z-index: 1;
  min-width: 300px;
  min-height: 68px;
  margin-top: 22px;
  justify-content: space-between;
  padding: 19px 28px;
  color: var(--color-ink);
  border-color: #c3943f;
  box-shadow: 0 18px 42px rgba(139, 96, 31, 0.08);
}

.page-section {
  padding: 88px 0;
}

.intentions-section {
  position: relative;
  padding: 104px 0 116px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(250, 244, 235, 0.82), rgba(246, 240, 231, 0.96)),
    radial-gradient(circle at 4% 18%, rgba(195, 148, 63, 0.08), transparent 32%),
    radial-gradient(circle at 96% 72%, rgba(195, 148, 63, 0.09), transparent 34%);
  border-bottom: 1px solid rgba(218, 203, 176, 0.52);
}

.intentions-section::before,
.intentions-section::after {
  position: absolute;
  pointer-events: none;
  content: "";
  opacity: 0.34;
}

.intentions-section::before {
  top: 8%;
  left: -14%;
  width: 34%;
  height: 52%;
  background: linear-gradient(118deg, transparent 0 58%, rgba(207, 190, 160, 0.2) 59% 62%, transparent 63% 100%);
}

.intentions-section::after {
  right: -10%;
  bottom: 0;
  width: 32%;
  height: 58%;
  background: linear-gradient(64deg, transparent 0 52%, rgba(207, 190, 160, 0.22) 53% 56%, transparent 57% 100%);
}

.intentions-container {
  position: relative;
  z-index: 1;
  max-width: 1460px;
}

.section-soft {
  background: rgba(241, 234, 223, 0.72);
  border-top: 1px solid rgba(218, 203, 176, 0.55);
  border-bottom: 1px solid rgba(218, 203, 176, 0.55);
}

.section-heading {
  max-width: 760px;
  margin: 0 0 34px;
}

.intentions-heading {
  max-width: 900px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-kicker {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.section-kicker span {
  width: 68px;
  height: 1px;
  background: rgba(195, 148, 63, 0.62);
}

.intentions-heading .eyebrow {
  margin: 0;
  color: #b99043;
  font-size: 0.84rem;
  letter-spacing: 0.28em;
}

.intentions-heading h2 {
  margin: 0 0 20px;
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: clamp(3.1rem, 4vw, 4.3rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
}

.intentions-heading > p {
  max-width: 780px;
  margin: 0 auto;
  color: #7a746e;
  font-size: 1.12rem;
  line-height: 1.7;
}

.section-heading-center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.compact {
  margin-bottom: 0;
}

.section-heading h2,
.highlight-panel h2,
.quiz-cta-card h2,
.support-card h2 {
  margin: 0 0 14px;
  font-size: 3.1rem;
  line-height: 1.04;
}

.section-heading p,
.highlight-panel p,
.content-card p,
.text-surface,
.recommendation-note,
.progress-preview-card p {
  color: var(--color-muted);
}

.section-heading > p:not(.eyebrow) {
  margin: 0;
  font-size: 1.08rem;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 150px;
  margin: 30px auto 48px;
}

.ornament::before,
.ornament::after {
  flex: 1;
  height: 1px;
  content: "";
  background: var(--color-gold);
}

.ornament span {
  width: 9px;
  height: 9px;
  margin: 0 18px;
  background: var(--color-gold);
  transform: rotate(45deg);
}

.intentions-ornament {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  margin: 36px auto 0;
  color: #c3943f;
}

.intentions-ornament::before,
.intentions-ornament::after {
  flex: 1;
  height: 1px;
  content: "";
  background: currentColor;
}

.intentions-ornament span {
  position: relative;
  width: 34px;
  height: 26px;
  margin: 0 14px;
}

.intentions-ornament span::before,
.intentions-ornament span::after {
  position: absolute;
  content: "";
  border: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.intentions-ornament span::before {
  top: 7px;
  left: 12px;
  width: 10px;
  height: 10px;
  background: currentColor;
}

.intentions-ornament span::after {
  top: 2px;
  left: 7px;
  width: 20px;
  height: 20px;
  border-color: currentColor;
  background: transparent;
}

.intention-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.card-grid,
.result-grid,
.quiz-grid,
.prayer-grid,
.novena-card-grid {
  display: grid;
  gap: 22px;
}

.card-grid,
.result-grid,
.prayer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quiz-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-card {
  min-height: 248px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.content-card:hover,
.content-card:focus-within {
  border-color: rgba(195, 163, 90, 0.72);
  box-shadow: var(--shadow-lifted);
  transform: translateY(-4px);
}

.intention-card {
  min-height: 352px;
  align-items: center;
  padding: 28px 28px 26px;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.92), rgba(252, 248, 241, 0.9)),
    var(--color-paper);
  border-color: rgba(216, 185, 127, 0.56);
  box-shadow: 0 18px 52px rgba(68, 50, 24, 0.08);
}

.intentions-section .intention-card:hover,
.intentions-section .intention-card:focus-within {
  border-color: rgba(195, 148, 63, 0.92);
  box-shadow: 0 28px 68px rgba(68, 50, 24, 0.13);
  transform: translateY(-5px);
}

.intention-icon {
  display: inline-flex;
  width: 84px;
  height: 108px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #c3943f;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.78), rgba(246, 236, 218, 0.62)),
    #fbf6ec;
  border: 1px solid rgba(216, 185, 127, 0.5);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 253, 248, 0.64), 0 14px 34px rgba(139, 96, 31, 0.08);
}

.intention-icon svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.05;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.intention-card h3 {
  margin: 0 0 12px;
  font-size: 1.72rem;
  line-height: 1.08;
}

.intentions-section .intention-card p {
  max-width: 220px;
  margin: 0 auto 28px;
  color: #625e59;
  font-size: 1rem;
  line-height: 1.62;
}

.intentions-section .card-link {
  position: relative;
  gap: 10px;
  margin: auto auto 0;
  padding-bottom: 9px;
  color: #b67924;
  font-weight: 500;
}

.intentions-section .card-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: rgba(195, 148, 63, 0.52);
}

.intentions-section .card-link:hover,
.intentions-section .card-link:focus {
  color: var(--color-ink);
}

.soft-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 28px;
}

.soft-icon span {
  width: 18px;
  height: 18px;
}

.soft-icon span::before {
  width: 18px;
  height: 2px;
  background: var(--color-navy);
}

.soft-icon span::after {
  width: 2px;
  height: 18px;
  background: var(--color-navy);
}

.content-card h2,
.content-card h3 {
  margin: 0 0 14px;
  font-size: 1.55rem;
  line-height: 1.12;
}

.content-card p {
  margin-bottom: 24px;
  font-size: 1rem;
}

.card-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  color: var(--color-wine);
  font-weight: 800;
}

.card-link span {
  transition: transform 180ms ease;
}

.card-link:hover span,
.card-link:focus span {
  transform: translateX(3px);
}

.saint-feature-section {
  position: relative;
  padding: 74px 0 44px;
  background:
    linear-gradient(180deg, rgba(246, 240, 231, 0.96), rgba(250, 244, 235, 0.9)),
    radial-gradient(circle at 8% 20%, rgba(195, 148, 63, 0.07), transparent 32%),
    radial-gradient(circle at 93% 12%, rgba(195, 148, 63, 0.06), transparent 28%);
}

.saint-feature-container,
.prayers-container {
  max-width: 1180px;
}

.saint-feature-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 38px;
  align-items: center;
  padding: 36px 64px;
}

.saint-day-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.94), rgba(252, 248, 241, 0.9)),
    var(--color-paper);
  border-color: rgba(216, 185, 127, 0.58);
  border-radius: 16px;
  box-shadow: 0 26px 70px rgba(68, 50, 24, 0.12);
}

.saint-day-band::before {
  position: absolute;
  inset: 10px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(216, 185, 127, 0.52);
  border-radius: 12px;
}

.saint-day-emblem {
  position: relative;
  z-index: 1;
  display: flex;
  width: 132px;
  height: 132px;
  align-items: center;
  justify-content: center;
  color: #c3943f;
  background: radial-gradient(circle at 50% 45%, rgba(255, 249, 235, 0.92), rgba(247, 235, 210, 0.55));
  border-radius: 50%;
}

.saint-day-emblem::before {
  position: absolute;
  inset: -11px;
  content: "";
  border: 1px solid rgba(195, 148, 63, 0.42);
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(195, 148, 63, 0.5) 0deg 1deg, transparent 1deg 7deg);
  mask: radial-gradient(circle, transparent 0 68%, #000 69% 72%, transparent 73%);
}

.saint-day-emblem svg {
  width: 94px;
  height: 94px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.saint-day-emblem circle {
  opacity: 0.42;
}

.saint-day-band .saint-feature-copy {
  position: relative;
  z-index: 1;
}

.saint-day-band .eyebrow {
  margin-bottom: 10px;
  color: var(--color-wine);
  letter-spacing: 0.14em;
}

.saint-feature-card h2 {
  margin: 0 0 8px;
  font-size: 3.05rem;
  line-height: 1.03;
}

.saint-day-band .virtue-line {
  margin-bottom: 14px;
  color: #8b7460;
  font-size: 1.24rem;
}

.saint-feature-copy p:last-child {
  margin-bottom: 0;
  max-width: 620px;
  color: #6a625a;
}

.saint-feature-action {
  position: relative;
  z-index: 1;
}

.saint-day-button {
  min-width: 230px;
  min-height: 56px;
  justify-content: space-between;
  padding: 16px 24px;
  box-shadow: 0 20px 46px rgba(25, 40, 69, 0.24);
}

.prayers-section {
  position: relative;
  padding: 34px 0 112px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(250, 244, 235, 0.9), rgba(246, 240, 231, 0.96)),
    radial-gradient(circle at 5% 55%, rgba(195, 148, 63, 0.07), transparent 28%),
    radial-gradient(circle at 95% 80%, rgba(195, 148, 63, 0.08), transparent 30%);
}

.prayers-heading {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.prayers-heading .eyebrow {
  margin-bottom: 12px;
  color: var(--color-wine);
  font-size: 0.82rem;
  letter-spacing: 0.24em;
}

.prayers-heading h2 {
  margin: 0 0 14px;
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: clamp(3rem, 3.65vw, 4rem);
  font-weight: 700;
  line-height: 1.04;
}

.prayers-heading > p {
  margin: 0 auto;
  max-width: 750px;
  color: #756e68;
  font-size: 1.08rem;
  line-height: 1.68;
}

.prayers-ornament {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  margin: 28px auto 0;
  color: #c3943f;
}

.prayers-ornament::before,
.prayers-ornament::after {
  flex: 1;
  height: 1px;
  content: "";
  background: currentColor;
}

.prayers-ornament span {
  position: relative;
  width: 30px;
  height: 24px;
  margin: 0 14px;
}

.prayers-ornament span::before,
.prayers-ornament span::after {
  position: absolute;
  content: "";
  border: 1.4px solid currentColor;
  transform: rotate(45deg);
}

.prayers-ornament span::before {
  top: 7px;
  left: 10px;
  width: 10px;
  height: 10px;
  background: currentColor;
}

.prayers-ornament span::after {
  top: 2px;
  left: 5px;
  width: 20px;
  height: 20px;
}

.prayers-section .prayer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 30px;
}

.prayer-card,
.novena-card {
  min-height: 290px;
}

.prayers-section .prayer-card {
  min-height: 228px;
  padding: 28px 30px 24px;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.94), rgba(252, 248, 241, 0.9)),
    var(--color-paper);
  border-color: rgba(216, 185, 127, 0.56);
  box-shadow: 0 18px 48px rgba(68, 50, 24, 0.08);
}

.prayers-section .prayer-card:hover,
.prayers-section .prayer-card:focus-within {
  border-color: rgba(195, 148, 63, 0.9);
  box-shadow: 0 28px 68px rgba(68, 50, 24, 0.13);
}

.prayer-tag {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  margin-bottom: 18px;
  padding: 6px 13px 6px 8px;
  color: #9b6c27;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(248, 239, 221, 0.82);
  border: 1px solid rgba(216, 185, 127, 0.5);
  border-radius: 999px;
}

.prayer-tag-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  color: #c3943f;
}

.prayer-tag-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.prayers-section .prayer-card h3 {
  margin: 0 0 12px;
  font-size: 1.48rem;
  line-height: 1.12;
}

.prayers-section .prayer-card p {
  margin-bottom: 22px;
  color: #625e59;
  font-size: 0.98rem;
  line-height: 1.62;
}

.prayers-section .card-link {
  position: relative;
  gap: 10px;
  margin-top: auto;
  padding-bottom: 8px;
  color: var(--color-wine);
  font-weight: 700;
}

.prayers-section .card-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: rgba(136, 51, 61, 0.55);
}

.tag {
  width: fit-content;
  margin-bottom: 22px;
  color: var(--color-ink-soft);
  background: rgba(240, 227, 196, 0.62);
}

.badge-row,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
}

.badge-deep {
  color: var(--color-paper);
  background: var(--color-navy);
  border-color: var(--color-navy);
}

.novenas-section {
  position: relative;
  padding: 108px 0 118px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(251, 247, 239, 0.98), rgba(246, 240, 231, 0.94)),
    radial-gradient(circle at 9% 11%, rgba(195, 163, 90, 0.1), transparent 30%),
    radial-gradient(circle at 91% 15%, rgba(136, 51, 61, 0.055), transparent 34%);
  border-top: 1px solid rgba(218, 203, 176, 0.5);
  border-bottom: 1px solid rgba(218, 203, 176, 0.58);
}

.novenas-section::before,
.novenas-section::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.novenas-section::before {
  top: 74px;
  left: -58px;
  width: 210px;
  height: 210px;
  opacity: 0.18;
  border: 1px solid rgba(195, 163, 90, 0.42);
  border-radius: 50%;
  box-shadow:
    32px 20px 0 -26px rgba(195, 163, 90, 0.55),
    66px 43px 0 -27px rgba(195, 163, 90, 0.5),
    98px 69px 0 -28px rgba(195, 163, 90, 0.45),
    129px 98px 0 -28px rgba(195, 163, 90, 0.4);
}

.novenas-section::after {
  top: 52px;
  right: -34px;
  width: 260px;
  height: 190px;
  opacity: 0.2;
  background:
    radial-gradient(ellipse at 28% 38%, rgba(195, 163, 90, 0.5) 0 8px, transparent 9px),
    radial-gradient(ellipse at 42% 27%, rgba(195, 163, 90, 0.45) 0 7px, transparent 8px),
    radial-gradient(ellipse at 57% 22%, rgba(195, 163, 90, 0.42) 0 8px, transparent 9px),
    radial-gradient(ellipse at 72% 31%, rgba(195, 163, 90, 0.36) 0 7px, transparent 8px),
    linear-gradient(146deg, transparent 0 48%, rgba(195, 163, 90, 0.46) 49% 50%, transparent 51% 100%);
  transform: rotate(-11deg);
}

.novena-background-mark {
  position: absolute;
  pointer-events: none;
}

.novena-rosary-mark {
  top: 252px;
  left: -78px;
  width: 150px;
  height: 150px;
  opacity: 0.16;
  border: 1px solid rgba(136, 51, 61, 0.24);
  border-radius: 50%;
}

.novena-rosary-mark::before,
.novena-rosary-mark::after {
  position: absolute;
  content: "";
  background: rgba(136, 51, 61, 0.34);
  border-radius: 999px;
}

.novena-rosary-mark::before {
  right: 14px;
  bottom: 10px;
  width: 1px;
  height: 54px;
  transform: rotate(-28deg);
}

.novena-rosary-mark::after {
  right: -4px;
  bottom: -16px;
  width: 22px;
  height: 1px;
  box-shadow: 10px -10px 0 rgba(136, 51, 61, 0.32);
  transform: rotate(-28deg);
}

.novena-branch-mark {
  right: 7%;
  bottom: 74px;
  width: 200px;
  height: 140px;
  opacity: 0.14;
  background:
    radial-gradient(ellipse at 23% 62%, rgba(195, 163, 90, 0.42) 0 8px, transparent 9px),
    radial-gradient(ellipse at 42% 45%, rgba(195, 163, 90, 0.42) 0 9px, transparent 10px),
    radial-gradient(ellipse at 62% 32%, rgba(195, 163, 90, 0.42) 0 8px, transparent 9px),
    radial-gradient(ellipse at 78% 20%, rgba(195, 163, 90, 0.42) 0 7px, transparent 8px),
    linear-gradient(140deg, transparent 0 48%, rgba(195, 163, 90, 0.56) 49% 50%, transparent 51% 100%);
}

.novenas-container {
  position: relative;
  z-index: 1;
  max-width: 1390px;
}

.novenas-heading {
  max-width: 820px;
  margin-bottom: 58px;
}

.novenas-top-ornament {
  position: relative;
  display: flex;
  width: 250px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--color-gold);
}

.novenas-top-ornament::before,
.novenas-top-ornament::after {
  width: 94px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(195, 163, 90, 0.72));
}

.novenas-top-ornament::after {
  background: linear-gradient(90deg, rgba(195, 163, 90, 0.72), transparent);
}

.novenas-top-ornament span {
  position: relative;
  width: 42px;
  height: 42px;
  margin: 0 10px;
  border: 1px solid rgba(195, 163, 90, 0.45);
  border-radius: 50%;
}

.novenas-top-ornament span::before,
.novenas-top-ornament span::after {
  position: absolute;
  inset: 50% auto auto 50%;
  content: "";
  background: currentColor;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.novenas-top-ornament span::before {
  width: 15px;
  height: 2px;
}

.novenas-top-ornament span::after {
  width: 2px;
  height: 21px;
}

.novenas-heading h2 {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  font-size: 5.05rem;
  line-height: 0.96;
}

.novenas-heading > p:last-child {
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
  font-size: 1.08rem;
}

.novena-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 30px;
  align-items: start;
}

.novena-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.novenas-section .novena-card {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 22px;
  min-height: 238px;
  padding: 26px 28px 28px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.96), rgba(252, 248, 241, 0.9)),
    var(--color-paper);
  border-color: rgba(195, 163, 90, 0.45);
  box-shadow: 0 20px 54px rgba(68, 50, 24, 0.08);
}

.novenas-section .novena-card:hover,
.novenas-section .novena-card:focus-within {
  border-color: rgba(195, 148, 63, 0.82);
  box-shadow: 0 30px 76px rgba(68, 50, 24, 0.13);
  transform: translateY(-5px);
}

.novena-icon-tile {
  display: inline-flex;
  width: 78px;
  height: 78px;
  align-items: center;
  justify-content: center;
  color: #b99043;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 253, 248, 0.9), rgba(240, 227, 196, 0.42)),
    rgba(255, 253, 248, 0.88);
  border: 1px solid rgba(195, 163, 90, 0.5);
  border-radius: 50%;
  box-shadow: inset 0 0 0 7px rgba(240, 227, 196, 0.32), 0 12px 26px rgba(68, 50, 24, 0.08);
}

.novena-icon-tile svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.novena-card-body {
  min-width: 0;
}

.novena-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
}

.novena-days-badge,
.novena-intention-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 11px;
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 999px;
}

.novena-days-badge {
  color: var(--color-paper);
  background: var(--color-navy);
  border-color: rgba(25, 40, 69, 0.92);
}

.novena-intention-badge {
  color: var(--color-ink-soft);
  background: rgba(240, 227, 196, 0.64);
  border-color: rgba(195, 163, 90, 0.28);
}

.novenas-section .novena-card h3 {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: 1.72rem;
  font-weight: 600;
  line-height: 1.05;
}

.novena-title-rule {
  display: block;
  width: 46px;
  height: 1px;
  margin: 13px 0 14px;
  background: rgba(195, 148, 63, 0.58);
}

.novenas-section .novena-card p {
  margin-bottom: 22px;
  color: var(--color-muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.novenas-section .novena-card .card-link {
  margin-top: auto;
  color: var(--color-wine);
}

.novena-corner {
  position: absolute;
  right: 17px;
  bottom: 17px;
  width: 44px;
  height: 44px;
  pointer-events: none;
  border-right: 1px solid rgba(195, 163, 90, 0.38);
  border-bottom: 1px solid rgba(195, 163, 90, 0.38);
}

.novena-progress-card {
  position: sticky;
  top: 126px;
  min-height: 560px;
  padding: 44px 38px 36px;
  text-align: center;
  background:
    linear-gradient(150deg, rgba(255, 253, 248, 0.97), rgba(251, 247, 239, 0.9)),
    var(--color-paper);
  border-color: rgba(195, 163, 90, 0.55);
  box-shadow: 0 26px 72px rgba(68, 50, 24, 0.11);
}

.novena-progress-card::before {
  position: absolute;
  inset: 10px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(195, 163, 90, 0.32);
  border-radius: 6px;
}

.progress-spark {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  color: var(--color-gold);
  border: 1px solid rgba(195, 163, 90, 0.38);
  border-radius: 50%;
}

.progress-spark::before,
.progress-spark::after {
  position: absolute;
  inset: 50% auto auto 50%;
  content: "";
  background: currentColor;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.progress-spark::before {
  width: 16px;
  height: 2px;
}

.progress-spark::after {
  width: 2px;
  height: 22px;
}

.novena-progress-card .eyebrow {
  margin-bottom: 9px;
  color: #b99043;
}

.novena-progress-card h3 {
  max-width: 310px;
  margin: 0 auto;
  font-size: 2.95rem;
  line-height: 0.98;
}

.novena-progress-card.is-active h3 {
  font-size: 2.35rem;
  line-height: 1.05;
}

.progress-title-rule {
  display: block;
  width: 70px;
  height: 1px;
  margin: 18px auto 18px;
  background: rgba(195, 148, 63, 0.58);
}

.novena-progress-card p:not(.eyebrow) {
  max-width: 315px;
  margin: 0 auto;
  color: var(--color-muted);
  line-height: 1.66;
}

.progress-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  margin: 0 auto 13px;
  color: var(--color-navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(12, 49, 89, 0.07);
  border: 1px solid rgba(12, 49, 89, 0.14);
  border-radius: 999px;
}

.progress-days {
  display: grid;
  grid-template-columns: repeat(var(--progress-day-count, 9), 1fr);
  gap: 8px;
  max-width: 294px;
  margin: 30px auto 18px;
}

.progress-days span {
  aspect-ratio: 1;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid rgba(195, 163, 90, 0.48);
  border-radius: 50%;
}

.progress-days .is-complete {
  background: var(--color-navy);
  border-color: var(--color-navy);
}

.progress-days .is-current {
  background: var(--color-gold);
  border-color: var(--color-gold);
  box-shadow: 0 0 0 5px rgba(195, 163, 90, 0.16);
}

.progress-bar-preview {
  display: flex;
  height: 8px;
  max-width: 294px;
  margin: 0 auto;
  overflow: hidden;
  background: #eee3d2;
  border-radius: 999px;
}

.progress-bar-preview span {
  display: block;
  height: 100%;
}

.progress-fill-primary {
  background: var(--color-navy);
  transition: width 240ms ease;
}

.novena-chaplet-mark {
  display: flex;
  justify-content: center;
  margin: 24px auto 18px;
  color: rgba(195, 148, 63, 0.72);
}

.novena-chaplet-mark svg {
  width: 150px;
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.novena-chaplet-mark circle {
  fill: rgba(255, 253, 248, 0.94);
  stroke-width: 2.4;
}

.progress-action {
  position: relative;
  z-index: 1;
  min-width: 210px;
  margin-top: 2px;
}

.novena-progress-card small {
  display: block;
  max-width: 300px;
  margin: 16px auto 0;
  color: var(--color-subtle);
  font-size: 0.86rem;
  line-height: 1.55;
}

.home-ending-section {
  position: relative;
  padding: 88px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 35%, rgba(195, 163, 90, 0.08), transparent 28%),
    radial-gradient(circle at 92% 70%, rgba(195, 163, 90, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(246, 240, 231, 0.96), rgba(255, 253, 248, 0.84));
}

.home-ending-section::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: rgba(195, 163, 90, 0.5);
}

.ending-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
}

.ending-leaf {
  position: absolute;
  width: 260px;
  height: 340px;
  pointer-events: none;
  opacity: 0.16;
  background:
    radial-gradient(ellipse at 36% 20%, rgba(195, 163, 90, 0.42) 0 9px, transparent 10px),
    radial-gradient(ellipse at 50% 34%, rgba(195, 163, 90, 0.38) 0 10px, transparent 11px),
    radial-gradient(ellipse at 62% 49%, rgba(195, 163, 90, 0.38) 0 9px, transparent 10px),
    radial-gradient(ellipse at 74% 65%, rgba(195, 163, 90, 0.34) 0 8px, transparent 9px),
    linear-gradient(128deg, transparent 0 49%, rgba(195, 163, 90, 0.42) 50% 51%, transparent 52% 100%);
}

.ending-leaf-left {
  left: -112px;
  bottom: 18px;
  transform: rotate(14deg);
}

.ending-leaf-right {
  right: -106px;
  bottom: 64px;
  transform: scaleX(-1) rotate(12deg);
}

.quiz-cta-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  min-height: 246px;
  padding: 52px 72px 52px 92px;
  overflow: hidden;
  color: #fffdf8;
  background:
    linear-gradient(135deg, rgba(16, 31, 55, 0.99), rgba(20, 39, 67, 0.98)),
    var(--color-navy);
  border-color: rgba(255, 253, 248, 0.08);
  border-radius: 8px;
  box-shadow: 0 30px 72px rgba(25, 40, 69, 0.25);
}

.quiz-cta-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 13% 22%, rgba(195, 163, 90, 0.12), transparent 22%),
    repeating-linear-gradient(120deg, rgba(255, 253, 248, 0.025) 0, rgba(255, 253, 248, 0.025) 1px, transparent 1px, transparent 20px);
}

.quiz-rail {
  position: absolute;
  top: 32px;
  bottom: 32px;
  left: 42px;
  display: flex;
  width: 20px;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
}

.quiz-rail::before,
.quiz-rail::after {
  position: absolute;
  left: 50%;
  width: 1px;
  height: 76px;
  content: "";
  background: rgba(195, 163, 90, 0.78);
}

.quiz-rail::before {
  top: 0;
}

.quiz-rail::after {
  bottom: 0;
}

.quiz-rail span {
  position: relative;
  width: 16px;
  height: 16px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
}

.quiz-rail span::before,
.quiz-rail span::after {
  position: absolute;
  inset: 50% auto auto 50%;
  content: "";
  background: currentColor;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.quiz-rail span::before {
  width: 22px;
  height: 1px;
}

.quiz-rail span::after {
  width: 1px;
  height: 22px;
}

.quiz-cta-copy {
  position: relative;
  z-index: 1;
}

.quiz-cta-card h2,
.quiz-cta-card p,
.quiz-cta-card .eyebrow {
  color: #fffdf8;
}

.quiz-cta-card .eyebrow {
  margin-bottom: 12px;
  color: #e0bd67;
}

.quiz-cta-card h2 {
  max-width: 720px;
  margin-bottom: 16px;
  font-size: 3.4rem;
  line-height: 1;
}

.quiz-cta-card p:not(.eyebrow) {
  max-width: 610px;
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.78);
  font-size: 1.06rem;
  line-height: 1.72;
}

.quiz-cta-button {
  position: relative;
  z-index: 1;
  min-width: 226px;
  justify-content: center;
  color: var(--color-ink);
  background:
    linear-gradient(180deg, #f2d58c, #dcb463),
    var(--color-gold);
  border-color: #f4d98f;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 253, 248, 0.38);
}

.quiz-cta-button:hover {
  color: var(--color-ink);
  background:
    linear-gradient(180deg, #f8df9a, #e0bb6a),
    var(--color-gold);
  border-color: #f8df9a;
  transform: translateY(-2px);
}

.quiz-basilica-mark {
  position: absolute;
  right: -10px;
  bottom: -2px;
  width: 250px;
  color: rgba(255, 253, 248, 0.08);
}

.quiz-basilica-mark svg {
  width: 100%;
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.support-card {
  position: relative;
  max-width: 940px;
  margin: 38px auto 0;
  padding: 58px 70px 34px;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.92), rgba(251, 247, 239, 0.86)),
    var(--color-paper);
  border-color: rgba(195, 163, 90, 0.44);
  box-shadow: 0 24px 68px rgba(68, 50, 24, 0.1);
}

.support-card::before {
  position: absolute;
  inset: 12px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(195, 163, 90, 0.24);
  border-radius: 6px;
}

.support-ornament {
  position: relative;
  display: flex;
  max-width: 560px;
  height: 72px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: var(--color-gold);
}

.support-ornament::before,
.support-ornament::after {
  flex: 1;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(195, 163, 90, 0.58));
}

.support-ornament::after {
  background: linear-gradient(90deg, rgba(195, 163, 90, 0.58), transparent);
}

.support-ornament span {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 22px;
  border: 1px solid rgba(195, 163, 90, 0.46);
  border-radius: 50%;
}

.support-ornament span::before {
  position: absolute;
  top: 20px;
  left: 23px;
  width: 26px;
  height: 24px;
  content: "";
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.support-ornament span::after {
  position: absolute;
  top: 14px;
  left: 35px;
  width: 2px;
  height: 24px;
  content: "";
  background: currentColor;
  box-shadow: -7px 8px 0 -0.5px currentColor, 7px 8px 0 -0.5px currentColor;
}

.support-card h2 {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto 18px;
  font-size: 3rem;
  line-height: 1.04;
}

.support-card p {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto 26px;
  color: var(--color-muted);
  font-size: 1.06rem;
  line-height: 1.76;
}

.support-card-button {
  position: relative;
  z-index: 1;
  min-width: 280px;
  justify-content: center;
  margin-bottom: 22px;
}

.support-note {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.support-note svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: var(--color-gold);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.page-hero {
  padding: 76px 0 68px;
  background: rgba(251, 247, 239, 0.72);
  border-bottom: 1px solid rgba(218, 203, 176, 0.55);
}

.page-hero .container {
  max-width: 1000px;
}

.page-hero h1 {
  max-width: 850px;
  margin: 0 0 18px;
  font-size: 3.65rem;
  line-height: 1;
}

.page-hero p:not(.eyebrow):not(.hero-note) {
  max-width: 760px;
  margin: 0 0 20px;
  color: var(--color-muted);
  font-size: 1.12rem;
  line-height: 1.8;
}

.page-hero .hero-note {
  max-width: 760px;
  margin: 18px 0 0;
  padding: 16px 18px;
  color: #735719;
  background: #fff7de;
  border: 1px solid #ead89d;
  border-radius: var(--radius);
}

.pill-link,
.meta-row a {
  color: var(--color-wine);
  background: var(--color-wine-soft);
  border-color: rgba(136, 51, 61, 0.18);
}

.pill-link:hover,
.meta-row a:hover {
  color: var(--color-navy);
  border-color: var(--color-gold);
}

.narrow-content {
  max-width: 820px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.main-article {
  overflow: hidden;
}

.novena-tutorial-container {
  max-width: 980px;
}

.novena-tutorial {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.76);
}

.novena-progress-panel {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding: 24px 26px;
  background:
    linear-gradient(135deg, rgba(255, 247, 222, 0.7), rgba(255, 253, 248, 0.9)),
    #fffdf8;
  border: 1px solid rgba(195, 163, 90, 0.34);
  border-radius: var(--radius);
  box-shadow: 0 14px 38px rgba(95, 72, 30, 0.08);
}

.novena-progress-panel strong {
  display: block;
  margin-bottom: 6px;
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: 1.45rem;
  line-height: 1.12;
}

.novena-progress-panel p:last-child {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.64;
}

.novena-progress-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.novena-progress-actions form {
  margin: 0;
}

.novena-progress-state {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  color: var(--color-wine);
  font-weight: 900;
  background: var(--color-wine-soft);
  border: 1px solid rgba(136, 51, 61, 0.14);
  border-radius: 999px;
}

.novena-progress-state-complete {
  color: #5d481b;
  background: #fff7de;
  border-color: #ead89d;
}

.novena-reset-button,
.novena-uncomplete-button {
  padding: 0;
  color: var(--color-muted);
  font-weight: 800;
  background: transparent;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.novena-reset-button:hover,
.novena-reset-button:focus,
.novena-uncomplete-button:hover,
.novena-uncomplete-button:focus {
  color: var(--color-wine);
}

.article-block {
  padding: 40px;
  border-bottom: 1px solid var(--color-line);
}

.article-block:last-child {
  border-bottom: 0;
}

.article-block h2 {
  margin: 0 0 14px;
  font-size: 2rem;
  line-height: 1.08;
}

.article-block p {
  color: var(--color-muted);
  font-size: 1.04rem;
  line-height: 1.82;
}

.article-block p:last-child {
  margin-bottom: 0;
}

.text-surface {
  padding: 34px;
  font-size: 1.08rem;
  line-height: 1.82;
}

.prayer-text {
  color: var(--color-ink-soft);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.78;
  white-space: pre-line;
}

.side-panel {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 118px;
}

.side-card {
  padding: 26px;
}

.side-card h2 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  line-height: 1.12;
}

.side-card p {
  color: var(--color-muted);
}

.side-card .btn {
  width: 100%;
}

.pastoral-note {
  margin: 34px;
  padding: 22px;
  color: #71551a;
  background: #fff7de;
  border: 1px solid #ead89d;
  border-radius: var(--radius);
}

.pastoral-note strong {
  display: block;
  margin-bottom: 8px;
  color: #604814;
}

.pastoral-note p {
  margin-bottom: 0;
  color: #71551a;
}

.routine-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
  color: var(--color-muted);
  line-height: 1.75;
}

.novena-simple-steps {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 24px;
  color: var(--color-muted);
  line-height: 1.72;
}

.novena-simple-steps li::marker {
  color: var(--color-wine);
  font-weight: 800;
}

.novena-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.novena-info-card {
  padding: 20px;
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.novena-info-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--color-wine);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.novena-info-card p {
  margin-bottom: 0;
  font-size: 0.98rem;
  line-height: 1.72;
}

.novena-guidance-note {
  margin-top: 18px;
  padding: 18px 20px;
  color: var(--color-ink-soft);
  font-size: 1.02rem;
  line-height: 1.72;
  background: #fff7de;
  border: 1px solid #ead89d;
  border-radius: var(--radius);
}

.novena-prayer-guide {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.novena-guide-card {
  padding: 24px;
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.novena-guide-card-featured {
  background:
    linear-gradient(135deg, rgba(255, 247, 222, 0.88), rgba(255, 253, 248, 0.9)),
    #fffdf8;
  border-color: rgba(195, 163, 90, 0.42);
}

.novena-guide-card .eyebrow {
  margin-bottom: 14px;
}

.novena-guide-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding-left: 22px;
  color: var(--color-muted);
  line-height: 1.68;
}

.novena-guide-list li::marker {
  color: var(--color-wine);
  font-weight: 800;
}

.novena-check-list,
.novena-related-devotions {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.novena-check-list li,
.novena-related-devotions li {
  position: relative;
  padding: 14px 16px 14px 42px;
  color: var(--color-muted);
  line-height: 1.65;
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.novena-check-list li::before,
.novena-related-devotions li::before {
  position: absolute;
  top: 17px;
  left: 17px;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--color-gold);
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(195, 163, 90, 0.14);
}

.novena-question-list {
  display: grid;
  gap: 12px;
}

.novena-question-card {
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.novena-question-card summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--color-ink);
  font-weight: 800;
  line-height: 1.4;
}

.novena-question-card p {
  margin: 0;
  padding: 0 20px 20px;
}

.novena-day-list {
  display: grid;
  gap: 18px;
}

.novena-day-card {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 26px;
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.novena-day-card-completed {
  background:
    linear-gradient(135deg, rgba(255, 247, 222, 0.58), rgba(255, 253, 248, 0.9)),
    #fffdf8;
  border-color: rgba(195, 163, 90, 0.46);
  box-shadow: inset 4px 0 0 rgba(195, 163, 90, 0.56);
}

.novena-day-header {
  display: grid;
  gap: 8px;
}

.novena-day-number {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 6px 11px;
  color: var(--color-wine);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  background: var(--color-wine-soft);
  border: 1px solid rgba(136, 51, 61, 0.16);
  border-radius: 999px;
}

.novena-day-status {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 6px 10px;
  color: #5d481b;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  background: #fff7de;
  border: 1px solid #ead89d;
  border-radius: 999px;
}

.novena-day-card h3 {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.08;
}

.novena-day-card p {
  color: var(--color-muted);
}

.novena-step {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(232, 221, 205, 0.82);
  border-radius: var(--radius);
}

.novena-step-label {
  color: var(--color-wine);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.novena-step h4 {
  margin: 0;
  color: var(--color-ink);
  font-size: 1.14rem;
}

.novena-step blockquote {
  margin: 0;
  padding-left: 18px;
  color: var(--color-ink-soft);
  font-family: var(--font-heading);
  font-size: 1.14rem;
  font-weight: 600;
  line-height: 1.68;
  border-left: 2px solid var(--color-gold);
}

.novena-repetition-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.novena-repetition-list li {
  width: fit-content;
  padding: 8px 12px;
  color: var(--color-ink);
  font-weight: 800;
  background: #fff7de;
  border: 1px solid #ead89d;
  border-radius: 999px;
}

.novena-day-prayer {
  padding-left: 18px;
  color: var(--color-ink-soft);
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.72;
  border-left: 2px solid var(--color-gold);
}

.novena-day-step {
  margin-bottom: 0;
  background: #fff7de;
  border: 1px solid #ead89d;
}

.novena-day-step p {
  margin: 0;
}

.novena-complete-placeholder {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--color-subtle);
  font-size: 0.88rem;
  font-weight: 800;
  background: rgba(238, 227, 210, 0.42);
  border: 1px dashed rgba(151, 126, 83, 0.38);
  border-radius: var(--radius);
}

.novena-day-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 12px 14px;
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.novena-day-actions form {
  margin: 0;
}

.novena-complete-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  color: #fffdf8;
  font-weight: 900;
  background: var(--color-wine);
  border: 1px solid var(--color-wine);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(136, 51, 61, 0.14);
}

.novena-complete-button:hover,
.novena-complete-button:focus {
  background: var(--color-navy);
  border-color: var(--color-navy);
}

.novena-complete-state {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 9px 13px;
  color: #5d481b;
  font-weight: 900;
  background: #fff7de;
  border: 1px solid #ead89d;
  border-radius: 999px;
}

.related-intention-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.related-intention-list a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 6px 11px;
  color: var(--color-wine);
  font-size: 0.9rem;
  font-weight: 800;
  background: var(--color-wine-soft);
  border: 1px solid rgba(136, 51, 61, 0.18);
  border-radius: 999px;
}

.related-intention-list a:hover,
.related-intention-list a:focus {
  color: var(--color-navy);
  border-color: var(--color-gold);
}

.empty-state {
  padding: 22px;
  color: var(--color-muted);
}

.highlight-panel {
  padding: 34px;
}

.list-title {
  margin-bottom: 16px;
  font-size: 1.55rem;
}

.link-list {
  display: grid;
  gap: 12px;
}

.link-list a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 17px 18px;
  color: var(--color-ink);
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(55, 43, 25, 0.05);
}

.link-list a:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-soft);
}

.link-list span {
  font-weight: 700;
}

.link-list small {
  color: var(--color-muted);
}

.quiz-form {
  max-width: 1040px;
}

.quiz-option {
  display: flex;
  gap: 14px;
  min-height: 142px;
  padding: 22px;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.quiz-option:hover,
.quiz-option:focus-within {
  border-color: rgba(195, 163, 90, 0.72);
  box-shadow: var(--shadow-lifted);
  transform: translateY(-3px);
}

.quiz-option:has(input:checked) {
  background: #fff9ea;
  border-color: var(--color-gold);
}

.quiz-option input {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--color-navy);
}

.quiz-option strong,
.quiz-option small {
  display: block;
}

.quiz-option strong {
  margin-bottom: 7px;
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: 1.38rem;
  line-height: 1.1;
}

.quiz-option small {
  color: var(--color-muted);
  line-height: 1.55;
}

.quiz-actions {
  margin-top: 28px;
}

.recommendation-note {
  margin-top: 26px;
  padding: 30px;
}

.recommendation-note p:last-child {
  margin-bottom: 0;
}

.alert {
  border-radius: var(--radius);
}

.site-footer {
  position: relative;
  padding: 38px 0 46px;
  color: var(--color-muted);
  background:
    radial-gradient(circle at 90% 35%, rgba(195, 163, 90, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(241, 234, 223, 0.86), rgba(251, 247, 239, 0.94));
  border-top: 1px solid rgba(195, 163, 90, 0.42);
}

.footer-top-ornament {
  position: absolute;
  top: -10px;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
}

.footer-top-ornament::before,
.footer-top-ornament::after {
  width: min(45vw, 520px);
  height: 1px;
  content: "";
  background: rgba(195, 163, 90, 0.38);
}

.footer-top-ornament span {
  position: relative;
  width: 20px;
  height: 20px;
  margin: 0 10px;
}

.footer-top-ornament span::before,
.footer-top-ornament span::after {
  position: absolute;
  inset: 50% auto auto 50%;
  content: "";
  background: currentColor;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.footer-top-ornament span::before {
  width: 20px;
  height: 1px;
}

.footer-top-ornament span::after {
  width: 1px;
  height: 20px;
}

.footer-container {
  max-width: 1200px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(190px, 0.62fr) minmax(260px, 0.82fr);
  gap: 48px;
  align-items: center;
}

.footer-brand,
.footer-links,
.footer-verse {
  min-height: 178px;
}

.footer-lockup {
  margin-bottom: 22px;
}

.footer-logo {
  display: block;
  width: 184px;
  max-width: 100%;
  height: auto;
}

.footer-medal {
  flex-basis: 64px;
  width: 64px;
  height: 64px;
}

.footer-medal svg {
  width: 48px;
  height: 48px;
}

.footer-brand p {
  max-width: 410px;
  margin: 0;
  color: var(--color-muted);
  line-height: 1.68;
}

.footer-links {
  display: grid;
  gap: 12px;
  align-content: center;
  padding-left: 48px;
  border-left: 1px solid rgba(195, 163, 90, 0.34);
}

.footer-links a,
.footer-links button {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  width: fit-content;
  padding: 0;
  color: var(--color-ink-soft);
  background: transparent;
  border: 0;
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.1;
  text-align: left;
}

.footer-links a span,
.footer-links button span {
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--color-wine);
}

.footer-links a:hover span,
.footer-links button:hover span {
  transform: translateX(3px);
}

.footer-verse {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-left: 48px;
  overflow: hidden;
  text-align: center;
  border-left: 1px solid rgba(195, 163, 90, 0.34);
}

.footer-quote-mark {
  display: block;
  margin-bottom: 2px;
  color: rgba(185, 144, 67, 0.88);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.6rem;
  line-height: 0.68;
}

.footer-verse > span:not(.footer-quote-mark):not(.footer-dove) {
  display: block;
  position: relative;
  z-index: 1;
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.05;
}

.footer-cross-rule {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 18px 0 10px;
  color: var(--color-gold);
}

.footer-cross-rule::before,
.footer-cross-rule::after {
  width: 46px;
  height: 1px;
  content: "";
  background: rgba(195, 163, 90, 0.55);
}

.footer-cross-rule span {
  position: relative;
  width: 14px;
  height: 14px;
}

.footer-cross-rule span::before,
.footer-cross-rule span::after {
  position: absolute;
  inset: 50% auto auto 50%;
  content: "";
  background: currentColor;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.footer-cross-rule span::before {
  width: 14px;
  height: 1px;
}

.footer-cross-rule span::after {
  width: 1px;
  height: 14px;
}

.footer-verse small {
  position: relative;
  z-index: 1;
  color: var(--color-muted);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
}

.footer-dove {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 168px;
  color: rgba(195, 163, 90, 0.13);
}

.footer-dove svg {
  width: 100%;
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .saint-hero-card,
  .section-heading,
  .content-card,
  .saint-feature-card,
  .quiz-cta-card,
  .support-card {
    animation: soft-rise 520ms ease both;
  }

  .saint-hero-card {
    animation-delay: 80ms;
  }
}

@keyframes soft-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1199.98px) {
  .home-hero h1 {
    font-size: 3.7rem;
  }

  .home-hero-grid {
    gap: 42px;
  }

  .intention-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .novenas-heading h2 {
    font-size: 4.3rem;
  }

  .quiz-cta-card {
    padding-right: 56px;
  }

  .quiz-cta-card h2 {
    font-size: 3rem;
  }

  .footer-grid {
    gap: 34px;
  }

  .footer-links,
  .footer-verse {
    padding-left: 34px;
  }
}

@media (max-width: 991.98px) {
  .site-navbar {
    min-height: 74px;
    padding: 10px 0;
  }

  .brand-logo-mark {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  .brand-logo-mark img {
    left: -19px;
    width: 86px;
  }

  .brand-medal {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  .brand-medal svg {
    width: 36px;
    height: 36px;
  }

  .brand-symbol {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }

  .brand-name {
    font-size: 1.38rem;
  }

  .site-header .brand-name {
    font-size: 1.42rem;
  }

  .brand-subtitle {
    font-size: 0.86rem;
  }

  .site-header .brand-subtitle {
    font-size: 0.86rem;
  }

  .site-navbar-collapse {
    margin-top: 14px;
    padding: 18px 0 8px;
    border-top: 1px solid var(--color-line);
  }

  .site-nav-list {
    gap: 2px;
  }

  .navbar .nav-link {
    padding: 10px 0;
  }

  .navbar .nav-link::after {
    right: auto;
    left: 0;
    width: 42px;
  }

  .support-nav-button {
    width: 100%;
    margin-top: 12px;
  }

  .site-nav-actions,
  .auth-nav-actions,
  .account-nav-card {
    width: 100%;
  }

  .site-nav-actions {
    display: grid;
    gap: 12px;
    margin-top: 14px;
  }

  .auth-nav-actions {
    justify-content: stretch;
  }

  .language-switcher {
    width: fit-content;
  }

  .auth-nav-button {
    width: 100%;
  }

  .account-nav-card {
    justify-content: space-between;
  }

  .auth-shell,
  .account-panel {
    grid-template-columns: 1fr;
  }

  .auth-intro {
    min-height: auto;
    padding: 48px;
  }

  .auth-intro h1 {
    font-size: 3.25rem;
  }

  .account-panel {
    align-items: start;
  }

  .home-hero {
    padding: 68px 0 62px;
  }

  .home-hero-grid,
  .novena-layout,
  .content-layout,
  .quiz-cta-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .home-hero h1,
  .page-hero h1 {
    font-size: 3.1rem;
  }

  .saint-hero-card {
    min-height: auto;
  }

  .saint-medallion {
    margin-right: auto;
    margin-left: auto;
  }

  .page-section {
    padding: 70px 0;
  }

  .section-heading h2,
  .highlight-panel h2,
  .quiz-cta-card h2,
  .support-card h2 {
    font-size: 2.55rem;
  }

  .intention-grid,
  .card-grid,
  .result-grid,
  .prayer-grid,
  .novena-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .saint-feature-card {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .saint-feature-action {
    grid-column: 1 / -1;
  }

  .saint-day-band {
    grid-template-columns: 112px minmax(0, 1fr);
    padding: 34px;
  }

  .saint-day-emblem {
    width: 104px;
    height: 104px;
    justify-self: center;
  }

  .saint-day-emblem svg {
    width: 76px;
    height: 76px;
  }

  .prayers-section .prayer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .novenas-section {
    padding: 86px 0 94px;
  }

  .novenas-heading {
    margin-bottom: 44px;
  }

  .novenas-heading h2 {
    font-size: 3.7rem;
  }

  .novena-progress-card {
    min-height: auto;
  }

  .novena-progress-card h3 {
    font-size: 2.65rem;
  }

  .progress-preview-card,
  .side-panel {
    position: static;
  }

  .novena-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quiz-cta-card {
    align-items: start;
    gap: 24px;
    min-height: auto;
    padding: 42px 38px 42px 72px;
  }

  .quiz-rail {
    top: 28px;
    bottom: 28px;
    left: 32px;
  }

  .quiz-cta-button {
    width: fit-content;
  }

  .support-card {
    padding: 46px 42px 32px;
  }

  .footer-grid {
    gap: 28px;
    align-items: start;
  }

  .footer-brand,
  .footer-links,
  .footer-verse {
    min-height: auto;
  }

  .footer-links,
  .footer-verse {
    padding-top: 24px;
    padding-left: 0;
    border-top: 1px solid rgba(195, 163, 90, 0.28);
    border-left: 0;
  }

  .footer-verse {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 767.98px) {
  .auth-page {
    padding: 58px 0 72px;
  }

  .auth-intro,
  .auth-card,
  .account-panel {
    padding: 26px;
  }

  .auth-cross {
    width: 88px;
    height: 88px;
    margin-bottom: 30px;
  }

  .auth-intro h1 {
    font-size: 2.55rem;
  }

  .auth-card-heading h2,
  .account-panel h2 {
    font-size: 2.08rem;
  }

  .account-details dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .account-novena-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .account-avatar {
    width: 92px;
    height: 92px;
  }

  .home-hero h1,
  .page-hero h1 {
    font-size: 2.55rem;
  }

  .hero-text,
  .page-hero p:not(.eyebrow):not(.hero-note) {
    font-size: 1rem;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions .btn,
  .hero-secondary-button,
  .saint-hero-card .card-button {
    min-width: 0;
  }

  .page-section {
    padding: 58px 0;
  }

  .section-heading h2,
  .highlight-panel h2,
  .quiz-cta-card h2,
  .support-card h2 {
    font-size: 2.2rem;
  }

  .intentions-section {
    padding: 72px 0 80px;
  }

  .section-kicker {
    gap: 14px;
  }

  .section-kicker span {
    width: 56px;
  }

  .intentions-heading {
    margin-bottom: 42px;
  }

  .intentions-heading h2 {
    font-size: 2.45rem;
  }

  .intentions-heading > p {
    font-size: 1rem;
  }

  .intention-grid,
  .card-grid,
  .result-grid,
  .quiz-grid,
  .prayer-grid,
  .novena-card-grid {
    grid-template-columns: 1fr;
  }

  .content-card,
  .intention-card,
  .prayer-card,
  .novena-card {
    min-height: auto;
  }

  .saint-hero-card,
  .saint-feature-card,
  .quiz-cta-card,
  .support-card,
  .article-block,
  .text-surface,
  .recommendation-note {
    padding: 26px;
  }

  .novena-info-grid {
    grid-template-columns: 1fr;
  }

  .novena-progress-panel {
    align-items: stretch;
    flex-direction: column;
    padding: 22px;
  }

  .novena-progress-actions {
    justify-content: flex-start;
  }

  .saint-hero-card::before {
    inset: 6px;
  }

  .saint-seal {
    width: 86px;
    height: 86px;
  }

  .saint-medallion {
    width: 112px;
    height: 112px;
    margin-bottom: 26px;
  }

  .saint-medallion svg {
    width: 82px;
    height: 82px;
  }

  .saint-hero-card h2 {
    font-size: 2.25rem;
  }

  .saint-hero-card .card-button {
    width: 100%;
  }

  .saint-feature-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .saint-feature-section {
    padding: 54px 0 30px;
  }

  .saint-day-band {
    padding: 28px;
  }

  .saint-feature-icon {
    width: 82px;
    height: 82px;
  }

  .saint-day-emblem {
    width: 104px;
    height: 104px;
  }

  .saint-feature-card h2 {
    font-size: 2.1rem;
  }

  .saint-day-button {
    width: 100%;
    min-width: 0;
  }

  .prayers-section {
    padding: 48px 0 78px;
  }

  .prayers-heading {
    margin-bottom: 34px;
  }

  .prayers-heading h2 {
    font-size: 2.35rem;
  }

  .prayers-heading > p {
    font-size: 1rem;
  }

  .prayers-section .prayer-grid {
    grid-template-columns: 1fr;
  }

  .home-ending-section {
    padding: 62px 0 52px;
  }

  .ending-leaf,
  .quiz-basilica-mark {
    display: none;
  }

  .quiz-cta-card {
    padding: 34px 28px;
  }

  .quiz-rail {
    display: none;
  }

  .quiz-cta-card h2 {
    font-size: 2.28rem;
  }

  .quiz-cta-card p:not(.eyebrow) {
    font-size: 1rem;
  }

  .quiz-cta-button,
  .support-card-button {
    width: 100%;
    min-width: 0;
  }

  .support-card {
    margin-top: 26px;
    padding: 36px 28px 28px;
  }

  .support-card::before {
    inset: 8px;
  }

  .support-ornament {
    height: 56px;
    margin-bottom: 8px;
  }

  .support-ornament span {
    width: 56px;
    height: 56px;
    margin: 0 14px;
  }

  .support-ornament span::before {
    top: 16px;
    left: 18px;
    width: 21px;
    height: 20px;
  }

  .support-ornament span::after {
    top: 10px;
    left: 27px;
    height: 21px;
  }

  .support-note {
    align-items: flex-start;
    text-align: left;
  }

  .site-footer {
    padding: 34px 0 38px;
  }

  .footer-lockup {
    align-items: flex-start;
  }

  .footer-links {
    gap: 10px;
  }

  .footer-quote-mark {
    font-size: 3.6rem;
  }

  .footer-verse > span:not(.footer-quote-mark):not(.footer-dove) {
    font-size: 1.7rem;
  }

  .footer-dove {
    right: 0;
    width: 130px;
  }

  .novenas-section {
    padding: 70px 0 78px;
  }

  .novenas-section::before,
  .novenas-section::after,
  .novena-background-mark {
    display: none;
  }

  .novenas-top-ornament {
    width: 188px;
  }

  .novenas-heading h2 {
    font-size: 2.85rem;
  }

  .novenas-heading > p:last-child {
    font-size: 1rem;
  }

  .novenas-section .novena-card {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: auto;
    padding: 28px;
  }

  .novena-icon-tile {
    width: 72px;
    height: 72px;
  }

  .novenas-section .novena-card h3 {
    font-size: 1.58rem;
  }

  .novena-progress-card {
    padding: 34px 28px 30px;
  }

  .novena-progress-card h3 {
    font-size: 2.35rem;
  }

  .progress-days {
    gap: 6px;
  }

  .novena-chaplet-mark svg {
    width: 124px;
  }

  .pastoral-note {
    margin: 24px;
  }

  .prayer-text {
    font-size: 1.18rem;
  }

  .link-list a {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .auth-intro,
  .auth-card,
  .account-panel {
    padding: 22px;
  }

  .auth-intro h1 {
    font-size: 2.08rem;
  }

  .google-auth-button {
    min-height: 54px;
  }

  .brand-lockup {
    gap: 10px;
  }

  .brand-logo-mark {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }

  .brand-logo-mark img {
    left: -17.5px;
    width: 79px;
  }

  .brand-medal {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .brand-medal svg {
    width: 31px;
    height: 31px;
  }

  .brand-symbol {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .brand-subtitle {
    font-size: 0.78rem;
  }

  .home-hero h1,
  .page-hero h1 {
    font-size: 2.05rem;
  }

  .intentions-heading h2 {
    font-size: 2.16rem;
  }

  .intentions-heading .eyebrow {
    letter-spacing: 0.18em;
  }

  .intentions-ornament {
    width: 152px;
  }

  .prayers-heading h2 {
    font-size: 2.08rem;
  }

  .prayers-ornament {
    width: 150px;
  }

  .novenas-heading h2 {
    font-size: 2.3rem;
  }

  .novenas-top-ornament {
    width: 156px;
  }

  .novenas-section .novena-card,
  .novena-progress-card {
    padding: 22px;
  }

  .progress-days {
    gap: 4px;
  }

  .saint-hero-card h2,
  .section-heading h2,
  .highlight-panel h2,
  .quiz-cta-card h2,
  .support-card h2 {
    font-size: 2rem;
  }

  .content-card,
  .saint-hero-card,
  .saint-feature-card,
  .quiz-cta-card,
  .support-card,
  .side-card {
    padding: 22px;
  }

  .section-heading.novenas-heading h2 {
    font-size: 2.3rem;
  }

  .quiz-cta-card {
    padding: 28px 22px;
  }

  .quiz-cta-card h2,
  .support-card h2 {
    font-size: 2rem;
  }

  .support-card {
    padding: 30px 22px 24px;
  }
}

.privacy-hero {
  padding-bottom: 54px;
}

.privacy-container {
  max-width: 1040px;
}

.privacy-hero p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.privacy-section {
  padding-top: 28px;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.privacy-card {
  padding: 30px;
}

.privacy-card h2 {
  margin-bottom: 12px;
  font-size: 1.55rem;
}

.privacy-card p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.7;
}

.tracking-consent {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 1040;
  display: flex;
  max-width: 940px;
  margin: 0 auto;
  padding: 20px 22px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--color-ink);
  background: rgba(255, 253, 248, 0.98);
  border: 1px solid rgba(195, 148, 63, 0.48);
  border-radius: 18px;
  box-shadow: 0 18px 54px rgba(36, 28, 16, 0.2);
  backdrop-filter: blur(18px);
}

.tracking-consent[hidden] {
  display: none;
}

.tracking-consent-copy {
  max-width: 640px;
}

.tracking-consent-copy strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.tracking-consent-copy p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.55;
}

.tracking-consent-copy a {
  color: var(--color-navy);
  font-weight: 700;
}

.tracking-consent-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.tracking-consent-primary,
.tracking-consent-secondary {
  min-height: 44px;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
}

.tracking-consent-primary {
  color: #fff;
  background: var(--color-navy);
  border: 1px solid var(--color-navy);
}

.tracking-consent-secondary {
  color: var(--color-navy);
  background: transparent;
  border: 1px solid rgba(15, 53, 91, 0.35);
}

.support-modal .modal-dialog {
  width: calc(100% - 32px);
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
}

.support-modal-content {
  overflow: hidden;
  background: var(--color-paper);
  border: 1px solid rgba(195, 163, 90, 0.52);
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(23, 35, 60, 0.24);
}

.support-modal-header {
  gap: 24px;
  align-items: flex-start;
  padding: 28px 32px 24px;
  background: var(--color-paper-warm);
  border-bottom: 1px solid var(--color-line);
}

.support-modal-header > div {
  min-width: 0;
}

.support-modal-title {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

.support-modal-description {
  margin: 9px 0 0;
  color: var(--color-muted);
  line-height: 1.55;
}

.support-modal-close {
  flex: 0 0 auto;
  margin: 2px 0 0;
  box-shadow: none;
}

.support-modal-close:focus-visible {
  outline: 3px solid rgba(136, 51, 61, 0.24);
  outline-offset: 3px;
}

.support-modal-body {
  padding: 0;
}

.support-options-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.support-method {
  min-width: 0;
  padding: 32px;
}

.support-method + .support-method {
  border-left: 1px solid var(--color-line);
}

.support-method-heading {
  min-height: 138px;
}

.support-method-heading h3 {
  margin: 0 0 8px;
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.support-method-heading p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.support-currency-fieldset {
  margin: 10px 0 20px;
  padding: 0;
  border: 0;
}

.support-currency-fieldset legend,
.support-pix-copy label {
  margin-bottom: 8px;
  color: var(--color-ink-soft);
  font-size: 0.8rem;
  font-weight: 700;
}

.support-currency-options {
  display: grid;
  overflow: hidden;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--color-paper);
  border: 1px solid var(--color-line-strong);
  border-radius: 6px;
}

.support-currency-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.support-currency-options label {
  display: grid;
  min-width: 0;
  min-height: 62px;
  align-content: center;
  justify-items: center;
  gap: 1px;
  padding: 9px 6px;
  color: var(--color-muted);
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.support-currency-options label + .support-currency-input + label {
  border-left: 1px solid var(--color-line);
}

.support-currency-options label strong {
  color: inherit;
  font-size: 0.9rem;
  letter-spacing: 0;
}

.support-currency-options label span {
  font-size: 0.76rem;
}

.support-currency-input:checked + label {
  color: var(--color-paper);
  background: var(--color-navy);
  box-shadow: inset 0 0 0 1px var(--color-navy);
}

.support-currency-input:focus-visible + label {
  position: relative;
  z-index: 1;
  outline: 3px solid rgba(195, 163, 90, 0.55);
  outline-offset: -3px;
}

.support-paypal-button,
.support-copy-button {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 800;
}

.support-paypal-button {
  gap: 10px;
  min-height: 54px;
  padding: 12px 18px;
  color: #142c4c;
  background: #ffc439;
  border: 1px solid #e6ad25;
  box-shadow: 0 12px 28px rgba(133, 92, 0, 0.14);
}

.support-paypal-button:hover,
.support-paypal-button:focus {
  color: #142c4c;
  background: #ffcf5c;
  border-color: #d69c12;
  transform: translateY(-1px);
}

.support-paypal-button:focus-visible,
.support-copy-button:focus-visible {
  outline: 3px solid rgba(25, 40, 69, 0.24);
  outline-offset: 3px;
}

.support-paypal-currency {
  padding-left: 10px;
  border-left: 1px solid rgba(20, 44, 76, 0.28);
  letter-spacing: 0;
}

.support-pix-qr-frame {
  width: min(100%, 238px);
  margin: 10px auto 18px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--color-line-strong);
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(55, 43, 25, 0.08);
}

.support-pix-qr-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 492 / 505;
  object-fit: contain;
}

.support-pix-copy {
  display: grid;
}

.support-pix-copy textarea {
  width: 100%;
  min-height: 92px;
  padding: 11px 12px;
  resize: none;
  color: var(--color-ink-soft);
  background: var(--color-paper-warm);
  border: 1px solid var(--color-line-strong);
  border-radius: 6px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.72rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.support-pix-copy textarea:focus {
  border-color: var(--color-gold);
  outline: 3px solid rgba(195, 163, 90, 0.2);
}

.support-copy-button {
  gap: 9px;
  min-height: 46px;
  margin-top: 10px;
  padding: 10px 14px;
  color: var(--color-paper);
  background: var(--color-navy);
  border: 1px solid var(--color-navy);
  cursor: pointer;
}

.support-copy-button:hover,
.support-copy-button:focus {
  color: var(--color-paper);
  background: var(--color-navy-hover);
}

.support-copy-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.support-copy-status {
  min-height: 20px;
  margin: 6px 0 0;
  color: var(--color-wine);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.support-method-note {
  margin: 16px 0 0;
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 767.98px) {
  .support-modal .modal-dialog {
    width: calc(100% - 20px);
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .support-modal-header {
    gap: 16px;
    padding: 22px 20px 20px;
  }

  .support-modal-title {
    font-size: 2rem;
  }

  .support-options-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .support-method {
    padding: 26px 22px;
  }

  .support-method + .support-method {
    border-top: 1px solid var(--color-line);
    border-left: 0;
  }

  .support-method-heading {
    min-height: 0;
  }

  .support-currency-fieldset,
  .support-pix-qr-frame {
    margin-top: 20px;
  }
}

@media (max-width: 420px) {
  .support-modal-title {
    font-size: 1.78rem;
  }

  .support-modal-description {
    font-size: 0.9rem;
  }

  .support-method {
    padding: 24px 18px;
  }

  .support-method-heading h3 {
    font-size: 1.75rem;
  }

  .support-pix-qr-frame {
    width: min(100%, 220px);
  }
}

@media (max-width: 767.98px) {
  .privacy-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tracking-consent {
    right: 14px;
    bottom: 14px;
    left: 14px;
    padding: 18px;
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .tracking-consent-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 420px) {
  .footer-logo {
    width: 160px;
  }

  .tracking-consent-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
