/* Shared on every page: the site footer and the account button in the header. Colors are literal so it renders the same with each page stylesheet. */
body footer.site-footer{display:block;position:relative;z-index:1;width:100%;max-width:none;margin:0;padding:48px max(44px,calc((100% - 1320px) / 2 + 44px)) 26px;background:#f6f1e4;border-top:1px solid #dce0c9;color:#34442f}
.site-footer .sf-top{display:grid;grid-template-columns:minmax(0,1.6fr) repeat(2,minmax(0,1fr));gap:40px}
.site-footer .wordmark{display:inline-block;font-size:30px;font-weight:600;letter-spacing:-2px;line-height:1;color:#2f362c;text-decoration:none}
.site-footer .sf-brand p{max-width:300px;margin:18px 0 0;font-size:13px;line-height:1.8;color:#7a836d}
.site-footer .sf-title{margin:0 0 16px;font-size:10px;font-weight:600;letter-spacing:1.4px;color:#7e876d}
.site-footer .sf-col{display:flex;flex-direction:column;align-items:flex-start;gap:11px;min-width:0}
.site-footer .sf-col a{display:inline-flex;align-items:center;gap:9px;max-width:100%;font-size:13px;line-height:1.5;color:#34442f;text-decoration:none;overflow-wrap:anywhere;transition:color .2s}
.site-footer .sf-col a:hover{color:#73804f}
.site-footer .sf-col svg{width:16px;height:16px;flex-shrink:0;fill:none;stroke:#73804f;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.site-footer .sf-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;margin-top:40px;padding-top:18px;border-top:1px solid #e2e2cf;font-size:11px;color:#8a937d}
.site-footer .sf-bottom div{display:flex;flex-wrap:wrap;gap:22px}
.site-footer .sf-bottom a{color:inherit;text-decoration:none}
.site-footer .sf-bottom a:hover{color:#34442f}
@media(max-width:1050px){body footer.site-footer{padding-inline:30px}.site-footer .sf-top{gap:28px}}
@media(max-width:900px){.site-footer .sf-top{grid-template-columns:repeat(2,minmax(0,1fr))}.site-footer .sf-brand{grid-column:1/-1}}
@media(max-width:760px){body footer.site-footer{padding:40px 22px 22px}.site-footer .sf-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 20px}.site-footer .sf-col:last-child{grid-column:1/-1}.site-footer .sf-bottom{margin-top:36px}}
/* Sign in and Sign up share one pill, like the switch on the account page. */
.nav-auth{display:inline-flex;flex-shrink:0;align-items:center;gap:4px;padding:4px;border:1px solid #c9cdad;border-radius:30px;background:#fffdf7aa}
.nav-auth-item{display:inline-flex;align-items:center;padding:7px 15px;border-radius:30px;font-size:11px;font-weight:500;line-height:1.4;color:#5f6555;text-decoration:none;white-space:nowrap;transition:background .15s,color .15s}
.nav-auth-item:hover{color:#2f362c}
.nav-auth-item.is-primary{background:#2f362c;color:#fbf5e9}
.nav-auth-item.is-primary:hover{background:#4f6041;color:#fbf5e9}
.nav-auth-item[hidden]{display:none}
.nav-avatar{display:inline-grid;flex:none;place-items:center;width:20px;height:20px;margin:-3px 8px -3px -9px;border-radius:50%;background:#fbf5e9;font-size:10px;font-weight:700;line-height:1;color:#2f362c}
.nav-name{max-width:140px;overflow:hidden;text-overflow:ellipsis}
@media(max-width:480px){.nav-name{max-width:84px}}
@media(max-width:380px){.nav-auth-item{padding:7px 11px;font-size:10px}}
/* Language menu, styled to match the account pill. */
.lang-picker{position:relative;flex-shrink:0}
.lang-button{display:inline-flex;align-items:center;gap:6px;height:39px;padding:0 13px;border:1px solid #c9cdad;border-radius:30px;background:#fffdf7aa;font:inherit;font-size:11px;font-weight:600;letter-spacing:.5px;color:#34442f;cursor:pointer;transition:background .15s}
.lang-button:hover,.lang-button[aria-expanded="true"]{background:#f1f0e1}
.lang-button svg{flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.lang-globe{width:15px;height:15px}
.lang-caret{width:10px;height:10px;transition:transform .15s}
.lang-button[aria-expanded="true"] .lang-caret{transform:rotate(180deg)}
.lang-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:30;display:flex;flex-direction:column;gap:2px;min-width:210px;padding:6px;border:1px solid #dedfcd;border-radius:14px;background:#fffdf7;box-shadow:0 14px 36px #2f362c1f}
.lang-menu[hidden]{display:none}
.lang-menu button{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;padding:9px 12px;border:0;border-radius:9px;background:none;font:inherit;font-size:13px;line-height:1.4;color:#34442f;text-align:start;cursor:pointer}
.lang-menu button:hover,.lang-menu button:focus-visible{background:#f1f0e1;outline:none}
.lang-menu button[aria-checked="true"]{background:#2f362c;color:#fbf5e9}
.lang-short{font-size:10px;font-weight:600;letter-spacing:.6px;opacity:.6}
@media(max-width:480px){.lang-globe{display:none}.lang-button{padding:0 11px}.nav-auth-item{padding:7px 11px}}
@media(max-width:360px){.nav-auth-item:not(.is-primary){display:none}}
/* The header (and its language menu) always sits above the page content. */
body header{position:relative;z-index:10}

.wordmark::after{content:"."}
.nav-burger{display:none;flex-direction:column;gap:4px;align-items:center;justify-content:center;width:40px;height:40px;border-radius:9px;background:transparent;border:0;padding:0;color:inherit;cursor:pointer;flex-shrink:0}
.nav-burger span{display:block;width:19px;height:2px;background:currentColor;border-radius:2px;transition:transform .2s,opacity .2s}
.nav-burger[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.nav-burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
@media(max-width:760px){.nav-burger{display:inline-flex}header{position:relative}header[data-nav-open] nav{display:flex;flex-direction:column;align-items:stretch;gap:0;position:absolute;left:0;right:0;top:100%;background:#fbf3e5;border-top:1px solid #0000001a;border-bottom:1px solid #0000001a;padding:8px 22px 16px;z-index:60;box-shadow:0 20px 34px -26px #00000080}header[data-nav-open] nav a{display:block;padding:13px 2px;font-size:15px;border-bottom:1px solid #0000000f}header[data-nav-open] nav a:last-child{border-bottom:0}}
