:root {
  --primary: #1f3a5f !important;
  --primary-dark: #16293f !important;
  --primary-darker: #16293f !important;
  --primary-light: #2e527f !important;
  --accent: #c9a24b !important;
  --gold: #c9a24b !important;
  --gold-dark: #a8842f !important;
  --background: #faf7f1 !important;
}

html { scroll-behavior: smooth; }
body { color: #20242b; background: #faf7f1; }
img, picture, video, canvas, svg, iframe { max-width: 100%; }
img, video { height: auto; }

body.swa-standalone-form-page {
  display: block !important;
  min-width: 0;
  min-height: 100vh;
  padding: 0 !important;
  background: #faf7f1 !important;
}
body.swa-standalone-form-page > .unsubscribe-container,
body.swa-standalone-form-page > .success-container,
body.swa-standalone-form-page > .container {
  width: min(600px, calc(100% - 32px));
  max-width: 600px;
  margin: clamp(24px, 6vw, 64px) auto;
}

.site-header,
#header-placeholder .site-header {
  border-bottom-color: #e4ddd0 !important;
  background: rgba(255, 255, 255, 0.97) !important;
}

.site-header .logo img,
#header-placeholder .logo img,
.site-footer .footer-logo img,
#footer-placeholder .footer-logo img {
  display: none !important;
}

.site-header .logo a::after,
#header-placeholder .logo a::after {
  content: "Sermon Writer AI";
  color: #1f3a5f;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.site-footer .footer-logo a::after,
#footer-placeholder .footer-logo a::after {
  content: "Sermon Writer AI";
  color: #fff;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.btn-primary,
.about-btn-primary,
.create-sermon-btn,
.floating-cta,
.plan-button {
  border-color: #1f3a5f !important;
  background: #1f3a5f !important;
  color: #fff !important;
}

.btn-primary:hover,
.about-btn-primary:hover,
.create-sermon-btn:hover,
.floating-cta:hover,
.plan-button:hover {
  background: #16293f !important;
}

.eyebrow,
.about-eyebrow,
.plan-kicker,
.section-kicker {
  color: #a8842f !important;
}

.site-header .main-nav a.active,
.site-header .main-nav a:hover,
#header-placeholder .main-nav a.active,
#header-placeholder .main-nav a:hover {
  color: #1f3a5f !important;
}

.site-footer,
#footer-placeholder .site-footer {
  background: #16293f !important;
}

@media (max-width: 768px) {
  .site-header .main-nav,
  #header-placeholder .main-nav {
    background: #faf7f1 !important;
  }
}

/* Canonical public chrome: identical to the homepage on every public page. */
.topbar.swa-public-header {
  position: sticky;
  top: 0;
  z-index: 9000;
  padding: 0;
  background: rgba(255,255,255,.94) !important;
  color: #20242b;
  border-bottom: 1px solid #e4ddd0 !important;
  box-shadow: 0 8px 24px rgba(31,58,95,.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.topbar.swa-public-header .container {
  display: flex;
  width: 100%;
  max-width: 1080px;
  min-height: 64px;
  margin: 0 auto;
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
}
.topbar.swa-public-header .brand {
  color: #1f3a5f;
  font-family: Georgia, "Iowan Old Style", serif;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.topbar.swa-public-header .brand .ai { color: #c9a24b; }
.topbar.swa-public-header .topnav ul {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 22px;
  list-style: none;
}
.topbar.swa-public-header .topnav a {
  display: inline-flex;
  color: #1f3a5f;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
}
.topbar.swa-public-header .topnav a:hover,
.topbar.swa-public-header .topnav a.active {
  color: #16293f !important;
  text-decoration: underline;
}
.topbar.swa-public-header .topnav .public-header-signup {
  padding: 8px 14px;
  border-radius: 8px;
  background: #1f3a5f;
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
}
.topbar.swa-public-header .topnav .public-header-signup:hover {
  background: #16293f;
  text-decoration: none;
}
.topbar.swa-public-header .mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 8px;
  border: 1px solid #e4ddd0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.topbar.swa-public-header .mobile-menu-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: #1f3a5f;
  transition: transform .2s, opacity .2s;
}
.topbar.swa-public-header .mobile-menu-toggle.active .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.topbar.swa-public-header .mobile-menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.topbar.swa-public-header .mobile-menu-toggle.active .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.footer.swa-public-footer {
  margin-top: 40px;
  padding: 30px 0;
  background: #16293f !important;
  color: #c3cfdc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  text-align: center;
}
.footer.swa-public-footer .container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer.swa-public-footer p { margin: 0; }
.footer.swa-public-footer a { color: #e7eef6; }
.footer.swa-public-footer { padding:52px 0 22px;text-align:left; }
.footer.swa-public-footer .public-footer-grid { display:grid;grid-template-columns:minmax(220px,1.45fr) repeat(4,minmax(120px,1fr));gap:34px; }
.footer.swa-public-footer .public-footer-brand { max-width:300px; }
.footer.swa-public-footer .public-footer-logo { display:inline-block;color:#fff;font-family:Georgia,"Iowan Old Style",serif;font-size:24px;font-weight:800;text-decoration:none; }
.footer.swa-public-footer .public-footer-logo span { color:#c9a24b; }
.footer.swa-public-footer .public-footer-brand>p { margin:13px 0 18px;color:#c3cfdc;line-height:1.65; }
.footer.swa-public-footer .public-footer-column { display:flex;flex-direction:column;align-items:flex-start;gap:9px; }
.footer.swa-public-footer .public-footer-column h2 { margin:0 0 7px;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-size:15px;font-weight:800; }
.footer.swa-public-footer .public-footer-column a { color:#cbd6e2;font-size:13px;line-height:1.45; }
.footer.swa-public-footer .public-footer-column a:hover { color:#fff; }
.footer.swa-public-footer .public-footer-social { display:flex;gap:9px; }
.footer.swa-public-footer .public-footer-social a { display:inline-flex;width:36px;height:36px;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.18);border-radius:8px;color:#c9a24b; }
.footer.swa-public-footer .public-footer-social a:hover { background:rgba(255,255,255,.08);text-decoration:none; }
.footer.swa-public-footer .public-footer-bottom { display:flex;justify-content:space-between;gap:20px;margin-top:36px;padding-top:19px;border-top:1px solid rgba(255,255,255,.14);color:#98a9bb;font-size:12px; }

@media (max-width: 860px) {
  body.swa-shared-shell { min-width:0;overflow-wrap:break-word; }
  body.swa-shared-shell h1,
  body.swa-shared-shell h2,
  body.swa-shared-shell h3,
  body.swa-shared-shell h4,
  body.swa-shared-shell p,
  body.swa-shared-shell li,
  body.swa-shared-shell a,
  body.swa-shared-shell button,
  body.swa-shared-shell label { overflow-wrap:anywhere; }
  .topbar.swa-public-header .mobile-menu-toggle {
    position: relative;
    z-index: 9002;
    display: block;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }
  .topbar.swa-public-header .container { gap:12px; }
  .topbar.swa-public-header .brand { min-width:0;overflow:hidden;text-overflow:ellipsis; }
  .topbar.swa-public-header .main-nav {
    position: fixed;
    inset: 64px 0 auto;
    z-index: 9001;
    display: none;
    width: 100%;
    height: auto;
    padding: 18px;
    overflow: visible;
    background: #fff !important;
    border-bottom: 1px solid #e4ddd0;
    box-shadow: 0 16px 30px rgba(22,41,63,.14);
  }
  .topbar.swa-public-header .main-nav.active { display: block !important; }
  .topbar.swa-public-header .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .topbar.swa-public-header .main-nav li { width: 100%; }
  .topbar.swa-public-header .main-nav a {
    display: flex;
    width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 10px 14px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 15px;
  }
  .footer.swa-public-footer .public-footer-grid { grid-template-columns:1.25fr 1fr 1fr; }
  .footer.swa-public-footer .public-footer-brand { grid-column:1/-1;max-width:540px; }
  .footer.swa-public-footer .public-footer-column a { display:flex;min-height:40px;align-items:center;padding:5px 0; }
  .footer.swa-public-footer .public-footer-social a { width:44px;height:44px; }
  body.swa-shared-shell button,
  body.swa-shared-shell [role="button"],
  body.swa-shared-shell input[type="button"],
  body.swa-shared-shell input[type="submit"],
  body.swa-shared-shell input[type="reset"] { min-height:44px;touch-action:manipulation; }
  body.swa-shared-shell input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),
  body.swa-shared-shell select,
  body.swa-shared-shell textarea { min-height:48px;font-size:16px; }
}

@media (max-width: 600px) {
  .footer.swa-public-footer { padding-top:40px; }
  .footer.swa-public-footer .public-footer-grid { grid-template-columns:1fr 1fr;gap:28px 20px; }
  .footer.swa-public-footer .public-footer-brand { grid-column:1/-1; }
  .footer.swa-public-footer .public-footer-bottom { flex-direction:column;gap:4px; }
}

@media (max-width: 480px) {
  .topbar.swa-public-header .container,
  .footer.swa-public-footer .container { padding-right:16px;padding-left:16px; }
  .topbar.swa-public-header .container { min-height:60px; }
  .topbar.swa-public-header .brand { font-size:19px; }
  .topbar.swa-public-header .main-nav { inset:60px 0 auto;max-height:calc(100dvh - 60px);padding:12px 16px max(16px,env(safe-area-inset-bottom));overflow-y:auto; }
  .footer.swa-public-footer { padding-top:34px; }
  .footer.swa-public-footer .public-footer-grid { grid-template-columns:1fr;gap:0; }
  .footer.swa-public-footer .public-footer-brand { grid-column:auto;padding-bottom:24px; }
  .footer.swa-public-footer .public-footer-column { padding:20px 0;border-top:1px solid rgba(255,255,255,.12); }
  .footer.swa-public-footer .public-footer-bottom { margin-top:12px; }
  body.swa-standalone-form-page > .unsubscribe-container,
  body.swa-standalone-form-page > .success-container,
  body.swa-standalone-form-page > .container {
    width:calc(100% - 24px);
    margin:18px auto 32px;
    padding:22px 16px !important;
    border-radius:8px !important;
  }
  body.swa-standalone-form-page .preference-options,
  body.swa-standalone-form-page .image-upload-section,
  body.swa-standalone-form-page .info-box { padding:16px; }
  body.swa-standalone-form-page .preference-option { padding:14px 12px; }
  body.swa-standalone-form-page .preference-option label { align-items:flex-start; }
  body.swa-standalone-form-page .preference-option input[type="radio"] { width:22px;height:22px;flex:0 0 22px;margin-top:1px; }
  body.swa-standalone-form-page .preference-option p { margin-left:32px; }
  body.swa-standalone-form-page .rating-container { justify-content:space-between;gap:2px; }
  body.swa-standalone-form-page .star { display:inline-flex;width:44px;height:44px;align-items:center;justify-content:center;font-size:30px; }
  body.swa-standalone-form-page .file-input-label,
  body.swa-standalone-form-page .submit-btn,
  body.swa-standalone-form-page .btn { width:100%;min-height:48px;margin:6px 0;text-align:center; }
  body.swa-standalone-form-page .modal-overlay { padding:12px; }
  body.swa-standalone-form-page .modal-content { width:100%;max-height:calc(100dvh - 24px);overflow-y:auto;padding:24px 16px; }
}

/* Public shell copied from HomilyWriterAI, with Sermon Writer AI brand colors. */
body.swa-shared-shell {
  --shell-primary: #1f3a5f;
  --shell-primary-dark: #16293f;
  --shell-primary-light: #2e527f;
  --shell-gold: #c9a24b;
  --shell-ivory: #fffdf8;
  --shell-cream: #faf7f1;
  --shell-ink: #1b2430;
  --shell-line: rgba(31, 58, 95, 0.14);
}

body.swa-shared-shell .site-header,
body.swa-shared-shell #header-placeholder .site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 0;
  background: rgba(255, 253, 248, 0.96) !important;
  border-bottom: 1px solid var(--shell-line) !important;
  box-shadow: 0 10px 34px rgba(22, 41, 63, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.swa-shared-shell .site-header .container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

body.swa-shared-shell .site-header .header-content {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.2rem;
  align-items: center;
}

body.swa-shared-shell .site-header .logo a {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.55rem;
  background: #fff;
  border: 1px solid rgba(31, 58, 95, 0.1);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(22, 41, 63, 0.08);
}

body.swa-shared-shell .site-header .logo img,
body.swa-shared-shell #header-placeholder .logo img {
  display: block !important;
  width: auto;
  height: 48px !important;
}

body.swa-shared-shell .site-header .logo a::after,
body.swa-shared-shell #header-placeholder .logo a::after,
body.swa-shared-shell .site-footer .footer-logo a::after,
body.swa-shared-shell #footer-placeholder .footer-logo a::after {
  content: none !important;
}

body.swa-shared-shell .site-header .main-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: nowrap;
}

body.swa-shared-shell .site-header .main-nav li {
  flex: 0 0 auto;
  margin: 0;
}

body.swa-shared-shell .site-header .main-nav a.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.72rem;
  color: var(--shell-ink);
  border-radius: 999px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

body.swa-shared-shell .site-header .main-nav a.nav-link:hover,
body.swa-shared-shell .site-header .main-nav a.nav-link.active {
  color: var(--shell-primary) !important;
  background: rgba(31, 58, 95, 0.08);
}

body.swa-shared-shell .site-header .header-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: nowrap;
}

body.swa-shared-shell .site-header .btn-primary,
body.swa-shared-shell .site-header .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  font-family: "DM Sans", sans-serif;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

body.swa-shared-shell .site-header .btn-primary {
  color: #fff !important;
  background: linear-gradient(135deg, var(--shell-primary), var(--shell-primary-light)) !important;
  border: 1px solid var(--shell-primary) !important;
  box-shadow: 0 12px 26px rgba(31, 58, 95, 0.22);
}

body.swa-shared-shell .site-header .btn-secondary {
  color: var(--shell-primary-dark) !important;
  background: #fff !important;
  border: 1px solid var(--shell-line) !important;
}

body.swa-shared-shell .site-header .mobile-menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--shell-line);
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(22, 41, 63, 0.08);
}

body.swa-shared-shell .site-header .mobile-menu-toggle .bar {
  display: block;
  width: 22px;
  height: 3px;
  margin: 4px auto;
  background: var(--shell-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

body.swa-shared-shell .site-header .mobile-menu-toggle.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.swa-shared-shell .site-header .mobile-menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

body.swa-shared-shell .site-header .mobile-menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.swa-shared-shell .mobile-only {
  display: none !important;
}

body.swa-shared-shell [hidden],
body.swa-shared-shell .public-header-auth-only[hidden],
body.swa-shared-shell .public-header-guest-only[hidden] {
  display: none !important;
}

body.swa-shared-shell .site-footer {
  padding: 4.5rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(145deg, rgba(22, 41, 63, 0.98), rgba(31, 58, 95, 0.98)),
    url("/img/Religious-art-background.png") center/cover !important;
  border-top: 1px solid rgba(201, 162, 75, 0.35);
}

body.swa-shared-shell .site-footer .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

body.swa-shared-shell .site-footer .footer-content {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 2fr);
  gap: 3.5rem;
  align-items: flex-start;
}

body.swa-shared-shell .site-footer .footer-logo {
  display: block;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
}

body.swa-shared-shell .site-footer .footer-logo img {
  display: block !important;
  width: auto;
  height: 40px !important;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 12px;
}

body.swa-shared-shell .site-footer .footer-logo p {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

body.swa-shared-shell .site-footer .footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

body.swa-shared-shell .site-footer .footer-column h3 {
  margin: 0 0 1rem;
  color: #fff;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.08rem;
  letter-spacing: 0;
}

body.swa-shared-shell .site-footer .footer-column h3::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 0.55rem;
  background: var(--shell-gold);
}

body.swa-shared-shell .site-footer .footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.swa-shared-shell .site-footer .footer-column li {
  margin-bottom: 0.6rem;
}

body.swa-shared-shell .site-footer .footer-column a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

body.swa-shared-shell .site-footer .footer-column a:hover {
  padding-left: 0.2rem;
  color: #fff;
}

body.swa-shared-shell .site-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

body.swa-shared-shell .site-footer .footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
}

body.swa-shared-shell .site-footer .footer-social {
  display: flex;
  gap: 0.65rem;
}

body.swa-shared-shell .site-footer .footer-social a,
body.swa-shared-shell .back-to-top {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  text-decoration: none;
}

body.swa-shared-shell .site-footer .footer-social a:hover {
  color: var(--shell-ink);
  background: var(--shell-gold);
}

body.swa-shared-shell .floating-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.15rem;
  color: #fff !important;
  background: linear-gradient(135deg, var(--shell-primary), var(--shell-primary-light)) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 999px !important;
  box-shadow: 0 18px 38px rgba(31, 58, 95, 0.34) !important;
  cursor: pointer;
}

body.swa-shared-shell .floating-cta span {
  color: var(--shell-gold) !important;
}

body.swa-shared-shell .floating-cta a {
  color: #fff !important;
  font-family: "DM Sans", sans-serif;
  font-weight: 800;
  text-decoration: none;
}

body.swa-shared-shell .back-to-top {
  position: fixed;
  right: 22px;
  bottom: 82px;
  z-index: 998;
  display: none;
  background: var(--shell-primary);
  box-shadow: 0 14px 30px rgba(31, 58, 95, 0.28);
}

body.swa-shared-shell .swa-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 8999;
  display: none;
  background: rgba(22, 41, 63, 0.38);
  backdrop-filter: blur(2px);
}

body.swa-shared-shell .swa-menu-overlay.active {
  display: block;
}

@media (max-width: 1100px) {
  body.swa-shared-shell .site-header .container {
    padding: 0 1rem;
  }

  body.swa-shared-shell .site-header .main-nav a.nav-link {
    padding-inline: 0.52rem;
    font-size: 0.84rem;
  }
}

@media (max-width: 768px) {
  body.swa-shared-shell .site-header {
    padding: 0.65rem 0;
  }

  body.swa-shared-shell .site-header .header-content {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
  }

  body.swa-shared-shell .site-header .logo a {
    padding: 0.3rem 0.45rem;
    border-radius: 14px;
  }

  body.swa-shared-shell .site-header .logo img {
    height: 42px !important;
  }

  body.swa-shared-shell .site-header .header-buttons {
    display: none !important;
  }

  body.swa-shared-shell .site-header .mobile-menu-toggle {
    position: relative;
    z-index: 9999;
    display: flex !important;
    flex-direction: column;
  }

  body.swa-shared-shell .site-header .main-nav {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: none;
    width: 100%;
    height: 100vh;
    padding: 5.25rem 1rem 2rem;
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.99), rgba(250, 247, 241, 0.99)) !important;
    box-shadow: -18px 0 45px rgba(22, 41, 63, 0.14);
  }

  body.swa-shared-shell .site-header .main-nav.active {
    display: block !important;
  }

  body.swa-shared-shell .site-header .main-nav ul {
    display: flex;
    flex-direction: column;
    width: min(100%, 420px);
    margin: 0 auto;
    padding: 0;
    gap: 0.25rem;
  }

  body.swa-shared-shell .site-header .main-nav li {
    width: 100%;
    padding: 0.2rem 0;
    border-bottom: 1px solid rgba(31, 58, 95, 0.08);
    text-align: center;
  }

  body.swa-shared-shell .site-header .main-nav a.nav-link,
  body.swa-shared-shell .site-header .main-nav .btn-mobile-try {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 800;
  }

  body.swa-shared-shell .site-header .main-nav .btn-mobile-try {
    color: #fff !important;
    background: linear-gradient(135deg, var(--shell-primary), var(--shell-primary-light)) !important;
  }

  body.swa-shared-shell .mobile-only {
    display: block !important;
  }

  body.swa-shared-shell .desktop-only {
    display: none !important;
  }

  body.swa-shared-shell .site-footer {
    padding-top: 3rem;
  }

  body.swa-shared-shell .site-footer .container {
    padding: 0 1rem;
  }

  body.swa-shared-shell .site-footer .footer-content,
  body.swa-shared-shell .site-footer .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: left;
  }

  body.swa-shared-shell .site-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  body.swa-shared-shell .floating-cta {
    right: 12px;
    bottom: 12px;
    padding: 0.75rem 1rem !important;
  }

  body.swa-shared-shell .back-to-top {
    right: 14px;
    bottom: 72px;
  }
}
