/* Modern layout for long legal pages (Terms & Conditions). Brand: purple #7b2fd0 / #5b1fc4. */
.tc-page{--ink:#1f1535;--body:#4a4360;--muted:#8a82a0;--line:#ece6f6;--brand:#7b2fd0;--brand-2:#5b1fc4;--soft:#f6f1ff;
  font-family:'Open Sans',Helvetica,Arial,sans-serif;color:var(--body);background:#faf8fd;padding-bottom:72px}
html{scroll-behavior:smooth;scroll-padding-top:104px}

/* Hero */
.tc-hero{background:radial-gradient(1200px 400px at 85% -40%,rgba(154,77,255,.45),transparent 60%),
  linear-gradient(140deg,#2a0f5c 0%,#3d138a 55%,#5b1fc4 100%);color:#fff;padding:132px 24px 64px;position:relative;overflow:hidden}
.tc-hero:after{content:"";position:absolute;right:-80px;bottom:-120px;width:340px;height:340px;border-radius:50%;
  border:1px solid rgba(255,255,255,.12);box-shadow:0 0 0 40px rgba(255,255,255,.03),0 0 0 90px rgba(255,255,255,.02)}
.tc-hero-inner{max-width:1180px;margin:0 auto;padding:0 24px;box-sizing:border-box;position:relative;z-index:1}
.tc-crumbs{font-size:13px;letter-spacing:.04em;color:rgba(255,255,255,.7);display:flex;gap:10px;margin-bottom:14px}
.tc-crumbs a{color:rgba(255,255,255,.85);text-decoration:none}
.tc-crumbs a:hover{color:#fff;text-decoration:underline}
.tc-hero h1{font-size:clamp(34px,5vw,52px);font-weight:700;letter-spacing:-.02em;line-height:1.1;margin:0;color:#fff}

/* Two-column layout */
.tc-layout{max-width:1180px;margin:-28px auto 0;padding:0 24px;display:grid;grid-template-columns:280px minmax(0,1fr);gap:40px;
  position:relative;z-index:2;align-items:start}
.tc-aside{position:sticky;top:108px;max-height:calc(100vh - 128px);overflow:auto;scrollbar-width:thin}

/* Table of contents */
.tc-toc{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px 10px 12px;box-shadow:0 6px 24px rgba(60,20,120,.06)}
.tc-toc-title{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:0 12px 10px}
.tc-toc ol{list-style:none;margin:0;padding:0}
.tc-toc a{display:flex;gap:10px;align-items:baseline;padding:7px 12px;border-radius:10px;color:var(--body);font-size:13.5px;
  line-height:1.35;text-decoration:none;transition:background .15s,color .15s}
.tc-toc a:hover{background:var(--soft);color:var(--brand-2)}
.tc-toc a.is-active{background:var(--soft);color:var(--brand-2);font-weight:600}
.tc-toc-num{font-size:11px;font-variant-numeric:tabular-nums;color:#b7acd0;min-width:18px}
.tc-toc a.is-active .tc-toc-num{color:var(--brand)}

.tc-promos{margin-top:20px}
.tc-promos p{margin:0 0 12px}
.tc-promos img{width:100%;height:auto;border-radius:12px;display:block}
.tc-promos a[href*="advertise"]{font-size:13px;color:var(--brand-2);font-weight:600}
.tc-page ins.adsbygoogle{display:none !important}

/* Article */
.tc-article{min-width:0}
.tc-intro,.tc-section{background:#fff;border:1px solid var(--line);border-radius:20px;padding:32px 36px;
  box-shadow:0 6px 24px rgba(60,20,120,.05);margin-bottom:20px}
.tc-article p,.tc-article li{font-size:15.5px;line-height:1.75;color:var(--body);margin:0 0 14px}
.tc-article p:last-child{margin-bottom:0}
.tc-lead,.tc-article p.tc-lead{font-size:19px;line-height:1.6;color:var(--ink);font-weight:500;margin-bottom:20px}
.tc-callout{margin:24px 0 0;padding:18px 20px 18px 22px;border-radius:14px;background:var(--soft);border-left:4px solid var(--brand)}
.tc-callout p{font-size:13.5px !important;line-height:1.7 !important;letter-spacing:.01em;color:#3b2a66 !important}
.tc-callout em{font-style:normal}

.tc-section-head{display:flex;align-items:center;gap:14px;margin:0 0 20px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.tc-num{flex:none;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;font-size:13px;font-weight:700;
  color:#fff;background:linear-gradient(135deg,#9a4dff,#5b1fc4);box-shadow:0 6px 14px rgba(110,40,210,.25)}
.tc-section h2{font-size:22px;font-weight:700;letter-spacing:-.01em;color:var(--ink);margin:0;line-height:1.25;flex:1}
.tc-anchor{opacity:0;color:var(--muted);text-decoration:none;font-weight:600;font-size:18px;transition:opacity .15s}
.tc-section:hover .tc-anchor{opacity:1}
.tc-anchor:hover{color:var(--brand)}
.tc-section h3{font-size:16px;font-weight:700;color:var(--ink);margin:26px 0 10px}

/* Numbered clauses */
.tc-body ol{counter-reset:clause;list-style:none;margin:6px 0 4px;padding:0}
.tc-body ol>li{counter-increment:clause;position:relative;padding:0 0 0 46px;margin:0 0 14px}
.tc-body ol>li:before{content:counter(clause);position:absolute;left:0;top:1px;width:30px;height:26px;border-radius:8px;
  background:var(--soft);color:var(--brand-2);font-size:12.5px;font-weight:700;display:grid;place-items:center;font-variant-numeric:tabular-nums}
.tc-body ol>li p{margin:0 0 6px}
.tc-body ol>li p:last-child{margin-bottom:0}
.tc-section:target{border-color:#cdb6f5;box-shadow:0 0 0 4px rgba(123,47,208,.12),0 6px 24px rgba(60,20,120,.05)}

.tc-top{display:inline-block;margin-top:8px;font-size:14px;font-weight:600;color:var(--brand-2);text-decoration:none;
  padding:10px 18px;border-radius:999px;border:1.5px solid #d4bff5;background:#fff}
.tc-top:hover{background:var(--soft)}

/* Responsive */
@media (max-width:960px){
  .tc-layout{grid-template-columns:1fr;gap:20px}
  .tc-aside{position:static;max-height:none}
  .tc-toc ol{columns:2;column-gap:8px}
  .tc-promos{display:none}
}
@media (max-width:600px){
  .tc-hero{padding:112px 0 52px}.tc-hero-inner{padding:0 14px}
  .tc-layout{padding:0 14px}
  .tc-toc ol{columns:1}
  .tc-intro,.tc-section{padding:22px 20px;border-radius:16px}
  .tc-lead,.tc-article p.tc-lead{font-size:17px}
  .tc-body ol>li{padding-left:40px}
}
@media print{
  .tc-aside,.tc-top,.tc-anchor{display:none}
  .tc-hero{padding:24px 0;background:none;color:#000}.tc-hero h1{color:#000}
  .tc-layout{display:block;margin:0}
  .tc-intro,.tc-section{box-shadow:none;border:0;padding:0 0 16px}
}

/* Neutralise the legacy bundle's global `ol li` badge styling inside these pages */
.tc-page ol{counter-reset:none;text-shadow:none}
.tc-page ol li{background:none;color:inherit;padding:0;margin:0;transition:none;line-height:inherit;display:block}
.tc-page ol li:hover{background:none}
.tc-page ol li:after,.tc-page ol li:hover:after{content:none;border:0}
.tc-toc ol li:before{content:none}
.tc-body ol{counter-reset:clause}
.tc-body ol>li{padding:0 0 0 46px;margin:0 0 14px}
@media (max-width:600px){.tc-body ol>li{padding-left:40px}}
.tc-body ol>li:before{margin-top:0;line-height:normal;text-align:center}
