:root{
  color-scheme:dark;
  --bg:#050505;
  --panel:#111111;
  --panel-2:#151515;
  --line:rgba(255,255,255,.07);
  --text:#f4f4f4;
  --muted:#a6a6aa;
  --accent:#ff9368;
  --link:#5ea2ff;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  background:
    radial-gradient(circle at 50% -10%, rgba(255,147,104,.07), transparent 32%),
    #050505;
  color:var(--text);
  font-family:"Manrope",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

a{color:inherit}
.legal-shell{
  width:min(880px,calc(100% - 32px));
  margin:0 auto;
  padding:88px 0 120px;
}

.legal-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:20px;
}

.legal-brand{
  display:none;
}

.legal-back{
  color:#707075;
  text-decoration:none;
  font-size:18px;
  font-weight:600;
  transition:color .18s ease, transform .18s ease;
}
.legal-back:hover{
  color:#b5b5b8;
  transform:translateX(-2px);
}

.legal-page{
  padding:48px 44px 56px;
  border:1px solid var(--line);
  border-radius:22px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.012),transparent 24%),
    var(--panel);
  box-shadow:0 22px 80px rgba(0,0,0,.32);
}

.legal-page h1,
.legal-page h2,
.legal-page h3{
  font-family:"Bricolage Grotesque","Manrope",sans-serif;
  color:#f3f3f4;
}

.legal-page h1{
  max-width:760px;
  margin:0 auto 46px;
  font-size:clamp(44px,6vw,68px);
  line-height:1.02;
  font-weight:800;
  letter-spacing:-.045em;
  text-align:center;
}

.legal-updated,
.legal-lead,
.legal-page>p{
  color:#a7a7ab;
}

.legal-updated{
  margin:0 0 18px;
  font-size:16px;
  line-height:1.6;
}

.legal-lead{
  margin:0 0 34px;
  font-size:17px;
  line-height:1.7;
}

.legal-page section{
  margin-top:38px;
}

.legal-page section h2{
  margin:0 0 14px;
  padding-bottom:14px;
  border-bottom:1px solid rgba(255,255,255,.06);
  font-size:29px;
  line-height:1.15;
  font-weight:800;
  letter-spacing:-.025em;
}

.legal-page section h3{
  margin:22px 0 8px;
  font-size:18px;
}

.legal-page p,
.legal-page li{
  color:#a7a7ab;
  font-size:16px;
  line-height:1.72;
}

.legal-page p{
  margin:0 0 16px;
}

.legal-page strong{
  color:#e9e9eb;
  font-weight:700;
}

.legal-page a{
  color:var(--link);
  text-decoration:none;
}
.legal-page a:hover{text-decoration:underline}

.legal-page ul,
.legal-page ol{
  margin:14px 0 18px;
  padding-left:22px;
}

.legal-contact{
  margin-top:18px;
  padding:18px 20px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:14px;
  background:#0d0d0e;
}

.legal-contact p:last-child{margin-bottom:0}

.about-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:18px;
}

.about-card{
  min-width:0;
  padding:18px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:14px;
  background:#0d0d0e;
}

.about-card h3{
  margin:0 0 8px;
  color:#f3f3f4;
  font-size:17px;
}

.about-card p{
  margin:0;
  font-size:14px;
  line-height:1.55;
}

@media (max-width:720px){
  .legal-shell{
    width:min(100% - 24px,880px);
    padding:28px 0 90px;
  }

  .legal-top{
    margin-bottom:14px;
  }

  .legal-back{
    font-size:14px;
  }

  .legal-page{
    padding:30px 22px 40px;
    border-radius:18px;
  }

  .legal-page h1{
    margin-bottom:30px;
    font-size:clamp(34px,11vw,48px);
  }

  .legal-updated{
    font-size:14px;
  }

  .legal-lead,
  .legal-page p,
  .legal-page li{
    font-size:14px;
    line-height:1.65;
  }

  .legal-page section{
    margin-top:30px;
  }

  .legal-page section h2{
    font-size:23px;
  }

  .about-grid{
    grid-template-columns:1fr;
  }
}
