:root{--legal-ink:#102b50;--legal-muted:#52677f;--legal-line:#dbe5f1;--legal-blue:#096bd5}
.ofi-legal-page{margin:0;background:#f5f8fc;color:var(--legal-ink);font:16px/1.7 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.ofi-legal-page *{box-sizing:border-box}
.ofi-legal-page a,.ofi-legal-inline a{color:var(--legal-blue);text-underline-offset:3px}
.ofi-legal-page a:hover,.ofi-legal-inline a:hover{text-decoration-thickness:2px}
.ofi-legal-page :focus-visible,#ofi-cookie-notice :focus-visible{outline:3px solid #1688df;outline-offset:4px}
.ofi-legal-header{background:#fff;border-bottom:1px solid var(--legal-line)}
.ofi-legal-header>div{max-width:1100px;margin:auto;padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.ofi-legal-brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:1.2rem;font-weight:800;color:var(--legal-ink)!important}
.ofi-legal-brand svg{width:58px;height:42px}
.ofi-legal-back{font-size:.9rem;font-weight:650}
.ofi-legal-skip{position:absolute;left:16px;top:-100px;background:#fff;padding:10px 16px;z-index:20}
.ofi-legal-skip:focus{top:12px}
.ofi-legal-wrap{max-width:1100px;padding:38px 24px 60px;margin:auto}
.ofi-legal-kicker{font-size:.75rem;text-transform:uppercase;letter-spacing:.12em;font-weight:750;color:#526f91}
.ofi-legal-page h1{font-size:clamp(2rem,4vw,2.8rem);line-height:1.15;letter-spacing:-.04em;margin:10px 0 14px}
.ofi-legal-lead{color:var(--legal-muted);max-width:70ch;margin:0 0 10px}
.ofi-legal-date{font-size:.85rem;color:var(--legal-muted)}
.ofi-legal-pending{border:1px solid #e8ce93;border-left:4px solid #b57b13;background:#fff9ed;color:#654710;padding:16px 18px;border-radius:12px;margin:24px 0}
.ofi-legal-pending strong{display:block;margin-bottom:4px}
.ofi-legal-pending p{margin:0}
.ofi-legal-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:28px;align-items:start}
.ofi-legal-nav{position:sticky;top:22px;display:grid;gap:8px;background:#fff;border:1px solid var(--legal-line);padding:16px;border-radius:14px}
.ofi-legal-nav strong{font-size:.85rem;margin-bottom:4px}
.ofi-legal-nav a{font-size:.9rem;padding:7px 9px;border-radius:8px;text-decoration:none}
.ofi-legal-nav a:hover{background:#edf5ff}
.ofi-legal-sections{min-width:0}
.ofi-legal-section{background:#fff;border:1px solid var(--legal-line);border-radius:16px;padding:28px;margin:0 0 24px;scroll-margin-top:24px}
.ofi-legal-section h2{font-size:1.65rem;line-height:1.25;letter-spacing:-.025em;margin:0 0 18px}
.ofi-legal-section h3{font-size:1.04rem;line-height:1.45;margin:26px 0 8px}
.ofi-legal-section p,.ofi-legal-section li{color:#354d68}
.ofi-legal-section p{margin:8px 0 14px}
.ofi-legal-section ul{padding-left:22px}
.ofi-legal-section li+li{margin-top:7px}
.ofi-legal-summary{border-radius:11px;padding:14px 16px;background:#edf5ff;color:#1b4c7c!important}
.ofi-legal-table-wrap{overflow-x:auto;border:1px solid var(--legal-line);border-radius:11px;margin:18px 0}
.ofi-legal-table{border-collapse:collapse;width:100%;font-size:.87rem;min-width:500px}
.ofi-legal-table th,.ofi-legal-table td{padding:12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--legal-line)}
.ofi-legal-table th{background:#edf4fc;font-weight:750}
.ofi-legal-table tr:last-child td{border-bottom:0}
.ofi-legal-table code{font-size:.79rem;overflow-wrap:anywhere}
.ofi-legal-footer{max-width:1100px;margin:auto;padding:22px 24px;border-top:1px solid var(--legal-line);color:var(--legal-muted);font-size:.85rem}
.ofi-legal-inline{font:400 .78rem/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#52677f;margin:12px 0 4px}
.ofi-legal-inline a{font-weight:600}
#ofi-cookie-notice{box-sizing:border-box;position:fixed;z-index:45;left:50%;bottom:16px;transform:translateX(-50%);width:min(760px,calc(100% - 32px));max-height:45vh;overflow:auto;padding:18px 20px;border:1px solid #c9d9ec;border-radius:16px;background:#fff;box-shadow:0 12px 45px #173c6629;color:#15375e;font:400 .87rem/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
#ofi-cookie-notice[hidden],#ofi-cookie-spacer[hidden]{display:none!important}
#ofi-cookie-notice h2{font-size:.97rem;font-weight:750;line-height:1.4;margin:0 0 6px;color:#12365e}
#ofi-cookie-notice p{margin:0;color:#465e79}
.ofi-cookie-actions{display:flex;align-items:center;gap:20px;margin-top:13px;flex-wrap:wrap}
.ofi-cookie-actions a{color:#096bd5;text-decoration:underline;text-underline-offset:3px}
.ofi-cookie-button{border:1px solid #096bd5;border-radius:9px;background:#096bd5;color:#fff;min-height:42px;padding:8px 18px;font:650 .86rem system-ui;cursor:pointer}
.ofi-cookie-button:hover{background:#0758af}
.ofi-cookie-secondary{background:#fff;color:#096bd5}
.ofi-cookie-secondary:hover{background:#edf5ff}
@media(max-width:700px){.ofi-legal-header>div{padding:14px 18px}.ofi-legal-wrap{padding:26px 16px 40px}.ofi-legal-layout{grid-template-columns:minmax(0,1fr);gap:16px}.ofi-legal-nav{position:static;display:flex;flex-wrap:wrap;gap:4px;padding:10px}.ofi-legal-nav strong{width:100%;padding-left:9px}.ofi-legal-section{padding:22px 18px}.ofi-legal-back{font-size:.8rem}.ofi-legal-brand{gap:7px;font-size:1.05rem}#ofi-cookie-notice{padding:15px 16px;bottom:max(12px,env(safe-area-inset-bottom));max-height:50vh}.ofi-cookie-actions{gap:14px}}
@media print{.ofi-legal-page{background:#fff;color:#000}.ofi-legal-nav,.ofi-legal-back,#ofi-cookie-notice,#ofi-cookie-spacer,[data-cookie-notice-open]{display:none!important}.ofi-legal-layout{display:block}.ofi-legal-wrap{padding:0}.ofi-legal-section{border:0;padding:0;margin-bottom:32px}.ofi-legal-section h2,.ofi-legal-section h3{break-after:avoid}.ofi-legal-table-wrap{overflow:visible}.ofi-legal-table{min-width:0}}
.ofi-legal-brand img{width:220px;height:auto;max-width:100%;object-fit:contain}
@media(max-width:480px){.ofi-legal-brand img{width:175px}}
