/* Terms & Conditions page. Loaded only on /terms-and-conditions/. Uses the site's tokens (--ink, --panel, --lime, --muted, --line). */
body.cs-page.cs-page .terms-hero{min-height:430px}
body.cs-page.cs-page .terms-hero h1{max-width:14ch}
body.cs-page.cs-page .terms-updated{display:inline-flex;align-items:center;gap:9px;margin-top:24px;padding:9px 16px;border:1px solid var(--line);border-radius:999px;background:rgba(7,11,20,.55);color:var(--muted);font-size:13px;font-weight:700;letter-spacing:.01em}
body.cs-page.cs-page .terms-updated::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--lime);box-shadow:0 0 0 4px rgba(184,255,87,.14)}

/* The short version */
body.cs-page.cs-page .terms-keys{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:38px}
body.cs-page.cs-page .terms-key{position:relative;overflow:hidden;background:var(--panel);border:1px solid var(--line);border-radius:22px;padding:26px 24px 28px;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
body.cs-page.cs-page .terms-key::before{content:"";position:absolute;inset:0 0 auto;height:2px;background:linear-gradient(90deg,var(--lime),transparent 80%);opacity:.6}
@media(hover:hover){body.cs-page.cs-page .terms-key:hover{transform:translateY(-4px);border-color:rgba(184,255,87,.35);box-shadow:0 24px 60px rgba(0,0,0,.35)}}
body.cs-page.cs-page .terms-key-icon{width:46px;height:46px;display:grid;place-items:center;margin-bottom:18px;border-radius:14px;background:rgba(184,255,87,.1);color:var(--lime)}
body.cs-page.cs-page .terms-key-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.cs-page.cs-page .terms-key h3{margin:0 0 8px;font:800 18px/1.3 "Manrope",sans-serif;letter-spacing:-.02em;color:#fff}
body.cs-page.cs-page .terms-key p{margin:0;color:var(--muted);font-size:15px;line-height:1.65}

/* Table of contents + content */
body.cs-page.cs-page .terms-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:64px;align-items:start}
body.cs-page.cs-page .terms-toc{position:sticky;top:112px;background:var(--panel);border:1px solid var(--line);border-radius:22px;padding:6px 22px}
body.cs-page.cs-page .terms-toc summary{display:flex;justify-content:space-between;align-items:center;padding:16px 0;list-style:none;cursor:default;font:800 13px/1 "Manrope",sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--lime)}
body.cs-page.cs-page .terms-toc summary::-webkit-details-marker{display:none}
body.cs-page.cs-page .terms-toc ol{list-style:none;counter-reset:toc;margin:0;padding:0 0 14px}
body.cs-page.cs-page .terms-toc li{counter-increment:toc;margin:0}
body.cs-page.cs-page .terms-toc a{display:flex;gap:12px;padding:8px 0;color:var(--muted);font-size:14px;line-height:1.4;text-decoration:none;transition:color .2s ease}
body.cs-page.cs-page .terms-toc a::before{content:counter(toc,decimal-leading-zero);min-width:22px;padding-top:2px;color:rgba(184,255,87,.75);font-size:12px;font-weight:800}
body.cs-page.cs-page .terms-toc a:hover,body.cs-page.cs-page .terms-toc a:focus-visible{color:#fff}
body.cs-page.cs-page .terms-toc a:focus-visible{outline:2px solid var(--lime);outline-offset:3px;border-radius:6px}

body.cs-page.cs-page .terms-content{counter-reset:terms;min-width:0}
body.cs-page.cs-page .terms-sec{padding:36px 0;border-top:1px solid var(--line);scroll-margin-top:112px}
body.cs-page.cs-page .terms-sec:first-child{padding-top:0;border-top:0}
body.cs-page.cs-page .terms-h{display:flex;align-items:baseline;gap:14px;margin:0 0 16px;font:800 clamp(22px,2.6vw,28px)/1.25 "Manrope",sans-serif;letter-spacing:-.025em;color:#fff}
body.cs-page.cs-page .terms-h::before{counter-increment:terms;content:counter(terms,decimal-leading-zero);flex:none;font-size:13px;font-weight:800;letter-spacing:.08em;color:var(--lime)}
body.cs-page.cs-page .terms-sec p,body.cs-page.cs-page .terms-sec li{color:rgba(255,255,255,.74);font-size:16px;line-height:1.8}
body.cs-page.cs-page .terms-sec p{margin:0}
body.cs-page.cs-page .terms-sec p+p,body.cs-page.cs-page .terms-sec p+ul,body.cs-page.cs-page .terms-sec ul+p{margin-top:14px}
body.cs-page.cs-page .terms-sec ul{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:12px}
body.cs-page.cs-page .terms-sec li{position:relative;margin:0;padding-left:26px}
body.cs-page.cs-page .terms-sec li::before{content:"";position:absolute;left:4px;top:.78em;width:7px;height:7px;border-radius:50%;background:var(--lime)}
body.cs-page.cs-page .terms-sec strong{color:#fff;font-weight:700}
body.cs-page.cs-page .terms-sec a{color:var(--lime);text-decoration:underline;text-underline-offset:3px}

/* The two sections that matter most: no refunds, no guaranteed results */
body.cs-page.cs-page .terms-sec-key{margin:18px 0;padding:36px 34px;border:1px solid rgba(184,255,87,.26);border-left:4px solid var(--lime);border-radius:22px;background:linear-gradient(120deg,rgba(184,255,87,.08),rgba(13,19,33,.92) 62%)}
body.cs-page.cs-page .terms-sec-key:first-child{padding-top:36px}
body.cs-page.cs-page .terms-sec-key+.terms-sec{border-top:0}
body.cs-page.cs-page .terms-sec-key p.terms-lead{color:#fff;font-size:18px;font-weight:700;line-height:1.6}

@media(max-width:1023px){
  body.cs-page.cs-page .terms-keys{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.cs-page.cs-page .terms-layout{grid-template-columns:minmax(0,1fr);gap:30px}
  body.cs-page.cs-page .terms-toc{position:static}
  body.cs-page.cs-page .terms-toc summary{cursor:pointer}
  body.cs-page.cs-page .terms-toc summary::after{content:"+";display:grid;place-items:center;width:30px;height:30px;border:1px solid rgba(255,255,255,.18);border-radius:50%;font:500 18px/1 "DM Sans",sans-serif;color:var(--lime);transition:transform .25s ease}
  body.cs-page.cs-page .terms-toc details[open] summary::after{transform:rotate(45deg)}
}
@media(max-width:639px){
  body.cs-page.cs-page .terms-hero{min-height:0}
  body.cs-page.cs-page .terms-keys{grid-template-columns:minmax(0,1fr)}
  body.cs-page.cs-page .terms-sec-key{padding:28px 22px}
  body.cs-page.cs-page .terms-sec p,body.cs-page.cs-page .terms-sec li{font-size:15.5px}
}
@media(prefers-reduced-motion:reduce){body.cs-page.cs-page .terms-key{transition:none}}
