/* AI Creator Day WinMore legal pages – white, full-width, normal document scroll. */
html:has(body.acd-legal-standalone),
body.acd-legal-standalone,
body.acd-legal-standalone #acd-legal-site {
    background: #fff !important;
    background-color: #fff !important;
}
html:has(body.acd-legal-standalone) {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scroll-behavior: auto !important;
    scroll-snap-type: none !important;
    scroll-padding-top: 0 !important;
}
body.acd-legal-standalone {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh;
    height: auto !important;
    overflow: visible !important;
    scroll-behavior: auto !important;
    scroll-snap-type: none !important;
    color: #172c35 !important;
}
body.acd-legal-standalone *,
body.acd-legal-standalone *::before,
body.acd-legal-standalone *::after { box-sizing: border-box; }
body.acd-legal-standalone #acd-legal-site {
    display: block;
    width: 100%;
    min-height: 100vh;
    overflow: visible;
    color: #172c35;
    font: 400 16px/1.68 Montserrat, Arial, sans-serif;
    -webkit-text-size-adjust: 100%;
}
body.acd-legal-standalone .acd-legal-frame {
    width: 100%;
    max-width: 920px;
    padding-left: clamp(22px, 5vw, 44px);
    padding-right: clamp(22px, 5vw, 44px);
    margin-left: auto;
    margin-right: auto;
}
body.acd-legal-standalone .acd-legal-site-header {
    width: 100%;
    background: #fff !important;
    border-bottom: 1px solid #e7e9eb;
    /* Keep both the logo and menu usable, even if another plugin changes
       the scroll position. This header is present ONLY on the legal pages. */
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 9990;
    box-shadow: 0 1px 5px rgba(0,0,0,.04);
}
body.acd-legal-standalone .acd-legal-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 116px;
    gap: 18px;
    padding-top: 15px;
    padding-bottom: 15px;
}
body.acd-legal-standalone .acd-legal-logo-link {
    display: block;
    width: 88px;
    height: 88px;
    flex: 0 0 88px;
    text-decoration: none;
}
body.acd-legal-standalone .acd-legal-logo-img {
    display: block;
    width: 88px;
    height: 88px;
    object-fit: contain;
}
body.acd-legal-standalone .acd-legal-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 10px;
    border: 1px solid #d9e0e2 !important;
    border-radius: 6px;
    background: #fff !important;
    color: #172c35 !important;
    cursor: pointer;
}
body.acd-legal-standalone .acd-legal-menu-glyph {
    display: flex;
    width: 23px;
    height: 18px;
    flex-direction: column;
    justify-content: space-between;
}
body.acd-legal-standalone .acd-legal-menu-glyph span {
    display: block;
    width: 100%;
    height: 2px;
    background: #172c35;
    border-radius: 3px;
}
body.acd-legal-standalone #acd-legal-nav[hidden] { display: none !important; }
body.acd-legal-standalone #acd-legal-nav {
    padding-top: 8px;
    padding-bottom: 22px;
    background: #fff;
}
body.acd-legal-standalone #acd-legal-nav ul,
body.acd-legal-standalone #acd-legal-nav .acd-legal-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 26px;
    row-gap: 14px;
}
body.acd-legal-standalone #acd-legal-nav a {
    display: inline-block;
    color: #172c35 !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}
body.acd-legal-standalone #acd-legal-nav a:hover,
body.acd-legal-standalone #acd-legal-nav a:focus-visible { color: #a84322 !important; text-decoration: underline; }
body.acd-legal-standalone .acd-legal-main {
    padding-top: clamp(30px, 5vw, 54px);
    padding-bottom: 70px;
}
body.acd-legal-standalone .acd-legal {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent !important;
    color: #172c35 !important;
    border: 0;
    box-shadow: none;
    font: 400 16px/1.78 Montserrat, Arial, sans-serif;
    overflow-wrap: break-word;
}
body.acd-legal-standalone .acd-legal-brand {
    margin: 0 0 12px !important;
    color: #a84322 !important;
    font-size: 12px !important;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: .15em;
    text-transform: uppercase;
}
body.acd-legal-standalone .acd-legal h1 {
    margin: 0 0 32px !important;
    padding: 0 !important;
    color: #172c35 !important;
    font-size: clamp(28px, 4.5vw, 41px) !important;
    line-height: 1.18 !important;
    font-weight: 800 !important;
    letter-spacing: -.035em;
}
body.acd-legal-standalone .acd-legal h2 {
    margin: 36px 0 14px !important;
    padding: 0 !important;
    color: #172c35 !important;
    font-size: clamp(20px, 3vw, 24px) !important;
    line-height: 1.32 !important;
    font-weight: 750 !important;
}
body.acd-legal-standalone .acd-legal h3 {
    margin: 26px 0 8px !important;
    color: #172c35 !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
    font-weight: 750 !important;
}
body.acd-legal-standalone .acd-legal p { margin: 0 0 18px; color: #172c35 !important; }
body.acd-legal-standalone .acd-legal strong { font-weight: 700; color: #172c35 !important; }
body.acd-legal-standalone .acd-legal ul,
body.acd-legal-standalone .acd-legal ol { margin: 12px 0 22px; padding-left: 25px; list-style-position: outside; }
body.acd-legal-standalone .acd-legal li { margin: 4px 0; color: #172c35 !important; }
body.acd-legal-standalone .acd-legal li::marker { color: #172c35; }
body.acd-legal-standalone .acd-legal a {
    color: #a84322 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}
body.acd-legal-standalone .acd-legal-site-footer {
    padding-top: 18px;
    padding-bottom: 36px;
    border-top: 1px solid #e7e9eb;
    color: #5c6a70;
    font-size: 13px;
}
body.acd-legal-standalone .acd-legal-site-footer a { color: #a84322 !important; font-weight: 700; text-decoration: none; }
body.acd-legal-standalone .acd-legal-to-top {
    position: fixed;
    right: 18px;
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 9998;
    display: none;
    padding: 10px 16px;
    color: #fff !important;
    background: #a84322 !important;
    border: 0;
    border-radius: 22px;
    font: 700 12px/1.3 Montserrat, Arial, sans-serif;
    letter-spacing: .08em;
    text-decoration: none !important;
    box-shadow: 0 2px 12px rgb(0 0 0 / 12%);
}
body.acd-legal-standalone .acd-legal-to-top.is-visible { display: inline-flex; }
body.acd-legal-standalone #acd-legal-page-top { position: absolute; top: 0; width: 0; height: 0; }
/* Keep iOS/WebKit overscroll and scroll anchoring from altering our layout. */
html:has(body.acd-legal-standalone),
body.acd-legal-standalone #acd-legal-site { overflow-anchor: none; }
body.acd-legal-standalone .acd-legal-to-top { cursor: pointer; }
body.acd-legal-standalone .acd-legal-menu-toggle:focus-visible,
body.acd-legal-standalone .acd-legal-to-top:focus-visible,
body.acd-legal-standalone .acd-legal-logo-link:focus-visible {
    outline: 2px solid #a84322;
    outline-offset: 3px;
}
@media (max-width: 600px) {
    body.acd-legal-standalone .acd-legal-header-row { min-height: 106px; }
    body.acd-legal-standalone .acd-legal-logo-link,
    body.acd-legal-standalone .acd-legal-logo-img { width: 80px; height: 80px; }
    body.acd-legal-standalone .acd-legal-logo-link { flex-basis: 80px; }
    body.acd-legal-standalone .acd-legal-main { padding-top: 31px; padding-bottom: 54px; }
    body.acd-legal-standalone .acd-legal { font-size: 15.5px; line-height: 1.72; }
    body.acd-legal-standalone #acd-legal-nav ul,
    body.acd-legal-standalone #acd-legal-nav .acd-legal-menu-links { flex-direction: column; align-items: flex-start; }
}
