/* The Stack Paper: masthead and footer only. Namespaced (tsp-) so it is safe on the moved calculator pages. */
.tsp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.tsp-mast { background: #f6f4ee; border-bottom: 1px solid #1c2733; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; }
.tsp-mast-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.tsp-brand { font-family: "Iowan Old Style", "Palatino Linotype", Charter, Georgia, serif; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: #1c2733; text-decoration: none; }
.tsp-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.tsp-nav a { color: #1c2733; font-weight: 600; font-size: 15px; text-decoration: none; }
.tsp-nav a:hover, .tsp-foot a:hover { text-decoration: underline; }
.tsp-foot { background: #f6f4ee; border-top: 3px double #1c2733; margin-top: 48px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; font-size: 13px; color: #5a6b7c; }
.tsp-foot-row { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 30px; flex-wrap: wrap; }
.tsp-foot nav { display: flex; gap: 18px; }
.tsp-foot a { color: #5a6b7c; text-decoration: none; }
