/* Terms, privacy and cookie pages. Page-specific rules only - the
   shared theme comes from the account stylesheet. */

/* ===== terms / legal page ===== */
.legalhead{padding:calc(104px + 62px) 0 6px;background:linear-gradient(180deg,var(--sky2),#fff 78%);text-align:center}
.legalhead h1{font-size:clamp(2.1rem,4.6vw,3.2rem)}
.legalhead .arcwrap{width:180px;margin:1rem auto 1.15rem}
.legalhead .upd{display:inline-flex;align-items:center;gap:.5rem;font-family:'Poppins';font-weight:600;font-size:.84rem;color:var(--blue-d);background:var(--sky);padding:.5rem 1.1rem;border-radius:999px}
.legalhead .upd svg{width:15px;height:15px;stroke:var(--coral);fill:none}
.legalhead .lede{color:var(--muted);max-width:640px;margin:1.15rem auto 0;font-size:1.02rem}
.legalsec{padding:46px 0 86px}
.legalwrap{display:grid;grid-template-columns:266px 1fr;gap:2.8rem;align-items:start}
.toc{position:sticky;top:112px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:1.3rem 1.1rem;box-shadow:var(--shadow-sm);max-height:calc(100vh - 148px);overflow:auto}
.toc h4{font-family:'Poppins';font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--teal-d);margin:0 .6rem .8rem}
.toc a{display:block;font-size:.87rem;line-height:1.4;color:var(--muted);padding:.42rem .6rem;border-radius:9px;border-left:2.5px solid transparent;transition:.18s}
.toc a:hover{color:var(--blue);background:var(--sky)}
.toc a.on{color:var(--blue-d);background:var(--sky);border-left-color:var(--coral);font-weight:600}
.toc::-webkit-scrollbar{width:6px}
.toc::-webkit-scrollbar-thumb{background:rgba(22,35,63,.16);border-radius:99px}
.legal{max-width:820px}
.legal h2{font-size:clamp(1.35rem,2.7vw,1.85rem);margin:2.9rem 0 .35rem;scroll-margin-top:130px}
.legal h2:first-child{margin-top:0}
.legal h2 .arcwrap{display:block;width:92px;margin:.55rem 0 .9rem}
.legal h3{font-family:'Poppins';font-size:1.06rem;font-weight:700;color:var(--blue-d);margin:1.8rem 0 .5rem;scroll-margin-top:130px}
.legal p{color:var(--muted);margin-bottom:1rem}
.legal p:last-child{margin-bottom:0}
.legal ul{list-style:none;display:flex;flex-direction:column;gap:.8rem;margin:.2rem 0 1.3rem}
.legal ul li{position:relative;padding-left:1.55rem;color:var(--muted)}
.legal ul li::before{content:"";position:absolute;left:0;top:.62em;width:8px;height:8px;border-radius:3px;background:var(--teal)}
.legal strong{color:var(--ink);font-weight:600}
.legal a{color:var(--blue);font-weight:500;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(64,107,184,.35)}
.legal a:hover{color:var(--coral)}
.legal .defbox{background:var(--sky2);border:1px solid var(--line);border-radius:18px;padding:1.5rem 1.6rem;margin-bottom:1.2rem}
.legal .defbox ul{margin-bottom:0}
.legal .note-band{display:flex;gap:.9rem;align-items:flex-start;background:#fff;border:1.5px solid var(--line);border-left:4px solid var(--coral);border-radius:14px;padding:1.05rem 1.2rem;margin:1.2rem 0}
.legal .note-band svg{width:19px;height:19px;stroke:var(--coral);fill:none;flex:none;margin-top:3px}
.legal .note-band p{margin:0;color:var(--ink);font-weight:500}
.contactcard{display:flex;align-items:center;gap:1.4rem;flex-wrap:wrap;background:linear-gradient(140deg,var(--blue-d),#24406f);color:#fff;border-radius:22px;padding:1.9rem 2rem;margin-top:3.2rem;box-shadow:var(--shadow)}
.contactcard h3{font-size:1.25rem;color:#fff;margin:0 0 .3rem}
.contactcard p{color:#cfe0f4;margin:0;font-size:.95rem}
.contactcard .cc-txt{flex:1;min-width:230px}
.contactcard .cc-ic{width:52px;height:52px;border-radius:15px;background:rgba(255,255,255,.14);display:grid;place-items:center;flex:none}
.contactcard .cc-ic svg{width:24px;height:24px;stroke:#fff;fill:none}
.contactcard .btn{background:#fff;color:var(--blue-d);box-shadow:none}
.contactcard .btn:hover{background:var(--sky);transform:translateY(-2px)}
@media(max-width:960px){
  .legalwrap{grid-template-columns:1fr;gap:1.6rem}
  .toc{position:static;max-height:none}
  .toc a{display:inline-block}
  .legalhead{padding:calc(86px + 52px) 0 6px}
}
@media(prefers-reduced-motion:reduce){
  .legal *,.toc *{transition:none !important}
}