.cookie-consent-banner {
    position: fixed;
    z-index: 20000;
    inset: auto 16px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 760px;
    margin-inline: auto;
    padding: 14px 16px;
    color: #263248;
    background: rgba(255, 255, 255, .97);
    border: 1px solid #e1e8f2;
    border-left: 3px solid #7382d2;
    border-radius: 13px;
    box-shadow: 0 8px 28px rgba(34, 48, 82, .13);
    font: 400 12px/1.45 system-ui, sans-serif;
    animation: cookie-consent-in .32s cubic-bezier(.2, .75, .25, 1) both;
    backdrop-filter: blur(12px);
}
.cookie-consent-banner[hidden] { display: none; }
.cookie-consent-banner.is-hiding { animation: cookie-consent-out .24s ease-in both; pointer-events: none; }
.cookie-consent-copy { max-width: 490px; }
.cookie-consent-kicker { display: block; margin-bottom: 3px; color: #6878c7; font-size: 9px; font-weight: 750; letter-spacing: .1em; }
.cookie-consent-copy strong { display: block; margin-bottom: 3px; color: #202b42; font-size: 14px; line-height: 1.25; }
.cookie-consent-copy p { margin: 0; color: #5c687d; font-size: inherit; line-height: inherit; }
.cookie-consent-copy a { color: #4052ae; font-weight: 650; text-decoration: underline; text-underline-offset: 2px; }
.cookie-consent-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 7px; }
.cookie-consent-actions button { min-height: 34px; padding: 7px 11px; border: 1px solid #d6deed; border-radius: 8px; color: #44516a; background: #fff; font: 600 11px system-ui, sans-serif; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, transform .18s ease; }
.cookie-consent-actions button:hover { transform: translateY(-1px); border-color: #9da9d8; background: #f7f8ff; }
.cookie-consent-actions button:focus-visible { outline: 2px solid #596bc2; outline-offset: 2px; }
.cookie-consent-actions button[data-cookie-accept] { border-color: #5a69bd; color: #fff; background: #5a69bd; }
.cookie-consent-actions button[data-cookie-accept]:hover { border-color: #4656a8; background: #4656a8; }
@keyframes cookie-consent-in {
    from { opacity: 0; transform: translateY(10px) scale(.99); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes cookie-consent-out {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to { opacity: 0; transform: translateY(6px) scale(.99); }
}
.legal-links-inline { position: relative; isolation: isolate; max-width: 1120px; margin: 34px auto; padding: clamp(20px, 4vw, 34px); color: #25324a; background: linear-gradient(135deg, #f5f8ff, #fff 62%); border: 1px solid #dce5f4; border-radius: 22px; box-shadow: 0 14px 38px rgba(25, 48, 92, .08); font: 14px/1.5 system-ui, sans-serif; }
.legal-links-heading { display: flex; align-items: flex-start; gap: 16px; max-width: 740px; margin: 0 auto 24px; }
.legal-links-heading > div > p:last-child { margin: 7px 0 0; color: #64718a; }
.legal-links-icon { display: grid; flex: 0 0 44px; width: 44px; height: 44px; place-items: center; color: #fff; background: #3548b5; border-radius: 14px; font-size: 21px; font-weight: 800; }
.legal-links-eyebrow { margin: 0 0 5px; color: #5364bc; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.legal-links-heading h2 { margin: 0; color: #18243b; font-size: clamp(20px, 3vw, 26px); line-height: 1.2; }
.legal-links-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.legal-links-grid a { position: relative; display: flex; min-height: 90px; flex-direction: column; justify-content: center; gap: 4px; padding: 16px 38px 16px 17px; color: #263b75; background: #fff; border: 1px solid #e0e6f1; border-radius: 14px; text-decoration: none; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.legal-links-grid a:hover, .legal-links-grid a:focus-visible { transform: translateY(-2px); border-color: #8795df; box-shadow: 0 8px 20px rgba(53, 72, 181, .1); }
.legal-link-label { font-size: 14px; font-weight: 750; }
.legal-link-detail { color: #718096; font-size: 12px; }
.legal-link-arrow { position: absolute; top: 50%; right: 15px; color: #5364bc; font-size: 20px; transform: translateY(-50%); }
@media (max-width: 640px) {
    .home-page.cookie-consent-open { padding-bottom: var(--cookie-consent-reserved-space, 0px); }
    .cookie-consent-banner { inset: auto 10px 10px; align-items: stretch; flex-direction: column; gap: 10px; padding: 12px 13px; }
    .cookie-consent-copy strong { font-size: 13px; }
    .cookie-consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .cookie-consent-actions button { min-height: 32px; padding-inline: 8px; }
    .home-page .legal-links-inline { box-sizing: border-box; width: calc(100% - 24px); margin: 24px 12px; padding: 18px 14px; border-radius: 16px; }
    .home-page .legal-links-heading { gap: 10px; margin: 0 0 16px; }
    .home-page .legal-links-icon { flex-basis: 34px; width: 34px; height: 34px; border-radius: 10px; font-size: 17px; }
    .home-page .legal-links-heading h2 { font-size: 20px; }
    .home-page .legal-links-heading > div > p:last-child { font-size: 13px; line-height: 1.5; }
    .home-page nav.legal-links-grid { position: static; top: auto; right: auto; bottom: auto; left: auto; z-index: auto; display: grid; width: 100%; min-width: 0; height: auto; box-sizing: border-box; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0; padding: 0; overflow: visible; background: transparent; border: 0; border-radius: 0; box-shadow: none; animation: none; }
    .home-page .legal-links-grid a { box-sizing: border-box; width: 100%; min-width: 0; min-height: 60px; padding: 10px 36px 10px 12px; border-radius: 10px; }
    .home-page .legal-link-label { font-size: 13px; }
    .home-page .legal-link-detail { font-size: 11px; }
}
@media (max-width: 640px) {
    .home-page .legal-links-grid a:hover,
    .home-page .legal-links-grid a:focus-visible { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .cookie-consent-banner,
    .cookie-consent-banner.is-hiding,
    .cookie-consent-actions button { animation: none; transition: none; }
}
