.terms-modal-overlay{position:fixed;inset:0;z-index:9999;background:rgba(15,23,42,.65);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);overflow-y:auto;overflow-x:hidden;display:flex;justify-content:center;align-items:center;padding:24px 16px;animation:termsFadeIn .22s cubic-bezier(.16,1,.3,1)}@keyframes termsFadeIn{0%{opacity:0}to{opacity:1}}.terms-modal-card{position:relative;margin:auto;background:#ffffff;border-radius:20px;max-width:660px;width:100%;max-height:min(740px,calc(100vh - 48px));height:auto;display:flex;flex-direction:column;min-height:0;box-shadow:0 25px 60px -15px rgba(15,23,42,.35),0 0 0 1px rgba(226,232,240,.8),0 10px 25px -5px rgba(0,0,0,.08);overflow:hidden;animation:termsScaleIn .28s cubic-bezier(.16,1,.3,1)}@keyframes termsScaleIn{0%{opacity:0;transform:scale(.95) translateY(12px)}to{opacity:1;transform:scale(1) translateY(0)}}.terms-modal-header{padding:18px 24px;background:linear-gradient(180deg,#f8fafc,#ffffff);border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0}.terms-modal-header-left{display:flex;align-items:center;gap:14px}.terms-modal-header-icon{width:44px;height:44px;border-radius:12px;background:linear-gradient(135deg,#ecfdf5,#d1fae5);color:#047857;display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:0 4px 10px rgba(4,120,87,.12)}.terms-modal-eyebrow{display:block;font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#059669;margin-bottom:2px}.terms-modal-title{margin:0;font-size:1.18rem;font-weight:750;color:#0f172a;letter-spacing:-.01em}.terms-modal-close-btn{width:36px;height:36px;border-radius:50%;border:1px solid transparent;background:#f1f5f9;color:#64748b;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;font-size:1.35rem;line-height:1;padding:0}.terms-modal-close-btn:hover{background:#e2e8f0;color:#0f172a;transform:rotate(90deg)}.terms-modal-body{padding:22px 24px;overflow-y:auto;overflow-x:hidden;flex:1 1 auto;min-height:0;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.terms-modal-body::-webkit-scrollbar{width:6px}.terms-modal-body::-webkit-scrollbar-track{background:transparent}.terms-modal-body::-webkit-scrollbar-thumb{background-color:#cbd5e1;border-radius:10px}.terms-modal-body::-webkit-scrollbar-thumb:hover{background-color:#94a3b8}.terms-intro-callout{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;padding:14px 16px;margin-bottom:18px;display:flex;align-items:flex-start;gap:12px;font-size:.88rem;line-height:1.6;color:#166534}.terms-intro-callout-icon{flex-shrink:0;width:20px;height:20px;color:#15803d;margin-top:2px}.terms-section-card{background:#ffffff;border:1px solid #e2e8f0;border-radius:14px;padding:16px 18px;margin-bottom:14px;transition:border-color .15s ease,box-shadow .15s ease}.terms-section-card:hover{border-color:#cbd5e1;box-shadow:0 4px 12px rgba(0,0,0,.03)}.terms-section-header{display:flex;align-items:center;gap:10px;margin-bottom:12px}.terms-section-num{width:26px;height:26px;border-radius:50%;background:#ecfdf5;color:#047857;font-weight:700;font-size:.85rem;display:flex;align-items:center;justify-content:center;flex-shrink:0;border:1px solid #a7f3d0}.terms-section-title{margin:0;font-size:.98rem;font-weight:700;color:#1e293b}.terms-section-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}.terms-section-item{display:flex;align-items:flex-start;gap:10px;font-size:.89rem;line-height:1.6;color:#475569}.terms-item-bullet{flex-shrink:0;width:16px;height:16px;margin-top:3px;color:#059669;display:flex;align-items:center;justify-content:center}.terms-item-text{flex:1 1}.terms-plain-content{font-size:.92rem;line-height:1.75;color:#334155;white-space:pre-wrap}.terms-modal-footer{padding:16px 24px;background:#f8fafc;border-top:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-shrink:0}.terms-footer-note{font-size:.8rem;color:#64748b;display:flex;align-items:center;gap:6px}.terms-footer-actions{display:flex;align-items:center;gap:10px;margin-left:auto}.terms-btn-close{padding:10px 18px;border-radius:10px;border:1px solid #cbd5e1;background:#ffffff;color:#475569;font-weight:600;font-size:.88rem;cursor:pointer;transition:all .15s ease}.terms-btn-close:hover{background:#f1f5f9;color:#1e293b;border-color:#94a3b8}.terms-btn-accept{padding:10px 22px;border-radius:10px;border:none;background:linear-gradient(135deg,#059669,#047857);color:#ffffff;font-weight:600;font-size:.88rem;cursor:pointer;display:inline-flex;align-items:center;gap:8px;box-shadow:0 4px 12px rgba(4,120,87,.25);transition:all .2s ease}.terms-btn-accept:hover{background:linear-gradient(135deg,#047857,#065f46);box-shadow:0 6px 16px rgba(4,120,87,.35);transform:translateY(-1px)}.terms-btn-accept:active{transform:translateY(0)}.terms-check-box{display:flex;align-items:center;gap:12px;margin:16px 0 18px;padding:12px 14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;font-size:.88rem;line-height:1.5;transition:border-color .15s ease,background .15s ease}.terms-check-box:hover{background:#f0fdf4;border-color:#bbf7d0}.terms-link-trigger{background:none;border:none;padding:0;color:#047857;text-decoration:underline;cursor:pointer;font-weight:600;font-size:inherit;transition:color .15s ease}.terms-link-trigger:hover{color:#065f46}@media (max-width:640px){.terms-modal-overlay{padding:12px}.terms-modal-card{max-height:calc(100vh - 24px);border-radius:16px}.terms-modal-header{padding:14px 18px}.terms-modal-header-icon{width:38px;height:38px}.terms-modal-title{font-size:1.05rem}.terms-modal-body{padding:16px 18px}.terms-modal-footer{padding:14px 18px;flex-direction:column-reverse;align-items:stretch;gap:12px}.terms-footer-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px}.terms-btn-accept,.terms-btn-close{width:100%;padding:11px 14px}.terms-btn-accept,.terms-btn-close,.terms-footer-note{justify-content:center;text-align:center}}