/* Terms & Conditions: a reading page in the site's colours */
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto;}}
.page-hero .t-note{margin-top:18px;color:var(--muted-on-dark);font-size:.95rem;max-width:60ch;}
.page-hero .t-note a{color:var(--paper);text-decoration:underline;text-underline-offset:3px;}

.t-body{padding:64px 0 96px;}
.t-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:64px;align-items:start;}

.t-toc{position:sticky;top:96px;max-height:calc(100vh - 120px);overflow:auto;font-size:.9rem;padding-right:8px;}
.t-toc h2{font-size:1.25rem;margin-bottom:16px;}
.t-toc-part{margin-bottom:18px;}
.t-toc-head{display:block;font-weight:700;padding:4px 0;border-bottom:2px solid var(--ink);margin-bottom:6px;}
.t-toc ol{margin:0;padding-left:26px;color:var(--muted-on-light);}
.t-toc li{padding:3px 0;line-height:1.35;}
.t-toc a:hover,.t-toc a:focus-visible{color:var(--green);}

.t-content{max-width:72ch;}
.t-part{scroll-margin-top:96px;}
.t-part+.t-part{margin-top:64px;}
.t-part-label{margin:0 0 6px;font-weight:700;color:var(--green);}
.t-part>h2{font-size:clamp(1.9rem,4vw,2.6rem);padding-bottom:18px;border-bottom:2px solid var(--ink);}
.t-intro{margin:20px 0 0;font-size:1.1rem;}
.t-sec{scroll-margin-top:96px;padding:30px 0 6px;border-bottom:1px solid var(--line-on-light);}
.t-sec h3{font-size:1.35rem;line-height:1.25;margin-bottom:14px;}
.t-num{color:var(--green);}
.t-sec p{margin:0 0 16px;line-height:1.7;}
.t-sec ul,.t-sec ol{margin:0 0 18px;padding-left:24px;line-height:1.65;}
.t-sec ul{list-style:disc;}
.t-sec li{margin-bottom:8px;}
.t-sec li::marker{color:var(--green);font-weight:700;}
.t-sec a{color:var(--green);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere;}

.t-table{width:100%;border-collapse:collapse;margin:4px 0 20px;background:var(--white);font-size:.95rem;}
.t-table th,.t-table td{text-align:left;vertical-align:top;padding:12px 14px;border:1px solid var(--line-on-light);line-height:1.45;}
.t-table thead th{background:var(--ink);color:var(--paper);border-color:var(--ink);font-weight:600;}
.t-table tbody th{font-weight:600;width:46%;}

.t-limits{border:2px solid var(--ink);background:var(--white);padding:20px 22px 4px;margin-bottom:20px;}

@media (max-width:900px){
  .t-layout{grid-template-columns:1fr;gap:40px;}
  .t-toc{position:static;max-height:none;overflow:visible;background:var(--white);border:1px solid var(--line-on-light);padding:20px;}
  .t-body{padding:40px 0 64px;}
}
@media (max-width:620px){
  .t-table,.t-table tbody,.t-table tr,.t-table th,.t-table td{display:block;width:auto;}
  .t-table{background:transparent;}
  .t-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
  .t-table tr{background:var(--white);border:1px solid var(--line-on-light);margin-bottom:12px;}
  .t-table th,.t-table td{border:0;padding:8px 14px;}
  .t-table tbody th{width:auto;padding-top:14px;}
  .t-table td::before{content:attr(data-label) ": ";color:var(--muted-on-light);}
}
@media print{
  header,footer,.t-toc,.page-hero .qc{display:none;}
  .hero-fade{animation:none;opacity:1;transform:none;}
  .t-layout{display:block;}
}
