.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}
.footer .shell{width:min(100% - 80px,1320px);margin-inline:auto}
.footer{background:#fbf9fc;color:#211b25;padding:66px 0 25px}
.footer-main{display:grid;grid-template-columns:1.15fr 1.25fr .65fr;gap:clamp(35px,5vw,90px);align-items:start}
.footer-main>.footer-links{display:flex;flex-direction:column;align-items:flex-start;gap:13px}
.footer-main img{width:180px;height:auto}
.footer-brand>p{font-family:var(--serif,'Playfair Display',Georgia,serif);font-style:italic;font-size:19px;color:#77637e;margin:15px 0 46px}
.footer-label{display:block;font-family:var(--sans,'Nunito Sans',Arial,sans-serif);font-size:10px;font-weight:900;letter-spacing:.16em;text-transform:uppercase;color:#705681}
.footer-socials{display:block}
.social-links{display:flex;gap:9px;margin-top:15px;flex-wrap:wrap}
.social-links a{width:39px;height:39px;border-radius:50%;background:#eee2f5;color:#593276;display:grid;place-items:center;text-decoration:none;border:1px solid #dbc8e9;transition:background .2s,color .2s,transform .2s}
.social-links a:hover{background:#9e72c7;color:#fff;transform:translateY(-3px)}
.social-links svg{width:18px;height:18px}
.footer-contact h2{font-family:var(--serif,'Playfair Display',Georgia,serif);font-size:28px;line-height:1.15;font-weight:500;letter-spacing:-.045em;margin:0 0 22px}
.footer-contact ul{padding:0;margin:0;list-style:none;display:grid;gap:17px}
.footer-contact li{display:grid;grid-template-columns:21px 1fr;gap:14px;align-items:start;font-size:13px;line-height:1.5;color:#534859}
.footer-contact li svg{width:20px;height:20px;color:#8c5fb3;margin-top:1px}
.footer-contact li a{font-size:13px;font-weight:700;text-decoration:none;overflow-wrap:anywhere;line-height:1.5}
.footer-contact li a:hover{text-decoration:underline;text-underline-offset:4px;color:#593276}
.footer-contact li strong{font-weight:800;color:#211b25}
.footer-links a{font-size:12px;font-weight:800;text-decoration:none}
.footer-links a:hover{color:#593276;text-decoration:underline;text-underline-offset:4px}
.footer-links .footer-label{margin:4px 0 10px}
.footer-base{border-top:1px solid #dfd4e3;padding-top:21px;margin-top:60px;display:flex;align-items:center;justify-content:space-between;gap:18px;font-size:11px;color:#72677a}
.footer-base a,.footer-terms{font:inherit;font-weight:800;color:#593276;text-decoration:none;background:none;border:0;padding:0;cursor:pointer;white-space:nowrap}
.footer-base a:hover,.footer-terms:hover{text-decoration:underline;text-underline-offset:4px}

.terms-dialog{width:min(1000px,calc(100vw - 32px));max-width:none;max-height:min(880px,88dvh);padding:0;border:1px solid #e8dcec;border-radius:25px;background:#fff;color:#211b25;box-shadow:0 30px 100px #1d112755;overflow:hidden}
.terms-dialog::backdrop{background:rgba(27,14,36,.68);backdrop-filter:blur(5px)}
.terms-panel{height:min(880px,88dvh);display:flex;flex-direction:column;min-height:0}
.terms-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:27px 34px 22px;border-bottom:1px solid #e9dfed;background:#fbf9fc}
.terms-kicker{font-size:10px;font-weight:900;letter-spacing:.18em;color:#795196}
.terms-head h2{font-family:var(--serif,'Playfair Display',Georgia,serif);font-size:38px;font-weight:500;letter-spacing:-.05em;margin:6px 0 4px}
.terms-head p{margin:0;font-size:13px;color:#74687b}
.terms-close{width:39px;height:39px;display:grid;place-items:center;flex:none;border:1px solid #e0d0e9;border-radius:50%;background:#fff;color:#593276;font-size:28px;line-height:1;cursor:pointer}
.terms-close:hover{background:#eee2f5}
.terms-layout{display:grid;grid-template-columns:215px minmax(0,1fr);flex:1;min-height:0}
.terms-nav{display:flex;flex-direction:column;gap:4px;padding:25px 14px 25px 24px;overflow:auto;border-right:1px solid #e9dfed;background:#fbf9fc}
.terms-nav>span{font-size:10px;font-weight:900;letter-spacing:.15em;text-transform:uppercase;color:#795196;padding:0 9px 10px}
.terms-nav a{font-size:12px;font-weight:800;text-decoration:none;border-radius:9px;padding:8px 9px;color:#63566a}
.terms-nav a:hover,.terms-nav a:focus-visible{background:#eee2f5;color:#593276}
.terms-content{overflow:auto;padding:28px 43px 55px;overscroll-behavior:contain;font-size:14px;line-height:1.72;color:#504755;scroll-behavior:smooth}
.terms-content>p:first-child{font-size:16px;line-height:1.65;color:#392c40;max-width:680px;margin:0 0 27px}
.terms-section{scroll-margin-top:20px;border-top:1px solid #e8ddea;padding-top:22px;margin-top:28px}
.terms-section h3{font-family:var(--serif,'Playfair Display',Georgia,serif);font-size:25px;font-weight:500;line-height:1.25;letter-spacing:-.035em;color:#34213d;margin:0 0 14px}
.terms-section p{margin:0 0 14px}
.terms-section ul{margin:0 0 17px;padding-left:21px}
.terms-section li{padding-left:3px;margin:5px 0}
.terms-section strong{color:#34213d}
.terms-table-wrap{overflow-x:auto;margin:16px 0}
.terms-section table{border-collapse:collapse;width:100%;font-size:13px;min-width:340px}
.terms-section th,.terms-section td{padding:10px 12px;text-align:left;border:1px solid #e7dcec}
.terms-section th{background:#f7f2fc;color:#593276}
.terms-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 34px;border-top:1px solid #e9dfed;background:#fbf9fc;color:#74687b;font-size:11px}
.terms-done{border:0;border-radius:999px;background:#9e72c7;color:#fff;font-weight:900;font-size:12px;padding:10px 18px;cursor:pointer}
.terms-done:hover{background:#593276}
@media(max-width:900px){.footer-main{grid-template-columns:1fr 1.2fr;gap:42px}.footer-links{grid-column:1/-1;flex-direction:row!important;flex-wrap:wrap!important;gap:16px 28px!important}.footer-links .footer-label{width:100%;margin:0 0 3px}}
@media(max-width:700px){.footer{padding:52px 0 24px}.footer .shell{width:min(100% - 38px,1320px)}.footer-main{grid-template-columns:1fr;gap:38px}.footer-main>.footer-links{display:flex;flex-direction:row;gap:15px 25px}.footer-brand>p{margin-bottom:30px}.footer-links{grid-column:auto}.footer-base{display:flex;flex-wrap:wrap;justify-content:flex-start;margin-top:44px;gap:12px 24px}.footer-base span{width:100%;line-height:1.5}.terms-dialog{width:calc(100vw - 16px);max-height:94dvh;border-radius:18px}.terms-panel{height:94dvh}.terms-head{padding:20px 20px 16px}.terms-head h2{font-size:30px}.terms-layout{display:flex;flex-direction:column}.terms-nav{flex-direction:row;gap:5px;align-items:center;flex:none;white-space:nowrap;overflow:auto;border-right:0;border-bottom:1px solid #e9dfed;padding:9px 12px}.terms-nav>span{display:none}.terms-nav a{background:#f2eaf7;padding:7px 10px}.terms-content{padding:24px 22px 45px;font-size:13px}.terms-section h3{font-size:22px}.terms-foot{padding:12px 20px}}
@media(max-width:440px){.footer .shell{width:min(100% - 32px,1320px)}.footer-main>.footer-links{display:flex;flex-direction:row;flex-wrap:wrap}.footer-base{display:flex}.terms-head p{max-width:220px}}
@media(prefers-reduced-motion:reduce){.social-links a{transition:none}.terms-content{scroll-behavior:auto}}
