.terms-modal{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:24px}
.terms-modal.is-open{display:flex}
.terms-backdrop{position:absolute;inset:0;background:rgba(7,29,63,.52);backdrop-filter:blur(4px)}
.terms-dialog{position:relative;z-index:1;width:min(860px,100%);max-height:min(84vh,860px);display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 28px 90px rgba(7,29,63,.26);overflow:hidden;outline:none}
.terms-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:24px 28px 20px;border-bottom:1px solid var(--line2)}
.terms-kicker{display:block;margin-bottom:5px;color:var(--blue);font-size:11px;font-weight:900;letter-spacing:.12em}
.terms-header h2{margin:0;color:var(--navy);font-size:28px;line-height:1.3;letter-spacing:-.035em}
.terms-close{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--navy);cursor:pointer}
.terms-close:hover{background:var(--cloud)}
.terms-close svg{width:20px;height:20px}
.terms-body{overflow:auto;padding:26px 28px 34px;color:#344054;font-size:14px;line-height:1.8;overscroll-behavior:contain}
.terms-body section+section{margin-top:30px;padding-top:28px;border-top:1px solid var(--line2)}
.terms-body h3{margin:0 0 11px;color:var(--navy);font-size:18px;letter-spacing:-.02em}
.terms-body h4{margin:18px 0 6px;color:var(--navy);font-size:15px}
.terms-body p{margin:0}
.terms-body p+p{margin-top:9px}
.terms-body ul,.terms-body ol{margin:10px 0 0;padding-left:22px}
.terms-body li+li{margin-top:4px}
.terms-footer{display:flex;justify-content:flex-end;padding:16px 28px;border-top:1px solid var(--line2);background:#fff}
.terms-confirm{min-width:132px}
body.terms-open{overflow:hidden}
@media(max-width:640px){
  .terms-modal{padding:12px;align-items:flex-end}
  .terms-dialog{max-height:90vh;border-radius:20px 20px 12px 12px}
  .terms-header{padding:20px 20px 16px}
  .terms-header h2{font-size:24px}
  .terms-body{padding:22px 20px 28px;font-size:14px}
  .terms-footer{padding:14px 20px}
  .terms-confirm{width:100%}
}



.terms-modal{--navy:#071D3F;--blue:#0B63F6;--line:#D8E1EC;--line2:#E9EEF5;--cloud:#F4F7FB;letter-spacing:-.01em;word-break:keep-all}.terms-modal *{box-sizing:border-box}.terms-body section{margin:0;padding:0;border:0;border-radius:0;background:transparent}.terms-modal .terms-confirm{height:52px;padding:0 24px;border-radius:10px;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;font-weight:800;cursor:pointer;background:#0B63F6;color:white;font-size:14px}.terms-trigger{appearance:none;background:none;border:0;color:inherit;font:inherit;cursor:pointer;padding:0}.consent-list>.terms-trigger{font-size:12px;color:#0B63F6;margin-left:30px;text-decoration:underline}
