/* assets/css/terms.css?v=1.0 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&family=Playfair+Display:wght@700;800&display=swap');

html,body{height:100%;width:100%;margin:0;padding:0}
*,*::before,*::after{box-sizing:border-box}
img,video{max-width:100%;height:auto;display:block}
a{color:inherit}
:root{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}

body.page-terms{
  margin:0;
  background:#0f1f23;
}

/* MAIN */
.terms-v1{
  --wrap: 1160px;
  --px: clamp(16px, 3vw, 28px);
  --gap: clamp(14px, 2vw, 18px);
  --r: 18px;
  --top: 92px;

  --ink: rgba(2,6,23,.92);
  --muted: rgba(2,6,23,.66);

  --deep:#1d2b2d;
  --cyan:#2bc4e3;

  --y1:#ffe08a;
  --y2:#ffc85a;
  --y3:#ffb13a;
  --y4:#ff9a2a;

  --line: rgba(15,23,42,.12);
  --line2: rgba(15,23,42,.16);

  --paper: rgba(255,255,255,.90);
  --paper2: rgba(255,255,255,.96);

  --shadow: 0 22px 70px rgba(2,6,23,.12);
  --shadow2: 0 14px 40px rgba(2,6,23,.10);
  --ease: cubic-bezier(.2,.9,.2,1);

  font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--ink);

  background:
    radial-gradient(900px 520px at 12% 12%, rgba(255,154,42,.12), transparent 62%),
    radial-gradient(760px 480px at 92% 18%, rgba(43,196,227,.10), transparent 58%),
    linear-gradient(180deg,#ffffff 0%, #fbfbfc 60%, #ffffff 100%);
}

.terms-v1__wrap{
  max-width:var(--wrap);
  margin:0 auto;
  padding:0 var(--px);
}

/* HERO */
.terms-v1__hero{
  padding:clamp(52px,7vw,92px) 0 18px;
}

.terms-v1__kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin:0 0 12px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:rgba(2,6,23,.70);
}
.terms-v1__kicker::before{
  content:"";
  width:10px;height:10px;border-radius:999px;
  background:linear-gradient(180deg,var(--y2),var(--y4));
  box-shadow:0 14px 34px rgba(255,154,42,.25);
}

.terms-v1__title{
  margin:0 0 10px;
  font-family:"Playfair Display",ui-serif,Georgia,"Times New Roman",serif;
  font-size:clamp(34px,3.3vw,56px);
  line-height:1.04;
  letter-spacing:-.03em;
  font-weight:800;
}

.terms-v1__sub{
  margin:0;
  max-width:78ch;
  color:var(--muted);
  font-weight:650;
  line-height:1.72;
}

/* META */
.terms-v1__meta{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.tmeta{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.82);
  box-shadow:0 10px 22px rgba(2,6,23,.06);
  font-size:12px;
  font-weight:850;
  color:rgba(2,6,23,.78);
}
.tmeta a{text-decoration:none;font-weight:900}
.tmeta a:hover{text-decoration:underline}

/* BODY */
.terms-v1__body{
  padding:18px 0 clamp(64px,7vw,96px);
}

.terms-v1__grid{
  display:grid;
  grid-template-columns:minmax(280px,.36fr) minmax(0,.64fr);
  gap:var(--gap);
  align-items:start;
}

/* SIDEBAR */
.terms-v1__side{min-width:0}

.tbox{
  position:sticky;
  top:var(--top);
  border-radius:var(--r);
  border:1px solid var(--line);
  background:linear-gradient(180deg,var(--paper2),var(--paper));
  box-shadow:var(--shadow2);
  overflow:hidden;
}

.tbox__title{
  padding:14px 14px 10px;
  margin:0;
  font-size:12px;
  font-weight:950;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(2,6,23,.70);
  border-bottom:1px solid rgba(15,23,42,.08);
}

.tbox__nav{
  padding:12px;
  display:grid;
  gap:10px;
}

.tbox__nav a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:11px 12px;
  border-radius:14px;
  text-decoration:none;
  font-weight:900;
  font-size:13px;
  color:rgba(2,6,23,.92);
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.86);
  box-shadow:0 10px 22px rgba(2,6,23,.06);
  transition:transform .18s var(--ease),box-shadow .18s var(--ease),border-color .18s var(--ease);
}

.tbox__nav a::after{
  content:"";
  width:14px;height:14px;border-radius:999px;
  border:2px solid rgba(2,6,23,.16);
  background:radial-gradient(circle at 35% 35%,rgba(255,255,255,.95),rgba(255,255,255,.35));
  opacity:.85;
  flex:0 0 auto;
}

.tbox__nav a:hover{
  transform:translateY(-1px);
  border-color:rgba(255,154,42,.35);
  box-shadow:0 18px 44px rgba(255,154,42,.12);
}

.tbox__nav a.is-active{
  border-color:rgba(255,154,42,.45);
  box-shadow:0 18px 44px rgba(255,154,42,.18);
}

/* CTA */
.tbox__cta{
  margin:0 12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 14px;
  border-radius:999px;
  text-decoration:none;
  font-weight:950;
  color:rgba(2,6,23,.92);
  background:linear-gradient(90deg,var(--y2),var(--y4));
  box-shadow:0 22px 50px rgba(255,154,42,.24);
  transition:transform .18s var(--ease),box-shadow .18s var(--ease),filter .18s var(--ease);
}
.tbox__cta:hover{
  transform:translateY(-1px);
  box-shadow:0 28px 64px rgba(255,154,42,.28);
  filter:saturate(1.04);
}
.tbox__cta span{
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.tbox__cta span::after{
  content:"→";
  font-weight:900;
}
.tbox__cta strong{
  font-weight:1000;
  letter-spacing:.02em;
}

/* CONTENT */
.terms-v1__content{
  min-width:0;
  border-radius:var(--r);
  border:1px solid var(--line);
  background:linear-gradient(180deg,var(--paper2),var(--paper));
  box-shadow:var(--shadow);
  padding:clamp(16px,2.2vw,22px);
}

.tsec{
  padding:16px 0;
  border-bottom:1px dashed rgba(15,23,42,.16);
}
.tsec:last-child{border-bottom:0}

.tsec h2{
  margin:0 0 10px;
  font-size:18px;
  font-weight:950;
  letter-spacing:-.01em;
  line-height:1.25;
}

.tsec p{
  margin:0 0 10px;
  color:var(--muted);
  font-weight:600;
  line-height:1.75;
}
.tsec p:last-child{margin-bottom:0}

.tsec ul{
  margin:10px 0 0;
  padding-left:18px;
  color:var(--muted);
  font-weight:600;
  line-height:1.75;
}
.tsec li{margin:6px 0}

.terms-v1__content a{
  color:rgba(2,6,23,.92);
  font-weight:850;
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:3px;
  text-decoration-color:rgba(255,154,42,.45);
}
.terms-v1__content a:hover{
  text-decoration-color:rgba(43,196,227,.65);
}

/* UPDATED */
.terms-v1__updated{
  margin-top:14px;
  padding-top:12px;
  border-top:1px dashed rgba(15,23,42,.14);
}

.tupdated{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:9px 12px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.12);
  background:rgba(255,255,255,.78);
  color:rgba(2,6,23,.74);
  font-weight:900;
  font-size:12px;
}

/* Anchor offset */
.terms-v1 [id]{scroll-margin-top:calc(var(--top) + 18px)}

/* RESPONSIVE */
@media(max-width:1020px){
  .terms-v1{--top:74px}
  .terms-v1__grid{grid-template-columns:1fr}
  .tbox{position:relative;top:0}
}

@media(max-width:560px){
  .terms-v1__hero{padding:44px 0 16px}
  .terms-v1__title{font-size:clamp(30px,8vw,40px)}
  .terms-v1__content{padding:16px}
  .tbox__nav{gap:9px}
  .tbox__nav a{padding:10px 11px}
}

/* Reduced motion */
@media(prefers-reduced-motion:reduce){
  .tbox__nav a,.tbox__cta{transition:none}
}

/* Print */
@media print{
  body.page-terms{background:#fff!important}
  .terms-v1{background:#fff!important}
  .tbox{position:static!important;box-shadow:none!important}
  .terms-v1__content{box-shadow:none!important}
}